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 peer 범위
>=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)