BenYuan-Nolove-onani/dsh-token-stats ↗★ 0

dsh-token-stats

Token usage statistics for the DeepSeek Harness web profile: per-window totals (today / 3d / 7d / 15d / 30d / half-year / year) with input, output, cache-read, cache-write and cache-hit metrics, plus an enable/disable switch, shown as a Settings page. 适合关注 Token 消耗与缓存命中的用户;在设置页查看,可随时启停统计。

パッケージ
dsh-token-stats
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/15

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

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

🚀 Usage

  1. Open Settings → "Token 用量" (refresh the page once so the client bundle is picked up)
  2. Read the summary cards and the per-window table (auto-refreshes every 30s)
  3. Use 停用 / 启用 in the page header to toggle aggregation:
ActionEffectPersisted to
停用 (disable)stops aggregating; page shows the disabled statesettings.yaml → token-stats: { enabled: false }
启用 (enable)resumes aggregation and the stats tablesettings.yaml → token-stats: { enabled: true }

The switch applies immediately — no restart needed.