MannixHu/dsh-statusbar-config0

dsh-statusbar-config

Template-driven conversation statistics row for DeepSeek Harness (${variable} placeholders, shadows the shipped stats line)

包名
dsh-statusbar-config
版本
0.2.1
许可证
MIT
最近更新
2026年9月2日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MannixHu/dsh-statusbar-config

配置

两种等价方式:

  • 界面里 — 设置 → 插件 → 状态栏模板 卡片:点变量芯片插入到光标处,回车保存,即时生效(推荐)。
  • ~/.dsh/settings.yamlstatus-bar-config 命名空间:
status-bar-config:
  enabled: true
  template: '首 token 平均 ${ttft}s · ${tps} tok/s | 缓存命中 ${cache}% | 输入 ${input} tok · 输出 ${output} tok'

渲染结果:

首 token 平均 5.8s · 69 tok/s | 缓存命中 93% | 输入 63.7M tok · 输出 178K tok

template 留空 = 默认统计行(与官方相同的全量段落);enabled: false = 整行隐藏。0.1 版的段落开关已被模板取代,旧的 yaml 布尔键会被忽略,升级后改用 template 即可。