rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:chendaleiQ/dsh-plugin-auto-update
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DSH 插件做按包白名单的自动更新:在插件页打开开关、勾选允许自动升级的插件即可。

(上图是示意图,不是录屏)
link: / file: 安装、锁定版本、报错的包一律跳过pluginManager:profile 写锁、pnpm 执行、bundle 补丁校验、HMR 重载都由它负责;安装失败会把旧版本装回去插件页 → 安装 → 填包名:
@chendaleiq/dsh-plugin-auto-update
装完重启 DSH(宿主半边需要新代际才加载)。也可以填 GitHub 地址或本地目录的绝对路径。
插件 → DSH 插件自动更新 → 详情页底部:
改动即时生效,不需要重启。
详情页底部的第二块就是更新记录:按时间倒序列出每次真正发生的动作。
旧版本 → 新版本、结果(已更新 / 更新失败 / 可升级(演练))current(已经是最新)和 error(查不到版本)不写进来,免得记录被刷成流水账数据存在 ~/.dsh/plugin-auto-update-history.json,最多保留 200 条(historyLimit 可改)。面板通过宿主半边提供的
GET /dsh-plugin-auto-update/history 读取,删除走同一个地址的 DELETE;没有 web server 的部署(headless)里这块会提示接口不可用,记录仍写进日志。
跟随 DSH 的语言设置:默认中文,切英文后插件页和面板文案同步变英文。
~/.dsh/plugin-auto-update.log,每行一个 JSON:
{"at":"…","kind":"cycle","decisions":[{"name":"dsh-plugin-desktop-notify","action":"updated","installed":"0.5.6","latest":"0.5.7"}]}
action 有 current / would-update / updated / failed / error。
^ ~ * latest)」的包面板没覆盖的字段(intervalHours 默认 6 小时、initialDelayMinutes、maxUpdatesPerRun、dryRun、registry、timeoutMs、logPath、historyPath、historyLimit)写在 profile patch 的 config 里,或覆盖 ~/.dsh/profiles/<profile>/cordis.patch.yml 的同一行。改完需要重启。
node test/index.test.mjs # 宿主半边:检查、更新循环、更新记录的去重与上限
node test/client.test.mjs # 渲染层:插槽注册、远端信封、置灰原因、记录接口
MIT · 仓库 https://github.com/chendaleiQ/dsh-plugin-auto-update
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。