Files
plugins/packages/cline/package.json
T
Xyfer 39f59971c0 cline 0.1.13: no default DeepSeek pin; a refused providerOptions pin says how to turn it off (#819)
Since 2026-11-06 Cline answers any client-supplied `providerOptions` with
403 `client-supplied "providerOptions" model routing is not supported`
(yetone/magpie#5442). 0.1.12 pinned ClinePass's DeepSeek models with
`providerOptions` by default, so every such request failed unless the user
set `pinUpstream: false`.

Changed:
- No pin by default. `providerOptions` / `provider` is written only with
  `pinUpstream` on, and the pins themselves are the same as 0.1.12. The
  default pin's unpinned retry (`unpinWorthy`) is gone with it.
- A pin this plugin wrote that Cline refuses with that exact 403 comes back as
  a 403 that says to turn the pin off. It is not retried unpinned. A client's
  own `providerOptions` refusal is passed through as Cline sent it.
- README and comments: the 11-06 refusal, and glm-5.3-flash's top-level
  `provider.only` being accepted but ignored (finalProvider stayed
  `openai-compatible-private` in the author's live checks).
- 0.1.13.

Author's live checks (Cline API key): default Pass DeepSeek 200; pinned 403
with the hint and no retry; glm-5.3-flash 5/5 200 with the pin on or off,
finalProvider `openai-compatible-private`.

Review run at a2d43859 (on main 367edb50), on mote, HOME=$(mktemp -d),
Bun 1.4.2:
- bun test packages/cline: 92 pass, 0 fail.
- bun scripts/check.mjs cline: ok.
- bun test (repo): 6563 pass, 20 skip, 0 fail.
- Broken by hand, each red: the default pin back; the hint for any
  providerOptions 403; ROUTING_REJECTION unanchored; a retry on the refusal;
  no JSON-envelope read. Dropping ownsRouting on fetch's pin stays green: the
  own-routing test runs without pinUpstream now (follow-up).

Not tried by the review: a live Cline request (no key), magpie's gateway with
0.1.13 end to end. Follow-ups in magpie: ClinePassAsked still assumes a
default plugin pin, and the Upstream tick still sends providerOptions
(yetone/magpie#5442 stays open).
2026-11-07 09:54:22 +08:00

13 lines
599 B
JSON

{
"name": "@magpie-community/opencode-cline-auth",
"version": "0.1.13",
"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" }
}