chenpengye/dsh-balance-local ↗★ 0
dsh-balance-local
Local-only DeepSeek API balance plugin for dsh: queries https://api.deepseek.com/user/balance on the Host side; the API key never leaves the server process.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chenpengye/dsh-balance-local说明文档
阅读完整 README ↗Usage / 使用
- The API key comes from the dsh credential store (
DEEPSEEK_API_KEY), the same one saved in Settings → Models. No extra configuration needed. - API key 复用 dsh 凭据库中的
DEEPSEEK_API_KEY(设置 → 模型 里保存的那个),无需额外配置。
Configuration / 配置项
Host-side config (defaults shown), overridable in the profile config:
| Key | Default | Description |
|---|---|---|
apiKeyRef | DEEPSEEK_API_KEY | credential reference resolved on the Host |
baseUrl | https://api.deepseek.com | upstream; HTTPS only (loopback HTTP allowed for tests) |
timeoutMs | 10000 | upstream request timeout |
cacheMs | 30000 | Host-side response cache |
allowRemote | false | when false, non-loopback requests are rejected with 403 |