fancyboi999/dsh-newwindows0

dsh-newwindows

Summary-free context window rollover, model-authored notes, and scoped raw history lookup plugin for DeepSeek Harness (DSH)

包名
dsh-newwindows
版本
0.1.0
许可证
Apache-2.0
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fancyboi999/dsh-newwindows

方式 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'

⚙️ 配置选项

插件支持在加载时传入以下可选配置:

配置字段类型默认值说明
autobooleantrue是否启用上下文自动监控与超限折叠
reminderThresholdRationumber0.75预算预警比例(达到 75% 时注入单次整理提示)
overflowThresholdRationumber0.90硬预算熔断比例(达到 90% 时强制触发窗口滚动)
maxNotesnumber30便签存储条目上限,防止 Agent 便签无限膨胀
maxNoteCharsnumber4000便签总字符数上限
seedGoalPromptstring"Continue execution..."滚动到新窗口时默认引导模型继续执行的提示语