nickkkkkk123123/dsh-resume-on-restart0

dsh-resume-on-restart

DSH 插件:检测 DSH 服务重启后自动唤醒主 agent,投递提示消息让中断的工作自动恢复。仅依赖 cordis ctx 服务,兼容 DSH Desktop 打包环境。

包名
dsh-resume-on-restart
版本
0.1.0
许可证
MIT
最近更新
2026年8月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nickkkkkk123123/dsh-resume-on-restart

配置(cordis.patch.yml)

配置项默认说明
enabledtrue插件开关
stateDir.resume-on-restartmarker/状态文件存放目录(相对 DSH_HOME)
targetprimary唤醒目标(primary=主 agent,或指定会话 id)
wakeuptrue是否真正唤醒(false 则只注入不唤醒)
notice''附加到消息末尾的自定义提示
shutdownGraceMs600000关闭前"活跃即视为任务相关"的宽限窗口
ignoredSessionPrefixes['head-']不追踪的会话 id 前缀(如多代理团队的根会话)