DSH Plugins
返回列表
🧰

dsh-balance-status

联网工具 更新于 2026.09.14

在终端中运行以下命令:

dsh plugin install yknBugs/dsh-balance-status

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中运行 dsh plugin install yknBugs/dsh-balance-status 即可安装,插件源码地址为 https://github.com/yknBugs/dsh-balance-status

插件介绍

The DSH Web status bar already reports rounds, steps, throughput, and cache-hit rate, yet it leaves out the question that matters most at the wallet: how much balance is left, and what did this conversation cost. dsh-balance-status appends a single balance figure to the end of that bar. A left-click pops open a compact detail panel showing cumulative spend since the process started and since the current session began, then closes just as easily.

Under the hood it uses a balance-delta ledger: the first balance reading after process or session start becomes the baseline, and only downward changes are tallied. Top-ups raise the baseline without producing negative numbers, so a DeepSeek price change can never skew the math. Every figure lives in host-process memory and is never written to session logs. The API key never reaches the browser, which talks to a local read-only JSON route behind DSH's own authentication.

If you run DeepSeek through DSH Web on a daily basis, want a glanceable balance without juggling a separate widget or console tab, and prefer a deliberately minimal, animation-free UI, this plugin was built for that workflow. In multi-session setups each conversation keeps its own baseline, making it straightforward to see how much a single dialogue consumed. Restart the process and the numbers reset, leaving no trace in your conversation history.

使用场景

  • 日常调用 DeepSeek API 时在状态行快速查看剩余余额
  • 多会话并行时追踪每个对话各自的用量消耗
  • 无需打开控制台或第三方挂件即可掌握账户资金状态

适合人员

  • 日常通过 DSH Web 调用 DeepSeek API 的开发者
  • 偏好极简无动画界面且不希望污染会话日志的插件用户
  • 需要多会话用量区分且不依赖价格表的预算控制者