BTYG123/dsh-memory-ladder ↗★ 0
dsh-memory-ladder
Tiered "sleep" compaction backend for DeepSeek Harness: the newest round owns T/3 of the window, older tiers halve (T/6, T/12, …), and one model-written ladder replaces the shadowed history.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BTYG123/dsh-memory-ladder配置
| 字段 | 默认 | 说明 |
|---|---|---|
newestFraction | 1/3 | 最新一轮的预算占窗口比例,也就是睡眠触发线 |
tierCount | 6 | 阶梯最多描述多少层 |
minTierTokens | 200 | 更深的层级低于此预算就并进归档链接 |
maxSummaryTokens | 8192 | 睡眠请求的输出上限 |
minCompactionTokens | 512 | 可压缩跨度小于此值直接跳过(避免白花一次模型调用) |
summarizationProvider / summarizationModel | 空 | 留空则沿用最近一次路由的 provider/model |
auto | true | false 只保留手动压缩 |