ChenRuoT/dsh-sidebar-qa
基于DSH-better-sidebar的侧边栏提问标签页,实现了类Codex的侧边提问或Claude Code的/btw功能。
Project Overview项目介绍
This is a DSH-native web plugin built exclusively for DeepSeek Harness, adding an embedded sidebar question-and-answer workflow to the DSH interface. It lets users select any text within an existing conversation and initiate a new question directly in the right sidebar, without interrupting or changing the state of the main conversation. It replicates the side-question functionality popularized by Codex and Claude Code’s /btw command, and is built as a third-party extension tab for the dsh-better-sidebar plugin. To install it, you can run the DSH CLI command dsh plugin --profile web add dsh-sidebar-qa directly from your terminal.
The plugin is designed for any DSH user who works with code, writing, research papers, or long-form conversations where follow-up questions on specific text snippets are common. The standard workflow starts with selecting a text snippet in your main conversation, then you can choose between two options: click “Add to conversation” to append the selected text as a quote to your current main session input box, or click “Ask Question” to open the sidebar and create a separate question session. All interactions for the follow-up question happen within the sidebar, so your main conversation flow stays undisturbed. Nested follow-up questions are also supported, letting you ask questions about previous answers in the same sidebar.
The plugin is released under the permissive MIT open source license, so you can use, modify, and distribute it freely per the license terms. Before installing this plugin, you must first install the dsh-better-sidebar dependency plugin, which requires at least version 0.16.0, and your base DSH installation must be version 0.1.2-alpha.1 or newer; if these version requirements are not met, the plugin will not activate at all. After installing via the DSH CLI, you will need to restart the dsh web process to load the plugin. The interface natively supports both English and Chinese, and automatically switches to match your existing DSH language preference.
这是一个专为 DeepSeek Harness (DSH) Web 开发的原生插件,为 DSH 增加侧边问答功能,支持用户在对话中划选任意文本后直接在右侧侧边栏发起提问,不会打断主对话流程,实现了类似 Codex 侧边提问、Claude Code /btw 的功能。它作为 dsh-better-sidebar 的第三方拓展 Tab 开发,通过官方 API 注册,安装后即可直接使用。
日常使用 DSH 进行开发、写作、文献阅读的用户都可以使用这个插件,典型工作流是在主对话中划选需要提问的文本,点击浮层的「提问」按钮后,侧边栏会自动展开并创建独立的同工作区会话,所有问答都在侧边栏内完成,主对话不受任何影响。用户也可以选择「添加到对话」按钮,直接把划选文本追加到当前主会话的输入框,满足不同场景的使用需求。
该插件遵循 MIT 许可协议,使用前必须先安装版本不低于 0.16.0 的 dsh-better-sidebar 依赖插件,同时要求宿主 DSH 版本不低于 0.1.2-alpha.1,否则插件会静默不激活。你可以通过 DSH 官方 CLI 命令安装,安装完成后需要重启 dsh web,界面支持中英双语,跟随 DSH 的语言设置自动切换。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-sidebar-qa(ChenRuoT/dsh-sidebar-qa)
仓库:https://github.com/ChenRuoT/dsh-sidebar-qa
本站详情页:https://www.yhbd.top/plugins/chenruot-dsh-sidebar-qa/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 46 · 最近提交 2026-09-29 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 46 stars - an early-stage project星标 46,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-sidebar-qa
把 ChenRuoT/dsh-sidebar-qa 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-sidebar-qa
划选提问 添加到对话 上下文摘要 嵌套追问 追问记录 零打断 中英双语DeepSeek Harness(DSH)Web 插件:在对话里划选任意文本 → 点击「提问」→ 右侧面板问答——
自动创建同工作区的独立 DSH 会话,主对话零打断。实现类 codex 侧边提问 / Claude Code `/btw` 功能。
✨ 功能一览
- 📝 划选提问:对话中划选任意文本 → 浮层「提问」→ 右侧面板内嵌问答,全程不跳转大窗口;侧边栏面板收起时也会自动展开,「提问」永远有可见反馈
- 💬 添加到对话:同一个浮层的另一个按钮,把划选文本以
>引用块追加进当前会话的主输入框并聚焦(光标落在引用块下方),不新建会话、不打开侧边栏——想就地接着说的时候用它(issue #11) - 🧠 智能摘要:快速无思考模型把主对话上下文压缩成小摘要,与划选引文一起注入首条消息
- 🔀 三种上下文策略:每次提问可在「全量继承(fork+缓存命中)/ 压缩 / 机械裁切」间切换,面板内选择器 + 配置默认值双入口
- 🔗 独立会话:自动创建同工作区独立 DSH 会话(
❓<主题>),可继续、可归档,主对话零打断 - 🪆 嵌套追问:在追问对话里再划选提问,生成子追问,层层嵌套
- 🗂️ 追问记录:按根(主)会话分层树展示;限定当前工作区;节点可折叠、显示最近访问时间;点击跳转后追问记录 tab 保持开启;已归档/已删除的追问置灰标记状态,可一键从记录中移除(连同整棵子树清理映射,不影响 DSH 侧会话)
- 🏷️ 两段式命名:划选首行占位命名 → 首次回答完成后基于「问题 + 回答」自动提炼 ≤15 字最终标题
- ⚙️ 可配置:摘要/回答模型渠道、思考模式、上下文窗口与预算全部可调——入口是 DSH 设置页 → 左侧导航「追问」(面板注册为
settings.section),也可以直接写settings.yaml的sidebarqa命名空间,两条路写的是同一份配置 - 🌏 中英双语:界面文案与模型侧提示词跟随 DSH 语言设置实时切换(无需刷新,包括已打开 tab 的标题);回答语言跟随你提问/划选的内容,不被界面语言绑架
🔌 只注册进 DSH 自带右侧栏:DSH 0.1.5-alpha.1 及以上自带右侧栏(
@deepseek-ai/dsh-client-ui-sidebar-right),本插件直接注册进它(ctx.sidebarRightTabs/ctx.sidebarRight服务 +sidebar.right.pane.tab与sidebar.right.pane.tab.title席位),无任何额外依赖。dsh-better-sidebar兼容已在 1.0.0 彻底移除。更早的 DSH 上插件仍然激活:划选浮层与「添加到对话」照常可用,只是不注册侧边栏 tab(并记一条console.warn)。
📦 更新记录
1.1.0 - 2026-09-29
修 DSH 0.2.0 上插件整个不加载:DSH 0.2.0 新增了一道启动期 peer 兼容闸——每个 profile bundle 装载前,它 manifest 里每一个 @deepseek-ai/dsh* peer 区间都要满足 semver.satisfies(运行时版本, 区间, { includePrerelease: true }),有一个不满足,这个 bundle 的整个 patch 层被跳过(stderr 一行 dsh: skipping profile bundle …,插件像没装)。本插件 peer 写的 ^0.1.0-rc.8 在 semver 里是「下限 + 天花板」(>=0.1.0-rc.8 <0.2.0-0),而运行时 0.2.0-rc.1 已越过那个天花板,于是每个 0.2.x 宿主上都整层被跳过。现改为纯下限(>=0.1.0-rc.8 / >=0.1.7-alpha.1):新版本上线时插件不会再因版本号变化而整体消失。类型桩同步精确钉到 0.2.0-rc.1 并重新全量校验(client 半源码零改动)。新回归 tests/dsh-compat.spec.ts 在 node 里复刻这道闸门(含「旧区间必须判不兼容」的反向检测器)。host 半改动,升级后需重启 dsh web。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Small-tailqwq/dsh-deep-whale
d-dev0101/open-sea-skin
kingOfSoySauce/dsh-liang-skin
RevolutionLA/dsh-dream-skin
Fishquito7/dsh-skill-mcp-panel
01Virex/dsh-status-rotator
ymh0000123/dsh-theme-endfield
SLin-code/dsh-custom-skin