DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Workload Report — DeepSeek Harness 插件(DSH Plugin)
← Plugins
W

dsh-workload-report

Workload Report

DeepSeek Harness (DSH) 插件 — 按日期和工作区查看您的工作量与令牌使用情况:日历热力图、时段分析、工作区占比,以及可分享的自包含 HTML 报告。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:tableau-China/dsh-workload-report#bb71aebc8dec8086e01e87ed6c375466ad4accc2
README兼容性版本

兼容性与来源证明

Workload Report 以 dsh-workload-report 发布,当前版本为 0.4.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/13

版本

0.4.1stable
2026/10/13
0.3.6stable
2026/10/11
0.3.5stable
2026/10/11
查看其余 1 个版本收起版本
0.3.3stable
2026/10/11

相关插件

正在加载相关插件…

最新版
0.4.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/13
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilities为自定义 pi-ai 提供商声明每个模型的能力(图像输入和推理力度),可直接在 Models 设置卡片中编辑;写入官方 llm-pi-ai 设置命名空间,不更改 DSH 源代码。Cost Meterdsh-cost-meterDeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(13 家,含 OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider

README

TimeMirror for DSH · Workload Report

Put your effort and your token spend on the same picture: see where your time went and where the tokens went, by date and by workspace — calendar heatmap, time-of-day analysis, workspace share, and a one-click self-contained HTML report you can send straight to a client. A DeepSeek Harness (DSH) plugin for effort & token insights.

TimeMirror is a macOS time-distribution app I published on the Mac App Store; this plugin brings the same idea to AI-assisted work — the time you and your AI spend, and what it costs, made visible. The package/repo uses the descriptive name dsh-workload-report so it can be found in the DSH ecosystem; the brand stays TimeMirror.

中文 · English

What problem it solves

You use AI every day, but you cannot say where the work went or what it was worth:

  • Self-review: which project did the last 30 days actually go to? Which hours am I sharpest?
  • Reporting to a client or your team: not "I've been busy", but "this project took 46.2% of my effort, 3.74 B tokens, and I was on it 18 of the last 30 days."
  • Blog posts / monthly reports: a calendar heatmap plus time-of-day analysis is made to be screenshotted.

DSH itself only shows a stats line for the current session; the cross-session, cross-project, cross-time view is what this plugin adds.

Not just cost — the work behind it. Cost meters tell you what you spent; this plugin also tells you what you did: how many days you showed up, which hours you were sharpest, and which project your effort actually went into. That is the part you can put in front of a client.

Features

  • ✅ Effort vs. spend per workspace: each row shows "My effort" on the left (active time + active days + turns/steps) and "Token spend" on the right (total + output/cache). Both bars use the same scale, so they compare directly.
  • ✅ Calendar heatmap: rows Mon–Sun, columns Year-Week, colour = active time. It always shows the full history, with 7 per-weekday totals glued to the right edge — you can see at a glance which weekday you are busiest.
  • ✅ Time-of-day analysis: who is active from 0–23, with the peak hour highlighted (definition: each session's active window is spread across the covered hours by wall-clock share).
  • ✅ Workspace donut: Top 6 + others, switchable between time and tokens.
  • ✅ Shareable HTML report: a single file with inline CSS and inline SVG, no scripts and no external links; light/dark themes, custom title and note, and anonymize=1 to hide workspace names and session titles.
  • ✅ Six KPIs: active time / total tokens (as a full integer you can verify) / active days / conversations / turns·steps / cache-read share.
  • ✅ Official interfaces only: no log-format parsing, no business data written, no outbound requests. Values come from zero-I/O projection-checkpoint reads, with an official cold-read fallback and a reusable local index.
  • ✅ Theme and locale aware: every colour comes from host theme tokens (--dsw-*), so it follows the harness's light/dark theme and Chinese/English locale.

Screenshots

Home: six KPIs + calendar heatmap (switchable to a bar chart) + side-by-side time-of-day analysis and workspace share + a collapsed daily table

dashboard

By workspace: effort on the left, token spend on the right, two bars on one scale

workspace

The exported report (single file, safe to send to a client)

report light

Dark-theme report

report dark

Install

1. Straight from GitHub (recommended)

dsh plugin --profile web add github:tableau-China/dsh-workload-report#main

The built client bundle (lib/client.js) is committed, so no local build is needed. Restart the Web profile afterwards — a "Workload report" entry appears at the bottom of the sidebar.

2. Link a local checkout

cd /path/to/dsh-workload-report
dsh plugin --profile web add link:$PWD     # points the profile at your source tree

3. From npm

dsh plugin --profile web add dsh-workload-report

Published on npm: https://www.npmjs.com/package/dsh-workload-report If your npm client points at a mirror (e.g. npmmirror), a brand-new package can take a few minutes to appear — use option 1 if you are in a hurry.

Uninstall: dsh plugin --profile web remove dsh-workload-report.

Configuration

Override any of these in your profile's cordis.patch.yml (all optional):

- id: workload-report
  name: dsh-workload-report
  config:
    apiPath: /workload-report/v1        # read-only API prefix
    defaultDays: 7                      # default range
    defaultScope: all                   # all | main | subagent
    defaultTitle: Workload Report       # report title
    workspaceAliases:                   # display names (very handy for client-facing reports)
      my-shop-app: Retail Order System
      data-platform: Data Platform

Read-only API

RouteDescription
GET {apiPath}/snapshot?days=30&tz=Asia/Shanghai&scope=allAggregated snapshot JSON (totals / byDay / byWorkspace / byHour / bySession / calendar / diagnostics)
GET {apiPath}/export.json?...Same payload, sent with content-disposition for download
GET {apiPath}/report.html?days=90&theme=dark&anonymize=1&title=...Self-contained HTML report
GET {apiPath}/healthIndex diagnostics (session count, checkpoint hits, cold reads, read failures, duration)

Parameters: from/to (YYYY-MM-DD, take precedence over days), days, all=1 (earliest active day → today), tz (IANA time zone), scope.

Metric definitions

The full definitions live in docs/metrics.md. Durations are always shown in H / M / S (language-neutral, like K/M/B for tokens, so one format serves every locale). The three most misunderstood:

  • Active time = model time + tool time. It is cumulative engine work, not wall-clock time; concurrent sessions and subagents each add up.
  • Conversations = sessions with at least one step. Zero-step sessions (opened but unused) are listed separately.
  • Attribution date = the session's creation day in the selected time zone; a session resumed across midnight still counts on its creation day.

Privacy

All statistics stay on your machine. The plugin registers read-only HTTP routes only: no outbound requests, no telemetry, no user content collected. The single file it writes is its own index cache at <DSH_HOME>/workload-report/index-v*.json — delete it and the plugin rebuilds by cold-reading; nothing else in your harness data is touched. Whether the exported HTML report contains session titles is your call (anonymize=1 hides them).

Development

CommandPurpose
pnpm add -D esbuild puppeteer-coreInstall build and E2E dependencies (or point ESBUILD_PATH / WL_PUPPETEER_DIR at existing installs)
node build.mjsBundle src/client/ into lib/client.js (ModuleLoader factory format) with esbuild
node test/verify.mjs124 offline assertions: aggregation semantics, time zones, hour-spread conservation, "all-time" start, calendar data source, HTML escaping, both token shapes, cold-read fallback, inject declaration check, host routes
./test/e2e-boot.sh 3299Boot an isolated instance (own DSH_HOME and port, copied projection data) without touching your running GUI
node test/e2e-ui.mjs61 real-browser assertions: calendar/bar switching, side-by-side geometry, weekday bars, donut switching, collapsed detail, report export

CI runs build.mjs + verify.mjs, and fails if the committed lib/client.js differs from a fresh build.

Compatibility

  • DSH 0.2.x, including alpha prereleases (developed and verified against @deepseek-ai/dsh@0.2.1-alpha.2): the plugin only depends on official interfaces (sessionProjections / sessionProjectionCache / sessionQuery) and Node built-ins, never on internal file formats — so it can follow new releases. Staying compatible with the latest alpha is one of this project's goals; breakages will be tracked in issues and the CHANGELOG.
  • The first launch cold-reads historical sessions whose projection checkpoints are missing (about 2 minutes for 300+ sessions on my machine, concurrency 8). During that pass the API returns progressively filled data with indexing: true; once the index is persisted, restarts reuse it.
  • Very early v0-format sessions may not be migratable/readable by the current harness. They are excluded from the statistics and the UI reports how many.

Author

XILEJUN

XILEJUN — author of TimeMirror · Blog post (中文)

License

MIT