dsh-smart-restart:DeepSeek Harness 的验证型重启方案

`dsh-smart-restart` 是一款 DSH 插件,旨在解决服务重启不透明且破坏性的问题。它支持无需 root 权限的重启(依赖 systemd)、启动后健康检查(验证端口、进程状态等)以及将检查结果和恢复指令回传给发起会话,确保工作能基于事实继续。 该插件提供 `kill`(默认)和 `systemctl` 两种模式,具备循环保护机制(10分钟3次限制),并通过图形化设置卡片支持配置。安装后,它能自动检测 systemd 单元并进行验证型重启,为智能体系统运维提供更可靠的保障。

Read More
dsh-smart-restart: Automatically wake up the main agent after DSH restart

The DSH plugin `edusrez/dsh-smart-restart` (v0.5.1, MIT License) aims to address the issue of work interruption caused by the main agent being unaware of service restarts. It identifies restarts by detecting changes in process PIDs and sends a Smart-restart notification to the agent upon startup to resume tasks. Core features include: 1. **Restart Detection and Notification**: Compares PIDs via `marker.json` to calculate downtime and utilizes the `agent/session-start` hook to send notifications. 2. **Smart Dispatch Priority**: Prioritizes processing in the order of `pending-notice.json` > `shutdown-notice.json` > default target.

Read More