DeepSeek Harness Machine-Level Token Statistics Plugin: dsh-token

The DeepSeek Harness (DSH) plugin `dsh-token` aims to address the complexity of tracking Token consumption in multi-session scenarios. By consolidating session logs from all `dsh` home directories, it provides a centralized Token statistics view, including totals, a heatmap, streak records, and per-model breakdowns. The plugin supports `dsh web` and reads local files for read-only statistics. Configuration options include scanning additional directories, toggling compressed summary statistics, and setting the refresh frequency. It does not include conversational costs or provide cost estimates, but accurately tracks cache reads and writes and distinguishes message types, while also disclosing detailed data such as billing coverage and retry steps.

Read More