Skip to content

[Story] A14. Shared agent core for the IDE and the VS Code extension #214

Backlog

Description

@aMonteSl

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.

Epic: #189


Generated by Claude Code

Activity

  1. added
    tfm
    user-story
    on Nov 26, 2026
  2. added
    area: ide
    area: extension
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ai-agentsarea: extensionarea: idestream: ai-agentstfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions