SuperWheel bisected DSH 0.2.2-rc.3's 37-tool request against Zen on 2026-11-16 (#632): with 0.1.27 it still drew 429 FreeUsageLimitError. Alone, only edit, read and skill were refused. Each of those three descriptions was refused under a neutral name; edit and read were refused by name together with their own parameters (neutral description), while the same parameters under `foo` were served. - REFUSED_DESCRIPTIONS: the three descriptions, matched whole after trimming, go reworded with the same meaning. - REFUSED_WITH_PARAMETERS: edit (file_path, old_string, new_string) goes as text_replace, read (file_path, offset, limit) as file_view; a call of either comes back under DSH's name through the existing renamed map. A read or edit without those parameters (OpenCode's own read takes filePath) keeps its name. - normalizeTools now renames before it adds the core stand-ins, so a renamed edit or read still has Zen's stand-in of that name beside it; `declared` is taken before the rename, as before. - README says so. Run (mote, HOME=$(mktemp -d)): - bun test in packages/zen-free: 228 pass, 0 fail. - bun scripts/check.mjs zen-free: ok. Broken by hand: origin/main's provider.mjs with the new tests: the DSH test fails on all three protocols. Not tried: Zen itself. This machine's address is over Zen's free allowance, so the reworded descriptions and the new names are not known to be served; they are a guess built on the reporter's table (shorter wordings and other names were served there). SuperWheel is asked to replay the same 37 tools through 0.1.28.
15 lines
760 B
JSON
15 lines
760 B
JSON
{
|
|
"name": "@magpie-community/opencode-zen-free-auth",
|
|
"version": "0.1.28",
|
|
"description": "OpenCode Zen free models through the public credential, with native streaming protocols",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "provider.mjs", "models.mjs", "stream.mjs", "tool-response.mjs", "README.md", "LICENSE"],
|
|
"keywords": ["opencode", "opencode-plugin", "zen", "free", "magpie"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "https://github.com/magpie-community/plugins", "directory": "packages/zen-free" },
|
|
"scripts": { "test": "bun test" },
|
|
"magpie": { "icon": "https://opencode.ai/favicon-v3.ico", "maxConcurrency": 2 }
|
|
}
|