fancyboi999/dsh-newwindows0

dsh-newwindows

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

AI Analysis

核心用途是自动监控并管理长对话的上下文超限问题。适合需要长时间连续对话、防止 Agent 便签无限膨胀并需要硬预算熔断保护的重度用户。

Package
dsh-newwindows
Version
0.1.0
License
Apache-2.0
Last updated
Sep 11, 2026

Install

$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..."滚动到新窗口时默认引导模型继续执行的提示语