CassiaTw1g/dsh-new-session ↗★ 0

dsh-new-session

给 DeepSeek Harness 的模型一个真正能用的「新开对话」工具:在当前工作区建会话、投递交接消息、带上一段对话的只读引用,并把 Web UI 自动切过去。

包名
dsh-new-session
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年11月5日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CassiaTw1g/dsh-new-session

配置

cordis.patch.yml 里那几行就是全部配置:

- insert:
    - id: new-session
      name: dsh-new-session
      config:
        autoSwitch: true        # 结果落地后自动切到新对话
        referenceCurrent: true  # 自动附加上一段对话的只读引用
        switchDelayMs: 900      # 切换前的停顿(毫秒)
        # toolName: new_conversation

工具参数里的 switch / reference_current 会覆盖单次调用的行为。