provider: moved Zed users get plugin 0.1.9, which says why a never-read model list failed (plugins#229)

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.
This commit is contained in:
yetone
2026-10-18 22:53:08 +08:00
parent d783df46cb
commit ccb2eea159
+1 -1
View File
@@ -13,7 +13,7 @@ import (
func init() {
movers["zed"] = &mover{
pkg: "@magpie-community/opencode-zed-auth",
min: "0.1.8", // a free account's plan reads "No plan", as the built-in's; 0.1.6: a failure's status and its sign-in mark as the built-in's; a model token refused while listing marks the account
min: "0.1.9", // a signed-in account whose model list was never read says why; 0.1.8: a free account's plan reads "No plan", as the built-in's; 0.1.6: a failure's status and its sign-in mark as the built-in's; a model token refused while listing marks the account
agents: []string{"zed"},
out: func() ([]Moving, error) {
var out []Moving