lovezi0/dsh-memory-palace
将WorkBuddy的文件式记忆系统移植进[DeepSeek Harness](https://www.deepseek.com/harness/)——为Harness提供**跨会话持久化、人类可直接编辑的Markdown记忆**。
Project Overview项目介绍
This is a native DeepSeek Harness plugin that ports the file-based memory system from WorkBuddy to DSH, adding cross-session persistent memory stored as plain Markdown that is directly editable by humans. It separates memory into two tiers: user-level memory for cross-project personal preferences, and workspace-level memory for project-specific conventions. Expired daily logs are automatically consolidated into long-term memory, and the plugin can read and write directly to existing WorkBuddy or CodeBuddy memory directories to avoid duplicate maintenance.
AI can call built-in tools to write memory with automatic deduplication, read aggregated memory, or delete memory by content, with all deletion actions requiring manual user confirmation before they execute. Users can also manually distill current conversation or project memory into long-term memory with one click from the session title bar. All configuration can be adjusted graphically in the DSH settings panel, and you can add custom instructions that get injected into the system prompt for AI. The recommended hybrid mode lets sub-agents automatically organize logs and deduplicate content, while the main AI maintains long-term memory, balancing automation and user control.
To install this plugin, you first need to have DeepSeek Harness and its CLI tool installed and available on your system path. It supports three common installation methods: installing directly from the GitHub repository, installing from the public npm registry, or installing from a local cloned copy of the source code. All memory content is stored as plain Markdown files, so you can edit your memory at any time with any standard text editor. The plugin is released under the open source MIT license, so it is free to use and modify.
dsh-memory-palace 是专为 DeepSeek Harness 开发的原生插件,将 WorkBuddy 的文件式记忆系统移植到 DSH 中,为其提供跨会话持久化、人类可直接编辑的 Markdown 记忆。它支持用户级跨项目偏好记忆与工作区级项目约定记忆双层存储,可自动将超期的每日日志沉淀进长期记忆,还能兼容已有 WorkBuddy、CodeBuddy 记忆目录。
这款插件支持 AI 主动写入、聚合读取、按内容删除记忆,自带去重功能,用户也可以通过会话标题栏的一键按钮手动将当前对话或项目记忆提炼成长期记忆。所有配置都可以在 DSH 的设置面板中通过图形界面调整,还支持添加自定义指令,通过系统提示词注入给 AI。推荐开启混合模式,兼顾自动化整理日志和用户对长期记忆的主动控制。
安装该插件需要先准备好 DeepSeek Harness 及对应 CLI 工具,支持通过 GitHub、npm 或者本地源码三种方式安装。所有记忆都以纯 Markdown 格式存储,用户随时可以用任意编辑器手动修改。插件采用 MIT 许可开源免费,记忆按用户级和项目级目录存储,结构清晰易维护。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-memory-palace(lovezi0/dsh-memory-palace)
仓库:https://github.com/lovezi0/dsh-memory-palace
本站详情页:https://www.yhbd.top/plugins/lovezi0-dsh-memory-palace/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 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 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
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 dsh-memory-palace
把 lovezi0/dsh-memory-palace 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-memory-palace 
把 WorkBuddy 的文件式记忆系统移植进 DeepSeek Harness —— 为 Harness 提供跨会话持久化、人类可直接编辑的 Markdown 记忆。
特性
- 人类可读的真源:记忆以纯 Markdown 存储,任何编辑器都能直接修改,数据始终属于你。
- 双层记忆:用户级(跨项目个人偏好)+ 工作区级(项目约定),互不干扰。
- WorkBuddy / CodeBuddy 桥接:项目已有对应记忆目录时直接读写,无需重复维护。
- 记忆工具:AI 可主动写入、聚合读取、按内容删除(删除需人工确认),写入自带去重。
- 手动蒸馏:会话标题栏一键把项目记忆提炼成精简的长期记忆(v1.8.1 起只保留「蒸馏项目记忆」)。
- 设置页集成:全部配置均可在 DSH 设置面板中图形化调整(按板块折叠),无需改配置文件。
- 自定义指令:不适合写进记忆的特殊指令可在设置页配置,插件经系统提示词注入。
- 记忆注入:长期记忆与今日日志以「会话起始快照」常驻上下文、按文件身份各只注入一次 —— 既保证每个步骤都可见,又不破坏前缀缓存、不堆积冗余快照。
- 记忆写入(v1.8.0 起唯一模式):记忆子代理每轮自动整理今日日志并去重(章节化、标删),长期记忆
MEMORY.md由主 AI 主动维护,兼顾自动化与可控性。- v1.8.0 破坏性变更:原「主动记忆(插件模式)」与「智能模式」已整体移除。二者的能力已被覆盖——主动落档由分工指令引导主 AI 承担,逐轮摘要由记忆子代理写进日志承担。
- 标准插件包:经官方插件机制一键安装,无需改动 harness。
记忆文件布局
~/.deepseek-harness/
└── MEMORY.md # 用户级记忆(跨项目个人偏好)
<项目根>/
├── .workbuddy/memory/ # 桥接 WorkBuddy 记忆(存在时优先写入)
│ ├── MEMORY.md # 项目级约定(buddy 目录保持嵌套,兼容 WB/CB 原生格式)
│ └── 2026-08-16.md # 每日工作日志
├── .codebuddy/memory/ # 桥接 CodeBuddy 记忆(存在时,结构同 .workbuddy)
└── .deepseek-harness/ # dsh 原生目录(读取恒在首位;无 buddy 时作为写入目标创建)
├── MEMORY.md # 项目级约定(长期记忆,与 memory/ 同级)
└── memory/
└── 2026-08-16.md # 每日工作日志
工作原理
读取(每轮对话)——两条通道并行:
① 系统提示词(恒定):记忆分工指令 / 自定义指令等固定内容,前缀缓存友好
② 对话历史投影(易变):用户级 + 项目级长期记忆、今日日志——按文件身份各注入一次,压缩后自动重注最新版
投影逐文件独立截断:用户级
MEMORY.md受「用户级预算」约束,项目级MEMORY.md与今日日志各受「工作区预算」约束、互不挤占 —— 预算说的是每个文件的上限,不是所有文件合计的总量。被截掉的部分不丢,随时可用memory_read读取。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
EverMind-AI/EverOS
MemTensor/MemOS
plastic-labs/honcho