🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI

旁路提问 wszw142857-beep/dsh-command-btw

DeepSeek Harness
wszw142857-beep15 天前有提交已提供中文文档扫描:未发现敏感能力

在会话中插问一句,问答不写入对话历史

30/100
综合分
0
GitHub 星标
—
npm 周下载
—/5
用户评分

数据截至 2026/10/21 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。

安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add wszw142857-beep/dsh-command-btw
该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)

状态速览

判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态
信任档位:已验证
是什么
dsh 原生插件 · chat
装得上吗
本站已在 dsh 0.2.1-rc.2 下真实安装成功
非静态推断
L4 · 真实安装等级说明 →
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
活跃:最近一次提交在 15 天前
档位由哪些信号合成

本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。

验证判据与等级说明 →
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码
v2.7.0
🟢 扫描:未发现敏感能力尚无人工评估
展开查看扫描说明与证据 ↓

静态扫描未发现敏感能力:最多只发网络请求、读取自身元数据或只读文件,未发现执行命令、文件写入或敏感信息读取。

写入剪贴板(不计风险)发起外部网络请求
查看扫描证据(共 3 处,展示前 3 条)
  • 写入剪贴板
    client.js:187
    navigator.clipboard.writeText(text).then(done, () => fallback(text, done))
  • 发起网络请求
    client.js:435
    fetch(`/btw/answer?session=${encodeURIComponent(state.sessionId)}&cancel=1`, { cache: 'no-store' })
  • 发起网络请求
    client.js:642
    fetch(`/btw/answer?session=${encodeURIComponent(sessionId)}`, { cache: 'no-store' })
扫描于 2026/11/4(0 天前) · 范围 入口闭包 + 发布文件清单 · 来源 GitHub 仓库

静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。

给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个

README

由 DeepSeek 最新模型翻译生成
DSH 的 /btw 旁路提问 Claude Code 的 /btw 让你在会话运行期间随时提一个快速问题,且这段问答不会进入会话历史。这个 bundle 把同样的行为带到了 DSH。 它做什么 在输入框输入 /btw <问题>: 1. 读取接收会话的派生历史(session.deriveMessages()),即模型自己看到的那些消息; 2. 用会话当前的 provider/model 路由额外问一个问题,以上述转录为上下文,不带任何工具; 3. 答案作为命令结果返回,渲染在聊天记录中。 问题和答案只记录为仅日志的 command/run 和 command/done 事件,不会追加到模型可见的界面上,因此下一次模型请求不包含它们。 用法 /btw 现在这个项目的抓取流程是什么? /btw What did we change in the parser so far? 智能体运行中也可以提问。空输入会打印用法说明。 限制 - 旁路调用使用会话最近一次 request/header 的路由;尚未发过模型请求的会话回落到 agentDefaultModel。 - 转录上限 24,000 字符(优先保留最新消息),每条工具结果截断到 400 字符,答案上限 1,200 tokens。 - 图片被替换为 [图片];工具结果以文本形式呈现。
展开完整文档(README 剩余 1 节)
DSH 的 /btw 旁路提问

Claude Code 的 /btw 让你在会话运行期间随时提一个快速问题,且这段问答不会进入会话历史。这个 bundle 把同样的行为带到了 DSH。

它做什么

在输入框输入 /btw <问题>:

1. 读取接收会话的派生历史(session.deriveMessages()),即模型自己看到的那些消息;
2. 用会话当前的 provider/model 路由额外问一个问题,以上述转录为上下文,不带任何工具;
3. 答案作为命令结果返回,渲染在聊天记录中。

问题和答案只记录为仅日志的 command/run 和 command/done 事件,不会追加到模型可见的界面上,因此下一次模型请求不包含它们。

用法

/btw 现在这个项目的抓取流程是什么?
/btw What did we change in the parser so far?

智能体运行中也可以提问。空输入会打印用法说明。

限制

- 旁路调用使用会话最近一次 request/header 的路由;尚未发过模型请求的会话回落到 agentDefaultModel。
- 转录上限 24,000 字符(优先保留最新消息),每条工具结果截断到 400 字符,答案上限 1,200 tokens。
- 图片被替换为 [图片];工具结果以文本形式呈现。
- 旁路调用不触发 agent/request,因此不计入 token 统计,也不出现在请求头里。

文件

| 文件 | 作用 |
| index.js | Host 插件:注册 /btw,构建转录,流式返回旁路答案 |
| cordis.patch.yml | bundle patch,插入 btw 行 |
| locale/{en,zh}.json | 插件管理器中的标题与描述 |
| icon.svg | 插件图标 |
| test/btw.test.mjs | Fake-context 单元测试(无需 DSH) |

开发

node test/btw.test.mjs

用 plugin_manager install_bundle 指向本目录安装;bundle 是纯 ESM 包,无构建步骤,不 import 任何 @deepseek-ai/(这些包在 app.asar 内,profile 插件无法解析)。

Claude Code's /btw lets you ask a quick question about the ongoing session
while it works, and the exchange never enters the conversation history. This
bundle brings the same behavior to DSH.

What it does

Typing /btw <question> in the composer:

1. reads the receiving session's derived history (session.deriveMessages()),
i.e. exactly the messages the model itself saw;
2. asks the session's current provider/model route one extra question with a
transcript as context and no tools;
3. returns the answer as the command result, rendered in the chat transcript.

The question and answer are recorded only as log-only command/run and
command/done events. They are not appended to the model-visible surface, so
the next model request does not contain them.

Usage

/btw 现在这个项目的抓取流程是什么?
/btw What did we change in the parser so far?

A question may be asked while the agent is running. Empty input prints usage.

Limits

- The side call uses the route of the session's latest request/header; a
session with no model request yet falls back to agentDefaultModel.
- The transcript is capped at 24,000 characters (newest messages win), each
tool result is capped at 400 characters, and the answer at 1,200 tokens.
- Images are replaced by [图片]; tool results are represented as text.
- The side call does not fire agent/request, so it does not appear in token
accounting or request headers.

Files

| File | Role |
| index.js | Host plugin: registers /btw, builds the transcript, streams the side answer |
| cordis.patch.yml | Bundle patch inserting the btw row |
| locale/{en,zh}.json | Plugin Manager title and description |
| icon.svg | Plugin icon |
| test/btw.test.mjs | Fake-context unit tests (no DSH needed) |

Development

node test/btw.test.mjs

用 plugin_manager install_bundle 指向这个目录即可安装;bundle 是纯 ESM 包,没有构建步骤,也不从 @deepseek-ai/ 导入任何东西(那些包在 app.asar 里,配置档插件解析不到)。
预览分享卡片长什么样 ↓wszw142857-beep/dsh-command-btw
分享 · DeepSeek Harness Hub
wszw142857-beep/dsh-command-btw

在会话中插问一句,问答不写入对话历史

这是你的仓库?认领条目

回到顶部