ya8d/dsh-directive-compact: Natural Language-Based Context Compression Plugin
`ya8d/dsh-directive-compact` is a natural language compression plugin for DeepSeek Harness (DSH), designed to address the cumbersome issue of manual pruning in long-context model inference. Implemented as a pure incremental add-on, it does not affect upstream configuration and enables precise context control through natural language directives. Its core features include `/compact-directive` (compacting only the middle portion) and `/trim-directive` (trimming the entire conversation), supporting operations such as deletion, rewriting, and summary replacement. Installation is straightforward, though users should back up data before performing destructive operations, and `/trim-directive` may take longer when processing large-scale conversations.
Read More