dsh-context-compressor
One-click context compression for the dsh web GUI: a 压缩 button on the session title bar summarizes the whole conversation into a few lines, opens a new session in the same workspace seeded with the summary, and switches to it — the original session stays untouched.
dsh 网页端一键上下文压缩:会话标题栏「压缩」按钮把整段对话总结成几句话,新建同工作区会话以摘要为第一条消息并自动切换,原会话原样保留。
How to install
dsh plugin add github:qwert702/dsh-context-compressor About
dsh-context-compressor 小模型上下文压缩插件,面向 **DeepSeek Harness Web GUI**。 上下文一长、小上下文模型就装不下——点一下会话标题栏的「**压缩**」按钮:插件把整段对话总结成几句话,**新建一个同工作区的会话**,把摘要作为第一条消息注入,然后自动切过去继续聊。原对话原样保留在侧边栏,一个字都不丢。 **一键安装:** dsh plugin --profile web add <仓库或本地路径> 例如本地路径:dsh plugin --profile web add D:\CBN-HT\Desktop\AI编程\dsh插件\dsh-context-compressor 装完重启 harness(dsh web)、刷新页面,会话标题栏右侧会出现「压缩」按钮。 功能 **一键压缩**:标题栏「压缩」→ 内联确认「压缩后新建会话继续?」→ 自动完成并切换。 **几句话的摘要**:摘要请求让模型把对话压成紧凑中文要点(3~10 条、每条一句话),关键信息(路径、命令、函数名、错误信息、数字、决定、用户偏好)原样保留——新会话上下文极小,小模型轻松装下。 **新建会话继续**:新会话与原文同工作区、继承 agentPreset、parentSession 指向原会话(侧边栏里嵌套显示来源),标题自动带上「· 续」;原会话作为完整历史保留…
Recommendation signals
Meta
- License
- –
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-05
- Created
- 2026-08-20
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令;无 license
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin, curated:0xsline/awesome-deepseek-harness
- Topics
- compression, context-summarization, deepseek, deepseek-harness, dsh, dsh-plugin, session
Related plugins
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
Inline-edit and recall your own user messages in dsh web — lazily and seamlessly, with a version pager and per-session draft persistence.
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.
dsh-nested-followups
sluminositys/dsh-nested-followups
Keep branching from any completed answer at any depth while the main session stays untouched.
dsh-session-sync
PerryLink/dsh-session-sync
Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.