rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wy7779/dsh-plugin-autoupdater
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness (DSH) 用的插件自动更新器:
定期检查已安装插件的新版本并自动更新;遇到 DSH 拒绝原地升级(already-installed)时,自动卸载后重装,重装失败会把旧版本恢复回去。
只处理从 npm 安装的第三方插件;本地
link:/file:/ git 插件、官方随 DSH 发布的插件、管理必需插件、以及本插件自身都不会被改动。
latest(可设为 1/3/6/12/24 小时);要求:DSH 0.2.1+(在 0.2.1-rc.3 桌面端实测)。插件通过 pluginManager、connection、webServer 三个宿主服务工作,均为该版本内置。
从 GitHub 安装(桌面端):
dsh plugin --profile desktop add github:wy7779/dsh-plugin-autoupdater
如果当前 DSH 版本不支持 github: 源,克隆后按本地目录安装:
git clone https://github.com/wy7779/dsh-plugin-autoupdater.git
dsh plugin --profile desktop add /path/to/dsh-plugin-autoupdater
也可以在 设置 → 插件 → 添加插件 里填入本地目录路径安装,然后重启 DSH。
打开 设置 → 插件自动更新:
already-installed 只记录失败,不会改动插件。配置与最近一次结果保存在 ~/.dsh/plugin-auto-updater/state.json。
pluginManager.listBundles() 列出已安装 bundle,只保留:removable、无 readOnlyReason 的第三方包;name@1.2.3、name@^1.2.3 等),跳过 link: / file: / git 源;dist-tags.latest(默认源失败时回退 npmmirror),做 semver 比较;installBundle('name@latest'):applied / restart-required)→ 完成;already-installed(DSH 对已装插件的直接升级会拒绝)→ 如果开启修复:removeBundle(name) 再 installBundle('name@latest');installBundle('name@旧版本') 恢复,并把原因写进结果。dsh-ops 这类提供 shell/文件工具的插件时,相关工具会短暂不可用——所以自动更新只在空闲窗口做;latest;私有源/私有包不在处理范围内;~/.dsh/profiles/*/package.json 之外的内容(全部通过 DSH 的 pluginManager 完成)。English: A DeepSeek Harness plugin that periodically checks installed npm-backed plugins for newer releases and updates them automatically, falling back to uninstall + reinstall when DSH refuses an in-place upgrade, and restoring the previous version if the reinstall fails.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。