Replies: 1 comment
|
Closing as a duplicate of #7547 — same request: mid-thread Claude account switching / continuation when multiple instances share session state (Codex already has #12616 (cited here) was a narrower key-normalization bug (empty vs |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hey! been using T3 Code a lot lately and loving it, but there's one thing that keeps getting in my way.
i have a few Claude subscriptions and i switch between them when one hits its limit. i've got each one set up as its own Claude instance in T3 with a different
CLAUDE_CONFIG_DIR. all those config dirs symlink their history to one shared folder, so every account sees the same sessions.in cmux (and in the plain Claude CLI with
claude --resume) this works great. an account runs out, i switch to another one and just keep going in the same conversation, full context and everything. in T3 i can't switch once a thread has started. it just says "Start a new thread to use this model."what hurts
my setup
each dir still has its own
.claude.jsonand login, so auth stays separate but the history is shared.how to repro
projects/to the same folderi expected it to just continue on B, since the session file is literally in the same folder. instead it gets blocked with "Start a new thread to use this model."
why it happens (i think)
i looked around a bit, and
makeClaudeContinuationGroupKeybuilds the key frompath.resolve(homePath). the picker blocks the switch when the keys don't match. since it goes by the folder path and doesn't follow symlinks, my accounts all get different keys even though their sessions live in the same place. feels like the same kind of thing as #12616, just with symlinks.some ideas (any of these would work for me)
fs.realpath(<homePath>/projects), and fall back to the current behavior if that folder doesn't exist. no new settings, nothing changes for anyone else.shadowHomePath("Keeps auth.json separate while sharing state from CODEX_HOME"). something like that for Claude would solve this without people having to set up symlinks by hand.questions for @t3dotgg
/compactforks (kinda like [Bug]: Claude rewind fails after a /compact that preserved recent messages, and leaves the forked transcript on disk #13638)?sessions/orhistory.jsonlat the same time?thanks!
env: T3 Code (Alpha) 0.0.33 on macOS, Claude Code CLI 2.1.283
All reactions