Skip to content

[3487 by Claude Opus 5.5] Upgrade the bundled Antigravity CLI (agy) from 1.4.0 to **1.5.6**. - #3488

Merged
integry merged 1 commit into
mainfrom
3487/claude-opus-5-5-upgrade-the-bundled-antig-20261112-1235-4qt
Nov 12, 2026
Merged

integry merged 1 commit into
mainfrom
3487/claude-opus-5-5-upgrade-the-bundled-antig-20261112-1235-4qt

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3487

Branch: 3487/claude-opus-5-5-upgrade-the-bundled-antig-20261112-1235-4qt
Commits: ✅ Changes committed (a626fa9)


AI Processing Completed

Execution Details:

Summary:
I've moved the bundled Antigravity CLI from 1.4.0 to 1.5.6. Task runs that hit --print-timeout are now recorded as timeouts with the CLI's own explanation, instead of a generic error. The affected test suites, the core typecheck and lint on the changed files all pass. I didn't build the Docker image (no Docker here), and I couldn't produce a real print timeout because the CLI needs a signed-in account.

Pin check

  • Google's install manifest for linux_amd64 lists 1.5.6 with release ID 6212266538958848 and the same SHA-512 as the issue.
  • I downloaded the tarball: its hash matches, it holds a single antigravity entry, and --version prints 1.5.6.

Where the version changed

  • Dockerfile.agent (both stages: version, release ID, SHA-512), scripts/build-images.sh, scripts/verify-antigravity-image.sh.
  • The default CLI versions in AGENT_DEFAULTS (modelDefinitions.ts) and version/types.ts, plus their tests.
  • The verifier fixture is renamed to antigravity-verifier-pinned-1.5.6.json. It is synthetic: I didn't capture new stream output from 1.5.6. I only confirmed the binary still contains the event fields the fixture uses.
  • scripts/integration-test-images.sh doesn't carry a version, so I only fixed its stale "Gemini 3.7" step label. THIRD_PARTY_LICENSES.md doesn't name a version either, so it's unchanged.

Print timeout (1.5.0)

  • A new helper, utils/antigravityPrintTimeout.ts, spots a print timeout from the [agy] print timeout after … stderr line, or from an AGY_ERROR line that mentions one. I took both formats from strings in the 1.5.6 binary.
  • Task runs: the run fails with reason timeout and a message like "Antigravity CLI hit its --print-timeout after 3600s (exit code 3) before the run finished; the response is partial. AGY_ERROR: … Raise ANTIGRAVITY_TIMEOUT_MS if the task needs longer."
  • Analysis runs: they used to accept any printed output, even when the exit code wasn't 0. They now reject the partial answer of a timed-out run.
  • Goal runs: the stream's error text shows the same message.
  • The new tests in packages/core/test/antigravityPrintTimeout.test.ts cover exit code 3 with AGY_ERROR, other exit-3 errors that should not count as timeouts, and the analysis case. Two of them fail on the old code.

Docs and changelog

  • agents-and-models.md has a note on the 1.5.2 Gemini Enterprise behaviour: --dangerously-skip-permissions no longer approves actions outside the workspace when an admin requires review. It also says why Gemini 4 Carbon isn't in the catalog.
  • agent-runtime.md describes the timeout handling.
  • CHANGELOG.md has a Changed entry covering 1.5.0, 1.5.2 and 1.5.5.

Models

  • The catalog is unchanged and Gemini 4 Carbon isn't added. The binary confirms Carbon is gated on AGY_ADC_AUTH, and still contains the Flash 3.8, Argon and Claude 5.5 IDs. gpt-oss-120b is present as an ID, but the "GPT-OSS 120B" display name isn't in the binary, presumably because the server supplies it. agy models needs a login, so I couldn't list the models live.

There's no visual change, so I made no preview.

Detailed Logs:

  • Conversation: 193 messages
  • Session: a15ee34d-7b4c-4ce7-be51-f63c411816a7

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3487-2026-11-12T12-49-56-176Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3487-2026-11-12T12-49-56-176Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: I've moved the bundled Antigravity CLI from 1.4.0 to 1.5.6. Task runs that hit `--print-timeout` are now recorded as timeouts with the CLI's own explanation, instead of a generic error. The affected t...


This PR was created automatically by ProPR after processing issue #3487.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

… that hit `--print-timeout` are now recorded as timeouts with the CLI's own explanation, instead of a generic error. The affected test suites, the core typecheck and lint on the changed files all pass. I didn't build the Docker image (no Docker here), and I couldn't produce a real print timeout because the CLI needs a signed-in account.

Pin check
- Google's install manifest for `linux_amd64` lists 1.5.6 with release ID `6212266538958848` and the same SHA-512 as the issue.
- I downloaded the tarball: its hash matches, it holds a single `antigravity` entry, and `--version` prints `1.5.6`.

Where the version changed
- `Dockerfile.agent` (both stages: version, release ID, SHA-512), `scripts/build-images.sh`, `scripts/verify-antigravity-image.sh`.
- The default CLI versions in `AGENT_DEFAULTS` (`modelDefinitions.ts`) and `version/types.ts`, plus their tests.
- The verifier fixture is renamed to `antigravity-verifier-pinned-1.5.6.json`. It is synthetic: I didn't capture new stream output from 1.5.6. I only confirmed the binary still contains the event fields the fixture uses.
- `scripts/integration-test-images.sh` doesn't carry a version, so I only fixed its stale "Gemini 3.7" step label. `THIRD_PARTY_LICENSES.md` doesn't name a version either, so it's unchanged.

Print timeout (1.5.0)
- A new helper, `utils/antigravityPrintTimeout.ts`, spots a print timeout from the `[agy] print timeout after …` stderr line, or from an `AGY_ERROR` line that mentions one. I took both formats from strings in the 1.5.6 binary.
- Task runs: the run fails with reason `timeout` and a message like "Antigravity CLI hit its --print-timeout after 3600s (exit code 3) before the run finished; the response is partial. AGY_ERROR: … Raise ANTIGRAVITY_TIMEOUT_MS if the task needs longer."
- Analysis runs: they used to accept any printed output, even when the exit code wasn't 0. They now reject the partial answer of a timed-out run.
- Goal runs: the stream's error text shows the same message.
- The new tests in `packages/core/test/antigravityPrintTimeout.test.ts` cover exit code 3 with `AGY_ERROR`, other exit-3 errors that should not count as timeouts, and the analysis case. Two of them fail on the old code.

Docs and changelog
- `agents-and-models.md` has a note on the 1.5.2 Gemini Enterprise behaviour: `--dangerously-skip-permissions` no longer approves actions outside the workspace when an admin requires review. It also says why Gemini 4 Carbon isn't in the catalog.
- `agent-runtime.md` describes the timeout handling.
- `CHANGELOG.md` has a Changed entry covering 1.5.0, 1.5.2 and 1.5.5.

Models
- The catalog is unchanged and Gemini 4 Carbon isn't added. The binary confirms Carbon is gated on `AGY_ADC_AUTH`, and still contains the Flash 3.8, Argon and Claude 5.5 IDs. `gpt-oss-120b` is present as an ID, but the "GPT-OSS 120B" display name isn't in the binary, presumably because the server supplies it. `agy models` needs a login, so I couldn't list the models live.

There's no visual change, so I made no preview.
@integry
integry merged commit 6ae44ab into main Nov 12, 2026
55 checks passed
@integry
integry deleted the 3487/claude-opus-5-5-upgrade-the-bundled-antig-20261112-1235-4qt branch November 12, 2026 14:50
propr-dev Bot pushed a commit that referenced this pull request Nov 13, 2026
…(`agy`) to 1.5.8, and added Gemini 4 Hydrogen to the catalog. The affected tests pass, including the tool-policy test against the real 2.1.323 and 0.168.0 binaries (11 passed, none skipped). One thing needs your attention before merge: the 1.5.8 release notes don't list Hydrogen for `agy login` accounts, which is how ProPR signs in.

Hydrogen and `agy login`. `agy changelog` in the 1.5.8 binary says Hydrogen was added for Gemini API key (`GEMINI_API_KEY`), Application Default Credentials and enterprise gateway sign-ins. It doesn't mention `agy login`. Press coverage says Google AI Pro/Ultra subscribers get it, but I couldn't confirm that here because the model list for a signed-in account comes from Google's servers. The PR description should say this and list a pre-merge smoke test on a signed-in `agy login` account:
- `agy models` lists `gemini-4-hydrogen-low`, `-medium`, `-high` and `-xhigh`.
- A Hydrogen task run works at XHigh.
- Task and repository-inspection runs behave as before under the new Auto default.

The Agents and Models page also says this and tells users to remove Hydrogen from the agent if their account doesn't list it.

Version bumps
- I updated every place #3491 and #3488 touched: `Dockerfile.agent`, `scripts/build-images.sh`, `scripts/verify-antigravity-image.sh`, `AGENT_DEFAULTS`, `version/types.ts`, `package.json`, the root lockfile, `THIRD_PARTY_LICENSES.md`, docs, the CHANGELOG and tests. The Antigravity verifier fixture is renamed to `antigravity-verifier-pinned-1.5.8.json`.
- Antigravity 1.5.8 checks: I downloaded the tarball. Release ID `4602374149505024` and the SHA-512 match Google's linux_amd64 manifest, the archive holds a single `antigravity` entry, and `--version` prints `1.5.8`.
- Codex 0.168.0: its bundled `models.json` is byte-identical to 0.167.2's.
- Claude Code 2.1.323: its model catalog marks the same models as 1M-context as 2.1.322, so the context-window docs stay accurate.
- Auto default (1.5.7): every Antigravity launch passes either `--dangerously-skip-permissions` (tasks and goals) or `--sandbox --disable-slash-commands` (repository inspection), in `AntigravityAgent.ts:446`. That doesn't depend on the default mode.
- Checksums: this repo has no routing contract or qualification checksums to regenerate; nothing here pins the lockfile's hash. Those live in the propr-routing repo, so if its paired check fails on this lockfile change, the regeneration has to happen there.

Gemini 4 Hydrogen
- Catalog entry: `antigravity-gemini-4-hydrogen`, alias `hydrogen`, label `llm-antigravity-hydrogen`, 1M context, needs CLI 1.5.8. A test checks the label and alias are unique. It replaces nothing, and no label or legacy flag changed.
- XHigh: `reasoningLevels.ts` now gives Hydrogen `xhigh` as well as low/medium/high; the other Antigravity models are unchanged. The compatibility routes pick this up automatically, and xhigh launches as `gemini-4-hydrogen-xhigh`.
- Pricing: $1.50/M input, $7.50/M output and $0.075/M for cached reads, which matches OpenRouter today.
- Two fixes Hydrogen needed:
  - The CLI's display name is "Gemini 4 Hydrogen (XHigh)", but ProPR was building "(Xhigh)", so a run reported under that name wouldn't have matched the request. Fixed in `antigravityModelIds.ts`.
  - The per-model effort dropdown in Settings ignored the model, so it would have shown Hydrogen's XHigh as "unsupported". Fixed in `reasoningLevelOptions.ts` and `ModelSelector.tsx`.
- Docs: I kept the Gemini 4 Carbon note but corrected it. The 1.5.8 notes say Carbon is now also offered with a Gemini API key, not only Application Default Credentials. It's still unavailable under `agy login`, so it stays out of the catalog.

New tests cover the catalog entry, the compatibility routes and CLI model IDs, the display name, pricing, config validation (XHigh accepted only for Hydrogen) and the Settings dropdown. Typecheck and lint pass on the changed packages. I didn't build the Docker image (no Docker here).

I left Hydrogen out of the default model list in `scripts/integration-test-images.sh`, so the release integration run won't fail if `agy login` accounts don't get it. Add it once the smoke test passes.

I captured a preview of the Add Agent dialog showing the Hydrogen row with XHigh selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade the bundled Antigravity CLI (agy) from 1.4.0 to **1.5.6**.

1 participant