dsh-context-kit:在不冻结 Agent Preset 的前提下调节 DSH 自动压缩阈值

dsh-context-kit(LISHUANGXI1412,工作流类)用于管理 DeepSeek Harness 的 automatic-compaction 触发比例与压缩后保留比例。它通过从 app.asar 读取随应用分发的 preset,仅以插入方式写入 profile 的 cordis.patch.yml managed block,避免手写整份 preset 导致无法跟上上游更新。提供 Settings→Context 面板、dsh-context-kit CLI 与 preset_tuner 工具;可预览、应用、清除覆盖,并基于本机 session 日志做 measured/estimated 用量分析。安装:dsh plugin add dsh-context-kit。0.3.0 起 context 索引需另装 dsh-token-trim。MIT,Node>=22。

阅读全文