Preface¶
When engaging in long conversations in DeepSeek Harness (DSH), common practices often include starting a new session if one has doubts about a specific answer, copying the context over to ask again; or continuously asking follow-up questions directly in the main conversation, where answers are inserted in the middle of the text, interrupting the reading flow when reviewing the original transcript. DSH’s ecosystem philosophy is “Everything is a Plugin”—capabilities are extended via client plugins rather than modifying the host core. Below is an introduction to the community plugin DeepSeekBubbleChat (Repository name: BubbleChat, Package name: dsh-client-ui-branch-chat): select a passage of text within the conversation to start a “bubble branch” follow-up in place. Branches share the complete context of the same session, and Q&A is contained within an independent panel, keeping the main transcript intact.
What is this¶
BubbleChat (Branch Chat) is a client UI plugin for DeepSeek Harness, maintained by makima-coder. It is categorized as a workflow-oriented interaction enhancement. The current version is 1.4.1, licensed under MIT, implemented as a single-file browser-side module (lib/client.js) with zero npm runtime dependencies, utilizing React provided by the host.
It transforms “follow-up questions” into an in-place operation on text selections: select any text (either an AI response or your own question) → click the floating “⑂ Open Branch” button → ask a question in a draggable bubble panel. A branch is not a new session: the question is written back to the same session with hidden markers, allowing the model to see the complete context. Once generation is complete, the plugin hides the branch’s turns in the main transcript at the display layer and clones the rendering result into the bubble.
What problems it solves¶
- No need to repeat context: Branches reuse the main conversation’s memory, eliminating the need to copy previous context into a new session.
- No interruption to the main reading flow: Follow-ups and answers remain in the bubble, preventing the main transcript from being interrupted by insert-style Q&A.
- Multi-angle discussion on the same content: Multiple branches can be opened on different or the same selections, with anchors
⑂Nexisting side-by-side. - Need to return to the original text: After closing the bubble, anchor tags remain next to the original text, allowing the branch to be reopened or the location to be highlighted.
Core Features¶
The following capabilities are derived from the plugin’s README and package.json descriptions, and can be selected as needed.
| Feature | Description |
|---|---|
| Branch from Selection | A toolbar appears after selecting text; creating an anchor records the turn, character offset, occurrence sequence, and a fingerprint of 20 characters before and after. |
| Anchor Tags | After closing the bubble, ⑂N (N is the number of branch messages) remains next to the original text; clicking it reopens the branch. |
| Independent Bubble Panel | Draggable and resizable in eight directions; left column width and input area height are draggable, double-click to reset to default; position and size are automatically remembered. |
| Shared Main Memory | Branch questions are written back to the same session, maintaining the model’s full context. |
| Display Layer Isolation | Hides branch turns via the plugin’s exclusive <style id="branch-chat-hide">, without rewriting main transcript DOM node attributes. |
| Full Rendering | Clones the answer DOM from the main session, preserving Markdown, formulas, code highlighting, etc. |
| Precise Location | Multi-path fingerprint and offset attempts, finally validated by Range.toString(); rejects navigation if validation fails. |
| Multi-branch Management | Switch or delete branches (including that branch’s conversation) via the left-side list. |
| Local Persistence | Anchors, conversations, and window states are stored in localStorage (key: dsh-branch-chat/v5). |
Installation and Activation¶
Environment Requirements: DeepSeek Harness 0.2 Preview (Desktop or Web); capable of managing profiles in the “Plugins” panel. Peer dependency @deepseek-ai/cordis ~4.0.4. The plugin declares the platform as Web Client (dsh.client.platform = "web").
The plugin runs with the current DSH process and browser-side permissions. Before installation, it is recommended to browse the repository source code and the MIT license to confirm the source is makima-coder/BubbleChat (Directory Page: SkillHub - DeepSeekBubbleChat). The community directory is an independent site and has no official affiliation with DeepSeek or High-Flyer.
Graphical Interface (Recommended)¶
- Open DeepSeek Harness and go to “Plugins” on the left side;
- Click “Add Plugin”;
- Enter the repository address
https://github.com/makima-coder/BubbleChat, or the absolute path of a local directory; - After installation, enable
dsh-client-ui-branch-chatand restart the application as prompted; - The appearance of a blue
⑂floating button at the bottom right of the conversation input box indicates successful loading.
Command Line¶
# Install from Git repository
dsh plugin add https://github.com/makima-coder/BubbleChat
# Or install from a local directory
dsh plugin add C:\path\to\BubbleChat
A restart of DeepSeek Harness is required after installation. The current DSH version does not support automatic plugin updates; upgrading requires uninstalling and then installing the new version.
When troubleshooting, you can also manually mount it via link: dependencies and bundles in ~/.dsh/profiles/desktop/package.json (see the repository README “Installation Method C” for details).
Typical Usage¶
- In any conversation, select a passage of text and click “⑂ Open Branch”;
- Ask a question in the bubble input box:
Enterto send,Shift + Enterfor a new line; - The answer appears in the bubble, and the corresponding branch turn in the main conversation is hidden;
- Click
×in the top right of the bubble to collapse it;⑂Nnext to the original text can be used to reopen it anytime; ⌂inside the bubble resets window position and size; the circular “Locate” button jumps back to the original text and highlights it;- Use the left list to switch branches, or
×to delete a branch and its conversation.
When sending a branch, the question is wrapped as a marked message (schematic):
⟦Branch·<anchorId>⟧Regarding "<Selected Text>"
<Your Question>
This content genuinely occupies the session context; “invisible in the main conversation” is merely a display layer hiding. Opening many branches in a long conversation will still accumulate tokens.
How it works (Brief)¶
- Anchoring: Text + Turn + Offset + Context Fingerprint + Occurrence Order. Strict validation during location to avoid jumping to the wrong position.
- Answer Capture: Polls for the session to be idle, then finds the answer container in the main transcript by markers, clones the DOM, cleans up procedural nodes, and injects it into the bubble.
- Hiding Turns: Maintains only the plugin’s own CSS selectors to hide “leaf turns”; clearing the styles restores visibility.
During development and debugging, [branch-chat] loaded should appear in the browser console; to reset local state, clear dsh-branch-chat/v5 in localStorage.
Use Cases and Cautions¶
Suitable for: DSH users who want to drill down into specific explanations, code blocks, or design descriptions within a long conversation; or need multiple parallel “margin notes” without maintaining multiple session copies.
Limitations and Risks (Known items from README):
- Depends on DSH client DOM conventions (e.g.,
data-chat-turn); major host version upgrades may require plugin adaptation. - Primarily validated on the same rendering path as the Web client; behavior is consistent on Desktop if it shares the Web client.
- Branch Q&A is genuinely written to the session; if capture fails, it prompts “Answer generated but failed to capture,” and that turn may remain visible in the main conversation.
- State is stored only in the local browser’s
localStorageand is not synced across devices; clearing site data will lose anchors and branches. - Does not currently support branch export, sharing, or renaming.
Conclusion¶
DeepSeekBubbleChat changes follow-up questions in DSH from “starting a new session” or “interrupting the text” to “bubble branches on selections”: the context remains in the same session, the reading flow stays in the main transcript, and margin notes are collected in panels and ⑂N anchors. If you install third-party plugins on the 0.2 preview version, you can obtain the same repository from the directory page or GitHub and install/enable it via the commands above.
- Directory Page: https://www.skillhub.cn/plugins/makima-coder/DeepSeekBubbleChat
- GitHub: https://github.com/makima-coder/BubbleChat