dsh-token-trim:在工具结果进入上下文前做可度量的裁剪
介绍 LISHUANGXI1412 维护的 DSH 工作流插件 dsh-token-trim(0.2.0)。插件在 tools/post-execute 对长工具输出做结构化摘要、头尾 cap、重复 delta 与 artifact 落盘,原文存于 ~/.dsh/token-trim/artifacts/,模型可用 guard_query 回溯。提供 Savings 标签页与 manifest 审计;配置含 minChars、capsDefault 与各工具 caps。安装命令为 dsh plugin add dsh-token-trim,可与 dsh-context-kit 叠加做 compaction。强调 fail-open 安全模型与 read 默认不 cap 等维护者实测结论。
阅读全文