Skip to main content
M

dsh-btw

michengai/dsh-btw

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.

Install

dsh plugin --profile web add github:michengai/dsh-btw

README

DSH BTW

DSH BTW

Ask a side question in DeepSeek Harness. Answers only, no tool execution.

简体中文 · Screenshots · Installation · Usage · Changelog · Apache-2.0

License: Apache-2.0 DSH Web Plugin Node.js 22+

DSH BTW is a community-maintained DeepSeek Harness plugin, not an official DeepSeek AI product. Type /btw your question in the current conversation to get a context-aware answer in an independent bubble without interrupting the main task. Supports DSH Web and desktop apps that include DSH Web.

Features

  • Context-aware questions: explain concepts, recap conclusions, or ask a quick question about the current conversation.
  • Answers only: no reading new files, browsing the web, running commands, or editing code.
  • Independent answer bubbles: render Markdown, copy answers, collapse, expand, and close individual bubbles. Multiple answers can stay visible.
  • Keep the main task going: side questions are answered separately and do not add answers to the main conversation.
  • Cancel anytime: close a bubble while it is answering to cancel that question.
  • Themes and languages: follow DSH light and dark themes and switch between Chinese and English UI.

Screenshots

Side questions in stock DSH

The main conversation stays in place, with the side answer above the composer.

A BTW answer bubble in the stock DSH conversation

Command menu

Type / and select btw under Commands, or enter /btw your question directly.

The official command menu with btw

Independent answer bubbles

Each answer has its own copy, collapse or expand, and close controls in the upper right.

Multiple answer bubbles with copy, collapse, and close controls

DSH product ecosystem

For a desktop workbench, download DSH Codex Desktop. Existing DeepSeek Harness installations can add plugins as needed by following each project's README. Below are 11 first-party plugins; consult the corresponding desktop release notes and bundled catalog for what that version includes.

PluginWhat you can do
Codex UIOrganize projects and conversations, search tasks, and navigate chat turns
Agency AgentsChoose and summon specialists for your task
Skills ManagerFind, enable, create, and import local skills
Archive ManagerSearch, restore, or clean up archived conversations
IM ConnectSend tasks and receive replies through messaging platforms
AutomationSchedule tasks and review each run
BTWAsk side questions without interrupting the main task
SimplifyUse /simplify to improve code within your Git changes
PUAGuide the Agent to try new approaches after failures, investigate causes, and verify results before completion
Code ReviewUse /review to request an independent Agent code review and receive the report in the current conversation
Codex PetView conversation notifications and respond to tool approvals and questions through a desktop pet

Prerequisites

  • An installed copy of DeepSeek Harness.
  • Host peers accept exactly 0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2.
  • Node.js 22+ and dsh available in your terminal.

Installation

Examples use the web profile; replace it with your target profile. Disable other plugins that provide /btw before installing.

Send the prompt below to any agent that can run terminal commands on your computer. Replace web with your actual profile. Once installed, use the plugin in DSH.

Install the DSH plugin @michengai/dsh-btw into my local web profile by running: dsh plugin --profile web add @michengai/dsh-btw@latest --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm the configuration includes michengai-btw, and explain how to reload DSH and start using the plugin.

Install manually from npm

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8

dsh plugin --profile web add @michengai/dsh-btw@latest --registry=https://registry.npmjs.org/

Reloading

Install or update after current tasks finish, as desktop apps may reload automatically. If the change has not taken effect, use the desktop app's reload action or restart the dsh web service. Refreshing the browser alone is not enough.

Usage

Ask about selected text

Select text within a single conversation message, choose Ask BTW from the compact selection toolbar, and enter a question or choose Explain this. Enter sends, Shift+Enter inserts a newline, and Esc cancels. Answers use the existing BTW bubbles with an expandable quote.

  • Supports prose, lists, and code text; quotes are limited to 8,000 UTF-16 code units including whitespace and are never silently truncated.
  • The quote is frozen when the menu opens. Other context comes from completed main-chat content at send time.
  • Main-composer drafts are preserved. Cross-message selections, editable fields, and tool output do not show the menu.
  • Add to conversation appends a quote to the existing draft without sending. After insertion, focus returns to the composer; insertion is blocked while a message is being submitted. Right-click keeps the browser's native menu.
  • Keyboard selection is supported inside focused message elements: release Shift to focus the toolbar. Browsers without the Popover API use a fixed-position fallback, which may be clipped by the host layout.
  • Coexists with dsh-better-sidebar: BTW handles conversation text only; file previews and editors retain the sidebar plugin's own Add to conversation action without a duplicate toolbar.
  • This entry uses host DOM markers and has been verified in DSH 0.1.5-rc.2 with Edge, including the selection toolbar, draft insertion, question form, and a real-model answer. Unrecognized layouts keep their normal context menu; /btw remains available.

Command entry

In a conversation with existing context, enter:

/btw Summarize the proposed plan in one sentence.
GoalAction
Ask a side questionSubmit /btw your question, or choose btw from the / menu.
Read the answerWait for the answer in the independent bubble above the composer.
Copy an answerClick the copy icon in the bubble's upper right.
Collapse or expandClick the collapse or expand icon.
Cancel a questionClose its bubble while it is running. The main task is unaffected.
Dismiss an answerClose the completed bubble.
Ask againSubmit another /btw question. Each question is independent.

Use the regular conversation to run commands, edit code, or continue the main task. BTW can only answer using existing context.

BTW accepts text only. Side questions with images or files are rejected without clearing the draft or attachments; remove the attachments before retrying.

Usage Notes

  • Each question is independent and uses completed content from the main conversation at the time you ask. It does not include an answer still being generated or previous side questions.
  • Bubbles are not restored after refreshing the page. Copy any answers you want to keep first.

Uninstallation

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8

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

Reload DSH afterward. Disabling or updating the plugin does not delete the main conversation's records.

Development

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8

npm ci --ignore-scripts
npm run check

npm run check runs type checking, tests, and a build.

Development and builds target 0.1.6-alpha.2. npm run test:compat builds with that baseline and runs the test suite on each of the seven isolated host versions, using a test model adapter. DOM component tests do not replace live-browser acceptance.

Previous manual end-to-end acceptance with Edge and a live DeepSeek model passed on 0.1.5-rc.1: side questions, attachment rejection, copying, collapse/expand, cancellation, and continued parent-session operation. This is not part of npm run test:compat. The selection toolbar, draft insertion, sidebar coexistence, and real-model side answers were subsequently checked on 0.1.5-rc.2; the full end-to-end suite remains pending on that version and the older three versions.

To install from source, run dsh plugin --profile web add . --ignore-scripts from the project directory, then reload DSH.

License

Apache-2.0. Copyright 2026 MichengAI.

Related plugins