jonah791/dsh-agent-guardian0

dsh-agent-guardian

守卫插件:负责 web 保活、崩溃自愈、收养外部 web 进程,并在拉起前调用沙盒预检以实现故障关闭。

AI 分析

核心用途是保障 DSH Web 服务的稳定性。适合需要自动处理进程崩溃、端口占用及启动前强制安全预检的无人值守场景。

套件
dsh-agent-guardian
版本
0.1.1
最近更新
2026年9月12日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

使用

  • 守护进程模式:挂载到 watch profile 后自动运行——无需人工干预
  • 依赖服务ctx.preflight.run(dsh-agent-preflight)用于预检门控;ctx.runtime(dsh-agent-runtime)用于环境发现

配置

字段默认说明
quickExitCount配置值快速退出计数阈值(崩溃判定)