Skip to content

feat: add /remote-control command over ACP#735

Open
Dhananjay-JSR wants to merge 1 commit into
agentclientprotocol:mainfrom
Dhananjay-JSR:feat/remote-control-over-acp
Open

feat: add /remote-control command over ACP#735
Dhananjay-JSR wants to merge 1 commit into
agentclientprotocol:mainfrom
Dhananjay-JSR:feat/remote-control-over-acp

Conversation

@Dhananjay-JSR

Copy link
Copy Markdown

Adds /remote-control (alias /rc) to surface Claude Code Remote Control over ACP — connect a running session to claude.ai/code and continue it from a phone or browser. Intercepts the command in prompt(), calls query.enableRemoteControl(enabled, name), posts the returned session URL back to the client, and advertises both commands so clients (e.g. Zed) forward them. A second invocation disconnects.

Note: enableRemoteControl exists on the runtime Query (claude-agent-sdk 0.3.x) but isn't in the published types yet, so it's reached via a small type shim.

Verification: npm run check, npm run build, npm run test:run (new unit tests cover the toggle, error path, and command advertising). Also verified end-to-end over ACP against a real Claude binary.

Intercept /remote-control and /rc to toggle Claude Code Remote Control and
surface the claude.ai/code session URL to the client.
@Dhananjay-JSR Dhananjay-JSR force-pushed the feat/remote-control-over-acp branch from 5df6bbc to 6ca4184 Compare June 1, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant