Carrick-K7/dsh-ai-quota ↗★ 1

dsh-ai-quota

DeepSeek Harness plugin: query AI subscription quotas & balances (Codex, Kimi, DeepSeek, 302.AI, OpenCode Go) as a model tool and a Settings page 适合需要直接在DSH中监控和查询多个API渠道剩余额度与余额的用户。

パッケージ
dsh-ai-quota
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
Cordis ピア範囲
^4.0.1
バージョン
0.7.7
ライセンス
MIT
最終更新
2026/09/11

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Carrick-K7/dsh-ai-quota

ドキュメント

README 全文を読む ↗

Configuration

All keys optional, defaults shown.

KeyDefaultMeaning
timeoutMs15000Per-provider query timeout (ms)
refreshIntervalMs120000Auto-refresh interval (ms); 0 = off
codexClicodexcodex CLI command or absolute path
deepseekApiKeyEnvDEEPSEEK_API_KEYDSH credential ref (fallback: same-named env var)
opencodeGoApiKeyEnvOPENCODE_GO_API_KEYDSH credential ref (fallback: same-named env var)
ai302ApiKeyEnvAI_302_API_KEYDSH credential ref (fallback: same-named env var)
deepseekBaseUrlhttps://api.deepseek.comDeepSeek API base URL
opencodeBaseUrlhttps://opencode.ai/zen/go/v1/usageOpenCode Go usage endpoint
ai302BaseUrlhttps://api.302.ai302.AI API base URL
kimiBaseUrlhttps://api.kimi.com/coding/v1Kimi usage endpoint base (appends /usages)
kimiOauthHosthttps://auth.kimi.comKimi OAuth refresh endpoint (appends /api/oauth/token)
kimiClientIdKimi Code CLI's public client idOAuth client_id (usually unchanged)