CC Switch v4.0.18

This release adds support for Antigravity CLI (agy), the 11th app managed by CC Switch. You can add official sign-in cards and third-party API key cards for agy. Note: an Antigravity provider only takes effect in agy started from "Open Terminal with This Provider" on a CC Switch card; running agy directly in any other terminal does not use it. MCP, Skills and prompts sync to agy, sessions can be browsed and resumed, and usage is imported from session logs; the "Apps" page can install, upgrade and uninstall agy. On macOS, Accounts can also manage several Antigravity accounts: switch agy's sign-in in one click, see each account's quota, and bind an official card to an account. Also, in-app updates on Windows no longer restart the computer because a file is in use, and the MSI installer lets you skip creating a desktop shortcut; the header now shows the actual connection as a small badge next to the app name. Other fixes cover routing failing on macOS under many concurrent requests because file handles ran out, "Restart Codex daemon" failing with env: node when CC Switch is launched from Finder, Claude Code sessions staying under the old project after changing directory with /cd, the button on Windows spinning after opening a terminal until the terminal window was closed, Codex quota windows that were never used showing a countdown, and DeepSeek V4.1 Flash having no pricing. For everything new in 4.0, see the v4.0 release notes.


New

Antigravity CLI (agy)

Google's Antigravity CLI (the command is agy) is now a separate app with its own providers, MCP, Skills, prompts, sessions and usage, managed separately from Gemini CLI (#8268, #2959).

⚠️ An Antigravity provider only takes effect when agy is started in a terminal from CC Switch. Unlike other apps, CC Switch does not change agy's own settings files, so Antigravity cards have no "Switch" and no "In use". To use a card, click "Open Terminal with This Provider" on that card; only agy run in the terminal that opens uses that provider. Running agy directly in any other terminal still uses agy's own Google sign-in and settings. (Switching accounts in Accounts on macOS is the exception: it changes agy's global sign-in; see the next section.)

Multiple Antigravity accounts in Accounts (macOS)

agy can only be signed in with one account at a time. Accounts now has an Antigravity group: click "Sign in with Google" or "Add account" to add an account in the browser, and the account agy is already signed in with is added automatically.

Improvements

In-app updates on Windows no longer restart the computer (#8628, #8534). In-app updates run the MSI installer without dialogs, and before, whenever a file in the install folder was still in use, Windows Installer restarted the computer without asking. The installer itself now forbids restarts, which also applies when updating from an older version to this one.

The MSI installer can skip creating a desktop shortcut (#8601, #5667). The install-directory page has a new "Create a desktop shortcut" option, checked by default; silent installs can add CREATEDESKTOPSHORTCUT=0 to skip it. Upgrades keep the current state: a shortcut you deleted is not created again. A Desktop folder that cannot be written to no longer makes the install fail.

The header shows the actual connection (#8634). Where you are actually connected moves from beside the mode tabs to beside the app name, drawn as a small badge in the color of the current mode (Direct, Routing, Aggregation); it stays visible while you look at another mode tab, long names are truncated, and hovering shows the full name.

Less explanatory text in the interface (#8633). In the provider form, OpenClaw, Daily Memory, sync and rectifier settings, descriptions that repeated the label or title next to them are removed, and additional explanations move into the existing help cards; notes that affect the outcome (cost, restarts, sync, deletion and so on) are still shown.

The app filter on the Usage page lists only the apps shown on the "Apps" page. As in Sessions: when Claude Desktop is shown, Claude Code stays too, and the currently selected app does not disappear even if it is hidden.

Presets: Added DIT.ai and hao.ai.

Fixes

Upgrade Notes

The database schema goes from 20 to 21, adding Antigravity toggles for MCP and Skills. The database is backed up automatically before the upgrade; if you go back to an older version after upgrading, it reports that the database version is too new and cannot open it.


Thanks

Thanks to @Owlbay, @peterLwk888, @ajia1206 (Antigravity CLI support), @YUZHEthefool (Windows updates no longer restarting, optional desktop shortcut), @funkpopo (optional desktop shortcut), @SaladDay (header connection badge, less explanatory text), @Dopetaiga (session grouping after /cd), @cuiyf5516 (unused Codex quota windows), @umutcankurt (opening a terminal on Windows waiting indefinitely) for their contributions.

Thanks to @lm902, @zhufeizzz, @AisinGioroKiIoi, @WzLYVg387U, @mvdorofeev, @dw2286, @LeenixP for reporting issues and providing reproduction details and fix ideas.

For the full technical details, see the CHANGELOG.