huohua-dev/dsh-compaction-policy ↗★ 0

dsh-compaction-policy

Global 90% native compaction for DeepSeek Harness: summary-first pressure and reversible integration without extra presets. 适合需要全局管理 DSH 基础实例压缩策略、控制上下文压力的系统管理员。

パッケージ
dsh-compaction-policy
互換性
未検証
Harness ピア範囲
0.2.0-rc.2
Cordis ピア範囲
4.0.4
バージョン
0.2.1
ライセンス
MIT
最終更新
2026/10/03

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:huohua-dev/dsh-compaction-policy

ドキュメント

README 全文を読む ↗

Main output and summary configuration remain separate

The global entry has no basic field, including under config.policy. Each engine keeps its original Basic configuration: summary provider/model, summary output budget, reasoning behavior, automatic enablement, and stock/manual/overflow settings. Configure those at the engine's existing Basic row, not in the global plugin.

Where upstream defaults are used, the 65,536-token summary cap stays intact. Policy headroom 0 does not set the summary cap to zero. The main request's output cap and thinking settings also remain unchanged. Basic's auto: false retains its native semantics: automatic pressure and overflow listeners are off, while manual /compact remains available.