provider: the Cursor mover's min is 0.2.39, which lists the Claude Cursor hides from an account once per context size (plugins#634, jiaohanying)

@magpie-community/opencode-cursor-auth 0.2.39 (plugins b8ec827 by
jiaohanying, released in 0236317) asks Cursor's full catalog
(AvailableModels scope 3) alongside the picker. An account Cursor blocks
Claude for, whose picker has no Claude while cursor-agent's usable list
does, now gets those models as the picker's are listed: once per context
size (claude-opus-5-5@300k and @1m, 1m in Max Mode), the efforts the
account is served, and only the parameters the model defines (the
catalog's Opus 4.7 to 5.5 variants carry cyber=false, which is not
sent). Before, each such family was one fallback entry with a 200K
window. 0.2.39 also carries 0.2.38 (OpenCode 2.x entry, plugins#657).
Raising the min lets keepMovedCurrent bring every moved Cursor user up
to it.

npm view --prefer-online @magpie-community/opencode-cursor-auth version:
0.2.39 (latest) before this commit.

Run on mote at this head: go test -count=1 -run
'Mov|Migrat|Retir|HandOver|Adopt|Plugin|Cursor' ./internal/provider ok;
GOOS=linux and GOOS=windows go vet ./internal/provider ok; gofmt -l
clean. Plugin side (reviewed head f4cb8ed and the squash on main):
bun test packages/cursor 393 pass, whole bun test 0 fail, check.mjs ok;
the cyber test goes red with the parameter filter taken out.
Not tried: a real Cursor account (none for this run); the author ran a
real request at 300k and 1m on a blocked account.
This commit is contained in:
yetone
2026-11-03 18:03:57 +08:00
parent f4c664a09c
commit c3593dc494
File diff suppressed because one or more lines are too long