Repository navigation
feat: Antigravity CLI (agy) as a supported agent - #1020
Merged
Merged
Conversation
Public/internal id `antigravity`, binary `agy`, auth kinds oauth_token (preferred, backend-minted) + api_key, native ACP. Adds its canonical no-sudo install snippet (command -v agy guarded) and updates the Gemini comment: official ACP (`agy acp`) shipped in agy 1.5.0, closing antigravity-cli#31. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ACP adapter `agy acp` (no --dangerously-skip-permissions: our runner answers session/request_permission like for every other agent), with on-demand install for local pairs and ~/.local/bin PATH folding. - Runtime strategy with generateOneShot (`agy -p … --print-timeout`), backed by our kill timer since the timeout does not bound the signed-out sign-in wait. - Self-hosted provisioning: oauth_token blob verbatim to ~/.gemini/antigravity-cli/antigravity-oauth-token (0600, validated); api_key exports GEMINI_API_KEY and merges modelProvider=gemini into settings.json, removing the shadowing OAuth file; switching back to OAuth drops modelProvider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Downloads the exact agy release (AGY_RELEASE + per-arch sha512 from Google's manifests, verified) into /usr/local/bin/agy, root-owned, outside the shadowed /home/box volume, so the codespace/self-hosted `command -v agy` guard skips the install. Sets AGY_CLI_DISABLE_AUTO_UPDATE=1: agy self-updates and relaunches, which would swap the binary under a live session. Guarded by __tests__/box/agy-version-pin.test.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Google Antigravity CLI (
agy, 1.5.2, native ACPagy acp) as a supported agent.@codeam/shared: registry entry (oauth_tokenpreferred,api_keysecond), install snippet guarded bycommand -v agy.generateOneShot(agy -p … --print-timeout), on-demand installer,codeam linkcapture, credential delivery (OAuth →~/.gemini/antigravity-cli/antigravity-oauth-token0600; API key →GEMINI_API_KEY+ settings.jsonmodelProvider: gemini).agyrelease (sha512 checked per arch) in/usr/local/bin, auto-update disabled.Verified against real agy in Docker: initialize → protocol 1,
session/newauthenticates with an API key; without credentials → "Authentication required". Backend counterpart lands in codeagent-mobile after this tag publishes@codeam/shared.Known follow-ups: agy reports provider errors as a chat chunk with
end_turn(no re-auth bubble yet); Baton + squad specialty not wired.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.