dsh-ctx-trim: One-click manual compression of session header context
2026-11-07
DeepSeek Harness plugin
DeepSeek
DSH
dsh-ctx-trim
Context compression
DeepSeek Harness plugin
dsh-ctx-trim is a DSH client plugin maintained by AlexSh1ne that adds a "Context" button next to the session title, offering two levels of manual compression: Normal (preserving 30% tokens) and Deep (preserving 10% tokens). The summary is generated locally without invoking the model, with cut points placed at structural boundaries; it guarantees execution only on idle sessions via DSH's public compression transaction and agent.runMaintenance. The article covers installation commands, the two compression levels, summary sources, curl interfaces, security and limitations, compatible versions, and real-world test data.
Read More