Skip to content

ChenRuoT/dsh-sidebar-qa

90Last commit Aug 15, 2026

dsh-sidebar-qa DSH plugin

dsh-sidebar-qa is a DeepSeek Harness web plugin that lets you select text in any conversation and open a sidebar panel to ask questions. It creates a separate sub-conversation, compresses the main context into a brief summary, and streams the answer in the sidebar, leaving the main conversation untouched.

How to install the dsh-sidebar-qa DSH plugin

dsh plugin --profile web add dsh-sidebar-qa

Copying does not run this command. Review the repository and version before installing the dsh-sidebar-qa DSH plugin.

dsh-sidebar-qa DSH plugin data source

dsh-sidebar-qa DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-sidebar-qa DSH plugin can do

  • Text selection popup with 'Ask' button in any DSH conversation.
  • Creates an independent sub-conversation named ❓追问·<topic> in the same workspace.
  • Compresses context into a short summary (max 3 sentences) using a fast reasoning-light model.
  • Sidebar inline chat with streaming transcript and persistent input box.
  • Nested questioning: you can ask questions within a sub-conversation, generating further sub-conversations.
  • History panel groups all sub-conversations by root session in a hierarchical tree.
  • Configurable through DSH settings (sidebarqa namespace) with optimistic locking.

Where the dsh-sidebar-qa DSH plugin fits

  • Quickly ask clarifying questions about a specific paragraph without derailing the main conversation.
  • Review code or documentation by selecting a snippet and getting targeted explanations.
  • Summarize or extract key points from long assistant responses using side questions.
  • Build a knowledge tree of follow-up questions while keeping the original thread clean.

Who the dsh-sidebar-qa DSH plugin is for

  • DSH users who frequently need to ask follow-up questions during a conversation.
  • Developers reviewing code or documentation in DSH and want to drill into details without losing context.
  • Power users who want to organize nested questions and keep a history of side explorations.

dsh-sidebar-qa DSH plugin limitations

  • Requires dsh-better-sidebar to be installed; otherwise the plugin is inactive with no UI.
  • Only works in the DSH web interface; host changes require restarting dsh web.
  • Depends on specific models (deepseek-v4-flash by default) for summarization and answering; may not work with other providers.
  • Context injection is lossy: old history is compressed to at most 3 sentences, and recent messages are truncated to 400 characters.
  • Summarization failures degrade to a fallback that includes only recent messages, quoted context, and the question.

dsh-sidebar-qa DSH plugin: from the repository README

Quoted from the ChenRuoT/dsh-sidebar-qa README, the upstream source of the dsh-sidebar-qa DSH plugin. Copyright remains with the original authors.

DeepSeek Harness(DSH)Web 插件:在对话里**划选任意文本 → 点击「提问」→ 右侧面板问答**。 基于dsh-better-sidebar开发的第三方拓展Tab页面。实现类codex侧边提问/claude code的/btw功能 插件自动创建一条**同工作区的独立 DSH 会话**(命名 `❓追问·<主题>`),用**快速无思考模型**把主对话上下文压缩成小摘要后与引文一起注入,回答过程**完全不打断主对话**。追问会话在左侧边栏可见、可继续、可归档,并保持与主对话的从属关系(插件自维护映射)。会话先按划选文本首行**占位命名**,待首次回答完成后再用快速无思考模型基于「问题 + 回答」自动提炼最终标题。 ![demo.gif](https://github.com/ChenRuoT/dsh-sidebar-qa/releases/download/v0.1.0/demo.gif) ## 前置依赖(必装) `dsh-better-sidebar` **必须安装**(未安装时本插件**不激活**,无任何 UI/行为,也不创建会话)。 ```bash dsh plugin --profile web add dsh-better-sidebar ``` ## 安装 ```bash # 通过 npm(推荐) dsh plugin --profile web add dsh-sidebar-qa # 或本地路径 dsh plugin --profile web add <本仓库路径> ``` 重启 `dsh web`(host 半改动需要重启;client 改动浏览器硬刷新即可)。 ## 使用 1. 在任意对话(主对话或追问对话)中划选一段文本,点击浮层「提问」。 2. 右侧「追问」面板变成一条**内嵌对话**:引文/问题在侧边栏内流式回答,输入框固定在下方面板底部,**不会跳转到子对话大窗口**。 3. 回答过程中可在输入框继续追问(Enter 发送、Shift+Enter 换行),所有问答都在侧边栏内完成。 4. 每个追问仍是同工作区的独立会话(`❓追问·<主题>`),主对话零打断;追问可以**嵌套**(在追问对话里再划选提问会生成新的子追问)。 5. 侧边栏「追问记录」tab 按根(主)会话分组,以分层树列出所有(嵌套)追问,点击跳转。 ## 配置 配置走 DSH 设置服务 `sidebarqa` 命名空间(settings.yaml 或设置页)。**Web 界面入口**:DSH 设置 → 侧边卡片 → 「追问」卡片右上角的齿轮「功能配置」弹窗(由 dsh-better-sidebar v0.12+ 的 `settings.render` 提供),可逐项编辑下表字段——文本行 blur/Enter 提交,数

Read the full READMERepository license: MIT

dsh-sidebar-qa DSH plugin questions

How do I install dsh-sidebar-qa?

First, ensure you have dsh-better-sidebar installed (run `dsh plugin --profile web add dsh-better-sidebar`). Then install dsh-sidebar-qa with `dsh plugin --profile web add dsh-sidebar-qa`. After installation, restart dsh web (if host changes) or hard refresh your browser (if client changes).

Why is the plugin not showing any UI after installation?

The plugin requires dsh-better-sidebar to be installed and activated. If dsh-better-sidebar is missing, dsh-sidebar-qa will remain inactive with no UI or behavior. Run `dsh plugin --profile web list` to check if both plugins are installed.

Can I customize the models used for summarization and answering?

Yes. Go to DSH Settings → Sidebar card → click the gear icon on the '追问' card (requires dsh-better-sidebar v0.12+). There you can edit fields like summarizeProvider, answerProvider, summarizeModel, and answerModel. Blur or press Enter to submit; numeric fields are clamped to valid ranges.

Does the plugin affect the main conversation?

No. The plugin creates a separate sub-conversation in the same workspace, named with a prefix. The main conversation is never interrupted. The sub-conversation only carries a compressed summary of the main context (first message) and subsequent messages within it are self-contained.

Can I ask a question about a previous sub-conversation?

Yes. You can select text in any conversation (including sub-conversations) and click 'Ask'. This will create another nested sub-conversation under the root session. The history panel shows all nested questions in a hierarchical tree organized by root conversation.