dsh-memory-drive
Manifest validManage memory files written by DSH memory plugins inside Settings (view/edit/delete), and sync them to one cloud drive with conflict-safe three-way sync; other drives take upload-only backups.
dsh-memory-drive · DSH Memory Drive
One place inside Settings → Plugins to view, edit and delete the memory files written by DSH memory plugins, and to sync them to your own cloud drive. Only one drive can be the sync target (pull + push with a three-way baseline, so multiple drives cannot overwrite each other and scramble memory order); other drives can only receive upload-only backups.

Features
- Memory file manager: the settings card lists markdown files from each memory source and lets you view, edit, save and delete them. Deletes go to the plugin trash (recoverable). Saves are hash-guarded: if the file changed elsewhere you get a conflict instead of a silent overwrite.
- Memory-plugin integration (auto-detected, extensible):
dsh-auto-memory: userMEMORY.md,PENDING-USER-MEMORY.md,CALENDAR.md, per-workspace notes, daily logs,handoff/,reflections/,archive/under~/.dsh/memory. Internal indexes, vectors and event stores are never exposed.- WorkBuddy memory (optional, excluded from sync by default):
~/.workbuddy/MEMORY.mdand~/.workbuddy/memory/. That tree is managed by thehuaweicloud-memory-syncskill; enabling this source for sync may overlap, so it is view-only by default. - Custom directories: add any local folder that your cloud-drive client uploads automatically.
- Cloud drives:
- Local sync folders (default, tested): Huawei Cloud Drive, Baidu Netdisk, Quark Drive, Aliyun Drive, OneDrive, 123 Cloud Drive, Tianyi Cloud — detected from common folder names and environment variables, with a manual path fallback.
- WebDAV (standard protocol): URL + account (Nutstore, Synology, etc.). Credentials stay in the local plugin config.
- Official OpenAPI adapters are on the roadmap; local sync folders are the fallback until they land.
- Safe sync semantics:
- Cloud layout:
<drive>/DSHMemory/sources/<source>/<root>/<relative path>; it does not touch the oldWorkBuddyMemory/tree or other tools' folders. - Baseline
~/.dsh/memory-drive/state.jsonstores the last agreed hashes: one-sided changes sync, two-sided changes are conflicts — the local file is kept and the cloud version is archived under~/.dsh/memory-drive/conflicts/<timestamp>/. - Deletions are not propagated automatically; deleted files go to
~/.dsh/memory-drive/trash/<timestamp>/. - The existing huaweicloud-memory-sync skill and its state files are left untouched.
- Cloud layout:
Install
-
Market: search
dsh-memory-drive. -
GitHub Release:
dsh plugin --profile <profile> add https://github.com/skyline654654/dsh-memory-drive/releases/latest/download/dsh-memory-drive.tgz # or from source (build approval needed) dsh plugin --profile <profile> add github:skyline654654/dsh-memory-drive
Restart DSH, then open Settings → Plugins → Memory Drive.
Data
~/.dsh/memory-drive/:config.json,state.json,trash/,conflicts/,logs/- Cloud:
<drive>/DSHMemory/
Roadmap (official cloud APIs)
The local-folder backend needs the drive client running and leaves ordering to that client. Official OpenAPI adapters (Baidu OpenAPI, Aliyun Drive OpenAPI, OneDrive Microsoft Graph, …) will take OAuth/access tokens. Huawei Cloud Drive and Quark have no public developer API, so they keep using the local sync folder. Official adapters are not enabled until they can be verified with real credentials.
Dev
npm test
node --check index.js
License
MIT
Comments
Loading…
Similar plugins
Workspace-isolated durable memory for DSH, with searchable, auditable, correctable, and removable workspace memories plus controlled global memory.
★ 0
↓ 268/wk
MIT
TypeScript
dsh plugin --profile web add @flowingspring/dsh-workspace-memoryby joyiok
DSH plugin: shared persistent memory store across all sessions, with memory_* tools and a Web sidebar panel
★ 0
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-memoryby wojiao42
文件型长期记忆:每个会话注入你自己的 Markdown 记忆文件,提供读写工具,并能查出 DSH_HOME 漂移;不读对话、不联网 · File-backed memory for DeepSeek Harness, with verifiable constraints
★ 0
MIT
JavaScript
Oct 7, 2026
dsh plugin --profile web add dsh-memory-fileby Bryan-cmf
DSH-Plugin: durable agent memory core - mem_save/mem_search/mem_health backed by storageDomain (survives restarts), 記憶 view tab.
★ 0
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add @bryan-cmf/dsh-vector-memoryby icearia0219
Human-governed cross-session memory spaces with independent source and consumer relationships, provenance, versioning, and pre-send injection review.
★ 3
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add dsh-memory-spacesby dafantong01
DSH plugin: archive conversation turns into a workspace-local, searchable memory palace.
★ 3
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add @dafantong01/dsh-memory-palace