WanYanTianDe/dsh-headroom ↗★ 0
@wanyantiande/dsh-headroom
Headroom context-compression backend for DeepSeek Harness: local proxy lifecycle, a compaction engine backend, the headroom_retrieve CCR tool, and a settings card.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗配置
方式一:对话命令 /headroom(所有环境可用)
在任意会话输入(agent 也会执行):
/headroom # 查看当前生效配置
/headroom set port 9000 # 修改配置(数字/布尔/字符串按类型解析)
/headroom unset port # 恢复组合层默认
可设置键:port、baseUrl、command、pythonPath、uvCommand、autoInstall、resultCompressionEnabled、resultCompressionThresholdChars。
方式二:设置卡片(需要 harness 白名单支持)
设置 → 插件 → 插件配置 里的 "Headroom 压缩" 卡片依赖 harness 的配置客户端暴露白名单(api-proxy.ts 的 WEB_SETTINGS_NAMESPACES,官方注释承认是待办)。外部插件默认不在白名单中,卡片会不可见——这是 harness 的限制,不是插件缺陷。两种解决:
- 在 harness 的
WEB_SETTINGS_NAMESPACES加'headroom'(一行)后重启; - 或直接用
/headroom命令(方式一,无此限制)。
方式三:settings.yaml / cordis config