Features
ccswap autocan now switch the shared Antigravity login when the active Google account runs low on Gemini quota. It's off by default: turn it on withccswap config set autoswitch.antigravity true, or withccswap auto --antigravityfor a single run. It uses the Gemini Models group only, takes the worse of its weekly and 5h windows, and follows the same threshold,threshold5h/threshold7dgates, cooldown, hysteresis and strategy as Codex auto-switching. Every switch goes throughccswap agy switch, so the custody lock and recovery checks still apply. Readings older than ten minutes are ignored. Antigravity runs in its own thread, so a slow/usageread never delays Claude switching. Log lines start withAntigravity:and--jsonevents carry"provider": "agy". See Antigravity accounts. Thanks @mvanhorn (#57).
Fixes
ccswap auto --jsonlines stay whole when the Claude and Antigravity engines emit at the same time.- Stopping
ccswap auto(Ctrl-C or SIGTERM) waits for an in-flight Antigravity check instead of exiting partway through a switch. If the wait takes longer than half a second, it now prints that it's waiting, and a second Ctrl-C quits right away.