DWJZ/dsh-balance ↗★ 0

dsh-balance

DeepSeek Harness 余额查询插件:在会话里用 /balance 查看账户余额。 / DeepSeek account balance for DeepSeek Harness, available as the /balance command. 适合需要随时在会话中通过命令快速查看 API 余额的用户。

Package
dsh-balance
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Sep 21, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DWJZ/dsh-balance

Configuration

Optional; write it into $DSH_HOME/profiles/ /cordis.patch.yml:

- id: dsh-balance
  config:
    apiKey: ''                        # explicit key; empty means "use apiKeyRef"
    apiKeyRef: DEEPSEEK_API_KEY       # credentials / environment reference
    baseUrl: https://api.deepseek.com
    timeoutMs: 10000
    cacheMs: 30000                    # how long one reading answers later calls

An unusable value (a non-string reference, a timeout below one second) fails loud at load instead of being silently replaced.