feat(cliproxy): add account quota display for Antigravity provider

- Add quota-fetcher.ts for Google Cloud Code API integration
- Add REST endpoint GET /api/cliproxy/quota/:provider/:accountId
- Add useAccountQuota hook with React Query caching
- Display quota bar in AccountItem with per-model tooltip
- Create reusable Progress component
- Consolidate quota types in api-client.ts
This commit is contained in:
kaitranntt committed 2025-12-28 19:24:12 -05:00
1 parent 9d8268b0f6
commit 205b5ab71f
11 files changed
+637 -51

No files matched your search

+4
View File
@@ -111,6 +111,10 @@ export {
export type { CliproxyStats } from './stats-fetcher';
export { fetchCliproxyStats, isCliproxyRunning } from './stats-fetcher';
// Quota fetcher
export type { ModelQuota, QuotaResult } from './quota-fetcher';
export { fetchAccountQuota } from './quota-fetcher';
// OpenAI compatibility layer
export type { OpenAICompatProvider, OpenAICompatModel } from './openai-compat-manager';
export {