dsh-quote-to-composer: Select Text in DSH and One-Click Quote into Input Box

Introduction

When asking follow-up questions to the assistant in DeepSeek Harness (DSH), a common practice is to copy a reply or code snippet, paste it into the input box, and ask “What does this mean?” or “Why is this throwing an error?”. This separates the selection and the follow-up into two steps. Furthermore, long content can bloat the input box and lead to ambiguous references.

dsh-quote-to-composer is a client-side plugin maintained by the community. It allows you to select any text in the interface and click “Quote”; the content is then inserted into the input box as a miniature quote bar. Upon sending, the model receives a standard Markdown quote block. The following section details its features, installation methods, and usage.

What is this?

  • Name: dsh-quote-to-composer (npm package name is the same)
  • Maintainer: bigbigman-001
  • Category: Client-side (Pure frontend, no native dependencies)
  • Current Version: 0.9.2 (Subject to GitHub Releases and package.json)
  • License: MIT

The plugin hooks into the DSH conversation and input-related UI without altering server-side logic. Once installed, simply refresh the page to start using it.

Core Features

Quote on Selection

Select text using your mouse within assistant replies, code blocks, tables, sidebar previews, etc. After releasing the mouse, a dark capsule button labeled “Quote” appears to the bottom-right of the pointer. Clicking it inserts the selection into the input box.

Keyboard shortcut: Ctrl+Shift+Q (Uses Ctrl for both Windows and macOS, not Cmd+Shift+Q).

The capsule only appears when you have “released the mouse, actually selected text, and the selection is not within an input box.” It will collapse if you click on empty space, scroll, or press Esc.

Quote Entire Reply

A “Quote this reply” button is added next to the action row of each assistant reply (Copy, Good answer, Bad answer, etc.), allowing you to quote the entire response with a single click.

Mini Quote Bar in Input Box

Instead of inserting a large block of raw text, the plugin inserts a grey, rounded bar approximately 21px high displaying the text “Quote,” matching the line height of the main text. Hovering over it reveals a dark card displaying the full quoted content (preserving line breaks and code formatting).

Quote bars in your draft are preserved after a page refresh, and hovering will still allow you to view the full text.

Sending and Model-Side Formatting

In the user bubble, the quoted portion renders as a quote card. On the model side, it receives a Markdown quote block with > preceding each line:

> Each line of the quoted text

The prompt includes a blank line after the quote block to prevent the subsequent question from being swallowed into the quote block via Markdown lazy continuation.

Miscellaneous

  • Adapts to Dark / Light themes.
  • Compatible with Windows, macOS, and Linux (using the same frontend code).
  • Requires a relatively new Chromium kernel (Electron / Chrome 105+); older kernels will fall back to a solid color style.

Installation and Activation

The plugin runs client-side with the permissions of the current DSH process. Before installing, it is recommended to review the source code and MIT license on the GitHub repository to ensure compliance with your usage environment.

  1. Open DSH and navigate to Plugins on the left side.
  2. Click Add Plugin in the top right corner.
  3. Enter the following in the input field:
github:bigbigman-001/dsh-quote-to-composer

You can check “Use Mainland China Mirror” if the network is slow.

  1. Click Install, then refresh the page.

Method B: Local Directory (Extracted zip)

Download the corresponding platform zip from Releases (e.g., dsh-quote-to-composer-0.9.2-windows.zip or the macOS package), extract it, and follow the instructions in INSTALL-windows.md / INSTALL-macOS.md. In Add Plugin, enter the extracted directory path, e.g., for Windows: D:\plugins\dsh-quote-to-composer, or for macOS: /Users/username/plugins/dsh-quote-to-composer. Refresh after installation.

You can also use the npm package dsh-quote-to-composer-0.9.2.tgz (intended for users familiar with npm).

Method C: Command Line

dsh plugin --profile desktop add github:bigbigman-001/dsh-quote-to-composer

The DSH engine requirement declared in package.json is >=0.1.0.

To uninstall: DSH → Plugins → Installed → Find dsh-quote-to-composer → Uninstall. You can repeat the installation to upgrade or pull a new version.

Typical Usage

Follow these three steps as described in the README:

  1. Select the text to quote → Release the mouse → Click the “Quote” capsule near the pointer (or press Ctrl+Shift+Q, or click “Quote this reply”).
  2. Verify the grey “Quote” bar in the input box; hover over it to check the content.
  3. Continue typing your question and send it normally.

If the capsule does not appear after selection, common reasons include the selection being inside an input box, an actual drag-selection of text not having occurred, or the selection consisting of pure whitespace. If the shortcut is unresponsive, ensure the page has focus first and check for conflicts with other software.

Use Cases and Notes

Suitable for: DSH desktop users who need to make explicit reference-based inquiries regarding specific sentences in replies, code snippets, or table cells; scenarios where you want to keep the input box compact while providing clear contextual quotes to the model upon sending.

Notes:

  • This plugin belongs to the DSH community ecosystem (listed on the directory site SkillHub Plugin Page alongside the GitHub repository). It has no official affiliation with DeepSeek or High-Flyer.
  • It is a pure frontend implementation relying on the browser Selection API and DSH’s inputTriggers and conversation UI mount points. If interfaces change after a major DSH version upgrade, please check for plugin updates.
  • If the model seems not to see the quote after sending, first check if a quote card appears in the user bubble; if not, the quote was not inserted successfully, and you need to retry.

Conclusion

dsh-quote-to-composer consolidates the flow of “Select → Quote → Follow-up” into one continuous operation: appearing as a mini quote bar in the interface and a standard > quote block on the model side. For installation or source code, please visit the SkillHub Directory Page and GitHub: bigbigman-001/dsh-quote-to-composer.

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

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

Xiaoye