Backlog
Labels
area: ai-agentsarea: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesarea: ideThe Electron + Monaco IDE (apps/ide)stream: ai-agentstfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Description
Target: 1.3.0, before #215 and #216. It can land earlier if convenient, since it changes nothing for users.
As a maintainer, I want the agent hub's logic in one shared package, so that the IDE and the VS Code extension offer the same agents without duplicated code.
Standing rule from the project owner: every feature must work in both the IDE and the extension, reusing code.
Acceptance criteria
- A new workspace under
packages/(for examplepackages/agents-core) holds the provider adapters, provider registry, agent profiles, chat sessions, tools (workspace, analysis, edit, command, delegate), the MCP client and registry, and the chat loop (AgentChat). - The package imports neither
electronnorvscode. Each host passes small interfaces: a secret store (ElectronsafeStorage/ VS CodeSecretStorage), a workspace (read, list, search), a command runner, an edit reviewer, a confirm dialog, and a storage folder. -
apps/ideuses the package with no change in behaviour: its unit tests, smoke run and manual flows still pass. - The package has its own unit tests, run by the root
npm testgate on Windows, macOS and Linux. - The shared IPC contract types (
AgentsApi, views, events) live in the package, so both UIs speak the same messages.
Epic: #189
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
area: ai-agentsarea: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesarea: ideThe Electron + Monaco IDE (apps/ide)stream: ai-agentstfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Activity
feat(extension): AI AGENTS sidebar section, coming soon (epic #189)