blue12345655 (Discord #help): a Command Code account signed in through
the plugin was signed out, and magpie showed no 重新登录 (v0.1.1844, still
v0.1.2021). The plugin said signIn "kept" on every usage read and
X-Magpie-Sign-In "kept" on every answer, so magpie never marked the
account lapsed: its card said "Unauthorized", the gateway kept routing
to it, and neither its row nor the list offered Sign in again. Devin's
and Kiro's usage reads did the same with words that said to sign in
again.
plugins 9410e2a: Command Code confirms a 401/403 with /alpha/whoami and
says "expired" on the usage read and on the request's answer; Devin's
usage 401 and Kiro's refused refresh say "expired"; a clean read says
"renewed". This raises the three movers' min so every moved user gets
them (keepMovedCurrent). npm view --prefer-online at landing:
opencode-commandcode-auth 0.1.19, opencode-devin-auth 0.1.26,
opencode-kiro-auth 0.1.19.
Run:
- The real npm plugins against the real api.commandcode.ai with a key
it never issued (bun, WSL, sandbox HOME): 0.1.18 usage
{"error":"Unauthorized","signIn":"kept"} and request 401 "kept";
0.1.19 usage {"error":"Command Code's sign-in has expired; sign in
again","signIn":"expired"} and request 401 "expired", body unchanged.
- Plugins: bun test commandcode 82/0, devin 142/0, kiro 67/0; bun
scripts/check.mjs ok.
- go test -timeout 45m ./internal/provider/... ./internal/gui/... on
mote (macOS 27), rebased on origin/main 96a703a59: provider ok; gui
red only in TestMainWindowCorners/macOS_26_SDK, the AppKit title-bar
test that is red on macOS 27 already (#3949), not reached by this.
- gofmt -l: clean.
Broken by hand: commandcode signed-out.test.mjs against 0.1.18's
index.mjs, 4 of 9 red; kiro and devin usage tests against their old
index.mjs, red.
Not tried: a real revoked Command Code, Devin or Kiro account, and a
full magpie sandbox with the plugin host (magpie's handling of
"expired", notePluginLapseSince and the row's Sign in again, is the
existing path that plugin-signed-out-account.test.cjs covers).