tuanmaoOVO/dsh-memory-manager ↗★ 0
@dsh-external/dsh-memory-manager
DSH 宿主级记忆管理插件,提供文件夹记忆库、双向链接、上下文注入、图谱视图等功能。
AI 分析
核心用途是为 DSH 提供系统级记忆管理与图谱可视化。适合需要长期记忆管理、知识库关联及 Agent 记忆工具的深度用户。必要条件是需通过 Cordis 挂载并重启 DSH。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tuanmaoOVO/dsh-memory-manager说明文档
阅读完整 README ↗配置项(settings 命名空间 memory-manager)
| 字段 | 类型 | 默认值 | 含义 |
|---|---|---|---|
enabled | boolean | true | 总开关。关闭后不注入、Agent 工具拒绝执行、API 仅返回状态(供设置页重新开启) |
mode | 'on' | 'off' | 'off' | 临时记忆模式。on = 每次发送自动注入固定消息与勾选记忆;off = 不自动注入,可用 plan.injectOnce 做单次注入 |
view | 'full' | 'compact' | 'full' | 记忆注入视图。full = 注入完整快照;compact = 仅标题 + 印象 + 预览(模型可 memory_recall 读全文) |
modelTools | boolean | true | 是否向 Agent 注册 4 个记忆工具 |
libraryPath | string | '' | 记忆库文件夹绝对路径;为空时自动锚定到默认记忆库(工作区下的 .dsh-memory) |
memoryChars | number | 6000 | 单条记忆注入字符上限 |
totalChars | number | 12000 | 单次计划注入的总字符上限 |
pinChars | number | 6000 | 固定消息合计字符上限 |