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.

包名
dsh-memory-ladder
兼容性
待验证
Harness 依赖范围
0.2.1-rc.5
Cordis 依赖范围
^4.0.5
版本
0.1.0
许可证
MIT
最近更新
2026年11月4日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BTYG123/dsh-memory-ladder

配置

字段默认说明
newestFraction1/3最新一轮的预算占窗口比例,也就是睡眠触发线
tierCount6阶梯最多描述多少层
minTierTokens200更深的层级低于此预算就并进归档链接
maxSummaryTokens8192睡眠请求的输出上限
minCompactionTokens512可压缩跨度小于此值直接跳过(避免白花一次模型调用)
summarizationProvider / summarizationModel空留空则沿用最近一次路由的 provider/model
autotruefalse 只保留手动压缩