Patch Changes
-
Make Antigravity (
agy) a first-class CLI everywhere, and stop presenting Gemini CLI as a consumer product now that it is enterprise-only.Antigravity was already wired into the session layer, schemas, run-mode menu and remote/Docker command maps, but the surfaces around it were never updated. Gemini keeps full support; Antigravity now sits beside it.
Fixes:
- Docker cases with
mode: 'antigravity'were broken.docker/agent.Dockerfileinstalls its CLIs from npm, andagyis not an npm package, so the binary was never in the image and the container died on command-not-found. It now gets its own installer step. The--dir /usr/local/binflag is load-bearing: the installer's default$HOME/.local/binresolves to root's home at build time and would be unreachable by theagentuser the container runs as. Note the binary is roughly 190MB, making it the largest layer in the image, so rebuild withnode scripts/build-agent-image.mjswhen convenient. - Welcome screen gained a "Run Antigravity" action, gated on
agybeing present like the other CLI buttons, styled with the same cyan identity as the toolbar run button and run-mode dot. install.shnow detectsagy(search paths mirroringantigravity-cli-resolver.ts), counts it as a satisfying AI CLI so an Antigravity-only box is not told it has none, and recommends it instead of Gemini in the install hints.
Documentation corrections where it had become factually wrong:
architecture-invariants.mddescribedisExternalCliMode()as opencode/codex/gemini when the code has included antigravity for some time, said "all three modes", and omittedANTIGRAVITY_*from the env-prefix allowlist row; theagentTypeenum incron-guide.md,SessionModeincron-discovery.md, andRemoteCommandModeinremote-sessions.mdwere all stale.Also updated both READMEs (five CLIs, Gemini marked enterprise-only), the
antigravitynpm keyword, and comment drift in eight places. Test coverage added for the new welcome button.Antigravity stores its state under
~/.gemini/antigravity-cli/rather than a~/.antigravitydirectory, so the existing.geminiDocker credential seed already covers it. That is now recorded in a code comment so no dead configuration gets added later. - Docker cases with
-
b982c5d: Keep the brief Response Viewer output inside the same message card and Markdown wrapper used by the full conversation view, so opening the viewer without clicking More preserves the same readable formatting.