Files
plugins/packages/zen-free/package.json
T
yetone 0793242b6b zen-free 0.1.23: DSH's tools Zen refuses by name go under other names (#632)
jdld-ybd saw every DSH call to a Zen free model answered 429
FreeUsageLimitError while other agents through the same magpie, plugin
and address were served, and a plain request on the same model was
served too: the refusal is in DSH's own request body, as #624's was.

A real 80-tool DSH request was bisected against Zen on 2026-10-30
(Ebony-Vinyl/dsh-our-free-model#709): DSH's subagent_fork on its own,
and its read_image offered beside working_directory, each got 429 at
once; the same names with only description or parameters changed still
got 429; the whole request with just those two names changed was
served. DSH 0.2.1 offers all three by default (and terminal_*, which
0.1.22 already sends as console_*).

The #624 pair becomes one table of names Zen refuses together:
subagent_fork goes as conversation_delegate, and working_directory as
workspace_directory when read_image is offered too (the names that
request was served under), in past calls and tool_choice too, on Chat,
Responses and Messages; a call of one comes back under DSH's name.
read_image or working_directory alone keeps its name.

Run at this head on mote (bun 1.4.2, HOME=$(mktemp -d)):
- packages/zen-free bun test: 212 pass, 0 fail.
- whole repo bun test: 4795 pass, 14 skip, 0 fail.
- bun scripts/check.mjs zen-free: ok.

Broken by hand:
- origin/main's provider.mjs: the three per-protocol #632 tests red.
- working_directory renamed without read_image: "read_image or
  working_directory alone goes as named" red.

Not tried: a request to the real Zen or with DSH. Every probe from this
network, a plain request without tools included, is answered 429
FreeUsageLimitError today (the address's allowance is spent until 00:00
UTC), so the gate rests on that bisection, not on one of ours.
2026-11-02 18:53:19 +08:00

14 lines
683 B
JSON

{
"name": "@magpie-community/opencode-zen-free-auth",
"version": "0.1.23",
"description": "OpenCode Zen free models through the public credential, with native streaming protocols",
"type": "module",
"main": "./index.mjs",
"files": ["index.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 }
}