DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Memory Migration — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
M

@tieveto666-code/dsh-memory-migration

Memory Migration

适用于原版 DeepSeek Harness 的长期记忆:支持在提问时召回的键值存储,并可选择从官方 ChatGPT、Claude、Gemini 和 DeepSeek 导出内容迁移。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:tieveto666-code/dsh-memory-migration#e5909073ee42b9e3be4c9713167ee016662aa8c6
README兼容性版本
Long-term memory settings

兼容性与来源证明

Memory Migration 以 @tieveto666-code/dsh-memory-migration 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/26

版本

0.1.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/8/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)

README

DSH Long-term Memory

A DeepSeek Harness plugin that gives stock DSH long-term memory: a key/value store of who you are and how you work, recalled into later chats when the question matches.

You can add memories by hand. Memory migration is one extra path: import an official ChatGPT, Claude, Gemini, or DeepSeek export and extract a small core of reusable pairs.

It is an out-of-tree Cordis plugin. It does not fork or patch DSH source, and it does not turn old chats into sidebar sessions.

The npm / plugin id remains @tieveto666-code/dsh-memory-migration (needed by dsh plugin add). The product name in Settings is Long-term memory.

Why this exists

DSH starts every conversation blank. Preferences, methods, constraints, and settled decisions have to be re-explained, or they sit unused in another product’s export.

This plugin keeps a compact standing memory on the machine, then injects only the entries that match the current question—not the entire history.

Typical uses:

  • Keep identity, hard preferences, and communication style across new DSH chats
  • Reuse standing methods and constraints for a class of work (reviews, SQL, writing)
  • Avoid re-litigating decisions you already confirmed, with the rationale attached

Preview

Settings → Long-term memory (key/value list, recall switch, and Memory migration):

Long-term memory settings

Capabilities

Manage long-term memory

Settings → Long-term memory:

  • Key/value table: add, inline edit, search by name, paginate, bulk delete
  • Global switch to enable or disable recall into later chats
  • Each row is tagged manual or migrated

Data lives under $DSH_HOME/memory-migration/ (usually ~/.dsh/memory-migration/).

Recall in later chats

On each turn, only keys are scored against the current user message (values never participate):

  1. The question contains a complete key (length ≥ 2) → always recall every value under that key
  2. Otherwise BM25 on CJK unigrams/bigrams and Latin words, with a stop list
  3. Non-contained hits need at least one content token overlap and a score ≥ max(0.55, best × 0.4)
  4. Cap: 8 keys, 16 entries

Hits are injected as system context. Off-topic questions inject nothing.

Memory migration (optional)

The Memory migration button imports a ZIP or JSON export. It does not dump whole transcripts. With DSH’s DeepSeek model it scans recent substantial conversations, then keeps at most 10 core pairs that fit one of:

  1. Identity and hard preferences — who you are, what you want, style
  2. Methods for a class of tasks — how you do that kind of work
  3. Recurring constraints — standing limits and must-nots
  4. Confirmed conclusions and rationale — settled decisions so you do not retry

One-off tasks, appointments, secrets, assistant opinions, and single-ticket conclusions are dropped. Near-duplicates are merged. Re-import skips pairs similar to memories you already have (including manual ones).

If DeepSeek is not available, import only lifts enabled facts from files the export already contains (memory.json / memories.json). Gemini Takeout and DeepSeek’s official bundle usually have none of those files.

Dropping a ZIP into $DSH_HOME/memory-migration/inbox/ also runs this import.

How it works

Manual add / edit  ─┐
                    ├→ key/value store ($DSH_HOME/memory-migration/)
Export ZIP/JSON  ───┘     extract at most 10 core pairs when migrating
                          → on later chats, match the user message against keys
                          → inject hits into the system prompt

The settings UI talks to a plugin-owned loopback HTTP API (/memory-migration/api, via official ctx.webServer.register). Stock DSH does not need a settings-namespace allowlist change.

Migration extraction uses ctx.llm (DeepSeek chat) and does not create a sidebar Session.

Install onto stock DSH

Requires a working DSH Web profile (same Node range as DSH: 22.19+ or 24+).

dsh plugin --profile web add github:tieveto666-code/dsh-memory-migration
dsh --profile web

Then open Settings → Long-term memory.

pnpm 10+ may refuse the git prepare script until you allow it. Copy the package name from the CLI error into the profile pnpm-workspace.yaml:

allowBuilds:
  '@tieveto666-code/dsh-memory-migration': true

Then run dsh plugin add again.

From a local checkout:

dsh plugin --profile web add link:$(pwd)
dsh --profile web --dump-config   # look for the memory-migration layer

Official export packages

Used only by Memory migration. You can skip this section if you only add memories by hand.

SourceWhat to importConversationsSaved memories in the zip
ChatGPTSettings → Data controls → Export data (emailed ZIP)conversations.json (current mapping / current_node branch only)memory.json when present
ClaudeSettings → Privacy → Export dataconversations.json (chat_messages)memories.json / memory.json when present
GeminiTakeout → My Activity → Gemini Apps, activity records as JSON (not HTML)MyActivity.json grouped by chat URLUsually absent (Saved Info is not in Takeout)
DeepSeekSettings → Data management → Export chat historyChat JSON (several unpublished shapes are accepted)None in the official bundle

Unrecognized dumps fail loudly instead of importing silently. Account emails stay in local metadata and are not injected.

Gemini HTML Takeout is rejected; re-export with JSON activity records. The top-level Takeout “Gemini” product is Gems, not chat history.

Privacy

Parse, unzip, extract, and store on the DSH host. There is no telemetry and no upload of the export to a third-party service. Migration extraction calls the DeepSeek model already configured in your DSH, the same as a normal chat.

Uninstall:

dsh plugin --profile web remove @tieveto666-code/dsh-memory-migration

That removes the plugin layer only. Delete $DSH_HOME/memory-migration/ yourself to wipe stored memories.

Develop

pnpm install
pnpm test
pnpm build

License

MIT