一个原生 DSH 插件,让 DeepSeek Harness 成为有记忆的助手:主动联想召回、三层自动整理、AI 问候、日历提醒与跨工具记忆继承,并配有生产级写入闸门。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-03
许可证
BSD-3-Clause
01它能帮你完成什么?
让 DeepSeek Harness 拥有会自动回忆的记忆——无需调用工具
三层自动记忆(用户规则 → 项目笔记 → 每日日志)注入每一轮对话,并支持按需召回
希望助手跨会话记住偏好、项目规范、截止日期与历史进度的 DeepSeek Harness(dsh web)用户
从其他 AI 工具导入记忆,并获得主动日历提醒
跨工具记忆继承(WorkBuddy / CodeBuddy / Claude Code / Codex)以及由 AI 维护、带截止日期与进度提醒的日历
已经依赖多个 AI 助手、希望以 DSH 为单一记忆中枢并配置定时提醒的用户
02如何接入 DeepSeek Harness?
前置条件
- 安装 DeepSeek Harness 并至少启动一次 `dsh web`(必须存在 `~/.dsh/profiles/web` 配置目录)。
- Node.js with pnpm (or npm) available on PATH.
安装步骤
- 01
cd ~/.dsh/profiles/web
- 02
pnpm add @a9i5k4/dsh-auto-memory # or: npm install @a9i5k4/dsh-auto-memory
- 03
Edit package.json in that directory and append "@a9i5k4/dsh-auto-memory" to the dsh.profile.bundles array
- 04
Restart dsh web — the 「Memory」 entry appears in the sidebar
- 05
Optional semantic engine: pnpm approve-builds && pnpm add @huggingface/transformers, then restart dsh web
验证接入成功
- After restarting dsh web, the 「Memory」 entry appears in the sidebar.
03DSH 适配与能力边界
Native DSH bundle plugin — installed into the `~/.dsh/profiles/web` profile directory and registered in the `dsh.profile.bundles` array; runs inside the DeepSeek Harness web runtime (dsh web).
三层自动记忆引擎
Every conversation turn (host-side context observer)→User rules, project notes, daily logs and reflections written under `~/.dsh/memory`, injected into later turns
Writes memory files under `~/.dsh/memory` on every turn via the auto-consolidation subagentReads/writes the dsh profile directory and the dsh.profile.bundles config外部记忆继承
Sessions / memories from WorkBuddy / CodeBuddy / Claude Code / Codex→Scanned, importable, per-source-managed external memory pointers
Reads other AI tools’ memory locations on your machine (path pointers only, never copied content)记忆写入闸门
Any memory write (append ≤ 8,000 chars / rewrite ≤ 200,000 chars)→Sanitized, deduped memory writes; dirty-token scan reports
主动日历提醒
Conversation text (deadlines, promises)→Calendar entries via `calendar_add`, injected into later sessions until completed
04适合谁?何时不该用?
适合
- 希望助手跨会话记住偏好、项目规范、截止日期与历史进度的 DeepSeek Harness(dsh web)用户
- 已经依赖多个 AI 助手、希望以 DSH 为单一记忆中枢并配置定时提醒的用户
不适合
- Memory files are plain-text Markdown; no secrets are stored unless explicitly requested by the user.
05兼容性、维护与安全提示
- Plugin-set changes require a dsh restart — any change to the installed plugin bundle only takes effect after restarting dsh web.
- Memory files are plain-text Markdown; no secrets are stored unless explicitly requested by the user.
- `memory_recall` session search depends on the deployed session-query index; without it, only local search works.
BSD-3-Clause · npm package @a9i5k4/dsh-auto-memory (v0.1.30); no GitHub release tag published
06常见问题
如何把 dsh-auto-memory 安装到 DeepSeek Harness?
先安装 DeepSeek Harness 并启动一次 `dsh web`,然后 `cd ~/.dsh/profiles/web`,执行 `pnpm add @a9i5k4/dsh-auto-memory`,在 package.json 的 `dsh.profile.bundles` 数组里追加 `@a9i5k4/dsh-auto-memory`,重启 dsh web。激活后侧边栏会出现「Memory」入口。
模型必须主动调用记忆工具才能回忆吗?
不需要。宿主侧中间件持续观察对话上下文,在下一轮固定边界自动召回相关记忆(对前缀缓存友好),模型无需「记得去查」。
它能用我其他 AI 助手的记忆吗?
可以。外部记忆继承会扫描 WorkBuddy / CodeBuddy / Claude Code / Codex,按来源以路径指针方式导入(绝不复制内容),并可对每个来源单独管理或移除。
安装前有哪些前置条件和注意点?
需要已安装 DeepSeek Harness 并至少启动过一次 `dsh web`(必须存在 `~/.dsh/profiles/web` 目录),以及带有 pnpm/npm 的 Node。记忆文件是纯文本 Markdown,除非你要求否则不存储任何密钥;插件改动只有在重启 dsh 后才生效。
如何启用语义(稠密)检索引擎?
内置 JS 层(约 130MB)会自动安装;若 pnpm 拦截了原生构建脚本,你可能需要先 `pnpm approve-builds` 再 `pnpm add @huggingface/transformers`,然后重启 dsh web。词法 BM25(0GB)始终作为回退可用。
07相关的 DSH 工作流
weknora
作者 tencent
开源的 LLM 知识库平台:把原始文档转化为可检索的 RAG 知识库、自主推理智能体和自动维护的 Wiki 系统,支持多租户部署。
honcho
作者 plastic-labs
用于构建有状态 AI 智能体的记忆库,支持跨会话连续学习与上下文工程。
webnovel-writer
作者 lingfengqaq
基于 Claude Code 的长篇网文辅助创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200 万字量级 连载创作。
mirage
作者 strukto-ai
全球首个面向 AI 智能体的统一虚拟文件系统。
08数据与来源
A **proactive associative-memory plugin** for the DeepSeek Harness Web GUI
Run in the **profile directory** (`~/.dsh/profiles/web`):
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-03。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
