Repository navigation
feat(status-bar): keep Antigravity in the usage menu with a note that its quota isn't shown - #52953
Conversation
… its quota isn't shown Orca stopped reading Antigravity quota in #50137, so the agent vanished from the usage menu and users reported it as a bug. When agy is detected on this device, the menu lists Antigravity after every meter with one muted line and an info tooltip explaining why. The row is not a provider reading: it never joins sorting, the status-bar chips or any percent logic, and it reads no Antigravity state.
…nd fitted to its text
…-item shape for the Antigravity info icon
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Merge stablyai/orca 395b551 (342 commits) into fork main 30107dc. Conflict resolutions (9 files), keeping fork behavior and upstream intent: - worker-terminal inventory: upstream SQL pushdown of terminal-state filters and counts (stablyai#52172) over the fork's JS scan; the fork's prior-owner handoff (#69) stays in WORKER_TERMINAL_HANDED_ON_TO_SQL, which the pushed-down retained predicate uses, so a handed-on Dispatch still lists no terminal. - electron-builder config: fork signing-identity / Touch ID requires plus upstream rmSync import; upstream's daily-channel removal (stablyai#52449) kept, and the fork-only channel test drops its daily cases. - build-computer-macos: fork single-arch copy vs universal lipo, then upstream's strip -x. - tsconfig.node: upstream inherited-git-env-setup rename (list now equals upstream). - package.json: upstream build:mac / build:mac:release via build:native, fork build:mac:install. - mobile client-context: fork RpcClientContext module plus upstream holdEntry. - status bar usage: fork account-entry roster plus upstream Antigravity notice row (stablyai#52953) and ProviderIcon size prop, fork omp icon sized too. Gates: install:release, mobile frozen install, pnpm tc, 22 conflict-area test files (94 tests), 3 worker-terminal perf contracts, #69 handed-on repro (fails on upstream's old SQL), check:changed --base=30107dced9e 54/55 with the load-timed-out worktree-removal-real-git test passing alone (16/16), build:mobile-web. Claude-Session: https://claude.ai/code/session_01BPjp5z8knubqaxZaD7QKW6
… its quota isn't shown (stablyai#52953) * feat(status-bar): keep an Antigravity row in the usage menu that says its quota isn't shown Orca stopped reading Antigravity quota in stablyai#50137, so the agent vanished from the usage menu and users reported it as a bug. When agy is detected on this device, the menu lists Antigravity after every meter with one muted line and an info tooltip explaining why. The row is not a provider reading: it never joins sorting, the status-bar chips or any percent logic, and it reads no Antigravity state. * fix(status-bar): keep the Antigravity tooltip inside the usage menu and fitted to its text * test(status-bar): drop the rendered Antigravity row test * fix(status-bar): use a normal-wrap tooltip variant and the stock menu-item shape for the Antigravity info icon (cherry picked from commit f313d12)
Summary
Since #50137 Orca no longer reads Antigravity's quota, so Antigravity simply disappeared from the status-bar usage menu, and users with a linked Google account report it as a bug. This keeps an Antigravity row in the usage menu that says the quota isn't shown, instead of a meter.
Not shown, per Google's guidancewith an info icon right after it.Not shownwith the same info icon.To follow Google's guidance, Orca doesn't read Antigravity's live quota. You'll still see a notice when you run out.(the run-out notice is fix(antigravity): show a usage-limit notice with its reset time when agy's quota runs out #50190).agyis detected on this device's PATH, the same detection the menu already uses for other CLI agents. Orca reads no Antigravity account state here, and this window doesn't know a remote owner's PATH, so the row stays hidden for remote owners and before detection has answered.ui/tooltip.tsxgains awrap: 'default' | 'normal'variant.normaluses plain wrapping so a long, width-capped tooltip fits its text instead of leaving the box part-empty. Only this row uses it, and every other tooltip is unchanged. Design-system owners: this is a new option on the shared primitive.Checked against how comparable products handle this.
Screenshots
Component fixtures with invented data, popover at its narrowest (300px).
Testing
pnpm check:changed: all 32 checks pass.Performance
The row is static markup rendered inside the already-open usage popover. It adds no store subscription, timer, polling, IPC,
agyspawn or quota fetch. The visibility check is oneincludeson thedetectedAgentIdsarray that the status-bar controller already selects and refreshes on mount and on manual refresh, so it adds no re-render trigger. Inside the popover the row adds twouseIdcalls and one tooltip.rosterProviders, the chip-layout measurement and the reset-countdown clock are untouched because the row is not a provider. The tooltip variant adds one empty class string to every other tooltip's class computation.