refactor(quota): modularize quota providers and add docs map (#427)

* refactor(quota): migrate server quota providers to modular registry architecture

* docs: add quota module documentation

Explain the quota module purpose and runtime signals.
List entrypoints, provider registry, and response shape.
Outline steps to add a new provider and testing commands.
This commit is contained in:
Nelson Pires
2026-02-15 16:19:10 +02:00
committed by GitHub
parent 7e2a2e7e88
commit 243abe9d16
23 changed files with 1779 additions and 1338 deletions
+21
View File
@@ -0,0 +1,21 @@
/**
* Quota module
*
* Provides quota usage tracking for various AI provider services.
* @module quota
*/
export {
listConfiguredQuotaProviders,
fetchQuotaForProvider,
fetchClaudeQuota,
fetchOpenaiQuota,
fetchGoogleQuota,
fetchCodexQuota,
fetchCopilotQuota,
fetchCopilotAddonQuota,
fetchKimiQuota,
fetchOpenRouterQuota,
fetchZaiQuota,
fetchNanoGptQuota
} from './providers/index.js';