chore(quota): drop the Kimi Code quota reader (Kimi already left the catalog)

Redone on v2.8.22 from 3179d25 (feat/grok-usage, never merged).
This commit is contained in:
2026-10-23 13:44:37 +07:00
parent c0832182f2
commit 127da516ac
8 changed files with 14 additions and 137 deletions
-1
View File
@@ -50,7 +50,6 @@ const QUOTA_TOOL_LABEL: Record<ToolQuota["id"], string> = {
codex: "Codex",
antigravity: "Antigravity",
cursor: "Cursor",
kimi: "Kimi",
};
function localDate(d = new Date()): string {
+1 -1
View File
@@ -1216,7 +1216,7 @@ export interface CostResult {
/** GET /api/pricing/quota: plan quota spent per native tool (server/lib/quota.js). */
export interface ToolQuota {
id: "claude" | "codex" | "antigravity" | "cursor" | "kimi";
id: "claude" | "codex" | "antigravity" | "cursor";
/** One per plan window: `5h`, `wk`, `mo`, …; `usedPercent` is 0–100.
* `group` names the model pool a window belongs to (Antigravity's). */
windows: Array<{