dsh-squeeze-command: On-Demand Context Compression for DeepSeek Harness

`dsh-squeeze-command` is a plugin for DeepSeek Harness (DSH) designed to address the soaring input token costs caused by excessively long conversations. It uses a manually triggered mechanism, allowing the conversational model to select the compression scope and employing a cheap, high-speed model to generate summaries, thereby effectively controlling the token budget while preserving the original logs. The tool features no discarded content, resistance to post-compression perplexity, and refusal to run during agent turns. During installation, the token budget and a flash-tier summarization model must be configured. Through commands such as `/squeeze`, users can flexibly adjust the context size or check the compression status, making it a practical tool for long-running, cost-sensitive scenarios.

Read More