SpookyWaste/dsh-plan-compact-execute ↗★ 1
dsh-plan-compact-execute
Adds a Compact-and-run option to the DSH Web plan-review card: compact the history submitted before the plan, then approve it. 适合需要在批准执行计划前自动压缩历史 Token 占用量的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SpookyWaste/dsh-plan-compact-executeREADME
Read the full README ↗配置
| 字段 | 默认 | 含义 |
|---|---|---|
minShadowedTokens | 2000 | 可压缩区间按路由计价至少要有这么多 token,否则直接批准(宿主记一条日志) |
- id: plan-compact-execute
name: dsh-plan-compact-execute
config:
minShadowedTokens: 4000