htq20080119/dsh-token-stats

htq20080119★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Token usage statistics plugin for DeepSeek Harness — per-window consumption metrics with an enable/disable switch, right in Settings.----------DeepSeek Harness 的 Token 用量统计插件:按时间窗统计消耗指标,设置页内随时启停。

README 摘要

📊 dsh-token-stats Token usage statistics plugin for the DeepSeek Harness web profile English · 简体中文 A Settings-page plugin that shows token consumption across all sessions , bucketed into time windows — with an enable/disable switch that persists to settings.yaml and hot-applies. No restart required. 🛡️ Community plugin — this is an independent, community-maintained plugin for the DeepSeek Harness. It is not an official DeepSeek project and is not affiliated with or endorsed by DeepSeek / the DeepSeek Harness team. ✨ Features 🪟 8 time windows today · 3d · 7d · 15d · 30d · half-year (180d) · 1 year (365d) · all-time 📈 9 metrics per window total, input, output, cache-read, cache-write, requests, cache-hit requests, cache-hit rate 🗂️ Summary cards all-time totals: input / output / cache read / cache write / hit rate / requests 🎚️ Enable / disable switch right in the page — persisted to settings.yaml , hot-applied in seconds 🔄 Auto refresh polls every 30s, plus a manual refresh button 📚 Official accounting same (turn, step) dedup as the built-in tokenUsage session projection 📸 Preview Screenshot placeholder — replace with a capture of Settings → "Token 用量". ⚠️ Sample data belo…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-plugin

分类