Files
plugins/packages/workbuddy/package.json
T
yetone fee318fed4 workbuddy 0.2.7: deepseek-v4.1-flash lists none (#563); copilot.tencent.com's takes 100000 tokens (#561)
#563: deepseek-v4.1-flash and deepseek-v4.1-flash-sg list a "none"
level. Both sites' /v3/config call them onlyReasoning, so WorkBuddy's
own client hides the off switch and the plugin listed none of it. They
take it anyway. On WorkBuddy AI on 2026-10-31, reasoning_effort "none"
answered 200 with 0 reasoning tokens (twice on -flash, once on -sg).
"low" spent 1221 and 1127 reasoning tokens, and no effort (the plugin's
default high) spent 1219. glm-5.3-flash still lists no none. The
default effort stays the config's high.

#561: on the China build (copilot.tencent.com), deepseek-v4.1-flash's
context is capped at 100000 (SITES.workbuddy.contextCap, contextOf). A
smaller config value is kept. The reporter's vendor error was "prompt is
too long: 100001 tokens > 100000 maximum", seen 11 times on 2 accounts,
while glm-5.3-flash on the same endpoint takes 1M. The config says
1000000 on both sites. WorkBuddy AI's deepseek-v4.1-flash took 148,793-
and 181,887-token prompts, so that site keeps the million.

Run:
- deepseek-flash.test.mjs (new, against testdata/config-561.json, the
  real configs cut to the models compared) and efforts.test.mjs,
  against the old index.mjs on mote: 5 fail, 3 pass. The ones that
  pass are the glm/no-none and unchanged-sibling checks.
- The workbuddy package on mote, HOME=$(mktemp -d) bun test: 297 pass,
  0 fail.
- bun scripts/check.mjs on mote: ok.
- Real WorkBuddy AI account in a sandbox HOME, through the plugin loader:
  the none/low/default and long-prompt numbers above.

Not tried: the China build itself. Both CN sign-ins I have (desktop on
this Mac and on the Windows box) answer 401 on chat, so the 100000 cap
rests on the reporter's literal error, not on a reply of my own.
2026-10-31 20:17:58 +08:00

25 lines
611 B
JSON

{
"name": "@magpie-community/opencode-workbuddy-auth",
"version": "0.2.7",
"description": "OpenCode provider plugins for WorkBuddy's plans: WorkBuddy (CodeBuddy, copilot.tencent.com) and WorkBuddy AI (www.workbuddy.ai)",
"type": "module",
"main": "./index.mjs",
"exports": "./index.mjs",
"files": [
"index.mjs",
"README.md"
],
"keywords": [
"opencode",
"opencode-plugin",
"workbuddy",
"codebuddy"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/workbuddy"
}
}