DWJZ/dsh-balance ↗★ 0

dsh-balance

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

パッケージ
dsh-balance
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/21

同名パッケージの別リポジトリ

インストール

$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.