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.

包名
dsh-compaction-selective
兼容性
待验证
Harness 依赖范围
>=0.2.0-rc.2 <0.3.0
版本
0.1.1
许可证
MIT
最近更新
2026年11月10日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DerekZhangbj/dsh-compaction-selective

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.

KeyDefaultMeaning
enabledtrueMaster switch
minShadowedTokens3000Selection floor. Below it the official "summary must be smaller" check rejects the fold, so we reject earlier
maxSurfaceShare0.6Max share of the visible surface one fold may cover
approvalTimeoutMs180000How long the confirmation card waits before counting as "not confirmed"
maxPerTurn1Folds allowed per turn
foldSummarytrueUse the fold-shaped summary template (disable to keep the stock one)