The list declared before an account's own config is read (a key whose CLI reads no config, a config WorkBuddy doesn't answer) said output 0 for every model, and magpie filled in models.dev's: 384000 for deepseek-v4.1-flash, where WorkBuddy's /v3/config says maxOutputTokens 128000. Agents were told a 384000-token reply. The declared tuples take a fifth field, the output, for every model a real config in testdata names: deepseek-v4.1-flash and deepseek-v4-pro 128000 and glm-5.3-flash 131072 on workbuddy; default-model 24000, fast-model 32000, primary-model 72000, hy3 64000, gemini-3.5-flash 65536, glm-5.2 48000 and kimi-k3 32000 on workbuddy-ai. The rest stay 0 (left to models.dev, as before). The live list already carried the config's value. Run: HOME=$(mktemp -d) bun test packages/workbuddy/ on mote, 335 pass; bun scripts/check.mjs ok. Broken by hand: with index.mjs back at 0.2.25, the new test fails (hy3 64000 expected, 0 received; deepseek-v4.1-flash 0 for 128000). Not tried: a real WorkBuddy sign-in or key; the outputs of models no saved config names (hy4-preview-f, glm-5.3, kimi-k3-1, ...). Reported-by: sayagoodbyeplz (Discord)
27 lines
669 B
JSON
27 lines
669 B
JSON
{
|
|
"name": "@magpie-community/opencode-workbuddy-auth",
|
|
"version": "0.2.26",
|
|
"description": "OpenCode provider plugins for WorkBuddy's plans: WorkBuddy (CodeBuddy, copilot.tencent.com) and WorkBuddy AI (www.workbuddy.ai)",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": [
|
|
"index.mjs",
|
|
"opencode.mjs",
|
|
"opencode2.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"
|
|
}
|
|
}
|