With the default on the branch without thinking (thinking=false, low to high) and xhigh only with thinking, claude-opus-5-low asked at xhigh went as the default's slug with effort=xhigh: an id and parameters at odds. branch() returned early whenever what was asked differed from the default in the effort alone. Decided: that early return now holds only when no variant at all is named for the effort asked, so claude-opus-5-5-xhigh (no xhigh variant anywhere) still goes at xhigh as a listed model does, and an effort another branch has makes the default's branch go to its nearest. Run: the new test (the issue's picker, plus every id x effort x fast agreeing with its parameters) fails on the old index.mjs and passes here; HOME=$(mktemp -d) bun test for the repo, 1154 pass 0 fail; bun scripts/check.mjs green. Not seen on a real account (as the issue says).
13 lines
534 B
JSON
13 lines
534 B
JSON
{
|
|
"name": "@magpie-community/opencode-cursor-auth",
|
|
"version": "0.2.9",
|
|
"description": "Cursor subscriptions (Pro, Pro+, Ultra, Teams) in OpenCode and magpie, through the API cursor-agent talks to",
|
|
"type": "module",
|
|
"main": "./index.mjs",
|
|
"exports": "./index.mjs",
|
|
"files": ["index.mjs", "README.md"],
|
|
"keywords": ["opencode", "opencode-plugin", "magpie", "cursor"],
|
|
"license": "MIT",
|
|
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/cursor" }
|
|
}
|