You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Named provider instances: work/personal accounts, isolated config dirs, OpenRouter #453
T3 Code treats each Claude (and Codex) setup as a named provider instance, not a singleton (docs):
Work vs personal Claude accounts via a separate CLAUDE_CONFIG_DIR per instance. T3 never sets HOME; it points Claude Code at that directory so the system keychain stays intact.
A thread can only switch to another Claude instance that shares the same config dir. A different dir is a different environment.
OpenRouter and Claude Code Router are just more named Claude instances: isolated config dir + per-instance env (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN marked sensitive, empty ANTHROPIC_API_KEY so the Anthropic login is not reused).
Settings show the signed-in email per instance (blurred until clicked) so you can tell which account you are about to spend.
Orca ships the same idea as an account switcher with usage and rate-limit resets, and hot-swaps Codex accounts without re-logging in (onorca.dev).
Solenta today
agentProfiles (electron/store.jsparseAgentProfile) are { id, name, provider, model, reasoningEffort, permissionMode }. They pick a model and a permission ladder. They cannot:
point a Claude spawn at a second CLAUDE_CONFIG_DIR
represent two logged-in accounts of the same provider
There is one implicit Claude home and one implicit Codex login for the whole app.
Why it matters
Anyone with a work Max plan and a personal account, or anyone routing Claude Code through OpenRouter / CCR, cannot use Solenta without clobbering their default login. T3 documented this because it is the first thing dual-account users hit.
Scope suggestion
Promote a provider instance (binary path, config dir, env, sensitive-secret storage) and keep today's agent profile as a thin preset over an instance. Do not let a live thread jump across config dirs — T3 is right that Claude state is not shareable that way.
Round 20: Claude Code 2.1.234 added CLAUDE_CODE_PROJECT_DIR_NAME. Quote from the changelog:
hosts that give each session its own config directory can choose a short name for the per-project transcript directory
That is an orchestrator-facing knob aimed at us. When named instances land, set this on every spawn that uses an isolated CLAUDE_CONFIG_DIR, or Claude's per-project transcript dirs will collide or grow unreadable hashes. Pair with the instance's display name.
Round 21: OpenCode has the same isolated-home knob as Claude.
`OPENCODE_CONFIG_DIR=/path/to/my/config-directory opencode run "…"`
Named instances must set this for OpenCode the same way they set `CLAUDE_CONFIG_DIR` / `CLAUDE_CODE_PROJECT_DIR_NAME`. One field on the instance ("config dir"), mapped per provider.
Round 23 intel: Amp's Dial now adapts to what you already pay for (2026-08-10): link a ChatGPT subscription and the low/medium/high effort levels run on that subscription's quota. This is the routing layer moving underneath the user's existing subscriptions instead of selling a parallel meter. For named provider instances it means the instance config should capture not just credentials but which subscription/meter backs it, so the effort picker and the spend meter can attribute cost to the right plan. It also normalizes the idea that effort levels are subscription-relative, not absolute.
Round 25 demand-side validation: multi-account is one of the loudest requests across three vendor repos right now. Claude Code: "manage multiple Claude accounts with easy switching" (#18435, 166 comments) and "multiple Connector accounts, same connector, different accounts" (#27302, 231 comments). Codex: "first-class multi-account auth via --auth-profile" (openai/codex#4432) and "multiple named accounts per app/connector" (#20500). The work/personal split is a daily pain for exactly Solenta's target user. If Solenta ships named instances before the vendors do, it is a genuine headline feature, not a checkbox.
Round 26 demand signal: "Make Warp work with Local Language Models (Ollama)" is the #1 open request on Warp's tracker (Warp#4339, 141 comments), and Cline's tracker is full of LM Studio / OpenAI-compatible endpoint asks. Named instances must therefore treat an OpenAI-compatible localhost endpoint (Ollama, LM Studio, llama.cpp server) as a first-class instance type, not a bolt-on: per-instance base URL + optional key, model discovery from /v1/models, and honest capability flags (most local models have no native permission or plan protocols, so they route through the #458 generic path with reduced guarantees). Local models + local-first orchestrator is the full privacy story.
Round 27: Orca has now shipped both sides of this: a Claude account switcher (hot swap between multiple Claude accounts) and Codex multi-account homes (system default vs isolated managed accounts), with nested subagent attribution per account. Combined with the demand data from round 25 (400+ comments across vendor trackers), multi-account is no longer just demanded; a direct competitor ships it. The isolated-managed-home approach (separate config dirs per account, agent never sees the other account's credentials) is the right reference design.
Gap pass #1532 checked this against main @24d3c36b (v0.24.0). #1516 shipped named instances for Claude and Codex (electron/providerInstances.js): a per-instance CLAUDE_CONFIG_DIR/CODEX_HOME, sealed secrets, a Settings UI, and a forced fresh session when you switch instance.
Still missing, so keeping this open:
OpenCode instances (OPENCODE_CONFIG_DIR).
CLAUDE_CODE_PROJECT_DIR_NAME is never set.
A local OpenAI-compatible endpoint type (Ollama, LM Studio).
Showing the signed-in account email.
Spend broken down per subscription; today it is per instance only.
Shipped in 0.24.0 (#1516): named provider instances with their own config dir (CLAUDE_CONFIG_DIR/CODEX_HOME) and env (electron/providerInstances.js), so OpenRouter works through env. Closing in the 2026-10-09 board cleanup (#1532).
Activity
currentbits commentedon Aug 18, 2026
Round 20: Claude Code 2.1.234 added
CLAUDE_CODE_PROJECT_DIR_NAME. Quote from the changelog:That is an orchestrator-facing knob aimed at us. When named instances land, set this on every spawn that uses an isolated
CLAUDE_CONFIG_DIR, or Claude's per-project transcript dirs will collide or grow unreadable hashes. Pair with the instance's display name.currentbits commentedon Aug 18, 2026
Round 21: OpenCode has the same isolated-home knob as Claude.
`OPENCODE_CONFIG_DIR=/path/to/my/config-directory opencode run "…"`
Named instances must set this for OpenCode the same way they set `CLAUDE_CONFIG_DIR` / `CLAUDE_CODE_PROJECT_DIR_NAME`. One field on the instance ("config dir"), mapped per provider.
currentbits commentedon Aug 18, 2026
Round 23 intel: Amp's Dial now adapts to what you already pay for (2026-08-10): link a ChatGPT subscription and the low/medium/high effort levels run on that subscription's quota. This is the routing layer moving underneath the user's existing subscriptions instead of selling a parallel meter. For named provider instances it means the instance config should capture not just credentials but which subscription/meter backs it, so the effort picker and the spend meter can attribute cost to the right plan. It also normalizes the idea that effort levels are subscription-relative, not absolute.
currentbits commentedon Aug 18, 2026
Round 25 demand-side validation: multi-account is one of the loudest requests across three vendor repos right now. Claude Code: "manage multiple Claude accounts with easy switching" (#18435, 166 comments) and "multiple Connector accounts, same connector, different accounts" (#27302, 231 comments). Codex: "first-class multi-account auth via --auth-profile" (openai/codex#4432) and "multiple named accounts per app/connector" (#20500). The work/personal split is a daily pain for exactly Solenta's target user. If Solenta ships named instances before the vendors do, it is a genuine headline feature, not a checkbox.
currentbits commentedon Aug 18, 2026
Round 26 demand signal: "Make Warp work with Local Language Models (Ollama)" is the #1 open request on Warp's tracker (Warp#4339, 141 comments), and Cline's tracker is full of LM Studio / OpenAI-compatible endpoint asks. Named instances must therefore treat an OpenAI-compatible localhost endpoint (Ollama, LM Studio, llama.cpp server) as a first-class instance type, not a bolt-on: per-instance base URL + optional key, model discovery from /v1/models, and honest capability flags (most local models have no native permission or plan protocols, so they route through the #458 generic path with reduced guarantees). Local models + local-first orchestrator is the full privacy story.
currentbits commentedon Aug 18, 2026
Round 27: Orca has now shipped both sides of this: a Claude account switcher (hot swap between multiple Claude accounts) and Codex multi-account homes (system default vs isolated managed accounts), with nested subagent attribution per account. Combined with the demand data from round 25 (400+ comments across vendor trackers), multi-account is no longer just demanded; a direct competitor ships it. The isolated-managed-home approach (separate config dirs per account, agent never sees the other account's credentials) is the right reference design.
Merge pull request #1516 from currentbits/coder/1512-i1-named-provide…
currentbits commentedon Oct 9, 2026
Gap pass #1532 checked this against main @24d3c36b (v0.24.0). #1516 shipped named instances for Claude and Codex (
electron/providerInstances.js): a per-instanceCLAUDE_CONFIG_DIR/CODEX_HOME, sealed secrets, a Settings UI, and a forced fresh session when you switch instance.Still missing, so keeping this open:
OPENCODE_CONFIG_DIR).CLAUDE_CODE_PROJECT_DIR_NAMEis never set.currentbits commentedon Oct 9, 2026
Shipped in 0.24.0 (#1516): named provider instances with their own config dir (
CLAUDE_CONFIG_DIR/CODEX_HOME) and env (electron/providerInstances.js), so OpenRouter works through env. Closing in the 2026-10-09 board cleanup (#1532).