dsh-memories
DeepSeek Harness 的双账本跨会话记忆插件,自动提取长期事实与项目进度账本,并在新会话中召回。
AI 分析
核心用途是实现跨会话的长期记忆与项目进度跟踪。适合需要连续进行长期项目开发、不希望丢失上下文信息的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jisi71/dsh-memories说明文档
阅读完整 README ↗Usage
You normally do nothing. For direct control:
| Command / Tool | Effect |
|---|---|
/remember | Append a fact to the current project's ledger and trigger consolidation |
/memories | Status: processed count, draft files, ledger previews, last error |
/memories rescan | Force a fresh extraction pass now |
/memories reset | Clear the "processed" registry so recent sessions get re-read |
/progress | Show PROGRESS.md |
/progress | Append a progress note manually |
model tool remember(fact, category?, pinned?) | The agent saves a durable fact mid-conversation |
model tool update_progress(completed?, doing?, next?) | The agent updates the progress ledger at milestones |
Where the data lives
/.dsh/memories/
├── MEMORY.md # consolidated long-term facts (4 sections)
├── MEMORY.md.bak # previous version, kept on every rewrite
├── PROGRESS.md # project progress (# 已完成 / ## 进行中 / ## 下一步)
├── PROGRESS.md.bak
└── raw/ # unconsolidated drafts (_manual.md, _progress.md, per-session notes)
Everything is plain Markdown — open it, edit it, diff it.