feat: add Charm Hyper quota provider (#3368)

This commit is contained in:
Howon Lee
2026-09-05 23:16:13 +03:00
committed by GitHub
parent 7b42208b8c
commit 5e7c147785
9 changed files with 454 additions and 0 deletions
@@ -15,6 +15,7 @@ import * as cursor from './cursor.js';
import * as deepseek from './deepseek.js';
import * as exeDev from './exe-dev.js';
import * as google from './google/index.js';
import * as hyper from './hyper.js';
import * as kimi from './kimi.js';
import * as nanogpt from './nanogpt.js';
import * as openai from './openai.js';
@@ -72,6 +73,12 @@ const registry = {
isConfigured: google.isConfigured,
fetchQuota: google.fetchGoogleQuota
},
hyper: {
providerId: hyper.providerId,
providerName: hyper.providerName,
isConfigured: hyper.isConfigured,
fetchQuota: hyper.fetchQuota
},
'zai-coding-plan': {
providerId: zai.providerId,
providerName: zai.providerName,
@@ -220,6 +227,7 @@ export const fetchGoogleQuota = google.fetchGoogleQuota;
export const fetchCodexQuota = codex.fetchQuota;
export const fetchCursorQuota = cursor.fetchQuota;
export const fetchDeepseekQuota = deepseek.fetchQuota;
export const fetchHyperQuota = hyper.fetchQuota;
export const fetchCopilotQuota = copilot.fetchQuota;
export const fetchCopilotAddonQuota = copilot.fetchQuotaAddon;
export const fetchKimiQuota = kimi.fetchQuota;