songoao25/dsh-auto-compact3

dsh-auto-compact

Enhanced auto-compaction defaults for DeepSeek Harness agent presets

包名
dsh-auto-compact
版本
0.1.0
许可证
MIT
最近更新
2026年8月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:songoao25/dsh-auto-compact

Configuration

All values live in scripts/inject.mjs (the CONFIG_BLOCK). Edit them before running ./install.sh if you want different thresholds. Preview with:

node scripts/inject.mjs --dry-run
KeyDefaultMeaning
thresholdRatio0.75Trigger compaction when estimated usage reaches this fraction of the model context window
retainRatio0.20Keep the most recent fraction of the window verbatim
modelPoliciesPer provider/model overrides