tuanmaoOVO/dsh-memory-manager
dsh的记忆管理
Project Overview项目介绍
A host-level DSH plugin providing a cross-session memory library with Markdown files, auto-injection of convention and session-summary memories into new sessions, and per-session context plans. Includes six Agent memory tools, a force-directed knowledge graph, and a conversation sidebar. Use for persistent, structured memory. Note: injection is subject to character caps.
DSH记忆管理插件,提供跨会话记忆库、规约自动注入、会话总结与上下文计划注入。支持Agent记忆工具、力导向图谱及对话侧栏面板。适合需要持久记忆与结构化上下文的场景。注意:记忆注入受字符上限约束,需合理配置。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-memory-manager(tuanmaoOVO/dsh-memory-manager)
仓库:https://github.com/tuanmaoOVO/dsh-memory-manager
本站详情页:https://www.yhbd.top/plugins/tuanmaoovo-dsh-memory-manager/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:tuanmaoOVO/dsh-memory-manager
把 tuanmaoOVO/dsh-memory-manager 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
记忆管理插件(dsh-memory-manager)
为 DSH(DeepSeek Harness)打造的记忆管理插件:跨会话记忆库、规约记忆自动注入、会话总结、上下文计划注入、Agent 记忆工具、力导向图谱与完整的对话侧栏面板。 Memory Manager for DSH — cross-session memory library, conventions auto-injection, session summaries, context planning & Agent memory tools.
功能特性
- 文件夹记忆库:以「文件夹 + Markdown」形式存放记忆(
memories/*.md),front-matter 元数据,Obsidian 兼容,可直接用任意编辑器或图谱工具打开。 - 记忆 = 不可变快照 + 可编辑标注层:快照保存历史事实,
<!-- mem:notes -->标注层可随时补充说明,互不污染。 - 记忆标签(tags)与启用开关(enabled):每条记忆可带分类标签与记忆级启用开关;
tags含convention即规约记忆、含会话总结即会话总结记忆,enabled=false的记忆不参与自动注入、不能加入注入计划。 - 规约记忆自动注入(autoInjectConvention):开启后,每个新会话默认常驻所有启用中的规约记忆(
tags含convention)与最近 8 条会话总结记忆(tags含会话总结);旧会话不自动注入,可在「记忆库」页手动加入。 - 会话总结(session.summarize):把所选会话的对话轮次交给 LLM 提炼为「会话id / 轮次 / 用户请求 / 思考链 / 处理链 / 结果」六要素记忆;支持「最近 N 轮」范围与「智能合并」(LLM 判断哪些连续轮次处理同一事务并合并为一条)。生成即自动入库,并默认参与新会话自动注入。
- 印象(impressions):每记忆可带少量简短标签,作为检索主键与图谱节点;支持 LLM 生成印象建议。
- 组合(composedOf)与双向链接(backlink):可把多条记忆非破坏性聚合成一条组合记忆;
links自动建立反向引用索引。 - 上下文计划注入(agent/pre-step 消息注入):按会话维护一份注入计划(固定消息 + 勾选记忆),记忆模式开启后每次发送自动注入到模型请求(
source.form: 'snapshot'的插件消息,UI 折叠显示、模型可见),带单条 / 总量 / 固定消息三级字符上限与紧凑视图;对极简模式(personacomplete: true)等任何会话形态都生效。 - 6 个 Agent 记忆工具:
memory_search/memory_recall/memory_save/memory_set_enabled/session_inject/memory_pin,可整体开关,模型可直接读写记忆库、按需管理会话注入计划。 - 完整对话侧栏面板:三个标签页 —— 计划 / 记忆库 / 消息;从浏览器输入栏的「记忆」按钮、消息动作条或面板直接操作。
- 力导向图谱(左侧浮层):独立于右侧面板的左侧浮层面板,含语义分层全景与焦点探索双视图(
mg-*组件);按标签着色(规约 / 会话总结 / 复盘 / 其他),支持搜索定位、聚焦邻域、缩放 / 平移与详情 / 相关记忆跳转。 - 消息跳转(JumpReceiver):在消息页 / 记忆详情可一键在对话中定位到来源消息——
conversation.session.header.actions插槽内的隐藏接收器按anchorSeq匹配并滚动高亮,跨会话自动切换。 - 跨工作区会话列表(sessions.list):可在面板消息页 / 会话总结中浏览并选择全部工作区的会话(含归档标记)。
- 跨会话共享:宿主级插件,记忆库数据跨会话共享,不受进程重启影响(存于磁盘)。
- 设置页自由开关:宿主启用后可在 DSH 设置页独立控制启用、注入模式、注入视图、新会话自动注入规约/会话总结、Agent 工具开关、记忆库路径与字符上限。
- 非破坏性轮次排除 / 恢复:可把某轮对话排除出注入(不删除),随时恢复参与。
架构一句话
插件是宿主级(Host)插件:lib/ 按职责分模块(index 装配 / memory 记忆库 / plan 计划 / sessions 会话 / llm 摘要 / tools 工具 / api 接口 / util 工具),只依赖 DSH 核心扩展点(volatile Config + ctx.settings.update / tools.register / agent/pre-step、agent/created / webServer / sessionQuery),记忆库、注入计划、轮次排除、会话总结与图谱数据全部自实现,不依赖任何官方插件包。客户端 lib/client.js 为标准 window.__ModuleLoader__.load({ id, factory }) 浏览器 bundle,经 dsh.client 声明由 DSH 客户端模块系统自动发现;两端通过 /_dsh/memory-manager/api(JSON 信封 {op, sessionId, args})通信,存在 ctx.connection 时同时注册 /api/memory-manager/<op> 标准通道。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
ruvnet/ruflo
Tencent/WeKnora
EverMind-AI/EverOS
MemTensor/MemOS
plastic-labs/honcho
agentscope-ai/ReMe
zilliztech/memsearch
vshulcz/deja-vu