dsh-memory

Long-term memory scoped to the DSH workspace. A session opens with a one-line-per-memory index - bodies are fetched on demand by the `memory` tool, so the same character budget holds about three times as many entries - and when a turn ends a purely local search over the last user message pulls the matching memories into the next briefing at no model cost. Optional auto-capture distils a stretch of conversation into structured memories; in draft mode they wait in an approval queue instead of landing directly. A portrait layer keeps a workspace and a global picture, rewritten from the journal and the records, with the same draft-or-direct choice. Settings → Memory holds the archive, list and timeline views, a health check (duplicate clusters, stale entries, broken links), the supersede version chain with rollback, and a read-only scan that imports existing WorkBuddy / Qoder memory files.

Overview

Long-term memory scoped to the DSH workspace. A session opens with a one-line-per-memory index - bodies are fetched on demand by the `memory` tool, so the same character budget holds about three times as many entries - and when a turn ends a purely local search over the last user message pulls the matching memories into the next briefing at no model cost. Optional auto-capture distils a stretch of conversation into structured memories; in draft mode they wait in an approval queue instead of landing directly. A portrait layer keeps a workspace and a global picture, rewritten from the journal and the records, with the same draft-or-direct choice. Settings → Memory holds the archive, list and timeline views, a health check (duplicate clusters, stale entries, broken links), the supersede version chain with rollback, and a read-only scan that imports existing WorkBuddy / Qoder memory files.

Installation

Install from npm

dsh plugin --profile web add @bangbang-03/dsh-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:BangBang-03/dsh-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.