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 等維護者實測結論。
閱讀全文