dsh-plugin-recovery-snapshot: DeepSeek Harness Plugin Configuration Recovery Snapshot

Introduction

In DeepSeek Harness (DSH), plugin configurations change constantly with iterations, experiments, and manual adjustments. If something breaks or needs to be rolled back, and there are no backups for verification, one often has to rely on memory or piece together scattered files. The community plugin dsh-plugin-recovery-snapshot (maintainer thegabopacheco-sudo) provides a suite of MCP tools for “configuration snapshots, verification, and confirmed recovery,” categorized under admin-security. Below is an introduction to its positioning, capabilities, and installation methods; facts are based on the GitHub repository README.

What is it

This plugin takes snapshots of DSH plugin configurations: it includes a SHA-256 manifest, integrity verification, and secure recovery requiring explicit confirmation. The current package.json version is 0.1.0, license is MIT, and runtime requires Node.js ≥ 20. Community directory page: skillhub.cn plugin entry; source code and documentation: GitHub. The DSH ecosystem advocates “everything is a plugin”; directories like Skillhub are community sites and have no official affiliation with DeepSeek / Infini-Flow; please review the source code and license yourself before installation.

Core Features

The README breaks down the capabilities into the following tools (exposed via the plugin MCP; specific invocation methods depend on your connected DSH and session):

Tool Function (per README)
status View status
backup Create snapshot
list List existing snapshots
verify Verify snapshot integrity
restore Restore from snapshot

Design highlights: Read-only by default; write operations (e.g., restore) require confirm:true and explicit request. The environment variable DSH_RECOVERY_SNAPSHOT_MODE=read-only can disable write actions. Whitelist and audit records are written to <DSH_HOME>\cache\recovery-snapshot\audit.jsonl (path subject to README original text).

Installation and Enablement

There are two entry points consistent with official commands:

  1. Install github:thegabopacheco-sudo/dsh-plugin-recovery-snapshot in DSH → Settings → Plugins and allow the installation script (postinstall) as prompted.
  2. Command line (requires specifying a profile):
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-recovery-snapshot

Replace <perfil> with the DSH profile name used on your local machine. After installation, the plugin runs with the current DSH process privileges, consistent with the “admin-security” category, making it suitable for use in controlled environments.

Typical Usage (Process Level)

The documentation does not provide step-by-step CLI examples, but you can compose a workflow based on the tool semantics:

  1. Use status to confirm the plugin and snapshot subsystem are ready.
  2. Call backup before important changes to generate a snapshot with a SHA-256 manifest.
  3. Use list to view historical snapshot identifiers.
  4. Before restore or distribution, use verify to check that the manifest matches the content.
  5. Only after confirming the target snapshot is correct, call restore with confirm:true to perform the recovery.

If you need to prohibit all write operations, set DSH_RECOVERY_SNAPSHOT_MODE=read-only and use audit.jsonl for post-event verification.

Use Cases and Notes

Who is this for? Developers and ops-oriented users who frequently add, remove, or tune parameters for plugins in DSH and need verifiable rollback points.

Notes:

  • Plugin logic runs locally as a Node module (entry dist/server.mjs) with permissions equivalent to the user launching DSH; please read the repository scripts (including scripts/postinstall.mjs) and cordis.patch.yml and other bundle configurations before installation.
  • Restore operations carry a high risk of irreversibility; be sure to run verify first and execute with confirmation parameters only when the intent is clear.
  • The repository currently has 0 GitHub stars (based on directory page statistics); please evaluate the maintenance status yourself using the README and issues section before use.

Conclusion

dsh-plugin-recovery-snapshot consolidates DSH plugin configuration snapshots, SHA-256 verification, and confirmed recovery into a set of MCP tools, supplemented by read-only mode and audit logs, facilitating controlled rollbacks in admin-security scenarios.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye