DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Memory Eternal — DSH Plugin for DeepSeek Harness
← Plugins

dsh-memory-eternal

Memory Eternal

Memory Eternal: a custom-built DeepSeek Harness memory plugin that does not port any existing memory framework. After each conversation, it automatically distills knowledge cards into a local Markdown Vault (with custom deduplication, custom CJK retrieval, and git management support). The settings p

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:EternalNight996/dsh-memory-eternal#6223cc5f220dd811ec6e6200343f44fabe707a74
READMECompatibilityVersions

Description

Memory Eternal: a custom-built DeepSeek Harness memory plugin that does not port any existing memory framework. After each conversation, it automatically distills knowledge cards into a local Markdown Vault (with custom deduplication, custom CJK retrieval, and git management support). The settings page provides a graphical knowledge base (statistics / search / knowledge graph + one-click pop-up from the sidebar). The Agent recalls historical context on demand through the memory_recall tool. Zero manual intervention.

Compatibility and provenance

Memory Eternal is published as dsh-memory-eternal and currently resolves to version 0.7.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/20/2026

Versions

0.7.0stable
8/30/2026
0.6.1stable
8/29/2026
0.6.0stable
8/29/2026
Show 81 more versionsCollapse versions
0.7.0-rc.19prerelease
8/30/2026
0.7.0-rc.18prerelease
8/30/2026
0.7.0-rc.17prerelease
8/30/2026
0.7.0-rc.16prerelease
8/30/2026
0.7.0-rc.15prerelease
8/30/2026
0.7.0-rc.14prerelease
8/30/2026
0.7.0-rc.13prerelease
8/30/2026
0.7.0-rc.12prerelease
8/30/2026
0.7.0-rc.11prerelease
8/30/2026
0.7.0-rc.10prerelease
8/30/2026
0.7.0-rc.9prerelease
8/30/2026
0.7.0-rc.8prerelease
8/30/2026
0.7.0-rc.7prerelease
8/30/2026
0.7.0-rc.6prerelease
8/30/2026
0.7.0-rc.4prerelease
8/29/2026
0.7.0-rc.5prerelease
8/29/2026
0.7.0-rc.3prerelease
8/29/2026
0.7.0-rc.2prerelease
8/29/2026
0.7.0-rc.1prerelease
8/29/2026
0.6.3-rc.11prerelease
8/29/2026
0.6.3-rc.10prerelease
8/29/2026
0.6.3-rc.9prerelease
8/29/2026
0.6.3-rc.8prerelease
8/29/2026
0.6.3-rc.7prerelease
8/29/2026
0.6.3-rc.6prerelease
8/29/2026
0.6.3-rc.5prerelease
8/29/2026
0.6.3-rc.4prerelease
8/29/2026
0.6.3-rc.3prerelease
8/29/2026
0.6.3-rc.2prerelease
8/29/2026
0.6.3-rc.1prerelease
8/29/2026
0.6.2-rc.1prerelease
8/29/2026
0.6.2-beta.1beta
8/29/2026
0.5.7stable
8/29/2026
0.5.6stable
8/29/2026
0.5.5stable
8/29/2026
0.5.4stable
8/28/2026
0.5.3stable
8/28/2026
0.5.2stable
8/28/2026
0.5.1stable
8/28/2026
0.5.0stable
8/28/2026
0.4.28stable
8/27/2026
0.4.27stable
8/27/2026
0.4.26stable
8/27/2026
0.4.25stable
8/27/2026
0.4.24stable
8/27/2026
0.4.23stable
8/27/2026
0.4.22stable
8/27/2026
0.4.21stable
8/27/2026
0.4.20stable
8/27/2026
0.4.19stable
8/27/2026
0.4.18stable
8/27/2026
0.4.17stable
8/27/2026
0.4.16stable
8/26/2026
0.4.15stable
8/26/2026
0.4.14stable
8/26/2026
0.4.13stable
8/26/2026
0.4.12stable
8/26/2026
0.4.11stable
8/26/2026
0.4.10stable
8/26/2026
0.4.9stable
8/26/2026
0.4.8stable
8/26/2026
0.4.7stable
8/26/2026
0.4.6stable
8/26/2026
0.4.5stable
8/26/2026
0.4.4stable
8/26/2026
0.4.3stable
8/26/2026
0.4.2stable
8/24/2026
0.4.1stable
8/24/2026
0.4.0stable
8/24/2026
0.3.0stable
8/24/2026
0.2.9stable
8/23/2026
0.2.8stable
8/22/2026
0.2.7stable
8/22/2026
0.2.6stable
8/22/2026
0.2.5stable
8/22/2026
0.2.4stable
8/22/2026
0.2.3stable
8/22/2026
0.2.2stable
8/22/2026
0.2.1stable
8/22/2026
0.2.0stable
8/22/2026
0.1.0stable
8/21/2026

Related plugins

Loading related plugins…

Latest
0.7.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 13
Weekly downloads
737
Last push
8/31/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Mnemondsh-mnemonComposable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)

README

🧠 dsh-memory-eternal — 给 AI 装「第二大脑」

DSH Market 收录

对话结束自动沉淀,跨会话不失忆;召回只取相关小块,省 token 少噪音。 全自研、零第三方记忆框架、不改 DSH 源码、一个记忆库所有 Agent 共享,纯 Markdown 可 git 管理。

⭐ 觉得好用就点个 Star!
DSH 一条命令:dsh plugin --profile web add dsh-memory-eternal

对话自动沉淀 + 图形化知识库 + 知识图谱(演示)


🚀 五分钟上手

🟦 DeepSeek Harness(DSH)—— 重点

装(dsh-desktop 用 DSH CLI,一条命令):

# dsh-desktop 用户(推荐):DSH CLI 直接装进 profile
dsh plugin --profile web add dsh-memory-eternal

# 或直接在 profile(pnpm workspace)里更新。注意用 pnpm,npm install 会报 EUNSUPPORTEDPROTOCOL
cd ~/.dsh/profiles/web && pnpm add dsh-memory-eternal@latest

重启 dsh web 后,三样东西立即生效:

效果在哪看
自动沉淀知识卡每轮对话结束自动发生,无需操作
memory_recall 工具Agent 需要历史时自动调用
图形化界面侧边栏底部「记忆」按钮 / 设置 → 记忆

入口:侧边栏底部「记忆」按钮 → 记忆库(左栏含 知识卡 / 知识图谱 / 用量 / 审核中心 / 回收中心 / 记忆配置);「DSH 设置 → 记忆」= 纯配置页。

改配置:记忆库左栏「记忆配置」(或 DSH 设置 → 记忆)→ DSH 记忆配置 / 成本控制 / 自动审核配置 / 服务自管理,点「保存配置」即写入。autoWebMode/watchdogAutoSpawn 的改动需重启 DSH 生效。

🟨 Claude Code

npm i -g dsh-memory-eternal     # 装 CLI + MCP(写 ~/.claude.json mcpServers.memory)
dsh-memory connect claude       # 写 ~/.claude/settings.json 的 SessionEnd hook → 会话结束自动沉淀

装完即用:会话里说「recall 一下数据库选型」→ 自动检索记忆;会话结束 → 自动沉淀进统一 ~/.dsh/memory-vault(新卡 pending 待审核)。

🟧 Codex CLI / Cursor

npm i -g dsh-memory-eternal     # 装完自动写 Codex config.toml / Cursor mcp.json 的 mcpServers.memory
dsh-memory connect codex        # 写用户级 ~/.codex/hooks.json 的 Stop hook → 会话结束自动沉淀(含 Codex Desktop)
dsh-memory connect cursor       # 写 ~/.cursor/hooks.json 的 stop/sessionEnd hook → 自动沉淀

重启工具 → MCP 已在列表,会话里直接:用 memory_recall 查一下项目历史决策;会话结束自动沉淀进统一 ~/.dsh/memory-vault(新卡 pending 待审核)。

三种 agent 同一套库:全部写入 ~/.dsh/memory-vault,每卡 submittedBy 区分作者(DeepSeek Harness / claude-code / codex / cursor),主库只显已审核、审核中心管新卡。

原生插件(可选,平台 Marketplace):仓库含 .claude-plugin / .codex-plugin / .cursor-plugin 清单,可 claude /plugin marketplace add EternalNight996/dsh-memory-eternal + /plugin install、codex plugin marketplace add EternalNight996/dsh-memory-eternal + codex plugin add、Cursor Settings→Plugins。connect 走用户级 hooks.json(更稳,不依赖 Marketplace 审核;Codex Desktop 也走这条)。

只保留本插件(卸载其它记忆插件,如 agentmemory):dsh-memory 只写自己的键(mcpServers.memory / 含 capture.mjs 的 hooks),不依赖、也不冲突任何其它记忆插件。卸载其它插件需在其自身配置层删除对应条目(如 Codex 的 [marketplaces.*] 与 hooks.state.*、其 hooks.json 事件、~/.agentmemory 数据目录)。

🟩 浏览器(不依赖任何 Agent)

dsh-memory open    # 起 web + 开浏览器(默认 http://127.0.0.1:7999)

统计 / 搜索 / 知识卡(增删改合并导入导出)/ 知识图谱,全在此。与 DSH 内嵌页同一份 UI,数据同步。

zcode(智谱):暂无原生 MCP,经社区 zcode-open-bridge 转 MCP 或用 CLI。


📖 命令速查

dsh-memory recall "数据库选型"       # 检索
dsh-memory capture "重要结论..."     # 手动沉淀(- 读 stdin)
dsh-memory sweep ~/.claude/projects  # 挖掘已有会话记录
dsh-memory setup [--dry-run]         # 重跑/预览自动挂载(幂等)
dsh-memory connect <claude|codex|cursor>  # 写会话结束自动沉淀 hook(用户级 hooks.json,含 Codex Desktop)
dsh-memory mcp                       # MCP stdio(挂任意 MCP 客户端)
dsh-memory serve [--port 7999]       # 前台跑 web
dsh-memory open                      # ensure web 存活 + 开浏览器
dsh-memory watchdog [--port 7799]    # 看门狗保活 web(独立进程)

单独装(不发 DSH)时 dsh-memory 命令来自 npm i -g。


⚙️ 服务自管理(白话)

三个概念,别搞混:

  • web server 怎么保活(autoWebMode)→ init=DSH 启动时拉一次(默认);interval=DSH 进程内定时探活自动拉起(0 额外内存);manual=全手动只从 dsh-memory open 起。
  • 看门狗进程(watchdogAutoSpawn,默认开)→ 一个独立 node 进程,DSH 退出了它也能拉起 web(约 +47 MB 内存)。只在要 7×24 保活时开。
  • 自动挂载 MCP(autoMcpSetup,默认关)→ 是否自动把 MCP 写进 Claude Code/Codex/Cursor 配置。关 = 不碰你本机配置文件,需要时手动 dsh-memory setup。

改这些:记忆库左栏「记忆配置」(或 DSH 设置 → 记忆)→ 表格里改,点「保存配置」;autoWebMode/watchdogAutoSpawn 需重启 DSH 生效。

MCP 是协议不是常驻服务:agent 开会话才 spawn,用完即退,没有「开机自启」一说。

三种部署强度

场景配置内存
个人开发(默认)autoWebMode=init + watchdogAutoSpawn=offweb 47 MB
常驻 7×24watchdogAutoSpawn=onweb + watchdog 47+47 MB
真正开机自启(无 DSH)Windows 计划任务跑 dsh-memory watchdog --port 7799 --interval 5000 --max-restart 10同上

⚙️ 记忆配置(大白话)

所有配置都在 记忆库左栏「记忆配置」(或 DSH 设置 → 记忆)里改,点「保存配置」生效。下图就是配置页全貌(含插件信息 / Agent MCP 挂载状态 / 自动审核配置):

记忆配置页

一、最常用

配置项默认大白话说明
自动沉淀开每轮聊完自动把有用的内容存成知识卡
自动召回开AI 需要历史时自动帮你查记忆
记忆库目录~/.dsh/memory-vault记忆存哪,纯 Markdown 可 git 管理

二、省钱包(重要)

配置项默认大白话说明
蒸馏知识卡开把对话压缩成精炼知识卡(要调 AI,花钱)。关掉 = 存原文,一分钱不花
语义去重喂 AI开判断新内容是不是重复(要调 AI)。关掉 = 用简单去重,省一次 AI 调用
蒸馏输出上限900压缩一次最多写多少字,越大越准越费钱
召回相关性阈值2检索要「多像」才返回,越大越准但漏得越多(越省)
捕获最小长度200对话太短不存,避免闲聊浪费
日配额60一天最多存几张,防 AI 烧钱

三、服务怎么跑

配置项默认大白话说明
保活模式 autoWebModeinitinit=DSH 启动时开一次 web;interval=定时检查挂了自动重启;manual=全靠手动
看门狗 watchdogAutoSpawn开后台一个独立进程保证 web 不死(+47 MB 内存)。个人用可关
自动挂载 MCP autoMcpSetup关让 Claude Code / Codex / Cursor 也能用你的记忆库。开=自动配好它们;关=不碰你电脑配置,手动跑 dsh-memory setup

💰 想省钱:把「蒸馏知识卡」关掉、调低「蒸馏输出上限」、调高「召回相关性阈值」。

🎯 一键推荐配置(按场景点一下)

配置页顶部有 🟢 A 轻量省心 / 💰 B 极致省钱 / ⭐ C 高质量 三个按钮,点一下自动填好对应值,再点保存即可:

方案场景保活看门狗蒸馏蒸馏上限召回阈值内存LLM 成本
🟢 A 轻量省心个人开发(默认)init关开9002~47 MB正常
💰 B 极致省钱预算敏感/多 Agentinit关关5003~47 MB近 0
⭐ C 高质量长项目/团队interval开开12001~94 MB高

🛡️ 审核中心 & 回收中心

新卡默认进审核中心(pending),由你确认后才入主库;驳回的进「已驳回」,可恢复或删除进回收站。命中免审条件(审核模式=全部免审 / 免审智能体 / 免审类型)的新卡直接入库;回收站软删卡 30 天内可恢复,超期自动永久删除。

审核中心

  • 待审核 / 已驳回 双页签,按类型 / 日期 / 智能体筛选,全选后一键「批准 / 驳回 / 删除进回收站」。
  • 审核规则在「记忆配置 → 自动审核配置」:审核模式(全部要审 / 全部免审)+ 免审智能体 + 免审类型 + 回收保留天数。

🥇 为什么审核系统更靠谱(对比其它记忆产品)

多数记忆产品(mem0 / Zep / agentmemory…)对话一结束就自动全量入库,好坏不论——噪音、错误事实、敏感内容一起进库,之后又被召回,污染上下文、放大幻觉。

dsh-memory-eternal 走人机协同审核,只让可信内容进主库:

维度其它记忆产品dsh-memory-eternal 审核系统
入库自动全量,无把关新卡先进审核中心(pending),人工批准才入主库
质量未过滤噪音/错误只保留你确认过的卡 → 召回更准、噪声更低
可信无来源/审核追溯每卡带 submittedBy 作者 + pending/approved/rejected 审核状态
免打扰—免审智能体 / 免审类型命中 → 可信卡直接入库,零等待
容错删了就没回收站软删,30 天内可恢复

🧬 为什么全自研

市面上记忆方案多,但大多依赖第三方框架 / 动不动起 MCP 服务 / 记忆锁私有库。本插件把骨架自己搭,零第三方运行时依赖,逻辑逐行可读:

模块自研实现替代什么
去重词法 Jaccard bigram(0.62)+ 语义去重防重复卡
检索CJK 感知:中文整词 + 字符 bigram无需全文搜索引擎
图谱力导向 + [[wikilink]]/共享标签连边知识关联一眼看清
存储带 frontmatter 的普通 .md不锁库、可读、可 git、可被任意工具读

与热门项目同向(总结→存储→按需召回),但定位不同:本地、自研、零依赖、可读可控。如果你已在用 mem0/Zep 等,也能把它当「本地持久记忆底座」叠加使用。


🛠 开发 / 测试

npm i
npm test        # 单元测试:vault 去重/检索/图谱 + capture 管线 + API 形状
npm run build   # 构建 lib/client.js(DSH 内嵌)+ web/app.js(独立 web bundle)

📄 License

MIT


让 AI 真正记住你:对话自动沉淀,知识随手可查。 ⭐ 觉得有用就点个 Star,Let's make AI not forget.

English README: README.en.md