dsh-context-compressor
dsh 网页端一键上下文压缩:会话标题栏「压缩」按钮把整段对话总结成几句话,新建同工作区会话以摘要为第一条消息并自动切换,原会话原样保留。
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 plugin add github:qwert702/dsh-context-compressor 简介
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 指向原会话(侧边栏里嵌套显示来源),标题自动带上「· 续」;原会话作为完整历史保留…
推荐参考
信息
- 协议
- –
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-05
- 创建于
- 2026-08-20
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令;无 license
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin, curated:0xsline/awesome-deepseek-harness
- 主题标签
- compression, context-summarization, deepseek, deepseek-harness, dsh, dsh-plugin, session
同类推荐
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。
dsh-nested-followups
sluminositys/dsh-nested-followups
从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。
dsh-session-sync
PerryLink/dsh-session-sync
DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。