fancyboi999/dsh-newwindows ↗★ 0
dsh-newwindows
Summary-free context window rollover, model-authored notes, and scoped raw history lookup plugin for DeepSeek Harness (DSH)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fancyboi999/dsh-newwindows说明文档
阅读完整 README ↗方式 1:通过 Cordis 配置文件挂载 (cordis.patch.yml)
在你的 DSH bundle 配置中声明引入插件:
- insert:
- id: dsh-newwindows
name: '@deepseek-ai/cordis-plugin-group'
group: true
isolate:
newWindows: true
config:
- id: dsh-newwindows-runtime
name: 'dsh-newwindows'
⚙️ 配置选项
插件支持在加载时传入以下可选配置:
| 配置字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
auto | boolean | true | 是否启用上下文自动监控与超限折叠 |
reminderThresholdRatio | number | 0.75 | 预算预警比例(达到 75% 时注入单次整理提示) |
overflowThresholdRatio | number | 0.90 | 硬预算熔断比例(达到 90% 时强制触发窗口滚动) |
maxNotes | number | 30 | 便签存储条目上限,防止 Agent 便签无限膨胀 |
maxNoteChars | number | 4000 | 便签总字符数上限 |
seedGoalPrompt | string | "Continue execution..." | 滚动到新窗口时默认引导模型继续执行的提示语 |