DeepSeek Harness Sidebar Follow-up Plugin: Creating Independent Follow-up Threads Within Conversations

Introduction

When conducting long conversations in DeepSeek Harness, side questions often branch off from the main thread. Sometimes the answer should stay on the main line, and you need to quote a passage to follow up; other times you just want a quick confirmation without polluting the main conversation, input box, or turn count.

The dsh-follow-up plugin provides two non-interfering follow-up paths starting from the same selection: one inserts the selected text into the input box as a native reference chip, and the other creates an independent follow-up thread in a white floating panel with streaming output that never touches the main session.

Plugin Positioning

This is a client-side plugin developed by HYLZJU. It extends the interaction capabilities of DeepSeek Harness, allowing users to follow up on selected content or open new topics without interrupting the main conversation.

Core Features

Frontal Follow-up: Reference into the Input Box

After selecting text in a message, two actions appear: “Frontal Follow-up” and “Lateral Follow-up.”

“Frontal Follow-up” inserts the selected text into the input box as a native reference chip. It is a native reference node, just like @file / @conversation in DSH, using the same icon and theme color scheme. You can select multiple passages repeatedly to insert multiple chips. Then type your follow-up question and send it normally—the Q&A remains as a regular turn in the main conversation. The chip only prepares a draft; it does not auto-send.

Lateral Follow-up: White Floating Panel

“Lateral Follow-up” opens a floating window with a pure white background. On first open, it occupies approximately 80% of the current window’s width and height, centered.

The content inside the floating panel is divided into two parts: a read-only background displaying the selected text + the currently visible main conversation. After asking a question, the answer appears via streaming. The same panel supports consecutive follow-ups, retaining the Q&A history of the current thread. A new selection can open a new topic tag with +, keeping them independent.

The panel supports dragging and resizing: drag the title bar to move; drag the right edge to change width, the bottom edge to change height, or the bottom-right corner to change both (minimum 340×280). Position and size are remembered. The model selector defaults to the dsh route and remembers the last selection.

The entire process does not write to the main session, does not call submit, and does not occupy the input box; closing the panel ends the thread.

Installation & Enablement

Local development directory:

dsh plugin --profile web add link:/path/to/dsh-follow-up

Install from GitHub (pinned commit):

dsh plugin --profile web add "github:HYLZJU/dsh-follow-up#<commit>"

After installation, you need to restart the Web host and refresh the page: the host will register two routes, and the browser will register the selection actions and the panel.

Typical Usage

Frontal Follow-up

  1. Select text in a message.
  2. Click “Frontal Follow-up.”
  3. A Frontal Follow-up reference chip appears in the input box; repeat for multiple selections.
  4. Type your question after the chip and press Enter to send.

Lateral Follow-up

  1. Select text and click “Lateral Follow-up.”
  2. Type a question and press Enter; the answer appears via streaming.
  3. Continue asking within the same tag—history is included with each request; use + with the current selection to open a new topic.
  4. Drag the title bar to move; drag the right edge / bottom edge / bottom-right corner to resize; click × to close.

Implementation & Limitations

The plugin registers selection actions via ctx.uiConversation.interactions.register and uses a private @ reference source follow_up to handle native reference chips. The floating panel is mounted to document.body via conversation.input.dock + ReactDOM.createPortal.

Streaming responses are implemented through POST /api/dsh-follow-up/ask → SSE (ctx.llm.stream). The model list is fetched via GET /api/dsh-follow-up/models.

Known limitations include:
- Side-question threads are not persisted; closing the panel discards them.
- The visible conversation is a DOM snapshot—text is read from [data-conversation-scroll] when opening a topic, not a real-time subscription.
- Chip text lives in memory and reverts to label text after a page refresh.
- SSE routes require a host restart to take effect.
- The panel displays all models declared by the host; selecting a model with unconfigured credentials or unreachable network will show a specific error.
- link installation is intended for development; for long-term use, prefer a copy install or a published package.

Use Cases

Suitable for users who need to quickly expand on side questions during a conversation, avoid polluting the main conversation, or reference original text to continue follow-ups. The plugin runs with the current dsh process permissions—review the source code and license before installing.

Summary

dsh-follow-up provides two non-disruptive follow-up methods, making branch management in long conversations clearer. Through native reference chips and a draggable, resizable floating panel, it balances convenience with flexibility.

Plugin directory: https://www.skillhub.cn/plugins/HYLZJU/dsh-follow-up
GitHub: https://github.com/HYLZJU/dsh-follow-up

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye