Skip to content

Menubar: Gemini/Copilot/Antigravity live quota, CodexBar-style Settings, brand refresh - #1133

Merged
iamtoruk merged 10 commits into
mainfrom
feat/menubar-quota-parity
Aug 24, 2026
Merged

iamtoruk merged 10 commits into
mainfrom
feat/menubar-quota-parity

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

What

Quota parity with the desktop app — three new live-quota providers in the menubar, each ported read-only from the app's Electron services with the same load-state machine as Kimi/Claude/Codex:

  • Gemini: Code Assist loadCodeAssist/retrieveUserQuota via ~/.gemini/oauth_creds.json (in-memory refresh only; handles Google's CLI-OAuth tier retirement)
  • Copilot: copilot_internal/user via the editor plugin token in ~/.config/github-copilot (github.com host preferred)
  • Antigravity: local language-server discovery (ps+lsof) and Connect-RPC probes over loopback HTTPS; the self-signed-cert trust override is scoped strictly to 127.0.0.1

Settings redesign — System Settings-style window modeled on CodexBar (MIT, steipete/CodexBar): fixed 260pt sidebar with native search, SF Symbol gradient chips, official provider marks (LobeHub icon set) with connected dots and an N-on counter, grouped About pane (hero, Updates wired to UpdateChecker, link rows). Window is resizable/fullscreen-capable, titles itself after the visible pane, and recenters when restored off-screen.

Brand refresh — animated flame-gradient wordmark in the popover header (site .flame-text parity, Reduce Motion respected); app icon is the website's binary 0101 flame (background-free); About hero shows the full-color flame, the About sidebar row a solid silhouette; single tagline everywhere (Your AI Bill, Itemized); UI copy em-dashes removed.

Packaging fix — package-app.sh now ships the SwiftPM resource bundle inside the .app; without it Bundle.module aborts at first icon render (would have shipped broken via the release workflow).

Verification

  • swift build clean; full suite 207 tests / 30 suites green at every commit
  • Live-installed and click-through-reviewed on a real menubar across multiple iterations (crash found and fixed via the packaging gap; small-size icon legibility reviewed by eye)
  • Antigravity TLS override verified to reject any non-loopback host

…an tab

Ports the desktop app's Gemini Code Assist quota flow (loadCodeAssist
tier + retrieveUserQuota buckets, ~/.gemini/oauth_creds.json read-only,
in-memory-only refresh) to the menubar. Plan tab and empty-state gating
now treat Gemini as plan-capable.
…ogo rows

Replaces the tab strip with a NavigationSplitView shell: search field,
General/About tile rows, and a data-driven Providers section whose real
logo marks render gray at rest and accent-tinted on hover, with green
connected dots and an N-on counter. Bundles template icon assets.
…an tab

Ports the desktop app's Copilot flow (editor-plugin OAuth token from
~/.config/github-copilot, copilot_internal/user snapshot) read-only,
with github.com-host preference and UI-string sanitization.
…icon, resource-bundle packaging

Settings window now replicates CodexBar's System Settings layout
(880x620 fullSizeContentView window, transparent titlebar, fixed 260pt
sidebar, SF Symbol gradient chips, native search field, grouped About
pane with Updates/Links). Status item renders the 0101 flame template
with severity tints. package-app.sh ships the SwiftPM resource bundle,
fixing the Bundle.module launch crash. Sidebar layout modeled on
CodexBar (MIT, steipete/CodexBar).
…Settings pane, Plan tab

Ports the desktop app's Antigravity flow: ps+lsof discovery of the
local language server, Connect-RPC quota/status probes over loopback
HTTPS with the self-signed-cert trust override scoped strictly to
127.0.0.1, disconnected-state UX when the app is not running. Also
swaps all provider sidebar marks to the official LobeHub icon set.
Popover header now renders the full CodeBurn wordmark filled with the
site's .flame-text gradient (#ff6a00 > #ffda44 > #e8553a > #ff8c00,
300% width, 3s ease sweep). Static gradient under Reduce Motion.
Status item returns to the SF flame (the 0101 mark blurs at menubar
size); About hero shows the full-color binary flame and the About
sidebar row its bare white template, no chip; footer credits Resham
Joshi (iamtoruk) / AgentSeal, MIT; About tagline matches the website
(Your AI Bill, Itemized); UI copy drops em-dashes (currency rows use
middots); Settings window is resizable and fullscreen-capable and
recenters when restored off-screen.
The 0101-detail flame collapses into a faint smudge at 20px; the row
now uses a solid silhouette cut from the website flame's own outline.
…upe, em-dash sweep

Settings window titles itself after the visible pane like System
Settings; the popover subtitle adopts the website tagline (Your AI
Bill, Itemized); About stops printing dev (dev) when version and build
match; remaining user-facing em-dashes across popover and service
strings become sentence breaks.
@iamtoruk
iamtoruk merged commit e0a12de into main Aug 24, 2026
5 of 6 checks passed
@iamtoruk
iamtoruk deleted the feat/menubar-quota-parity branch August 24, 2026 17:02
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