DeepSeek Harness Plugin: dsh-openai-server-compaction

`dsh-openai-server-compaction` is a native plugin for DeepSeek Harness (DSH) that uses server-side, Codex-style compaction logic to automatically manage long conversation contexts and improve token efficiency. It supports automatic triggering based on token pressure, manual compaction, history retention of the most recent 64,000 tokens, and state persistence. To use it, explicitly specify `api: openai-responses` in the route configuration and enable the specific route and trigger threshold in the plugin settings. The plugin relies on `llm-pi-ai` to handle requests, stores its state at the specified path, and is suitable for users who need automatic management of context length.

Read More