Developer Toolsdsh-plugin

dsh-plugin-guard

Install safety net for DeepSeek Harness: automatic pre-install snapshots, one-click/automatic rollback to last good state, guarded boot with health checks, and incident reports that auto-trigger agent analysis. Works even when the app can't start, supports Windows/macOS/Linux.

Stars
24
Forks
2
Open issues
1
Last push
Aug 18, 2026
Latest release
v0.3.2
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add github:lxzy-7/dsh-plugin-guard

Overview

Install safety net for DeepSeek Harness: automatic pre-install snapshots, one-click/automatic rollback to last good state, guarded boot with health checks, and incident reports that auto-trigger agent analysis. Works even when the app can't start, supports Windows/macOS/Linux.

  • Automatically snapshots profile config before any plugin install via in-process tools.guard hook.
  • Guarded boot: snapshots before start, health-checks dsh web, auto-rolls back and retries once on failure.
  • One-click manual rollback restores last good snapshot even when the app cannot start.
  • Incident reports auto-trigger agent analysis through pending markers and localization reports.
  • Agent tools: dsh_snapshot, dsh_rollback (list/rollback/status/incident), incident_resolved.
  • CLI dsh-guard with snapshot, list, rollback, keep, health, incident, resolve, profiles.
  • On repeated boot failure, diagnoses and quarantines incompatible plugin, reports restore command.
  • Configurable snapshot retention; rollback itself is reversible via pre-rollback snapshots.

Related plugins