Repository navigation
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
As a developer who works with Claude Code from Code-XR,
I want every Claude Code chat to be reachable from claude.ai/code and the Claude mobile app on its own, without pressing "Share on claude.ai" or "Continue in terminal",
so that I can pick up any chat from the web or my phone at any time, with Claude Code as the single source of truth.
Follow-up of #431, after Adrián's manual test (3-Dec): the continuity must be automatic, at least the claude.ai part.
Context
- Claude Code has an official switch for this: the
remoteControlAtStartupsetting ("Enable Remote Control for all sessions"). Claude Code's ACP adapter honours it: it starts Remote Control when the session starts and sends aRemote Control connectednotice with the session's claude.ai URL. - The adapter also accepts the setting per session, in
_meta.claudeCode.options.settingsofsession/newandsession/load, so Code-XR can turn it on for its own chats only, without touching the user's global Claude settings.
Acceptance criteria
IDE
- New setting Agents > Claude Code: Continue on claude.ai (
agents.claude.remoteControl):ask(default),always,never. - With
ask, the first Claude Code chat that starts asks once in a native dialog (what is shared, needs a claude.ai sign-in). The answer is saved to the setting. No network use before that consent. - With
always, every Claude Code chat (new, reopened or imported) starts with Remote Control: the session carriesremoteControlAtStartup: truein its ACP_meta, nothing is typed into the chat, and the header shows the On claude.ai badge with the link. - The IDE advertises ACP session notices, so the adapter's notices show as notices and not as text inside Claude's answer.
- Stop sharing still disconnects one chat. "Share on claude.ai" stays for chats started with
never.
VS Code extension
- VS Code extension: an AI Agents row and command
codeXR.claudeSessions.toggleAutoRemoteControl(On/Off). The extension does not host chats and keeps no setting of its own: turning it on asks once, then sets Claude Code's ownremoteControlAtStartupin~/.claude/settings.json(orCLAUDE_CONFIG_DIR), keeping every other key; turning it off removes the key. Claude Code's file is the single source of truth, so it also covers the terminal, Claude Desktop and the IDE. - A tree row in AI Agents shows the state ("Claude Code sessions continue on claude.ai: on/off") and toggles it.
Both
- The shared core holds the setting values, the consent text and the session
_metabuilder. - Tests: the
_metareachessession/newandsession/load(fake agent), the notice sets the badge, the settings.json edit preserves other keys and refuses unparsable files.
Pull requests
- A15: continue every Claude Code session on claude.ai automatically (plugin + core) (#456) #458 (core + VS Code extension,
v1.3.0) - A15: start Claude Code chats on claude.ai automatically in the IDE (#456) #462 (core + IDE,
ide)
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
core: automatic Remote Control helpers (session _meta, Claude Code se…
plugin: one switch to continue every Claude Code session on claude.ai (…
core: automatic Remote Control helpers (session _meta, Claude Code se…
ide: start Claude Code chats on claude.ai automatically, asked once (#…
Merge pull request #462 from Code-XR-Project/claude/project-thread-yw…
Merge pull request #458 from Code-XR-Project/claude/project-thread-yw…