Preface¶
When writing follow-up questions in DeepSeek Harness (DSH), the common practice is to manually copy assistant or user messages and add > line by line in the input box to create quotes. If the draft is already half-written, improper replacement or pasting of the entire paragraph can easily overwrite existing content. The community plugin dsh-quote (maintained by naletko) addresses this by allowing you to select a passage of text in the conversation transcript and append it to the Composer as a Markdown blockquote without disturbing the draft you are currently writing. In terms of behavior, the README compares it to Codex’s quoting method—a Quote button appears near the selection, or a keyboard shortcut is used, and the quote block lands after the draft, separated by a blank line.
What is this¶
dsh-quote is a client-side plugin for DSH: in the Web client (the Web view within the Desktop app or a browser session), it formats selectable text in the conversation (both assistant and user messages) as a blockquote and inserts it into the Composer. The plugin has no npm dependencies and no build steps, consisting of a host-side index.js and a browser-side client.js. The current package version is 1.3.3, licensed under MIT (© 2026 Alex Naletko). Directory page: skillhub.cn/plugins/naletko/dsh-quote; Source code: github.com/naletko/dsh-quote.
Core Features¶
Below are the capabilities described in the README that align with the implementation details.
Quoting and Draft Protection¶
- Select one or more passages of text in the conversation.
- Click Quote next to the selection, or press the default shortcut (see the next section).
- The insertion result looks like:
> first line of the quoted text
> second line of the quoted text
There will be a blank line between the quote and the existing draft; the quote is appended to the end of the draft and will not replace the entire input with the selection. The insertion prioritizes the Composer’s native captureInsertion() / insertText() to form a single undoable edit; if that path is unavailable, it reads back the current draft and appends the quote to the end, ensuring the plugin does not overwrite content you have already entered.
Shortcuts and Buttons¶
| Platform | Default Shortcut |
|---|---|
| Windows, Linux | Ctrl+Shift+. |
| macOS | Cmd+Shift+. |
In settings, it is stored as the portable chord Mod+Shift+. (Mod is Ctrl on Windows/Linux and Cmd on macOS). You can re-record the shortcut in the plugin settings card; letter keys are matched by physical key codes, ensuring recognition even on non-Latin keyboard layouts.
The Quote button disappears when the selection collapses, on clicking empty space, Esc, scrolling, window resizing, tab switching, or session changes. Selections within input, textarea, contenteditable (including the Composer itself) are ignored to prevent accidental triggers.
Text and Interface¶
Selections are trimmed, CRLF is normalized, consecutive empty lines collapse into a single > line in the quote, and the length is limited by “Maximum quote length” (default 4000 characters, adjustable 200–20000). The button and settings card use DSH design tokens (--dsw-alias-*) and support light/dark themes, prefers-reduced-motion, aria-label, and focus rings. The interface language follows document.documentElement.lang (ru* for Russian, English otherwise).
Privacy and Local Configuration¶
The plugin declares no outbound network activity (the host only provides local configuration routes); selected text is formatted and written to the Composer solely within the browser, with no uploads or telemetry. Configuration is read and written via GET/POST /api/dsh-quote/config and persisted as dsh-quote-config.json in the DSH home directory (~/.dsh if $DSH_HOME is not set); the browser side keeps a copy in localStorage so the Composer can read settings on first render. This API only accepts requests clearly originating from the loopback and rejects request bodies larger than 16 KiB.
Installation and Activation¶
Installation depends on how you use DSH; commands and steps are from the project README.
Desktop App¶
- Open Plugins.
- Select Add plugin, enter
dsh-quote(or the absolute path of a local checkout). - Turn on the bundle if it is disabled by default; the settings card appears on that plugin’s page.
CLI¶
dsh plugin --profile web add dsh-quote
Example for local directory installation:
dsh plugin --profile web add /absolute/path/to/dsh-quote
For deployment environments without a plugin manager, the README provides a manual addition spec: github:naletko/dsh-quote (via Plugins → Add plugin).
Environment and Compatibility¶
- DeepSeek Harness core 0.2.1-rc.2 is recommended (Web client); the manifest also accepts earlier
0.2.x. - Uses the
conversation.input.rightslot (list position), deliberately avoidingconversation.input.activityto prevent crowding out voice plugin microphones. - Supports Windows, macOS, Linux; no npm dependencies, no bundler, no build steps.
The plugin runs with the permissions of the current DSH process; please review the source code and MIT license before installation to ensure compliance with your security and compliance requirements.
Typical Usage¶
Following the installation and activation above, daily usage can follow these three steps to reproduce the README’s flow:
- Select content in the conversation—it can be a paragraph, a whole message, or multiple messages.
- Click Quote or press the shortcut.
- The blockquote appears in the Composer; the original draft remains unchanged, and you can continue typing below the quote.
The README provides a typical scenario: select a paragraph in a response you disagree with, quote it, and then continue writing a rebuttal or follow-up question.
Settings¶
Open the settings card via the plugin’s page in Plugins or by clicking Configure on the list row; the card contains a live preview consistent with the insertion result.
| Setting | Default | Effect |
|---|---|---|
| Enable quoting | On | Disables the button and shortcut without uninstalling the plugin |
| Add an attribution line | Off | Appends a line > — quote after the quote (> — цитата in Russian environments) |
| Maximum quote length | 4000 |
Maximum number of characters retained from the selection |
| Keyboard shortcut | Mod+Shift+. |
Press the desired combination after clicking the field; Restore default reverts to the default |
Updates and Self-Testing¶
In Desktop versions with a plugin manager, Settings → Plugins → Quote’s Updates can compare the GitHub main branch with the installed version and update with one click; a page reload is required after updating, and if the version hasn’t changed, an app restart might be necessary (the host side loads only at startup).
Developers can run the following in the cloned directory (README From source / Tests sections, not involving installation registration with DSH):
node --check index.js client.js
node test/metadata-check.mjs
node test/quote-logic-check.mjs
Conclusion¶
dsh-quote solves the specific interaction problem of “select in conversation to quote, without losing the Composer draft.” It is suitable for developers who frequently respond to model output paragraph by paragraph in DSH and require Markdown blockquote formatting. The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub plugin directory is a community site with no official affiliation with DeepSeek or High-Flyer. For further details on implementation and privacy, see the GitHub repository: https://github.com/naletko/dsh-quote.