DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Usage Stats — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-usage-stats

Usage Stats

Lightweight usage analytics for DeepSeek Harness — token trends, activity heatmaps, model breakdowns, and exports.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-usage-stats@0.1.16
READMECompatibilityVersions
使用效果演示浅色主题深色主题

Compatibility and provenance

Usage Stats is published as dsh-usage-stats and currently resolves to version 0.1.16. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.1.16stable
8/17/2026
0.1.15stable
8/15/2026
0.1.14stable
8/15/2026
Show 5 more versionsCollapse versions
0.1.13stable
8/15/2026
0.1.12stable
8/14/2026
0.1.11stable
8/14/2026
0.1.10stable
8/14/2026
0.1.9stable
8/14/2026

Related plugins

Loading related plugins…

Latest
0.1.16
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
1.9 MB
Files
17
Surface
web
License
MIT
Source
npm
GitHub
★ 11
Weekly downloads
422
Security scan
✓ v0.1.16 scan passed
Last push
8/17/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with the current session provider's today usage on the sidebar entryWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

📊 dsh-usage-stats

English

DeepSeek Harness Token 使用情况,一目了然。

dsh-usage-stats 是面向 DeepSeek Harness Web UI 的轻量使用统计插件,用于集中展示 Token 总量、每日趋势、活跃日期及模型分布。

插件通过 Harness 提供的扩展接口集成,不修改 Web UI 或官方 npm 包。统计数据保存在本机。

dsh plugin --profile web add dsh-usage-stats

重启 Web Profile 后,侧边栏「设置」上方会出现 使用统计。

更新或卸载:

dsh plugin --profile web update dsh-usage-stats
dsh plugin --profile web remove dsh-usage-stats

🎬 效果演示

使用效果演示

🖼️ 界面截图

查看浅色主题

浅色主题

查看深色主题

深色主题

✨ 功能概览

模块说明
📈 使用概览展示 Token、会话、消息、活跃天数、连续使用天数及最常用模型的历史累计值
📊 每日趋势展示最近 7 天或 30 天的 Token 变化,悬停可查看指定日期的模型用量
🔥 活跃热力图以颜色深度表示一年内各日期的 Token 用量,悬停可查看 Token 数量及调用轮次
🎯 范围筛选支持按工作区、主任务或子任务限定统计范围
📋 调用明细查看单次调用的耗时、Token、缓存率、模型与思考程度,支持筛选与分页
💾 数据导出支持导出 CSV 或 JSON,用于归档或进一步分析
🌐 中英文界面自动跟随 Harness 的语言设置切换中文或英文
🎨 主题适配自动跟随 Harness 的浅色或深色主题
⚡ 轻量运行无第三方图表库、无后台轮询,减少额外的网络请求与运行开销

✅ 已修复

官方模块重复安装风险

0.1.16 将插件使用的 DeepSeek Harness 官方模块统一声明为对等依赖,避免 Profile 内出现插件私有副本及模块身份分裂。发布检查会阻止官方模块再次进入普通依赖。

子任务继承上下文重复计入

0.1.13 修复了 fork 子任务将父会话继承上下文重复计入自身用量的问题。子任务现在只统计自身产生的调用;升级后,旧版统计缓存会自动失效并按新口径重建。

⚙️ 配置

config:
  indexConcurrency: 2
  cacheWriteDelayMs: 1000
  apiPath: /usage-stats/v1
配置项说明默认值
indexConcurrency同时读取历史会话的数量(1–8)2
cacheWriteDelayMs更新本地统计前的等待时间(毫秒)1000
cachePath自定义统计缓存位置Harness 数据目录
apiPath统计接口路径/usage-stats/v1

🔒 隐私与安全

  • 统计索引保存在 DSH_HOME/usage-stats,内容包括会话标识、时间、工作目录、模型名称和 Token 数量。
  • 插件不保存提示词正文、回复正文、工具参数或 API 密钥。
  • 具体记录范围见 隐私说明。

🧩 兼容性

目前已在 DeepSeek Harness 0.1.0-rc.6、Node.js 22.19+ 和 24+ 上测试,可用于官方 Web UI,以及加载该 Web UI 的桌面封装。

Harness 仍在持续更新。本文仅声明经过实际测试的运行环境;其他版本可能可以正常运行,但不在当前验证范围内。详细信息见 兼容性说明。

🐛 遇到问题

如果出现插件入口缺失、统计结果不完整、界面显示异常或版本兼容问题,请 提交 Issue。

提交时请尽量附上:

  • DeepSeek Harness 和 Node.js 版本;
  • 安装或更新插件时执行的命令;
  • 可复现问题的操作步骤;
  • 错误日志或界面截图。

完整的环境信息和复现步骤有助于定位问题。涉及安全问题时,请勿在公开 Issue 中提交 API 密钥、访问令牌或本机数据,报告方式见 安全策略。

🙏 致谢

  • 感谢 @Grivn 在 #1 中发现并分析子任务继承上下文重复统计问题。
  • 感谢 @yzke 在 #2 中提出并实现中英文界面适配方案。
  • 感谢 @ogj130 在 #3 中贡献调用明细功能的初始实现。
  • 感谢 @zhu637882-stack 在 #4 中报告官方模块重复安装风险。

📜 许可证

MIT