Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

670 B
Raw Blame
/**
 * QuotaStore.ts — Public façade for the Quota Sharing Engine.
 *
 * Re-exports the interface types from types.ts and the factory from
 * storeFactory.ts so consumers have a single import point.
 *
 * Usage:
 *   import { getQuotaStore } from "@/lib/quota/QuotaStore";
 *   import type { QuotaStore, EnforceDecision } from "@/lib/quota/QuotaStore";
 *
 * Part of: Group B — Quota Sharing Engine (plan 22, frente F6).
 */

export type {
  QuotaStore,
  EnforceDecision,
  ConsumeResult,
  PoolUsageSnapshot,
  EnforceInput,
  RecordConsumptionInput,
} from "./types";

export { getQuotaStore, getQuotaStoreSync, resetQuotaStoreSingleton } from "./storeFactory";