dsh-session-compaction: Visualizing Context Usage and Proactively Triggering Compaction in the Harness Web UI
2026-11-17
DeepSeek Harness plugin
DeepSeek
DSH
dsh-session-compaction
model inference
Context compression
wisyh/dsh-session-compaction provides a floating pressure ball for the DeepSeek Harness Web UI. It displays real-time context occupancy via contextPressure projection with a blue–amber–red color scheme, supports custom thresholds from 30% to 80%, and invokes /compact at the end of a turn without interrupting an in-progress Agent. It reuses the compaction logic from compaction-basic, persisting settings and position in localStorage. Installation requires a git clone followed by dsh plugin add pointing to the local directory. Verified on the built-in Harness in Desktop as of November 2026.
Read More