From 12b359a0a39427906ca8e917d6431adda397c7e7 Mon Sep 17 00:00:00 2001 From: Eric Wang Date: Mon, 23 Nov 2026 04:00:22 -0800 Subject: [PATCH] feat(image): ship agy (Antigravity CLI), pinned and updater-proof - AGY_VERSION pin on its own Docker layer, between the npm agent layer and cctrace - install_agy fetches the release tarball from google-antigravity/antigravity-cli into a read-only versioned dir behind ~/.local/bin/agy: the self-updater has no off switch and skips a directory it cannot write - an empty AGY_VERSION builds without it; a binary reporting another version than the pin fails the build - wired through versions-pin, versions-up (manifest, build args, pin write), the nightly resolver, the CI, release and nightly build args, Dockerfile.rust and the Makefile - image only: there is no deva.sh agy yet Closes #574 Co-Authored-By: Claude Fable 5.2 --- .github/workflows/ci.yml | 2 + .github/workflows/nightly-images.yml | 4 ++ .github/workflows/release.yml | 4 ++ CHANGELOG.md | 12 +++++ DEV-LOGS.md | 6 +++ Dockerfile | 8 ++++ Dockerfile.rust | 2 + Makefile | 17 +++++-- scripts/install-agent-tooling.sh | 69 ++++++++++++++++++++++++++- scripts/release-utils.sh | 1 + scripts/resolve-tool-versions.sh | 1 + scripts/test-install-agent-tooling.sh | 68 +++++++++++++++++++++++++- scripts/update-version-pins.sh | 2 + scripts/version-pins.sh | 7 +++ scripts/version-upgrade.sh | 15 ++++-- scripts/versions-pr.sh | 1 + tests/test_release_utils.sh | 8 ++-- tests/version-upgrade.sh | 13 +++++ versions.env | 6 +++ 19 files changed, 232 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0dd84c..bb4b3ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,6 +88,7 @@ jobs: --build-arg PI_CODING_AGENT_VERSION="${{ steps.pins.outputs.pi_coding_agent_version }}" \ --build-arg DSH_VERSION="${{ steps.pins.outputs.dsh_version }}" \ --build-arg CURSOR_CLI_VERSION="${{ steps.pins.outputs.cursor_cli_version }}" \ + --build-arg AGY_VERSION="${{ steps.pins.outputs.agy_version }}" \ --build-arg CCX_VERSION="${{ steps.pins.outputs.ccx_version }}" \ --build-arg COPILOT_API_VERSION="${{ steps.pins.outputs.copilot_api_version }}" \ . @@ -115,6 +116,7 @@ jobs: PI_CODING_AGENT_VERSION="${{ steps.pins.outputs.pi_coding_agent_version }}" \ DSH_VERSION="${{ steps.pins.outputs.dsh_version }}" \ CURSOR_CLI_VERSION="${{ steps.pins.outputs.cursor_cli_version }}" \ + AGY_VERSION="${{ steps.pins.outputs.agy_version }}" \ CCX_VERSION="${{ steps.pins.outputs.ccx_version }}" \ COPILOT_API_VERSION="${{ steps.pins.outputs.copilot_api_version }}" \ PLAYWRIGHT_VERSION="${{ steps.pins.outputs.playwright_version }}" \ diff --git a/.github/workflows/nightly-images.yml b/.github/workflows/nightly-images.yml index 24c7e23..0f65454 100644 --- a/.github/workflows/nightly-images.yml +++ b/.github/workflows/nightly-images.yml @@ -60,6 +60,7 @@ jobs: pi_coding_agent_version: ${{ steps.versions.outputs.pi_coding_agent_version }} dsh_version: ${{ steps.versions.outputs.dsh_version }} cursor_cli_version: ${{ steps.versions.outputs.cursor_cli_version }} + agy_version: ${{ steps.versions.outputs.agy_version }} ccx_version: ${{ steps.versions.outputs.ccx_version }} copilot_api_version: ${{ steps.versions.outputs.copilot_api_version }} steps: @@ -92,6 +93,7 @@ jobs: - pi: \`${{ steps.versions.outputs.pi_coding_agent_version }}\` - dsh: \`${{ steps.versions.outputs.dsh_version }}\` - cursor: \`${{ steps.versions.outputs.cursor_cli_version }}\` + - agy: \`${{ steps.versions.outputs.agy_version }}\` - ccx: \`${{ steps.versions.outputs.ccx_version }}\` - Copilot API: \`${{ steps.versions.outputs.copilot_api_version }}\` - Stamp: \`${{ steps.versions.outputs.stamp }}\` @@ -158,6 +160,7 @@ jobs: PI_CODING_AGENT_VERSION=${{ needs.resolve-versions.outputs.pi_coding_agent_version }} DSH_VERSION=${{ needs.resolve-versions.outputs.dsh_version }} CURSOR_CLI_VERSION=${{ needs.resolve-versions.outputs.cursor_cli_version }} + AGY_VERSION=${{ needs.resolve-versions.outputs.agy_version }} CCX_VERSION=${{ needs.resolve-versions.outputs.ccx_version }} COPILOT_API_VERSION=${{ needs.resolve-versions.outputs.copilot_api_version }} @@ -217,6 +220,7 @@ jobs: PI_CODING_AGENT_VERSION=${{ needs.resolve-versions.outputs.pi_coding_agent_version }} DSH_VERSION=${{ needs.resolve-versions.outputs.dsh_version }} CURSOR_CLI_VERSION=${{ needs.resolve-versions.outputs.cursor_cli_version }} + AGY_VERSION=${{ needs.resolve-versions.outputs.agy_version }} CCX_VERSION=${{ needs.resolve-versions.outputs.ccx_version }} PLAYWRIGHT_VERSION=${{ needs.load-version-pins.outputs.playwright_version }} RUST_TOOLCHAINS=${{ needs.load-version-pins.outputs.rust_toolchains }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0addf89..b1c8482 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,6 +56,7 @@ jobs: pi_coding_agent_version: ${{ steps.pins.outputs.pi_coding_agent_version }} dsh_version: ${{ steps.pins.outputs.dsh_version }} cursor_cli_version: ${{ steps.pins.outputs.cursor_cli_version }} + agy_version: ${{ steps.pins.outputs.agy_version }} ccx_version: ${{ steps.pins.outputs.ccx_version }} copilot_api_version: ${{ steps.pins.outputs.copilot_api_version }} playwright_version: ${{ steps.pins.outputs.playwright_version }} @@ -97,6 +98,7 @@ jobs: - pi: \`${{ steps.pins.outputs.pi_coding_agent_version }}\` - dsh: \`${{ steps.pins.outputs.dsh_version }}\` - cursor: \`${{ steps.pins.outputs.cursor_cli_version }}\` + - agy: \`${{ steps.pins.outputs.agy_version }}\` - ccx: \`${{ steps.pins.outputs.ccx_version }}\` - Copilot API: \`${{ steps.pins.outputs.copilot_api_version }}\` - Playwright: \`${{ steps.pins.outputs.playwright_version }}\` @@ -166,6 +168,7 @@ jobs: PI_CODING_AGENT_VERSION=${{ needs.load-version-pins.outputs.pi_coding_agent_version }} DSH_VERSION=${{ needs.load-version-pins.outputs.dsh_version }} CURSOR_CLI_VERSION=${{ needs.load-version-pins.outputs.cursor_cli_version }} + AGY_VERSION=${{ needs.load-version-pins.outputs.agy_version }} CCX_VERSION=${{ needs.load-version-pins.outputs.ccx_version }} COPILOT_API_VERSION=${{ needs.load-version-pins.outputs.copilot_api_version }} @@ -227,6 +230,7 @@ jobs: PI_CODING_AGENT_VERSION=${{ needs.load-version-pins.outputs.pi_coding_agent_version }} DSH_VERSION=${{ needs.load-version-pins.outputs.dsh_version }} CURSOR_CLI_VERSION=${{ needs.load-version-pins.outputs.cursor_cli_version }} + AGY_VERSION=${{ needs.load-version-pins.outputs.agy_version }} CCX_VERSION=${{ needs.load-version-pins.outputs.ccx_version }} PLAYWRIGHT_VERSION=${{ needs.load-version-pins.outputs.playwright_version }} RUST_TOOLCHAINS=${{ needs.load-version-pins.outputs.rust_toolchains }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cc63ac..51167d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- **agy (Google's Antigravity CLI) in the image (#574).** Pinned as + `AGY_VERSION` on its own layer and tracked by `make versions-pin` and + `make versions-up` like every other agent CLI. It is not on npm: the + image fetches the release tarball from + `google-antigravity/antigravity-cli` directly. It is installed + read-only, in a versioned dir behind `~/.local/bin/agy`, because agy's + self-updater has no off switch and replaced a pinned 1.5.13 with 1.5.15 + about 40s into a session; against a directory it cannot write it logs + `skipping update` and the pin holds. An empty `AGY_VERSION` builds + without it. Image only: there is no `deva.sh agy` yet. + ### Changed - **Agent CLI pins refreshed.** `deva:latest` (v0.20.0) ships Claude Code 2.1.302, which cannot run Fable 5.2 (needs 2.1.321) and predates the diff --git a/DEV-LOGS.md b/DEV-LOGS.md index 2073061..79227cf 100644 --- a/DEV-LOGS.md +++ b/DEV-LOGS.md @@ -13,6 +13,12 @@ - Minimal markdown markers, no unnecessary formatting, minimal emojis. - Reference issue numbers in the format `#` for easy linking. +# [2026-11-23] Dev Log: agy in the image, with a pin that holds #574 +- Why: agy (Antigravity CLI) was not in the image, so no launcher could run it. Image and pin tooling only; `agents/agy.sh` waits on a decision about `~/.gemini`, which agy and the gemini agent both own. +- What: `AGY_VERSION` in versions.env and its writer; `install_agy` + an `agy` stage in install-agent-tooling.sh (own Docker layer, between the npm layer and cctrace); registry entry (github-release), `make versions-pin` row (git-tag), `make versions-up` manifest/build args/pin write, nightly resolver, CI/release/nightly build args, Dockerfile.rust label, Makefile. +- Measured on 1.5.13 arm64: the updater swapped the binary to 1.5.15 at ~40s (old one left as `agy..old`); a `--rm` container that exits sooner kills it mid-download and leaves a 0-byte `updater/update.lock` in the mounted home. No off switch: the `noUpdate`/`autoupdate`/`updateChannel` strings in the binary are a network stack, a highlighter regex and a telemetry field. With the binary in a read-only dir behind a symlink the updater logs `Directory ... is not fully accessible (readable: true, writable: false), skipping update`; 75s into a persistent container the version and the link were unchanged. +- Result: agy shows in the build manifest. test-install-agent-tooling covers pinned install, re-run into the same home, wrong-asset mismatch, empty pin; the other three pipeline suites cover the lists. Adding one CLI touched 17 files, and `version-upgrade.sh` alone names every tool in eleven places (Gemini is built and pinned there but missing from the manifest table): the lists want one source. + # [2026-08-13] Dev Log: cursor as the 9th agent #557 - Why: most-requested absentee (#557). Fits the deva model exactly; the only hard part was pinning a CLI whose installer has no version hook. - What: agents/cursor.sh (oauth keeps state in config-home only, api-key passes CURSOR_API_KEY env-only + blank-overlays .config/cursor/auth.json), install_cursor_agent in install-agent-tooling.sh (deterministic tarball URL downloads.cursor.com/lab//linux/, installer-style layout, then chmod a-w the versions tree to starve the silent startup self-updater), new cursor-installer type in release-utils/update-version-pins (latest = parse the installer script; date = the version's own YYYY.MM.DD prefix), CURSOR_CLI_VERSION=2026.08.11-e8db854 through the full pin plumbing, deva.sh registration, scripts/test-cursor-auth.sh (16 asserts). diff --git a/Dockerfile b/Dockerfile index 706419f..490f8ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -238,6 +238,14 @@ COPY --chown=deva:deva scripts/install-agent-tooling.sh /tmp/install-agent-tooli RUN --mount=type=cache,target=/home/deva/.npm,uid=${DEVA_UID},gid=${DEVA_GID},sharing=locked \ DEVA_TOOLING_STAGE=agents bash /tmp/install-agent-tooling.sh +# agy (Antigravity CLI) releases almost daily and is a 90 MB download: own +# ARG + layer, so its pin bump rebuilds neither the npm agent layer above +# nor the other way round. Empty = skipped. +ARG AGY_VERSION=1.5.13 +LABEL org.opencontainers.image.agy_version=${AGY_VERSION} + +RUN DEVA_TOOLING_STAGE=agy bash /tmp/install-agent-tooling.sh + # cctrace moves fast: own ARG + layer, declared here so a pin bump # rebuilds only this layer, not the npm agent layer above. ARG CCTRACE_VERSION=0.16.0 diff --git a/Dockerfile.rust b/Dockerfile.rust index c754c05..32483ae 100644 --- a/Dockerfile.rust +++ b/Dockerfile.rust @@ -17,6 +17,7 @@ ARG OPENCODE_VERSION=1.18.14 ARG PI_CODING_AGENT_VERSION=0.84.1 ARG DSH_VERSION=0.1.0-rc.6 ARG CURSOR_CLI_VERSION=2026.08.11-e8db854 +ARG AGY_VERSION=1.5.13 ARG CCX_VERSION=v0.7.0 ARG PLAYWRIGHT_VERSION=1.60.0 ARG RUST_TOOLCHAINS="stable" @@ -32,6 +33,7 @@ LABEL org.opencontainers.image.opencode_version=${OPENCODE_VERSION} LABEL org.opencontainers.image.pi_coding_agent_version=${PI_CODING_AGENT_VERSION} LABEL org.opencontainers.image.dsh_version=${DSH_VERSION} LABEL org.opencontainers.image.cursor_cli_version=${CURSOR_CLI_VERSION} +LABEL org.opencontainers.image.agy_version=${AGY_VERSION} LABEL org.opencontainers.image.ccx_version=${CCX_VERSION} LABEL org.opencontainers.image.playwright_version=${PLAYWRIGHT_VERSION} diff --git a/Makefile b/Makefile index c3e2456..85f8a93 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ OPENCODE_VERSION ?= 1.18.14 PI_CODING_AGENT_VERSION ?= 0.84.1 DSH_VERSION ?= 0.1.0-rc.6 CURSOR_CLI_VERSION ?= 2026.08.11-e8db854 +AGY_VERSION ?= 1.5.13 CCX_VERSION ?= v0.1.4 COPILOT_API_VERSION ?= 0ea08febdd7e3e055b03dd298bf57e669500b5c1 PLAYWRIGHT_VERSION ?= 1.60.0 @@ -98,6 +99,7 @@ AGENT_BUILD_ARGS := \ --build-arg PI_CODING_AGENT_VERSION=$(PI_CODING_AGENT_VERSION) \ --build-arg DSH_VERSION=$(DSH_VERSION) \ --build-arg CURSOR_CLI_VERSION=$(CURSOR_CLI_VERSION) \ + --build-arg AGY_VERSION=$(AGY_VERSION) \ --build-arg CCX_VERSION=$(CCX_VERSION) MAIN_BUILD_ARGS := $(TOOLCHAIN_BUILD_ARGS) $(AGENT_BUILD_ARGS) \ @@ -129,6 +131,7 @@ VERSION_QUERY_OVERRIDES := \ $(if $(filter command line environment environment\ override override,$(origin PI_CODING_AGENT_VERSION)),PI_CODING_AGENT_VERSION=$(PI_CODING_AGENT_VERSION)) \ $(if $(filter command line environment environment\ override override,$(origin DSH_VERSION)),DSH_VERSION=$(DSH_VERSION)) \ $(if $(filter command line environment environment\ override override,$(origin CURSOR_CLI_VERSION)),CURSOR_CLI_VERSION=$(CURSOR_CLI_VERSION)) \ + $(if $(filter command line environment environment\ override override,$(origin AGY_VERSION)),AGY_VERSION=$(AGY_VERSION)) \ $(if $(filter command line environment environment\ override override,$(origin CCX_VERSION)),CCX_VERSION=$(CCX_VERSION)) \ $(if $(filter command line environment environment\ override override,$(origin COPILOT_API_VERSION)),COPILOT_API_VERSION=$(COPILOT_API_VERSION)) \ $(if $(filter command line environment environment\ override override,$(origin PLAYWRIGHT_VERSION)),PLAYWRIGHT_VERSION=$(PLAYWRIGHT_VERSION)) \ @@ -179,10 +182,11 @@ build-main: build-network-check prev_pi=$$(docker inspect --format='{{ index .Config.Labels "org.opencontainers.image.pi_coding_agent_version" }}' $(MAIN_IMAGE) 2>/dev/null || true); \ prev_dsh=$$(docker inspect --format='{{ index .Config.Labels "org.opencontainers.image.dsh_version" }}' $(MAIN_IMAGE) 2>/dev/null || true); \ prev_cursor=$$(docker inspect --format='{{ index .Config.Labels "org.opencontainers.image.cursor_cli_version" }}' $(MAIN_IMAGE) 2>/dev/null || true); \ + prev_agy=$$(docker inspect --format='{{ index .Config.Labels "org.opencontainers.image.agy_version" }}' $(MAIN_IMAGE) 2>/dev/null || true); \ fmt() { v="$$1"; if [ -z "$$v" ] || [ "$$v" = "" ]; then echo "-"; else case "$$v" in v*) echo "$$v";; *) echo "v$$v";; esac; fi; }; \ - curC=$$(fmt "$$prev_claude"); curX=$$(fmt "$$prev_codex"); curG=$$(fmt "$$prev_gemini"); curK=$$(fmt "$$prev_grok"); curKi=$$(fmt "$$prev_kimi"); curO=$$(fmt "$$prev_opencode"); curP=$$(fmt "$$prev_pi"); curD=$$(fmt "$$prev_dsh"); curCu=$$(fmt "$$prev_cursor"); \ - tgtC=$$(fmt "$(CLAUDE_CODE_VERSION)"); tgtX=$$(fmt "$(CODEX_VERSION)"); tgtG=$$(fmt "$(GEMINI_CLI_VERSION)"); tgtK=$$(fmt "$(GROK_CLI_VERSION)"); tgtKi=$$(fmt "$(KIMI_CODE_VERSION)"); tgtO=$$(fmt "$(OPENCODE_VERSION)"); tgtP=$$(fmt "$(PI_CODING_AGENT_VERSION)"); tgtD=$$(fmt "$(DSH_VERSION)"); tgtCu=$$(fmt "$(CURSOR_CLI_VERSION)"); \ - if [ "$$curC" = "$$tgtC" ] && [ "$$curX" = "$$tgtX" ] && [ "$$curG" = "$$tgtG" ] && [ "$$curK" = "$$tgtK" ] && [ "$$curKi" = "$$tgtKi" ] && [ "$$curO" = "$$tgtO" ] && [ "$$curP" = "$$tgtP" ] && [ "$$curD" = "$$tgtD" ] && [ "$$curCu" = "$$tgtCu" ]; then \ + curC=$$(fmt "$$prev_claude"); curX=$$(fmt "$$prev_codex"); curG=$$(fmt "$$prev_gemini"); curK=$$(fmt "$$prev_grok"); curKi=$$(fmt "$$prev_kimi"); curO=$$(fmt "$$prev_opencode"); curP=$$(fmt "$$prev_pi"); curD=$$(fmt "$$prev_dsh"); curCu=$$(fmt "$$prev_cursor"); curA=$$(fmt "$$prev_agy"); \ + tgtC=$$(fmt "$(CLAUDE_CODE_VERSION)"); tgtX=$$(fmt "$(CODEX_VERSION)"); tgtG=$$(fmt "$(GEMINI_CLI_VERSION)"); tgtK=$$(fmt "$(GROK_CLI_VERSION)"); tgtKi=$$(fmt "$(KIMI_CODE_VERSION)"); tgtO=$$(fmt "$(OPENCODE_VERSION)"); tgtP=$$(fmt "$(PI_CODING_AGENT_VERSION)"); tgtD=$$(fmt "$(DSH_VERSION)"); tgtCu=$$(fmt "$(CURSOR_CLI_VERSION)"); tgtA=$$(fmt "$(AGY_VERSION)"); \ + if [ "$$curC" = "$$tgtC" ] && [ "$$curX" = "$$tgtX" ] && [ "$$curG" = "$$tgtG" ] && [ "$$curK" = "$$tgtK" ] && [ "$$curKi" = "$$tgtKi" ] && [ "$$curO" = "$$tgtO" ] && [ "$$curP" = "$$tgtP" ] && [ "$$curD" = "$$tgtD" ] && [ "$$curCu" = "$$tgtCu" ] && [ "$$curA" = "$$tgtA" ]; then \ echo "Claude: $$tgtC (no change)"; \ echo "Codex: $$tgtX (no change)"; \ echo "Gemini: $$tgtG (no change)"; \ @@ -192,6 +196,7 @@ build-main: build-network-check echo "pi: $$tgtP (no change)"; \ echo "dsh: $$tgtD (no change)"; \ echo "cursor: $$tgtCu (no change)"; \ + echo "agy: $$tgtA (no change)"; \ echo "Already up-to-date"; \ else \ if [ "$$curC" = "$$tgtC" ]; then \ @@ -239,6 +244,11 @@ build-main: build-network-check else \ echo "cursor: $$curCu -> $$tgtCu"; \ fi; \ + if [ "$$curA" = "$$tgtA" ]; then \ + echo "agy: $$tgtA (no change)"; \ + else \ + echo "agy: $$curA -> $$tgtA"; \ + fi; \ fi @echo "Hint: override via GO_VERSION=... CLAUDE_CODE_VERSION=... or run 'make versions-pin'" docker build $(DOCKER_BUILD_FLAGS) -f $(DOCKERFILE) $(MAIN_BUILD_ARGS) -t $(MAIN_IMAGE) . @@ -541,6 +551,7 @@ help: @echo " PI_CODING_AGENT_VERSION pi CLI version (default: $(PI_CODING_AGENT_VERSION))" @echo " DSH_VERSION dsh CLI version (default: $(DSH_VERSION))" @echo " CURSOR_CLI_VERSION Cursor CLI version (default: $(CURSOR_CLI_VERSION))" + @echo " AGY_VERSION Antigravity CLI (agy) version (default: $(AGY_VERSION))" @echo " CCX_VERSION Atlas CLI version (default: $(CCX_VERSION))" @echo " PLAYWRIGHT_VERSION Playwright version (default: $(PLAYWRIGHT_VERSION))" @echo " CLOAKBROWSER_WRAPPER_VERSION CloakBrowser npm wrapper version (default: $(CLOAKBROWSER_WRAPPER_VERSION))" diff --git a/scripts/install-agent-tooling.sh b/scripts/install-agent-tooling.sh index 1d360cf..a6e7194 100644 --- a/scripts/install-agent-tooling.sh +++ b/scripts/install-agent-tooling.sh @@ -369,6 +369,67 @@ install_cursor_agent() { log "cursor-agent installed" } +# Antigravity CLI (agy) is one closed Go binary, not on npm. Each GitHub +# release carries a tarball per platform holding a single file, +# `antigravity`; the official installer (antigravity.google/cli/install.sh) +# saves it as `agy` and offers no pin hook, so fetch the pinned tarball +# directly. The glibc build, not the _musl one: the image is Ubuntu. +# +# The pin needs defending. agy's background updater replaces its own binary +# about 40s into the first session (measured: 1.5.13 -> 1.5.15, old binary +# left beside it as agy..old), and it has no off switch -- no env var, no +# settings key. What it does have is a guard: it resolves the binary's real +# directory and, when that is not writable, logs "is not fully accessible +# ... skipping update" and does nothing. So the binary lives in its own +# versioned directory with the write bit stripped (as cursor's does), behind +# a symlink at ~/.local/bin/agy. That path is also load-bearing: agy writes +# it into the antigravity-cli/bin/agentapi shim inside its home, so every +# container sharing that home must agree on it. +# +# AGY_VERSION is checked here, not at the top of the file: the Dockerfile +# declares it after the npm layer so a bump does not rebuild that layer. +install_agy() { + : "${AGY_VERSION?AGY_VERSION is required (set it empty to build without agy)}" + if [ -z "$AGY_VERSION" ]; then + log "AGY_VERSION is empty; skipping the Antigravity CLI" + return 0 + fi + + ensure_safe_cwd + mkdir -p "$DEVA_HOME/.local/bin" + + log "Installing Antigravity CLI (agy) pinned to ${AGY_VERSION}" + local arch + case "$(uname -m)" in + x86_64) arch="x64" ;; + aarch64 | arm64) arch="arm64" ;; + *) die "Unsupported architecture for agy: $(uname -m)" ;; + esac + + local tmp_dir target url installed + tmp_dir="$(mktemp -d)" + target="$DEVA_HOME/.local/share/agy/${AGY_VERSION}" + url="https://github.com/google-antigravity/antigravity-cli/releases/download/${AGY_VERSION}/agy_cli_linux_${arch}.tar.gz" + + retry_cmd 3 "download agy tarball" download_to "$url" "$tmp_dir/agy.tar.gz" \ + || die "agy download failed: $url" + tar -xzf "$tmp_dir/agy.tar.gz" -C "$tmp_dir" + [ -f "$tmp_dir/antigravity" ] || die "agy tarball missing the antigravity binary" + mkdir -p "$target" + chmod u+w "$target" # a re-run meets the write bit stripped below + install -m 555 "$tmp_dir/antigravity" "$target/agy" + rm -rf "$tmp_dir" + + ln -sf "$target/agy" "$DEVA_HOME/.local/bin/agy" + chmod a-w "$target" + + # The tag is the version, verbatim: a mismatch means the wrong asset. + installed="$("$DEVA_HOME/.local/bin/agy" --version)" || die "agy verification failed" + [ "$installed" = "$AGY_VERSION" ] \ + || die "agy reports version '$installed', expected '$AGY_VERSION'" + log "agy installed" +} + # cctrace ships no prebuilt binaries; compile the standalone binary with bun. # The compiled binary receives argv directly, so `cctrace -- ` # works (bun's CLI would eat the leading "--"). @@ -397,7 +458,7 @@ install_cctrace() { } # DEVA_TOOLING_STAGE splits installs across Docker layers so fast-moving -# tools (cctrace) can bump without busting the big npm layer. +# tools (cctrace, agy) can bump without busting the big npm layer. main() { ensure_safe_cwd local stage="${DEVA_TOOLING_STAGE:-all}" @@ -408,6 +469,9 @@ main() { install_cursor_agent install_ccx ;; + agy) + install_agy + ;; cctrace) install_cctrace ;; @@ -415,10 +479,11 @@ main() { install_npm_agent_tooling install_cursor_agent install_ccx + install_agy install_cctrace ;; *) - die "unknown DEVA_TOOLING_STAGE: $stage (agents|cctrace|all)" + die "unknown DEVA_TOOLING_STAGE: $stage (agents|agy|cctrace|all)" ;; esac } diff --git a/scripts/release-utils.sh b/scripts/release-utils.sh index 8628a88..7f79030 100755 --- a/scripts/release-utils.sh +++ b/scripts/release-utils.sh @@ -35,6 +35,7 @@ TOOL_REGISTRY=( "pi|npm|@earendil-works/pi-coding-agent|org.opencontainers.image.pi_coding_agent_version|https://www.npmjs.com/package/@earendil-works/pi-coding-agent|github:earendil-works/pi|agent|main" "dsh|npm|@deepseek-ai/dsh|org.opencontainers.image.dsh_version|https://www.npmjs.com/package/@deepseek-ai/dsh|github:deepseek-ai/deepseek-harness|agent|main" "cursor|cursor-installer|cursor.com/install|org.opencontainers.image.cursor_cli_version|https://cursor.com/docs/cli||agent|main" + "agy|github-release|google-antigravity/antigravity-cli|org.opencontainers.image.agy_version|https://antigravity.google/product/antigravity-cli|github:google-antigravity/antigravity-cli|agent|main" "ccx|github-release|thevibeworks/ccx|org.opencontainers.image.ccx_version|https://github.com/thevibeworks/ccx|github:thevibeworks/ccx|agent|main" "copilot-api|github-commit|ericc-ch/copilot-api|org.opencontainers.image.copilot_api_version|https://github.com/ericc-ch/copilot-api||agent|main" "cctrace|npm|@thevibeworks/cctrace|org.opencontainers.image.cctrace_version|https://www.npmjs.com/package/@thevibeworks/cctrace|github:thevibeworks/cctrace|agent|main" diff --git a/scripts/resolve-tool-versions.sh b/scripts/resolve-tool-versions.sh index e69c3c1..1d297d1 100644 --- a/scripts/resolve-tool-versions.sh +++ b/scripts/resolve-tool-versions.sh @@ -36,6 +36,7 @@ main() { resolve_tool "pi_coding_agent_version" "pi" resolve_tool "dsh_version" "dsh" resolve_tool "cursor_cli_version" "cursor" + resolve_tool "agy_version" "agy" resolve_tool "ccx_version" "ccx" resolve_tool "copilot_api_version" "copilot-api" } diff --git a/scripts/test-install-agent-tooling.sh b/scripts/test-install-agent-tooling.sh index 7da2b10..5d19c88 100755 --- a/scripts/test-install-agent-tooling.sh +++ b/scripts/test-install-agent-tooling.sh @@ -10,7 +10,8 @@ load_version_pins tmp_root="$(mktemp -d)" cleanup() { chmod 700 "$tmp_root/deny" 2>/dev/null || true - # install_cursor_agent strips the write bit from its versions dir + # install_cursor_agent strips the write bit from its versions dir, and + # install_agy from its version dir chmod -R u+w "$tmp_root" 2>/dev/null || true rm -rf "$tmp_root" } @@ -119,6 +120,13 @@ while [[ $# -gt 0 ]]; do done case "$url" in + *"antigravity-cli/releases/download/"*) + tarball_dir="$(mktemp -d)" + printf '#!/usr/bin/env bash\necho "__AGY_VERSION__"\n' >"$tarball_dir/antigravity" + chmod +x "$tarball_dir/antigravity" + tar -czf "$out" -C "$tarball_dir" antigravity + rm -rf "$tarball_dir" + ;; *"/releases/download/"*) exit 22 ;; @@ -187,7 +195,8 @@ BIN chmod +x "$out" EOF -sed -i -e "s#__CURSOR_CLI_VERSION__#$CURSOR_CLI_VERSION#g" "$fake_bin/curl" +sed -i -e "s#__CURSOR_CLI_VERSION__#$CURSOR_CLI_VERSION#g" \ + -e "s#__AGY_VERSION__#$AGY_VERSION#g" "$fake_bin/curl" chmod +x "$fake_bin/npm" "$fake_bin/curl" "$fake_bin/go" "$fake_bin/bun" mkdir -p "$tmp_root/deny" @@ -223,6 +232,16 @@ mkdir -p "$tmp_root/deny" [ "$("$fake_home/.local/bin/cursor-agent")" = "$CURSOR_CLI_VERSION" ] # updater-starving write-bit strip test ! -w "$fake_home/.local/share/cursor-agent/versions" + grep -F "Installing Antigravity CLI (agy) pinned to $AGY_VERSION" <<<"$output" >/dev/null + grep -F "agy installed" <<<"$output" >/dev/null + # ~/.local/bin/agy is the path agy writes into its agentapi shim; the + # binary itself sits behind it in a versioned dir. + test -L "$fake_home/.local/bin/agy" + [ "$(readlink "$fake_home/.local/bin/agy")" = "$fake_home/.local/share/agy/$AGY_VERSION/agy" ] + [ "$("$fake_home/.local/bin/agy")" = "$AGY_VERSION" ] + # the pin's only defence: agy's updater skips a directory it cannot write + test ! -w "$fake_home/.local/share/agy/$AGY_VERSION" + test ! -w "$fake_home/.local/share/agy/$AGY_VERSION/agy" grep -F "Installing ccx pinned to $CCX_VERSION" <<<"$output" >/dev/null grep -F "falling back to go install" <<<"$output" >/dev/null grep -F "ccx installed" <<<"$output" >/dev/null @@ -231,3 +250,48 @@ mkdir -p "$tmp_root/deny" grep -F "cctrace installed" <<<"$output" >/dev/null test -x "$fake_home/.local/bin/cctrace" ) + +# agy on its own layer (the stage the Dockerfile runs), twice into one home: +# a pin re-run must get past the write bit the first run stripped. +agy_home="$tmp_root/home-agy" +mkdir -p "$agy_home" +for _ in 1 2; do + output="$( + PATH="$fake_bin:/usr/bin:/bin" \ + HOME="$agy_home" \ + DEVA_HOME="$agy_home" \ + DEVA_TOOLING_STAGE=agy \ + bash "$REPO_ROOT/scripts/install-agent-tooling.sh" 2>&1 + )" + grep -F "agy installed" <<<"$output" >/dev/null +done +[ "$("$agy_home/.local/bin/agy")" = "$AGY_VERSION" ] +test ! -e "$agy_home/.npm-global" + +# A binary that reports another version is the wrong asset: fail the build. +if output="$( + PATH="$fake_bin:/usr/bin:/bin" \ + HOME="$tmp_root/home-agy-mismatch" \ + DEVA_HOME="$tmp_root/home-agy-mismatch" \ + DEVA_TOOLING_STAGE=agy \ + AGY_VERSION=0.0.0-not-the-pin \ + bash "$REPO_ROOT/scripts/install-agent-tooling.sh" 2>&1 +)"; then + echo "expected the agy version mismatch to fail the install" >&2 + exit 1 +fi +grep -F "agy reports version '$AGY_VERSION', expected '0.0.0-not-the-pin'" <<<"$output" >/dev/null + +# Empty pin = an image built without agy: skipped, nothing installed, green. +output="$( + PATH="$fake_bin:/usr/bin:/bin" \ + HOME="$tmp_root/home-agy-disabled" \ + DEVA_HOME="$tmp_root/home-agy-disabled" \ + DEVA_TOOLING_STAGE=agy \ + AGY_VERSION="" \ + bash "$REPO_ROOT/scripts/install-agent-tooling.sh" 2>&1 +)" +grep -F "AGY_VERSION is empty; skipping the Antigravity CLI" <<<"$output" >/dev/null +test ! -e "$tmp_root/home-agy-disabled/.local/bin/agy" +test ! -e "$tmp_root/home-agy-disabled/.local/share/agy" + diff --git a/scripts/update-version-pins.sh b/scripts/update-version-pins.sh index a029ede..7581b1d 100755 --- a/scripts/update-version-pins.sh +++ b/scripts/update-version-pins.sh @@ -138,6 +138,7 @@ registry_tool() { PI_CODING_AGENT_VERSION) echo "pi" ;; DSH_VERSION) echo "dsh" ;; CURSOR_CLI_VERSION) echo "cursor" ;; + AGY_VERSION) echo "agy" ;; CCX_VERSION) echo "ccx" ;; COPILOT_API_VERSION) echo "copilot-api" ;; PLAYWRIGHT_VERSION) echo "playwright" ;; @@ -237,6 +238,7 @@ main() { pin "pi" PI_CODING_AGENT_VERSION npm "@earendil-works/pi-coding-agent" pin "dsh" DSH_VERSION npm "@deepseek-ai/dsh" pin "cursor" CURSOR_CLI_VERSION cursor + pin "agy" AGY_VERSION git-tag "https://github.com/google-antigravity/antigravity-cli.git" pin "CCX" CCX_VERSION git-tag "https://github.com/thevibeworks/ccx.git" pin "Copilot API" COPILOT_API_VERSION git-commit "https://github.com/ericc-ch/copilot-api.git" "refs/heads/master" diff --git a/scripts/version-pins.sh b/scripts/version-pins.sh index bd6d851..f64e339 100644 --- a/scripts/version-pins.sh +++ b/scripts/version-pins.sh @@ -23,6 +23,7 @@ VERSION_PIN_VARS=( PI_CODING_AGENT_VERSION DSH_VERSION CURSOR_CLI_VERSION + AGY_VERSION CCX_VERSION COPILOT_API_VERSION PLAYWRIGHT_VERSION @@ -97,6 +98,12 @@ DSH_VERSION=$DSH_VERSION # downloads.cursor.com/lab//linux//agent-cli-package.tar.gz # so the image fetches the tarball directly. Version format YYYY.MM.DD-hash. CURSOR_CLI_VERSION=$CURSOR_CLI_VERSION +# Antigravity CLI (agy). Not on npm: one GitHub release tarball per +# platform, tag = version with no "v" prefix. The image installs it +# read-only, because agy's self-updater has no off switch and otherwise +# replaces the binary about 40s into a session +# (scripts/install-agent-tooling.sh install_agy). Empty = built without agy. +AGY_VERSION=$AGY_VERSION CCX_VERSION=$CCX_VERSION COPILOT_API_VERSION=$COPILOT_API_VERSION PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION diff --git a/scripts/version-upgrade.sh b/scripts/version-upgrade.sh index 85a461f..e3c1d76 100755 --- a/scripts/version-upgrade.sh +++ b/scripts/version-upgrade.sh @@ -22,6 +22,7 @@ _CLI_OPENCODE="${OPENCODE_VERSION:-}" _CLI_PI="${PI_CODING_AGENT_VERSION:-}" _CLI_DSH="${DSH_VERSION:-}" _CLI_CURSOR="${CURSOR_CLI_VERSION:-}" +_CLI_AGY="${AGY_VERSION:-}" _CLI_CCX="${CCX_VERSION:-}" _CLI_COPILOT="${COPILOT_API_VERSION:-}" _CLI_PLAYWRIGHT="${PLAYWRIGHT_VERSION:-}" @@ -75,7 +76,7 @@ Options: --only LIST Upgrade only these tools (comma-separated); the rest stay pinned to versions.env. Tools: claude-code, cctrace, codex, gemini-cli, grok-cli, kimi-code, - opencode, pi, dsh, cursor, ccx, copilot-api, + opencode, pi, dsh, cursor, agy, ccx, copilot-api, playwright, cloakbrowser, kimi-webbridge -h, --help Show this help @@ -98,6 +99,7 @@ Environment: PI_CODING_AGENT_VERSION Override pi version DSH_VERSION Override dsh version CURSOR_CLI_VERSION Override cursor version + AGY_VERSION Override agy version CCX_VERSION Override ccx version COPILOT_API_VERSION Override copilot-api version PLAYWRIGHT_VERSION Override playwright version (rust image only) @@ -128,7 +130,7 @@ apply_only_filter() { [[ -n $ONLY ]] || return 0 local tool - local known="claude-code cctrace codex gemini-cli grok-cli kimi-code opencode pi dsh cursor ccx copilot-api playwright cloakbrowser kimi-webbridge" + local known="claude-code cctrace codex gemini-cli grok-cli kimi-code opencode pi dsh cursor agy ccx copilot-api playwright cloakbrowser kimi-webbridge" for tool in ${ONLY//,/ }; do case " $known " in *" $tool "*) ;; @@ -148,6 +150,7 @@ apply_only_filter() { tool_selected pi || _CLI_PI="${_CLI_PI:-$PI_CODING_AGENT_VERSION}" tool_selected dsh || _CLI_DSH="${_CLI_DSH:-$DSH_VERSION}" tool_selected cursor || _CLI_CURSOR="${_CLI_CURSOR:-$CURSOR_CLI_VERSION}" + tool_selected agy || _CLI_AGY="${_CLI_AGY:-$AGY_VERSION}" tool_selected ccx || _CLI_CCX="${_CLI_CCX:-$CCX_VERSION}" tool_selected copilot-api || _CLI_COPILOT="${_CLI_COPILOT:-$COPILOT_API_VERSION}" tool_selected playwright || _CLI_PLAYWRIGHT="${_CLI_PLAYWRIGHT:-$PLAYWRIGHT_VERSION}" @@ -240,7 +243,7 @@ main() { # Resolve build versions early so we can show the manifest before countdown. # CLI override wins; otherwise use whatever load_versions fetched. - local claude_ver cctrace_ver codex_ver gemini_ver grok_ver kimi_ver opencode_ver pi_ver dsh_ver cursor_ver ccx_ver copilot_ver playwright_ver + local claude_ver cctrace_ver codex_ver gemini_ver grok_ver kimi_ver opencode_ver pi_ver dsh_ver cursor_ver agy_ver ccx_ver copilot_ver playwright_ver claude_ver="${_CLI_CLAUDE_CODE:-$(get_latest "claude-code")}" cctrace_ver="${_CLI_CCTRACE:-$(get_latest "cctrace")}" codex_ver="${_CLI_CODEX:-$(get_latest "codex")}" @@ -251,6 +254,7 @@ main() { pi_ver="${_CLI_PI:-$(get_latest "pi")}" dsh_ver="${_CLI_DSH:-$(get_latest "dsh")}" cursor_ver="${_CLI_CURSOR:-$(get_latest "cursor")}" + agy_ver="${_CLI_AGY:-$(get_latest "agy")}" ccx_ver="${_CLI_CCX:-$(get_latest "ccx")}" copilot_ver="${_CLI_COPILOT:-$(get_latest "copilot-api")}" playwright_ver="${_CLI_PLAYWRIGHT:-${PLAYWRIGHT_VERSION}}" @@ -265,6 +269,7 @@ main() { [[ -z $pi_ver ]] && missing+=("PI_CODING_AGENT_VERSION") [[ -z $dsh_ver ]] && missing+=("DSH_VERSION") [[ -z $cursor_ver ]] && missing+=("CURSOR_CLI_VERSION") + [[ -z $agy_ver ]] && missing+=("AGY_VERSION") [[ -z $ccx_ver ]] && missing+=("CCX_VERSION") [[ -z $copilot_ver ]] && missing+=("COPILOT_API_VERSION") [[ -z $playwright_ver ]] && missing+=("PLAYWRIGHT_VERSION") @@ -287,6 +292,7 @@ main() { "pi|pi_ver|_CLI_PI|pi" "dsh|dsh_ver|_CLI_DSH|dsh" "cursor|cursor_ver|_CLI_CURSOR|cursor" + "agy|agy_ver|_CLI_AGY|agy" "CCX|ccx_ver|_CLI_CCX|ccx" "Copilot API|copilot_ver|_CLI_COPILOT|copilot-api" "Playwright|playwright_ver|_CLI_PLAYWRIGHT|playwright" @@ -419,6 +425,7 @@ main() { --build-arg PI_CODING_AGENT_VERSION="$pi_ver" \ --build-arg DSH_VERSION="$dsh_ver" \ --build-arg CURSOR_CLI_VERSION="$cursor_ver" \ + --build-arg AGY_VERSION="$agy_ver" \ --build-arg CCX_VERSION="$ccx_ver" \ --build-arg COPILOT_API_VERSION="$copilot_ver" \ -t "$BUILD_IMAGE" . @@ -438,6 +445,7 @@ main() { --build-arg PI_CODING_AGENT_VERSION="$pi_ver" \ --build-arg DSH_VERSION="$dsh_ver" \ --build-arg CURSOR_CLI_VERSION="$cursor_ver" \ + --build-arg AGY_VERSION="$agy_ver" \ --build-arg CCX_VERSION="$ccx_ver" \ --build-arg PLAYWRIGHT_VERSION="$playwright_ver" \ --build-arg RUST_TOOLCHAINS="$RUST_TOOLCHAINS" \ @@ -471,6 +479,7 @@ main() { PI_CODING_AGENT_VERSION="$pi_ver" DSH_VERSION="$dsh_ver" CURSOR_CLI_VERSION="$cursor_ver" + AGY_VERSION="$agy_ver" CCX_VERSION="$ccx_ver" COPILOT_API_VERSION="$copilot_ver" PLAYWRIGHT_VERSION="$playwright_ver" diff --git a/scripts/versions-pr.sh b/scripts/versions-pr.sh index 90f4e33..4f1a5ed 100755 --- a/scripts/versions-pr.sh +++ b/scripts/versions-pr.sh @@ -64,6 +64,7 @@ pin_label() { GROK_CLI_VERSION) echo "grok" ;; KIMI_CODE_VERSION) echo "kimi-code" ;; OPENCODE_VERSION) echo "opencode" ;; + AGY_VERSION) echo "agy" ;; CCX_VERSION) echo "ccx" ;; COPILOT_API_VERSION) echo "copilot-api" ;; PLAYWRIGHT_VERSION) echo "playwright" ;; diff --git a/tests/test_release_utils.sh b/tests/test_release_utils.sh index 959a603..18f37c1 100644 --- a/tests/test_release_utils.sh +++ b/tests/test_release_utils.sh @@ -129,7 +129,7 @@ assert_eq "caller 'image' not clobbered" "caller-image" "${leak_after##*|}" # ───── get_tools_by_group ───── section "get_tools_by_group" agent_tools="$(get_tools_by_group agent | sort | tr '\n' ' ' | sed 's/ $//')" -expected_agent="cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi" +expected_agent="agy cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi" assert_eq "group=agent" "$expected_agent" "$agent_tools" browser_tools="$(get_tools_by_group browser | sort | tr '\n' ' ' | sed 's/ $//')" @@ -144,7 +144,7 @@ assert_eq "group=does-not-exist" "" "$nonexistent_group" # ───── get_tools_by_image ───── section "get_tools_by_image" main_tools="$(get_tools_by_image main | sort | tr '\n' ' ' | sed 's/ $//')" -expected_main="cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi" +expected_main="agy cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi" assert_eq "image=main" "$expected_main" "$main_tools" rust_tools="$(get_tools_by_image rust | sort | tr '\n' ' ' | sed 's/ $//')" @@ -156,8 +156,8 @@ assert_eq "image=base (empty until Step 3)" "" "$base_tools" # ───── filter_tools: scope resolution ───── section "filter_tools: default (no scope)" default_all="$(unset GROUP TOOL IMAGE; filter_tools | sort | tr '\n' ' ' | sed 's/ $//')" -expected_all="cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi playwright" -assert_eq "default returns all 13" "$expected_all" "$default_all" +expected_all="agy cctrace ccx claude-code codex copilot-api cursor dsh gemini-cli grok-cli kimi-code opencode pi playwright" +assert_eq "default returns all 14" "$expected_all" "$default_all" section "filter_tools: TOOL= scope" single="$(TOOL=claude-code GROUP= IMAGE= filter_tools)" diff --git a/tests/version-upgrade.sh b/tests/version-upgrade.sh index b888272..7ad4ef3 100644 --- a/tests/version-upgrade.sh +++ b/tests/version-upgrade.sh @@ -32,6 +32,7 @@ inspect) "org.opencontainers.image.pi_coding_agent_version":"0.84.0", "org.opencontainers.image.dsh_version":"0.1.0-rc.5", "org.opencontainers.image.cursor_cli_version":"2026.08.10-0000000", + "org.opencontainers.image.agy_version":"1.5.13", "org.opencontainers.image.ccx_version":"v0.7.0", "org.opencontainers.image.copilot_api_version":"0ea08febdd7e3e055b03dd298bf57e669500b5c1", "org.opencontainers.image.playwright_version":"1.59.0" @@ -70,6 +71,15 @@ case "${2:-}" in repos/thevibeworks/ccx/releases/latest) echo "v0.7.0" ;; +repos/google-antigravity/antigravity-cli/releases/latest) + echo "1.5.13" + ;; +repos/google-antigravity/antigravity-cli/releases/tags/1.5.13) + echo "2026-11-19T21:48:43Z" + ;; +repos/google-antigravity/antigravity-cli/releases) + echo '[]' + ;; repos/ericc-ch/copilot-api/branches/master) echo "0ea08febdd7e3e055b03dd298bf57e669500b5c1" ;; @@ -187,6 +197,7 @@ for expected in \ "--build-arg GROK_CLI_VERSION=0.2.93" \ "--build-arg KIMI_CODE_VERSION=0.28.0" \ "--build-arg PI_CODING_AGENT_VERSION=0.84.1" \ + "--build-arg AGY_VERSION=1.5.13" \ "--build-arg CCX_VERSION=v0.7.0" \ "--build-arg COPILOT_API_VERSION=0ea08febdd7e3e055b03dd298bf57e669500b5c1" \ "--build-arg GO_VERSION=1.26.2" @@ -206,6 +217,7 @@ for expected in \ "--build-arg GROK_CLI_VERSION=0.2.93" \ "--build-arg KIMI_CODE_VERSION=0.28.0" \ "--build-arg PI_CODING_AGENT_VERSION=0.84.1" \ + "--build-arg AGY_VERSION=1.5.13" \ "--build-arg CCX_VERSION=v0.7.0" \ "--build-arg PLAYWRIGHT_VERSION=1.60.0" do @@ -237,6 +249,7 @@ for expected in \ "PI_CODING_AGENT_VERSION=0.84.1" \ "DSH_VERSION=0.1.0-rc.6" \ "CURSOR_CLI_VERSION=2026.08.11-e8db854" \ + "AGY_VERSION=1.5.13" \ "CCX_VERSION=v0.7.0" \ "COPILOT_API_VERSION=0ea08febdd7e3e055b03dd298bf57e669500b5c1" \ "PLAYWRIGHT_VERSION=1.60.0" \ diff --git a/versions.env b/versions.env index 06ddce5..cb8e780 100644 --- a/versions.env +++ b/versions.env @@ -22,6 +22,12 @@ DSH_VERSION=0.2.2-rc.1 # downloads.cursor.com/lab//linux//agent-cli-package.tar.gz # so the image fetches the tarball directly. Version format YYYY.MM.DD-hash. CURSOR_CLI_VERSION=2026.11.11-b912975 +# Antigravity CLI (agy). Not on npm: one GitHub release tarball per +# platform, tag = version with no "v" prefix. The image installs it +# read-only, because agy's self-updater has no off switch and otherwise +# replaces the binary about 40s into a session +# (scripts/install-agent-tooling.sh install_agy). Empty = built without agy. +AGY_VERSION=1.5.13 CCX_VERSION=v0.18.0 COPILOT_API_VERSION=0ea08febdd7e3e055b03dd298bf57e669500b5c1 PLAYWRIGHT_VERSION=1.65.0