← 返回列表

dsh-context-compressor

DeepSeek Harness 会话与消息 高风险

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.

怎么安装

DeepSeek Harness 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 指向原会话(侧边栏里嵌套显示来源),标题自动带上「· 续」;原会话作为完整历史保留…

推荐参考

41 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
41 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
–
语言
JavaScript
GitHub 星标
0
月下载
–
最近更新
2026-09-05
创建于
2026-08-20

链接

GitHub ↗ 报告问题 ↗

基础安全检查

检查结果
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

同类推荐

DeepSeek Harness
推荐77

DSH-EasyRewrite

Renzic-Stone/DSH-EasyRewrite

在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。

☆ 116 ↓ 5.7K 会话与消息 ↗
DeepSeek Harness 新上架
推荐71

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery

对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。

☆ 5.9K ↓ – 会话与消息 ↗
DeepSeek Harness
推荐71

dsh-nested-followups

sluminositys/dsh-nested-followups

从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。

☆ 48 ↓ 830 会话与消息 ↗
DeepSeek Harness 精选
推荐69

dsh-session-sync

PerryLink/dsh-session-sync

DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。

☆ 12 ↓ 2.8K 会话与消息 ↗