Skip to content

feat: integrate Gemini CLI quota merging and Antigravity v2 rate-limit overrides#120

Open
XDayonline wants to merge 1 commit into
slkiser:mainfrom
XDayonline:feat/antigravity-v2-cli-models
Open

feat: integrate Gemini CLI quota merging and Antigravity v2 rate-limit overrides#120
XDayonline wants to merge 1 commit into
slkiser:mainfrom
XDayonline:feat/antigravity-v2-cli-models

Conversation

@XDayonline

Copy link
Copy Markdown

Summary

Applies user's local compiled patches back to TypeScript source for Antigravity v2 features.

Changes

Gemini CLI quota merging

  • Add getRateLimitFamily() for local rate-limit override lookup
  • Modify �xtractModelQuotas to accept full account object and apply
    ateLimitResetTimes
  • Add modelIdToGemini3Key / etchGeminiCliQuota / mergeGeminiCliQuota for the cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota endpoint
  • queryGoogleQuota now fetches and merges CLI bucket data (lower % wins)

Provider improvements

  • Group Antigravity entries by displayName with explicit label and classicStrategy: "preserve"
  • Normalize gpt-oss in Google model detection (grouped-entry-normalization.ts)
  • Add Windows nvm/npm node_modules paths to companion resolution (google-antigravity-companion.ts)
  • Extend GOOGLE_MODEL_KEYS with GPTOSS and add �ltKey for G3PRO/G3FLASH/CLAUDE

TypeScript types

  • Add "GPTOSS" to GoogleModelId union and GOOGLE_MODEL_KEYS
  • Add isValidGoogleModelId entry for "GPTOSS"
  • Add classicStrategy?: "preserve" to QuotaProviderPresentation

Tests updated

  • providers.google-antigravity.test.ts: expect group/label fields in entries
  • lib.google.multi-account-refresh.test.ts: expect 4 fetch calls
  • ormat.test.ts/ ui-sidebar-format.test.ts: match group-based labels

Closes #118

…t overrides

- Add getRateLimitFamily() for local rate-limit override lookup
- Modify extractModelQuotas to accept account and apply rateLimitResetTimes
- Add modelIdToGemini3Key / fetchGeminiCliQuota / mergeGeminiCliQuota for
  Gemini CLI retrieveUserQuota endpoint (more accurate rate limits)
- Group Antigravity entries by displayName with explicit label and
  classicStrategy: preserve
- Normalize GPT-OSS in google model detection
- Extend GOOGLE_MODEL_KEYS for GPT-OSS and add altKey mappings
@XDayonline XDayonline closed this Jun 5, 2026
@XDayonline XDayonline deleted the feat/antigravity-v2-cli-models branch June 5, 2026 20:05
@XDayonline XDayonline restored the feat/antigravity-v2-cli-models branch June 5, 2026 20:05
@XDayonline XDayonline reopened this Jun 5, 2026
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.

[bug]: /quota command ignores percentDisplayMode config

1 participant