dsh-layered-memory

Long-term memory for DSH: conversations auto-distilled into atomic facts, scene summaries and a persona profile, with relevant memories injected before every model step. Zero-config out of the box — hybrid BM25 + vector retrieval, optional offline local embeddings, chat/work family separation.

Overview

Long-term memory for DSH: conversations auto-distilled into atomic facts, scene summaries and a persona profile, with relevant memories injected before every model step. Zero-config out of the box — hybrid BM25 + vector retrieval, optional offline local embeddings, chat/work family separation.

Installation

Install from npm

dsh plugin --profile web add dsh-layered-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:JunNanLYS/dsh-layered-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

Independent install test

Install result
Incompatible in the tested version
Tested Harness version
0.2.2-rc.5
Tested plugin version
Not reported
Test date

Fallback version

Fallback test result
No fallback version found
View dependency version ranges
@deepseek-ai/dsh-agent
^0.1.2-alpha.1
@deepseek-ai/dsh-home-paths
^0.1.2-alpha.1
@deepseek-ai/dsh-llm
^0.1.2-alpha.1
@deepseek-ai/dsh-session
^0.1.2-alpha.1
@deepseek-ai/dsh-settings
^0.1.2-alpha.1
@deepseek-ai/dsh-system-prompt
^0.1.2-alpha.1
@deepseek-ai/dsh-tools
^0.1.2-alpha.1

Installation notes

  • May run terminal commands