dsh-memory: A Local Git Memory Plugin for DeepSeek Harness
seriousz158/dsh-memory
dsh-memory is a local Git-backed long-term memory plugin for DeepSeek Harness, storing memory safely in a local repository with settings UI, retrieval, and recovery.
dsh-memory is a local Git-backed long-term memory plugin for DeepSeek Harness, storing cross-session knowledge in a local Git repository without cloud services. It solves DSH's lack of cross-session memory, letting you accumulate knowledge across conversations and reuse it later. Core capabilities include Git-backed memory storage, settings-page integration, an idle-session synchronizer, and a safe clearing workflow with double confirmation.
How to Install
dsh plugin --profile web add dsh-git-memory- Category
- Memory & Context
- Platform
- DSH Plugin
- Author
- seriousz158
- Distribution
- Plugin
dsh-memory Key Features
dsh-memory Repo Summary
What Does It Do?
dsh-memory is a DSH plugin for DeepSeek Harness that provides local, Git-backed long-term memory, storing durable knowledge in a local Git repository instead of a hosted service. It solves the problem of DSH lacking cross-session memory, letting you accumulate knowledge across conversations and reuse it later, while offering safe clearing and synchronization mechanisms. Core capabilities include Git-backed memory storage, settings-page integration, an optional idle-session synchronizer, and a deliberate two-step memory clearing workflow.
Core Features
- Local Git-backed memory: memory stays in a local Git repository, supporting Markdown front matter, namespaced IDs, provenance, expiry projection, and deterministic conflict handling, with no cloud vector database.
- Safe clearing and recovery: before clearing, a Git recovery point is preserved; rollback, backup export/import, and legacy migration keep changes auditable and reversible.
- Controlled read path: the model can access a bounded summary.md snapshot (max 12 KiB), and memory.search() and memory.context() provide local retrieval with source citations and usage-aware ordering.
- DSH settings integration: the settings UI shows the memory toggle, repository status, recent-sync state, preview actions, rollback, and a double-confirmation delete action, without exposing the filesystem root.
- Idle-session synchronizer: an optional headless synchronizer processes only idle local session logs, defaults to workspace-write, never silently installs DSH, and forwards only an allowlisted environment.
How to Use This Plugin?
After enabling it in DSH, toggle the memory.enabled setting in the settings panel to let the model use memory in subsequent calls. Memory is automatically stored in the local Git repository; you can inspect repository status, preview actions, or rollback from the settings UI. To clear memory, use the Delete memory action, confirm twice, and the system will create a recovery point before clearing. To process historical sessions, configure the idle-session synchronizer, which runs in an isolated workspace and only handles idle session logs.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: seriousz158/dsh-memory. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
