fix(google): restore forward-compat provider hooks

This commit is contained in:
Gustavo Madeira Santana
2026-04-05 19:01:52 -04:00
parent b5ade7b629
commit 62583e2235
4 changed files with 109 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ export const DEFAULT_TIMEOUT_MS = 5000;
export const PROVIDER_LABELS: Record<UsageProviderId, string> = {
anthropic: "Claude",
"github-copilot": "Copilot",
"google-gemini-cli": "Gemini",
minimax: "MiniMax",
"openai-codex": "Codex",
xiaomi: "Xiaomi",
@@ -19,6 +20,7 @@ export const PROVIDER_LABELS: Record<UsageProviderId, string> = {
export const usageProviders: UsageProviderId[] = [
"anthropic",
"github-copilot",
"google-gemini-cli",
"minimax",
"openai-codex",
"xiaomi",

View File

@@ -20,6 +20,7 @@ export type UsageSummary = {
export type UsageProviderId =
| "anthropic"
| "github-copilot"
| "google-gemini-cli"
| "minimax"
| "openai-codex"
| "xiaomi"