sayagoodbyeplz on Discord: WorkBuddy's deepseek-v4.1-flash was told to
agents as replying 384000 tokens (models.dev's), but WorkBuddy serves
128000. Plugin 0.2.26 (magpie-community/plugins 7e01fa81) gives each
model it declares before the account's list is read its reply limit,
with the China build's deepseek-v4.1-flash at 128000. keepMovedCurrent
now brings every moved user's plugin up to it.
npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-workbuddy-auth version: 0.2.26, at landing.
Run (WSL magpie-desktop, Go 1.26.8, at this tree, since mote is down):
go test -tags nogui -run 'Mover|Moved|Migrat|ModelOutput|Output'
./internal/provider/: ok
Not tried: a real moved WorkBuddy account updating to 0.2.26.
Full suite not run at push.
Reported-by: sayagoodbyeplz (Discord)
liby233 on Discord: on every WorkBuddy model, from DeepSeek Harness, a
path the user asked to have repeated word for word,
"/root/DSH/Work/OC-182.92.66.95/", came back as
"/root/the agent harness/Work/OC-182.92.66.95/". The plugin's "Hide
DeepSeek Harness's name" (0.2.23, on by default) replaced every bare
DSH in user and assistant text. Plugin 0.2.25 (magpie-community/plugins
49d4042e) takes the bare name out of the system prompt and tools'
descriptions only, never out of a path or file name, and lets the
user's and assistant's words go as written; dsh's own runtime lines are
still reworded. keepMovedCurrent updates every moved user to it.
Run on mote at this tree (mote-run, base 578053d6a): go test -count=1
./internal/provider ok (160s); gofmt -l clean. Plugin side:
HOME=$(mktemp -d) bun test packages/workbuddy 334 pass at 49d4042e;
npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-workbuddy-auth version shows 0.2.25.
Broken by hand (plugin): replacing in user text again, and replacing in
a path in the system prompt, each turned the literal-path test red.
Not tried: a real WorkBuddy account through a moved install.
Reported-by: liby233
WorkBuddy 0.2.24 stops an account by a new "Total credits" window (the
plan's credits and the extra ones together) and sets "Credits" and
"Extra credits" aside, so the Routing page reads every account the same,
its plan's credits spent or not. Routing skipped every window set aside,
caps included, so a cap the user had set on "Credits" would have stopped
holding the account: magpie's change overriding the user's value.
Now a window set aside, not a pool's or one model's, rides in each
limit's pool (allowanceOf), as a pool's windows do, and holds the
account at a cap set on that window itself (WindowCaps.own), never at the
account's cap or a Codex credits hold, which never reached it before.
WithCapped marks such a window Capped with OwnCap, so the GUI shows the
mark and the "at its cap" note for it, counts no account cap on it
(windowCapOf), and offers its meter as a button only while it has a cap
of its own, to change or lift it; no new cap on a window set aside.
app.js grows 48 bytes, inside the core budget (no raise).
Run (mote): go test ./internal/provider (ok) and ./internal/gui
(TestCoreScriptBudget ok); window-cap, window-cap-pool and account-cap
GUI tests, both engines, 420/1100, five languages: 136 pass.
internal/gui's TestMainWindowCorners/macOS_26_SDK (#3949) and
i18n-keys "a plugin's words are its own" (#5327, #5332) are red the same
on origin/main a9b1877cf, files this change doesn't touch.
Broken by hand: allowanceOf without the set-aside loop,
TestAsideWindowKeepsItsOwnCap red ("the user's 50% cap on Credits, at
60%, no longer held: <nil>"); app.js without the meter's ownCap guard,
window-cap 20 of 80 red (the new test in every engine, width and
language).
Not tried: a real WorkBuddy account with a cap on Credits; the whole GUI
suite (the full Go suite runs after the tag).
plugins 4912c608 (npm 0.2.23, checked --prefer-online): a "Hide DeepSeek Harness's name" switch, on by default, takes dsh's identity lines out of what goes to WorkBuddy (NancyTom18 on X, an account banned after use from dsh). keepMovedCurrent brings moved users up to it.
Run: go test ./internal/provider on mote at this tree, ok (219s); gofmt -l clean. Not tried: a real WorkBuddy account.
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).
shenyebuwu on Discord signs in to WorkBuddy with 企业微信 (WeCom), and the
plugin's sign-in page had no WeCom entry. The plugin opened the login
page with version=2.0.0; WorkBuddy's China login page hides WeCom below
5.8.0. Plugin 0.2.21 (magpie-community/plugins a90b7aa4) opens it at the
desktop app's version, as WorkBuddy desktop does; keepMovedCurrent now
brings every moved user to it.
Run at this head (mote): gofmt -l internal/provider empty; go test
-timeout 45m ./internal/provider ok. npm view --prefer-online shows
@magpie-community/opencode-workbuddy-auth 0.2.21.
Not tried: a real WeCom sign-in to the end.
Kayphoon on Discord asked that routing spend first the WorkBuddy CN
account whose extra-credit packs expire soonest. Smart already orders
accounts by the soonest lapse a window it reads says (Allowance.Renewal,
Lapse, Pace), but extra credits only WorkBuddy's detail lists have
(plugin 0.2.17's "Extra credits" window) said their lapse only on that
window, which is set aside, and routing reads none set aside. Plugin
0.2.20 (magpie-community/plugins 311d628) puts it on the Credits window
too; keepMovedCurrent now brings every moved user to it.
Run at this head (mote): gofmt -l internal/provider empty; go test
-timeout 45m ./internal/provider ok. npm view --prefer-online shows
@magpie-community/opencode-workbuddy-auth 0.2.20.
Not tried: a real WorkBuddy CN account with expiring packs, routed
through the gateway.
opencode-workbuddy-auth 0.2.19 (plugins #663, kunghim) renames the China
build's token window from "Free model tokens" to "deepseek-v4.1-flash
tokens (est.)", since on copilot.tencent.com that model is charged x0.11
credits (testdata/config-561.json), and the window's ~200M cap is magpie's
own estimate: "151.5M / ~200M". WorkBuddy AI's card is unchanged. 0.2.18
was #657's OpenCode 2.x entry. keepMovedCurrent now updates every moved
user to 0.2.19.
npm view --prefer-online @magpie-community/opencode-workbuddy-auth@0.2.19:
version 0.2.19, sha512-8qnqnKk3/qOxZxZI+klWx7V/WX1FHvrSCRaZOvN63givYmQ355YpPob7gL7hjaHLDu8gmaq7jTb6aXBd8o3LDg==
Run on mote at this tree (origin/main 3088872e6 plus this and the next
commit's i18n words): go test -count=1 ./internal/provider ok (256.8s);
gofmt -l clean; GOOS=linux go vet -tags nogui and GOOS=windows go vet of
internal/provider and internal/gui ok. internal/gui: everything ok but
TestMainWindowCorners/macOS_26_SDK, the macOS 27 red filed as #3949 (red
alone too, an AppKit title-bar test).
The plugin itself was reviewed on plugins #663: full bun test 4900 pass,
check.mjs ok, and a load in magpie's host.js with a faked meter showed the
China card as "deepseek-v4.1-flash tokens (est.)" 151.5M / 2e8, aside.
Not tried: a real WorkBuddy China account's card after the update.
jiabubu on Discord (magpie 0.1.2774, workbuddy 0.2.16, a China-site free
account): the Routing page's WorkBuddy card read "Free plan · 0 / 500" with
no Extra credits row. The Routing card is as designed (the stage row shows
the window routing goes by, every window is in its tooltip and the account
row's wins line). What was missing was the window itself: 0.2.16 split
credits only by the resource summary, while WorkBuddy's own panel groups the
paid and free detail lists. workbuddy 0.2.17 (plugins da94c27, on npm) adds
the extra credits only those lists have as a set-aside "Extra credits"
window. Raising the min updates every moved user's plugin.
Run at this head on mote: go test -timeout 45m ./internal/provider/ ok;
GOOS=linux and GOOS=windows go vet ./internal/provider/ ok; gofmt -l clean.
npm view --prefer-online: 0.2.17.
Not tried: a real WorkBuddy account with extra credits (the China meter
answered 401 for the account I could read); jiabubu's own summary not seen.
Jiabubu (Discord, magpie 0.1.2738, Windows): a WorkBuddy account's quota
line under Routing → Accounts and keys showed the plan's Credits only,
with no extra credits (gifted, promo, bought). Fixed in the plugin,
magpie-community/plugins 52fff4d (workbuddy 0.2.16): "Extra credits" is
every kind but the plan's base, as WorkBuddy's own usage panel and the
summary's CreditGroups say (plan_bonus, addon, benefit), so a Pro
account's plan bonus no longer sits inside "Credits". This raises the
min so keepMovedCurrent brings every moved user to it.
npm view --prefer-online @magpie-community/opencode-workbuddy-auth
version: 0.2.16, before this commit.
Run on mote at this tree: gofmt -l internal/provider clean; go vet and
go test ./internal/provider -count=1: ok. The plugin's own run is in its
commit (whole plugins repo 4872 pass, 0 fail).
Not tried: a real account with extra credits on screen. The owner's
WorkBuddy AI account has plan base credits only (its card reads
"0.19 / 100", unchanged), and the China account's meter answered 401.
0.2.15 gives a chat whose max_tokens (or max_completion_tokens) is 1024 or
less no default reasoning effort. On 0.2.14, a 64-token session title on
deepseek-v4.1-flash-sg ended "length" with 64 reasoning tokens and no
text. npm --prefer-online had 0.2.15 when this landed.
Run on mote at this head plus the next commits' one-line Qoder/ZCode mover mins: go test ./internal/provider ok, gofmt -l
clean, GOOS=linux and GOOS=windows go vet ./internal/provider clean. The
plugin's own run record is in plugins d51bd50.
XiaoFeiyu9 (plugins#641): a WorkBuddy account paying credits read 99%
on deepseek-v4.1-flash's free window at 187.7M tokens, with 937 calls
answered and no refusal from WorkBuddy, and magpie routed away from it.
The window's 190M was a soft cap measured on two other accounts.
Plugin 0.2.14 (plugins eea8c9b) shows the window's sum against 200M,
marks it aside so routing never counts it as the allowance, and only
WorkBuddy's own 429 refusal makes it 100%. The gateway already rests
that model on that account until the refusal's reset. npm has 0.2.14
(npm view --prefer-online). This raises the mover's min so every
moved user gets it.
Run: go test ./internal/provider -run 'Mover|Moved|Migrat|WorkBuddy|Min'
on mote: ok. Plugin: bun test in packages/workbuddy, 314 pass; with the
aside taken out, 2 fail.
Not tried: a real China-build account; whether a paid account shares the
Free plan's window at all is unknown, the refusal decides either way.
xmoon76 on Discord: with WorkBuddy on, the bun plugin host sat at 99% CPU
and every session hung. Restarting didn't help; turning WorkBuddy off
did. The plugin's free-model daily window read magpie's usage ledger in
O(n^2), because pinned(chain) ran after every kept row. 16k rows took
10.5 s on each card refresh, all of it on the host's single JS thread, so
every plugin's chats waited behind it. workbuddy 0.2.13 (plugins
3167531) pins once per read and takes 14 ms. Raising the min makes
keepMovedCurrent bring every moved user to it.
npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-workbuddy-auth version: 0.2.13.
Run at this tree on mote (rebased onto 9c58c87e8, whose Qoder CN min touched
internal/provider, so it was run again after the rebase; c51bc9063 then landed with a
one-line ZCode min only, not run again):
- go test -count=1 -timeout 45m ./internal/provider: ok (126.5s)
- GOOS=linux and GOOS=windows go vet ./internal/provider: ok
- gofmt -l internal/provider: clean
Plugin side (plugins repo):
- The plugin's tests passed on mote and on WSL (Linux).
- Broken by hand three ways, each red.
Not tried:
- xmoon76's own ledger. The 16k-row case is built from the shape the
plugin reads.
- A host-side guard that names the plugin holding the thread is filed as
#4916, not built here.
workbuddy 0.2.12 (kunghim's plugins #625, the open half of #288) shows
a WorkBuddy (China) account's free-model daily token window, about
200M tokens a day as kunghim measured on two Free-plan accounts, kept
apart from WorkBuddy AI's 100M one, and reads the China refusal's
"将在 … UTC+8 重置" as its reset. npm has 0.2.12 (npm view
--prefer-online, registry.npmjs.org). keepMovedCurrent updates every
moved user's plugin to it.
Run at origin/main 1829cd52f plus these three commits (mote, macOS):
- gofmt -l internal/gateway internal/provider internal/plugin: clean.
- GOOS=linux and GOOS=windows go vet of the three: ok.
- go test -count=1 -timeout 45m ./internal/plugin ./internal/provider
./internal/gateway: plugin ok, provider ok; gateway one red,
TestCodexPoolSaysTheClientsVersion, which passes alone (-count=3)
and is another test's Codex identity leaking into it, filed as #4807,
untouched by this change.
- -v: TestPluginToldTheSession and TestMovedBuiltinsSayTheirPlugin pass.
- Rebased onto origin/main 52195b6b0 (it brings #3388's provider
change): gofmt clean, linux and windows vet ok,
internal/provider and internal/plugin ok, internal/gateway -run
'TestPlugin|TestMoved|Devin|WorkBuddy' ok. Pushed on 9f641daea,
whose Codex app-server change (codex_app_server.go, codex_daemon.go,
login_usage.go) touches none of these files; not run again on it.
Not tried: a real China-build account through magpie.
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.
anewuser6937 (Discord, plugins#590) saw one model in WorkBuddy's editor
and took the plugin for broken. They had turned on "Free models only"
themselves, but its label and description read in English in the Chinese
window, and nothing by the models said the list was filtered.
A plugin option (auth.options, magpie's own field; OpenCode's AuthHook is
provider/loader/methods and never reads it) may now give `labels`,
`descriptions` and `confirms`, each keyed by the window's language
("zh", "zh-TW", "ja", "de"), beside the plain strings, as a page's
`titles` do. The host keeps only non-empty strings under language names
of 16 or less, 16 languages at most, each capped as the plain one is
(60/300/300). The editor shows the exact language, then its first part
(zh-TW reads zh), else the plain words, in the row, the hint, and the
confirm dialog and its title. `filtersModels: true` says the plugin's
model list leaves models out while the switch is on; while one is on, as
saved, the Models field says under the chips "Only some models are
listed: the plugin option “…” is on." (zh 只列出部分模型:插件选项「…」已开启。,
zh-TW, ja, de too). An older plugin shows what it showed before, and an
older magpie shows a new plugin's plain words with no note.
WorkBuddy 0.2.10 gives "Free models only" in all four languages with
filtersModels (magpie-community/plugins aec58ae, on npm: `npm view
@magpie-community/opencode-workbuddy-auth@0.2.10 --prefer-online` on mote
says 0.2.10, latest), and the mover's min is raised to it so every moved
user gets it. The CLI's `magpie plugin options` stays English, as the CLI is.
The core scripts would have gone 608 bytes over their budget; three of the
provider editor's comments in app.js are cut down instead, no raise
(1,532,865 of 1,533,105).
Run, on mote (mote-run), at this tree:
- node --test plugin-option-words.test.cjs (new): Chromium and WebKit,
1100 and 420 wide, en/zh/zh-TW/ja/de, switch on and off: each
language's label and description, zh-TW falling back to zh and ja/de to
the plain words for a zh-only option, the note exactly once under the
chips in a .hint inside the editor with no sideways scroll, none while
off, the confirm in the language. With app.js put back: 19 of 21 red
in Chromium (only "en off" passes, both widths).
- With plugin-options.test.cjs and i18n-keys.test.cjs, both engines:
68 pass, 0 fail.
- go test ./internal/plugin ./internal/provider ./internal/cli: ok.
TestPluginOptions with host.js put back: red (empty maps, FiltersModels
false). The real WorkBuddy 0.2.10 index.mjs loaded into this host
(a temporary test, not kept): plugin.Providers lists free_only for
workbuddy and workbuddy-ai with all four languages and filtersModels true.
- go test ./internal/gui: TestCoreScriptBudget ok after the cut. Red,
and red the same at origin/main ed5872d18 (run there too):
TestSettingsSaveKeepsWhatItDoesNotSend (#4514), TestMainWindowCorners
/macOS_26_SDK on macOS 27 (#3949); TestColdTurnsTaken red once in the
package run and passed at origin/main (#4510, the same 0.00s red).
- gofmt -l: clean. go vet ./..., GOOS=linux go vet -tags nogui ./...,
GOOS=windows go vet ./...: ok.
- plugins: HOME=$(mktemp -d) bun test packages/workbuddy 303 pass 0
fail; the new freeonly test red 2 of 2 with index.mjs put back.
Not run: the whole GUI suite. mote and the WSL box were each running
another session's full GUI suite (hours left on both), and one runs per
machine; it runs on mote once that one ends. Not tried: a real WorkBuddy
account in the real app window. go test ./... was not run.
kongbai01203 saw WorkBuddy AI's kimi-k3 as image: false. That came from the
models the plugin declares before an account's own list is read (an API
key, or a /v3/config that failed). Those declarations said no model took
images, while both builds' /v3/config mark every model supportsImages.
plugins 6727a1e (workbuddy 0.2.9) declares images for every model except
WorkBuddy AI's GLM models, which drop them. keepMovedCurrent now brings
every moved user up to it.
Run:
- go test -buildvcs=false -count=1 -timeout 45m ./... on mote at this
commit (rebased on origin/main 4182e68ab, still main's head at push):
every package ok except internal/gui, with two reds already filed on
main and unrelated to this change: TestSettingsSaveKeepsWhatItDoesNotSend
(SearchAll, #4514) and TestMainWindowCorners/macOS_26_SDK (#3949).
internal/provider, internal/plugin and internal/gateway ok.
- npm view @magpie-community/opencode-workbuddy-auth version
--prefer-online: 0.2.9.
- The plugin side (in 6727a1e): bun test in packages/workbuddy, 301 pass.
declared-images.test.mjs goes red (0/2) with index.mjs at the previous
main. A real chat through the plugin's fetch to www.workbuddy.ai kimi-k3
with a blue|yellow PNG answered "Blue yellow".
Broken by hand: nothing on this side; the change is the min string.
Not tried: a real moved user's plugin updating from 0.2.8 to 0.2.9
through keepMovedCurrent; WorkBuddy (China) models with a real image.
@magpie-community/opencode-workbuddy-auth 0.2.8 (plugins 42a5055) takes
0.2.7's 100000-token cap on deepseek-v4.1-flash off the China build: three
users' China Free-plan accounts took 110k to 992k-token prompts on it, and
the vendor's own refusal names 1048576 as the maximum. The cap made agents
compact at 100k. A prompt WorkBuddy does find too long is its own 400
"prompt is too long", passed on as it came, which overflowed() reads as an
overflow (no rest, not retried). keepMovedCurrent brings every moved user
to it.
Run: go test -timeout 45m ./internal/provider/... on mote at 63cb1af3c plus this
change: ok. npm view @magpie-community/opencode-workbuddy-auth version
--prefer-online: 0.2.8.
Not tried: a real copilot.tencent.com request (my CN sign-ins answer 401).
0.2.7 lists a "none" level for deepseek-v4.1-flash and -sg. WorkBuddy
takes it (0 reasoning tokens) though its config calls them onlyReasoning
(#563). On copilot.tencent.com, deepseek-v4.1-flash's context is capped
at 100000 tokens, the reporter's literal "prompt is too long" limit (#561).
npm shows 0.2.7 (npm view --prefer-online, at landing).
Run at e2a65cbc9 plus this change: go test -timeout 45m ./internal/provider/ on
mote: ok (214.9s). gofmt -l: clean.
Not run: the full suite. This is a one-line constant, and the provider
package holds the mover's tests.
itspig (plugins #540, 2026-10-31) ran v0.1.2283 with workbuddy 0.2.5 on
the live account in a [workbuddy, volcengine] group: the refusal
"\nSorry, I can't respond to this question.\n" still reached the client
and the workbuddy try was done/200 with firstText 3208, volcengine never
asked.
The cause was in the plugin. copilot.tencent.com puts "tool_calls": []
on every delta (f2c7536d7), and the plugin's unsaid let a reply through
at the first delta with a truthy tool_calls, which [] is in JS. The gate
opened at the reasoning chunk, so the line went on as text and the
gateway, seeing text, rightly took the try as answered. 0.2.5's fixture
came from itspig's paste, read off magpie after chatTidy had dropped the
empty list. workbuddy 0.2.6 (plugins d0d0716) counts only a list with a
call in it.
- The workbuddy mover's min is 0.2.6 (npm view --prefer-online: 0.2.6).
- TestDeepSeekRefusalAfterThinkingFailsOver gets "workbuddy's wire":
what 0.2.6 hands on from that framing (tool_calls [], finish_reason ""
until the last, empty reasoning_content and refusal) is refused and b
answers. The gateway's hold and firstText don't count a delta with
only role, refusal "" or an empty list as text.
Run on mote, at this tree before the rebase onto origin/main and again
after it (see below):
- go test ./internal/gateway -run
'TestDeepSeekRefusalAfterThinkingFailsOver|TestWorkBuddy540EndToEnd'
-count=1: ok.
- go test ./internal/provider -run 'Mover|Moved|Workbuddy|WorkBuddy': ok.
- gofmt -l clean.
- End to end (TestWorkBuddy540EndToEnd, kept out of this commit, since it
needs the plugin's source beside it): the real workbuddy plugin loaded
by magpie's plugin host behind a fetch shim to a fake
copilot.tencent.com, signed in with an API key, in a group
[workbuddy-plugin/deepseek-v4.1-flash, b/m] under the test's sandbox
HOME, asked as a streamed chat, a one-body chat, Messages (Claude Code's
ask) and Responses (Codex's ask), for itspig's paste and for the wire
framing.
Broken by hand: the same end-to-end test with 0.2.5 (b5cc782) loaded is
red on the wire framing for chat, Messages and Responses (b never asked,
"Sorry" in the reply) and green on the paste, which is what itspig saw.
Not tried: a live WorkBuddy account; the trigger prompt was not run; the
full ./... suite.
itspig (plugins #540, 2026-10-30) found v0.1.2278 with workbuddy 0.2.4
still passed WorkBuddy's content_filter refusal to the agent: the real
chunk's content is "\nSorry, I can't respond to this question.\n", and
0.2.4 trimmed only the leading newline, so the line went on as an answer
and the group's next member was never asked. workbuddy 0.2.5 (plugins
b5cc782) trims both sides.
- The workbuddy mover's min is 0.2.5 (npm view --prefer-online: 0.2.5).
- TestDeepSeekRefusalAfterThinkingFailsOver gets a subtest with what
0.2.5 hands on from itspig's literal chunks (empty content and refusal
on the reasoning chunk, extra_fields/function_call null, role on the
content_filter chunk): the try fails as refused and b answers.
Run on mote at this tree: go test ./internal/gateway -run
TestDeepSeekRefusalAfterThinkingFailsOver -count=1 ok (3 subtests);
go test ./internal/provider -run 'Mover|Moved|Workbuddy|WorkBuddy' ok;
gofmt -l clean.
Broken by hand: the new subtest fed 0.2.4's output (the line with its
newlines left in the content_filter chunk) goes red.
Not tried: a live WorkBuddy account; the full ./... suite.
itspig (plugins #540): deepseek-v4.1-flash on WorkBuddy, through
group/tiered, reasoned ~5s, said "Sorry, I can't respond to this
question.", and ended finish_reason content_filter with 0 output tokens
under a 200. The try was recorded done/200, none of the 15 members behind
it was asked, and DeepSeek Harness failed "The model refused to complete
the request".
Two halves:
- workbuddy 0.2.4 (plugins 4883f94) takes the filter's canned line out of
a streamed chat that ends content_filter with nothing else said.
- refusesAfterThinking now holds DeepSeek's reasoning too (as Claude's,
GPT's and Gemini's), only while another candidate could answer: with it
let through as it came, a refusal after it could never go to the next
member. DeepSeek's own API documents finish_reason content_filter. The
cost: in a group with a member behind it, DeepSeek's thinking reaches
the agent once its text begins (kept alive meanwhile), as Claude's does;
on the last candidate it streams as before. GLM, Kimi and others are
unchanged.
- The workbuddy mover's min is 0.2.4 (npm view --prefer-online: 0.2.4).
Run on mote at this tree: go test ./internal/gateway -run
'TestDeepSeekRefusalAfterThinkingFailsOver|TestThinkingHeldFor|
TestRefusalAfterThinkingFailsOver|TestThinkingStreams' ok; go test
./internal/provider ok; gofmt -l clean. The full ./... suite was started at
this tree minus the one-line min and is still running; its result goes on
plugins #540 (owner rule: tag without waiting).
Broken by hand: without the deepseek prefix, TestDeepSeekRefusalAfterThinkingFailsOver/refused
goes red (DeepSeek's reasoning reached the agent, b never asked) and
TestThinkingHeldFor red for the three DeepSeek ids; /answered stays green.
Not tried: a real WorkBuddy refusal (no prompt reproduces it on demand);
the upstream's literal chunking isn't in the issue, so the fixture is
built from its fields (reasoning, content_filter, 0 tokens).
workbuddy 0.2.3 (plugins #513, MYCF711; merged as 3968cdd) sends a chat
refused as an unapproved channel (11128) once more with one more comma in
its opening, in system and assistant messages only, before the system
prompt is moved into the user message. A system prompt whose comma passed
goes with it from the next chat on, so a tool loop isn't refused on every
step. A refusal that stands names REFUSED.md before the hint.
Run: go test -timeout 45m ./internal/provider on mote, ok (142s).
0.2.3 is on registry.npmjs.org (dist-tags latest 0.2.3). The plugin was
reviewed at cb8a026: bun test in packages/workbuddy 271/271 and the root
suite merged with plugins main 3777/3777 on mote with outbound network
denied; removing the comma memory, its pre-send use, or the role filter
by hand each turned its test red.
Not tried: a live 11128 refusal against copilot.tencent.com.
workbuddy 0.2.2 (plugins #511, MYCF711) sends DeepSeek Harness's opener
as "You are an AI agent, powered by DeepSeek Harness.". That line passes
WorkBuddy's whole-line 11128 check and keeps the harness's name. Since
0.1.27 the plugin had put a neutral line in its place, which took the
name out.
Run: go test -timeout 45m ./internal/provider on mote, ok (168s).
0.2.2 is on registry.npmjs.org (dist-tags latest 0.2.2). The plugin was
reviewed at 4830b16: bun test 257/257 on mote, and with the old
rewording put back by hand the unflag tests went red. A live request to
workbuddy-ai/deepseek-v4.1-flash with the comma line came back 200.
Not tried: the China WorkBuddy site, because the review account's
sign-in answers 401 there.
0.2.1 (plugins b9cbb9d) names an enterprise account's sign-in
"nickname · enterprise", so signing in to 「WorkBuddy 教育公益版」 or a team
no longer replaces the same person's personal account (jwaitq on Discord).
npm view --prefer-online: 0.2.1.
Run at 4a4a90c23 + this change (mote): go test -timeout 45m
./internal/provider/ ok (124s); gofmt -l clean.
Not tried: a real education account.
workbuddy 0.2.0 claims a WorkBuddy (China) account's daily check-in
through the billing meter; an API-key account reports itself ineligible
instead of failing and being tried again every 30 minutes (magpie's
CheckinIneligible). 0.1.48 shows WorkBuddy AI's free model daily token
window on its card, read from magpie's usage ledger. keepMovedCurrent
updates every moved user's plugin from 0.1.47 to 0.2.0.
Saved accounts: read packages/workbuddy from 0.1.27 to 0.2.0 in a fresh
clone of magpie-community/plugins. The provider ids stay workbuddy and
workbuddy-ai, and an oauth account is still read from access, refresh,
expires, uid, domain and enterpriseId. API-key accounts ({type: "api"},
0.1.37) are an addition. Nothing a moved user saved is renamed.
npm view @magpie-community/opencode-workbuddy-auth version --prefer-online
says 0.2.0 at landing (the publish run is red only for think-tags,
plugins#180; the registry has 0.2.0 as latest).
Run (mote-run, at this tree): gofmt -l internal/provider (clean);
go vet ./... on darwin, GOOS=linux -tags nogui, GOOS=windows (ok);
go test -tags nogui ./internal/provider -timeout 45m (ok, 87.8s).
Not tried: a real WorkBuddy account's check-in through magpie.
leaves5760 on Discord: every account in a group of WorkBuddy AI accounts gets
403 "request illegal" and is restricted for abnormal behaviour. The plugin
derived X-Conversation-ID and X-Conversation-Request-ID from the session
and turn alone, so one session spread over the group's accounts sent the
same ids under every account's X-User-Id. WorkBuddy's own client (5.9.3,
CLI 2.165.0) is signed in as one account and never does that. 0.1.47
(plugins 1e7122e) hashes the account into both ids, and re-derives them
when a 401's retry goes as another account. A divergence from the
official client, not shown to be the cause of the restrictions.
npm view @magpie-community/opencode-workbuddy-auth version --prefer-online:
0.1.47.
Run at this head (parent c201fe226): go test -timeout 45m ./internal/provider
on mote: ok; gofmt -l clean. The plugin's record (209 pass, the two new
tests red with the account left out) is in plugins 1e7122e.
Not tried: a real WorkBuddy chat through the plugin host.
Two Discord users report WorkBuddy AI accounts answering 403 11140 (the
vendor's "account restricted due to unusual activity"). The plugin was
sending WorkBuddy AI's chats as WorkBuddy AI 5.8.4 (CLI 2.161.0, no
X-Agent-Runtime) while its update feed has served 5.9.3.42398134 (CLI
2.165.0, the China build's CLI byte for byte) since 10-27. 0.1.46
(plugins b08a6c1) sends WorkBuddy/5.9.3 workbuddy-ai/5.9.3 CLI/2.165.0,
X-IDE-Version 5.9.3 and X-Agent-Runtime local-agent. Not shown to be the
cause of the restrictions; it is a header that no longer matched.
npm view @magpie-community/opencode-workbuddy-auth version --prefer-online:
0.1.46.
Run at this head (parent e61e10535): go test -timeout 45m ./internal/provider
on mote: ok; gofmt -l clean. The plugin's record (207 pass, 2 red on
0.1.45's index.mjs) is in plugins b08a6c1.
Not tried: a real WorkBuddy AI chat through the plugin host.
iwinux on Discord (10-28 ~22:30 UTC+8, magpie v0.1.1812): the Magpie Image
MCP through WorkBuddy AI answered
400 Bad Request: Unmarshal create image params failed with error:
invalid character '\x1f' looking for beginning of value (11101)
from the minute plugin 0.1.43 was published (14:30Z). 0.1.43 gzipped every
non-Messages body its fetch sent, and drawWorkBuddy's JSON to
/v2/images/generations and /v2/images/edits goes through that fetch; the
images API reads plain JSON only ('\x1f' is gzip's first byte). magpie
passes the JSON through unchanged. 0.1.45 (plugins 880cd93) gzips only a
chat completion, and gives only a chat the model's default effort.
npm view @magpie-community/opencode-workbuddy-auth version --prefer-online:
0.1.45.
Run at this head (parent 87a983423): go test -timeout 45m ./internal/provider
on mote: ok; gofmt -l clean. The plugin's own record (red on 0.1.44 with
the reporter's message, 207 pass on 0.1.45) is in plugins 880cd93.
Not tried: a real WorkBuddy drawing through the plugin host.
0.1.44 (plugins 95fa761) hashes a huge chat's conversation and turn ids
from its pieces instead of joining the whole user message into new
strings, and reads the one parse for "Free models only" and for a model
that wants a reply after tools. On the issue's 45 MiB repro on mote (4
requests, Bun 1.4.2) the peak goes from 717-760 MiB (0.1.43) to 583 MiB,
one request 390 to 275 MiB; every byte sent is held to 0.1.43's by the
plugin's sent.test.mjs.
npm view @magpie-community/opencode-workbuddy-auth version
--prefer-online: 0.1.44.
Run at this head (parent 89f3865ef): go test -timeout 45m
./internal/provider on mote: ok; gofmt -l clean.
Not tried: a live WorkBuddy request through the plugin host.
troilus1011 on X: WorkBuddy's DeepSeek in OpenCode thought only at low or
high. OpenCode's default names no reasoning_effort and WorkBuddy doesn't
think without one (0 reasoning tokens, measured on www.workbuddy.ai);
WorkBuddy's client sends the model's reasoning.defaultEffort ("high").
workbuddy 0.1.43 (plugins f4d48ac) sends that default when a chat names
none; a named effort, none too, goes as it came.
runmiNeverstop on X: 2.89 GB up to copilot.tencent.com. WorkBuddy's client
gzips model-request bodies (RequestBodyGzip in both builds' product.json);
the plugin sent plain JSON. 0.1.43 gzips chat-completions bodies on both
builds.
keepMovedCurrent brings every moved user to 0.1.43.
Run (on mote, at this tree): go vet ./internal/provider, go test
-timeout 45m ./internal/provider: ok. npm view
@magpie-community/opencode-workbuddy-auth@0.1.43 --prefer-online: 0.1.43
(latest). The plugin's own record (197 pass, broken by hand, live runs on
www.workbuddy.ai) is in plugins f4d48ac.
Not tried: a live chat on the China build (401 to every token here), the
reporters' own OpenCode sessions, a moved account updated end to end.
workbuddy 0.1.42 parses a chat once on its way to WorkBuddy instead of
once a step (system, tools, tool_choice, headers, model, system key),
and sends the bytes it got when nothing changed them. On jihuayu's
45 MiB chat that is 7 parses down to 2 and the plugin host's peak RSS
from about 1 GB to about 680 MiB, with the bytes sent the same
(plugins f2b0dac, its oneparse.test.mjs). keepMovedCurrent brings every
moved user up to it.
Run at this head (efb55b5c9 + this), on mote:
go vet ./internal/provider/ (darwin, linux, windows): ok
go test -timeout 45m ./internal/provider/ -run 'Moved|Mover|WorkBuddy|Plugin': ok 14.7s
npm view --prefer-online: 0.1.42 before the push.
Real account: the plugin's loader on a WorkBuddy AI account returned
200 with 0.1.42's code (plugins f2b0dac's record).
Reported-by: jihuayu (plugins#461, #4004)
workbuddy 0.1.41 (plugins #450, MYCF711) sends a package with no cycle
total as a "Prepaid credits" balance window (#3950). npm view
--prefer-online showed 0.1.41 before this change.
Run on mote at this tree: gofmt -l internal/provider (clean), go vet
./internal/provider, go test -tags nogui -run 'Mover|Moved|Migrat|
WorkBuddy|Min' ./internal/provider ok. Not run: the full suite (a
one-line version string).
WorkBuddy accounts used through magpie are being restricted, and a report
on X says WorkBuddy changed how it checks request-header fingerprints.
The plugin sent WorkBuddy/5.5.6 as its User-Agent and IDE version. Each
build's current desktop app (China 5.9.3 with CLI 2.165.0, WorkBuddy AI
5.8.4 with CLI 2.161.0, read from their update feeds, never run) sends
"WorkBuddy/<app> <appName>/<app> CLI/<cli>", the app's version as
X-IDE-Version, X-Agent-Type on both builds, X-Agent-Runtime: local-agent
on 5.9, and the OpenAI SDK's X-Stainless-* headers. Plugin 0.1.40
(magpie-community/plugins b2fe48e) sends them; npm view --prefer-online
gives 0.1.40. keepMovedCurrent brings every moved user up to it.
Run at a42d90d7d plus this change, on mote:
go test ./internal/provider/ -count=1 -timeout 45m: crashes in
TestUnreadLoginsWriteErrorsKeepCredentials (filememo synctest close,
#3632, open). With that test skipped, three fetch tests fail
(TestFetchAsksOneListOnceForTwoBasesOfIt,
TestFetchUnionsProtocolListsWithoutChat, TestFetchAsksASharedBaseOnce);
they fail the same with this change stashed at a42d90d7d (#3854, open).
gofmt -l clean; GOOS=linux go vet ./internal/provider clean.
Not tried: a real WorkBuddy account's chat with plugin 0.1.40, and the
full go test ./... suite.
uk.jent on Discord: through WorkBuddy, Grok Build's chat.completions
history lost its thinking. magpie's gateway and the plugin pass an
assistant message's reasoning_content on byte for byte (checked with a
scratch gateway test posting Grok Build 1.0.67's literal second request
to a fake plugin upstream); WorkBuddy itself drops reasoning_content,
and its own client sends `reasoning`. Plugin 0.1.39
(magpie-community/plugins 7f99447) sends it that way.
keepMovedCurrent brings every moved WorkBuddy user up to it.
Run: npm view --prefer-online shows 0.1.39. internal/provider:
gofmt -l clean; go vet for darwin, windows and linux; the mover tests
(-run 'Mover|Moved|Migrat|Plugin|WorkBuddy|Min') ok; the whole package
with -skip TestUnreadLoginsWriteErrorsKeepCredentials (crashes, #3632)
red only on TestFetchAsksASharedBaseOnce and its two siblings, #3854,
red on main before this change.
Broken by hand: the plugin's new test, red on its old index.mjs (see
the plugins commit). Nothing here to break: a one-line min.
Not tried: the China build (copilot.tencent.com) live; Grok Build end
to end through WorkBuddy.
WorkBuddy's plugin 0.1.38 adds a "Free models only" switch (a plugin option)
that lists only WorkBuddy's free models and refuses any other before it is
sent. Its list goes by the switch, but SetProviderOptions only handed the
values over: the host cleared its infos while Go kept provCache, so the
Providers page and /v1/models showed the old list until something else
re-read it. SetProviderOptions now forgets the kept providers (whether the
host runs or not), so the next Cached() lists them again. Nothing else runs
on a change. The workbuddy mover's min is 0.1.38 (npm view --prefer-online
at landing: 0.1.38).
Run:
- go test ./internal/plugin ./internal/provider -count=1 -timeout 45m at
this head (5a3292354 + this): internal/plugin ok (389s); internal/provider
FAIL on TestUnreadLoginsWriteErrorsKeepCredentials, "close of synctest
channel from outside bubble" in filememo.Forget, which is #3632 (open, on
main since 091153bf, nothing here touches it). TestPluginOptions now lists
a model only while its option is on, and only base-model after it is off.
- Rebased onto 3aead9c62 after the run; its new commits touch only
internal/provider/codex_daemon*.go and codex_app_server_test.go. go vet
./internal/plugin ./internal/provider ok there; a rebuild to test again
failed to link for a full disk (291MB free).
- gofmt -l clean; GOOS=linux and GOOS=windows go vet ./internal/plugin
./internal/provider ok.
- Real accounts, sandbox HOME, dev build of this tree on 3516/3517 with the
plugin added by path: POST /api/settings/plugin-option free_only on for
workbuddy-ai took its list from 26 to 2 (hy3, deepseek-v4.1-flash) within
2s with no restart; workbuddy kept 19. gpt-5.4 got the plugin's 404 and
was not sent; hy3 and deepseek-v4.1-flash answered. Off: 26 again, and
gpt-6-luna and gpt-5.4 answered.
Broken by hand: without forgetProviders in SetProviderOptions,
TestPluginOptions fails ("with beta on, optco lists "base-model"").
Not tried: the switch clicked in the GUI window (the API it calls was);
Windows and Linux apps.
opencode-workbuddy-auth 0.1.37 (plugins 4bde462) adds an API-key sign-in
for both builds: the key from the site's profile/keys page is sent as
X-API-Key and Bearer, as CodeBuddy Code 2.177.0 sends CODEBUDDY_API_KEY.
npm view --prefer-online: 0.1.37. Raising the mover's min makes
keepMovedCurrent update every moved user.
Run at this head: go test ./internal/provider/ with -skip
TestUnreadLoginsWriteErrorsKeepCredentials ok (that test crashes on main,
#3632); gofmt clean.
Not tried: a real WorkBuddy API key.
opencode-workbuddy-auth 0.1.35 (magpie-community/plugins 9da5cd3) gives
the Credits window the reset and span of the plan's current cycle, from
the package SubscriptionPackageCode names, as WorkBuddy 5.5.6's client
does. Without it the card showed 46% used beside "Not used yet".
keepMovedCurrent brings every moved user up to it.
Run (macOS, sandbox HOME, at ef0a03e13 + cabef3a4c + this):
- npm view @magpie-community/opencode-workbuddy-auth@0.1.35 version
--prefer-online: 0.1.35.
- go test ./internal/provider -run 'Mov|Migrat|WorkBuddy|Workbuddy|Plugin|
Retir|Adopt|HandOver': ok, 130 tests pass. gofmt -l: clean.
- go test ./internal/provider (whole package): crashes in
TestUnreadLoginsWriteErrorsKeepCredentials with "close of synctest
channel from outside bubble"; it crashes the same without this change
(#3632).
- The plugin itself, against the real WorkBuddy AI account read-only:
Credits 89.2 / 2000, resetsAt 2026-10-28T16:40:52Z, span 2591999.
Not tried: a China-site (copilot.tencent.com) account, whose desktop
token here answers 401; a real move in magpie.
wakkana on Discord: WorkBuddy accounts with one display name collapse
into one, deduped by name (wbWho's nickname, addSideLogin's EqualFold).
Where that runs today: WorkBuddy's built-in sign-in is gone, so
addSideLogin no longer writes WorkBuddy accounts. A sign-in through the
plugin goes to the plugin host, whose settle already keeps two accounts
of one name with different uids apart and lets the same uid replace
itself (#413, TestPluginSameNameOtherUID, passes at this head). What was
left by name is the mover, for accounts not moved yet:
- wbLogins dropped WorkBuddy desktop's account when an account magpie
signed in had the same nickname, whatever its uid (the generic "one of
magpie's stands for the agent's own" rule). Now it stands for it only
when the uid matches; one removed in magpie stays out.
- renewedSince matched by name, so the desktop's marker read as the
other "Me" renewed and the move would never commit. Moving and
movedAccount carry the vendor's id (WorkBuddy's uid), matched by it
where both have one; the agent's own is never compared; putBack skips
by plugin key, not name.
Other movers have no id set, so they match by name as before; their
built-ins name accounts by email or login. The live addSideLogin callers
(Copilot, Google, ChatGPT API) name accounts by login or email too.
Sibling plugin: zcode 0.1.29 (plugins 5c9b7a4) now gives a uid, its
min is raised in a separate commit.
Run on origin/main 1dfa28484 plus this change; rebased onto 180cfb565,
whose two commits touch only internal/redact and the GUI:
go test -timeout 45m -count=1 ./internal/provider ./internal/plugin: ok.
GOOS=linux and GOOS=windows go vet ./internal/provider, gofmt -l: clean.
Broken by hand: TestWorkBuddyMoverSameNameOtherUID is red with
workbuddy.go from HEAD (one account moved) and, separately, with
same() by name only (the other account read as renewed).
Not tried: a real move with two same-name WorkBuddy accounts. Accounts
the old built-in already collapsed are gone; nothing brings them back.
Not run: the whole suite.
Mover mins raised to the versions npm has at landing (npm view
--prefer-online): zcode 0.1.28 (plugins #369, #379), cursor 0.2.22
(#377), workbuddy/workbuddy-ai 0.1.34 (#337, #378, #346), qoder/qoder-cn
0.2.36 (#323, #378, QwenWork #319). keepMovedCurrent updates every moved
user's plugin to them.
Run: go test ./internal/provider/ ok (152s); gofmt -l clean.
Not tried: a real move or upgrade on a real account; the plugin fixes
themselves were reviewed and tested in the plugins repo, not against
the vendors' APIs.
wenchen855443 on X reported that WorkBuddy requests return 401.
Plugin 0.1.31 (magpie-community/plugins f658842) handles a 401 on a
chat or a usage read like this:
- It renews the sign-in once, whatever the token's time, and sends the
request once more. A token another process saved since is used
first; a desktop sign-in re-reads the app's file instead of renewing.
- If there is no new token, or the retry is refused too, it answers 401
with a message to sign in again: Providers → WorkBuddy → this
account's Sign in again.
- It sends X-Magpie-Sign-In: expired only on WorkBuddy's word that the
sign-in is gone: the refresh token was refused, or the token got
invalid_token with nothing to renew it with.
Only the min changes. keepMovedCurrent brings every moved user's plugin
up to it.
The min is the version npm has at landing: npm view
@magpie-community/opencode-workbuddy-auth version --prefer-online gives
0.1.31. The publish run (39967751526) is red only for think-tags' known
E404 (plugins#180); its log shows + ...workbuddy-auth@0.1.31.
Run (rebased on origin/main, run again after the rebase):
- go test ./internal/provider/ -run
'Mover|Moved|Min|Migrat|Move|WorkBuddy|Retir|Plugin' -count=1, with
a scratch HOME: ok.
- gofmt -l internal/provider: clean.
- GOOS=linux and GOOS=windows go vet ./internal/provider/: ok.
Not tried: the full suite. The change is one string on the min line,
and the mover and plugin guards above cover it.
0.1.30 rewords the line tearslee measured WorkBuddy refusing (11128)
in an assistant message, which the 0.1.29 move of the system prompt
can't reach, so a long DeepSeek Harness chat isn't refused for good.
npm view --prefer-online --registry https://registry.npmjs.org says
0.1.30 at landing.
Run at f81913994 plus this change: gofmt; go vet (darwin, linux, windows,
-tags nogui) ./internal/provider; go test -tags nogui ./internal/provider ok.
Not run: the full suite; a one-line min with no code path change.
Wing on Discord (10-21) got 400 11128 "Illegal API invocation from an
unapproved channel" from WorkBuddy with an agent whose lines the plugin
didn't reword. WorkBuddy checks only system and assistant messages, against
lines it knows. Since 0.1.29 (magpie-community/plugins af360a5), a chat it
refuses that way is sent once more with its system prompt moved into the
first user message, inside <instructions> tags, and WorkBuddy's default
system prompt in its place. The refusal still rests no account, as since
2033df0f. The comment also records 0.1.28, which wasn't noted when it was
published.
npm view @magpie-community/opencode-workbuddy-auth version --prefer-online
--registry https://registry.npmjs.org: 0.1.29 (dist-tags latest 0.1.29).
publish.yml run 39584806291 published it ("+ ...workbuddy-auth@0.1.29").
The run is red only for think-tags' known E404 (plugins#180).
Run at e68a0b1db plus this change:
- gofmt -l internal/provider: empty. go vet ./internal/provider on darwin,
GOOS=linux -tags nogui and GOOS=windows: ok. go build ./...: ok.
- go test -timeout 45m -count=1 ./internal/provider: ok (207s). The first
try failed on "no space left on device" while another session's
`go test ./...` and four other suites ran at load ~145. After space came
back (42G), it passed.
- The full suite wasn't run: another session's `go test ./... -timeout
100m` was running, and only one suite runs on a machine at a time. The
change is the min string and its comment.
The plugin's real runs (both builds, OpenCode 2.0.25 and omp 18.9.1 with
tool calls) are in af360a5's body.
0.1.26 (plugins 68170b3): a model whose config gives supportsReasoning
and a default effort but no effort list lists low, high, max and that
default, instead of being marked as not reasoning (8 models in #255).
0.1.27 (plugins 6fd976a): DeepSeek Harness opens its system prompt with
"You are an AI agent powered by DeepSeek Harness.", which WorkBuddy
refuses as "Illegal API invocation from an unapproved channel" (11128);
the plugin rewords that one line to a neutral one (plugins #279, #280).
npm view @magpie-community/opencode-workbuddy-auth@0.1.27 version
--prefer-online printed 0.1.27 before the raise.
Run: gofmt -l (none); go vet ./... on darwin, GOOS=linux -tags nogui and
GOOS=windows: clean. `set -o pipefail; go test -timeout 45m ./...` at
1ebda9026 (this batch on 318697dce, movers then at qoder 0.2.21,
workbuddy 0.1.26, no devin raise): 65 packages ok, exit 0. Rebased onto
a9304efe0 (codex images, codex list tag, sessions decoders): gofmt, the
three vets and go test of internal/gateway, internal/provider,
internal/plugin and internal/sessions ok. Then the mover mins were raised
to qoder 0.2.23, workbuddy 0.1.27 and devin 0.1.21 (the only change
since, three strings): gofmt, the three vets of internal/provider and
go test ./internal/provider/ ok at the head of this batch.
WorkBuddy AI's /v3/config gives fast-model, balanced-model and
primary-model their credits as "x0.34 credits", "x0.59 credits" and
"x3.31 credits" (read live from the owner's account on 2026-10-19). Plugin
0.1.24 read those as unknown, so the three showed no rate. 0.1.25
(plugins c89cee5, bump ab38da6) strips a trailing "credits" unit only;
empty, negative, non-finite or other trailing text stays unknown. npm view
@magpie-community/opencode-workbuddy-auth version --prefer-online: 0.1.25.
The retired built-in has no wbCredits any more, so there is nothing to
mirror here.
Run on origin/main 1a3b92688 + this change, go1.26.8, load average ~420
from other sessions throughout:
- gofmt -l: nothing. go vet ./... ok; GOOS=linux go vet -tags nogui ./...
ok; GOOS=windows go vet ./... ok. go build, GOOS=linux go build -tags
nogui, GOOS=windows go build ok.
- set -o pipefail; go test -timeout 45m ./...: 60 packages ok, 4 FAIL, all
load and all in packages this doesn't touch. internal/provider, the one
it does, ok (1841s).
- internal/agent: 45m timeout, TestClaudeTierPickedAsTheMainModelStays
23s in (#2544, #2723).
- internal/gateway: 45m timeout, TestReplyNamesMember 1m7s in (#2870,
filed now).
- internal/library: 45m timeout (#2853).
- internal/gui: TestSetAnswersWhileDevinAndProvidersHang, a set took
18.2s (#1375). Rerun alone -count=3: ok.
wyp's WorkBuddy AI chats worked for a while, then every turn failed with
"502 WorkBuddy AI: ECONNRESET: The socket connection was closed
unexpectedly". Measured against the real endpoint from a sandbox HOME:
WorkBuddy's front door (www.workbuddy.ai and copilot.tencent.com) answers
a token it refuses with 401 only for a body up to 2097152 bytes. From
2097153 bytes on, it resets the connection without replying. So once a long
session is past 2 MiB and the sign-in is refused, every turn is a reset,
and Claude Code's "server-side issue, usually temporary" is wrong here.
Keep-alive reuse was ruled out: the server closes an idle connection with a
FIN at 60s, and Bun opens a new connection at 59.99s and 59.995s.
The fix is in the plugin (magpie-community/plugins 9a4ec86, npm 0.1.24).
When a chat over 2 MiB fails with no reply, it asks the meter once. On a
401 it returns that 401 with the remedy, kept as the plugin's other 401s
are. The chat is never sent again. This commit raises the mover's min so
keepMovedCurrent brings moved users to 0.1.24. The note also records
0.1.23 (plugins #138), which the min had skipped.
Run: gofmt -l on the file: clean. Plugin: bun test packages/workbuddy, 97
pass. Broken by hand (the new path rethrows at once), 3 of the 5 new
socket-fake tests go red. npm view --prefer-online shows 0.1.24.
Not run: go vet (darwin/linux/windows, -tags nogui) and go test, because
the disk had 0-1 GB free (df -g /), below the 3 GB floor. The change is
the one min string and its comment. Not run either: magpie's gateway end
to end with 0.1.24.
Full suite: SUITE_LINE
hheei's WorkBuddy account reached 560 / 560 credits. The plugin's credits
window covered every model, so magpie ranked the account spent, and last,
for deepseek-v4.1-flash too, which costs nothing. Plugin 0.1.23
(magpie-community/plugins ec8ae09) gives that window notModels = the
models the account's own config lists as free (x0.00, or free at night).
magpie already scopes a window by models/notModels (quotaOfPlugin ->
Limit.matches). This raises the mover's min, so keepMovedCurrent updates
moved users to 0.1.23.
Ran in the plugin repo: bun test (92 pass), and the 2 new usage tests
went red with spareFree taken out by hand. `npm view
@magpie-community/opencode-workbuddy-auth version --prefer-online` shows
0.1.23. Not tried against a real account at 100% credits.
Ran (on origin/main 01c41e8ba): go test -p 1 -tags nogui ./internal/provider ok; go vet -tags nogui GOOS=darwin/linux/windows ok.
Full suite: SUITE_LINE
The mover's min, so keepMovedCurrent updates every moved user's plugin.
workbuddy 0.1.22 (plugins a6bed5e): Kimi (kimi-k3-1, kimi-k2.7) and
DeepSeek turn away tool schemas MCP servers commonly send (an enum with
no type or of several types, an empty enum, true/false where a schema
goes, a required that isn't a list, an unknown type) with 400 11133 /
11129. It is the request's content, not the account. The plugin now
gives each the shape these models take, meaning the same. Tried on the
owner's real account: each refused shape 400 before, 200 after.
On npm: npm view @magpie-community/opencode-workbuddy-auth version is
0.1.22 (tarball holds fitShape).
Run: gofmt -l, go vet ./internal/provider for darwin, GOOS=linux -tags
nogui and GOOS=windows, go test ./internal/provider (ok, 439s). Not
tried: a moved user's update in a running magpie.
The movers' min, so keepMovedCurrent updates every moved user's plugin:
- kiro 0.1.11: a thinking model offers xhigh as its own level (50k
budget), so Claude Code's xhigh isn't routed as max (plugins#120).
- workbuddy 0.1.21: a model free only at night (Hy4 preview, 23:00-08:00)
is never said free, and a whole-day discount shows the price before it,
from WorkBuddy's modelPromotions (plugins#121).
- factory 0.1.27: droid's Fast Mode models (Opus 5.5/5/4.8, GPT-5.5/5.4/
5.3-Codex), and fast asked of a base model sent to its Fast Mode model
(plugins#119).
All three are on npm (npm view: 0.1.11, 0.1.21, 0.1.27).
Run: gofmt -l, go vet ./internal/provider for darwin, GOOS=linux -tags
nogui and GOOS=windows, go test ./internal/provider (ok, 449s under load
~280). Not tried: a moved user's update in a running magpie.
0.1.20 (plugins a4f8178) resends a chat that gemini-3.8-flash refused
with 11153 "the conversation must end with a user message". The resend
puts an empty assistant message between the tool results and the
user's message. a4f8178's body records the test on the owner's real
WorkBuddy AI account. npm view shows 0.1.20 published.
Ran: gofmt -l; go vet on darwin, GOOS=linux (nogui) and GOOS=windows
for internal/provider; go test -tags nogui -run
'Mov|Migrat|Plugin|Keep|WorkBuddy|WB' ./internal/provider, ok.
Not tried: a moved user's live update to 0.1.20 through keepMovedCurrent.