Skip to content

A15 Continue every Claude Code chat on claude.ai automatically (Remote Control at startup) #456

Backlog

Description

@aMonteSl

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 remoteControlAtStartup setting ("Enable Remote Control for all sessions"). Claude Code's ACP adapter honours it: it starts Remote Control when the session starts and sends a Remote Control connected notice with the session's claude.ai URL.
  • The adapter also accepts the setting per session, in _meta.claudeCode.options.settings of session/new and session/load, so Code-XR can turn it on for its own chats only, without touching the user's global Claude settings.

Acceptance criteria

IDE

  1. New setting Agents > Claude Code: Continue on claude.ai (agents.claude.remoteControl): ask (default), always, never.
  2. 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.
  3. With always, every Claude Code chat (new, reopened or imported) starts with Remote Control: the session carries remoteControlAtStartup: true in its ACP _meta, nothing is typed into the chat, and the header shows the On claude.ai badge with the link.
  4. The IDE advertises ACP session notices, so the adapter's notices show as notices and not as text inside Claude's answer.
  5. Stop sharing still disconnects one chat. "Share on claude.ai" stays for chats started with never.

VS Code extension

  1. 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 own remoteControlAtStartup in ~/.claude/settings.json (or CLAUDE_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.
  2. A tree row in AI Agents shows the state ("Claude Code sessions continue on claude.ai: on/off") and toggles it.

Both

  1. The shared core holds the setting values, the consent text and the session _meta builder.
  2. Tests: the _meta reaches session/new and session/load (fake agent), the notice sets the badge, the settings.json edit preserves other keys and refuses unparsable files.

Pull requests


Generated by Claude Code

Activity

  1. added
    tfm
    user-story
    area: ide
    on Dec 3, 2026
  2. added
    area: extension
    on Dec 3, 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