You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] A14. Shared agent core for the IDE and the VS Code extension #214
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)
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 example packages/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 electron nor vscode. Each host passes small interfaces: a secret store (Electron safeStorage / VS Code SecretStorage), a workspace (read, list, search), a command runner, an edit reviewer, a confirm dialog, and a storage folder.
apps/ide uses 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 test gate on Windows, macOS and Linux.
The shared IPC contract types (AgentsApi, views, events) live in the package, so both UIs speak the same messages.
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)