dsh-token-optimizer: A Deterministic Compression and Recovery Tool for DeepSeek Harness
`dsh-token-optimizer` is a plugin for DeepSeek Harness (DSH) designed to address context window overflow caused by tools returning long text in agent development. It provides deterministic, recoverable tool-result compression with cache-aware features, and supports PTC log compression and a web dashboard. Installation requires DSH 0.2.0-rc.2, with a 62.5% compression ratio enabled by default. Users can configure the compression threshold or disable early compression, and the plugin is licensed under the MIT License.
Read MoreIntroducing the DeepSeek Harness Token Optimization Plugin
`dsh-token-optimizer` is a plugin for DeepSeek Harness (DSH) designed to address token overhead in long sessions. It relies on hierarchical compression (L0-L2), long-text-to-image summarization, tool output routing, file diff detection, and lazy loading mechanisms to reduce consumption through incremental compression and scheduling, without re-implementing core features. As a high-privilege component, the plugin uses a fail-open strategy to maintain process availability.
Read More