Files
magpie/internal
yetone c37bcdbfc8 cursor: picks keep Cursor's own ids, and the plugin's min is 0.2.24
ysm119 on Discord (Cursor Team account, Claude Code): claude-opus-5-5@1m
and claude-opus-5-5 failed with Cursor's "AI Model Not Found", and a
picked claude-opus-5-5-low was shown and sent as claude-opus-5-5.

- cursorPicks, CursorBase and CursorVariants folded Cursor's ids into
  families by the list the retired built-in left in the cache
  (catalog.Live("cursor"), a stale `cursor-agent models` dump), so a
  pick of claude-opus-5-5-low became claude-opus-5-5, which the plugin
  then sent as is. While the plugin serves Cursor (always, since the
  built-in is retired) they now read no list: a pick stays the id picked,
  and the start-up MoveCursorEfforts leaves agents' ids alone.
- The mover's min is 0.2.24 (npm view --prefer-online: 0.2.24), which
  lists a family the account's picker lacks once with its efforts and
  sends the usable id the effort picks, and runs a stale @size id at the
  nearest size (magpie-community/plugins fc2866f).

Run at 353519f55 + this change:
- gofmt -l internal clean; go vet -tags nogui provider and agent on
  darwin, GOOS=linux, GOOS=windows clean; go build -tags nogui ./... on
  all three.
- go test -tags nogui ./internal/catalog ok; ./internal/provider ok but
  for TestUnreadLoginsWriteErrorsKeepCredentials (skipped, synctest
  crash on main, #3632) and three TestFetch* tests red on main since
  6eb510f78 without this change (#3854); -run 'Cursor|Effort|Legacy' in
  internal/agent and internal/gateway ok.
- Broken by hand: with the guard turned off,
  TestCursorPicksKeptWhenPluginServes fails exactly as reported
  (picks = [claude-opus-5-5], CursorBase "claude-opus-5-5" "low").

Not run: the full suite (two other sessions' suites were running on the
machine, one per machine); a real Team account; magpie end to end with
Claude Code. The plugin side was run against a real Cursor account (see
plugins fc2866f).
2026-10-27 14:57:16 +08:00
..
…
…
…