From 0c15d8e1bda4943a685dd56f1fed20e572e16d83 Mon Sep 17 00:00:00 2001 From: chaodufashi Date: Tue, 24 Nov 2026 16:35:57 +0000 Subject: [PATCH 1/2] chore(docker): bump kiro-cli pin to 3.5.0 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 --- .github/workflows/docker-smoke-test.yml | 6 +++--- Dockerfile | 6 +++--- Dockerfile.package | 6 +++--- Dockerfile.unified | 6 +++--- docs/kiro-v3.md | 3 +++ docs/kiro.md | 4 ++++ 6 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docker-smoke-test.yml b/.github/workflows/docker-smoke-test.yml index 50e6ed521..3f53b97b1 100644 --- a/.github/workflows/docker-smoke-test.yml +++ b/.github/workflows/docker-smoke-test.yml @@ -234,9 +234,9 @@ jobs: [[ "$pin" =~ ^ARG\ NODE[0-9]+_VERSION=[0-9]+\.[0-9]+\.[0-9]+$ ]] || { echo "::error::Dockerfile.unified must pin a full Node.js version (got '$pin')" >&2; exit 1; } grep -Fqx -- "$pin" "$f" || { echo "::error file=$f::$f must declare '$pin' to match Dockerfile.unified" >&2; exit 1; } done <<< "$node_pins" - assert_line 'ARG KIRO_CLI_VERSION=2.25.0' Dockerfile Dockerfile.package Dockerfile.unified - assert_line 'ARG KIRO_SHA256_AMD64=3e924de9697717b99891bb5f7d2a4bd9c768b8bfa1c498b35b3d242948512984' Dockerfile Dockerfile.package Dockerfile.unified - assert_line 'ARG KIRO_SHA256_ARM64=cc8a2df90cd354b569b81ed4653db4796c86a69866568b4eb7fa7906afc95309' Dockerfile Dockerfile.package Dockerfile.unified + assert_line 'ARG KIRO_CLI_VERSION=3.5.0' Dockerfile Dockerfile.package Dockerfile.unified + assert_line 'ARG KIRO_SHA256_AMD64=7f9bb76921f477125629619450d5942e160942aba9dd8cdc4a66f7678a20c56d' Dockerfile Dockerfile.package Dockerfile.unified + assert_line 'ARG KIRO_SHA256_ARM64=ed45f387bca9356d1e767022a7cb504c3fbda20d3881c55c7d771877335ceec0' Dockerfile Dockerfile.package Dockerfile.unified assert_line 'ARG CODEX_ACP_VERSION=2.0.0' Dockerfile.codex Dockerfile.package Dockerfile.unified assert_line 'ARG CODEX_VERSION=0.166.0' Dockerfile.codex Dockerfile.package Dockerfile.unified assert_line 'ARG COPILOT_VERSION=1.0.105' Dockerfile.copilot Dockerfile.package Dockerfile.unified diff --git a/Dockerfile b/Dockerfile index 8cc5900ef..05dae3cdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,9 +36,9 @@ FROM debian:trixie-slim RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl procps ripgrep tini unzip && rm -rf /var/lib/apt/lists/* # Install kiro-cli (auto-detect arch, copy binary directly) -ARG KIRO_CLI_VERSION=2.25.0 -ARG KIRO_SHA256_AMD64=3e924de9697717b99891bb5f7d2a4bd9c768b8bfa1c498b35b3d242948512984 -ARG KIRO_SHA256_ARM64=cc8a2df90cd354b569b81ed4653db4796c86a69866568b4eb7fa7906afc95309 +ARG KIRO_CLI_VERSION=3.5.0 +ARG KIRO_SHA256_AMD64=7f9bb76921f477125629619450d5942e160942aba9dd8cdc4a66f7678a20c56d +ARG KIRO_SHA256_ARM64=ed45f387bca9356d1e767022a7cb504c3fbda20d3881c55c7d771877335ceec0 RUN ARCH=$(dpkg --print-architecture) && \ if [ "$ARCH" = "arm64" ]; then \ URL="https://prod.download.cli.kiro.dev/stable/${KIRO_CLI_VERSION}/kirocli-aarch64-linux.zip"; \ diff --git a/Dockerfile.package b/Dockerfile.package index 06c9a7126..4735a26d7 100644 --- a/Dockerfile.package +++ b/Dockerfile.package @@ -50,13 +50,13 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \ # Target: kiro (default) # ============================================================================= FROM base-debian AS kiro -ARG KIRO_CLI_VERSION=2.25.0 +ARG KIRO_CLI_VERSION=3.5.0 # Optional immutable content identifiers for the nightly `latest` path. Release # and pre-beta builds leave these empty and retain their pinned SHA256 checks. ARG KIRO_ETAG_AMD64= ARG KIRO_ETAG_ARM64= -ARG KIRO_SHA256_AMD64=3e924de9697717b99891bb5f7d2a4bd9c768b8bfa1c498b35b3d242948512984 -ARG KIRO_SHA256_ARM64=cc8a2df90cd354b569b81ed4653db4796c86a69866568b4eb7fa7906afc95309 +ARG KIRO_SHA256_AMD64=7f9bb76921f477125629619450d5942e160942aba9dd8cdc4a66f7678a20c56d +ARG KIRO_SHA256_ARM64=ed45f387bca9356d1e767022a7cb504c3fbda20d3881c55c7d771877335ceec0 RUN ARCH=$(dpkg --print-architecture) && \ if [ "$ARCH" = "arm64" ]; then \ URL="https://prod.download.cli.kiro.dev/stable/${KIRO_CLI_VERSION}/kirocli-aarch64-linux.zip"; \ diff --git a/Dockerfile.unified b/Dockerfile.unified index 5265b338c..9c524b41f 100644 --- a/Dockerfile.unified +++ b/Dockerfile.unified @@ -101,9 +101,9 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \ # Target: kiro (default) # ============================================================================= FROM base-debian AS kiro -ARG KIRO_CLI_VERSION=2.25.0 -ARG KIRO_SHA256_AMD64=3e924de9697717b99891bb5f7d2a4bd9c768b8bfa1c498b35b3d242948512984 -ARG KIRO_SHA256_ARM64=cc8a2df90cd354b569b81ed4653db4796c86a69866568b4eb7fa7906afc95309 +ARG KIRO_CLI_VERSION=3.5.0 +ARG KIRO_SHA256_AMD64=7f9bb76921f477125629619450d5942e160942aba9dd8cdc4a66f7678a20c56d +ARG KIRO_SHA256_ARM64=ed45f387bca9356d1e767022a7cb504c3fbda20d3881c55c7d771877335ceec0 RUN ARCH=$(dpkg --print-architecture) && \ if [ "$ARCH" = "arm64" ]; then \ URL="https://prod.download.cli.kiro.dev/stable/${KIRO_CLI_VERSION}/kirocli-aarch64-linux.zip"; \ diff --git a/docs/kiro-v3.md b/docs/kiro-v3.md index 820098c9f..ed778ce38 100644 --- a/docs/kiro-v3.md +++ b/docs/kiro-v3.md @@ -4,6 +4,9 @@ kiro-cli 3.x ships a second engine, selected with `--agent-engine=v3`. It change selected and adds Kiro workflows over ACP. openab supports both, and every setting below is opt-in: with none of them set, a kiro-cli v2 bot behaves as before. +The official kiro image bundles kiro-cli 3.5.0 (`KIRO_CLI_VERSION` in the Dockerfile), so no extra +install is needed. Older images bundle 2.x, which has no v3 engine; check with `kiro-cli --version`. + ## What changes with v3 - Agents appear as ACP **modes**. The flags `--agent`, `--trust-all-tools` and `--model` are diff --git a/docs/kiro.md b/docs/kiro.md index 40737f716..afa7d8708 100644 --- a/docs/kiro.md +++ b/docs/kiro.md @@ -10,6 +10,8 @@ The default `Dockerfile` bundles both `openab` and `kiro-cli`: docker build -t openab:latest . ``` +The bundled kiro-cli version is pinned by `KIRO_CLI_VERSION` in the Dockerfile (currently 3.5.0). kiro-cli 3.x picks the v3 engine by default, but falls back to v2 when a v2-only flag such as `--trust-all-tools` is passed. The image default (`kiro-cli acp --trust-all-tools`) therefore keeps running the v2 engine. If you override `[agent] args` without a v2-only flag, add `--agent-engine=v2` to stay on v2, or follow [kiro-v3.md](kiro-v3.md) to move to v3. + ## Helm Install ```bash @@ -193,6 +195,8 @@ Follow the device code flow in your browser, then restart the pod: kubectl rollout restart deployment/openab-kiro ``` +If replies fail with `The monthly usage limit has been reached` after upgrading from an image with kiro-cli 2.x, the stored token may still be the one 2.x created. Run the login command above again and restart the pod. See [#1615](https://github.com/openabdev/openab/issues/1615). + ### Persisted Paths (PVC) | Path | Contents | From a803bb8ee35cb212769b05a354376cbbe05af626 Mon Sep 17 00:00:00 2001 From: chaodu-agent Date: Tue, 24 Nov 2026 17:32:35 +0000 Subject: [PATCH 2/2] docs(kiro): drop hardcoded version, align v3 intro, document acp.agentEngine precedence --- docs/kiro-v3.md | 15 +++++++++------ docs/kiro.md | 4 +++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/kiro-v3.md b/docs/kiro-v3.md index ed778ce38..3fd8004e7 100644 --- a/docs/kiro-v3.md +++ b/docs/kiro-v3.md @@ -1,11 +1,14 @@ # Kiro CLI v3 engine and Kiro workflows -kiro-cli 3.x ships a second engine, selected with `--agent-engine=v3`. It changes how agents are -selected and adds Kiro workflows over ACP. openab supports both, and every setting below is -opt-in: with none of them set, a kiro-cli v2 bot behaves as before. - -The official kiro image bundles kiro-cli 3.5.0 (`KIRO_CLI_VERSION` in the Dockerfile), so no extra -install is needed. Older images bundle 2.x, which has no v3 engine; check with `kiro-cli --version`. +kiro-cli 3.x ships a second engine, v3. It changes how agents are selected and adds Kiro +workflows over ACP. `kiro-cli acp` starts v3 by default, but stays on v2 when a v2-only flag such +as `--trust-all-tools` is passed; see [kiro.md](kiro.md) for the full rule. openab supports both +engines, and every openab setting below is opt-in: with none of them set, a bot that runs the v2 +engine behaves as before. + +The official kiro image bundles kiro-cli 3.x (pinned by `KIRO_CLI_VERSION` in the Dockerfile), so +no extra install is needed. Older images bundle 2.x, which has no v3 engine; check with +`kiro-cli --version`. ## What changes with v3 diff --git a/docs/kiro.md b/docs/kiro.md index afa7d8708..028b6c6f0 100644 --- a/docs/kiro.md +++ b/docs/kiro.md @@ -10,7 +10,9 @@ The default `Dockerfile` bundles both `openab` and `kiro-cli`: docker build -t openab:latest . ``` -The bundled kiro-cli version is pinned by `KIRO_CLI_VERSION` in the Dockerfile (currently 3.5.0). kiro-cli 3.x picks the v3 engine by default, but falls back to v2 when a v2-only flag such as `--trust-all-tools` is passed. The image default (`kiro-cli acp --trust-all-tools`) therefore keeps running the v2 engine. If you override `[agent] args` without a v2-only flag, add `--agent-engine=v2` to stay on v2, or follow [kiro-v3.md](kiro-v3.md) to move to v3. +The image bundles kiro-cli 3.x, pinned by `KIRO_CLI_VERSION` in the Dockerfile. `kiro-cli acp` picks the v3 engine by default, but stays on v2 when a v2-only flag such as `--trust-all-tools` is passed. The image default (`kiro-cli acp --trust-all-tools`) therefore keeps running the v2 engine. If you override `[agent] args` without a v2-only flag, add `--agent-engine=v2` to stay on v2, or follow [kiro-v3.md](kiro-v3.md) to move to v3. + +A persisted `acp.agentEngine` setting (from `kiro-cli settings`) takes precedence over the v2-only flag rule. With `acp.agentEngine = "v3"`, the image default fails at startup with `the following arguments are not supported with --agent-engine=v3: --trust-all-tools`. Remove the setting or set it to `v2`. `kiro-cli acp` does not read `chat.agentEngine`. ## Helm Install