Repository navigation
Description
Problem / Use Case
OmniRoute v3.8.54's Kiro dashboard Test Message returns HTTP 400: This version of Kiro is no longer supported. Please update to the latest version of Kiro to continue. The operator reports that their official Kiro CLI works. In the base Docker image, kiro-cli is not on PATH, and KiroExecutor makes the HTTP request itself. Upgrading the host CLI therefore does not upgrade the existing kr/ request path.
The 400 is already tracked in #21067. This request is for a different transport, not another copy of that bug or a request to reopen #20529. A user should be able to choose to use the actual, operator-installed CLI, without requiring OmniRoute to emulate a particular client version.
Proposed Solution
Add an explicitly opt-in Kiro CLI backend using the official ACP interface. Keep the existing HTTP Kiro provider unchanged. Reuse the gateway's existing authentication, routing and error handling. OmniRoute's ACP inventory alone does not route inference to a registered agent.
Start small: text-only chat, an explicit supported model, and no agent tools or MCP servers. Fail closed if these restrictions cannot be guaranteed. Keep the executable, arguments, working directory and environment under operator control; do not expose a generic remote process launcher or reuse/export stored dashboard OAuth tokens. CLI-backed inference should require separate opt-in and a dedicated, authenticated CLI environment.
Alternatives Considered
Waiting for the HTTP adapter to be updated remains valid. Stacking another routing gateway on top does not change the Kiro transport. Installing a binary in the current container or changing only a version string does not make the native provider call the official CLI.
Acceptance Criteria / Test Plan
- Default installations retain current behavior and never start a CLI process. Missing binary, missing login, and unsupported features produce actionable errors, without silently falling back to the HTTP provider.
- Cover ACP initialization, model selection, a text response, permission denial, cancellation, timeout and child cleanup with deterministic fixtures. Do not claim tool/Responses compatibility from a text-only test.
- Before claiming end-to-end Kiro support, separately verify one real, authorized generation through the gateway. A model list, successful device authorization, or ACP handshake is not that test.
Evidence / Scope
The stable base container was healthy when the error occurred. Separately, on Linux, the official 2.14.2 installation's kiro-cli-chat acp executable returned protocolVersion: 1 to initialize with an empty home and no client capabilities. The kiro-cli launcher did not yield the same response with that isolated home. This was a transport-only probe: no account files, prompt, inference or credit use. No public CLI execution endpoint is requested.
Area: Provider Support / CLI Tools Integration. Related: #19607, #20529, #21067.
Activity
jiangxingfan1-coder commentedon Nov 24, 2026
For the explicit-model check, I’d add a fixture where
session/newsucceeds but comes back on the default instead of the model the caller asked for. The Kiro ACP docs say--modelis V2-only, and V3 can start a session even when a saved default can’t be applied. A healthy handshake (or even a session ID) doesn’t prove which model will answer.I reran the ACP model-selection tests in Open Agent API v0.0.71: a fixture that confirms the requested model gets a prompt; an unknown or unconfirmed model is rejected before any prompt goes out. This wasn’t a Kiro generation test. It’s a useful negative case for keeping the CLI path from silently serving a different model or falling back to
kr/.