c9cu on magpie v0.1.1239: "opencode muse 1.3 又不行了". Every free model
answered 403 FreeTierError "OpenCode's free tier can only be used from
within OpenCode" through 0.1.6 and magpie's built-in alike.
Found against the real upstream on 2026-10-15, with OpenCode 1.19.0's
own requests captured through a local proxy under a sandbox HOME:
- OpenCode now asks https://opencode.ai/inference/v1 (models.dev gives
it this URL). Its own captured request, replayed word for word, is
200 there and 403 at /zen/v1.
- Zen also refuses bash or read offered with no parameters, as the
stand-ins here were ({"properties":{}}); one property is enough.
Now:
- DEFAULT_BASE is the inference API. A request still sent to a model
listed at /zen/v1 is accepted and asked at the inference API.
- Each stand-in takes OpenCode's own first parameter (bash command,
read/edit filePath, glob/grep pattern), still "Never call this tool".
Run:
- bun test in packages/zen-free: 170 pass. With 0.1.6's provider.mjs
put back by hand: 13 fail (the 12 tool-guard tests on the stand-ins'
parameters, and the new inference-API test).
- bun tools-smoke.mjs against the real Zen: big-pickle,
mimo-v2.6-flash-free and muse-spark-1.3-contributor-free, streamed and
not, all 200 with a Bash call.
- npm shows 0.1.1 as latest: publish runs refused this package (no
Trusted Publisher), so 0.1.2 to 0.1.6 never reached users; 4ef68fb's
NPM_TOKEN path is what publishes this one.