概览
dsh-usage-unified
源码级技术说明Unified DeepSeek Harness usage statistics — machine-wide token accounting across every dsh home, with trends, a custom date range that governs every panel, one model panel (share + four-bucket split + call count), a session ranking with call drill-down, CSV/JSON export and an optional local cost estimate that models DeepSeek's off-peak/peak pricing.收起技术说明
README / ZH
插件文档
目录摘要
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
Disclosed rather than hidden — the footer repeats the ones that apply to the current data. - **Retried steps keep only the final usage.** A step whose provider report was replaced was billed for both attempts; the log only preserves the survivor. Surfaced as `retried` in the footer. - **A bounded range can total less than all-time.** Tokens whose timestamps fail the clock-skew guard belong in a total but not on a calendar, so all-time reads authoritative per-session counters while a bounded range sums day slices. - **Days are bucketed in the host process's timezone**, fixed when the index is built. On a machine whose system zone differs from the user's, "today" means today in that zone; changing it forces a full rebuild. - **The call table is capped** by the configurable detail limit (default 1,000, max 10,000). - **A cold index takes minutes** on a large history (this machine: ~1,380 log files, ~790 MB compressed). The panel renders partial results and reports progress. - **The activity heatmap was removed** — it duplicated the trend chart.
