Phant0Meow/dsh-memory-meow ↗★ 2
meow-memory
Cross-session project memory for DeepSeek Harness: PROJECT.md snapshot injected into the first user message (cache-friendly), memory_remember tool, and automatic reflection after ReAct tasks.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Phant0Meow/dsh-memory-meow说明文档
阅读完整 README ↗meow-memory 🐱📝
Cross-session project memory for DeepSeek Harness (DSH). Born from the "meow" fork — hence the name — but works on any DSH profile.
The idea: every workspace keeps one human-readable memory file (.dsh-meow/PROJECT.md).
New sessions get it injected as a prefix of the first user message (not the system prompt), so
the prompt prefix — and your LLM provider's KV/context cache — stays untouched. The full file is
injected, never truncated. When the model finishes a task (a ReAct turn that used tools), the
plugin gently asks it to reflect and save what's worth remembering.
✨ Features
- Cache-friendly by design: memory is injected as a plain user-message prefix on the session's first user message — the complete memory content comes first, then the user's own text. The system prompt never changes, and the snapshot is frozen for the whole session — later memory updates cannot invalidate the request prefix.
- Human-owned memory:
.dsh-meow/PROJECT.mdper workspace. Plain Markdown, human-editable, git-diffable. Injected in full on the first user message — no truncation. memory_remembertool: the model can write a memory anytime (categories: fact / mistake / preference / user_said / lesson / detail), appended atomically to the right section.- Automatic reflection: after a task turn ends (model stopped calling tools), the plugin
steers a reflection prompt. The model decides whether anything is worth remembering — and
calls
memory_rememberonly when there is. Chat-only turns never trigger reflection. - No recursion: reflection rounds are marked; a turn that already reflected, or whose last
tool call was a
memory_tool, is never asked again. - Zero runtime dependencies: the host bundle is self-contained (esbuild bundles
schemastery / dsh-tools / dsh-llm into
lib/index.js). - Per-workspace isolation: different projects, different memory files.
📦 Install
Via dsh plugin (requires the package to be published / linked)
dsh plugin --profile web add meow-memory
dsh web