refactor!: remove google-antigravity provider support

This commit is contained in:
Peter Steinberger
2026-02-23 05:20:14 +01:00
parent 558a0137bb
commit 382fe8009a
41 changed files with 43 additions and 2373 deletions

View File

@@ -158,7 +158,7 @@ async function resolveOAuthToken(params: {
});
if (resolved) {
let token = resolved.apiKey;
if (params.provider === "google-gemini-cli" || params.provider === "google-antigravity") {
if (params.provider === "google-gemini-cli") {
const parsed = parseGoogleToken(resolved.apiKey);
token = parsed?.token ?? resolved.apiKey;
}
@@ -188,7 +188,6 @@ function resolveOAuthProviders(agentDir?: string): UsageProviderId[] {
"anthropic",
"github-copilot",
"google-gemini-cli",
"google-antigravity",
"openai-codex",
] satisfies UsageProviderId[];
const isOAuthLikeCredential = (id: string) => {