catsenior507/dsh-web-watchdog0

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

DSH Web GUI 看门狗插件,提供崩溃日志记录、指数退避自动重启守护及状态面板。

AI 分析

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

套件
@dsh-external/dsh-client-plugin-web-watchdog
版本
0.1.0
授權
MIT
最近更新
2026年8月16日

安裝

$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/