provider: moved Grok users get plugin 0.1.15, whose sign-in without Grok Build names GROK_BIN_DIR, not only the curl installer (#2223, evier12345)

npm view @magpie-community/opencode-grok-auth@0.1.15 --prefer-online answers 0.1.15 (magpie-community/plugins 9cfc18a). Run: gofmt -l (nothing); go test ./internal/provider -run 'Mover|Moved|Migrat|Grok' in a sandbox HOME (ok).
This commit is contained in:
yetone
2026-10-15 01:04:49 +08:00
parent 9b83fff847
commit af27b70b42
+1 -1
View File
@@ -108,7 +108,7 @@ func init() {
// names, as the built-in does: the homes stay where they are.
movers["grok"] = &mover{
pkg: "@magpie-community/opencode-grok-auth",
min: "0.1.14", // a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; grok-4.7's reasoning levels; a token Grok refuses early reads as expired; the sign-in renewed ahead of time through auth.refresh; a 429 shows a spent Rate limit window until it lifts; a login with no link says why; a tool whose parameters are a root union goes as a plain object (#1271); a plain Codex agent_message (a subagent's task or reply) goes as the user's message, not refused with 422 "unknown item type", a sealed one as it came (plugins#61); a model Grok lists at two windows is offered at each, grok-4.7@500k sent with x-grok-context-window (plugins#83); a window offered without a k (grok-4.7@131072) goes as that window, not as a model named so (#1679)
min: "0.1.15", // a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; grok-4.7's reasoning levels; a token Grok refuses early reads as expired; the sign-in renewed ahead of time through auth.refresh; a 429 shows a spent Rate limit window until it lifts; a login with no link says why; a tool whose parameters are a root union goes as a plain object (#1271); a plain Codex agent_message (a subagent's task or reply) goes as the user's message, not refused with 422 "unknown item type", a sealed one as it came (plugins#61); a model Grok lists at two windows is offered at each, grok-4.7@500k sent with x-grok-context-window (plugins#83); a window offered without a k (grok-4.7@131072) goes as that window, not as a model named so (#1679); a sign-in without Grok Build names GROK_BIN_DIR (#2223)
agents: []string{"grok"},
out: func() ([]Moving, error) {
var out []Moving