onemezao (Discord): a Builder ID account on Kiro Pro for students got 429
USER_REQUEST_RATE_EXCEEDED through the plugin and from kiro-cli, while the
Kiro IDE kept working on the same account. Plugin 0.1.31 (plugins 1d3b537c,
b8100001) sends chat calls the way Kiro IDE 1.4.121 does, with the values
read from the IDE's own extension.js:
- the AWS SDK JS user agent, carrying one machine id per install
(no random suffix);
- origin AI_EDITOR;
- x-amzn-kiro-client-attribution kiro-ide, and its attempt header;
- tokentype SSO_OIDC for Builder ID / Identity Center;
- one conversationId per magpie session.
It applies always, not only after a 429: that is the identity that works
where the CLI's is limited, and waiting for a 429 spends a refused request.
Control, usage and model-list calls are unchanged. Reasoning that Kiro
sends with its signature in one event now keeps the signature. This commit
raises keepMovedCurrent's min so every moved user gets 0.1.31.
npm view --prefer-online --registry https://registry.npmjs.org showed 0.1.31
before this change. The plugins publish run is red only for think-tags'
known E404 (plugins#180); its log shows kiro 0.1.31 published.
Run (mote): go test ./internal/provider/ ok; gofmt -l clean. Plugin side:
packages/kiro 152 pass, scripts/check.mjs kiro ok, repo bun test 6815 pass
0 fail.
Broken by hand (plugin side):
- the new identity tests on the old index.mjs: 4 of 4 red;
- a random UA suffix, or no Headers lookup of the session: 2 red;
- the signature tests on the old else-if: 2 of 2 red.
Real use: the owner's kiro-cli Google sign-in, copied into a sandbox HOME.
- auto and claude-sonnet-4.5 each answered 200 for two turns on one
conversationId;
- auto's signature was kept, and the turn carrying it back answered 200.
Not tried:
- a Builder ID account, or the reporter's;
- claude-haiku-5.5 (INVALID_MODEL_ID on the owner's account);
- whether this ends the reporter's 429.
Reported-by: onemezao