Memory & Contextdsh-plugin
Stars
1
Forks
0
Open issues
0
Last push
Aug 22, 2026
Latest release
v0.2.4
24h Growth
+0
7d Growth
+0
Installation
dsh plugin --profile web add "github:zhouzhencheng07/dsh-memory"Overview
Cross-session memory plugin for DeepSeek Harness: automatic capture prompts, per-workspace daily notes, block-level memory search with optional vector fusion, zero dependencies.
- Round-by-round system prompt reminder instructs the agent to use the memory tool when new cross-session-worthy content appears (can be disabled).
- Path-locating memory tool: returns today’s memory file for the current workspace, auto-creates with a session source comment; no parameters.
- File operations are delegated to host native read/write/edit tools, respecting the same sandbox and pre-read observations as the model.
- memory_search tool: title-aware block retrieval with breadcrumbs, layered keyword scoring, and 30-day half-life decay.
- Optional vector search upgrades to hybrid keyword + vector RRF fusion (k=60) using Ollama-compatible embeddings; auto-fallback if unavailable.
- Per-workspace daily notes stored as $DSH_HOME/dsh-memory/YYYY-MM-DD/<workspace>.md; no state files, auto-switches at midnight.
- Plugin settings card in the UI writes to settings.yaml with hot reload; no restart required for config changes.
- Zero npm dependencies, zero build, pure ESM; @deepseek-ai/* packages are resolved from the running dsh instance.