bufan528/dsh-longterm-memory

Long-term memory for DeepSeek Harness kept as a plain Markdown vault you own, with four memory tools, token-budgeted recall and an inbox for low-confidence facts.

A first-level sidebar page (overview, search, detail, manage, inbox, settings) over a Markdown vault with YAML frontmatter that stays readable and editable in Obsidian, with no database, telemetry or cloud. Four model tools — memory_search, memory_get, memory_save and memory_forget, the last refusing credential-like content — sit on top of a rule-based extractor that runs locally at the real turn/end boundary, with model-assisted extraction off by default. Recall is BM25-style lexical ranking over the Markdown with type/status/tag filters and a token budget (700 tokens and 12 items for the standing section, 600 and 8 per recall by default). Memories move through pending → active → stale/superseded/archived/conflict with low/medium/high confidence, sensitive or low-confidence candidates wait in the Inbox for confirmation, duplicates merge, additions keep their sources, and contradictory facts are kept side by side rather than overwritten. Writes are atomic single-file replaces with a per-file lock, optimistic checksum concurrency and a durable journal outbox; vaultPath, language, redactSecrets and the budgets are configurable through cordis.patch.yml.

Memory ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add dsh-longterm-memory

Copied verbatim from the README's Option A (from npm, recommended). package dsh-longterm-memory, registry latest 0.1.0, and its repository field resolves back to github.com/bufan528/dsh-longterm-memory. The README warns that the desktop app's plugin-manager path has not been exercised end to end; the verified alternative is Option B, npm pack then dsh plugin --profile lmv add <tarball> inside an isolated DSH_HOME.

Compatibility

engines.dsh is >=0.2.1-rc.2 <0.2.2, and the README states plainly that 0.2.0-rc.2 is not supported; 0.2.1-rc.2 is listed as verified against a real headless Chrome acceptance run. Node.js >=20, Windows as the primary platform with Node path rules elsewhere, and the dsh.compatibility field is informational only — engines.dsh is the decision source. The project labels itself preview: first public version, API and storage format may still change.

Details

Alternatives

fonlan/dsh-gitmemo · dearbld/dsh-living-memory · ICCuse/dsh-file-memory

More plugins in Memory

Browse more in Memory

Guides for Memory plugins