From 1f8f80e4af8c64f3c8490be889ac27e9e73a6256 Mon Sep 17 00:00:00 2001 From: yetone Date: Sat, 24 Oct 2026 17:13:01 +0800 Subject: [PATCH] provider: Kiro's mover min is 0.1.16 (cache unknown, not 0) opencode-kiro-auth 0.1.16 (plugins 9f6c4e8) says magpie_cache_unknown when Kiro gives no token counts. Before, it reported cache_read 0, which the Routing page showed as 0% (zeewell on X). keepMovedCurrent brings every moved Kiro user up to it. `npm view @magpie-community/opencode-kiro-auth version --prefer-online` gives 0.1.16 at landing. Its publish run is red only on the known think-tags E404 (plugins#180); the run's log has "+ @magpie-community/opencode-kiro-auth@0.1.16". Run at this head (origin/main 628e18987 + the routing commit): gofmt and go vet (darwin, linux, windows) clean; go test -timeout 45m ./internal/provider ./internal/gateway: ok, ok. --- internal/provider/migrate_kiro.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/migrate_kiro.go b/internal/provider/migrate_kiro.go index 0978f9964..d2d110257 100644 --- a/internal/provider/migrate_kiro.go +++ b/internal/provider/migrate_kiro.go @@ -21,7 +21,7 @@ import ( func init() { movers["kiro"] = &mover{ pkg: "@magpie-community/opencode-kiro-auth", - min: "0.1.15", // an API key is used as kiro-cli uses it: GetProfile in us-east-1 then eu-central-1, and with no profile found the key goes on in us-east-1; its models are the control plane's ListAvailableModels and no profile is named in its calls (Hollowhere: Auto alone, every request "Kiro didn't take the API key: 400"); 0.1.14: each account is named by its email and the way it was signed in to, "email (Google)", "email (GitHub)", not "email (slot)" (plugins#309); 0.1.13: two sign-ins of one email through different login providers (Google, GitHub, Builder ID) stay two accounts (plugins#309); 0.1.12: a request for JSON output (output_config.format) answers in JSON, its schema in the system prompt as the built-in; 0.1.11: a thinking model offers xhigh as its own level (50k), so Claude Code's xhigh isn't routed as max (plugins#120); 0.1.10: the caller's prompt-cache marks reach Kiro as cachePoints (plugins#110) + min: "0.1.16", // a reply with no token counts says its cache is unknown (magpie_cache_unknown), not 0: Kiro caches but counts no tokens (zeewell on X); 0.1.15: an API key is used as kiro-cli uses it: GetProfile in us-east-1 then eu-central-1, and with no profile found the key goes on in us-east-1; its models are the control plane's ListAvailableModels and no profile is named in its calls (Hollowhere: Auto alone, every request "Kiro didn't take the API key: 400"); 0.1.14: each account is named by its email and the way it was signed in to, "email (Google)", "email (GitHub)", not "email (slot)" (plugins#309); 0.1.13: two sign-ins of one email through different login providers (Google, GitHub, Builder ID) stay two accounts (plugins#309); 0.1.12: a request for JSON output (output_config.format) answers in JSON, its schema in the system prompt as the built-in; 0.1.11: a thinking model offers xhigh as its own level (50k), so Claude Code's xhigh isn't routed as max (plugins#120); 0.1.10: the caller's prompt-cache marks reach Kiro as cachePoints (plugins#110) agents: []string{"kiro"}, out: func() ([]Moving, error) { var out []Moving