csyangwen/dsh-memory-evolve 预览 preview

csyangwen/dsh-memory-evolve

为 DeepSeek Harness 带来「跨会话长期记忆 + 后台自我进化」能力的纯插件实现:五轨记忆 · git 分支感知 · 回合内自我审查 · 技能自我进化与技能管理器 · 四轨待办 · COI 调度 · 会话广播 · 会话搜索 · 提示词管理器 · 临时信息便签——零核心修改、零运行时依赖,随装随用、卸载即净。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds long-term cross-session memory to DSH's AI agents, plus a suite of productivity tools for developer workflows. To install the plugin, you run the dsh plugin --profile [your-profile] add github:csyangwen/dsh-memory-evolve command, then restart DSH Web for the changes to take effect. The plugin automatically registers itself via the included bundle patch, so you don’t need to manually edit any configuration files after installation, and you can easily disable or uninstall it if needed.

The core long-term memory feature stores user preferences, project facts, progress logs, and to-do items across multiple sessions and projects, so AI can recall context even after you close and reopen DSH or switch projects. It also supports syncing memory across multiple devices via your code repository, so you can access the same memory on your work desktop and home laptop. For power users, the plugin lets you create multiple coordinated AI sub-sessions to split work, and offload heavy tasks to external AI agents asynchronously without blocking your current session.

The plugin is released under the permissive MIT open source license, and most optional features are disabled by default to avoid cluttering AI’s tool list—users can enable them individually in the plugin settings. It automatically checks for new releases tagged in the remote git repository once every 24 hours, and notifies users to update manually via the settings tab. After updating, you must restart the DSH Web process to load the new code, and users should avoid manually registering the plugin twice to prevent startup errors.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是为 DSH 内的 AI 赋予跨会话长期记忆能力,同时集成了待办管理、多 AI 会话协同、外部 AI 代理调度、无限素材画板等多种开发工作流所需的工具。插件支持通过 dsh plugin add 命令一键安装,安装后会自动注册,无需手动修改配置文件,临时禁用或完整卸载也操作简便。

普通用户可以用它实现跨设备记忆同步,让 AI 记住用户偏好、项目约定和工作进展,多项目并行开发时也能清晰整理每个项目的记忆、待办和文档线索。进阶用户可以指挥多个 AI 子会话分工协作,还能把重活异步派发给外部专用 AI 代理,不阻塞当前会话的工作。

本插件采用 MIT 许可开源,大部分功能默认关闭,用户可在插件设置中按需开启,避免占用 AI 工具清单。更新时会自动检测远端发布的版本,由用户手动触发更新,更新后需要重启 DSH Web 服务才能生效,安装时需注意不要重复注册导致启动错误。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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:csyangwen/dsh-memory-evolve

把 csyangwen/dsh-memory-evolve 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-memory-evolve 使用场景指南

一句话:让 DSH 里的 AI 拥有跨会话的长期记忆、帮你管理待办与技能、还能拉起一群 AI 会话和外部 AI 代理协同干活——越用越懂你,换会话不丢上下文。

本指南按真实工作流组织,每个场景讲「适合谁、能做什么、怎么用、会得到什么」。

相关文档:详细功能说明 · 记忆同步 · 更新日志 · English


快速开始(安装)

插件包内自带 cordis.patch.yml(dsh.bundle.patch 声明),dsh plugin add 安装后 host 端自动注册,无需任何手动配置。以 web profile 为例,两步装好:

# 1. 安装到 profile(本地目录用 link:,也可用 git/registry 包地址)
dsh plugin --profile web add github:csyangwen/dsh-memory-evolve

# 2. 重启 dsh web 即生效

⚠️ 不要再往 ~/.dsh/profiles/web/cordis.patch.yml 手动 insert 本插件:bundle patch 已自动注册,重复 insert 同 id 会让加载器报 duplicate loader entry id 无法启动。完整说明见 详细功能说明「标准安装」章节。

修改默认配置(如开启回合内记忆审查):在 profile 的 cordis.patch.yml 用 id 覆盖(顶层写法,非 insert):

- id: dsh-memory-evolve
  config:
    reviewEnabled: true      # 开启回合内记忆审查(默认关)
    reviewInterval: 10       # 每 10 个用户回合审查一次

插件异常导致 DSH 无法启动时,临时禁用(等修复后取消):同样在 profile 的 cordis.patch.yml 加一行即可,无需卸载:

- id: dsh-memory-evolve
  disabled: true

从旧版本升级:若你此前按旧文档手动 insert 过本插件,请删除 profile patch 里的 insert 行(否则与 bundle 自动注册重复)。

卸载:dsh plugin --profile web remove dsh-memory-evolve,一切效果随插件卸载自动清理。


认识它(30 秒)

装上插件后,打开任意会话,你会多出一排能力标签:记忆 · 技能 · 待办 · 无限画板 · COI 调度 · 会话广播 · 提示词 · 记忆同步 · 模型设置 · 书签 · 会话评审 · Web UI 设置 · Memory Evolve 设置。AI 侧则多了一批工具:记忆读写、待办、技能管理、本地文件搜索、会话编排、会话广播、外部 AI 派单、提示词注入、模型查询……

一句话概括这些能力:让 AI 记住你、替你管、替你做、互相配合做。

小提示:插件里很多能力默认关闭(不占 AI 的工具清单),需要时在「Memory Evolve 设置」里打开即可。下面的场景大多是组合玩法——把相关功能都打开,才能串成完整的流水线。


场景一:让 AI 真正记住你(长期记忆)

适合谁:所有人。这是插件的核心,也是其他一切功能的地基。

AI 的对话是「一次性」的:换项目、隔几天、开新会话,它就忘了你是谁。插件的五轨记忆让 AI 拥有跨会话的长期工作记忆:

  • 用户档案:你的偏好、公司、沟通习惯——AI 每回合都能看到;
  • 全局事实:环境、工具、惯例等长期知识;
  • 项目关键记忆:当前项目的约定、决策、架构、踩坑,自动注入上下文,重要结论可标记只在某个 git 分支生效;
  • 项目日志 / 每日日志:每回合自动记录进展,按需读取,历史可追溯。

怎么用:

  1. 正常和 AI 对话即可——每回合结束时它会自动把进展写进项目日志和今日日志;
  2. 发现重要事实时对它说「记一下:这个项目的部署端口是 8080」,它会写入项目关键记忆,你确认后才生效——AI 不会擅自往记忆里写东西;
  3. 过几天、换了个会话,直接问「查一下记忆,上次我们定下的架构决策是什么」——它能无缝衔接;
  4. 记忆多了之后,让 AI「把 XX 那条记忆归档」——归档条目不再注入上下文,随时可转回;
  5. 情绪反馈记录:你对工作结果的评价(如「太好了」「怎么还没改对」)会被 AI 记入当日与项目日志(【反馈】 行,含情绪、任务分类、你的原话)——积累后随时可以让 AI「分析一下最近我对哪些方面不满意」,判断它在哪类任务上做得好/不好。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev minara-skills 下一个 Next tingly-box →