solstice621/dsh-token-usage-dashboard
solstice621★ 0JavaScript最后同步: 2026-08-15
—
README 摘要
dsh-token-usage-dashboard — Codex-style token usage dashboard English 简体中文 A Codex-style token usage dashboard for DeepSeek Harness (dsh) Web UI: 5 stat cards + a GitHub-style activity heatmap (daily / weekly) + insights + per-model usage ranking. The UI follows the DSH language setting: Chinese interface → Chinese dashboard, anything else → English. ✨ Features - 5 stat cards : total tokens / peak tokens (single day) / longest chat / current streak / longest streak; auto-shrinking one-line values - Heatmap : 53×7 rolling grid (today pinned to the bottom-right corner), hover for Aug 15, 2026: 273k tokens · 34 requests ; Daily / Weekly view toggle (weekly = bottom-up 7-cell bars, hover for the week total) - Insights : total turns, LLM requests, sessions, active days, cache hit rate, avg tokens & duration per turn - Favorite models : provider/model token ranking (Top 5) with ratio bars - Data source : session logs ( assistant/message usage + request/header model attribution + turn/start / turn/end durations), live incremental updates, persisted snapshot + incremental sync for fast restarts 🏗️ Architecture The plugin has two runnable forms that share the same aggregation logic: - Bund…
在 GitHub 查看完整 README →