Trewyn/dsh-host-update
Trewyn★ 0JavaScript最后同步: 2026-08-20
DSH宿主本体自动更新插件 —— 侧边栏独立入口,检测 @deepseek-ai/dsh 更新、一键静默更新并重启,并对当前 profile 的插件做兼容性诊断
README 摘要
dsh-host-update DeepSeek Harness 宿主本体自动更新插件 —— 侧边栏独立入口,检测 @deepseek-ai/dsh 更新、一键静默更新并重启,并对当前 profile 的插件做兼容性诊断。 功能 - 宿主更新检测 :仅以宿主本体( @deepseek-ai/dsh + dsh-base 核心)为更新目标; stable/beta/dev 通道跟随 dshmarket (读 state.json ,读不到回退 stable )。 - 一键静默更新并重启 :侧边栏点击 → 同源校验 → 大版本二次确认 → npm i -g → 页面重载(macOS 由 launchd KeepAlive 自动重建宿主进程)。 - 配置诊断 :复用 dshmarket 的 analyzeProfile 口径,输出 errors / warnings / peerMismatches / duplicates / multiVersion ,并给出可粘贴给 agent 的修复提示词(含更新后目标核心 Peer 预检 targetSim )。 - 多 profile 隔离 : web/headless/tui 各自独立缓存与状态文件。 - 跨平台 :macOS 实机验证;Windows/Linux 通过 npm prefix -g / npm root -g / findDshInstallDir 多级定位宿主,更新后按平台返回 restartHint 。 安装 使用 安装后侧边栏底部( sidebar.footer.action )常驻「检查更新」入口: - 无更新:显示「已是最新」,副标题灰字。 - 有更新:图标右上角出现蓝点 + NEW 徽标,主标题「有新版本 x.y.z」。 - 点击展开浮层:「立即检查 / 更新并重启 / 诊断 / 复制修复提示词」。 - 收起侧边栏(56px rail)时自动切换为 36px 圆形图标。 配置 插件默认启用( enabled: true )。可通过 profile 的 cordis.patch.yml 覆盖: 通道与启用状态也可通过 API 调整: POST /api/host-update/settings {"channel":"beta","enabled":true} 。 诊断提示词示例 点击「诊断」后,浮层展示 errors → warnings → peerMismatches → targetSim 分级,并提供一键复制的修复提示词,内容形如: 开发 开源 - 仓库: - 许可:MIT - 发现 dsh 插件:请给本仓库打 dsh-plugin topic。 - 提交插件到社区列表: (PR 到 awesome-dsh-plugin 仓库)。 License MIT © 2026 Trewyn
在 GitHub 查看完整 README →分类
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any web UI, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;提示词管理器可用于任意 Web UI,含 DeepSeek Harness。
★ 19,772
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 5,470
omdsh-dev/DSH-better-sidebar开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
★ 2,596