w2829562572-dev/dsh-tool-squeeze ↗★ 1
dsh-tool-squeeze
Content-aware tool output compression for DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:w2829562572-dev/dsh-tool-squeeze说明文档
阅读完整 README ↗Configuration
Defaults:
enabled: true
minTokens: 4000
targetTokens: 6000
maxTokens: 12000
processors:
log: true
json: true
html: true
text: true
preserve:
headLines: 80
tailLines: 120
errors: true
warnings: true
report:
enabled: true
excludeTools: []
retainOriginal: true
Override the installed row in your profile's cordis.patch.yml:
- id: dsh-tool-squeeze
config:
minTokens: 6000
targetTokens: 5000
excludeTools: [database_export]
Set retainOriginal: false only if losing the retrievable formatted original is
acceptable. The compression notice will state that retention is disabled.