codeburn/app/renderer
iamtoruk 287791e2a9 feat: live quota for Gemini, Copilot, and Antigravity in the desktop app
Extends the existing borrowed-credential quota module (claude/codex) with
three providers, per-provider settings toggles, and a provider display map:

- gemini: Code Assist loadCodeAssist/retrieveUserQuota via the Gemini CLI's
  on-disk OAuth creds; optional env-gated token refresh; retired-tier
  responses degrade to terminalFailure with migration guidance
- copilot: copilot_internal/user with editor-plugin headers; token read-only
  from hosts.json/apps.json with one re-read on 401; marked as an internal
  API that may drift, failures degrade honestly
- antigravity: loopback-only Connect-RPC probe of the local language server
  (ps/lsof discovery via execFile, csrf token for the app variant, agy CLI
  accepted tokenless); TLS relaxation scoped to 127.0.0.1; no OAuth fallback
- settings: per-provider quota switches (default on) persisted renderer-side,
  honored in the main-process service so disabled fetchers never run; IPC
  disabled-list filtered against the provider allowlist
- sanitizeError extended for Google (ya29.) and GitHub (gh*_) token shapes

Kimi audited, not duplicated: the macOS menubar already fetches Kimi quota
live (KimiSubscriptionService.swift); the electron app not surfacing it is a
pre-existing gap, unchanged here.
2026-08-23 03:13:47 -07:00
..
assets brand: restore binary 0101 flame across all surfaces 2026-07-17 14:14:40 -07:00
components feat: live quota for Gemini, Copilot, and Antigravity in the desktop app 2026-08-23 03:13:47 -07:00
hooks chore(desktop): direct Windows installs to Microsoft Store (#798) 2026-07-23 14:52:52 +02:00
lib feat: live quota for Gemini, Copilot, and Antigravity in the desktop app 2026-08-23 03:13:47 -07:00
sections feat: live quota for Gemini, Copilot, and Antigravity in the desktop app 2026-08-23 03:13:47 -07:00
styles optimize: show the applied-fix verdicts in the TUI and desktop app 2026-08-18 03:15:12 -07:00
test feat(app): refresh cadence, instant switching, cache coherence, telemetry v1 2026-07-16 11:47:05 -07:00
App.test.tsx fix(desktop): name a custom range on the empty PR tab 2026-08-22 23:58:50 +05:30
App.tsx fix(desktop): thread PR-tab period through App 2026-08-22 23:46:46 +05:30
index.html harden(app): Electron security + spawn efficiency batch 2026-07-16 01:57:44 -07:00
main.tsx fix(app): zero background work when hidden; currency applies instantly 2026-07-16 18:41:28 -07:00
vite-env.d.ts feat(app): scaffold Electron+Vite package and codeburn CLI spawn 2026-07-10 15:16:55 -07:00