dsh-observational-memory
Distills session work into background observations and reflections to preserve context across compaction.
在后台将会话工作提炼为观察和反思,以便在上下文压缩后保留会话上下文。
How to install
dsh plugin add dsh-observational-memory About
DSH Observational Memory 中文 | English 适用于 DeepSeek Harness(DSH)的插件:在后台持续把会话工作沉淀为**观察(Observations)**与**反思(Reflections)**,让长会话经过多轮压缩依然连贯。移植自 pi-observational-memory(Pi 的扩展)。 当 DSH 发生上下文压缩时,压缩摘要有现成的记忆可用——不再需要模型现场重写历史:观察器、反思器、清理器在后台按 token 节奏运行,压缩真正发生时只需一次确定性的渲染,零模型调用。 为什么需要 长会话最终都会撞上上下文墙。压缩把会话总结成摘要,多轮压缩之后,代理携带的已经是"摘要的摘要"——设计决策的理由、被否决过的方案、关键约束、用户已澄清过的内容开始悄悄丢失。 本插件把记忆工作**前置**到会话进行过程中,而不是等压缩发生时再补救。 特性 **后台记忆流水线**:观察器(把会话事件蒸馏为带时间戳、带相关度的观察)→ 反思器(从观察中提炼长期事实)→ 清理器(修剪已被反思覆盖的观察),全部由 turn/end 等会话事件按 token 阈值驱动。 **压缩即渲染**:DSH 压缩引擎发起摘要调用时(purpose: 'compaction'),插件在 llm/stream 瀑布中拦截,直接用渲染好的记忆文本应答——压缩零等待、零模型调…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-20
- Created
- 2026-09-16
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin
Related plugins
dsh-mnemon
omdsh-dev/dsh-mnemon
Cross-agent, local-first persistent memory plugin for DeepSeek Harness (DSH), powered by Mnemon. It shares long-term memory across Mnemon-enabled agents and adds runtime memory, searchable project documents, semantic recall, knowledge graph, and a Sidebar UI.
memsearch
zilliztech/memsearch
A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.
dsh-mnemon
dsh-external/dsh-mnemon
Composable, view-based memory for DeepSeek Harness. Pluggable sources and strategies, with three-tier memory out of the box.
markdownify-mcp
zcaceres/markdownify-mcp
A Model Context Protocol server for converting almost anything to Markdown