provider: WorkBuddy's mover asks for opencode-workbuddy-auth 0.2.11, whose card shows the plan's credits apart from gifted ones (akic404)
akic404 on Discord: "workbuddy 积分总量可否分离套餐内的总量和赠送的总量?…
现在这样那个匀速用量线实际没意义的". The plugin summed every package of the
resource summary into one "Credits" window, so gifted and activity credits
used long ago put the card at most of its allowance on the first day of
the month. magpie-community/plugins 486a68a (workbuddy 0.2.11) splits it
by package code, as WorkBuddy's own client groups them: "Credits" is the
plan's packages (those the client refreshes each cycle, or the named
subscription) with the plan's cycle, "Extra credits" the ones that only
lapse. One of the two is set aside, so routing still stops the account
only when both are spent. keepMovedCurrent brings every moved user up to
it.
Run, on mote at this tree (origin/main 18c397623):
- gofmt -l internal/provider: clean; GOOS=linux and GOOS=windows go vet
./internal/provider: ok.
- go test -count=1 -timeout 45m ./internal/provider: ok (102.9s).
- npm view @magpie-community/opencode-workbuddy-auth version
--prefer-online --registry https://registry.npmjs.org: 0.2.11.
- The plugin side (in 486a68a): the plugins repo's whole bun test, 4730
tests, 0 fail; packages/workbuddy 305 pass; its new tests red on the
old index.mjs (3 fail, "282 / 3400" where "0 / 500" is wanted).
Broken by hand: nothing on this side; the change is the min string.
Not tried: a full go test ./... (only internal/provider, which holds the
mover); a real moved user's plugin updating to 0.2.11; akic404's own
account. "Extra credits" has no GUI translation yet, so it reads in
English, as "Prepaid credits" does.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user