From 7be3dda764dfee6b9e3a6f1fb49d9c593020207e Mon Sep 17 00:00:00 2001 From: GOAT Date: Thu, 15 Oct 2026 18:31:39 +0900 Subject: [PATCH] feat(antigravity): show canonical plan badge in account rows (carry #5932) Carry only the missing account-row badge and accessibility from #5932 at 9b6e14d359cebb1c3fdd016bcc11384c9b2b45bc; plan persistence and projection already landed in #6953. Co-authored-by: cubebox <58514883+juzijia@users.noreply.github.com> --- .../src/content/docs/guides/providers.md | 3 ++ .../provider-workspace/ProviderAuthPanel.tsx | 5 +- .../components/provider-workspace/types.ts | 1 + gui/src/hooks/useProviderAccountPools.ts | 1 + .../styles/provider-workspace-settings.css | 1 + .../provider-quota-refresh-controls.test.tsx | 47 +++++++++++++++++++ structure/gui-and-management-api.md | 2 +- 7 files changed, 57 insertions(+), 3 deletions(-) diff --git a/docs-site/src/content/docs/guides/providers.md b/docs-site/src/content/docs/guides/providers.md index 520161b511b..270b1f7e365 100644 --- a/docs-site/src/content/docs/guides/providers.md +++ b/docs-site/src/content/docs/guides/providers.md @@ -145,6 +145,9 @@ Cursor, Kiro, Zed Hosted AI and Nous Portal are login-only and have no API-key e login-only too: `ocx login google-antigravity` signs in with your Google account over the Cloud Code Assist wire, and the `google` preset beside it is the AI Studio Gemini API — a different product reached with its own key, not a key mode for the same login. +The Antigravity Accounts tab shows an observed membership tier as a badge beside the account +label, using the upstream tier ID (for example `free-tier` or `gemini-pro`). No badge appears +when the plan is unknown; it does not affect routing or quota. Gemini 4 Argon (`gemini-4-argon`) is listed on the `google` preset with low, medium (the default), and high thinking levels. Google offers it on the paid Gemini API tier only, not the free diff --git a/gui/src/components/provider-workspace/ProviderAuthPanel.tsx b/gui/src/components/provider-workspace/ProviderAuthPanel.tsx index da5419c975c..e21f627d5e5 100644 --- a/gui/src/components/provider-workspace/ProviderAuthPanel.tsx +++ b/gui/src/components/provider-workspace/ProviderAuthPanel.tsx @@ -553,6 +553,7 @@ export default function ProviderAuthPanel({