x2802490130-prog/dsh-guard ↗★ 0
dsh-guard
DSH 运行期守护:启动成功后自动存档;插件加载失败时自动回退到上次良好快照并重启。
AI 分析
核心用途是提供DSH运行期自动备份与故障回退守护。适合频繁折腾、调试插件的开发者,在插件加载失败时能自动恢复至健康快照并重启。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:x2802490130-prog/dsh-guardドキュメント
README 全文を読む ↗配置(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