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.

Plugin Memory — DSH Plugin for DeepSeek Harness
← Plugins

@zzerx/dsh-plugin-memory

Plugin Memory

dsh Memory and Evolution plugin: remembers your preferences and project habits across sessions (global/project scopes), with automatic injection, automatic organization, and visual management in the top-level “Memory” section of the settings panel.

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

npx -y @deepseek-ai/dsh plugin --profile web add @zzerx/dsh-plugin-memory@0.4.3
READMECompatibilityVersions

Compatibility and provenance

Plugin Memory is published as @zzerx/dsh-plugin-memory and currently resolves to version 0.4.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/16/2026

Versions

0.4.3stable
10/8/2026
0.4.2stable
9/29/2026
0.4.1stable
9/28/2026
Show 7 more versionsCollapse versions
0.4.0stable
9/23/2026
0.3.3stable
9/22/2026
0.3.2stable
9/22/2026
0.3.1stable
9/21/2026
0.2.1stable
9/19/2026
0.1.1stable
9/15/2026
0.1.0stable
9/15/2026

Related plugins

Loading related plugins…

Latest
0.4.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
1.4 MB
Files
40
Surface
web
License
MIT
Source
npm
GitHub
★ 8
Weekly downloads
574
Security scan
✓ v0.4.3 scan passed
Last push
10/16/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.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessAb Memorydsh-ab-memory--- description: "The dsh-ab-memory package: a cross-session, file-backed agent memory with five tools (remember / recall / forget / load_skill / distill) and an always-on light injection." kind: "package-reference" ---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.

README

@zzerx/dsh-plugin-memory

dsh 的记忆插件:跨会话记住你的偏好、身份与项目决策,对话越多它越懂你。记忆只存在本地。入口是设置面板里的一级「记忆」分区。

记忆面板

安装

dsh plugin --profile <你的 profile 名> add @zzerx/dsh-plugin-memory

能做什么

能力说明
自动形成记忆开关打开后,每轮对话结束时用模型提炼值得长期记住的内容(偏好、身份、项目决策、经验),自动入库;用的模型可在面板里指定(缺省跟随会话自己的模型)。
后台模型可选面板「高级 · 后台模型与自动提炼」里从 dsh 已配置的模型里挑一个,专跑记忆的两条后台流程(对话提炼、写入判定)—— 例如用便宜快的小模型提炼、用强模型判定。留空 = 跟随会话默认。
全局 / 项目双作用域普适的东西(语气、格式、身份、职业)进全局;只对某个工作区成立的进项目(以工作区目录为键)。
开场自动注入新会话开局把「全局 + 当前工作区」的高重要性记忆注入,不必每次重新提醒。
管理记忆查看、编辑、置顶、归档、删除、移动作用域;每条可开详情(分类 / 重要性 / 来源 / 时间 / 标签 / 来源会话)。
导入其他 AI 的记忆内置一段提示词,复制到别的 AI 里整理出个人画像,把结果粘回来即可按分类拆条入库。
原文留档原始文本先落盘再抽条目:模型抽不出来、调用失败都不丢原文,之后可以对同一份原文重抽。
整理(进化)同作用域 + 同分类 + 同标题的重复条目合并,保留信息最完整的一条。
实体与关联写记忆时声明实体(项目 / 工具 / 人 / 概念),共享同一实体的记忆自动连成「相关」;关系本身有信息量时可显式连边。
记忆图谱一张可拖动、可缩放的关系图:节点是记忆与实体,连线是它们之间真实存在的关系。可在全局 / 项目之间切换、悬停看细节、点节点开详情。
别名同一条记忆的别的说法写进 aliases,之后用别名当标题写入会自动并进那一条,不长出重复条目。
不丢也不重写入时先看附近有没有同一条:像到一定程度直接并入,疑似重复会给你提醒,必要时让模型判一次「新增 / 并入 / 跳过」;判定失败一律退化成新建。
9 个模型工具让 agent 自己存取记忆与连线(见下)。

agent 工具

工具用途
memory_save / memory_search / memory_list保存(可带 summary / aliases / entities)、搜索、列举
memory_update / memory_archive / memory_delete / memory_move修改、归档(可恢复)、删除、改作用域
memory_entity落实体(项目 / 工具 / 人 / 组织 / 概念)、按关键字列出、删实体(连同它的边)
memory_link连一条有语义的边、断边、看某条记忆的全部关联

作用域由模型判定,判错了可以在面板里改,也可以让模型用 memory_move 改。

设置与数据

  • 开关在 dsh 设置 → 记忆 里,改完即时生效。
  • 「后台模型」列的是 dsh 当前已配置且可路由的模型(按 provider 分组);配的模型之后被删掉也不会锁死设置页 —— 调用失败照旧 fail-safe(提炼记一条失败审计、判定退化成新建)。
  • 记忆条目、原文留档、后台调用记录、实体与边都只存在本地;归档是软隐藏(不进注入与列表,可恢复),删除才是真删。
  • 面板「沉淀」里可以看原文留档与每次后台模型调用(用途 / 模型 / 耗时 / 抽出的条目数 / 失败原因)。

已知边界

  • 不替代会话日志:只存「值得跨会话记住」的精炼知识。
  • 不做向量检索:检索仍是子串匹配(标题 / 正文 / 摘要 / 别名 / 标签),语义去重靠相似度阈值加一次模型判定,不是向量召回。
  • 自动提炼是一次额外模型调用:拿不到模型路由、流失败、JSON 非法都只降级为「这次没记」,绝不影响对话;面板指定的后台模型不可用时同样如此。
  • 项目维度的键是工作区目录路径:改目录名等于换项目。
  • 图谱要能画 canvas:运行环境拿不到 2D 画布时,图谱弹窗只给一句说明,其余功能不受影响。
  • 与其他记忆插件互斥:撞名(例如 dsh-mneme)时本插件硬锁:不注册工具、不注入、不自动提炼,并在面板顶部提示;停用另一个并重启即自动解锁。

开发

pnpm --filter @zzerx/dsh-plugin-memory build      # lib/index.js + lib/client.js + lib/types
pnpm --filter @zzerx/dsh-plugin-memory typecheck

License

MIT