provider: WorkBuddy's mover min is 0.2.22, extra credits keep the account going once the plan's are spent (ferock)

ferock on Discord (2026-11-05, WorkBuddy China): once an account's base
credits were used up magpie moved to another account, though WorkBuddy
goes on serving it on its extra credits. workbuddy 0.2.22
(magpie-community/plugins 36fc59a7) sets the plan's Credits window
aside once it is spent with extra credits left, and Extra credits stops
the account, for the extra credits only the detail lists carry too, as
the summary's own split already did. keepMovedCurrent brings every moved
user up to it.

npm: `npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-workbuddy-auth version` answered 0.2.22
before this commit (the publish run is red only on think-tags 0.1.1's
E404, plugins#180).

Run at this tree on mote: go test -timeout 45m ./internal/provider/ ok
(302.7s); gofmt -l clean.
Not tried: a real move to 0.2.22, or any real account with extra credits
(the China desktop sign-in here is refused 401 by the billing meter).
This commit is contained in:
yetone
2026-11-05 16:20:56 +08:00
parent d620ff6b54
commit b63b289589
File diff suppressed because one or more lines are too long