dsh-compressor

by lifeodyssey

记忆github 检测到 manifest package.json#dsh收录于 08-16

Headroom 的精简移植,在不影响模型上下文缓存以及 Agent 性能的情况下,压缩工具的输出,至多减少 20% 的上下文。

A slim port of Headroom: compresses tool output, cuts up to 20% of context, without affecting the model's context cache or agent performance.

安装

dsh plugin --profile web add github:lifeodyssey/dsh-compressor#path:/plugins/dsh-compressor

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

English | 中文

dsh-compressor

npm

在不影响模型上下文缓存以及 Agent 性能的情况下,压缩工具的输出,至多减少 20% 的上下文。

dsh plugin --profile web add dsh-compressor

原始 README: https://github.com/lifeodyssey/dsh-compressor/blob/main/plugins/dsh-compressor/README.zh-CN.md ↗