guoliyuan97-png/dsh-game-hud
guoliyuan97-png★ 0JavaScript最后同步: 2026-08-19
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 ??
README 摘要
dsh-game-hud 游戏风格悬浮 HUD 插件(DeepSeek Harness)。 - ❤ 血条 :实时显示 DeepSeek 账户余额(官方 user/balance 接口),满格金额可配置(默认 ¥20)。 - ✦ 蓝条 :当前会话上下文剩余(与官方 UI 同源的 contextPressure 投影),随对话增长从满格减少。 - 🚨 低余额告警 :余额(血条)低于阈值(默认 10%)时,悬浮窗四周闪烁红光(可配置开关)。 - 🗜️ 折叠迷你视图 :折叠后显示紧凑的血条 + 蓝条,随时扫一眼余额与上下文。 - ▲▼ 峰谷定价 :官方规则(北京时间 09:00–12:00 / 14:00–18:00 为高峰,谷时半价),显示当前单价与距下次切换倒计时(每秒跳动)。 - ⚡ 自动压缩 :上下文剩余 — 实时状态:余额 / 上下文 / 峰谷定价 / 压缩轮数 / maxBalance - POST /hud/digest — 用当前模型生成记忆摘要(携带记忆新对话的数据源) - POST /hud/seed — 向新会话静默注入记忆( user/message append,不触发 agent 回复、不回答旧问题) - API Key 经宿主 credentials 服务解析(默认 DEEPSEEK API KEY ,自动读取 llm-deepseek 配置中的 apiKeyEnv )。 - 客户端以 window. ModuleLoader .load() 手写格式打包,无需构建器。 安装 方式一:dsh 命令安装(推荐) 安装后重启 DSH:HUD 面板出现在浏览器右下角;配置入口在 设置 → 插件 → dsh-game-hud 。 方式二:从 GitHub 直接安装 在 DSH 的 web profile(如 E:\.dsh\profiles\web )中: 然后 pnpm install 并重启 DSH,浏览器右下角会出现可拖动的 HUD 面板。 方式三:本地开发(file: 引用) 许可 MIT
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784