guoliyuan97-png/dsh-game-hud
Game-style floating HUD for DeepSeek Harness: balance HP bar, context MP bar, official peak/valley pricing with countdown, auto-compaction, memory-carrying new conversation. ?????? HUD ??
This is a DeepSeek Harness (DSH) plugin. Review its GitHub README, installation information, maintenance status, and public security signals here.
dsh-game-hud
游戏风格悬浮 HUD 插件(DeepSeek Harness)。
- ❤ 血条:实时显示 DeepSeek 账户余额(官方
user/balance接口),满格金额可配置(默认 ¥20)。 - ✦ 蓝条:当前会话上下文剩余(与官方 UI 同源的
contextPressure投影),随对话增长从满格减少。 - ▲▼ 峰谷定价:官方规则(北京时间 09:00–12:00 / 14:00–18:00 为高峰,谷时半价),显示当前单价与距下次切换倒计时(每秒跳动)。
- ⚡ 自动压缩:上下文剩余 < 5% 时自动触发
/compact;压缩满 2 轮后出现「开启新对话(携带记忆)」按钮;不点击则继续自动压缩。 - 🔁 携带记忆新对话:点击后用当前模型生成记忆摘要 → 新建会话并注入记忆(不回答旧问题、不丢记忆),新会话上下文重新累计。
安装
dsh plugin --profile web add github:guoliyuan97-png/dsh-game-hud#v1.2.0
重启 DSH 后,浏览器右下角出现可拖动的 HUD 面板。
配置
打开 DSH 设置 → 插件 → dsh-game-hud 即可编辑(保存后实时生效):
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
maxBalance | number | 20 | 血条满格金额(CNY)。余额超过此值显示满格,低于按比例减少 |
也可在 profile 的 cordis.patch.yml 中覆盖:
- insert:
- id: game-hud
name: 'dsh-game-hud'
config:
maxBalance: 50
文档
- 完整功能与实时机制说明见 README.md
- 版本历史见 CHANGELOG.md
许可
MIT
Security & install evidence
This score is based solely on public repository metadata and the install evidence registered here — it is not a code security audit.
From a public plugin catalog, linked to a public GitHub repository.
The repository declares the MIT license.
Code updates within the last 180 days.
No verifiable install metadata registered yet — please review the repository instructions manually.
The inspected package metadata declares no install lifecycle scripts.