provider: moved ZCode users get plugin 0.1.12 and moved WorkBuddy users 0.1.10 — ZCode's counted windows carry their amount and limit so the card's count follows used/left (#659, magpie-community/plugins#35); WorkBuddy's credits-used-up error (code 14018, matched as the whole code) says so with the nested message (plugins#25). Both versions resolve with npm view. go test -tags nogui ./internal/provider under a temp HOME passes; the plugins' own bun tests passed at merge. Not tried with a real ZCode or WorkBuddy account here.

This commit is contained in:
yetone committed 2026-10-07 18:52:23 +08:00
1 parent bed306ae60
commit 92e4fc32fa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ func init() {
for _, w := range []*wbSite{wbCN, wbAI} { for _, w := range []*wbSite{wbCN, wbAI} {
movers[w.id] = &mover{ movers[w.id] = &mover{
pkg: "@magpie-community/opencode-workbuddy-auth", pkg: "@magpie-community/opencode-workbuddy-auth",
min: "0.1.9", // Codex's and Claude Code's chats pass WorkBuddy's channel check (#182); a failure's status and its sign-in mark as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; the credits' count beside their share (#659) min: "0.1.10", // credits used up (code 14018) say so, with the nested error message (plugins #25); Codex's and Claude Code's chats pass WorkBuddy's channel check (#182); a failure's status and its sign-in mark as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; the credits' count beside their share (#659)
agents: []string{w.id}, agents: []string{w.id},
out: func() ([]Moving, error) { out: func() ([]Moving, error) {
var out []Moving var out []Moving
+1 -1
View File
@@ -21,7 +21,7 @@ import (
func init() { func init() {
movers["zcode"] = &mover{ movers["zcode"] = &mover{
pkg: "@magpie-community/opencode-zcode-auth", pkg: "@magpie-community/opencode-zcode-auth",
min: "0.1.11", // a gift plan ZCode holds but hasn't granted is named on the card, to claim in the ZCode app (plugins #30, #1001); 0.1.10's gift-only buckets and 0.1.9's trial entries (plugins #21) kept min: "0.1.12", // a counted window carries its amount and limit, so the card's count follows used/left (#659, plugins #35); 0.1.11's gift plan ZCode holds but hasn't granted is named on the card, to claim in the ZCode app (plugins #30, #1001); 0.1.10's gift-only buckets and 0.1.9's trial entries (plugins #21) kept
agents: []string{"zcode"}, agents: []string{"zcode"},
// a Start Plan account was never served GLM-5.3, by the built-in // a Start Plan account was never served GLM-5.3, by the built-in
// or by ZCode, and the plugin lists it no more than they do; its // or by ZCode, and the plugin lists it no more than they do; its