dsh-context-manager:可审查的对话上下文压缩
dsh-context-manager(SkanderBog,v0.2.0)为 DeepSeek Harness 0.2.0-rc.2+ 提供 Context 面板与 /context-manager 命令,用于查看 local context 与用量构成,对历史分组选择 Keep、Summarize 或 Omit,支持决策笔记与 preview 后再 Apply。本文基于官方 README 介绍安装(Release tgz 与 dsh plugin add)、ACP 状态读取、压缩历史与权限注意事项,便于长会话开发者人工把关上下文。
Read Moredsh-plugin-context-manager: A DSH plugin that automatically records conversations, injects memory, and folds real context.
# Introduction Running long sessions in DeepSeek Harness (DSH) often presents two common challenges: First, the limited context window means that once early conclusions are squeezed out, the model "forgets" them; Second, when switching to a different session, previously recorded key points cannot be carried over. The common solution is to inject summaries into the system prompt, but this only affects auxiliary prompt blocks, while the real dialogue history continues to grow, leading to increasing token consumption. The `dsh-plugin-context-manager` introduced below addresses these two issues: it automatically records every round of dialogue, injects memory and prioritized cross-session notes into each model request, and directly collapses the real dialogue history visible to the model to reduce token usage. # What is dsh-plugin-context-manager
Read More