dsh-tool-search:在 DSH 裏用索引延遲加載 MCP 工具

dsh-tool-search 是 GunjanPatel359 維護的 DSH 工作流插件,將 MCP 工具從每步全量 schema 改爲會話內穩定的短索引,通過 tool_details 與 call_tool 按需加載與執行,宣稱 MCP 工具相關 token 約降 88%,並利於 prompt cache。支持 match/exclude/minTools 等配置,保留權限與審批;面向 DSH 0.2.x 與 native tool calls,PTC 模式自動退讓。安裝可用 dsh plugin --profile tui add dsh-tool-search。MIT 許可,Node >= 22。

閱讀全文
@deepseek-ai/dsh-tool-search:DSH 實驗性工具發現插件

DSH 插件 `@deepseek-ai/dsh-tool-search` 是一個實驗性工具,旨在解決多工具場景下模型上下文過長的問題,實現 per-agent 的工具發現與漸進式 schema 披露。該插件將全局工具分爲兩類:通過 `alwaysVisible` 配置項指定的工具始終保持可見;其他合格工具默認隱藏,僅當模型通過 scope-local 的 `tool_search` 工具選中後,纔在後續請求中變爲可執行。 `tool_search` 支持基於 BM25 的確定性匹配,接受查詢字符串及可選的結果數量限制。插件通過 `ctx.tools.restrict()` 接口限制可見工具集

閱讀全文