Repository navigation
Conversation
The Google AGY provider already claims google-agy, opencode-agy-auth and google-agy-auth. A provider registered under the plain id `agy` -- the id the Antigravity bridge registers when it drives Google's Antigravity CLI -- was not one of them, so a session on such a model was not matched to the AGY quota. Adds the id to the provider's auth keys and runtime ids, so it maps to the same Google AGY quota rows the other Antigravity ids do. Existing settings that hide or order those rows keep working, because there is still one AGY row set. Refs slkiser#515
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What users see change
A session running a model from a provider registered under the id
agynow maps to the Google AGY quota provider, so the AGY rows (Gemini and Claude/GPT, weekly and 5-hour) appear for it. Every other provider id is unaffected, so for everyone else nothing visible changes.The id
agyis what the Antigravity bridge registers when it drives Google's Antigravity CLI. The Google AGY provider already claimedgoogle-agy,opencode-agy-authandgoogle-agy-auth; this adds the plainagyid to the same set rather than adding a second provider, so settings that hide or order the AGY rows keep working.Linked issue
Refs #515
Before and after screenshots
Not applicable, and here is why: the
agyprovider id is not in any released OpenCode or any released plugin, so no existing installation shows a difference. The change is the id mapping, which the new tests cover directly:tests/providers.google-agy.test.ts— theagyid maps to thegoogle-agyprovider, the existing Antigravity ids still do, and a model fromagy/…is claimed by the AGY provider whilegoogle/gemini-3.8-flashandanthropic/claude-sonnet-4-6are not.Surfaces I did not test: the TUI sidebar, the status line, the toasts and the
/quotawindow tabs, because this machine has no AGY quota to show./quota_statusreportsgoogle-agyasavailable: falsehere: the AGY quota path needs the opencode-antigravity-auth companion plugin that owns the login, and this account's Antigravity login lives in the Antigravity CLI's own keyring, so there is no AGY row set to photograph. The change only affects which provider id maps to that row set; it does not change how the quota is fetched.Checklist
pnpm verify