xiaohj233/dsh-keepalive

xiaohj233★ 2JavaScript最后同步: 2026-08-15

在 GitHub 打开

Opt-in detached watchdog for the DSH Web process with snapshot-checked repair and explicit patch restoration.

README 摘要

dsh-keepalive English 中文 Status: Feature Plugin with Compatibility Patch. Tested only with DeepSeek Harness 0.1.0-rc.6. dsh-keepalive runs a detached watchdog for the DSH Web process. When explicitly enabled, the watchdog restarts DSH after a process exit. An optional repair agent can inspect repeated startup failures, modify the plugin workspace, and retry from a snapshot. Problem A Web process that exits cannot restart itself. DSH provides stream idle watchdogs and browser reconnect backoff, but those mechanisms do not supervise the host process. Behavior - Adds a Plugins settings card for watchdog configuration. - Starts a detached Node watchdog only when enabled is true. - Checks process health and relaunches the same DSH binary and arguments. - Manual restart: the card's "手动重启" button (or POST /api/keepalive/restart ) — the current process exits and the watchdog relaunches it; when no watchdog is running, the fallback restarter ( restarter.mjs ) relaunches with the same binary and arguments. - Applies guarded compatibility patches for the settings namespace and hidden Windows child processes. - Optionally runs a repair agent after repeated boot failures. - Snapshots the allowe…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-pluginkeepalivewatchdogagent

分类