gutddts/dsh-token-budget-pill ↗★ 0

dsh-token-budget-pill

DeepSeek Harness 客户端插件:在对话输入框下方显示 DeepSeek 账户剩余余额与本会话 token 费用估算。

Package
dsh-token-budget-pill
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Oct 29, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gutddts/dsh-token-budget-pill

使用

  1. 进入任意一个已有消息的会话。
  2. 看输入框下方的统计条:[¥] 余额 · 本会话费用。
  3. 点击胶囊展开明细;点右上角「刷新」立即重新读取余额。

余额会在页面可见时每 90 秒自动刷新一次;每轮对话结束后约 4 秒也会自动刷新。刷新失败时保留上一次成功的数字,并标注「显示上次结果」。