dsh-context-compression-improved
v0.15.9
Published
Token-saving context-compression selector bundle for DeepSeek Harness — fewer tool-result tokens on every turn, fully auditable
Maintainers
Readme
dsh-context-compression-improved
省 token 优先:可直接安装的非官方社区 DeepSeek Harness 上下文压缩选择器 Product Bundle——每轮工具结果占用更少 token,且全程可审计。
**0.1.0 更新:**已加入 DeepSeek V4 Flash 视觉模型的官方 tokenizer;用户可选择模型驱动 Auto Compact 的触发阈值;标准 Profile 的水位与压缩参数会随该选择联动。
```sh
dsh plugin --profile web add [email protected]
# DSH 0.1.2 line:
# dsh plugin --profile web add [email protected]
dsh --profile web --dump-configdsh --profile web --dump-config
这一条命令安装单一的 `dsh-context-compression-improved` 包:压缩运行时、Host 设置、Web UI
与可逆 preset overlay 全部包含在其中。除 id 精确等于内置 `minimal` 的 preset 外,
其他 preset 都会获得压缩能力;非 Minimal preset 之间切换时已保存设置保持不变。
Minimal 只暂停插件压缩,不删除设置。
已验证兼容 DeepSeek Harness `dsh-v0.1.1-rc.2` 与 `dsh-v0.1.2-alpha.5`,Node `^22.19.0 || >=24`。不需要修改 Harness 核心。
Profile、默认值、审计证据、Adaptive/cache 限制、升级/卸载与安全说明见[完整 README](https://github.com/WilliamShi666/dsh-context-compression-improved#readme)。本包与 DeepSeek 无隶属或背书关系。