Foreword¶
When running long sessions in DeepSeek Harness (DSH), you often want to ask a temporary question: what is the relationship between a certain segment of the conversation and compaction or tool results? If you send the question directly to the main conversation, the Q&A enters the transcript, and the model will see it in the next turn, which both consumes context and may interfere with the pacing of the main task.
Subagents take a different path: a complete tool surface with an empty context. The community plugin @andrewhmir/dsh-btw (maintainer andrewhmir, category: client) provides the opposite combination: it carries the full conversation context already committed in the current session, but does not attach tools and does not write history. Answers stream inside an overlay; once closed, no trace remains in the session.
What Is This¶
@andrewhmir/dsh-btw is an unofficial community plugin for DeepSeek Harness that adds a gesture to the Web GUI input box: type /btw <question> in the composer, or select the corresponding item in the / menu. A single call corresponds to one tool-less LLM request that uses the provider / model / reasoning effort routed for the current session; apart from provider-side billing, the Q&A content is not persisted by design.
Catalog page: https://www.skillhub.cn/plugins/andrewhmir/dsh-btw
Source code and documentation: https://github.com/andrewhmir/dsh-btw
Core Capabilities (consistent with the README behavior table)¶
| Dimension | Behavior |
|---|---|
| Invocation | /btw <question>, or the / menu |
| Context | The full conversation already committed in the current session |
| Tools | No tool schema, no tool history |
| Answer | Streamed into an overlay on the app frame |
| Dismiss | Space, Enter, Escape, or the close button / background |
| Persistence | Does not enter the session history |
| Concurrency | Still available while the main turn is streaming, and does not interrupt the main turn |
| Shape | Single Q&A; no multi-turn follow-up inside the overlay |
Contrast with “subagent” (README original intent): a subagent has a complete tool surface with empty context; /btw has the full conversation context with no tools.
Implementation highlights (to clarify the boundaries):
- It deliberately does not register
/btwin the host command directory, so durable logs such ascommand/rundo not enter history; instead, the client half registers the'/'input trigger source, preempts/btw <question>during adjudication, and issuesPOST /btw/ask. - The host half uses
Session.deriveMessages()to snapshot the model-visible history, appends a single side-channel user message, and performs onectx.llm.stream()call with no tools and no separate system prompt; the message prefix is consistent with the parent request so that the provider prompt cache can be reused. - Along this path there is no call to
session.append, the command registry, the agent loop, or the inbox, so the side-channel exchange is contract-level ephemeral;test/e2e/ephemerality-check.mjsscanssession.v*.jsonl.zstdto verify that the Q&A is never written to disk.
Installation and Enabling¶
Requirements: DSH >= 0.2.0-rc.2 and use of the Web GUI (dsh web). The package is a DSH bundle (dsh.bundle.patch, plugin line id: btw). Node.js 22+ is only needed to run the verification scripts; the plugin itself runs inside the harness process.
From the plugin marketplace (requires enabling the DSH custom plugin marketplace and adding a community index containing this package; the repository carries the dsh-plugin GitHub topic): Install @andrewhmir/dsh-btw from Discover.
Via agent:
plugin_manager install_bundle target: @andrewhmir/dsh-btw@0.1.2
From a local directory:
plugin_manager install_bundle target: /absolute/path/to/dsh-btw
After installation you must restart dsh web, then verify the combination:
dsh --profile web --dump-config
The expected exit code is 0, with id: btw / name: @andrewhmir/dsh-btw present and no not found, unknown key, or cannot resolve errors. If only client.js was changed, the client HMR can hot-reload it; changing the host half requires a restart.
Typical Usage¶
Mid-session in the Web GUI, enter something like the following in the composer:
/btw how does the compaction checkpoint interact with the surface?
The answer is rendered as Markdown in the overlay (older shells may fall back to plain text). If the main turn is still streaming, /btw can still be initiated; the snapshot does not include in-progress assistant text that has not yet been committed, and the side-channel sees the history up to the last committed event. If the end of the current turn contains an unfinished tool call, the host trims the uncommitted trailing step to avoid the provider raising “tool calls need immediate results”.
Optional configuration (written into the bundle’s insert line; all values have defaults):
- insert:
- id: btw
name: '@andrewhmir/dsh-btw'
config:
maxTokens: 1200 # completion cap for a single side-channel answer (default 1200)
timeoutMs: 120000 # hard timeout for a single side-channel call (default 120000)
The question may be at most 4000 characters; the request body cap is 32 KiB.
Applicable Scenarios and Caveats¶
Suitable for: quickly verifying context meaning, terminology, or design details inside a long session without polluting the main transcript or the session history used in token metering; when you need a “full context, zero tools” one-off side-channel rather than launching a subagent to run a tool chain.
Known limitations (from the README):
- In-progress partial assistant text is not included in the snapshot.
- Side-channel calls do not appear in the session-log cost panel; costs are reflected in the provider’s billing.
- The invocation and overlay are Web GUI capabilities; although host routing is generic, CLI and other scenarios have no equivalent entry point.
- In this version the overlay text is English (the display metadata contains both Chinese and English).
- If a future harness version ships a built-in host
btwcommand with the same name, it takes precedence over this plugin (host directory is adjudicated before plugin sources). - Single Q&A only; multi-turn continuation is not possible inside the overlay.
Security and trust: the plugin runs with the privileges of the current dsh process and will send a snapshot of the committed history of the current session plus your side-channel question to the provider. Read the source code and the license (MIT) before installation, and evaluate yourself whether to include it in the profile you use. The community catalog has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes that “everything is a plugin”, and this package is a community contribution, not an official release.
Compatibility: engines.dsh is >=0.2.0-rc.2; the README records verification results on 0.2.0-rc.2 and 0.2.1-rc.2 in the repository’s docs/VERIFICATION.md.
Conclusion¶
@andrewhmir/dsh-btw turns “asking a quick side-channel question” into a predictable ephemeral contract: full conversation context, no tools, and no history entry, making it suitable for sideways clarification in the Web GUI without interrupting the main line. For installation steps and behavioral details, refer to the GitHub README; to search for the plugin in the community catalog see https://www.skillhub.cn/plugins/andrewhmir/dsh-btw, and the repository is at https://github.com/andrewhmir/dsh-btw.