x2802490130-prog/dsh-guard0

dsh-guard

DSH 运行期守护:启动成功后自动存档;插件加载失败时自动回退到上次良好快照并重启。

AI 분석

核心用途是提供DSH运行期自动备份与故障回退守护。适合频繁折腾、调试插件的开发者,在插件加载失败时能自动恢复至健康快照并重启。

패키지
dsh-guard
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:x2802490130-prog/dsh-guard

配置(profile 补丁层,均可省略)

- id: dsh-guard
  config:
    snapshotRoot: D:\path\to\snapshots
    profileDir: C:\path\to\profiles\web
    sourceDirs: [D:\path\to\plugin-src]
    restartCommand: D:\path\to\restart.bat   # 空 = 只回退不重启
    graceMs: 120000
    autoSaveDelayMs: 150000
    keepSnapshots: 5