dsh-compaction-threshold:在插件配置卡里调节 DSH 会话自动压缩阈值
DSH 在 Desktop/web 下各 agent preset 隔离挂载压缩引擎,改 profile patch 往往碰不到实际 BasicCompactionEngine。社区插件 dsh-compaction-threshold 在插件页配置卡中设置触发阈值(默认 80%)、保留近期对话比例(默认 16%)与是否自动压缩,保存后即时写入隔离引擎并在 step 边界兜底同步,压缩算法仍由 compaction-basic 负责。文章说明配置项、Desktop 本地热装配要点、验证日志与适用范围限制。
阅读全文dsh-compaction-threshold:运行时覆盖自动压缩压力阈值
DeepSeek Harness web profile 中调整 dsh-compaction-basic 的 thresholdRatio 往往需要整份复制 agent preset 声明。dsh-compaction-threshold 在 agent 创建时通过 preset registry 定位 basic 压缩引擎并替换冻结 config,profile 仅多挂一个 bundle。文章说明安装(Plugin Manager 或 package.json)、cordis.patch.yml 配置、实际 thresholdTokens 计算公式、日志验证方式及 isolate preset 下的限制与风险。MIT 许可,维护者 Lyoko-Jeremie。
阅读全文