feat(quota): add Crof and NeuralWatt quota providers (#2415)

This commit is contained in:
pablogonzalez
2026-07-26 17:57:53 +03:00
committed by GitHub
parent 023ec2362e
commit e2b0a113b8
13 changed files with 1330 additions and 1 deletions
@@ -10,6 +10,7 @@ import { buildResult } from '../utils/index.js';
import * as claude from './claude.js';
import * as codex from './codex.js';
import * as copilot from './copilot.js';
import * as crof from './crof.js';
import * as cursor from './cursor.js';
import * as google from './google/index.js';
import * as kimi from './kimi.js';
@@ -20,6 +21,7 @@ import * as zai from './zai.js';
import * as zhipuaiCodingPlan from './zhipuai-coding-plan.js';
import * as minimaxCodingPlan from './minimax-coding-plan.js';
import * as minimaxCnCodingPlan from './minimax-cn-coding-plan.js';
import * as neuralwatt from './neuralwatt.js';
import * as ollamaCloud from './ollama-cloud.js';
import * as wafer from './wafer.js';
import * as opencodeGo from './opencode-go.js';
@@ -37,6 +39,12 @@ const registry = {
isConfigured: codex.isConfigured,
fetchQuota: codex.fetchQuota
},
crof: {
providerId: crof.providerId,
providerName: crof.providerName,
isConfigured: crof.isConfigured,
fetchQuota: crof.fetchQuota
},
cursor: {
providerId: cursor.providerId,
providerName: cursor.providerName,
@@ -120,6 +128,12 @@ const registry = {
providerName: opencodeGo.providerName,
isConfigured: opencodeGo.isConfigured,
fetchQuota: opencodeGo.fetchQuota
},
neuralwatt: {
providerId: neuralwatt.providerId,
providerName: neuralwatt.providerName,
isConfigured: neuralwatt.isConfigured,
fetchQuota: neuralwatt.fetchQuota
}
};