zcode-usage-stats: DSH Local Token Usage Statistics Panel

`zcode-usage-stats` is an unofficial plugin maintained by Amer-CN that adds token usage visualization to the DeepSeek Harness (DSH) Settings page. It performs scanning and rendering entirely locally and supports aggregation of full-history session data. Core features include a calendar dot-grid heatmap, multi-model usage trend line charts, a gauge dashboard, and custom time-range filtering. Technically, the plugin uses hand-written SVG to render charts, features a dual-layer caching mechanism, and follows DSH's light and dark themes. Users need to install `dsh` and `pnpm`, install the plugin via command, and restart to use it.

Read More
zcode-usage-stats: Token Usage Statistics Plugin for DeepSeek Harness

The DeepSeek Harness plugin `zcode-usage-stats` provides detailed historical token consumption statistics. It aggregates data by day, hour, and model, and visualizes trends using Catmull-Rom smoothed curves, dashboards, and GitHub-style heatmaps. Installation requires a specific DSH version and related runtimes, while supporting multiple time granularities and theme adaptation. Data is based on session event statistics and employs a two-layer caching strategy, helping developers manage costs efficiently and analyze model usage preferences.

Read More