Follow-up to #819 (0.1.13).
Changed:
- index.test.mjs: "the user's own provider or providerOptions on a
ClinePass DeepSeek request is left as they set it" and "a client's own
providerOptions refused by Cline is passed through" now run with
`{ pinUpstream: true }`. Without the pin on they passed whether or not
fetch kept the client's own routing field.
- README and the 403 hint: the pin is turned on and off by the plugin's
pinUpstream option (`magpie plugin options
@magpie-community/opencode-cline-auth '{"pinUpstream": false}'`, or the
OpenCode plugin/provider.cline options). magpie's Upstream tick is
magpie's own setting; it never set this option, and magpie no longer
writes providerOptions for it (yetone/magpie#5442).
- 0.1.14. A client-sent providerOptions is handled as in 0.1.13.
Run on mote, HOME=$(mktemp -d), Bun 1.4.2, at this tree on 39f59971:
- bun test packages/cline: 92 pass, 0 fail.
- bun test (repo): 6569 pass, 20 skip, 0 fail.
- bun scripts/check.mjs cline: ok (registry.json, cline).
- Broken by hand: fetch's `ownsRouting(chat) ? null :` removed, both
own-routing tests red (2), green with it back.
Not tried: a live Cline request (no Cline key here).
13 lines
599 B
JSON
13 lines
599 B
JSON
{
|
|
"name": "@magpie-community/opencode-cline-auth",
|
|
"version": "0.1.14",
|
|
"description": "Cline (cline.bot) on your own account — usage billing, ClinePass and the free models — in OpenCode and magpie",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": ["index.mjs", "opencode.mjs", "opencode2.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "cline", "clinepass"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/cline" }
|
|
}
|