← 返回列表

dsh-context-compression-improved

DeepSeek Harness 会话与消息 低风险

机制上与上下文压缩领域最响的两条公开路线同源:代码骨架闸门沿用 Headroom(Apache-2.0)的骨架化思路,其公开头条为「编程 agent 少 20% token、JSON 载荷少 60–95% token,答案不变」;估计器通道沿用 TokenPilot(arXiv:2606.17016)的缓存感知上下文管理思路,该论文报告长会话 agent 成本最高降低 60%。这两个数字都是来源方自己的口径,此处照引;本插件不自带 benchmark,不自称任何降幅。在此之上为 DeepSeek Harness 提供:在同一设置区选择压缩 Profile、调整 Auto Compact 触发水位并开关代码骨架压缩;基于 DeepSeek V4 官方 tokenizer 的精确计量与同修订计数校验;非支持模型自动 fail-open,保留原始工具结果。

Same-origin in mechanism with the two loudest lines in context compression. The code-skeleton gate follows the skeletonization approach of Headroom (Apache-2.0), whose published headline is 20% fewer tokens for coding agents and 60–95% fewer tokens for JSON, same answers. The estimator channel follows TokenPilot (arXiv:2606.17016), which reports up to 60% lower cost for long-session agents. Both figures are theirs, quoted as-is; this plugin ships no benchmark of its own and claims no reduction of its own. What it adds for DeepSeek Harness: choose a compression profile, set the Auto Compact trigger level and toggle code-skeleton compression from one settings section, with exact DeepSeek V4 tokenizer measurement, same-revision count verification, and fail-open behaviour that keeps the original tool results on unsupported models.

怎么安装

DeepSeek Harness dsh plugin add dsh-context-compression-improved

简介

dsh-context-compression-improved An improved fork of dsh-context-compression-selector — an auditable tool-result context-compression selector for DeepSeek Harness — adding an orthogonal **code-skeleton compression gate**. 中文说明 · 日本語 · 한국어 · Changelog · Installation guide [!NOTE] **What this fork adds on top of upstream 0.1.0:** > - An orthogonal **code-skeleton compression gate** (codeSkeleton.enabled, default off): the first exposure of an oversized fresh source-code tool result can keep a skeleton of imports and declarations — bodies elided, error lines kept — before the regular reducers run…

推荐参考

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

信息

协议
MIT
语言
TypeScript
GitHub 星标
1
月下载
最近更新
2026-09-20
创建于
2026-09-05

链接

基础安全检查

检查结果
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh, dsh-plugin

同类推荐

DeepSeek Harness 新上架
推荐84

billion-context

ranxianglei/billion-context

billion-context官方版:上下文压缩插件,兼顾小窗口(100k上下文足矣)省token(省5倍token)和超长会话(数月级别几十亿token单会话)。

☆ 233 ↓ 140.8K 会话与消息
DeepSeek HarnessClaude CodeCodex
推荐80

dsh-chat-import

Nwflower/dsh-chat-import

把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

☆ 193 ↓ 16.7K 会话与消息
DeepSeek Harness
推荐77

dsh-rewind

SiriLee/dsh-rewind

同一会话窗口内的 in-place 对话回退(不 fork,Claude Code /rewind 语义):每条消息的 ↶ 按钮把模型上下文回退到任意用户消息,可选用磁盘持久化的 before-backups 还原工作区文件。

☆ 83 ↓ 15.1K 会话与消息
DeepSeek Harness
推荐74

dsh-recall-plugin

limbo947/dsh-recall-plugin

消息撤回:在用户消息旁加「撤回」按钮,把对话历史(官方会话 fork)与项目文件(逐消息影子 git 快照)一并回退到该消息发送之前,带差异预览确认面板。

☆ 34 ↓ 7.2K 会话与消息