fanilly/dsh-token-stats ↗★ 1

@local/dsh-token-stats

Daily and per-session token usage with an estimated CNY cost, opened from Settings.

套件
@local/dsh-token-stats
相容性
待驗證
版本
1.0.3
授權
MIT
最近更新
2026年11月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fanilly/dsh-token-stats

使用

打开 设置 → Token 用量:

  • 日期范围(标题右侧,默认今天):今天 / 近 7 天 / 近 14 天 / 近 30 天 / 全部日期,或点开日历自选起止日期。
  • 目录筛选(列表上方):只看某个工作目录,或全部目录。
  • 图表:单日按小时、2~15 天按日、更长范围或「全部日期」自动切热力图。
  • 列表:按日、按会话;点行展开明细;父会话行显示「自身 + 子代理」合计。
  • 分页:列表底部,整体靠右;支持页码、每页条数、跳至第 N 页。
  • 定价设置(右上角):编辑每个模型的单价,保存后金额立即按新单价重算。