Repository navigation
chore(docker): bump kiro-cli pin to 3.5.0 - #1618
chaodu-agent wants to merge 1 commit into
Conversation
kiro-cli 2.25.0 uses the old CodeWhisperer API and hits its monthly usage limit. 3.5.0 does not, and #1609 added openab support for the 3.x v3 engine. The image default (acp --trust-all-tools) keeps 3.5.0 on the v2 engine, so existing bots are unchanged. SHA256 values are from the stable manifest and match the downloaded zips. Fixes #1615
|
Important CHANGES REQUESTED What This PR DoesThe kiro images bundle kiro-cli 2.25.0, which talks to the old CodeWhisperer API and hits How It Works
Findings
Finding Details🟡 F1: Avoid hardcoding the version in proseBoth doc sentences already point readers to 🟡 F2: Align the kiro-v3.md intro with 3.x defaults
🟡 F3: Document
|
What problem does this solve?
The kiro image bundles kiro-cli 2.25.0. That version authenticates against the old CodeWhisperer API, which has a monthly usage limit. Once the limit is used up, every reply fails with
-32603: The monthly usage limit has been reached, even on plans that work in Kiro IDE. The reporter confirmed kiro-cli 3.5.0 works with the same account.#1609 added openab support for the kiro-cli 3.x v3 engine and Kiro workflows, but did not change the image pin, so
docs/kiro-v3.mdcould not be followed with the official image. This PR bumps the pin.Fixes #1615
Discord Discussion URL: https://discord.com/channels/1564929885242396673/1574824002193465414
Review Contract
Goal
Ship kiro-cli 3.5.0 in the kiro images (
Dockerfile,Dockerfile.package,Dockerfile.unified) so default deployments stop hitting the CodeWhisperer monthly limit, without changing the behaviour of existing bots.Non-goals
kiro-cli acp --trust-all-tools.agentcore/runtimes/kiro/Dockerfile), which installs the latest kiro-cli through the install script and has no pin.Accepted Residual Risks
--trust-all-tools,--agent,--model,--effort,--trust-tools) is passed (fromkiro-cli acp --helpon 3.5.0). The image default passes--trust-all-tools, so it stays on v2. An operator who overrode[agent] argswith none of those flags (for exampleargs = ["acp"]) moves to v3 after this upgrade. Mitigation: documented indocs/kiro.md(add--agent-engine=v2). Recovery: same.docs/kiro.mdtells operators to re-run the login command if the limit error persists.Acceptance Criteria
KIRO_CLI_VERSION=3.5.0and the 3.5.0 SHA256 pins are identical inDockerfile,Dockerfile.packageandDockerfile.unified, and the smoke-testassert_linechecks match.Verify bumped runtime versionspasses for the default and-unifiedvariants (kiro-cli --versionprintskiro-cli 3.5.0).kiro-cli acp --trust-all-toolscompletes the ACP handshake in the smoke test.docs/kiro.mddocuments the engine selection rule and the re-login step.docs/kiro-v3.mdstates which version the image bundles.Follow-ups
At a Glance
Prior Art & Industry Research
Not applicable. This is a version pin bump of a bundled CLI.
Proposed Solution
KIRO_CLI_VERSIONto3.5.0and replaceKIRO_SHA256_AMD64/KIRO_SHA256_ARM64in the three kiro Dockerfiles, and update the matchingassert_linechecks indocker-smoke-test.yml.docs/kiro.md: state the pinned version, the v3-by-default engine rule and how to stay on v2, and the re-login step for the monthly limit error.docs/kiro-v3.md: say the official image bundles 3.5.0.The nightly build keeps using
KIRO_CLI_VERSION=latestwith ETag checks, unchanged.Why this approach?
3.5.0 is the version in the stable manifest (
https://prod.download.cli.kiro.dev/stable/latest/manifest.json) and the version the reporter verified. The download layout is unchanged (kirocli/bin/kiro-cli), so the install step needs no edit. The zip now ships one binary instead of several, andcp /tmp/kirocli/bin/*still works.Alternatives Considered
--agent-engine=v3: v3 rejects--trust-all-tools, reads agents from Markdown files instead of JSON, and uses about 0.5 GB per process. That is a breaking change for existing bots and belongs in its own PR.Validation
prod.download.cli.kiro.dev/stable/3.5.0/matches the stable manifest:kirocli-x86_64-linux.zip7f9bb76921f477125629619450d5942e160942aba9dd8cdc4a66f7678a20c56dkirocli-aarch64-linux.ziped45f387bca9356d1e767022a7cb504c3fbda20d3881c55c7d771877335ceec0kiro-cli --versionprintskiro-cli 3.5.0. It needs at most GLIBC 2.34, and the base image is Debian trixie (glibc 2.41).kiro-cli acp --trust-all-toolswith an emptyHOMEanswersinitializewithagentInfo.version = "3.5.0",loadSession: true.grepfinds no remaining2.25.0or old SHA256 values in the repo.