返回目錄

dsh-auto-memory

編輯精選維護狀態: 活躍

aik358/dsh-auto-memory

Proactive associative memory for DSH: system-prompt recall before the model speaks, three-layer auto-consolidation, skill crystallization, and Astra-style context management - handoff ledgers, PLAN whiteboard, water-level sensing. Local-first, model-agnostic, zero deps. 主動聯想記憶+Astra 式上下文管理:自動喚回/自動沉澱/技能固化/交接賬本與白板跨視窗續命/水位感知。

前往 GitHub專案首頁
$ dsh plugin add dsh-auto-memory

148

星數

11

Fork

JavaScript

語言

BSD-3-Clause

授權條款

2026-08-14

建立於

2026-10-23

最近推送

一個原生 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.

安裝步驟

  1. 01

    cd ~/.dsh/profiles/web

  2. 02

    pnpm add @a9i5k4/dsh-auto-memory # or: npm install @a9i5k4/dsh-auto-memory

  3. 03

    Edit package.json in that directory and append "@a9i5k4/dsh-auto-memory" to the dsh.profile.bundles array

  4. 04

    Restart dsh web — the 「Memory」 entry appears in the sidebar

  5. 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 整合程度與能力邊界

DSH 整合原生執行環境

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.
2026-08-142026-09-02作者未說明

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)始終作為回退可用。

08資料與來源

  • 作者聲明github.com40c2171a8110…

    A **proactive associative-memory plugin** for the DeepSeek Harness Web GUI

  • 作者聲明github.com40c2171a8110…

    Run in the **profile directory** (`~/.dsh/profiles/web`):

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-03。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

廣告

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。