← 返回列表
C

dsh-hud

v0.1.0 · 2 天前发布

DeepSeek Harness 的 HUD 状态栏插件:在输入区下方常驻显示会话实时信息(状态 / 上下文占用 / 令牌用量 / 轮次步数 / 计时 / 用时),模拟 pi-agent-hud 的显示体验。

dshdeepseek-harnesshudstatus-barpluginpi-agent-hud

README

dsh-hud

DeepSeek Harness(DSH)的 HUD 状态栏插件:在 Web GUI 输入框下方常驻显示当前会话的实时信息,模拟 pi-agent-hud 的显示体验。

<p align="center">
<img src="docs/images/poster.png" alt="dsh-hud" width="720">
</p>

状态 · 上下文占用 · 令牌 · 计时 · 模型 · 路径 · 使用统计 · 费用 · 上一次会话

显示内容

分两行呈现,均位于输入框下方的 conversation.composer.dock 状态栏位。

第一行(实时信息栏)

| 区段 | 说明 | 数据源 |
|---|---|---|
| 状态 | 空闲 / 思考中 / 输出中(彩色呼吸圆点) | useSession(running / partial) |
| 上下文 | 占用百分比 + 进度条(≥75% 黄、≥90% 红)+ 已用/窗口 | contextPressure 投影 |
| 令牌 | ↑输入 ↓输出 + 缓存命中率 | tokenUsage 投影 |
| 会话 | N 轮 · M 步 | sessionStats 投影 |
| 计时 | LLM 耗时 / 工具耗时 / 平均 TTFT | sessionStats 投影 |
| 用时 | 当前回合实时已用时长(运行中每秒刷新) | turnTimings |

第二行(明细:模型 / 路径 / 使用统计 / 费用 / 上一次会话)

| 区段 | 说明 | 数据源 |
|---|---|---|
| 模型 | 当

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-hud
Repo
https://github.com/a903067276-rgb/dsh-hud
Engines
{}
Weekly DL
0
Monthly DL
0
Stars
★ 6
Open Issues
0
GH License
[object Object]
Archived
否
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-model-selection","@deepseek-ai/dsh-token-meter","@deepseek-ai/dsh-session-stats"]}}