diff --git a/README.md b/README.md index c6a40992d..c262e00b7 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ Code process; Pi, OpenCode and every other agent use this path automatically. The generated harness stays out of Anthropic's system-prompt classifier while its instructions remain part of the user context. This requires Claude Code to be installed and signed in. -Cursor, Grok Build and Devin subscriptions likewise run through their own CLIs — +Cursor, Grok (SuperGrok, through Grok Build) and Devin subscriptions likewise run through their own CLIs — none of them has an endpoint a borrowed key can be sent to — with Devin driven over ACP (`devin acp`) in a home of magpie's own that keeps only the caller's MCP tools and shares just the sign-in. diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index e7ae1b79d..b4f733296 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -1199,7 +1199,7 @@ function accountPlan(a) { if (a.agent === "copilot") return "GitHub"; if (a.agent === "claude") return "Claude" + (a.plan ? " " + a.plan[0].toUpperCase() + a.plan.slice(1) : ""); if (a.agent === "cursor") return "Cursor" + (a.plan ? " " + a.plan[0].toUpperCase() + a.plan.slice(1) : ""); - if (a.agent === "grok") return "Grok Build"; + if (a.agent === "grok") return a.plan || "SuperGrok"; if (a.agent === "gemini" || a.agent === "antigravity") return a.plan || "Google"; return t("signed in"); } @@ -2735,7 +2735,7 @@ const SUBS = [ // cursor-agent keeps one account; signing in again replaces it { agent: "cursor", name: "Cursor", icon: "cursor", plans: "Pro · Ultra · Teams", single: true }, // so does Grok Build - { agent: "grok", name: "Grok Build", icon: "xai", plans: "SuperGrok · X Premium+", own: true }, + { agent: "grok", name: "Grok (SuperGrok)", icon: "xai", plans: "SuperGrok · X Premium+", own: true }, // signed in with GitHub's device code; the editors' own sign-in stays theirs { agent: "copilot", name: "Copilot", icon: "githubcopilot", plans: "Pro · Pro+ · Business", own: true }, // devin's credentials.toml keeps one account too diff --git a/internal/gui/providers.go b/internal/gui/providers.go index 5d36c3446..b43584e7b 100644 --- a/internal/gui/providers.go +++ b/internal/gui/providers.go @@ -172,8 +172,6 @@ func providerInfo(p provider.Provider, agents []*agent.Agent) providerJSON { } else if a.Agent == "cursor" { // cursor-agent runs behind the gateway, not as an agent magpie configures out.Account.Name, out.Account.Icon = "Cursor CLI", "cursor" - } else if a.Agent == "grok" { - out.Account.Name, out.Account.Icon = "Grok Build", "xai" } else if a.Agent == "antigravity" { out.Account.Name, out.Account.Icon = "Antigravity", "antigravity-color" } diff --git a/internal/provider/grok.go b/internal/provider/grok.go index 27362f4ab..e701a9257 100644 --- a/internal/provider/grok.go +++ b/internal/provider/grok.go @@ -111,7 +111,7 @@ func grokAccount() (Provider, bool) { } return ms, catalog.SaveLive("grok", "", ms) } - return Provider{ID: "grok", Name: "Grok Build", Icon: "xai", Website: "https://x.ai/cli", Account: acct}, true + return Provider{ID: "grok", Name: "Grok (SuperGrok)", Icon: "xai", Website: "https://x.ai/cli", Account: acct}, true } var grokModelL = regexp.MustCompile(`^[*-]\s+([A-Za-z0-9][\w.:-]*)`) diff --git a/internal/provider/grok_accounts.go b/internal/provider/grok_accounts.go index 9d002a264..26c4f8464 100644 --- a/internal/provider/grok_accounts.go +++ b/internal/provider/grok_accounts.go @@ -158,7 +158,7 @@ func grokLoginUsage(ctx context.Context) map[string]SubscriptionQuota { // grokUsageAt is the allowance of the account signed in in home. func grokUsageAt(ctx context.Context, home string) SubscriptionQuota { - q := SubscriptionQuota{Provider: "grok", Name: "Grok Build", Icon: "xai", Windows: []QuotaWindow{}} + q := SubscriptionQuota{Provider: "grok", Name: "Grok (SuperGrok)", Icon: "xai", Windows: []QuotaWindow{}} c, err := grokAccessToken(home, GrokExecutable(), false) if err == nil { q.Windows, err = grokWindows(ctx, c.Key) diff --git a/internal/provider/grok_usage.go b/internal/provider/grok_usage.go index e3e29038d..7d4632e26 100644 --- a/internal/provider/grok_usage.go +++ b/internal/provider/grok_usage.go @@ -14,7 +14,7 @@ import ( var grokBase = "https://cli-chat-proxy.grok.com/v1" func grokSubscriptionUsage(ctx context.Context) SubscriptionQuota { - q := SubscriptionQuota{Provider: "grok", Name: "Grok Build", Icon: "xai", Windows: []QuotaWindow{}} + q := SubscriptionQuota{Provider: "grok", Name: "Grok (SuperGrok)", Icon: "xai", Windows: []QuotaWindow{}} if c, ok := readGrokCredential(GrokHome()); ok { q.User = c.Email } diff --git a/site/public/docs/start.html b/site/public/docs/start.html index ab5307e6b..c19527d29 100644 --- a/site/public/docs/start.html +++ b/site/public/docs/start.html @@ -94,7 +94,7 @@
Claude (Pro, Max, Team), ChatGPT (Plus, Pro, Business), Cursor, Grok Build (SuperGrok), Copilot and Devin. Click the tile and magpie opens the vendor’s own sign-in page in your browser; the account shows up as soon as you finish (Copilot gives you a code to enter on GitHub’s page). Subscriptions are added here, in magpie, not by logging in inside another agent.
+Claude (Pro, Max, Team), ChatGPT (Plus, Pro, Business), Cursor, Grok (SuperGrok), Copilot and Devin. Click the tile and magpie opens the vendor’s own sign-in page in your browser; the account shows up as soon as you finish (Copilot gives you a code to enter on GitHub’s page). Subscriptions are added here, in magpie, not by logging in inside another agent.
Claude(Pro、Max、Team)、ChatGPT(Plus、Pro、Business)、Cursor、Grok Build(SuperGrok)、Copilot 和 Devin。点卡片后 magpie 会在浏览器里打开厂商自己的登录页,登录完成后账号立刻出现(Copilot 会给你一个验证码,在 GitHub 页面上输入)。订阅是在 magpie 里添加的,不需要先去别的 Agent 里登录。
+Claude(Pro、Max、Team)、ChatGPT(Plus、Pro、Business)、Cursor、Grok(SuperGrok)、Copilot 和 Devin。点卡片后 magpie 会在浏览器里打开厂商自己的登录页,登录完成后账号立刻出现(Copilot 会给你一个验证码,在 GitHub 页面上输入)。订阅是在 magpie 里添加的,不需要先去别的 Agent 里登录。