dsh-token-saver
DeepSeek Harness plugin that aggressively saves tokens without affecting task quality: lossless head/tail truncation of tool results (default), grep-result folding, pressure-triggered dsh-compaction-basic delegation, and an LLM-summary CompactionEngine subclass for the aggressive mode. Saves 97.6% of input tokens on an 8-scenario synthetic suite, with all reductions routed through dsh event flow so model-visible = logged stays intact.
Overview
DeepSeek Harness plugin that aggressively saves tokens without affecting task quality: lossless head/tail truncation of tool results (default), grep-result folding, pressure-triggered dsh-compaction-basic delegation, and an LLM-summary CompactionEngine subclass for the aggressive mode. Saves 97.6% of input tokens on an 8-scenario synthetic suite, with all reductions routed through dsh event flow so model-visible = logged stays intact.
Installation
Version compatibility
Independent install test
- Install result
- Incompatible in the tested version
- Tested Harness version
0.2.2-rc.1- Tested plugin version
- Not reported
- Test date
Fallback version
- Fallback test result
- Untested
View dependency version ranges
@deepseek-ai/dsh-compaction>=0.0.1-rc.1 <0.1.0 || >=0.0.1-rc.1 <0.2.0-0
Installation notes
- May run terminal commands