Skip to content

chore(agents): raise agent CLI pins and pin Cursor and Kiro - #443

Merged
artempartos merged 4 commits into
developfrom
chore/agent-cli-bump-2026-10
Oct 8, 2026
Merged

artempartos merged 4 commits into
developfrom
chore/agent-cli-bump-2026-10

Conversation

@artempartos

@artempartos artempartos commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

What

Raises the agent CLI pins in config/agent_runtimes.json:

Runtime Pin Newest
Claude Code 2.1.281 → 2.1.294 2.1.294
Codex 0.156.1 → 0.161.0 0.161.0
Gemini CLI 0.57.0 → 0.63.0 0.63.0
Grok 1.0.41 → 1.0.46 1.0.46
Antigravity CLI held at 1.1.27 1.3.1
Cursor CLI unpinned → 2026.10.01-e373342 2026.10.01-e373342
Kiro CLI unpinned → 2.28.0 2.28.0

It also pins Cursor and Kiro, which until now installed whatever their vendors shipped that day, and includes two Codex fixes that the bump needs.

Auth file locations: every changelog checked

Every release note between each pin and its newest version was read. Codex and Gemini were also checked by diffing their source between the two tags. For Claude Code, Grok and Antigravity, the two binaries' strings were compared. For Cursor and Kiro, the current bundle was compared with an August build. No CLI moved or changed the shape of a credential file, token endpoint or OAuth client that our adapters read, write, watch or refresh:

  • Claude Code: ~/.claude.json, ~/.claude/.credentials.json, ~/.claude/settings.json and ~/.config/anthropic/{configs,credentials}/default.json are unchanged. Both OAuth clients and both token URLs are the same, and so are the refresh lockfile and the transcript path. The only additions are lock helper files inside ~/.claude (.oauth_refresh.lock.owner, a lock for awsAuthRefresh/gcpAuthRefresh). The "make auto mode your default" nudge is now on by default; hasSeenAutoDefaultNudge: true, which we already write, still suppresses it.
  • Codex: $CODEX_HOME/auth.json, its schema, cli_auth_credentials_store = "file", auth.openai.com/oauth/token and the client id are unchanged. The storage code changed only in telemetry and error wording.
  • Gemini CLI: gemini-credentials.json is unchanged, including its encryption: AES-256-GCM with a scrypt-derived key, the same format, still written in place. Our host-side decrypt therefore still works. settings.json and oauth_creds.json are now written atomically (temp file, then rename). We watch gemini-credentials.json, so this doesn't affect us.
  • Grok: ~/.grok/auth.json, config.toml, the issuer and /oauth2/token are unchanged, and it still uses no keyring.
  • Cursor: on Linux the credentials are still $XDG_CONFIG_HOME|~/.config/cursor/auth.json (~/.cursor/auth.json is the macOS path). cli-config.json, the project trust directory and the MCP approval hash are unchanged.
  • Kiro: data.sqlite3 is still the only credential store, with the same auth_kv keys and refresh endpoint. The V3 engine keeps nothing on disk. We launch --v3, so the "switch Classic to 3.0" offer added in 2.28 doesn't reach us.

Why Antigravity stays on 1.1.27

In 1.3.1, settings.json's enableTelemetry is no longer read: the field is json:"-", and the CLI drops the key when it rewrites the file. Telemetry now syncs from the Google account's server-side setting (syncTelemetryFromServer, new in 1.3.1). This was confirmed in a built 1.3.1 image: the key is gone from settings.json after one run, while 1.1.27 keeps it. Raising the pin would let each user's account setting decide telemetry instead of our image. docs/operations/antigravity-cli.md now records this. Auth is not affected: the token file, the D-Bus-less file fallback and the OAuth client are unchanged.

Pinning Cursor and Kiro

Both vendor installers install only the latest release, so the same Dockerfile produced a different CLI on different days. Both images now install the release config/agent_runtimes.json names, from the versioned package URL the vendor's installer itself downloads. Older releases stay downloadable at those URLs (checked back to August).

  • Kiro: the archive is checked against a checksum kept per release in docker/kiro-cli/Dockerfile, the same way Antigravity does it. Kiro publishes checksums only in the channel's latest manifest; versioned manifests return 403. So a version without a committed pair is accepted only while it is the latest in that manifest, which is how the canary builds Kiro's newest; any other version fails the build. Only kiro-cli and kiro-cli-chat are installed. The strip step is gone: 2.28 ships stripped binaries.
  • Cursor: the vendor publishes no checksums (.sha256 and .sig return 403), and its installer verifies none, so the pin is the versioned URL alone.
  • Cursor auto-update: each Cursor chat started downloading the newest release (~180 MB) in the background 2 seconds in, unless --disable-auto-update (a hidden flag) or channel: "static" was set. That would have undone the pin at runtime, so sessions now pass --disable-auto-update. The 2026.10.01 binary accepts the flag and rejects unknown ones.
  • Newest-release lookup: the canary and bin/agent-cli-report now resolve the newest release through one script, bin/agent-cli-latest. It supports the two new cli_latest sources these vendors offer: jq for Kiro's JSON manifest, and pattern for the version embedded in Cursor's install script, the only place Cursor publishes it. A cli_releases.url changelog link is new too.
  • Checksum guard: test/config/agent_runtimes_registry_test.rb now fails when a checksum-verified runtime has no pair for its pin.

Codex fixes

  • Migration fallback: 0.161.0 removed gpt-5.4 from its bundled catalog and now hardcodes gpt-5.4 → gpt-6-sol and gpt-5.4-mini → gpt-6-luna (tui/src/app/startup_prompts.rs). FALLBACK_MODEL_MIGRATIONS still acknowledged gpt-5.6-terra/luna, so a session pinned to gpt-5.4 that no longer appears in the live catalog would stop on the migration dialog.
  • daemon_auto_start: this became stable and on by default in 0.157. A TUI launched without a -c override moves into a shared background server, and it can ask an interactive recovery question. Our trust -c usually prevents this, but it is dropped for workspace paths that cannot be written on the command line. config.toml now sets [features] daemon_auto_start = false. The 0.161.0 binary accepts the key (codex features list shows daemon_auto_start stable false).

Verification

  • All changed images built locally (arm64) against a freshly built base image, using a throwaway tag. Each Dockerfile's own --version check passed, and /etc/aixle-cli-version reports the expected version.
  • Kiro's checksum logic was tested three ways: the pinned 2.28.0 build passes its committed checksum; a copy of the Dockerfile with the 2.28.0 pair removed builds 2.28.0 against the latest manifest; 2.27.0 with no pair fails at No checksum for kiro-cli 2.27.0 on aarch64.
  • bin/agent-cli-latest resolves every runtime, and bin/agent-cli-report runs end to end on the new registry. Only Antigravity shows as outdated, as intended.
  • The x64/x86_64 builds were not run locally; their package URLs return 200, and the x86_64 Kiro checksum was verified against a downloaded archive.
  • Gemini 0.63.0's --help still lists --model, --yolo, mcp, skills and hooks.
  • The test suite was not run locally: CI on this PR is the verification.

Found, not fixed here (pre-existing)

  • The codex_workspace_trust signature in InteractivePromptDetector never matches. It expects "Do you trust the contents of this directory?", but Codex has shown "Trust this folder? …" / "Trust and continue" since at least 0.156.1. A separate PR fixes it.
  • The comment in docker/grok/Dockerfile says the native payload no longer ships as a sibling package, but it still does.
  • Claude Code's "Anthropic profile login expired" banners don't match AUTH_BANNER; 2.1.281 behaved the same.

🤖 Generated with Claude Code

artempartos and others added 4 commits October 8, 2026 20:50
Claude Code 2.1.281 -> 2.1.293, Codex 0.156.1 -> 0.161.0, Gemini CLI
0.57.0 -> 0.63.0, Grok 1.0.41 -> 1.0.46. Every changelog in between
was read, and the Codex and Gemini sources (Claude Code, Grok binaries)
diffed between the two versions: no CLI moved or reshaped a credential
file, token endpoint or OAuth client the adapters depend on.

Antigravity stays on 1.1.27: from 1.3.1 its settings.json no longer
carries enableTelemetry, and telemetry follows the Google account's
server-side setting instead, so the image could no longer turn it off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
0.161.0 dropped gpt-5.4 from the bundled catalog and now hardcodes its
migration (gpt-5.4 -> gpt-6-sol, gpt-5.4-mini -> gpt-6-luna). Our
fallback still acknowledged gpt-5.6-terra/luna, so a session pinned to
gpt-5.4 with no live catalog entry would stop on the migration dialog.

daemon_auto_start became stable and on by default in 0.157: a TUI
launched without a -c override moves into a shared background server
and can ask an interactive recovery question. Turn it off in
config.toml so every session runs in-process as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
Both vendor installers install only the latest release, so the same
Dockerfile produced a different CLI on different days. Each image now
installs the release config/agent_runtimes.json names, from the
versioned package URL the vendor's own installer downloads.

Kiro's archive is checked against a per-release checksum kept in its
Dockerfile, like Antigravity; Kiro publishes checksums only in the
channel's latest manifest, so a version without a pair is accepted
only while it is the latest there, which is how the canary builds it.
Cursor publishes no checksums. The registry test fails when a pinned
checksum-verified runtime has no pair for its pin.

A Cursor chat also started a background download of the newest
release two seconds in; sessions now pass --disable-auto-update so
they run the pinned version.

The canary and bin/agent-cli-report resolve the newest release through
one script, bin/agent-cli-latest, which adds the two sources these
vendors offer: a JSON manifest (jq) and a version embedded in the
install script (pattern).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
2.1.294 fixes prompt and agent hooks only; the credential paths, OAuth clients and token endpoints in its binary match 2.1.293.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos artempartos changed the title chore(agents): raise agent CLI pins (Claude Code, Codex, Gemini, Grok) chore(agents): raise every agent CLI pin and pin Cursor and Kiro Oct 8, 2026
@artempartos artempartos changed the title chore(agents): raise every agent CLI pin and pin Cursor and Kiro chore(agents): raise agent CLI pins and pin Cursor and Kiro Oct 8, 2026
@artempartos
artempartos merged commit d41f66d into develop Oct 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant