DerekZhangbj/dsh-compaction-selective ↗★ 0
dsh-compaction-selective
Human-directed selective compaction for DeepSeek Harness: fold an explicitly requested span of earlier turns (recent or arbitrary) into one summary, with a mandatory approval prompt and a fold-shaped summary template.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DerekZhangbj/dsh-compaction-selective说明文档
阅读完整 README ↗Configuration
Settings live in ~/.dsh/compaction-selective.json (plugin-owned JSON, edited from the plugin detail
page). Effective config = built-in defaults < config: on the bundle row < settings file.
| Key | Default | Meaning |
|---|---|---|
enabled | true | Master switch |
minShadowedTokens | 3000 | Selection floor. Below it the official "summary must be smaller" check rejects the fold, so we reject earlier |
maxSurfaceShare | 0.6 | Max share of the visible surface one fold may cover |
approvalTimeoutMs | 180000 | How long the confirmation card waits before counting as "not confirmed" |
maxPerTurn | 1 | Folds allowed per turn |
foldSummary | true | Use the fold-shaped summary template (disable to keep the stock one) |