tianbaoZeng/dsh-context-window ↗★ 0

dsh-context-window

DSH plugin: context-window optimizer — token meter, auto-summarisation, file pinning, diff injection and session snapshots

Package
dsh-context-window
Compatibility
Unverified
Cordis peer range
>=0.1.0
Version
0.1.0
License
MIT
Last updated
Nov 20, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tianbaoZeng/dsh-context-window

配置

字段默认值说明
threshold0.80触发自动摘要的用量比例(0..1)
maxPinnedFiles5同时 pin 的文件数上限
windowTokens65536模型上下文窗口大小(仪表分母)
diffTrigger"continue from where we left off"触发 diff 注入的短语(不区分大小写)
snapshotDir".dsh"快照存储目录
autoSummarizetrue是否启用自动摘要