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

ドキュメント

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.

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)