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

dsh-token-stats

统计 Web 端各时间窗口的 Token 用量与缓存指标。 适合关注 Token 消耗与缓存命中的用户;在设置页查看,可随时启停统计。

套件
dsh-token-stats
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.1.1
授權
MIT
最近更新
2026年8月15日

同名套件的其他儲存庫

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 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.