dsh-one-pack

Back up and restore a whole DSH environment (installed plugins, DSH and plugin settings, skills, sessions and explicitly registered workspace files) into one private GitHub repository. Multiple machines share a single repo through per-device namespaces that never overwrite each other, and a pull can restore from this device, the latest backup or a chosen device. Push previews a read-only plan before writing, pull backs up local data first, secret-looking settings are redacted and key files are never uploaded. It calls api.github.com with the GitHub token you save in the panel (kept host-side only); its HTTP routes (/one-pack/api/...) require DSH browser auth.

Overview

Back up and restore a whole DSH environment (installed plugins, DSH and plugin settings, skills, sessions and explicitly registered workspace files) into one private GitHub repository. Multiple machines share a single repo through per-device namespaces that never overwrite each other, and a pull can restore from this device, the latest backup or a chosen device. Push previews a read-only plan before writing, pull backs up local data first, secret-looking settings are redacted and key files are never uploaded. It calls api.github.com with the GitHub token you save in the panel (kept host-side only); its HTTP routes (/one-pack/api/...) require DSH browser auth.

Installation

Install from GitHub

dsh plugin --profile web add github:Zhang-Eli/dsh-one-pack

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.