#1679's fix (df4ea0ff6) reaches only the built-in. A moved Grok user's
requests go through @magpie-community/opencode-grok-auth, whose modelOf
read only <id>@<N>k, so grok-4.7@131072 went to Grok as a model of that
name. plugins f980265 (grok 0.1.14) reads the bare-digit window as the
built-in now does; this raises the mover's min so keepMovedCurrent
updates every moved user to it.
Run: plugin bun test 41 pass, the new modelOf test FAILs with modelOf
put back; scripts/check.mjs grok ok; npm view
@magpie-community/opencode-grok-auth@0.1.14 version on
registry.npmjs.org gives 0.1.14. Here: gofmt -l clean; go test
-tags nogui -count=1 ./internal/provider -run
'Mover|Moved|Migrat|Grok|Adopt|HandOver|KeepMoved' ok.
@magpie-community/opencode-cursor-auth 0.2.10 (magpie-community/plugins
a885a16) gives a team member with no limit of their own a fixed
On-demand window on the team's pool (pooledUsed / pooledLimit, the
member's own spend beside it) instead of unlimited, the same change as
the built-in's in the previous commit. keepMovedCurrent updates every
moved user's plugin to it.
Run: 0.2.10 checked on registry.npmjs.org (latest, its tarball holds the
fix); go test -tags nogui ./internal/provider/ under a sandbox HOME (ok,
TestMovedBuiltinsSayTheirPlugin included); gofmt -l and go vet on darwin,
linux (nogui) and windows clean.
Cursor 0.2.9: a default model whose own branch stops short of the asked
effort goes to its nearest effort, so the id and its parameters agree.
WorkBuddy 0.1.18: WorkBuddy 5.6+ keeps its desktop sign-in encrypted; the
plugin now says so and points to the browser sign-in, instead of
"isn't signed in" and a 502.
Both versions checked on registry.npmjs.org (dist-tags latest).
Run: gofmt -l, go vet (darwin, linux -tags nogui, windows) and
go test ./internal/provider -run 'Mov|Plugin|Migrat|Hand'.
Command Code 0.1.12 (magpie-community/plugins 49e9d89): Command Code's model
list is the same for every plan, and the plugin filtered only Go's, by the
CLI 1.73.0 table, which lacked Claude Haiku 5.5. So a Go account was shown a
model only GOAT and above may use, and GOAT, Pro and Provider accounts every
model, those their plan refuses included. Each plan's list now leaves out
what the CLI 1.79.2's table refuses it; a plan that can't be read, or an
account with bought or free credits, keeps the whole list, and a refused
model still reaches the agent as Command Code's MODEL_NOT_IN_PLAN.
Only the mover's min string and its note change. 0.1.12 was checked on npm
with npm view.
Ran: gofmt -l internal/provider, go vet ./internal/provider on darwin, linux
and windows, and go test ./internal/provider -run 'Mov|Migrat' (ok, 8.6s).
The full suite was not run, as this is a one-string change.
WorkBuddy 0.1.15 (wowyuarm's plugins#96): a system prompt sent as a developer message no longer fails the channel check with 400, an object tool_choice is sent the way WorkBuddy takes it, and max_completion_tokens goes as max_tokens so the output cap holds. Command Code 0.1.11 (plugins#91): a streamed Go reply the upstream cuts off after it has said something ends cut short with a note instead of losing the turn.
Only the movers' min strings and their notes change. Both versions were checked on npm with npm view. The plugins session ran #96 against the real WorkBuddy AI endpoint before and after the change.
Ran: gofmt -l, and go vet ./internal/provider on darwin and windows. go test ./internal/provider -run 'Mov|Migrat|Plugin|HandOver|Adopt' passed in 129s. The full suite was not run, because this is a two-string change.
Raises the cursor mover's min from 0.2.7 to 0.2.8 (published, npm view shows 0.2.8), so keepMovedCurrent updates moved users. 0.2.8 adds the thinking length, tokens, refused built-in tools, unknown messages and last frame to the empty-reply 502, for the next report on plugins #60. Ran gofmt -l, go vet (darwin, windows) and go test ./internal/provider (ok, 525s).
The Cursor plugin lists Cursor's picker since 0.2.0 (plugins #51): a model
once per context size (grok-4.7@256k), effort and fast as the request's
parameters. The built-in ticks 0.1.x-style ids (grok-4.7-fast,
claude-opus-5-thinking, cursor-grok-4.5, a stale grok-4.7-low), which the
plugin's named() runs as the variants they stood for, but move() only
counted an id served when the plugin's list had it literally, and the
cursor mover had no served hook. A move failed for most ticked models.
The cursor mover now has served (cursorServed): an id is served when its
family, taken apart by splitCursorID and without -thinking/-fast, is a
model the plugin lists (its id before "@"), with or without Cursor's
"cursor-" prefix; default/auto when the plugin lists Auto. A family the
picker hasn't got (claude-fable-5-thinking-no-zdr, codex-5.3-fast) is
still refused. Known limit, as the report says: the list is flat, so a
-fast id of a listed family counts as served though the account may lack
fast; the plugin runs it as the nearest variant.
Siblings checked: Devin already has served, ZCode builtin; Grok's plugin
keeps the plain id for the default window (grok-4.7, grok-4.7@500k
beside it); the other plugins list the vendor's ids as the built-in did.
Run:
- TestCursorMoverServesBuiltinIDs, with the ids plugin 0.2.7 lists for
its own context.test.mjs PICKER (got by running the plugin under bun;
request() resolves each id the test calls served to a Cursor variant).
Failed with the hook removed ("the Cursor mover has no served hook")
and with the "@" cut removed (claude-opus-5-5 ... not served).
- go test -tags nogui ./internal/provider/ in a sandbox HOME: ok.
- gofmt -l; GOOS=linux and GOOS=windows go vet -tags nogui
./internal/provider/: clean.
Not run: a real move with a real Cursor account (the reporter ran the same
approach end to end on their account: 17 unserved down to the 2 above).
Raises the movers' min so keepMovedCurrent updates every moved user:
- @magpie-community/opencode-zcode-auth 0.1.15 (plugins baa788b): the
Start Plan's environment section says the folder and git repository
magpie tells it, never magpie's own folder, and leaves out what it
isn't told and the shell.
- @magpie-community/opencode-commandcode-auth 0.1.10 (plugins 7e67b98): a
Go request's workingDir and isGitRepo are the agent's.
Both were published by the plugins repo's publish workflow and are the
registry's latest. Run: go test internal/provider.
The cursor mover's min goes from 0.2.6 to 0.2.7 so keepMovedCurrent
updates every moved user's plugin. 0.2.7 (magpie-community/plugins
126b105, bump 379ec96) sends an assistant turn's reasoning_content back
to Cursor as a reasoning part, the shape cursor-agent 2026.10.01 sends,
when a tool result continues the turn. npm view shows 0.2.7.
Run: go test ./internal/provider -run 'Moved|Mover|Migrat|KeepMoved|HandOver'
(TestMovedBuiltinsSayTheirPlugin included), then the whole package and
the full suite.
The grok mover's min goes from 0.1.11 to 0.1.12, so keepMovedCurrent
updates every moved Grok user's @magpie-community/opencode-grok-auth.
0.1.12 (magpie-community/plugins#83, merged as 8260d979) offers a model
Grok's /v1/models lists at two context windows at each one: grok-4.7 at
the default 256k and grok-4.7@500k. The plugin's fetch sends the plain
model with x-grok-context-window: 500000, as the Grok Build CLI 1.0.50
does with /context-window 500k. The model's api.id is the offered id,
since magpie's modelAPIID/withModel put api.id in the body.
Run:
- npm view @magpie-community/opencode-grok-auth@0.1.12: published.
- HOME=<temp> go test -tags nogui ./internal/provider/: ok.
- gofmt -l internal/provider: clean. GOOS=linux and GOOS=windows
go vet -tags nogui ./internal/provider: clean.
- The plugin at 0.1.12 was tried on a real Grok account (in the PR's
record): grok-4.7 and grok-4.7@500k each answered 200.
Not tried: a moved user's plugin actually updating through
keepMovedCurrent on a real install.
Raises the Devin mover's min from 0.1.13 to 0.1.14, so keepMovedCurrent
brings every moved user onto the plugin release where a weekly quota at
0% left (left out of GetUserStatus's JSON) is a 7 days window at 100%
beside the day, and routing holds the account until the week resets.
0.1.14 is on the npm registry (dist-tags latest 0.1.14, tarball 200).
go test -tags nogui ./internal/provider ok; GOOS=linux and GOOS=windows
go vet -tags nogui ./internal/provider ok.
A Cursor team or enterprise that pays past the included usage keeps being
served once Cursor Models / Other Models reach 100%. Plugin 0.2.6 reads
GetHardLimit and the period's spendLimitUsage, derives the On-demand state
as cursor-agent 2026.10.01's usage view does, and when on-demand is fixed
or unlimited shows the pools aside with an On-demand window as the
allowance. It was published to npm at 07:11Z, but the cursor mover's min
stayed at 0.2.5, so keepMovedCurrent never updated moved users to it.
The min goes to 0.2.6.
Run: npm's 0.2.6 tarball index.mjs is byte-identical to plugins main
a298e54; bun test in packages/cursor: 77 pass, 0 fail.
go test -tags nogui ./internal/provider passes (temp HOME, pinned caches);
go vet -tags nogui ./internal/provider passes for darwin, linux, windows;
gofmt -l clean. No test pins a mover's min. Not tried with a real
enterprise account.
Cursor's Grok Bot has an allowance apart from Cursor's monthly usage that
only cursor.com's dashboard showed. Plugin 0.2.5 reads it from
cursor.com/api/dashboard/get-sand-usage-status (the sign-in sent as the
dashboard's WorkosCursorSessionToken cookie, as CodexBar does) and adds a
"Grok Bot" window, or "Grok Bot (trial)": aside, so a spent Bot never stops
Cursor requests, placed before Total so it is among the card's three rings.
A missing or failed reading leaves Cursor's own windows as they were.
0.2.4 (not shipped to moved users until now) counts a model asked for by
its bare name (grok-4.7) in the pool its sized ids (grok-4.7@256k) are in.
The cursor mover's min goes from 0.2.3 to 0.2.5, so keepMovedCurrent
updates every moved Cursor user.
0.2.5 on npm (registry.npmjs.org, latest) has an index.mjs byte-identical
to plugins main 6bed2c1. The plugin PR was reviewed at 40d4df6 and merged:
- bun test in packages/cursor: 73 pass, 0 fail; whole repo 1033 pass,
0 fail; bun scripts/check.mjs all 15 pass
- botUsage broken 16 ways: 12 turn usage.test.mjs red; no timeout, no
Origin, no res.ok check (the catch covers it) and an added bearer stay
green
- the request and parsing match CodexBar's CursorSandUsage.swift
- not tried with a real Cursor account on the review side (the author saw
the Bot ring on a Free account linked to SuperGrok)
go test -tags nogui ./internal/provider passes (temp HOME, pinned caches).
go vet -tags nogui ./internal/provider passes for darwin, linux and windows.
gofmt -l is clean. No test pins a mover's min, as for 0.2.3.
Behind TLS inspection or a network that drops HTTP/2, every moved Cursor
chat failed with 502 "Cursor: h2 is not supported" or never answered, while
sign-in, models and usage worked. 0.2.3 falls back to Cursor's own HTTP/1.1
transport; a failure that says HTTP/2 itself can't be had keeps later Runs
on HTTP/1.1 for 10 minutes. The cursor mover's min goes from 0.2.2 to
0.2.3, so keepMovedCurrent updates every moved Cursor user.
0.2.3 on npm (registry.npmjs.org) has an index.mjs byte-identical to
plugins main 5b67ff4. The plugin PR was reviewed at f5c11b7 and merged:
- bun test in packages/cursor: 66 pass, 0 fail, three runs
- whole repo: 1026 pass, 0 fail; bun scripts/check.mjs all 15 pass
- each guarded piece broken by hand turns http1.test.mjs red
- not tried with a real Cursor account on the review side
go test -tags nogui ./internal/provider passes (temp HOME, pinned caches).
go vet -tags nogui ./internal/provider passes for darwin, linux and windows.
gofmt -l is clean.
Grok's Responses backend refuses a request carrying Codex MultiAgentV2's
agent_message item (a subagent's task, or its reply kept in the lead's
history) with 422 unknown item type "agent_message". plugins#61 counted
512 such 422s on a moved Grok subscription from 10-03 to 10-09, and fixed
it in @magpie-community/opencode-grok-auth 0.1.11 (on npm).
What changed:
- the grok mover's min goes from 0.1.10 to 0.1.11, so keepMovedCurrent
updates moved users' plugin, and its comment says the fix.
- grokBody (the built-in's request shaper, which also runs for the Grok
plugin's provider, plugins.go) does what the plugin does: an
agent_message whose content is a non-empty list of input_text /
input_image parts goes as {"type":"message","role":"user"}, with
"From <author> to <recipient>\n\n" (or From / To alone, or nothing)
as its first part, in its place among the input. One with
encrypted_content on the item or a part, an empty or null content, or a
part of another kind is left byte for byte, so magpie reads no sealed
task and the gateway's sealed-task guard still sees it. A body with no
agent_message is returned as it came.
Tests:
- provider: TestGrokBodyAgentMessageGoesAsUser (the plugin's task, reply
with an image between a call and its output, sender alone / recipient
alone / none) and TestGrokBodyLeavesSealedAgentMessage (the plugin's
seven sealed or malformed items, and an ordinary history byte for byte).
- gateway: TestGrokGetsAgentMessageAsUser (built-in, streamed and not,
through the handler) and its parity TestGrokPluginGetsAgentMessageAsUser
(the Grok plugin's provider, streamed, relayed).
- With origin/main's grok.go back, TestGrokBodyAgentMessageGoesAsUser,
TestGrokGetsAgentMessageAsUser and TestGrokPluginGetsAgentMessageAsUser
FAIL ("the agent_message went as" the untouched item); with the change
they pass.
Run: gofmt -l (nothing); go vet, GOOS=linux and GOOS=windows go vet
-tags nogui on ./internal/provider ./internal/gateway (clean);
go test -tags nogui ./internal/provider ./internal/gateway under a temp
HOME with pinned caches (ok). Not tried against the real Grok backend:
no live Grok request was made.
Plugin 0.2.x lists Cursor's picker once per context size (claude-opus-5-5@300k, @1m) and no -fast model, so CanFast, which looked for a -fast sibling, said no for every model: FastFor in route.go, canFast in the group editor, SetFastPick and cleanFast all go through it. The plugin itself still ran service_tier priority as the fast variant. opencode-cursor-auth 0.2.2 (magpie-community/plugins fb253f9) now says fast on a model listed at a size Cursor has a fast variant at; host.js passes it on as plugin.Model.Fast, CanFast takes it, and a plugin before 0.2.2 is still read by its -fast sibling. The Cursor mover asks for 0.2.2. On the way a fast request translated for a moved Cursor (Anthropic, Responses, chat not streamed) lost its service_tier: buildChat sets it only for host "cursor", and a moved provider's host is empty; buildHost names it.
Tested: the fake plugin lists sized models with fast on one (FAKE_FAST=tier); TestCursorPluginGroupFast (CanFast per size, @1m:fast refused, a group's @300k:fast sends priority), TestCursorPluginGroupFastSibling (the old -fast list), TestCursorPluginFastPick (moved: picker fast on chat, chat streamed, Responses and Anthropic sends priority, codex's doesn't). Without groupfast.go, host.js's fast or buildHost they fail. go test -race -tags nogui on gateway, provider, plugin, agent, gui; go vet, GOOS=linux/windows vet and build. With the built binary under a temp HOME, the real npm 0.2.2 plugin and Cursor's API answered by a preload (a picker fixture, the agent API's Run caught): /api/state offers fastFor on @300k and composer-2.5, not @1m or grok; /api/groups canFast the same; saving @1m:fast is refused, @300k:fast saved; opencode's picked @300k reaches Cursor's Run with fast=true on chat, Anthropic and Responses, codex's with fast=false. origin/main's binary in the same HOME offers none and refuses @300k. Not tried with a real Cursor account.
On 0.2.0, cursor/claude-opus-5 at xhigh went as claude-opus-5-thinking-high
with thinking=false, effort=xhigh, because Opus 5 without thinking stops at
high. 0.2.1 sends claude-opus-5-high with effort=high, as 0.1.11 did. The
cursor mover's min goes from 0.2.0 to 0.2.1, so keepMovedCurrent updates
every moved Cursor user.
0.2.1 on npm (registry.npmjs.org) has an index.mjs byte-identical to plugins
main cf0de01e. The plugin PR was reviewed at ea00bd9 and merged:
- bun test in packages/cursor: 49 pass, 0 fail
- whole repo: 987 pass, 0 fail
- bun scripts/check.mjs passes for all 15 packages
- the new test fails on 0.2.0's index.mjs
- not tried with a real Cursor account on the review side (the stored token
answers 401)
The case where the default's own branch stops short is still open:
magpie-community/plugins#55.
go test -tags nogui ./internal/provider passes (temp HOME, pinned caches).
go vet -tags nogui ./internal/provider passes for darwin, linux and windows.
gofmt -l is clean.
The cursor mover's min goes from 0.1.11 to 0.2.0, so keepMovedCurrent updates every moved Cursor user. The ids picks were saved under before (claude-opus-5-5, claude-opus-5-5-fast, cursor-grok-4.6, a variant's own slug) keep working. magpie still sends an id the plugin no longer lists to the plugin unchanged: provider.Resolve accepts any cursor/<model> while the provider is on, and pluginFetch builds a stub model. The plugin's named() then resolves the id to its variant.
0.2.0 on npm was checked against registry.npmjs.org: its index.mjs is byte-identical to plugins main 8cd5a0f. The plugin PR was reviewed at c64bc3d and merged onto main:
- bun test in packages/cursor: 48 pass, 0 fail
- bun scripts/check.mjs cursor passes
- seven deliberate breaks, each caught
- not tried with a real Cursor account on the review side
go test -tags nogui ./internal/provider passes in Docker (golang:1.26.8, temp HOME, module cache read-only). go vet -tags nogui ./internal/provider passes for linux, windows and darwin. gofmt -l is clean.
SWE-2's call ids ("Bash:0#a65b…") went to the agent as Devin gave them, and Claude Code dropped each call: "The model's tool call could not be parsed". Plugin 0.1.13 (magpie-community/plugins d33df7e) sends such an id as "dv_" and its base64url and turns it back for Devin. Raising the mover's min makes keepMovedCurrent update every moved user's plugin.
npm view @magpie-community/opencode-devin-auth version prints 0.1.13; the plugin's publish run had 973 pass, 0 fail. go vet for darwin, GOOS=linux and GOOS=windows pass; go test -tags nogui ./internal/provider passes on Linux (Docker; this Mac can't exec new test binaries right now).
Devin answers every request whose temperature or top_p is exactly 0 with
400 "an internal error occurred (trace ID …)". Callers asking for greedy
output (Hermes Agent's command approvals send temperature 0) failed on
every devin/* model. Plugin 0.1.12 sends a 0 as 1e-6; the mover's min
raises moved users to it through keepMovedCurrent.
Verified: against a real Devin account, the plugin's complete() on 0.1.11
gives 400 for temperature 0 and top_p 0 on swe-2 and claude-sonnet-5-5,
and 200 for 1e-6; 0.1.12 gives 200 for all of them. 0.1.12 is on
registry.npmjs.org. go vet (darwin, linux, windows) and
go test -tags nogui ./internal/provider pass in a sandbox HOME.
cursor 0.1.11 and devin 0.1.11 (magpie-community/plugins 78780b8, 994d580)
join an assistant message onto an assistant message before it that made
tool calls, as joinSplitCalls does in the built-ins since 7067fce5: a
turn's calls split over two assistant messages were answered as
interrupted and their real results dropped. Both are on npm (npm view,
2026-10-08). Kiro's plugin already joined them; a test in f35c189 keeps
it so.
HOME=$(mktemp -d) go test -tags nogui ./internal/provider ok; go vet
-tags nogui ./internal/provider on darwin, GOOS=linux and GOOS=windows
clean.
grok 0.1.10 (magpie-community/plugins a6910fd) folds a function's root-union parameters, which it sent as they came; devin 0.1.10 (fbee8a0) keeps the fields of branches that are unions themselves. Both are on npm (npm view, 2026-10-08).
The Grok plugin's sign-in said only "grok login gave no link to open".
The plugin host has magpie's proxy only as MAGPIE_*_PROXY, so the
`grok login` the plugin runs went out with none, where the built-in's had
it (netproxy.Env); where x.ai is reached only through a proxy, it failed.
host.js's spawn wrapper now gives a started program HTTPS_PROXY and
HTTP_PROXY (the account's own proxy, none for direct, else magpie's) when
the plugin set none.
grok 1.0.46, unable to reach x.ai, prints "Error: error sending request
for url (https://auth.x.ai/oauth2/device/code): …", whose URL the
built-in's runCLISignIn took for the page to open; a line saying error
gives no link, and a login with none ends with the CLI's last line. The
plugin does the same from 0.1.8, which the grok mover now asks for.
plugin_cliproxy_test.go and TestCLISignInSaysWhyNoLink fail before this.
Checked with grok 1.0.46 itself through the plugin host and the published
plugin's code, given a proxy that refuses: the CLI goes through it and the
error names what it said.