dsh-Context-Drawer: Flush to disk for context-to-threshold, then free model visible space.

dsh-Context-Drawer is a DeepSeek Harness plugin maintained by yue7ye, version 0.1.0, under the MIT license. It does one thing: when the context reaches a threshold (default 50%), it first appends older messages to the archive directory associated with the session (default ~/context-archive/{sessionShort}/{date}.md), flushes to disk, and then releases the oldest finished turns. It retains the last 6 turns, releases a maximum of 40 turns at a time, and stops releasing when approaching 0.45. It does not modify chat records or session logs; the status is written to ~/.dsh/context-drawer/state/state.json. To install, use `dsh plugin --profile <profile> add dsh-context-drawer`.

Read More