dsh-statusbar-config
在终端中运行以下命令:
dsh plugin install MannixHu/dsh-statusbar-config
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中运行 dsh plugin install MannixHu/dsh-statusbar-config 即可完成安装,项目开源地址为 https://github.com/MannixHu/dsh-statusbar-config。
插件介绍
The default conversation stats line below the input box in DeepSeek Harness Web UI is a fixed set of segments with hard-coded units and separators. Wanting a different field order, a different compact format, or simply fewer fields was previously awkward to achieve. This plugin hands the entire line over to a single JS template string: compose it with ${ttft}, ${tps}, ${cache}, ${input}, ${output}, ${turns}, ${llm} and other variables, and control every unit, delimiter, and piece of surrounding text yourself. Unknown variables render as-is; variables without data render empty; changes take effect the moment you save.
The data path mirrors the official StatsLine exactly. The plugin shadows the official stats entry in the conversation.composer.dock slot at a lower priority, so it only replaces the presentation layer while the underlying calculations stay untouched. You can configure the template either through the Settings > Plugins > Status Bar Template card (click a variable chip to insert it at the cursor) or by editing the template field under the status-bar-config namespace in ~/.dsh/settings.yaml; both paths are equivalent.
It is a good fit for everyday users who want a leaner stats line, power users with specific token-formatting preferences, and projects migrating off the 0.1 segment toggles or a third-party status-bar plugin. The same status-bar-config namespace is preserved, so existing YAML entries carry over with minimal edits.
截图预览
使用场景
- 自定义输入框下方统计行的字段顺序、单位和分隔符
- 将官方全量统计行精简为自己关注的几个指标
- 从旧版本段落开关迁移到统一的模板字符串配置
适合人员
- 希望自定义 DeepSeek Harness Web UI 统计行样式的日常用户
- 对 token 格式或字段展示有特定偏好的高级用户
- 从旧版状态栏插件或 0.1 段落开关迁移的项目