Skip to content

Follow renames and settings from Claude Code, share /config options across accounts - #112

Merged
m4rocks merged 3 commits into
mainfrom
claude-code-follows-and-shared-config
Nov 16, 2026
Merged

m4rocks merged 3 commits into
mainfrom
claude-code-follows-and-shared-config

Conversation

@m4rocks

@m4rocks m4rocks commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Closes #107
Closes #108
Closes #109

What changes

  • The model no longer names sessions (Only the user names sessions #107). set_tab_title and the instructions that asked for it are gone. The instructions now open with one sentence saying the session runs inside Claudiu. Titles the model set before keep showing until the session is renamed. The old titles folder is still pruned.
  • /rename in Claude Code renames the session in Claudiu (Follow changes made inside Claude Code #108). The transcript scan keeps Claude Code's /rename name apart from its generated title. reconcile adopts a new name from Claude Code only when Claudiu has no name of its own, or when Claude Code already held Claudiu's name. A rename made in Claudiu, even two in quick succession, is never undone by Claude Code catching up with an older one. Running sessions go through refresh_live, which calls reconcile, so the sidebar updates on the next tick. The mod records a name typed with /rename, so it doesn't run /rename again when Claudiu writes that name back.
  • /config options are shared across accounts (Share /config options across every account #109). SHARED_KEYS now holds the preference keys from Claude Code 2.1.325's own global config list, next to mcpServers. Sign-in, install details, counters, notices and caches stay per account, and so do the login-bound options: uploading sessions, remote control at startup, phone push and Claude in Chrome. As before, an account with a running session gets the change once its sessions end. Whether every account holds a key is now decided per key, so a busy account behind on folder trust no longer stops a reset to the default from spreading.

The shared keys are theme, verbose, editorMode, preferredNotifChannel, autoCompactEnabled, autoScrollEnabled, showTurnDuration, showMessageTimestamps, diffTool, todoFeatureEnabled, showExpandedTodos, briefTranscript, messageIdleNotifThresholdMs, autoConnectIde, autoInstallIdeExtension, fileCheckpointingEnabled, terminalProgressBarEnabled, showStatusInTerminalTab, taskCompleteNotifEnabled, inputNeededNotifEnabled, respectGitignore, copyFullResponse, copyOnSelect, leftArrowOpensAgents, defaultToAgentsView, prStatusFooterEnabled and teammateMode.

Auto-compact and advisor changes made in Claude Code already reached Claudiu: the mod reports them after command.run, config.set and compaction, and its tests cover that.

Tests

  • store: a /rename is adopted, including the first one in a session Claudiu never named. A rename made in Claudiu is not undone, not even two quick ones, a name with spaces around it still lets later renames through, and a generated title never renames the session.
  • config_sync: a /config option changed in one of three accounts reaches the others, its reset to the default does too, and sign-in and counters are left alone. A busy account behind only on folder trust doesn't hold back an option's reset.
  • mcp: the tool is gone, calling it returns "unknown tool", and nothing asks the model for a title.
  • Mod: a name typed with /rename doesn't run /rename again.
  • cargo test: 460 passed. claude plugin test mod: 12 passed. Clippy shows no warnings in the changed files.

Not done or not checked

  • A /config or /advisor change made in another session reaches this session's meters only after something happens in this session. Reporting once a second broke the ctl test, so I left it out.
  • /rename with no name lets Claude Code generate one. Claudiu writes it back and the mod runs /rename once more with the same name. That's harmless.
  • If the user sets an option back to its old value inside an account that is busy while the others haven't agreed yet, the others win once it is idle. That needs a flip back during that window.
  • I didn't try any of this in the running app.

…cross accounts

- The model can no longer name the session: set_tab_title and its instructions are gone. The user names a session from its menu, by regenerating the title, or with /rename.
- A /rename inside Claude Code renames the session in Claudiu. Claudiu reads the name from the transcript and adopts it when it changes, without undoing a rename made in Claudiu that hasn't reached Claude Code yet. The mod remembers the name so it doesn't run /rename again when Claudiu writes it back.
- The /config options Claude Code saves in .claude.json are shared across every account and the main ~/.claude, next to MCP servers and folder trust. Sign-in, counters and caches stay per account.

Closes #107
Closes #108
Closes #109
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Nov 16, 2026 9:45pm UTC

…n-bound options per account

- A rename made in Claudiu is no longer replaced by an older Claudiu name that Claude Code reaches first. Claude Code's name is taken only when Claudiu has none or Claude Code already held Claudiu's.
- Whether every account holds a shared key is now decided per key, so a busy account behind on folder trust or another key no longer stops a reset to the default from spreading.
- Uploading sessions, remote control at startup, phone push and Claude in Chrome stay per account.
Claude Code holds names trimmed, so an exact match never confirmed such a name again and later renames in Claude Code were ignored.
@m4rocks
m4rocks merged commit 245fda5 into main Nov 16, 2026
5 checks passed
@m4rocks
m4rocks deleted the claude-code-follows-and-shared-config branch November 16, 2026 21:49

This branch was successfully deployed

1 active deployment
Preview — 4dca8ca3 Deployed Nov 16, 2026 by vercel[bot]
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.

Share /config options across every account Follow changes made inside Claude Code Only the user names sessions

1 participant