Features
- Quota can count down.
ccswap config set ui.quotaDisplay remainingshows what's left (88% used reads as 12%) in the dashboard, CLI, statusline, Claude Code mod, Raycast and menu bar.ui.quotaLabels(none,used,left(default),both) picks which word goes after the percentage.ccswap --remaining listorccswap --used listswitch the direction for one command. In the menu bar, both are under Settings → General. The switch threshold is shown in the same direction, so 10% left means 90% used. Auto-switch, warning colours and--jsonfields still work in percent used. Thanks @samuelclay (#72). - Launch at login in the macOS menu bar, under Settings → General (popover) or Settings (classic). It writes the same launch agent as
ccswap menubar --install-service, so an existing install shows as on. If macOS wants approval, the setting points you to Login Items in System Settings. Thanks @samuelclay (#73). ccswap historycharts each account's weekly usage and estimates when the window fills, for Claude, Codex and Antigravity. Readings are stored locally as JSON Lines.history.enabled(default on) andhistory.retentionDays(default 400) control it (#67).- Standby accounts:
ccswap standby NUM(alsoccswap codex standbyandccswap agy standby) marks an account as a last resort. Auto-switch andswitch --strategypick a standby account only when no regular account qualifies.listshows(standby), and--jsonrows carry"standby"(#68). ccswap map 4,1 <path>maps several accounts to one directory in order of preference.ccswap runthere picks the first account that can be switched to and is under its thresholds.ccswap map --add 1 <path>appends one. Existing single-account mappings load unchanged (#64).autoswitch.refreshAheadMinutes(10 to 240, off when unset) makesccswap autorefresh the active Claude login that many minutes before it expires. Claude Code then has no reason to refresh it, which keeps many sessions on one login from all refreshing at once and getting the login revoked (#70).- Five-hour warm-up for idle Codex and Antigravity accounts, like
autoswitch.warmupFiveHourfor Claude:autoswitch.codexWarmupandautoswitch.antigravityWarmup, both off by default (#69, #65).
Fixes
ccswap listshows saved Antigravity accounts from cache when ccswap can't tell which loginagyis using (Keychain and fallback file both present), instead of hiding the whole section behind the conflict error (#63, fixes #56).- Refresh-ahead keeps a refreshed Claude login that only reached the backup. A later usage poll on the old token no longer overwrites it, so nobody has to sign in again (#71).
ccswap mapnever picks an API-key account, whichrunwould refuse (#71).- Every HTTP request now sends
User-Agent: ccswap/<version>. Claude requests used to sendclaude-swap/1.0(#66).