hardes11/dsh-squeeze-command ↗★ 0
dsh-squeeze-command
Manual budget-targeted context compression for DeepSeek Harness: the conversation model picks ranges, a cheap flash-tier route writes the checkpoint summaries.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
contextBudgetTokens | — (required for bare /squeeze) | target for bare invocation |
summarizerProvider | — (required) | provider key for the summary route |
summarizerModel | — (required) | model id for the summary route |
summarizerReasoningEffort | null | effort pin for summarizer calls; pin e.g. low only if the route's effort map declares it |
summarizerConcurrency | 5 | max parallel summarizer calls |
maxSpanInputTokens | 30000 | per-span summarizer input cap |
maxSummaryTokens | 2048 | per-summary output cap |
minSpanTokens | 200 | span floor worth a checkpoint |
maxSnapSteps | 5 | balanced-edge snap budget |
Invalid values (zero, negative, non-integer) fail at plugin load with a named-field error, not at squeeze time.
The summarizer route should be a cheap, fast model — a flash-tier model is the sweet spot: dense summarization is not reasoning-heavy work, and spans run in parallel. The plugin is provider-neutral; any route registered in your DSH settings works.