How dsh-mneme behaves
DeepSeek Harness distils selected facts, preferences and decisions when a conversation ends. On a later session, four retrieval paths—keyword, vector, BM25 and entity graph—are combined into a ranked result for context injection. autoDream and autoSummarize are enabled by default. During idle consolidation, repeated memories can be merged, stale content compressed and old content archived. Conflicting records are frozen for review. Each memory keeps provenance and change history; consolidation records input snapshots, decisions and result hashes for replay.
Configuring dsh-mneme
Memory is stored in SQLite under ~/.mneme/memory, with ten Markdown mirrors beside it. The following names are documented by the README:
| Key |
Purpose |
memoryDir |
Sets a custom memory directory |
MNEME_MEMORY_DIR |
Environment override for the memory directory |
DSH_HOME |
Determines the legacy ~/.dsh/mneme location |
dreamProvider / dreamModel |
Select the provider and model for consolidation |
summarizeProvider / summarizeModel |
Select the provider and model for summarisation |
Setting either provider/model pair makes that operation call the selected model directly instead of the host model. To keep consolidation offline, use a local host model and clear both pairs, or disable autoDream and autoSummarize.
Commands and integrations
DeepSeek Harness exposes the plugin through its settings panel. The standalone daemon command dsh-mneme-serve keeps the database available when DeepSeek Harness is closed. The separate mneme-memory package provides a zero-dependency stdio MCP server with six memory tools. An HTTP API supports reads and writes from other plugins and scripts. A CLI and 12 model tools are also included, although the README excerpt does not list every CLI subcommand.
Requirements and data handling
DeepSeek Harness 0.1.x and 0.2.x are supported, and Node 24+ is required for node:sqlite. The plugin uses local SQLite and Markdown files; the README states that it has no telemetry, analytics or remote logging. Removing the package does not remove memory. Delete every used memory directory, including paths selected through memoryDir or MNEME_MEMORY_DIR, if the stored data should also be removed.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub