Foreword¶
When having long conversations with agents in DeepSeek Harness (DSH), it is often necessary to “extract” a specific reply or user message to serve as context or explanation for the next round of input. Manually copying, pasting into the input box, and reformatting involves multiple steps and can easily get mixed up with other content in the current session.
dsh-add-to-chat is a DSH plugin designed for the Web client: select a piece of text in the chat interface to write it into the Composer as an annotation, rather than opening a separate notepad or switching windows repeatedly. The following introduces its positioning, installation methods, and notes regarding enabling it with profiles.
What is this¶
The maintainer is bosenok. The plugin repository is bosenok/dsh-add-to-chat; the community directory page is the skillhub entry. It is categorized as a client-side plugin.
In one sentence: It allows you to select text in the chat and add it to the Composer as an annotation to participate in subsequent editing and sending.
In terms of implementation, the package’s package.json declares dsh.bundle.patch, and cordis.patch.yml inserts add-to-chat related configurations into the active profile; the client logic is provided by lib/client.js (dsh.client.platform: web). The current package version is 0.1.0, and the license is MIT; it requires DSH version >=0.2.1-rc.2 <0.3.0 (see engines.dsh in package.json).
Core Functions¶
Based on the README and package description, the verified capabilities are as follows:
- Select a segment of conversation text in the chat interface.
- Use the plugin’s client-side capabilities to add the selection to the Composer in the form of an annotation, facilitating the organization of the next message in the input area.
The README does not detail specific menu items or shortcut key names; the typical interaction is “Select text → Trigger add-to-chat capability → Corresponding annotation appears in Composer.” The specific UI depends on the DSH client you are using.
Installation and Activation¶
The installation source is the GitHub repository github:bosenok/dsh-add-to-chat (the README notes that if it is a private repository, you need to configure git access permissions on your local machine).
Desktop App: Open Plugins, install github:bosenok/dsh-add-to-chat, and then enable the corresponding bundle.
CLI (replace <profile> with your profile name):
dsh plugin --profile <profile> add github:bosenok/dsh-add-to-chat
Local Directory (replace the path with the actual path after checking out; task instructions forbid using git clone as an installation step, so if you already have the source directory, use the file protocol):
dsh plugin --profile <profile> add file:/path/to/dsh-add-to-chat
Once the bundle is enabled, the plugin will mount to the running application; Hot Module Replacement (HMR) applies to the running application, but a restart ensures the client side is rebuilt.
Special Note for desktop profile¶
For the application-hosted desktop profile, the following command will only install dependencies and copy the package; it will not automatically enable the bundle:
dsh plugin --profile desktop add github:bosenok/dsh-add-to-chat
You need to add the package name to dsh.profile.bundles in ~/.dsh/profiles/desktop/package.json or manually enable it on the Plugins page. Other profiles generally automatically enable installed bundles after installation.
Typical Usage¶
In a DSH Web client where the bundle is installed and enabled:
- Open a conversation with an agent and drag-select the snippet you want to quote within the message bubble or body text.
- Use the add-to-chat entry mounted by the plugin (the interface depends on the current client) to send the selection to the Composer.
- View the annotation content in the Composer, add instructions or questions, and then send.
This allows “evidence snippets” and “your new questions” to be placed in the same input flow, reducing back-and-forth copying.
Scenarios and Notes¶
Who it is for: Developers or agent builders who frequently perform multi-round debugging in DSH and need to pin a specific sentence or paragraph from historical replies to the next round of input; relies on the Web client (dsh.client.platform: web), not primarily a server-side extension.
Execution and Trust: The plugin executes on the client side along with the current DSH process, using your user privileges. Before installing, it is recommended to read the repository source code and the LICENSE; for third-party dependencies, see THIRD_PARTY_NOTICES.md.
Ecosystem Note: The DSH community plugin directory (such as skillhub.cn) is an independent site and has no official affiliation with DeepSeek / High-Flyer; the installation commands and version information in this article come from the aforementioned README and package.json, and configuration items not appearing in the materials are not speculated upon.
Conclusion¶
dsh-add-to-chat solves the small step of “extracting a segment from the conversation and bringing it into the Composer”: select to annotate, facilitating quoted continuation in long conversations. For installation and discussion, please refer to the Directory Page and the GitHub Repository.