dsh-recovery-memory

Conversation memory behind a 20-letter recovery code: /recovery create packs the current conversation into one local record, and /recovery memory <code> injects it into a new conversation, where the model first summarises the recovered session and ends its reply with 记忆已恢复. Records are plain JSON under $DSH_HOME/recovery (mode 0600) with no network calls; the restored transcript is complete unless it exceeds the configured character budget, and /recovery where plus the dir option or DSH_RECOVERY_DIR move the directory to shared storage or a synced folder.

Overview

Conversation memory behind a 20-letter recovery code: /recovery create packs the current conversation into one local record, and /recovery memory <code> injects it into a new conversation, where the model first summarises the recovered session and ends its reply with 记忆已恢复. Records are plain JSON under $DSH_HOME/recovery (mode 0600) with no network calls; the restored transcript is complete unless it exceeds the configured character budget, and /recovery where plus the dir option or DSH_RECOVERY_DIR move the directory to shared storage or a synced folder.

Installation

Install from GitHub

dsh plugin --profile web add github:zilta-amaze/dsh-recovery-memory

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.