dsh-workspace-memory

Workspace-scoped persistent memory for DSH, laid out like Claude Code's auto-memory: one English-slug Markdown file per memory beside a MEMORY.md index under ~/.dsh/projects/, with hybrid vector+keyword recall, three automatic triggers (index injected every turn, file-path hints appended to tool results, per-message prefetch), a review queue for low-confidence writes so nothing enters the library silently, and global preferences written as numbered chapters into ~/.dsh/AGENTS.md under a byte budget. Everything is read from and written to local files; the optional leanvec embedder (~85 MB, installed locally by the bundled script) powers semantic recall but runs in-process, so the plugin itself opens no network connections and uploads nothing. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

Workspace-scoped persistent memory for DSH, laid out like Claude Code's auto-memory: one English-slug Markdown file per memory beside a MEMORY.md index under ~/.dsh/projects/, with hybrid vector+keyword recall, three automatic triggers (index injected every turn, file-path hints appended to tool results, per-message prefetch), a review queue for low-confidence writes so nothing enters the library silently, and global preferences written as numbered chapters into ~/.dsh/AGENTS.md under a byte budget. Everything is read from and written to local files; the optional leanvec embedder (~85 MB, installed locally by the bundled script) powers semantic recall but runs in-process, so the plugin itself opens no network connections and uploads nothing. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from npm

dsh plugin --profile web add @lovenndme/dsh-workspace-memory

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:Lovenndme/dsh-workspace-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.

Installation notes

  • May run terminal commands