DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Tokmeter — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-tokmeter

Tokmeter

DSH Web UI 编写器状态栏中的实时模型解码速度(tok/s)标签。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-tokmeter@1.0.0
README兼容性版本

兼容性与来源证明

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

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

版本

1.0.0stable
2026/10/19

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

README

dsh-tokmeter

Live model decode speed (tok/s) pill for the DeepSeek Harness Web UI.

The stock status bar shows a session-average decode speed that only updates after an assistant step settles. dsh-tokmeter adds a small lightning pill that tracks the speed of the currently streaming response in real time, next to the native pills in the composer dock:

[ 1 turns 33 steps · 76 tok/s ] [ ⚡ 75.9 tok/s ]   ← live, updates every stream delta

The pill appears while the model is generating (text, reasoning, or tool-call arguments) and fades out ~2.5 s after the stream stops.

How it works

It is a standard DSH client plugin (slot entry in conversation.composer.dock, session scope). The chat client exposes the live partial assistant step as useChat(s => s.legacy.partial); while that is non-null, the pill samples the growing block content every 250 ms and converts character growth into an estimated token rate (~4 chars per token), smoothed with an exponential moving average:

rate = 0.7 * previous + 0.3 * (Δchars / 4) / Δt

The figure is an estimate derived from stream text growth — the client does not receive per-token timestamps, so long tool-call streams may show slightly different numbers than the provider-side metrics.

Installation

Requires DSH (DeepSeek Harness) with a Web UI profile.

# from a git checkout (or a published registry):
dsh plugin --profile web add <your-url-or-package>

The installer links the package into the profile and appends @local/dsh-tokmeter to dsh.profile.bundles in the profile's package.json. A restart of the Web UI server picks the bundle up (client module edits of an already-linked package are hot-reloaded without a restart).

Requirements

  • DSH ≥ 0.2.1-rc with the Web UI bundle (@deepseek-ai/dsh-web-app).
  • The chat client (@deepseek-ai/dsh-client-ui-chat) must be part of the composition so the session-scope slot receives the useChat hook.

Development

The plugin is a plain package — no build step.

FilePurpose
index.jsHost entry point (empty; all work happens client-side).
client.jsClient module: slot registration + the React pill.
cordis.patch.ymlBundle composition patch (inserts the entry).
icon.svgPlugin icon (plugin manager UI).

Local test loop:

dsh plugin --profile web add /path/to/dsh-tokmeter
dsh --profile web --dump-config   # must list '@local/dsh-tokmeter'

Then open the Web UI and ask the model for a long answer — the ⚡ pill in the bottom bar tracks the live decode speed.

Notes

  • The pill renders only in sessions with a chat view; it is invisible when nothing is streaming.
  • Colors and metrics use the standard --dsw-alias-* theme tokens, so it follows light/dark themes automatically.
  • The pill text is intentionally language-neutral (tok/s).

相关插件

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

Cost Meterdsh-cost-meterDeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(14 家,含 WorkBuddy 官方积分、OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询Codex Subscriptiondsh-codex-subscription在 DeepSeek Harness 中通过 OAuth 使用 ChatGPT 和 Codex 订阅,支持配额、安全重置、网络搜索、图像和快速模式,并可通过 ChatGPT 移动应用(Beta)控制 DSHConnect Workbuddydsh-connect-workbuddy把本机登录的 WorkBuddy 模型接入 DeepSeek Harness,并提供只读的积分概览与模型管理。Deepseek Web Logindsh-deepseek-web-login非官方 DSH 插件:将 chat.deepseek.com 网页模型用作 DSH LLM 提供商(浏览器登录捕获 + PoW 求解 + SSE 流式传输 + 基于提示的工具调用),提供商路由为 deepseek-web