dsh-balance
DeepSeek Harness 余额查询插件:在会话里用 /balance 查看账户余额。 / DeepSeek account balance for DeepSeek Harness, available as the /balance command. 适合需要随时在会话中通过命令快速查看 API 余额的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DWJZ/dsh-balanceドキュメント
README 全文を読む ↗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.