Skip to content

A15: start Claude Code chats on claude.ai automatically in the IDE (#456) - #462

Merged
aMonteSl merged 2 commits into
idefrom
claude/project-thread-ywugl7-ide
Dec 3, 2026
Merged

aMonteSl merged 2 commits into
idefrom
claude/project-thread-ywugl7-ide

Conversation

@aMonteSl

@aMonteSl aMonteSl commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Requested by Adrián · project thread

IDE side of #456 (plugin side: #458 to v1.3.0).

What

  • Shared core commit (same as A15: continue every Claude Code session on claude.ai automatically (plugin + core) (#456) #458): remoteControlSessionMeta, consent text, settings helpers.
  • New user setting agents.claude.remoteControl (ask / always / never, default ask), with its Spanish text.
  • On the first Claude Code chat with ask, a native dialog asks once and stores the answer (concurrent chats share the one question). With always, session/new and session/load pass _meta.claudeCode.options.settings.remoteControlAtStartup: true, so Claude Code's adapter starts Remote Control with the session.
  • The IDE now advertises clientCapabilities.session.notices, so the adapter's Remote Control connected notice (with the claude.ai link) arrives as a notice; the existing A14 Continue a Claude Code chat across claude.ai, Claude Desktop, the IDE and the plugin #431 tracking turns it into the On claude.ai badge. Stop sharing still ends it per chat.
  • Other agents (Codex, Gemini, custom, local models) are never affected.

Tests

  • apps/ide: npm test 1199 pass, 0 fail; two new fake-agent tests (one question for two chats, _meta on both session/new, notice → badge with link; never and non-Claude agents send no _meta).
  • apps/vscode-extension: npm test 1457 pass, 0 fail.

Manual test

"Automatic continuity (#456)" in docs/agents/claude-session-continuity.md.


Generated by Claude Code

…456)

Setting agents.claude.remoteControl (ask/always/never, default ask). On
the first Claude Code chat a native dialog asks once and stores the answer;
with always, session/new and session/load pass Claude Code's per-session
remoteControlAtStartup in _meta, and the adapter's 'Remote Control
connected' notice (now advertised as a client capability) shows the
On claude.ai badge with the link.

aMonteSl commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

npm test (macos-latest) failed on one test, export wizard: the steps run in a fixed order... (apps/vscode-extension/test/analysis/activeAnalysesCommands.test.cjs): expected "Maximum speed — 8 workers", got 7. This PR does not touch the export code. The cause is that calculateGitExportWorkerPlan (src/core/export/gitExportOptions.ts) reads os.freemem() on every call, so the test's expected plan and the wizard's plan are computed at different moments. On the low-memory macOS runner the memory limit, not the CPU limit, decides the count, so it can shift by one between the two calls. I re-ran the job once. The lasting fix is for the test to stub the resources (or for the wizard to compute both plans from one resource snapshot). That belongs in its own change, not in #456.


Generated by Claude Code

@aMonteSl
aMonteSl merged commit a5361f0 into ide Dec 3, 2026
25 of 26 checks passed
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.

2 participants