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 Migration — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
M

@tieveto666-code/dsh-memory-migration

Memory Migration

Long-term memory for stock DeepSeek Harness: key/value store with question-time recall, plus optional migration from official ChatGPT, Claude, Gemini, and DeepSeek exports.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:tieveto666-code/dsh-memory-migration#e5909073ee42b9e3be4c9713167ee016662aa8c6
READMECompatibilityVersions
Long-term memory settings

Compatibility and provenance

Memory Migration is published as @tieveto666-code/dsh-memory-migration and currently resolves to version 0.1.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
8/26/2026

Versions

0.1.0stable
8/26/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
8/26/2026
View source ↗
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

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.Weknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.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 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