Repository navigation
Follow renames and settings from Claude Code, share /config options across accounts - #112
Merged
Merged
Conversation
…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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #107
Closes #108
Closes #109
What changes
set_tab_titleand 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 oldtitlesfolder is still pruned./renamein Claude Code renames the session in Claudiu (Follow changes made inside Claude Code #108). The transcript scan keeps Claude Code's/renamename apart from its generated title.reconcileadopts 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 throughrefresh_live, which callsreconcile, so the sidebar updates on the next tick. The mod records a name typed with/rename, so it doesn't run/renameagain when Claudiu writes that name back./configoptions are shared across accounts (Share /config options across every account #109).SHARED_KEYSnow holds the preference keys from Claude Code 2.1.325's own global config list, next tomcpServers. 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,prStatusFooterEnabledandteammateMode.Auto-compact and advisor changes made in Claude Code already reached Claudiu: the mod reports them after
command.run,config.setand compaction, and its tests cover that.Tests
store: a/renameis 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/configoption 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./renamedoesn't run/renameagain.cargo test: 460 passed.claude plugin test mod: 12 passed. Clippy shows no warnings in the changed files.Not done or not checked
/configor/advisorchange 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./renamewith no name lets Claude Code generate one. Claudiu writes it back and the mod runs/renameonce more with the same name. That's harmless.