Skip to main content
S

dsh-plugins (dsh-mnemon-sync)

summerscar/dsh-plugins/plugins/dsh-mnemon-sync

Backup and restore for dsh-mnemon: pick any of its three memory components (memory spaces, project documents, runtime memory) and archive them to S3-compatible storage or WebDAV, then browse the archives and restore a chosen subset. Live SQLite databases are copied through node:sqlite backup() so a concurrent writer cannot tear the copy; every file carries a SHA-256 checked before upload and again before restore; a restore previews by default and deletes the stale -wal/-shm sidecars before writing a database back. Archives are named mnemon-sync-<device>-<timestamp>.zip so backups from several machines stay tellable apart. Runs a single timer with intervals from hourly to weekly, stores credentials in a 0600 file outside the DSH profile, and depends on nothing outside Node.

Install

dsh plugin --profile web add github:summerscar/dsh-plugins

This plugin lives in the plugins/dsh-mnemon-sync subdirectory of the repository.

README

dsh-plugins

简体中文 / English

DeepSeek Harness (DSH) plugins by summerscar. Browse install commands and each plugin's documentation on the plugin site.

Plugins

PackageWhat it does
@summerscar/dsh-mnemon-syncSync backup: back up dsh-mnemon memory spaces, project documents and runtime memory to S3-compatible storage or WebDAV, with scheduled backups and selective restore.

Install

Replace web with your profile name and restart the profile after installing.

dsh plugin --profile web add @summerscar/dsh-mnemon-sync

To browse the plugin list in DSH, enable the experimental Custom Plugin Market bundle, then choose Plugins → Discover → Add index source and enter:

https://raw.githubusercontent.com/summerscar/dsh-plugins/main/index.json

The same source provides list updates. DSH asks for confirmation before installing any plugin.

Development

Requires Node.js 24+ and pnpm 11.

pnpm install
pnpm check

The code is the developer documentation. Releases follow the release guide.

Plugin lifecycle

PackageLifecycleNotes
@summerscar/dsh-mnemon-syncPublished (published)Published on npm; subsequent versions follow the normal update workflow.

License

SATA License 2.1. Versions up to and including 0.1.11 published on npm remain MIT.

Related plugins