feat: make Antigravity a first-class provider - #12
Merged
Merged
Conversation
Promote Antigravity from a hidden account source to a selectable provider so it can be configured entirely from the admin UI. - providerOptions/channelTemplates: "Antigravity / Google" provider + a dedicated account-pool template with the 12 Antigravity model IDs - DrawingView: "新增 Antigravity 账号池" button; antigravity channels show in the account pool view - isAntigravityChannel + ensureAntigravityChannelLocked keep the provider stable and register its models; isCodexChannel now excludes antigravity so startup upkeep never rewrites it to codex - shouldUseCompatibleProvider / fetchUpstreamModelIDs / providerLabel handle the antigravity provider; account import into an antigravity pool tags accounts source=antigravity - rebuild dist bundle Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Promotes Antigravity from a hidden account source to a selectable, first-class provider so it can be set up entirely from the admin UI (no env, no burying it under the Codex pool).
Changes
providerOptionsand a dedicated account-pool channel template preloaded with the 12 Antigravity model IDs. Provider count on the settings page goes 12 → 13.isAntigravityChannel+ensureAntigravityChannelLockedkeep the provider stable and register its models;isCodexChannelnow excludes antigravity so startup/periodic upkeep never rewrites an antigravity pool to codex.shouldUseCompatibleProvider,fetchUpstreamModelIDs, andproviderLabelall handle the antigravity provider.source=antigravityregardless of the file's declared source.Testing
go test ./cmd/capi/passes (added channel-classification + secret-decode tests).tsctypecheck clean; production bundle rebuilt.🤖 Generated with Claude Code