一個原生 DSH 插件,讓 DeepSeek Harness 成為有記憶的助手:主動聯想召回、三層自動整理、AI 問候、日曆提醒與跨工具記憶繼承,並配有生產級寫入閘門。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-03
授權條款
BSD-3-Clause
01它能幫你完成什麼?
讓 DeepSeek Harness 擁有會自動回憶的記憶——無須呼叫工具
三層自動記憶(使用者規則 → 專案筆記 → 每日日誌)注入每一輪對話,並支援按需召回
希望助手跨工作階段記住偏好、專案規範、截止日期與歷史進度的 DeepSeek Harness(dsh web)使用者
從其他 AI 工具匯入記憶,並獲得主動日曆提醒
跨工具記憶繼承(WorkBuddy / CodeBuddy / Claude Code / Codex)以及由 AI 維護、帶截止日期與進度提醒的日曆
已經依賴多個 AI 助手、希望以 DSH 為單一記憶中樞並設定定時提醒的使用者
02如何將外掛接入 DeepSeek Harness?
先決條件
- 安裝 DeepSeek Harness 並至少啟動一次 `dsh web`(必須存在 `~/.dsh/profiles/web` 設定目錄)。
- Node.js with pnpm (or npm) available on PATH.
安裝步驟
- 01
cd ~/.dsh/profiles/web
- 02
pnpm add @a9i5k4/dsh-auto-memory # or: npm install @a9i5k4/dsh-auto-memory
- 03
Edit package.json in that directory and append "@a9i5k4/dsh-auto-memory" to the dsh.profile.bundles array
- 04
Restart dsh web — the 「Memory」 entry appears in the sidebar
- 05
Optional semantic engine: pnpm approve-builds && pnpm add @huggingface/transformers, then restart dsh web
驗證整合成功
- After restarting dsh web, the 「Memory」 entry appears in the sidebar.
03DSH 整合程度與能力邊界
Native DSH bundle plugin — installed into the `~/.dsh/profiles/web` profile directory and registered in the `dsh.profile.bundles` array; runs inside the DeepSeek Harness web runtime (dsh web).
三層自動記憶引擎
Every conversation turn (host-side context observer)→User rules, project notes, daily logs and reflections written under `~/.dsh/memory`, injected into later turns
Writes memory files under `~/.dsh/memory` on every turn via the auto-consolidation subagentReads/writes the dsh profile directory and the dsh.profile.bundles config外部記憶繼承
Sessions / memories from WorkBuddy / CodeBuddy / Claude Code / Codex→Scanned, importable, per-source-managed external memory pointers
Reads other AI tools’ memory locations on your machine (path pointers only, never copied content)記憶寫入閘門
Any memory write (append ≤ 8,000 chars / rewrite ≤ 200,000 chars)→Sanitized, deduped memory writes; dirty-token scan reports
主動日曆提醒
Conversation text (deadlines, promises)→Calendar entries via `calendar_add`, injected into later sessions until completed
04適合誰?何時不該用?
適合
- 希望助手跨工作階段記住偏好、專案規範、截止日期與歷史進度的 DeepSeek Harness(dsh web)使用者
- 已經依賴多個 AI 助手、希望以 DSH 為單一記憶中樞並設定定時提醒的使用者
不適合
- Memory files are plain-text Markdown; no secrets are stored unless explicitly requested by the user.
05相容性、維護與安全提醒
- Plugin-set changes require a dsh restart — any change to the installed plugin bundle only takes effect after restarting dsh web.
- Memory files are plain-text Markdown; no secrets are stored unless explicitly requested by the user.
- `memory_recall` session search depends on the deployed session-query index; without it, only local search works.
BSD-3-Clause · npm package @a9i5k4/dsh-auto-memory (v0.1.30); no GitHub release tag published
06常見問題
如何把 dsh-auto-memory 安裝到 DeepSeek Harness?
先安裝 DeepSeek Harness 並啟動一次 `dsh web`,然後 `cd ~/.dsh/profiles/web`,執行 `pnpm add @a9i5k4/dsh-auto-memory`,在 package.json 的 `dsh.profile.bundles` 陣列裡追加 `@a9i5k4/dsh-auto-memory`,重啟 dsh web。啟用後側邊欄會出現「Memory」入口。
模型必須主動呼叫記憶工具才能回憶嗎?
不需要。宿主側中介層持續觀察對話上下文,在下一輪固定邊界自動召回相關記憶(對前綴快取友善),模型無須「記得去查」。
它能用我其他 AI 助手的記憶嗎?
可以。外部記憶繼承會掃描 WorkBuddy / CodeBuddy / Claude Code / Codex,依來源以路徑指標方式匯入(絕不複製內容),並可對每個來源個別管理或移除。
安裝前有哪些前置條件與注意事項?
需要已安裝 DeepSeek Harness 並至少啟動過一次 `dsh web`(必須存在 `~/.dsh/profiles/web` 目錄),以及帶有 pnpm/npm 的 Node。記憶檔案是純文字 Markdown,除非你要求否則不儲存任何密鑰;插件變更只有在重啟 dsh 後才生效。
如何啟用語意(稠密)檢索引擎?
內建 JS 層(約 130MB)會自動安裝;若 pnpm 攔截了原生建置腳本,你可能需要先 `pnpm approve-builds` 再 `pnpm add @huggingface/transformers`,然後重啟 dsh web。詞法 BM25(0GB)始終作為回退可用。
07相關的 DSH 工作流程
weknora
作者 tencent
開源的 LLM 知識庫平臺:把原始文件轉化為可檢索的 RAG 知識庫、自主推理智慧體和自動維護的 Wiki 系統,支援多租戶部署。
honcho
作者 plastic-labs
用於構建有狀態 AI 智慧體的記憶庫,支援跨會話連續學習與上下文工程。
webnovel-writer
作者 lingfengqaq
基於 Claude Code 的長篇網文輔助創作系統,解決 AI 寫作中的「遺忘」和「幻覺」問題,支援 200 萬字量級 連載創作。
mirage
作者 strukto-ai
全球首個面向 AI 智慧體的統一虛擬檔案系統。
08資料與來源
A **proactive associative-memory plugin** for the DeepSeek Harness Web GUI
Run in the **profile directory** (`~/.dsh/profiles/web`):
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-03。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
