dsh-squeeze

新增 squeeze 工具:Agent 把长网页、多个网页、文本文件或含文本层的 PDF(借助 pdftotext)连同一个问题交给辅助模型阅读,只把答案带回对话,原文不进入上下文。设置页可从 DSH 模型列表选择最多三个辅助模型,各配昵称、固定思考强度与“何时使用”说明,支持可选的回退,并按各模型的上下文窗口自动计算体积上限。

插件介绍

新增 squeeze 工具:Agent 把长网页、多个网页、文本文件或含文本层的 PDF(借助 pdftotext)连同一个问题交给辅助模型阅读,只把答案带回对话,原文不进入上下文。设置页可从 DSH 模型列表选择最多三个辅助模型,各配昵称、固定思考强度与“何时使用”说明,支持可选的回退,并按各模型的上下文窗口自动计算体积上限。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:q8atnight/dsh-squeeze

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。