provider: Kiro's mover needs opencode-kiro-auth 0.1.34, which gives each model Kiro's credit multiplier as its rate

01huadalang on Discord asked for Kiro's credit multiplier. 0.1.34
(plugins 1aab125b) reads each model's rateMultiplier (rateUnit
"Credit") from ListAvailableModels and carries it as the model's rate,
which magpie's plugin host reads as Model.Rate. Usage is not multiplied
again: a meteringEvent's credits already include the rate. Raising min
makes keepMovedCurrent update every moved user's plugin.

Run: npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-kiro-auth version = 0.1.34, checked again at
landing. At base c7ebb6f8d on mote (lockf ~/suite.lock mote-run):
gofmt -l on migrate_kiro.go printed nothing; go vet ./...,
GOOS=linux go vet -tags nogui ./... and GOOS=windows go vet ./... ok;
go test ./internal/provider/ -timeout 45m ok (138.7s); go test ./...
-timeout 45m: 88 packages ok, one red, internal/gui
TestGatewayModeStatsNameTheGatewaySessions (keys [] leave out the
gateway's session). That is #5690, which is red in the first hour of a
local day, and mote's clock was 00:57. It has a patch from skygunner and
this change doesn't touch it. A rerun of internal/gui after 01:00 was
still going when this was pushed.

The pushed head is rebased onto origin/main 4314f4b77, whose seven new
commits don't touch migrate_kiro.go. They were not run with this change
before the push; CI runs them. The plugin's own record is in its commit
(packages/kiro 170 pass). Not tried: a moved account's plugin update on
a real install.
This commit is contained in:
yetone
2026-11-09 17:22:08 +08:00
parent 4314f4b776
commit 40cfae5d3b
File diff suppressed because one or more lines are too long