Preface

In DSH Web chat, it is often necessary to continue asking questions about a specific portion of text within a message. Copying and pasting repeatedly can disrupt your train of thought, and long passages of original text can fill up the input box. dsh-ui-quote-selection provides a lightweight client-side extension: select text and quote it into the input box with one click, while the full original text is still carried when sending the message.

What Is This

It is a DSH Web client plugin maintained by nekogpt, licensed under MIT. The plugin is designed for DeepSeek Harness Web, addressing the issue of “how to quickly bring selected text from a chat into the next message.”

Core Features

Below are the verified capabilities of the plugin.

  • After selecting a portion of text in DSH Web chat, click “Quote to input box.”
  • The input box only shows a brief quote preview, so it won’t be filled with long passages of original text.
  • The full original text is automatically included when sending the message.
  • The quote tag in the input box only displays the beginning of the original text; hovering over it shows the quoted content.
  • Press the backspace key to delete the quote.
  • Multiple quotes can be added to a single message.
  • The button text follows the DSH interface language, displaying in Chinese or English.
  • The plugin uses DSH’s built-in quoting feature and does not modify DSH core code.

Installation and Activation

This plugin is designed for DeepSeek Harness Web. It has currently been tested on @deepseek-ai/dsh 0.1.0-rc.6.

Installation command:

dsh plugin --profile web add dsh-ui-quote-selection

After installation, restart dsh web and refresh the browser. If it doesn’t take effect immediately, press Ctrl+Shift+R to force refresh.

Typical Usage

  1. Select a portion of text in a user or assistant message.
  2. Click “Quote to input box” next to the selection.
  3. Continue typing your question.
  4. Send the message.

Before sending, the quote tag in the input box only shows the beginning of the original text. Hover over it to view the quoted content, and press backspace to delete it.

Applicable Scenarios and Notes

Suitable for developers who frequently ask follow-up questions, seek explanations, or continue generating content around chat context in DSH Web. It integrates selection, quoting, input, and sending into a single flow, reducing back-and-forth copy-pasting.

Note: As a DSH Web client plugin, it runs within the permission boundaries of the current dsh process. It is recommended to review the source code and license before installation. The current license is MIT, with the main implementation located in lib/client.js.

Regarding the runtime environment, the plugin’s dependency requirements include:

  • peerDependencies requires react ^18.2.0
  • engines requires node >=20

DSH is still in rapid development. If quoting functionality behaves unexpectedly after upgrading DSH, please submit an Issue.

Uninstallation command:

dsh plugin --profile web remove dsh-ui-quote-selection

Restart dsh web after uninstalling.

Links

  • Directory page: https://www.skillhub.cn/plugins/nekogpt/dsh-ui-quote-selection
  • GitHub: https://github.com/nekogpt/dsh-ui-quote-selection