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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
T

dsh-token-clock

Token Clock

在每条回答下方显示本轮 Token 用量、回答耗时与会话累计 Token / Per-reply token usage, answer duration, and session total for DeepSeek Harness

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

npx -y @deepseek-ai/dsh plugin --profile web add github:oxygenforce/dsh-token-clock#62a610ee8f8e0d1ba2ec27f4dd7b9e6e3bb7b6f9
READMECompatibilityVersions
预览

Compatibility and provenance

Token Clock is published as dsh-token-clock and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/21/2026

Versions

1.0.0stable
10/21/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
Weekly downloads
0
View source ↗
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.

Experimental Cot Translation Bundle@deepseek-ai/dsh-experimental-cot-translation-bundleExperimental machine translation of expanded reasoningWhale 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 editinOur Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — Install this plugin in dsh to use cutting-edge models including DeepSeek V4.1 Flash and Kimi K3, with no login, registration, or API Key required. The desktop version also offers an EAC co-payment channel; starting with 2.0, it supports ten account channels: LobsterAI, Qoder, TRAE, 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 a compact price glance card above the sidebar's Settings row

README

dsh-token-clock

每条回答的下方,一行淡色读数:本轮 Token · 回答耗时 · 本会话累计 Token。

预览

[复制] [赞/踩] [分支] [↗]    20:10   1.1M tok · 1分02秒 · 共 26.9M tok

从左到右每一段:

片段含义
20:10官方结束时间(宿主自带,非本插件)
1.1M tok本轮 Token:这一次提问→回答的消耗
1分02秒回答耗时:提问→回答落盘的墙钟时间
共 26.9M tok本会话累计 Token
  • 数据来源:本轮读数取自宿主的 turn-tail 节点,与官方「用量」弹窗同一口径;会话累计读 tokenUsage 投影,实时更新。
  • 常驻可见:官方动作行只在最后一条回答上常显,历史回答要悬停才出现;本插件仅对含读数的行解除该限制。
  • 精确分解:鼠标悬停读数,可看到未缓存输入 / 缓存读取 / 缓存写入 / 输出 / 其中推理的精确数字。

安装

方式一:插件市场(推荐)

插件收录到 DSH 插件市场后,在 Harness 里打开「插件市场」搜索 dsh-token-clock 即可一键安装。

方式二:本地目录 / Release 包

  1. 下载 v1.0.0 的 tarball 并解压(内部是 package/ 目录);
  2. 在 Harness 的插件管理页选择「从本地目录安装」,指向解压出来的 package/ 目录;
  3. 安装后刷新一次 Web 页面,读数即刻出现,不需要重启 dsh web。

本包同时带有 dsh.bundle.patch 与 cordis.patch.yml,两条安装路径都会按 bundle 正常启用。

兼容性

  • 面向 @deepseek-ai/dsh-client-ui-chat / dsh-client-ui-conversation 的 0.2.1-rc.2 客户端契约(conversation.chat.turnTail 槽位、turn-tail 节点数据)。
  • 纯客户端插件:Host 半边只做日志占位,不注册任何服务、不读写文件、不发网络请求。
  • 所有样式都走 --dsw-alias-* 主题令牌,深浅色自动跟随;仅注入一个 <style> 标签与一个槽位条目。

实现要点

关注点做法
放置位置注册到 conversation.chat.turnTail(order: -10),用 react-dom portal 把读数接在官方动作行的结束时间之后;取不到动作行时原地降级渲染
分隔线定位centerRule() 在 portal 完成后实测“正文底边 → 线 → 动作行顶边”,用 transform: translateY() 视觉位移(不动 margin,避免流式渲染时触发滚动锚定跳动)
跟随补底宿主按“撑高后”的内容高度发起平滑滚动,元素塌陷后目标失效会把视图留在半空;插件只在“塌陷前贴底、且不是读者主动滚动”时补一次贴底
失败策略组件内部 try/catch,任何异常都返回 null,绝不连累对话界面

许可

MIT