Introduction¶
When chatting with an Agent in DeepSeek Harness (DSH), the common practice is to copy a segment of the answer, paste it into the input box, and then write something like “this isn’t right” or “please expand”. Multiple pieces of feedback require repeating this process over multiple rounds, or stitching them into a single large block of text, which tends to muddle the context.
dsh-annotate caters to a different rhythm: select text within the assistant’s answer and write a separate note for each selection; the notes first appear as chips above the input box, and finally pressing Enter in the input box merges the draft (if any) with the entire batch of annotations into a single message sent to the Agent. The sections below — installation, usage, and limitations — explain what this plugin can and cannot do.
What This Is¶
dsh-annotate is DSH’s answer annotation plugin, maintained by DWJZ, and categorized as a workflow plugin in the community catalog. It solves the problem of “having multiple comments on the same answer without wanting to split them into multiple user messages”: quotes and comments are staged in the browser before sending, and are emitted with numbering from a fixed template at send time, making it easy for the Agent to respond to each one.
It is not a message anchor and does not provide persistence; the quoted text is written into the message you send, so subsequent turns of the Session and others reading the transcript can still see the content, but the chip list is cleared after a page refresh.
Core Features¶
Selection Annotation¶
Select a passage in the assistant’s answer, and an Annotate button appears next to the selection. Click it to write a note for that passage: Enter saves, Shift+Enter inserts a newline. This can be repeated multiple times; each annotation independently pairs its own quote with its own comment.
Pending List Above the Input Box¶
Unsent annotations line up as chips in a row above the input box, showing the quoted snippet and the comment, and each can be deleted individually. The plugin provides no separate send button; pressing Enter in the input box sends (Shift+Enter still only inserts a newline without sending).
Merged with the Draft into a Single Message¶
You can leave your own text in the input box, or leave it empty. When you press Enter: if there is a draft, the draft content goes first, followed by the annotation batch, as a single message; if the input box is empty, only the annotation batch is sent.
After sending, the annotations are formatted into a numbered English prompt, for example:
Please address each of my annotations on your answer above:
1. Quote: "this step overwrites the original file"
Comment: it should back it up first
2. Quote: "about 3 seconds"
Comment: where does that number come from?
Highlighting (Best Effort)¶
While the selection’s DOM is still live, the plugin highlights the annotated passages on the page using the CSS Custom Highlight API. The highlighting may disappear after the answer is re-rendered (e.g., when streaming finishes or the Session is switched); the chip list is authoritative, and it remains intact until sending.
Installation and Enabling¶
The plugin runs with the permissions of the current DSH process; before installing, it is recommended to browse the GitHub repository source code and the MIT license. The web-side installation command comes from the official README:
# from GitHub
dsh plugin --profile web add github:DWJZ/dsh-annotate
For local development, you can use the link form to attach the checked-out directory to the profile (changes take effect after restart):
# local development (the profile links the checkout, so edits apply on restart)
dsh plugin --profile web add link:/path/to/dsh-annotate
The Desktop app’s desktop profile must be added through the application’s built-in plugin manager; the README does not provide a one-line command equivalent to the web one.
package.json specifies the runtime environment as Node ^22.19 || >=24, and the current published version is 0.1.0.
Typical Usage¶
The steps given in the README can be reproduced directly:
- Select a passage in the assistant’s answer.
- Click Annotate, write a note, and click Save. Repeat steps 1–2 to accumulate more annotations.
- Press Enter in the input box (with or without your own supplementary note).
Following these steps, the Agent receives a single structured annotation request, rather than multiple scattered copy-pasted messages.
Use Cases and Caveats¶
Who it’s for: DSH users who frequently need to do multi-point reviews of the same long answer and want the Agent to respond item by item; it is categorized as a workflow-class enhancement, not storage or conversation management.
Limitations you must be aware of (from the README’s Known limitations):
- The host side (
index.js) is mainly a registration line; the client graph is assembled by the Loader scanning packages that declaredsh.client, and without that lineclient/will not be loaded. - Annotations are not persisted: the chip list is lost after a page refresh (already-sent content remains in the message).
- Highlighting does not survive re-rendering; streaming output or switching Sessions may cause highlights to be misaligned, while the list remains intact.
- You can also annotate while the answer is still streaming, but layout changes may cause the highlight to drift from the original text.
The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub catalog page is a community site with no official affiliation with DeepSeek / High-Flyer (幻方).
Conclusion¶
dsh-annotate collapses “select answer → write notes → send to Agent in one go” into a single fixed-format message, reducing back-and-forth copying. For installation or implementation details, visit the catalog page dwjz/dsh-annotate and the repository github.com/DWJZ/dsh-annotate.