DeepSeek Harness Session Compression Plugin (dsh-oha-whale-compress)
The DeepSeek Harness plugin `dsh-oha-whale-compress` addresses the limitation of default window-ratio-based compression, which makes it difficult to precisely control absolute token counts. The plugin supports manual compression via the sidebar or the button below the input box, and allows customizing the trigger threshold. After installation, replace the engine with `dsh-oha-whale-compress/engine` and configure `~/.dsh/storages/dsh-oha-whale-compress/config`. The article also explains the lazy-loading design, service isolation, dependency declarations, asynchronous loading pitfalls, and UI rendering considerations.
Read More