feat(xai): track SuperGrok weekly limit + API usage quota

Fetch OAuth quota from cli-chat-proxy billing, GetGrokCreditsConfig weekly
window, and settings plan label so the dashboard matches grok.com usage.
This commit is contained in:
2026-07-13 23:44:36 +07:00
parent b1d368d960
commit ab9a3c1d43
6 changed files with 643 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ const load = () => import("../../open-sse/services/usage.js");
const SUPPORTED = [
"github", "gemini-cli", "antigravity", "claude", "codex", "kiro",
"qoder", "qwen", "iflow", "ollama", "glm", "glm-cn",
"minimax", "minimax-cn", "vercel-ai-gateway",
"minimax", "minimax-cn", "vercel-ai-gateway", "xai",
];
describe("usage dispatch", () => {