{"full_name":"realiti4/claude-swap","owner":"realiti4","name":"claude-swap","shard":"1","url":"https://github.com/realiti4/claude-swap","description":"Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and parallel sessions","homepage":"","topics":["claude","claude-code","account-manager","account-switcher","anthropic","cli","multi-account","tui"],"tag_pages":["anthropic","claude","claude-code","cli","tui"],"language":"Python","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/43709619?u=44d6cbc749a6de08b893b09200f451000df24c94&v=4","created_at":"2026-01-11T08:47:31Z","pushed_at":"2026-11-15T13:48:57Z","metrics":{"stars":4728,"forks":514,"watchers":11,"issues":182,"prs":403,"releases":64,"issues_open":52,"issues_closed":130,"prs_open":146,"prs_closed":77,"prs_merged":180,"discussions":0},"growth":{"day":{"stars":17,"forks":4,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-14","2026-11-15","2026-11-16"],"stars":[4703,4711,4728],"forks":[505,510,514],"watchers":[11,11,11],"issues_open":[49,50,52],"prs_open":[143,145,146]},"boards":{},"same_owner":[],"issues":[{"number":14,"title":"Feature Request: Support for Claude desktop app","comments":12,"created_at":"2026-04-09T00:44:39Z"},{"number":15,"title":"Feature: Support Codex CLI","comments":6,"created_at":"2026-04-09T03:11:35Z"},{"number":220,"title":"usage: /api/oauth/usage 429 (Retry-After: 0) keys on the account, not token×UA — busy accounts never refresh; proposal: cswap refresh + opt-in 1-token header fallback","comments":4,"created_at":"2026-08-05T03:40:01Z"},{"number":489,"title":"Identify the active account by the live credential's account UUID, not the config email","comments":2,"created_at":"2026-10-21T01:29:09Z"},{"number":469,"title":"Switch Drops Remote Control and Doesn't Restore it","comments":2,"created_at":"2026-10-15T17:46:19Z"},{"number":456,"title":"Fresh active login cannot recover usage while the saved backup remains quarantined","comments":2,"created_at":"2026-10-12T04:38:26Z"},{"number":228,"title":"feat: pace visualization follow-ups: expected tick on bars, stage/delta in JSON, behind-pace reserve","comments":2,"created_at":"2026-08-07T21:16:52Z"},{"number":208,"title":"auto: 429-frozen usage is decision-trusted as an exact value, so the active account's threshold test silently never fires (0.24.1)","comments":2,"created_at":"2026-07-31T16:31:43Z"}],"discussions":[],"latest_release":{"name":"v1.1.0","tag":"v1.1.0","published_at":"2026-11-12T17:45:57Z","body":"## Highlights\n\nA fixes release — stored logins that survive more switches, custom profiles on macOS, and `consume-first` landings with room.\n\n- **Stored logins are harder to lose.** A switch could save unrelated live credentials over a slot's login or API key (#384, fixes #383), and a login that was refreshed while `~/.claude.json` named another account left its slot with a dead token (#523). Both are kept now.\n- **Custom profiles on macOS.** With `CLAUDE_CONFIG_DIR` set, a switch could report success and change nothing (#357, fixes #206), or, when it pointed at `~/.claude` itself, delete the login made without the variable (#582). `cswap list` inside a `cswap run` shell no longer logs out the Claude running on your default login (#433).\n- **`consume-first` lands with room.** It no longer moves onto an account a few points under its limit and sits there through the cooldown while it runs out, and an escape from a full account prefers one that is still below its limits (#504, fixes #305).\n- **A heads-up before a login expires.** In its last week, an account shows `re-login in 5d 12h` in `cswap list`, the TUI and the menu bar (#392).\n- **Fable's weekly usage for setup-token accounts.** `cswap config set usage.fableProbe true`, on top of `usage.headerProbe`, reads the Fable row from a second 1-token request, so `cswap auto --model Fable` can use those accounts. It stops asking once Fable's weekly limit is used up (#568, #583, closes #567).\n- **Errors that say what to do.** `cswap config` warns about a `settings.json` key that nothing reads and suggests the one you meant (#581, fixes #259). A refused TLS certificate (#407) and an organization that blocks OAuth sign-in (#424) are named with their remedy instead of a generic network or 403 error.\n\nAlso: `cswap run N` works when the default login is signed out (#563); a lock can no longer be taken from a process that still holds it (#266); and there is now a `CONTRIBUTING.md`, an `AGENTS.md` for coding agents and `docs/architecture.md` for anyone sending a PR.\n\n## What's Changed\n* Show the time left before each account must log in again by @codeslake in https://github.com/realiti4/claude-swap/pull/392\n* Resync a managed slot when its newer credential is found under another slot's label by @gkriegspeedbay in https://github.com/realiti4/claude-swap/pull/523\n* fix(switch): preserve OAuth and API-key backups across incompatible live stores by @NorthIsUp in https://github.com/realiti4/claude-swap/pull/384\n* run: launch the session profile when the default login is signed out by @maddada in https://github.com/realiti4/claude-swap/pull/563\n* auto: an opportunistic consume-first move needs room, and an escape prefers a target below its lines by @EldarPolitkin in https://github.com/realiti4/claude-swap/pull/504\n* tests: keep the unit suite off the real network by @codeslake in https://github.com/realiti4/claude-swap/pull/398\n* A usage 403 that names its organization policy is not a bare http-403 by @codeslake in https://github.com/realiti4/claude-swap/pull/424\n* fix(locks): a held lock could go stale, and a small timeout was not one by @codeslake in https://github.com/realiti4/claude-swap/pull/266\n* Classify a refused TLS certificate apart from an unreachable host by @codeslake in https://github.com/realiti4/claude-swap/pull/407\n* Read Fable's weekly usage for setup-token accounts by @daverickdunn in https://github.com/realiti4/claude-swap/pull/568\n* The foreign-successor rescue no longer absorbs a refused backup write by @codeslake in https://github.com/realiti4/claude-swap/pull/571\n* The test suite's real-store guard can no longer be absorbed by an except Exception by @codeslake in https://github.com/realiti4/claude-swap/pull/572\n* fix(credentials): stop writing another profile's keychain item by @BarganConstantin in https://github.com/realiti4/claude-swap/pull/357\n* cswap config names a settings.json key that nothing reads, and the auto-switch loop logs it when it starts by @realiti4 in ht","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}