Skip to content

feat: add phone usage meters and Antigravity usage - #291

Closed
BigWebstas wants to merge 1 commit into
johannesjo:mainfrom
BigWebstas:task/parallel-code-antigravity-usage-bar-8cd60d
Closed

BigWebstas wants to merge 1 commit into
johannesjo:mainfrom
BigWebstas:task/parallel-code-antigravity-usage-bar-8cd60d

Conversation

@BigWebstas

@BigWebstas BigWebstas commented Sep 29, 2026 •

Copy link
Copy Markdown

Description

Shows subscription usage meters on the phone and tracks Antigravity usage in the usage bar.

  • Phone usage meters: new GET /api/mobile/usage route (mobile and paired tokens) serves the desktop's existing usage snapshot through a renderer-backed request, so phones never add load to the rate-limited usage endpoints. The phone web UI shows the 5h/7d meters and refreshes on tap. UsageState moves into shared-types so main, renderer and phone share it.
  • Antigravity usage: tracks Antigravity (agy) usage and rate limits, including its weekly windows, and shows them in the desktop status bar and the phone usage strip.

The native Android app that also reads this route now lives in its own PR, #292.

Issues Resolved

None. This is a follow-up to #163: the agent itself is already on main, and this PR adds its usage tracking.

Check List

  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

🤖 Generated with Claude Code

@BigWebstas
BigWebstas force-pushed the task/parallel-code-antigravity-usage-bar-8cd60d branch 2 times, most recently from e52f93b to 62dfc99 Compare September 29, 2026 17:37
@BigWebstas
BigWebstas force-pushed the task/parallel-code-antigravity-usage-bar-8cd60d branch from 62dfc99 to f1b7394 Compare September 29, 2026 23:16
@BigWebstas BigWebstas changed the title feat: add Android phone app, phone usage meters and Antigravity usage feat: add phone usage meters and Antigravity usage Sep 29, 2026
- Remote: serve the desktop usage snapshot at GET /api/mobile/usage via
  a renderer-backed request, so phones never hit the rate-limited usage
  endpoints. The phone web UI shows 5h/7d meters. UsageState moves into
  shared-types.
- Usage: track Antigravity usage and rate limits in the desktop status
  bar and the phone usage strip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BigWebstas
BigWebstas force-pushed the task/parallel-code-antigravity-usage-bar-8cd60d branch from f1b7394 to e9a78c5 Compare September 29, 2026 23:20
@BigWebstas BigWebstas closed this Sep 29, 2026
@BigWebstas
BigWebstas deleted the task/parallel-code-antigravity-usage-bar-8cd60d branch September 29, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant