Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" \
.
Expand Down Expand Up @@ -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 }}" \
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}\`
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}\`
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions DEV-LOGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
- Minimal markdown markers, no unnecessary formatting, minimal emojis.
- Reference issue numbers in the format `#<issue-number>` 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.<n>.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/<ver>/linux/<arch>, 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).
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.rust
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install agy in core-based Rust images

When Dockerfile.rust is built from the core image—as make build-rust-image and scripts/version-upgrade.sh do—this label advertises agy even though the Dockerfile later runs only the agents and cctrace installer stages, and the agents stage explicitly excludes install_agy. Consequently locally built Rust images, and the Cloak images derived from them, do not contain agy; add an agy installer-stage invocation rather than only propagating its argument and label.

Useful? React with 👍 / 👎.

LABEL org.opencontainers.image.ccx_version=${CCX_VERSION}
LABEL org.opencontainers.image.playwright_version=${PLAYWRIGHT_VERSION}

Expand Down
17 changes: 14 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) \
Expand Down Expand Up @@ -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)) \
Expand Down Expand Up @@ -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" = "<no value>" ]; 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)"; \
Expand All @@ -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 \
Expand Down Expand Up @@ -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) .
Expand Down Expand Up @@ -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))"
Expand Down
Loading
Loading