Skip to content

Releases: sxwer001/dsh-context-control

v0.1.2 — Context control for DSH 0.2.0-rc.2

Choose a tag to compare

@sxwer001 sxwer001 released this 12 Oct 06:47

DeepSeek Harness 上下文用量与压缩插件,适配 DSH 0.2.0-rc.2 / Node.js ≥22.19。

  • 模型选择器旁显示上下文用量环和紧凑数字。
  • 默认 400,000 有效字符自动压缩,可自定义阈值、关闭自动压缩或手动压缩。
  • 保留用户要求和近期工作,支持分页回查被压缩的原始记录。
  • 面板通过原生认证 RPC 静默操作,不再增加聊天 JSON 命令记录。
  • 设置展开和收起采用 200ms 过渡,并尊重减少动画设置。

下载 dsh-context-control-0.1.2.tgz,在 DSH 插件管理中安装本地包;也可使用 CLI:

dsh plugin --profile web add https://github.com/sxwer001/dsh-context-control/releases/download/v0.1.2/dsh-context-control-0.1.2.tgz

桌面用户也可以完整退出 DSH 后,用安装目录内的官方 resources/runtime/cli/bin/dsh.cmd plugin --profile desktop add <包路径> 安装。

验证:21 项自动化检查通过;原生 Web 界面验证静默查询、手动按钮和高度过渡。此前 0.1.1 在实际桌面模型会话中验证了同一压缩实现的自动、手动压缩和原文恢复;两次压缩后均正确回忆测试标记及约束。

摘要会调用会话的模型,产生正常模型用量。摘要是有损压缩,原文回查降低遗漏风险;本版本不保证工作质量完全不受影响,也不宣称已证明账单节省比例。其他 DSH 版本需重新适配验证。

English: compact context usage panel, configurable character-based automatic compaction, manual compaction and recoverable original history. Targets DSH 0.2.0-rc.2. Host packages are optional peers supplied by DSH; no build scripts are required. See README and THIRD_PARTY_NOTICES for usage and upstream attribution.