neltharion11/dsh-api-balance0

dsh-api-balance

DeepSeek Harness bundle: shows your DeepSeek API account balance in the web GUI (sidebar widget) and exposes it to the model through an api_balance tool

AI 分析

核心用途是在侧边栏展示 DeepSeek 余额,并允许模型通过工具查询。适合使用 DeepSeek 官方 API 且需要监控额度的用户。

パッケージ
dsh-api-balance
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/19

インストール

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

ドキュメント

README 全文を読む ↗

配置

通过 profile 的 cordis.patch.yml 覆盖(行 id:api-balance):

- id: api-balance
  config:
    apiKeyEnv: DEEPSEEK_API_KEY   # 凭据引用名
    baseURL: https://api.deepseek.com
    timeoutMs: 15000              # 单次上游请求超时
    cacheMs: 60000                # 宿主缓存余额快照的时长
    enabled: true