← Back to Kontasks
Account Switching Creates New Sessions
Explains that switching accounts always starts fresh sessions
Output
Account Switching Always Creates New Sessions
When you switch accounts via the account selector, all sessions are terminated and new ones are created. There's no session reuse across account switches.
What Happens During Account Switch
1. Check: No sessions can be running 2. Kill all hot sessions (cached credentials) 3. Update ~/.claude symlink → new account dir 4. Restart hot pool with new credentials
Why No Reuse?
- Sessions are tied to OAuth credentials
- Credentials are stored per-account in separate directories
- Claude subprocess uses credentials from
~/.claudesymlink - Switching accounts means switching the entire credential context
Account Directories
~/.claude → ~/.claude-max20x (symlink to active) ~/.claude-max20x/ (primary account) ~/.claude-max5x/ (secondary account)
Source: konsole/src/account-switcher.ts:80-128
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
konsoleaccountssessions
Created
9 Jan 2026, 10:20 am
Updated
9 Jan 2026, 10:20 am
Timing
⏱️ 40.4s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
Raw Data
{
"id": "02ca514e-7abb-4520-9c89-5dbf94e1997e",
"type": "general",
"status": "completed",
"title": "Account Switching Creates New Sessions",
"description": "Explains that switching accounts always starts fresh sessions",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">Account Switching Always Creates New Sessions</h2>\n\n<p style=\"line-height:1.6;\">When you switch accounts via the account selector, <strong>all sessions are terminated</strong> and new ones are created. There's no session reuse across account switches.</p>\n\n<h3 style=\"color:#61afef;margin:16px 0 8px 0;\">What Happens During Account Switch</h3>\n<pre style=\"background:#2d2d2d;padding:12px;border-radius:6px;line-height:1.8;\">\n<span style=\"color:#e5c07b;\">1.</span> <span style=\"color:#e0e0e0;\">Check: No sessions can be running</span>\n<span style=\"color:#e5c07b;\">2.</span> <span style=\"color:#c678dd;\">Kill</span> all hot sessions (cached credentials)\n<span style=\"color:#e5c07b;\">3.</span> <span style=\"color:#c678dd;\">Update</span> ~/.claude symlink → new account dir\n<span style=\"color:#e5c07b;\">4.</span> <span style=\"color:#98c379;\">Restart</span> hot pool with new credentials\n</pre>\n\n<h3 style=\"color:#61afef;margin:16px 0 8px 0;\">Why No Reuse?</h3>\n<ul style=\"margin:0;padding-left:20px;line-height:1.8;\">\n<li>Sessions are tied to OAuth credentials</li>\n<li>Credentials are stored per-account in separate directories</li>\n<li>Claude subprocess uses credentials from <code style=\"background:#2d2d2d;padding:2px 6px;border-radius:4px;\">~/.claude</code> symlink</li>\n<li>Switching accounts means switching the entire credential context</li>\n</ul>\n\n<h3 style=\"color:#61afef;margin:16px 0 8px 0;\">Account Directories</h3>\n<pre style=\"background:#2d2d2d;padding:12px;border-radius:6px;line-height:1.6;\">\n<span style=\"color:#56b6c2;\">~/.claude</span> <span style=\"color:#7f848e;\">→</span> <span style=\"color:#98c379;\">~/.claude-max20x</span> <span style=\"color:#7f848e;\">(symlink to active)</span>\n<span style=\"color:#56b6c2;\">~/.claude-max20x/</span> <span style=\"color:#7f848e;\">(primary account)</span>\n<span style=\"color:#56b6c2;\">~/.claude-max5x/</span> <span style=\"color:#7f848e;\">(secondary account)</span>\n</pre>\n\n<p style=\"margin:16px 0 0 0;color:#7f848e;\">Source: konsole/src/account-switcher.ts:80-128</p>\n</div>",
"requestedAt": "2026-01-09T00:05:00.000Z",
"requestId": "be34cada-52d1-4197-9203-d28ad6786976",
"turnTiming": {
"totalMs": 40350,
"ttfeMs": 59,
"thinkingMs": 40291,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-09T00:20:43.793Z",
"updatedAt": "2026-01-09T00:20:48.122Z",
"requestId": "be34cada-52d1-4197-9203-d28ad6786976",
"scope": "vibetools",
"tags": [
"konsole",
"accounts",
"sessions"
],
"targetUser": "claude"
}