Jesse-njx/dsh-memory
Cited memory over DSH's lossless session log: when a session ends, a background distillation pass extracts durable facts — user preferences, project decisions, environment quirks, corrections — into small markdown files under ~/.dsh/memory/. Every memory carries a citation (sessionId, [start..end]) pointing at the exact log events it came from, so a distilled fact can always escalate back to the original context. The next session gets a compact index of those memories plus two tools: memory_read (the full memory) and memory_expand (bounded excerpts).
Install
dsh plugin --profile web add github:Jesse-njx/dsh-memoryGitHub install (npm package @dsh-memory/bundle is not on the registry — 404 verified 2026-08-29): dsh plugin --profile web add github:Jesse-njx/dsh-memory. The distillation pass routes through ctx.llm and reuses the session's own provider/model by default; override with distill.provider / distill.model. Config via profile patch or cordis.patch.yml (home, maxIndexTokens, recall, distill fields).
Compatibility
DeepSeek Harness bundle. Uses the session's own provider/model for distillation unless overridden.
Details
- Repo: Jesse-njx/dsh-memory
- Category: Agent Capabilities
- Stars: 2
- Version: GitHub source v0.1.0 (npm @dsh-memory/bundle 404 — not published)
- Last push: 2026-08-28
- First seen: 2026-08-13
Recent updates
distilled cited memories from lossless session log; citation (sessionId, range) to exact events; memory_read/memory_expand tools; compact recall index with token cap.
FAQ
- How are memories created?
- When a session ends, a background distillation pass extracts durable facts into small markdown files under ~/.dsh/memory/.
- What is a citation?
- Each memory carries (sessionId, [start..end]) pointing at the exact log events it came from, so facts can always escalate back to source.
- Which model distills?
- The session's own provider/model by default — override with distill.provider / distill.model.
Alternatives
Scorp1o117/dsh-soul-md · SaiSenBox/dsh-prompt-manager · vlln/dsh-loop