catsenior507/dsh-web-watchdog0

@dsh-external/dsh-client-plugin-web-watchdog

Watchdog for the dsh web GUI: crash logging + exponential-backoff auto-restart supervisor + status panel

AI Analysis

核心用途是保障 DSH Web 服务的持续可用性与稳定性。适合需要长时间挂机运行 Agent、防止 Web 进程崩溃中断任务的用户。支持通过环境变量自定义数据目录。

Package
@dsh-external/dsh-client-plugin-web-watchdog
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:catsenior507/dsh-web-watchdog

配置

首次运行在数据目录(默认 %USERPROFILE%\.dsh\web-watchdog,可用环境变量 DSH_WATCHDOG_DATA / DSH_WATCHDOG_PORT 覆盖)生成 config.json

  • supervisor.nodePath / binPath / restartArgs:重启命令(自动探测,可覆盖);
  • supervisor.maxRestarts / backoffStartSec / backoffMaxSec:重启策略;
  • 崩溃记录:/crash.log,宿主日志:/web-logs/