dsh plugins中文
← Back to popular plugin directory

Token Stats · dsh plugin

caiyfa/dsh-token-stats · productivity

The missing global token-usage dashboard for deepseek-harness (dsh) — one-line install, then open Settings to see per-model, per-time-bucket, and per-session consumption with anomaly tracking.

★ 2GitHub stars
0Forks
2026-08-25Last updated
JavaScriptLanguage
MITLicense

Key features

  • Correct attributionsubagent tokens and anomalies roll up along the parentSession chain to their root main session — counts speak in main sessions only, while every subagent token lands on its owner
  • The host half is a resident background service: it scans every session log, folds each assistant/message's provider-reported usage (bucketed by provider/model) and each turn/end error into minute/hour/day timelines.
  • Zero waita resident background aggregate (warm-up at start → 60s incremental sweeps → 10min full rescans) means the Settings page always reads hot data
  • dsh's built-in stats cover only the current session.
  • Total consumption across sessions, per-model breakdowns, which day was heaviest, which sessions failed — none of that exists in the stock UI.

Install command

dsh plugin --profile web add github:caiyfa/dsh-token-stats
View GitHub repository ↗Back to popular plugin directory