dsh-bottom-stats
by 318197375
DeepSeek Harness(DSH)Web UI 插件 · 底部统计栏增强 DeepSeek Harness (DSH) web UI plugin — enhanced bottom stats strip
DSH plugin: full-width conversation stats line (no truncation) + context occupan
安装
dsh plugin --profile web add github:318197375/dsh-bottom-statsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
DeepSeek Harness(DSH)Web UI 插件 · 底部统计栏增强 DeepSeek Harness (DSH) web UI plugin — enhanced bottom stats strip
中文
这是什么
为 DSH Web 对话页输入框下方提供两行常驻信息:一条不再被截断的统计行,和一条上下文占用进度条。
功能
- 统计行:轮/步 · LLM/工具耗时 · 首 token/吞吐 · 缓存命中 · 输入/输出 token。整行占满主栏宽度并居中——对话再长、输入 token 涨到数百万,末尾的“输出 … tok”也始终完整可见(官方统计行超长时会被省略号截断)。
- 上下文占用进度条:限定在对话内容列内居中,按 系统提示词 / 工具 / 对话消息 三色分段显示占比,右侧显示占用百分比与
已用/总量token(如18% 177K/1M);悬停进度条可查看完整读数与各项占比明细。 - 数据与官方 UI 完全同源(
sessionStats、tokenUsage、contextPressure、contextBreakdown投影),文案跟随系统语言(中文/English)。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:318197375/dsh-bottom-stats
安装后重启 web profile(bundle 层变化需要重启,刷新页面不够)。
纯 JS 分发,无
prepare构建脚本,不需要allowBuilds授权。
使用
安装并重启后即可生效:任意会话的输入框下方会自动出现上述两行,无需额外操作。
卸载
dsh plugin --profile web remove dsh-bottom-stats
兼容性
- 需要 DSH Web UI(
platform: web)。 - 依赖官方
conversation.composer.dock槽位与sessionStats/tokenUsage/contextPressure/contextBreakdown投影,标准 Web 组合均已提供。
许可
MIT
English
What is this
Adds two persistent rows beneath the composer in the DSH web chat: a stats line that never truncates, and a context-occupancy progress bar.
Features
- Stats line: turns/steps · LLM/tool time · TTFT/throughput · cache hit · input/output tokens. The whole line spans and centers on the main column — no matter how long the conversation grows (input tokens in the millions), the trailing
output … tokgroup stays fully visible (the stock line elides it with an ellipsis when it overflows). - Context-occupancy bar: centered within the chat content column, segmented by system prompt / tools / messages proportions, with the occupancy percent and
used/totaltokens on the right (e.g.18% 177K/1M); hover the bar for the full reading and per-part breakdown. - All data comes from the same projections the stock UI uses (
sessionStats,tokenUsage,contextPressure,contextBreakdown); labels follow the UI language (Chinese/English).
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:318197375/dsh-bottom-stats
Restart the web profile after installing (bundle-layer changes need a restart; refreshing the page is not enough).
Pure-JS distribution — no
preparescript, so noallowBuildsauthorization is required.
Usage
Nothing to configure: after install + restart, the two rows appear under the composer of any active conversation.
Uninstall
dsh plugin --profile web remove dsh-bottom-stats
Requirements
- DSH web UI (
platform: web). - Uses the stock
conversation.composer.dockslot and thesessionStats/tokenUsage/contextPressure/contextBreakdownprojections, all present in standard web compositions.
License
MIT
原始 README: https://github.com/318197375/dsh-bottom-stats/blob/main/README.md ↗
同类插件
查看全部 →
dsh-web-ui-all
DSH Web UI 插件与皮肤合集:任务看板、git 图、右侧面板、远程移动端 UI、桌宠、实时 token 统计与皮肤中心。

dsh-web-ui
DSH Web UI 插件与皮肤合集:任务看板、git 图、右侧面板、远程移动端 UI、桌宠、实时 token 统计与皮肤中心。

dsh-TUI
Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。

DSH-better-sidebar
侧边栏完整工作台:内置文件渲染编辑、终端、Git 与子代理,支持三方插件注册新 Tab。

working-activity
让 agent 的"工作状态行"活过来——实时工具动态与进度、俏皮文案、模型自述、上下文预警。同一套想法,适配两个平台: pi CLI 与 DeepSeek Harness(DSH) 。

deepseek-idesign
可视化设计工作室,支持网站、App 原型、海报、信息卡、报告和杂志的模板创建、元素编辑、选区级 AI 草稿衔接与导出。