dsh-memory
A local Git-backed long-term memory bundle for DeepSeek Harness
一句话定位
A local Git-backed long-term memory bundle for DeepSeek Harness
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add dsh-git-memory@0.8.1
兼容的 DSH 版本
^0.1.0-rc.6 || 0.1.5-rc.1 || 0.1.7-rc.1 || >=0.2.0-rc.2 <0.3.0
作者与热度
seriousz158 · ★ 169 · 更新于 2026-10-10
关于这个插件
dsh-memory
dsh-memory is a local, Git-backed long-term-memory plugin for DeepSeek Harness (DSH).
It adds one persistent setting, a safe settings-page workflow for clearing memories, and an optional idle-session synchronizer. The host plugin injects memory guidance only when memory.enabled is true; the UI plugin lets a user inspect the repository state, toggle the setting, and clear learned memory through a deliberate two-step confirmation. What it does Stores durable memory in a local Git repository, not in this source repository or a hosted service. Registers the memory settings namespace immediately, so memory.enabled takes effect for the next model call without restarting DSH. Shows a long-term-memory row in DSH settings with repository status and a double-confirmation Delete memory action. Preserves a Git recovery point before clearing summary.md, handbook/, rollouts/, and archive/: a clean repository reuses its existing HEAD, while dirty target paths get a dedicated checkpoint commit; the next commit records the cleared state. Refuses unsafe repository layouts, symbolic-link escapes, non-repository roots, and path races during a clear operation. Can process only idle local session logs through an optional headless synchronizer. The synchronizer defaults to workspace-write
This README describes stable user-facing behavior. Release-by-release implementation details are intentionally kept out of this page; see CHANGELOG.md and the GitHub releases for historical changes. Local Git-backed memory Memory stays in a local Git repository. There is no hosted memory service or cloud vector database. Markdown records support front matter, namespaced ids, provenance, expiry projection, deterministic conflict handling, and legacy compatibility. summary.md is a short navigation snapshot; detailed knowledge belongs in handbook/, rollouts/, and archive/. Safe synchronization and recovery Optional idle-session sync runs in a private per-run workspace. The model can edit only the isolated copy; the host validates and writes the live Git repository. The host provides dry-run/preview/apply flows, operation locking, health checks, bounded batches, retry backoff, duplicate-id diagnostics, and metadata-only journals. Recovery/apply commits, rollback, backup export/import, and legacy migration keep changes auditable and reversible. Migration is available through the CLI/host API, not the settings UI. Read path When enabled, a bounded and explicitly untrust
The settings UI provides the memory toggle, repository status, recent-sync state, preview actions, rollback, and deliberate clear confirmation. It does not expose the filesystem root or execute Git directly. Compatibility
v0.10.0 targets the DSH desktop app 0.2.x and keeps the 0.1.x web runtime peer range: The package uses DSH's Cordis loader interfaces. The rc.7 graph is the reproducible development and integration baseline because the registry's rc.6 transitive peer graph cannot be installed by plain npm ci; this does not change the host/UI packages' declared rc.6 runtime peer range. DSH rc.8 and later releases are unverified until they pass this repository's test suite. Install DSH plugin bundl
相似插件
EverOS
One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, t…
billion-context
A context-compression plugin — small context windows (a 100K context is enough), 5x fewer tokens, month-long single sess…
dsh-context
A DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understand…