tianbaoZeng/dsh-context-window ↗★ 0
dsh-context-window
DSH plugin: context-window optimizer — token meter, auto-summarisation, file pinning, diff injection and session snapshots
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tianbaoZeng/dsh-context-window配置
| 字段 | 默认值 | 说明 |
|---|---|---|
threshold | 0.80 | 触发自动摘要的用量比例(0..1) |
maxPinnedFiles | 5 | 同时 pin 的文件数上限 |
windowTokens | 65536 | 模型上下文窗口大小(仪表分母) |
diffTrigger | "continue from where we left off" | 触发 diff 注入的短语(不区分大小写) |
snapshotDir | ".dsh" | 快照存储目录 |
autoSummarize | true | 是否启用自动摘要 |