provider: Qoder's mover min is 0.2.59, usage with each pool's count and the plan's refresh (jzing.draw)

jzing.draw on Discord (#feedback, 2026-11-03): Qoder's own panel said
套餐内 Credits 1,817 / 2,000 (refreshing 2026-11-22) and 资源包
2,400 / 3,400, while magpie's Routing row said a bare "剩余 15%".

Plugin 0.2.59 (magpie-community/plugins 1984cf6) sends amount, limit
and unit on Total credits and on each pool, and the plan's Credits window
resets at expiresAt. The Routing row and the Usage card now say
"1,183 / 5,400 credits · 22% left", Qoder's 183 + 1,000. Raising the min
lets keepMovedCurrent bring every moved Qoder and Qoder CN user up to it.
0.2.58 (OpenCode 2.x loading, plugins #657) is named too.

npm has 0.2.59: npm view --prefer-online --registry
https://registry.npmjs.org @magpie-community/opencode-qoder-auth version
-> 0.2.59.

Run at the pushed head (mote): go test -run 'Mov|Migrat|Qoder|Plugin'
./internal/provider ok; GOOS=linux and GOOS=windows go vet
./internal/provider clean; gofmt -l clean. The plugin's own bun test
packages/qoder: 382 pass, 0 fail.

Not tried: no real Qoder account. The reporter's 15% (85% used) isn't
reproduced from their screenshot's numbers, which leave 22% together.
This commit is contained in:
yetone
2026-11-03 16:43:21 +08:00
parent 219b60f494
commit c0d4f17a34
File diff suppressed because one or more lines are too long