DSH Plugin MarketA community catalog for DeepSeek Harness plugins

mindsea

Verified Memory & context ★ 24 0.3.1

识海 MindSea —— 给 DeepSeek Harness 加一套会自己长的记忆:每轮聊完自动沉淀,话 / 事 / 版本 / 阶段 / 决定 五层结构,带一块能翻能筛的面板

What it is

识海 MindSea —— 给 DeepSeek Harness 加一套会自己长的记忆:每轮聊完自动沉淀,话 / 事 / 版本 / 阶段 / 决定 五层结构,带一块能翻能筛的面板

How to install

Run this in the DSH web profile, then refresh the page.

$ dsh plugin --profile web add 'git+https://github.com/SQHLnb666/mindsea.git#169a30394c52bf379979db111c255e45f9643cc3'

DSH versions accepted

Undeclared

Author and traction

SQHLnb666 · ★ 24 · Updated 2026-10-24

About this plugin

识海 · MindSea

给 [DeepSeek Harness](https://github.com/deepseek-ai) 的一个记忆插件。

它做的事很简单:你们聊完一轮,它把这一轮的话判一遍、存进本地 SQLite,下次要用的时候能翻出来。

不是让模型「记住」——上下文的记忆会过期,这个不会。

数据全在本机一个 .db 文件里,不联网、不上传。

---

它跟别的记忆插件有什么不一样

大多数记忆插件存的是「知识卡」:一段话压缩成一张卡,卡上写标题、摘要。

识海存的是原话,然后在原话上面叠三层结构:

话(memories)—— 一句一句,原文不动
 └ 事(events)—— 这件事叫什么,比如「记忆系统重做」
    └ 版本(versions)—— 这套方案的一版,比如「卡片墙」
       └ 阶段(stages)—— 走到哪一步,比如「试跑」
决定(decisions)—— 某个节点上定下来的口径,单独记

好处是:话永远不会被改写,怎么归类都可以后来再改;坏处是库会长得比较快。

每条话还会带:分数(0~100 有多重要)、七情(喜/怒/哀/惧/爱/恶/欲)、门类(闲聊/暧昧/干活/知识/规矩)、去处(进事 / 闲聊池 / 废料池)。

---

安装

1. 建库

node scripts/init-db.mjs

默认在插件目录的上一层建 sea2.db;也可以指定路径:

node scripts/init-db.mjs D:/memory/sea2.db

2. 装进 DSH profile

把这个目录 link 进你的 profile(以 ~/.dsh/profiles/desktop 为例):

cd ~/.dsh/profiles/desktop
npm install <这个仓库的路径或压缩包>

或者手动在 node_modules 下做个软链:

node_modules/dsh-mindsea -> <这个仓库的目录>

然后编辑 ~/.dsh/profiles/desktop/package.json,把 dsh-mindsea 加进 dsh.profile.bundles 数组。

3. 重启 DSH

重启后侧边栏会多一个「识海」入口。第一次聊完一轮,sea2.db 里就会有数据了。

> 库换个位置:设环境变量 DSH_MINDSEA_DB=<路径>,或者在 cordis.patch.yml 里给这行加 config: { dbPath: '...' }。

---

三个工具

模型自己能调用,你也可以在对话里让它用:

| 工具 | 干什么 |

|---|---|

| memory_search(q, day, emo) | 撞词 / 撞日期 / 撞七情 → 命中的事,按命中条数排 |

| memory_event(name) | 给一个事名,摊开它的版本、阶段、最近的决定 |

| memory_write(items) | 把一批判好的话写进库(事 / 版本 / 阶段同名自动复用) |

三根轴可以任意组合,多个条件是「并且」:

memory_search(q: "桌宠", day: "2026-10")
memory_search(emo: "爱", limit: 20)

---

自动沉淀是怎么跑的

挂的是 agent/turn-stopping:

1. 一轮结束,抓这一轮新增的 user / assistant 消息;

2. 剥掉运行时注入(环境快照、system-reminder、技能目录那些不是人说的话);

Compare in this category

The five most-starred plugins in the same category.

PluginAuthor StarsVersionUpdated
EverOS EverMind-AI 13.9K 0.0.0 2026-11-10
billion-context ranxianglei 5.9K 0.1.213 2026-11-10
dsh-context bowenliang123 4.8K 0.83.1 2026-11-10
memsearch zilliztech 2.9K 0.0.0 2026-11-10
dsh-mnemon omdsh-dev 957 0.5.43 2026-11-08