dsh-balance
DSH plugin: query and display the DeepSeek account balance — dsh_balance tool + live conversation-input widget in the web UI (TypeScript, dual-face).
AI Analysis
核心用途是实时监控DeepSeek官方API的账户余额。适合频繁调用DeepSeek官方接口、需要防止因欠费导致服务中断的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:qiuyongjin/dsh-balanceREADME
Read the full README ↗配置
默认配置开箱即用;如需覆盖,在 profile 的 cordis.patch.yml 按行 id 覆盖(patch 整替换 config,需重述全部键):
- id: dsh-balance
config:
apiKeyEnv: DEEPSEEK_API_KEY
baseURL: https://api.deepseek.com
timeoutMs: 10000
| 键 | 默认值 | 说明 |
|---|---|---|
apiKeyEnv | DEEPSEEK_API_KEY | 读取 API key 的凭据引用(POSIX 环境变量名) |
baseURL | https://api.deepseek.com | DeepSeek API 基地址 |
timeoutMs | 10000 | 请求超时(毫秒) |