From ae5a1b332332f2339f09fa65a341f43f6f8b6936 Mon Sep 17 00:00:00 2001
From: cubebox <58514883+juzijia@users.noreply.github.com>
Date: Fri, 9 Oct 2026 20:05:27 +0800
Subject: [PATCH 1/2] feat(antigravity): expose membership plan in account UI
---
.../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 | 40 ++++++
src/oauth/google-antigravity.ts | 63 ++++++++--
src/oauth/index.ts | 27 +++--
src/oauth/store.ts | 16 ++-
src/oauth/types.ts | 6 +
.../google/google-antigravity-oauth.test.ts | 114 +++++++++++++++++-
tests/oauth/oauth-reauth-bind.test.ts | 32 +++++
11 files changed, 279 insertions(+), 27 deletions(-)
diff --git a/gui/src/components/provider-workspace/ProviderAuthPanel.tsx b/gui/src/components/provider-workspace/ProviderAuthPanel.tsx
index da5419c975c..f6a50d77f7a 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({
{accounts.map(account => {
const label = oauthAccountDisplayLabel(accounts, account, t);
+ const planLabel = account.plan;
const switching = switchingAccountId === account.id;
const pausing = pausingAccountId === account.id;
const healthStatus = account.health?.status;
@@ -567,11 +568,11 @@ export default function ProviderAuthPanel({