htq20080119/dsh-token-stats0

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.

AI 분석

核心用途是统计和分析 Token 消耗。适合需要监控今日、多日或半年内 Token 用量、缓存命中率,并需要即时启停统计功能的用户。

패키지
dsh-token-stats
버전
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.yamltoken-stats: { enabled: false }
启用 (enable)resumes aggregation and the stats tablesettings.yamltoken-stats: { enabled: true }

The switch applies immediately — no restart needed.