Repository navigation
chore(agents): raise agent CLI pins and pin Cursor and Kiro - #443
Merged
Merged
Conversation
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]>
This was referenced Oct 8, 2026
Merged
Merged
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.
What
Raises the agent CLI pins in
config/agent_runtimes.json: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.json,~/.claude/.credentials.json,~/.claude/settings.jsonand~/.config/anthropic/{configs,credentials}/default.jsonare 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 forawsAuthRefresh/gcpAuthRefresh). The "make auto mode your default" nudge is now on by default;hasSeenAutoDefaultNudge: true, which we already write, still suppresses it.$CODEX_HOME/auth.json, its schema,cli_auth_credentials_store = "file",auth.openai.com/oauth/tokenand the client id are unchanged. The storage code changed only in telemetry and error wording.gemini-credentials.jsonis 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.jsonandoauth_creds.jsonare now written atomically (temp file, then rename). We watchgemini-credentials.json, so this doesn't affect us.~/.grok/auth.json,config.toml, the issuer and/oauth2/tokenare unchanged, and it still uses no keyring.$XDG_CONFIG_HOME|~/.config/cursor/auth.json(~/.cursor/auth.jsonis the macOS path).cli-config.json, the project trust directory and the MCP approval hash are unchanged.data.sqlite3is still the only credential store, with the sameauth_kvkeys 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'senableTelemetryis no longer read: the field isjson:"-", 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 fromsettings.jsonafter 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.mdnow 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.jsonnames, from the versioned package URL the vendor's installer itself downloads. Older releases stay downloadable at those URLs (checked back to August).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. Onlykiro-cliandkiro-cli-chatare installed. Thestripstep is gone: 2.28 ships stripped binaries..sha256and.sigreturn 403), and its installer verifies none, so the pin is the versioned URL alone.--disable-auto-update(a hidden flag) orchannel: "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.bin/agent-cli-reportnow resolve the newest release through one script,bin/agent-cli-latest. It supports the two newcli_latestsources these vendors offer:jqfor Kiro's JSON manifest, andpatternfor the version embedded in Cursor's install script, the only place Cursor publishes it. Acli_releases.urlchangelog link is new too.test/config/agent_runtimes_registry_test.rbnow fails when a checksum-verified runtime has no pair for its pin.Codex fixes
gpt-5.4from its bundled catalog and now hardcodesgpt-5.4 → gpt-6-solandgpt-5.4-mini → gpt-6-luna(tui/src/app/startup_prompts.rs).FALLBACK_MODEL_MIGRATIONSstill acknowledgedgpt-5.6-terra/luna, so a session pinned togpt-5.4that 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-coverride moves into a shared background server, and it can ask an interactive recovery question. Our trust-cusually prevents this, but it is dropped for workspace paths that cannot be written on the command line.config.tomlnow sets[features] daemon_auto_start = false. The 0.161.0 binary accepts the key (codex features listshowsdaemon_auto_start stable false).Verification
--versioncheck passed, and/etc/aixle-cli-versionreports the expected version.No checksum for kiro-cli 2.27.0 on aarch64.bin/agent-cli-latestresolves every runtime, andbin/agent-cli-reportruns end to end on the new registry. Only Antigravity shows as outdated, as intended.--helpstill lists--model,--yolo,mcp,skillsandhooks.Found, not fixed here (pre-existing)
codex_workspace_trustsignature inInteractivePromptDetectornever 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.docker/grok/Dockerfilesays the native payload no longer ships as a sibling package, but it still does.AUTH_BANNER; 2.1.281 behaved the same.🤖 Generated with Claude Code