zhuoxuanliu53-svg/dsh-updater
zhuoxuanliu53-svg★ 0TypeScript最后同步: 2026-08-21
DSH Web GUI plugin: check and apply DeepSeek Harness official source updates
README 摘要
dsh-updater 一个很小的 DSH Web GUI 插件:在「设置」里放一张小卡片,点击「检查更新」查看官方 deepseek-ai/deepseek-harness 是否有更新,点击「更新」把本地源码克隆快进到官方最新。 DSH 本身 不会被自动重启 ——更新后只提示用户重启生效。 dsh-updater 是 热插拔 的:通过 profile 装配,不改任何 dsh 源码。 它能做什么 - 检查更新 :对本地 git 源码克隆(首次使用需在卡片里填写源码路径;其 origin 即官方 https://github.com/deepseek-ai/deepseek-harness )执行 git fetch ,对比本地 HEAD 与 官方 origin/master ,显示 当前提交 / 官方最新 / 落后 N 个提交。 - 更新 :执行 git merge --ff-only origin/master 拉取官方最新并显示日志。 - 离线/不可达 :连不上远程(网络不可达、SSL/凭据失败、超时)时明确提示 「无法检查更新(网络不可达)」,绝不假装「已是最新」。 - 更新后自动重编译 (可选小开关,默认关):拉取后再跑 pnpm install 与 pnpm run build ,完成后仍只是提示需要重启。 - 只提示、不自动重启 :更新/重编译完成后仅提示「请重启 DSH 后生效」。 安装(接线到 web profile) ⚠️ 完整打进运行中的 Web GUI 需要联网(装/重建依赖)与 web 产物重编译。 当前机器网络受限时,插件仍可用,只是「检查更新」会进入 离线/不可达 分支。 三种方式任选其一: 1. 脚本自动接线 (本机 Windows):在插件目录运行 该脚本会:把构建产物以 junction 链接到 /.dsh/profiles/web/node modules/dsh-updater , 并在 profile 的 package.json 里加入依赖与 dsh.profile.bundles 条目,随后需要 dsh plugin install / 重建 profile 并刷新 Web GUI 使 bundle 行生效。 2. 官方插件命令 (推荐,联网时): (等价于 DESKTOP-LAUNCHER 等插件族的安装口令。) 3. 手动 :编辑 /.dsh/profiles/web - package.json : dependencies 加 "dsh-updater": "link: " ; dsh.profile.bundles 加 "dsh-updater" 。 - 把构建产物链接到 node modules/dsh-updater (junction/符号链接)。 安装后,打开 Web GUI → 设置 → 滚动到…
在 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