tianbaoZeng/dsh-context-window ↗★ 0

dsh-context-window

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

套件
dsh-context-window
相容性
待驗證
Cordis 依賴範圍
>=0.1.0
版本
0.1.0
授權
MIT
最近更新
2026年11月20日

同名套件的其他儲存庫

安裝

$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是否启用自动摘要