rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:niubi6668889595/dsh-autoupdater
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Auto-update plugin for DeepSeek Harness (DSH) — 定时检查 DSH 本体与已安装插件的更新,只在无人使用的空闲窗口执行。四种调度模式、双向白名单、可视化设置面板。
English below · English
包名@版本 显式安装 + 磁盘回读验证,杜绝假更新)dsh plugin --profile web add dsh-autoupdater
或从 GitHub:
dsh plugin --profile web add github:<owner>/dsh-autoupdater
安装后重启 DSH(systemd 环境:sudo systemctl restart <你的dsh服务名>),然后在 插件管理器 → 自动更新 卡片配置。
面板可改全部配置并即时生效;以下为 cordis.patch.yml 初始值:
| 字段 | 默认值 | 说明 |
|---|---|---|
scheduleMode |
daily |
daily / everyHours / everyDays / everyMinutes |
dailyTime |
"04:30" |
每日 / 每 N 天模式的锚定时刻 |
everyHours |
6 |
每 N 小时(整点对齐,1–168) |
everyDays |
1 |
每 N 天(锚定 dailyTime,1–365) |
everyMinutes |
60 |
每 N 分钟(1–10080) |
idleSeconds |
300 |
判定无人使用的持续静默秒数 |
idleTimeoutMinutes |
120 |
每次检查等待空闲的最长时间 |
harnessMode |
notify |
off / notify(暂存+通知)/ auto(宽限后自动重启) |
graceMinutes |
30 |
auto 模式通知后的宽限分钟数 |
systemdUnit |
"" |
重启用的 systemd 服务名;空 = 从 cgroup 自动探测 |
pluginMode |
regexmode-ignore |
白名单内只提醒其余自动 / 白名单内自动其余提醒 / 全自动 / 全提醒 / 关闭 |
whitelist |
[] |
插件包名列表,含义随 pluginMode |
$DSH_HOME/sessions 下任意文件 2 分钟内无写入 = 无进行中的工作(借鉴 dsh-self-upgrade,比 agent.status 可靠——实测 turn 结束后 status 可能停留 running)idleSeconds 秒,双重采样防瞬时空档误判配置了 systemdUnit(或自动探测到)→ sudo -n systemctl restart <unit>。前置条件:你的部署用户已配置该命令的 sudoers 免密,例如:
youruser ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart your-dsh-service
未配置免密时 sudo 会失败,日志里如实记录,插件不会反复重试
未探测到 systemd → 按原 argv 脱离子进程拉起(兜底)
npm 全局安装后校验 dsh 二进制存在,缺失则放弃重启(防变砖)
harnessMode: notify——只暂存并通知,重启动作需你显式改为 auto~/.dsh/autoupdater/history.jsonlconfig.json,不触碰系统配置dsh.bundle 的 npm 形态插件;GitHub 源码安装的插件版本比对不适用$DSH_HOME/sessions 的文件 mtime,远程会话(SSH 场景)不计入设计借鉴了社区同类项目:dsh-self-upgrade(会话日志 mtime 空闲判定、防变砖校验)、dsh-updater(保守失败语义)、dsh-auto-update(stage + 退出后应用架构)。
MIT
Auto-update plugin for DeepSeek Harness (DSH) — scheduled update checks for DSH itself and installed plugins, applied only in idle windows.
name@version install and post-install disk verification (no phantom updates)Install: dsh plugin --profile web add dsh-autoupdater, then restart DSH and configure under Plugin Manager → dsh-autoupdater.
See the Chinese sections above for full details — the configuration table and idle-detection notes apply to both languages.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。