三条路径削减会话输入 tokens,每条都在输入框下方的面板里带独立开关:在 `tools/post-execute` 处对工具结果做无损结构化压缩,再对超预算结果做按工具的头尾裁剪,且每次都通过共享 spill store 给出恢复路径;在 `agent/created` 处按 agent 管理工具目录可见性;并为每个工作区维护会话记忆文档,recall 用每条新消息匹配它并通过 `agent.inject` 注入,避免重读上下文。在 149 次真实请求上实测 prompt tokens 减少 41.76%,并附带可复测任意 profile 的测量脚本。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.