dsh-memory
分层文件记忆插件,支持全局快照注入、工作区笔记、会话召回及压缩后自动刷盘。
AI 分析
核心用于为智能体提供跨会话、跨工作区的持久化上下文记忆。适合需要智能体记住历史设定和项目背景的长周期任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:aqsk-BLG/dsh-memory说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
dshHome | $DSH_HOME or ~/.dsh | Directory containing USER.md and MEMORY.md |
memoryBudgetChars | 4000 | Code-point budget for the injected MEMORY.md snapshot; overflow is truncated |
userBudgetChars | 1500 | Code-point budget for the injected USER.md snapshot; overflow is truncated |
maxHits | 20 | Maximum sessions one session_search call may return |
flushEnabled | true | Queue the flush reminder after a successful compaction when true |