dsh plugins中文
← Back to popular plugin directory

yan5236 · Dsh Memory

yan5236/dsh-memory · productivity

Two-phase long-term memory plugin for DeepSeek Harness (DSH): per-session extraction + global consolidation, always-injected summary, and memorylist/read/search/add tools.

★ 4GitHub stars
1Forks
2026-08-25Last updated
TypeScriptLanguage
MITLicense

Key features

  • Phase 1 per-session extractionafter a session turns stop (debounced, 3 min default), its log is read, filtered, rendered, and redacted, then a model extracts structured memory (raw_memory + rollout_summary + slug).
  • Low-signal sessions produce an empty no-op.
  • Phase 2 global consolidationon a cooldown (6 h default) the new raw memories are merged into MEMORY.md (handbook) and memory_summary.md (dense index, exact v1 first line)
  • raw input is rotated into an archive and never consolidated twice.
  • Always-injected summarymemory_summary.md (hard size cap) is injected through the system prompt of every session — zero effort for the model to see the index.

Install command

dsh plugin --profile web add github:yan5236/dsh-memory
View GitHub repository ↗Back to popular plugin directory