Home

mweinbach / agent-coworker

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

feat: support user-configured marketplaces in the harness

3 months ago

cb3b45d
Authored
mweinbach7/5/2026, 10:36:19 PM
Adds a persisted user-level marketplace registry
(~/.cowork/config/marketplaces.json) with the built-in marketplace as
an implicit, non-removable first entry. Plugin and skill catalogs,
available-item offers, plugin detail lookups, and sourceHash-based
update annotation now aggregate across every configured marketplace,
with per-marketplace failure isolation. New JSON-RPC methods
cowork/marketplaces/read, add, and remove return a marketplaces_list
event; add validates the manifest before persisting and both mutations
refresh the remote-inclusive skill and plugin catalogs. Documented in
docs/websocket-protocol.md.

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

Parent658f7ae

22 files changed
  • docs/generated/websocket-jsonrpc.d.ts+8−2
  • docs/generated/websocket-jsonrpc.schema.json+1−1
  • docs/websocket-protocol.md+63−0
  • src/plugins/catalog.ts+38−17
  • src/plugins/marketplaceRegistry.ts+343−0
  • src/plugins/operations.ts+11−2
  • src/plugins/remoteMarketplace.ts+19−2
  • src/server/jsonrpc/routes/index.ts+2
−0
  • src/server/jsonrpc/routes/marketplaces.ts+74−0
  • src/server/jsonrpc/schema.marketplaces.ts+16−0
  • src/server/jsonrpc/schema.ts+6−0
  • src/server/protocol.ts+6−0
  • src/server/session/AgentSession.ts+12−0
  • src/server/session/PluginCatalogService.ts+4−1
  • src/server/session/SessionRuntime.ts+12−0
  • src/server/session/SkillManager.ts+96−0
  • src/shared/jsonrpcControlSchemas.ts+50−0
  • src/skills/operations.ts+49−24
  • test/jsonrpc/control.marketplaces.test.ts+209−0
  • test/plugins.catalog.test.ts+177−0
  • test/plugins.marketplace-registry.test.ts+369−0
  • test/skills.marketplace.test.ts+203−0