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.

Tps Ttft — DSH Plugin for DeepSeek Harness
← Plugins
T

dsh-tps-ttft

Tps Ttft

每轮对话的 TPS / TTFT 统计:模型耗时、工具耗时、首 token 延迟、输出速度,显示在「本轮用量」面板。 | Per-turn TPS and TTFT statistics: model time, tool time, TTFT, and output speed, shown in the Turn Usage panel.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:oldzhang82/dsh-tps-ttft#1e17ee3bcf2e1ecf4ec7d529504fc1e31355263e
READMECompatibilityVersions
本轮用量面板(含 timing)本轮用量面板(token 用量)会话统计

Compatibility and provenance

Tps Ttft is published as dsh-tps-ttft 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
any
Release source
github
Registry updated
10/19/2026

Versions

1.0.0stable
10/19/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
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/19/2026
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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Cost Meterdsh-cost-meterDeepSeek Harness session cost statistics plugin: current session cost, daily expenses, historical records, and synchronization with official pricing; supports multi-provider and multi-model price billing (built-in price catalog for 170+ model IDs with automatic matching), and querying and displayingCodex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images and Fast mode, and control DSH from the ChatGPT mobile app (Beta)Connect Workbuddydsh-connect-workbuddyConnect locally authenticated WorkBuddy models to DeepSeek Harness with read-only credit overview and model management.Connect Traedsh-connect-traeConnect locally logged-in Trae models to DeepSeek Harness: run domestic and international providers in parallel, with usage/points overview and daily check-in rewards.

README

dsh-tps-ttft

为 DeepSeek Harness 提供每轮 TPS / TTFT 统计:模型耗时、工具耗时、首 token 延迟(TTFT)、输出速度(TPS),显示在"本轮用量"面板里。

效果

每轮对话结束后,点击"本轮用量"图标(数据库图标),在展开的面板里可以看到 timing 统计:

本轮用量面板(含 timing)

  • 模型耗时:模型推理的墙钟时间(step/start → assistant/message)
  • 工具耗时:工具调用的总耗时(tool/call → tool/result)
  • 首 token:首 token 延迟(TTFT,step/start → 第一个 token)
  • 输出速度:输出速度(TPS,decodeTokens / decodeMs)

原有 token 用量信息不变:

本轮用量面板(token 用量)

会话级统计:

会话统计

安装

从 GitHub 直接安装(锁定 commit,推荐):

dsh plugin --profile <你的profile> add github:oldzhang82/dsh-tps-ttft#<commit-sha>

<commit-sha> 用 仓库 commits 页 的最新完整 SHA。锁 commit 是为了防止后续推送悄悄改变安装内容。

第一次安装会失败(pnpm ≥10 默认拒绝运行 git 依赖的构建脚本),按提示授权一次即可:

  1. 把 pnpm 打印的包键原样复制进该 profile 的 pnpm-workspace.yaml(键带完整 tarball URL,以 pnpm 实际输出为准):

    allowBuilds:
      dsh-tps-ttft@https://codeload.github.com/oldzhang82/dsh-tps-ttft/tar.gz/<commit-sha>: true
    
  2. 重新执行上面的 add 命令。

本插件是纯 JS,prepare 脚本是 no-op(不执行任何构建),授权无实际风险。

重启 DSH 即可。

工作原理

本插件注册了一个 session projection(perTurnStats),对会话事件流做纯函数折叠(fold):

  • 监听 step/start、assistant/attempt、assistant/message、tool/call、tool/result、turn/end 事件
  • 按 Turn 累计模型耗时、工具耗时、TTFT、输出速度
  • 在 turn/end 时清理该 Turn 的临时状态,保证视图有界

投影结果通过 DSH 核心的 TurnUsagePanel 组件显示(核心代码已集成 timing 显示)。

依赖

  • zod ^4.6.5(schema 校验)

License

MIT