haitang1/dsh-memory

haitang1★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

Codex-like persistent memory plugin for DeepSeek Harness: auto-injected memory summary, memory tools, per-session rollout summaries, and a localized Web settings card.

README excerpt

dsh-memory Codex-like persistent memory for DeepSeek Harness. The plugin gives every session a durable, auto-injected memory: a distilled global summary is injected into each prompt, agents can read/write/search memories with dedicated tools, and each finished turn is automatically distilled into per-session rollout summaries that periodically re-consolidate the global memory file. How it works - Injection — systemPrompt.context re-reads memory summary.md at every prompt assembly, so a memory add call surfaces in the very next model step. - Tools — memory read , memory add , memory update , memory delete , memory search , memory review , memory merge , memory export , memory import , memory stats , memory browse , memory history , memory rollback , memory sync (see below). - Auto memory — on each finished turn of a root agent, the new conversation text is distilled with the default model into a rollout summary. Every consolidateEvery summaries, the scope's summary is re-merged (atomic write, version bump). With scopedMemory , rollouts and consolidation route to the session's workspace or project scope. All LLM work is queued, timed out, and never blocks a turn. - Seeding — on first…

View full README on GitHub →
Tools / Devdsh-pluginagentsearch

Category