DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

btw-pro

l

btw-pro

Manifest valid

/btw Bypass Q&A: Answers a question based on the current context without interrupting the current session (including during streaming output). The answer is displayed in the main session as a "Bypass Answer" command result line, without entering the main model context.

UI (client)

btw-pro

安装(Install)

需要 DSH(DeepSeek Harness)与 web profile(dsh web):

# 1. 安装插件(pnpm git 依赖)
dsh plugin --profile web add github:lzxcs/btw-pro
# 2. 在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加注入块:
- insert:
    - id: btw-pro
      name: 'btw-pro'
# 3. 重启 DSH Web(托盘菜单 → DSH Web 重启),浏览器 Ctrl+F5 刷新页面

卸载:dsh plugin --profile web remove btw-pro,并删掉 cordis.patch.yml 中的注入块。

/btw <问题> 旁路问答插件:在不打断当前会话(含正在流式输出/思考中)的前提下,基于当前上下文回答你顺手想问的问题。

用法

在对话输入框输入:

/btw 这个函数在做什么?
  • 宿主侧立即渲染主会话进行中轮次的快照(截至调用时刻,含字节预算截断与"不可信数据"标注),fork 一个子会话携带快照 + 问题回答;
  • 子会话完成后,答案以普通命令结果行(command/run + command/done 配对,名字「旁答」)追加到主会话,不进入主模型上下文;使用 harness 已知事件类型,历史重放在任何构建上均安全;
  • 完整过程保存在子会话(侧栏会话列表可见,标题 btw <问题>),主会话行文本超 16384 字符时截断并提示。

配置

在 profile 的 cordis.patch.yml 该行内可选:

- id: btw-pro
  name: 'btw-pro'
  config:
    provider: fork          # 子代理 provider 名(默认 fork)
    maxSnapshotBytes: 32768 # 快照 UTF-8 字节预算(默认 32768;≤0 时报错)
    persona: '旁答助手'     # 可选子代理 persona

组件

  • lib/index.js — 宿主侧:/btw 命令(commands)、快照渲染、fork 编排、答案命令行追加。
  • lib/client.js — 浏览器侧:兼容旧日志的 btw-answer 聊天节点卡片(conversation.chat.node),打开子会话走 sessions.open;新版本不再写该事件。
  • tools/repair-ignorable.mjs — 一次性修复脚本:给旧版本写入的 btw/answer 事件补 ignorable: true 信封标记,使历史日志可在不识别该类型的 harness 上加载(自动备份,只改写含该事件的 frame)。

卸载

删除 cordis.patch.yml 中的 btw-pro 块,然后:

pnpm remove btw-pro

Comments

Loading…

Similar plugins

dsh-btw-plugin

by JasonQQ

Codex-style /btw command for DeepSeek Harness: side questions answered in a conversation-seeded subagent context, without polluting the main context

Sessions & MessagesWorkflow & AutomationManifest valid

★ 3

JavaScript

Oct 1, 2026

dsh plugin --profile web add @jasonqq/dsh-btw-plugin

by MichengAI

Adds /btw for one-off, context-aware side questions without tool execution, with independent answer bubbles that can be copied, collapsed, or closed without adding answers to the main conversation.

Sessions & MessagesManifest valid

★ 16

↓ 3.8k/wk

Apache-2.0

TypeScript

Oct 10, 2026

dsh plugin --profile web add @michengai/dsh-btw

by iyllyt

个人很喜欢 Claude Code 的 /btw,于是为 DSH 做了复刻:共享当前上下文快速旁路提问,不中断主任务,也不写入主会话历史。

Tools & CapabilitiesManifest valid

★ 9

↓ 59/wk

MIT

TypeScript

Sep 12, 2026

dsh plugin --profile web add dsh-btw

by 136155330

/btw side-question command for DeepSeek Harness (dsh) — ask a context-aware question, never touch the main conversation

Manifest valid

★ 0

MIT

TypeScript

Aug 19, 2026

dsh plugin --profile web add dsh-btw

by omdsh-dev

DSH 侧会话插件:/side 持续性侧会话(Codex 风格)与 /btw 一次性侧问(Claude 风格)——在临时 fork 中运行、不写入主会话历史;Web UI 右侧链面板内嵌对话,主会话保持不变

Sessions & MessagesManifest valid

★ 15

BSD-3-Clause

TypeScript

Aug 31, 2026

dsh plugin --profile web add @dsh-external/dsh-sidechain

by LuckVd

Side-ask drawer opened from a completed answer's action row: follow-up questions run in an independent, auto-archived session seeded with the prior conversation text (read-only, capped at 48,000 chara

Sessions & MessagesDevelopment & InfrastructureManifest valid

★ 2

↓ 59/wk

MIT

JavaScript

Aug 26, 2026

dsh plugin --profile web add dsh-btw