Skip to content

v1.2.0

Latest

Choose a tag to compare

@errhythm errhythm released this 30 Nov 04:37
c6ae9fa

Features

  • ccswap auto can now switch the shared Antigravity login when the active Google account runs low on Gemini quota. It's off by default: turn it on with ccswap config set autoswitch.antigravity true, or with ccswap auto --antigravity for 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 / threshold7d gates, cooldown, hysteresis and strategy as Codex auto-switching. Every switch goes through ccswap 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 /usage read never delays Claude switching. Log lines start with Antigravity: and --json events carry "provider": "agy". See Antigravity accounts. Thanks @mvanhorn (#57).

Fixes

  • ccswap auto --json lines 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.