Repository navigation
feat(library): make MCPs, Skills, and Plugins the primary Library categories - #4902
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (377616 ms), confidentiality-review (399294 ms), spec-provenance-review (487327 ms), desktop-den-sync-review (842918 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
…l items Review of #4902 asked for three corrections. Advanced is the config section it was on dev: Add workspace MCP, From GitHub, config scope, and Show in Finder. The inventory no longer lives inside it. Servers written into the workspace's own config appear under MCPs as local cards ("Local · this workspace" / "Local · this device"), grouped by their live engine status, searchable, counted in the state tabs, and opened on a detail page that carries the previous row actions (sign in / sign out, enable / disable, remove, technical details). A configured directory entry is represented by its local card, so nothing shows twice. Adding a local MCP still happens only from Advanced. A connected card is neutral: the Connected chip is the only green. The card tint, icon ring, and corner badge are gone; partial setup keeps its amber attention state. OpenWork's own runtimes (Computer Use, Browser panel, Ollama, UI control) and auto-managed plumbing are app functionality, not MCPs to browse, so they leave the Library list. Their setup pages remain reachable by direct link, which is how Computer Use enablement already works. Consequences of keeping Advanced unchanged: OpenCode Plugins return to their own disclosure, shown under the Plugins category; hidden skills, plugins, and entries wait under the Disabled tab (their detail page still offers Show); commands and agents stay composer capabilities with direct-link detail pages and no Library cards, since engine-native agents would otherwise fill the Skills category. Two defects found while verifying in the running app: the MCP status icon showed the neutral "No MCP servers configured yet." as an amber warning, so that message is retired (the empty state owns it) and progress or success notes render as information; and a Claude-style string command relayed by the OpenWork server crashed Settings because only the desktop fallback parser folded command and args, so the fold now runs at the server boundary too. Tests: local server grouping and cards, hidden-to-Disabled, built-in exclusion, neutral connected card, status tone, and the boundary fold. The two covering journeys are re-adapted: servers from config are found under MCPs → Disabled and opened from there; render stability watches the Skills cards instead of built-ins.
…l items Review of #4902 asked for three corrections. Advanced is the config section it was on dev: Add workspace MCP, From GitHub, config scope, and Show in Finder. The inventory no longer lives inside it. Servers written into the workspace's own config appear under MCPs as local cards ("Local · this workspace" / "Local · this device"), grouped by their live engine status, searchable, counted in the state tabs, and opened on a detail page that carries the previous row actions (sign in / sign out, enable / disable, remove, technical details). A configured directory entry is represented by its local card, so nothing shows twice. Adding a local MCP still happens only from Advanced. A connected card is neutral: the Connected chip is the only green. The card tint, icon ring, and corner badge are gone; partial setup keeps its amber attention state. OpenWork's own runtimes (Computer Use, Browser panel, Ollama, UI control) and auto-managed plumbing are app functionality, not MCPs to browse, so they leave the Library list. Their setup pages remain reachable by direct link, which is how Computer Use enablement already works. Consequences of keeping Advanced unchanged: OpenCode Plugins return to their own disclosure, shown under the Plugins category; hidden skills, plugins, and entries wait under the Disabled tab (their detail page still offers Show); commands and agents stay composer capabilities with direct-link detail pages and no Library cards, since engine-native agents would otherwise fill the Skills category. Two defects found while verifying in the running app: the MCP status icon showed the neutral "No MCP servers configured yet." as an amber warning, so that message is retired (the empty state owns it) and progress or success notes render as information; and a Claude-style string command relayed by the OpenWork server crashed Settings because only the desktop fallback parser folded command and args, so the fold now runs at the server boundary too. Tests: local server grouping and cards, hidden-to-Disabled, built-in exclusion, neutral connected card, status tone, and the boundary fold. The two covering journeys are re-adapted: servers from config are found under MCPs → Disabled and opened from there; render stability watches the Skills cards instead of built-ins.
6e0f5c7 to
e94fcbd
Compare
…l items Review of #4902 asked for three corrections. Advanced is the config section it was on dev: Add workspace MCP, From GitHub, config scope, and Show in Finder. The inventory no longer lives inside it. Servers written into the workspace's own config appear under MCPs as local cards ("Local · this workspace" / "Local · this device"), grouped by their live engine status, searchable, counted in the state tabs, and opened on a detail page that carries the previous row actions (sign in / sign out, enable / disable, remove, technical details). A configured directory entry is represented by its local card, so nothing shows twice. Adding a local MCP still happens only from Advanced. A connected card is neutral: the Connected chip is the only green. The card tint, icon ring, and corner badge are gone; partial setup keeps its amber attention state. OpenWork's own runtimes (Computer Use, Browser panel, Ollama, UI control) and auto-managed plumbing are app functionality, not MCPs to browse, so they leave the Library list. Their setup pages remain reachable by direct link, which is how Computer Use enablement already works. Consequences of keeping Advanced unchanged: OpenCode Plugins return to their own disclosure, shown under the Plugins category; hidden skills, plugins, and entries wait under the Disabled tab (their detail page still offers Show); commands and agents stay composer capabilities with direct-link detail pages and no Library cards, since engine-native agents would otherwise fill the Skills category. Two defects found while verifying in the running app: the MCP status icon showed the neutral "No MCP servers configured yet." as an amber warning, so that message is retired (the empty state owns it) and progress or success notes render as information; and a Claude-style string command relayed by the OpenWork server crashed Settings because only the desktop fallback parser folded command and args, so the fold now runs at the server boundary too. Tests: local server grouping and cards, hidden-to-Disabled, built-in exclusion, neutral connected card, status tone, and the boundary fold. The two covering journeys are re-adapted: servers from config are found under MCPs → Disabled and opened from there; render stability watches the Skills cards instead of built-ins.
1d2e807 to
19d1ce7
Compare
|
Updated at
Final-head local checks: UI/UX impact: restored administrators receive the intended Add MCP setup action; no additional visual redesign or packaged navigation change. An independent approving review is still required before GitHub will allow merging. |
…l items Review of #4902 asked for three corrections. Advanced is the config section it was on dev: Add workspace MCP, From GitHub, config scope, and Show in Finder. The inventory no longer lives inside it. Servers written into the workspace's own config appear under MCPs as local cards ("Local · this workspace" / "Local · this device"), grouped by their live engine status, searchable, counted in the state tabs, and opened on a detail page that carries the previous row actions (sign in / sign out, enable / disable, remove, technical details). A configured directory entry is represented by its local card, so nothing shows twice. Adding a local MCP still happens only from Advanced. A connected card is neutral: the Connected chip is the only green. The card tint, icon ring, and corner badge are gone; partial setup keeps its amber attention state. OpenWork's own runtimes (Computer Use, Browser panel, Ollama, UI control) and auto-managed plumbing are app functionality, not MCPs to browse, so they leave the Library list. Their setup pages remain reachable by direct link, which is how Computer Use enablement already works. Consequences of keeping Advanced unchanged: OpenCode Plugins return to their own disclosure, shown under the Plugins category; hidden skills, plugins, and entries wait under the Disabled tab (their detail page still offers Show); commands and agents stay composer capabilities with direct-link detail pages and no Library cards, since engine-native agents would otherwise fill the Skills category. Two defects found while verifying in the running app: the MCP status icon showed the neutral "No MCP servers configured yet." as an amber warning, so that message is retired (the empty state owns it) and progress or success notes render as information; and a Claude-style string command relayed by the OpenWork server crashed Settings because only the desktop fallback parser folded command and args, so the fold now runs at the server boundary too. Tests: local server grouping and cards, hidden-to-Disabled, built-in exclusion, neutral connected card, status tone, and the boundary fold. The two covering journeys are re-adapted: servers from config are found under MCPs → Disabled and opened from there; render stability watches the Skills cards instead of built-ins.
19d1ce7 to
508f9dd
Compare
|
Latest review follow-up is in
UI/UX impact: None in this follow-up — the reviewed Library UI is preserved. No public provenance-removal change or permission relaxation was introduced. CI is rerunning; no merge was performed. |
…l items Review of #4902 asked for three corrections. Advanced is the config section it was on dev: Add workspace MCP, From GitHub, config scope, and Show in Finder. The inventory no longer lives inside it. Servers written into the workspace's own config appear under MCPs as local cards ("Local · this workspace" / "Local · this device"), grouped by their live engine status, searchable, counted in the state tabs, and opened on a detail page that carries the previous row actions (sign in / sign out, enable / disable, remove, technical details). A configured directory entry is represented by its local card, so nothing shows twice. Adding a local MCP still happens only from Advanced. A connected card is neutral: the Connected chip is the only green. The card tint, icon ring, and corner badge are gone; partial setup keeps its amber attention state. OpenWork's own runtimes (Computer Use, Browser panel, Ollama, UI control) and auto-managed plumbing are app functionality, not MCPs to browse, so they leave the Library list. Their setup pages remain reachable by direct link, which is how Computer Use enablement already works. Consequences of keeping Advanced unchanged: OpenCode Plugins return to their own disclosure, shown under the Plugins category; hidden skills, plugins, and entries wait under the Disabled tab (their detail page still offers Show); commands and agents stay composer capabilities with direct-link detail pages and no Library cards, since engine-native agents would otherwise fill the Skills category. Two defects found while verifying in the running app: the MCP status icon showed the neutral "No MCP servers configured yet." as an amber warning, so that message is retired (the empty state owns it) and progress or success notes render as information; and a Claude-style string command relayed by the OpenWork server crashed Settings because only the desktop fallback parser folded command and args, so the fold now runs at the server boundary too. Tests: local server grouping and cards, hidden-to-Disabled, built-in exclusion, neutral connected card, status tone, and the boundary fold. The two covering journeys are re-adapted: servers from config are found under MCPs → Disabled and opened from there; render stability watches the Skills cards instead of built-ins.
508f9dd to
d85d336
Compare
…egories The Desktop Library mixed seven filter chips, an All state tab, a Show hidden toggle, a standing MCP-status banner, and a long description into one page. Members looking for a cloud MCP had to understand Connections, Apps, Commands, and Agents first. - Filters are MCPs, Skills, and Plugins; connections sit under MCPs and the page opens on MCPs with the Ready to use tab and card layout. A saved list preference is still honored. - The Add action is an icon-only header button with a tooltip. Members see "View available MCPs"; admins get connector setup; skill creation starts a new bundle. Sign-in, organization, and Cloud-unavailable reasons disable the button instead of hiding it. Restored Cloud settings carry a member-role placeholder, so the Library reads the verified identity's organization role before offering administrator setup. - State tabs are Ready to use, Needs your sign-in, Needs admin setup, Ready to set up, and Disabled; live MCP status decides the group for Connect and directory entries. Hidden skills, plugins, and entries wait under Disabled. - Servers written into the workspace's own config appear under MCPs as local cards grouped by live engine status, with a detail page carrying sign in / sign out, enable / disable, remove, and technical details. Adding a local MCP still happens only from Advanced, which keeps its existing Add workspace MCP, From GitHub, scope, and Show in Finder controls. - A connected card is neutral: the Connected chip is the only green. OpenWork's own runtimes and auto-managed plumbing are app functionality, not MCPs to browse; their setup pages remain reachable by direct link. Commands and agents stay composer capabilities with direct-link detail pages. Legacy /extensions/* routes still resolve to a primary category. - The MCP status banner becomes a warning or information icon whose tooltip carries the same message; each category has its own empty state with a recovery path. A Claude-style string command relayed by the OpenWork server is folded at the server boundary so Settings no longer crashes on it. The organization name shown in provenance and sign-in captions is the signed-in member's own active organization, as on dev; Den My Library landed separately in #4929. Tests: focused Desktop Library tests updated; library-add-kind-picker and state-tab coverage added.
Adapt the covering Library journeys to the new controls and open the main Library from the app navigation. The discovery journey observes the final desktop external-open boundary and requires exactly one new request to the organization's Den MCP-connections URL; restricted member journeys assert Your Connections and reject the admin route. The recorder is opt-in, development-only, disabled in packaged builds, and writes only within the fixture's userData directory. The readiness journey writes an enabled mock MCP into opencode.json before opening the workspace, completes a real handshake, and expects the server under Ready while three disabled entries appear only under Disabled. The library-add-connector-discovery raw-escape allowance drops from 13 to 1.
d85d336 to
eef91a3
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (eef91a3cff9a0ae37866ece95e3c28fdd79dcaa9). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Make MCPs, Skills, and Plugins the primary Desktop Library categories, with a compact header, truthful readiness states, and recoverable empty states. Workspace MCPs stay visible as Local items; Advanced retains its existing configuration and creation controls.
Current head:
eef91a3cf— two signed commits reconstructed ondev@4f4f30e03. Den My Library landed separately in #4929, so this PR now carries only the Desktop app, the desktop external-open witness, and the covering journeys. The unusedDenListRowgrid extension from the earlier revision is dropped; noee/files change.Review follow-up (carried from the earlier revision)
opencode.jsonbefore opening the workspace (no registration API shortcut), completes a real MCP handshake, and expects the server under Ready with three disabled entries only under Disabled.GET /v1/mcp-connectionsisorgMemberRoute()-protected. No public route or real identifier was added.organizationNameis the signed-in member's owncloudSession.activeOrgName, whichdevalready passes into these same Library captions (extensions.from_org,extensions.state_needs_signin_caption,extensions.state_needs_admin_setup_caption). This diff only re-indents that prop line and removes one further use; it adds no new identity surface.UI/UX impact
Intentional Desktop Library redesign.
Verification
Proof verdict: Passed for the covering journeys on the exact head: the PR's automatic journey run on
eef91a3cf(critical journeys plus this PR's changed spec files) reports 12/12 tests, 18/18 assertions in the test-evidence comment below. No local rerun was performed on this head; the items under Deferred remain deferred.Passed on
eef91a3cfpnpm --filter @openwork/app typecheck— exit 0.apps/app:pnpm exec bun test --isolateover the seven Library test files (extension-taxonomy,extensions-library-state-tabs,library-add-kind-picker,library-destination,open-in-den,desktop-policy-restricted,mcp-oauth-status-synchronization) — 87 passed, 0 failed, 0 skipped.node --test apps/desktop/electron/open-external.test.mjs— 11 passed, 0 failed, 0 skipped, including the packaged-build guard.git diff --check— clean; both commits signed.Pre-existing, unrelated
pnpm --dir evals typecheckreports one error inevals/specs/session-attention-rollup.test.ts, which this PR does not touch. The identical command reproduces the same single error in a cleandev@4f4f30e03control worktree; it is not addressed here.Historical (earlier heads of this branch, before the Den split)
pnpm evals:e2e library-mcp-servers-from-config --localon508f9dde9: 1 passed, 0 failed, 0 skipped.pnpm evals:e2e library-add-connector-discovery --localon19d1ce7e3: 1 passed, 0 failed, 0 skipped, with the exact final-boundary URL assertion.Deferred
GitHub merge gates
Ready for review, not draft. Required checks run on the new head. The
devruleset's approval and review-resolution requirements remain in effect; no merge or rule bypass has been performed.Risk and rollback
Normal and packaged external navigation are unchanged by the fixture recorder. No database migrations, credentials, or deployment changes are included; revert the two commits to roll back.