Introduction¶
DSH’s plugin system delegates many interactive capabilities to the client. When building conversational tools, it is difficult for the model to locate context when regenerating content, and manually copying the previous context into the prompt is also prone to distortion. The solution provided by dsh-quote-reply is a Claude Code-style quoted reply: select text from a message, write a reply inline, and stack the reply and original text as blocks above the input box, sending them all together at the last step. Below is an introduction to the positioning, features, installation, and usage of this client-side plugin.
What is it¶
dsh-quote-reply is a DSH plugin maintained by GitHub user gf691271, categorized as client-side on the directory page, currently with 0 stars. It solves a specific problem: in desktop or web conversation interfaces, turning selected text from any message into a replyable quote, allowing the new answer and the original quote to be saved simultaneously above the composer, rather than stuffing the entire context into a standard input box. The plugin uses the MIT license, the version recorded in package.json is 1.0.2, it requires DSH 0.2.x, and needs a desktop/web conversation UI.
Core Features¶
- After selecting text in any message, you can click
Quote Text, write a reply in the popup window, and pressEnterto add it. - Each quoted reply forms a 76×76 block: two lines of quoted text, a separator line, and two lines of user reply.
- The text in the composer remains under user control and is appended to the end of the message when sent.
- Existing images in the draft will be sent along with the message.
- The transcript displays the actual quote separator instead of using the
│character for styling. - Interface text follows the application language and supports both Chinese and English.
Installation and Usage¶
The README provides four types of installation entry points; the installation command is as follows:
dsh plugin add dsh-quote-reply
The command above uses npm. You can also use the Plugin Manager: go to Add plugin and select the plugin directory. The Git way is:
plugin_manager install_bundle target: git+https://github.com/gf691271/dsh-quote-reply#<commit>
The Market index way is to add:
https://raw.githubusercontent.com/gf691271/dsh-quote-reply/main/market/index.json
After installation, you also need a DSH 0.2.x desktop or web conversation interface, otherwise the UI container the plugin relies on won’t be present.
Typical Usage¶
- Select a piece of text in any message.
- Click
Quote Text, write a reply in the popup, and pressEnter. - You can repeat steps 1 and 2 to add multiple sets of “quote + reply”.
- Press
Enterin the composer or clickSendto send the added blocks and composer text all at once.
After sending, the quotes in the transcript will be rendered as separators. │ only exists in the storage layer as a line-start marker; users do not see this character itself.
Suitable Scenarios and Notes¶
Suitable for developers using the DSH desktop or web conversation interface who need to ask follow-up questions, annotate, or dissect message fragments. Quoted replies are more concise than fully restating the context and make it easier to preserve the correspondence of “exactly which sentence is being answered.”
A few points to note:
- The plugin runs with the current DSH process permissions; check the source code and license before installing.
- File attachments like PDFs and zip files cannot be sent with the quote; the sending process will stop and a prompt will be given when encountered.
- If the host rejects a single send, the added blocks and composer text will all be retained and not lost.
Conclusion¶
The value of this plugin lies not in adding new model capabilities, but in transforming context quoting in conversations into a client-side interaction that is editable, stackable, and sendable in one go. The directory page and source code are as follows:
- Directory page: https://www.skillhub.cn/plugins/gf691271/dsh-quote-reply
- GitHub: https://github.com/gf691271/dsh-quote-reply