Repository navigation
Not planned
Labels
area: ai-agentsarea: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesarea: ideThe Electron + Monaco IDE (apps/ide)stream: ide-agent-firsttfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Description
As a developer who works with Claude Code from Code-XR, I want every Claude Code chat I start in the Code-XR IDE or the VS Code extension to be the same Claude Code session I can follow and continue from claude.ai (web), the Claude mobile app and Claude Desktop, so that Code-XR stays in step with Claude instead of being one more place with its own chats, and I never wonder which copy of a conversation is the real one.
Context
- An IDE chat already runs the official Claude Code through ACP (
claude-agent-acp) with the user's subscription. Claude Code stores it like any other local session (~/.claude/projects/<folder>/<session id>.jsonl), soclaude --resumein the folder can pick it up, and the IDE can import sessions started in the terminal. - Local sessions do not appear in claude.ai, the mobile app or the chat list of Claude Desktop. Only cloud sessions and local sessions connected with Claude Code Remote Control do.
- Found in Adrián's manual test of AG7 IDE: live feed from ACP chats and "Watch in XR" #326 (2-Dec): the scene listed the same chat twice (fixed in Agent Flow: list an IDE chat once, not also as its Claude Code transcript (#326, ide) #429 / Agent Flow: a live source hides the transcript of its own agent session (#326) #430, which make the Claude Code session id the identity of a chat in Agent Flow). Adrián's direction: Code-XR should lean on Claude Code for everything, so the same session works from our IDE, Claude Desktop or any other Claude surface.
Acceptance criteria
- Spike: document whether and how a session hosted through
claude-agent-acp(or the Claude Agent SDK) can be exposed with Remote Control, what it requires (sign-in kind, plan, network), and what the user sees on claude.ai / mobile / Desktop. Record the result indocs/ide/before building anything. - A per-chat (and default) setting "Continue this chat from claude.ai / mobile / Desktop", off by default, with an explicit consent text: it is the only network-facing part and follows the project rule of no network use without consent.
- When on, the chat header shows that the session is reachable remotely and a link or QR to open it; turning it off disconnects it.
- Messages written from another Claude surface appear in the Code-XR chat and in Agent Flow (Watch in XR) like local turns, with no duplicate entry.
- The chat's title and id are Claude Code's: renaming or resuming from either side keeps one session.
- Sessions started outside Code-XR (terminal, Desktop) for the open folder can be opened in Code-XR and watched in XR, already true for transcripts, kept working.
- Same behaviour in the VS Code extension's agent view (plugin 1.3.0), sharing the core; only the host UI differs.
- Tests with a fake agent; manual test steps in the agent-first test guide.
Epic: #265
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: ide-agent-firsttfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Activity
aMonteSl commentedon Dec 2, 2026
Duplicate of #431, which now carries these acceptance criteria and is the one being implemented.
Generated by Claude Code