Introduction¶
DeepSeek Harness (DSH) already displays a good amount of statistics within a single session, but the overall picture across sessions, projects, and time periods often requires manually digging through records or doing manual aggregation. If you need to answer questions like “which dates and which workspaces did my effort land on during this period” or “which time slots were more active, and which models consumed most of the tokens”, or if you need a static report that can be sent to clients or colleagues, relying solely on the current session panel is usually not enough.
Below is an introduction to the community plugin dsh-workload-report (product-side brand name TimeMirror, with a repository name designed for easy discovery within the DSH ecosystem). It is maintained by tableau-China, categorized as a client-side plugin, currently at version 1.0.1, published on npm under the package name dsh-workload-report, licensed under MIT, and requires Node.js >= 22 to run.
What This Is¶
dsh-workload-report is a DeepSeek Harness plugin for DSH: built on top of the official session and projection interfaces, it provides effort and token insights broken down by date and workspace—including calendar heatmaps, time-of-day analysis, workspace share, model usage, and more—and supports exporting self-contained HTML reports.
Unlike solutions that “only look at the current session”, it emphasizes cross-time and cross-workspace aggregation. Metric definitions are kept consistent between the dashboard and exported reports, avoiding discrepancies where the same number is reported differently in two places.
Core Features¶
All the capabilities below come from the plugin README (1.0.0 feature list; the current package version is 1.0.1).
Dashboard and KPIs¶
- Eight KPIs: cumulative active time (net active, with waiting time shown on a separate line), total tokens (full integer, verifiable), estimated model cost, active days, conversation count, turns/steps, cache read ratio, most active model, etc.
- Daily trend: calendar heatmap (Monday through Sunday × year-week, with color and bar height indicating active time) or bar chart; weekend color differentiation, peak bars are labeled, and both cells and axes have tooltips.
- Time-of-day analysis: defaults to a bar chart by hour for Token output (switchable to turns); dots above bars indicate human message density.
- Workspace share: Top 6 + others, with a donut chart that can switch between time and tokens.
- Model token share: compact donut chart on the dashboard; full details in the Model usage tab (treemap, stacked daily trend, detail table, links to official pricing, etc.; models without official pricing show — for cost).
- Top sessions and daily details: session table is sortable; daily details cover the last 31 days.
Export and Interface¶
- Self-contained HTML report: single file, inline CSS and SVG, no scripts, no external resources; supports light/dark themes, custom titles and notes; optional
anonymize=1to hide workspace names and session titles. Content structure aligns with the dashboard. - Theming and language: colors use host theme tokens (
--dsw-*); Chinese and English UI are aligned. - AI user profile (included by default, requires manual click on Generate): only calls the model based on aggregate statistics, without reading conversation bodies, titles, or paths; falls back to local rules on failure. Optional balance chip (
balance.enabled: true, disabled by default) is handled by the host via the officialdeepseekAccountservice.
Data Principles (Brief)¶
- Uses only official interfaces:
sessionQuery.listSessions(), projections (sessionProjections,sessionProjectionCache), and when necessaryobserveSession()/readSession()event logs; does not parse*.jsonl.zstdor internal projection cache files. - Zero outbound requests by default; local index written to
<DSH_HOME>/workload-report/index-v7.json(can be deleted, will be rebuilt). - Legacy sessions that cannot be read are excluded and counted in the UI, without fabricating numbers.
Opening the panel does not trigger a cold read of the event log (the README states a cold open of approximately 25 ms and a warm open of approximately 1 ms, as measured on isolated instances).
Installation and Activation¶
After installation, you need to restart the Web profile. The entry point is at the bottom of the sidebar: Workload report (Chinese: 工作量报告). The repository already includes the build artifact lib/client.js, so installing from npm/GitHub does not require a local build.
# npm (published package)
dsh plugin add dsh-workload-report
# Or directly from GitHub
dsh plugin --profile web add github:tableau-China/dsh-workload-report#main
# Or link a local checkout directory
dsh plugin --profile web add link:$PWD
To uninstall:
dsh plugin --profile web remove dsh-workload-report
Typical Usage¶
- Install using the commands above and restart the Web profile, then open Workload report from the sidebar.
- Switch between views such as “By date / By workspace” on the dashboard to view KPIs, heatmaps, time-of-day analysis, and workspace/model share.
- When you need to report externally, use the export function to generate a self-contained HTML; if exposing workspace or session titles is not appropriate, enable
anonymize=1during export. - If using the AI user profile, read the on-page description first, then click Generate; identical statistic fingerprints will reuse the on-disk cache.
For full metric definitions, see the repository’s docs/metrics.md; easily misinterpreted items such as active time are explained separately in the README.
Use Cases and Notes¶
Suitable for: users who work long-term across multiple workspaces and sessions in DSH, need to review time distribution and token/model costs, or regularly produce read-only reports for clients or teams.
Notes:
- The plugin runs with the permissions of the current dsh process; before installation, please review the source code and MIT license of tableau-China/dsh-workload-report yourself.
- The community directory SkillHub plugin page and GitHub are independent information sources and have no official affiliation with DeepSeek / Higgsfield; the DSH ecosystem philosophy is “everything is a plugin”, and this article introduces a community client-side plugin, not an official app store entry.
- Costs are estimates and are only shown for models with officially publicly available pricing; outbound network traffic only occurs for capabilities that the user explicitly enables (such as the balance chip, or clicking Generate for the AI profile).
Conclusion¶
dsh-workload-report puts “what I did” and “how much tokens/cost were consumed” into the same set of date-based and workspace-based views, and lets you take the same-defined data away in a static HTML file. For installation instructions and privacy details, refer to the GitHub README.
- Community directory: https://www.skillhub.cn/plugins/tableau-China/dsh-workload-report
- Source code and documentation: https://github.com/tableau-China/dsh-workload-report