Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: anchor tool access management to chat workspaces and surface install errors

3 months ago

a7d0845
Authored
mweinbach7/5/2026, 6:58:48 PM
The plugin/skill catalog and its store mutations resolved their target
via the project-only workspace resolver, so chat-only users saw a dead
"Pick a workspace" state and marketplace installs silently no-oped. A
shared management resolver now falls back to the selected (or any)
workspace, project-scoped install/import targets hide for chat anchors,
and skill/plugin install failures render as dismissible banners instead
of vanishing into a swallowed promise rejection. Also restores the real
addWorkspace store action leaked by a settings-nav test, which broke
workspace-startup tests in full-suite runs.

Co-authored-by: Cursor <cursoragent@cursor.com>

Parent2673df5

15 files changed
  • apps/desktop/src/app/store.actions/plugins.ts+7−0
  • apps/desktop/src/app/store.actions/skillPluginHelpers.ts+28−2
  • apps/desktop/src/app/store.actions/skills.ts+7−0
  • apps/desktop/src/app/store.helpers.ts+2−0
  • apps/desktop/src/app/workspaceDisplayTargets.ts+19−0
  • apps/desktop/src/ui/settings/pages/SettingsIntentPages.tsx+2−2
  • apps/desktop/src/ui/settings/pages/ToolAccessPage.tsx+42−4
  • apps/desktop/src/ui/settings/toolAccess/ImportDialog.tsx+42−22
  • apps/desktop/src/ui/settings/toolAccess/InstallPluginDialog.tsx+28−17
  • apps/desktop/src/ui/settings/toolAccess/InstallSkillDialog.tsx+28−17
  • apps/desktop/test/install-plugin-dialog.test.ts+67−0
  • apps/desktop/test/install-skill-dialog.test.ts+57−0
  • apps/desktop/test/settings-nav.test.ts+15−8
  • apps/desktop/test/tool-access-page.test.tsx+345−0
  • apps/desktop/test/workspace-display-targets.test.ts+32−0