Max-Null/dsh-memory
本插件属于 @max-null/ 插件系列——这一系列共同构成 SSID(思灵 · Seek Soul in Darkness) 桌面体验。SSID 是整合它们的盒:dsh-capture · dsh-chat-rail · dsh-chinese-thinking · dsh-draft-polish · dsh-guardian · dsh-habit · dsh-memory · dsh-node-appearance · dsh-plugin-center · dsh-quick-toolbar · dsh-skill-mcp-center · dsh-ssid-panels · dsh-ssid-zh-ui · dsh-achievements。
catalog descriptioncatalog 简介 / catalog description:Cross-session plaintext memory for DeepSeek Harness: model-written, effective immediately, searchable across the workspace chain, budgeted every-turn recall · 跨会话明文记忆:模型写入即生效、明文可审计、沿工作区链检索、常驻注入带预算
Project Overview项目介绍
This plugin is a native cross-session plaintext memory tool built exclusively for DeepSeek Harness, part of the @max-null/* SSID plugin collection that delivers an integrated desktop experience for DSH. It follows DSH’s everything-is-a-plugin design principle, so it does not modify any core DSH source code. To install it, run npm install @max-null/dsh-memory and add a plugin entry to your local cordis.yml configuration file, after which it will be loaded automatically by DSH’s plugin loader. It provides a full set of memory management services and tools, uses BM25 keyword retrieval by default, and can inject recalled memory content into the LLM’s system prompt context for cross-session access.
The plugin separates memory into two storage layers: global and project. Global memory is stored in the local DSH home directory, while project memory is stored alongside the current working repository, so it can be committed to Git and shared with team collaborators to document shared project knowledge. It follows the design rule of "write now effective, human only intervenes when needed", so memory saved by the model becomes active immediately, and users can always manage memory through the dedicated memory panel added to DSH settings. Users can view, edit, delete, pin, or unpin memory entries, and set validity anchors that automatically mark stale or outdated content when their referenced environment changes.
This plugin is released under the permissive MIT open source license. All of its peer dependencies are core DSH packages provided by the DSH host, so no extra manual installation of dependencies is required for most users. You can customize multiple configuration options including injection character budget, maximum summary length per entry, and optional semantic retrieval fusion, and the plugin automatically migrates older storage file formats to the current standard on first load. Semantic retrieval is an optional add-on that only works if you provide a valid embedding implementation, and falls back to pure BM25 automatically if embedding calls fail.
这是一个专为 DeepSeek Harness 开发的原生跨会话明文记忆插件,属于 Max-Null 开发的 SSID(思灵)桌面体验插件系列。遵循 DSH「一切皆插件」设计原则,它不修改 DSH 源码,通过 DSH Loader 从 cordis.yml 加载,提供完整的记忆读写管理服务与工具,默认采用 BM25 关键词检索机制,支持将召回的记忆注入到系统提示词上下文。
它支持全局和项目两层命名空间存储,全局记忆存在本地 DSH 目录,项目记忆随当前仓库存储,可通过 Git 分享给团队协作者,沉淀项目共识。遵循「写入即生效,人是例外干预者」的设计,模型写入的记忆直接生效,用户可随时在 DSH 设置的记忆面板中查看、编辑、删除或钉住记忆,也能设置有效性锚点自动标记过期内容。
安装可通过 npm 安装 @max-null/dsh-memory,之后在用户的 cordis.yml 中添加插件配置项即可启用。插件采用 MIT 许可开源,依赖 DSH 宿主提供的多个核心包,支持自定义注入预算、摘要长度、可选语义检索融合等配置,自动迁移旧版本存储文件格式。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-memory(Max-Null/dsh-memory)
仓库:https://github.com/Max-Null/dsh-memory
本站详情页:https://www.yhbd.top/plugins/max-null-dsh-memory/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-10-02 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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:Max-Null/dsh-memory
把 Max-Null/dsh-memory 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-memory
本插件属于 @max-null/* 插件系列——这一系列共同构成 SSID(思灵 · Seek Soul in Darkness) 桌面体验。SSID 是整合它们的盒:dsh-capture · dsh-chat-rail · dsh-chinese-thinking · dsh-draft-polish · dsh-guardian · dsh-habit · dsh-memory · dsh-node-appearance · dsh-plugin-center · dsh-quick-toolbar · dsh-skill-mcp-center · dsh-ssid-panels · dsh-ssid-zh-ui · dsh-achievements。
This plugin belongs to the @max-null/* family — a set of plugins that together form the SSID (思灵 · Seek Soul in Darkness) desktop experience.
一个面向 DeepSeek Harness 的跨会话明文记忆插件。遵循「一切皆插件」——它不修改 DSH 源码,声明 name/inject/apply,由 Loader 从 cordis.yml 加载。
设计原则
- 写入即生效,人是例外干预者:模型写入的记忆直接生效(
approved),不再逐条等人放行;人保留随时查看、改写、删除、钉住或回滚的能力——人不在场不等于失控。 - 可观测先于精准:每条记忆是明文,
memory_list随时可见、memory_forget随时删除——不存在"静默暗礁"。 - 明文是人机共享的审计窗口:记忆是可读文本,模型可自检其是否过期(有效性锚点会在所绑环境值变化后标记
stale),人可随时查看与改写。 - 确定性且缓存安全:BM25 关键词检索是存储的纯函数、无 LLM 调用;固定指引进 system-prompt section,
approved + injected记忆进 recall context(global 全量 + 当前会话工作区),逐条为单行摘要并按注入预算截断(超预算按最近更新优先取舍,省略数在面板可见)。
截图
装完后在设置里多出「记忆」一项,可查看与管理跨会话记忆:
入口: 设置 → 记忆
| 设置入口与面板 |
|---|
![]() |
用法
npm install @max-null/dsh-memory
在你的 cordis.yml 加一条(其余 storage / system-prompt / tools 由宿主已有;记忆的存储后端由插件自己注册):
- id: memory
name: '@max-null/dsh-memory'
提供的服务与工具
- 服务
ctx.memory:remember/list/search/forget/update/move/setStatus/setInjected/supersede/retract/sweep/demoteStale/verifyAnchors/reload等 - 工具(12 个):
memory_save、memory_list、memory_search、memory_update、memory_confirm、memory_forget、memory_move、memory_sweep,加提示词模板四件套prompt_search、prompt_get、prompt_list、prompt_add - 注入:
tool:memory指引 section(工具用法 + 常驻注入判据)+memory:self机制自述 +memory:recall召回 context(global 的approved + injected+ 当前会话工作区的approved + injected,带[memory:<id>:<namespace>]来源标记;摘要化 + 预算截断) - 检索:BM25(CJK 单字 + 2-gram,content 与 keywords 字段分离加权;中文多字查询精度显著优于单字切分);可选语义融合(见「可选配置」)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

Awesome-AI-Pedia/Awesome-AI-Pedia
titanwings/dsh-automation
linhut/gongwen-skill
hr98w/dsh-memory
Jungod1121/dsh-anchored-standard