feat(quota): add OpenCode Go usage tracking (#2155)

* feat(quota): add OpenCode Go usage tracking

* fix(quota): align OpenCode Go VS Code parsing
This commit is contained in:
Bohdan Triapitsyn
2026-07-12 14:48:50 +03:00
committed by GitHub
parent b4f50e0a01
commit 3d90eddcaf
26 changed files with 658 additions and 1 deletions
@@ -22,6 +22,7 @@ import * as minimaxCodingPlan from './minimax-coding-plan.js';
import * as minimaxCnCodingPlan from './minimax-cn-coding-plan.js';
import * as ollamaCloud from './ollama-cloud.js';
import * as wafer from './wafer.js';
import * as opencodeGo from './opencode-go.js';
const registry = {
claude: {
@@ -113,6 +114,12 @@ const registry = {
providerName: wafer.providerName,
isConfigured: wafer.isConfigured,
fetchQuota: wafer.fetchQuota
},
'opencode-go': {
providerId: opencodeGo.providerId,
providerName: opencodeGo.providerName,
isConfigured: opencodeGo.isConfigured,
fetchQuota: opencodeGo.fetchQuota
}
};