DeepSeek Harness Plugin

xiaoyuyu6420/dsh-backup

Stars ★ 0 Category Tools & Capabilities Added 2026-08-14

One-command backup of DSH user data: /backup, scheduled auto-backup, sha256 checksums and rotation.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:xiaoyuyu6420/dsh-backup

GitHub-sourced plugins run build scripts on your machine at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

dsh-plugin

One-command backup for DeepSeek Harness user data — sessions, settings, credentials, skills, and plugin config under ~/.dsh, excluding reinstallable node_modules — with sha256 checksums, automatic rotation, and scheduled auto-backup.

Features

  • /backup — immediately back up ~/.dsh to ~/Desktop/dsh-backups/dsh-<timestamp>.tar.gz
  • /backup list — list existing backups and auto-backup status
  • /backup auto <N> — auto-backup every N hours (1–720; keeps 3 copies below 24h, 7 otherwise)
  • /backup auto / /backup auto off — query status / disable
  • /backup --keep N — override the rotation count (default 7)
  • backup_dsh tool — same capability for the model (mode=backup|list|auto)

Every backup writes a sidecar *.sha256 checksum file. Rotation deletes the oldest archives beyond the keep count.

Security note

Backups contain plaintext credentials (.credentials.yaml, qq-bridge/config.json). Archives are chmod 600 (owner read/write only), but do not sync the backup directory to untrusted locations, and treat archives as sensitive as your API keys.

Install

dsh plugin --profile web add dsh-backup

Then restart dsh web and run /backup.

Requirements

  • macOS or Linux with tar in PATH (checksum prefers sha256sum, falls back to shasum on macOS)
  • DSH 0.1.0-rc.6 or compatible

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →