iyllyt/dsh-btw1

dsh-btw

Transient /btw side questions for DeepSeek Harness: immediate while the main agent is busy, context-sharing, tool-free, one-shot, cache-aware, and invisible to the main session catalog.

AI 分析

核心用途是提供一个不干扰主会话历史、不占用主Agent队列的即时旁路提问通道。适合在长任务运行期间,需要临时插播提问、查询上下文相关问题的用户。

パッケージ
dsh-btw
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:iyllyt/dsh-btw

ドキュメント

README 全文を読む ↗

使用效果

先在主会话发送至少一条消息,然后在输入框中输入:

/btw 这个错误最可能是什么原因?

DSH 会立即释放输入框,主 Agent 可以继续工作。BTW 回答完成后会显示在输入框正上方。

  • / :滚动长回答
  • Enter / Space / Esc:关闭回答
  • 请求尚未完成时点击 Cancel:中止本次 BTW

面板关闭后,BTW 不会出现在主对话历史、会话侧栏或普通 Session log 中。

配置

bundle 自带以下默认配置:

- insert:
    - id: btw
      name: dsh-btw
      config:
        timeoutMs: 120000
        sidechain:
          mode: private-jsonl
          retentionDays: 7
          maxSessions: 500

如需覆盖默认值,在 $DSH_HOME/profiles/web/cordis.patch.yml 中追加同一个 id: btw 的完整插件行。例如完全禁用 BTW 存档:

- insert:
    - id: btw
      name: dsh-btw
      config:
        timeoutMs: 120000
        sidechain:
          mode: none
          retentionDays: 7
          maxSessions: 500

可配置项:

字段默认值说明
timeoutMs120000Host 侧单次 BTW 超时,单位毫秒
sidechain.modeprivate-jsonlprivate-jsonlmemorynone
sidechain.root$DSH_HOME/btw-sidechains/v1私有 JSONL 的自定义绝对路径
sidechain.retentionDays7文件保留天数
sidechain.maxSessions500最多保留的 sidechain 数量

DSH 的 patch 会替换同一插件行的整个 config,而不是递归合并,所以覆盖时请写出希望保留的全部配置字段。