dsh-squeeze

Adds a squeeze tool: the agent hands a long web page, a batch of pages, a text file or a text PDF (via pdftotext) plus one question to a helper model and gets back only the answer, so the material never enters the chat. A settings page picks up to three helper models from the DSH model list, each with a nickname, a fixed thinking level and a "when to use" note, with optional fallback and size limits taken from each model's context window.

Overview

Adds a squeeze tool: the agent hands a long web page, a batch of pages, a text file or a text PDF (via pdftotext) plus one question to a helper model and gets back only the answer, so the material never enters the chat. A settings page picks up to three helper models from the DSH model list, each with a nickname, a fixed thinking level and a "when to use" note, with optional fallback and size limits taken from each model's context window.

Installation

Install from 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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.