dsh-idle-compact: Pre-generate Session Compaction During User Idle Time, Apply with One Click and Eliminate Extra Model Calls
dsh-idle-compact is a workflow plugin written by Arrosam for DeepSeek Harness. When the user leaves, the session is waiting for input, and the context reaches a threshold, it executes the same summarization as /compact within the time window where the KV cache may still be valid, and temporarily stores the results; after returning to the Web UI, the results can be applied with one click via "Apply compaction" without needing to send a new model request. It supports configuring thresholds and idle durations via the Web UI and cordis.patch.yml. Installation: dsh plugin add github:Arrosam/dsh-idle-compact.
Read More