zed 0.1.18 (magpie-community/plugins@3920b745, on npm) sends thread_id
and prompt_id in CompletionBody as Zed's editor does, so a conversation
is one thread to Zed's cloud, not a new one per request. Yezike-yyy's
Gemini 4 Argon conversation read no cache on 11 requests of 180k-230k
input tokens. keepMovedCurrent brings every moved Zed user up to it.
Run (mote): go test -timeout 30m ./internal/provider/ ok; gofmt -l clean.
`npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-zed-auth version` said 0.1.18 before this.
Not tried: no Zed account, so whether Zed's cloud caches Argon on
thread_id is not known; the reporter is asked to retest.
Claude Code sends thinking.display "updates" for its newest models, and
Zed's cloud accepts only "omitted" or "summarized", so it answered 400.
@magpie-community/opencode-zed-auth 0.1.17 (plugins commit aa44cc3e)
sends "highlights" as summarized and drops any value Zed doesn't know.
Raising the Zed mover's min from 0.1.15 to 0.1.17 lets keepMovedCurrent
update every moved user's plugin.
Run:
- npm view --prefer-online --registry https://registry.npmjs.org
@magpie-community/opencode-zed-auth@0.1.17 version: 0.1.17.
- mote-run -C <worktree> go test -count=1 -timeout 45m ./internal/provider/
at f0b99745e plus this change: ok (132.9s).
- gofmt -l internal/provider/: prints nothing.
- grep: no test pins Zed's min, and no other "0.1.15" sits next to zed.
Not run: the full suite, the cross-OS vet/build (a string-literal change
in one file), and a real Zed account through the new plugin version; the
plugin's own fix was tested in the plugins repo.
Claude Code's clear_thinking_20251015 context edit was answered 400 by
Zed's cloud ("unknown variant ..., expected `compact_20260112`"). zed
0.1.15 (plugins 48d0cec) keeps only compact_20260112 edits and leaves
context_management out when none remain. npm has 0.1.15
(npm view --prefer-online). keepMovedCurrent brings every moved Zed
user up to it.
Run on mote at b0174e761 plus this change: gofmt -l internal/provider
(clean), go vet ./internal/provider (darwin and GOOS=windows), go test
-timeout 45m ./internal/provider ok (108s).
Not tried: a real Zed account.
Zed's /models now lists a Gemini model's supported_effort_levels
uppercase (LOW/MEDIUM/HIGH), so the plugin keyed its variants LOW and
magpie's pi profile, which maps efforts by key, marked every thinking
level unsupported for zed/gemini-* (Yezike-yyy on plugins#215). And a
thinking level reached Zed lowercase, which its serde enum refuses:
400 "unknown variant `low`, expected one of `MINIMAL`, `LOW`,
`MEDIUM`, `HIGH`" (iron-water, plugins#215). zed 0.1.14
(magpie-community/plugins 3618bf9, from ump45nose's #587) keys the
variants lowercase whatever case /models uses and uppercases the level
only on the wire. The mover's min is raised to it, so keepMovedCurrent
updates every moved user.
npm view @magpie-community/opencode-zed-auth version --prefer-online:
0.1.14 at landing.
Run on mote at 59fdab0af (origin/main after rebase) plus this change: go test ./internal/provider/
-timeout 45m ok (104s); go vet ./... on darwin and GOOS=windows ok;
GOOS=linux go vet -tags nogui ./... ok (without nogui, Wails' cgo
Linux files don't build from macOS); gofmt -l clean.
Broken by hand: nothing here (a one-value change); the plugin's own
tests were broken by hand in 3618bf9.
Not tried: a real Zed account (none here) and a real move to 0.1.14.
Zed's cloud refused every tool-bearing Gemini turn of the Zed plugin with
400 "unknown variant `AUTO`, expected one of `auto`, `any`, `none`"
(atticuskk). magpie-community/plugins f4e2ac3 (zed 0.1.13, co-authored
with ggbdpq, who found the cause) lowercases the mode in the plugin,
where the request is fitted to Zed's wire; the mover's min makes every
moved user's plugin that version.
Checked: npm view @magpie-community/opencode-zed-auth@0.1.13 version
--prefer-online -> 0.1.13. Plugin run (mote): bun test in packages/zed
54 pass; the lowercase line off -> 3 red. gofmt -l clean.
Not tried: a live request to cloud.zed.dev.
npm view @magpie-community/opencode-zed-auth version --prefer-online: 0.1.12
at landing. The plugin's change: magpie-community/plugins 3e940bc, bun test
49 pass on mote, its new test red 2 of 2 with the change reverted.
Roy on Discord: Claude Code through a Zed subscription failed with "400
Zed: failed to parse Anthropic request: unknown variant system, expected
user or assistant". Claude Code puts {role: "system"} messages inside
messages[] (a turn's effort, hook notices after tool results); Zed's
cloud takes only user and assistant there. Plugin 0.1.11
(magpie-community/plugins 3d355d3) sends their text in a user turn
where it was said, and leaves an effort-only one out. Raising the min
lets keepMovedCurrent bring every moved Zed user up to it.
npm: `npm view @magpie-community/opencode-zed-auth version
--prefer-online --registry https://registry.npmjs.org` answered 0.1.11
before this change.
Run at 7dd965ed2 (origin/main, just fetched) + this change: gofmt -l
internal/provider (nothing); go vet ./internal/provider/ on darwin,
GOOS=linux -tags nogui and GOOS=windows: ok; `set -o pipefail; go test
-timeout 45m ./internal/provider/...`: ok (88.7s), 0 FAIL. The mover
guard tests (TestMovedBuiltinsSayTheirPlugin and the migrate_*_test.go
files) are in internal/provider; no test outside it names movers.
Not run: the full suite (a one-line min change).
Zed 0.1.10 (plugins 5a83674) no longer always uses the default
organization. It picks the saved org, then the default, then a personal
org, as long as that org has a paid plan and models on, and it moves the
account once when an org answers 402. ReneXiong's default org has no plan
and the personal one has zed_student, so every request got a 402.
Raising the min lets keepMovedCurrent update every moved user.
Run at 1a3b92688 (origin/main) plus this change:
- npm view @magpie-community/opencode-zed-auth version --prefer-online: 0.1.10
- gofmt -l: clean. go vet darwin, GOOS=linux -tags nogui, GOOS=windows: clean.
- go test -timeout 45m ./...: 56 ok. The machine was at load ~500 from
other sessions' test runs, and internal/agent, cli, davsync, gateway,
library and provider hit the 45m timeout (#2108 is gateway's). Six named
fails were timing under that load: TestIntentClassifierGroup,
TestPluginPageReadsWhatItDeclared, TestSetAnswersWhileDevinAndProvidersHang,
TestHostOnBunLackingLibsSaysWhich, TestGatewayHookMixedPiPackage and
TestAllowancesCountFromTheReading. Each passes alone at the same head
(gateway, gui, plugin, and provider with -run
'TestAllowancesCountFromTheReading|Moved|Migrat|Mover|Zed').
- Not run: the timed-out packages again in full, since the load hadn't
dropped. This change is one version string in internal/provider.
plugins 779388b published @magpie-community/opencode-zed-auth 0.1.9 at
13:45 (npm view --prefer-online: 0.1.9), but the zed mover's min stayed
0.1.8. keepMovedCurrent installs mv.min, so moved users, ReneXiong
among them, kept 0.1.8 and its six pre-sign-in models shown as the
account's own. Every other mover's min equals its npm latest (checked
all eleven).
Run at this tree: go test -timeout 30m ./internal/provider/ ok
(1022s, sandbox HOME); gofmt -l clean; GOOS=linux and GOOS=windows go
vet ./internal/provider/ clean. Not tried: a real Zed account, as the
plugin commit says.
Moved users are kept on these versions by keepMovedCurrent, each on npm
(npm view --prefer-online):
- devin 0.1.20: JSON output when asked; tool result images on the tool message
- commandcode 0.1.13: Credits reset at the subscription's end (#2454)
- cursor 0.2.18: a failed tool result read as isError; keychain backoff
- zed 0.1.8: "No plan" for a free account
- zcode 0.1.19: personal and team resets; Start Plan hint
- kiro 0.1.12: JSON output (output_config.format)
Run at 63be47717 with this batch: go test -tags nogui ./... -count=1 -timeout 90m, 66 packages ok, no FAIL (load ~250). gofmt -l clean; GOOS=linux and GOOS=windows go vet of provider, gateway and plugin pass. (devin's min rose after the run: go test ./internal/provider -run 'Mover|Moved' ok.)