DSH-AnnotateAnything
IdentifiedAnnotate interface elements and send screenshots to conversations in DeepSeek Harness.
DSH AnnotateAnything
A small, unofficial DeepSeek Harness plugin for pointing at interface elements, adding comments, and sending their screenshots into the current conversation. English and Russian UI are included. Licensed under MIT.
What it does
- Adds an Annotate button beside the conversation input.
- Highlights elements under the pointer in the Harness UI.
- Lets you add several comments, then edit or delete them via numbered pins.
- Sends a numbered comment list, CSS selectors, and one cropped PNG per selection.
- Supports selecting page elements inside the Desktop Browser panel when its
Electron
webviewexposesexecuteJavaScriptandcapturePage.
This is a client-side plugin with an empty Host entry point, not a browser extension or a standalone screenshot utility. The pins are UI controls; the attached PNGs are crops, not full-page images with pins painted over them.
Install from GitHub
Once this repository is published, npm publication is not required:
dsh plugin --profile desktop add github:Meatware-Engineering/DSH-AnnotateAnything
For a separately managed Web profile, use --profile web instead. Desktop and Web
profiles have separate plugin installations. If dsh is missing on macOS, use
DeepSeek Harness → Manage dsh Command… → Install in the desktop app.
Open Plugins in the intended profile, enable the AnnotateAnything bundle if
necessary, and reload/restart Harness if the client button does not appear.
The repository includes the generated client.js, so consumers do not need to
build it. private: true prevents accidental npm publication; it does not make
GitHub source private or prevent installation from GitHub.
To work on a local checkout instead:
npm ci
npm run check
dsh plugin --profile desktop add "link:$(pwd)"
Run the last command from this directory. Rebuild and reload Harness after editing. Do not install both a linked copy and a GitHub copy under competing package names.
Use
- Open the conversation you want to send screenshots to.
- Click Annotate, then click a visible interface element.
- Enter a comment and click Add. Repeat for other elements.
- Click a numbered pin to edit/delete its comment.
- Click Send to submit the annotations to the current conversation.
Esc dismisses the current editor, or leaves annotation mode if no editor is open. Close clears pending annotations. Finish or discard annotations before switching conversations. Opening annotation mode again after a guest navigation reinstalls its page selection overlay.
Requirements and limitations
- Requires the Harness Web client, including
slots,locale,conversation,sessions,conversation.input.left, andshell.overlay. - Requires image-draft APIs
conversation.createDraftsandsendSession. Unsupported versions show an error instead of silently sending text only. - React is provided by Harness through its client module loader.
html-to-imageis bundled; no separate capture service or API key is needed. - Desktop guest-page capture relies on Electron APIs. An ordinary browser cannot use those APIs; cross-origin iframe contents are not generally accessible.
- Host screenshots are DOM reconstructions, not OS screenshots. Video, protected content, cross-origin resources, canvas and unusual CSS may not reproduce. Fonts are not embedded. Selected host regions above 2.5 million CSS pixels are rejected; choose a smaller visible element.
- Screenshots are captured when an annotation is added, with a retry on Send if the first capture failed. Keep the selected content visible until it is captured. Navigation, scrolling during a failed capture, and moving elements can invalidate a selection. Remove and reselect it if needed.
- Guest selections operate in the main document, not nested cross-origin frames. Newly opened guest tabs require leaving and re-entering annotation mode.
- If any screenshot fails, sending stops and the annotations stay available.
- This is an early 0.1.0 plugin. No broad Harness version/OS compatibility matrix or end-to-end Desktop certification is claimed.
Privacy
There is no independent analytics backend. Pressing Send submits selected screenshots, comments and element labels/selectors through Harness to the chosen conversation and its configured model provider. They may contain private page content. Inspect selections and avoid passwords, tokens and other secrets. DOM screenshot rendering may request the images/styles used by the selected page. Guest-page metadata is untrusted page content, not instructions to the assistant.
Development and verification
Node.js 22+ is recommended for development. The committed lockfile pins build
packages. The runtime artifact is client.js, loaded via window.__ModuleLoader__.
npm ci
npm run check
npm pack --dry-run
The automated tests cover pure helpers, guest script parsing and package entry points. They are not a real Harness UI test. Before a release, verify in Harness: selection, Add/edit/delete, multiple screenshots, Send, failed capture, Esc/Close, reopening the overlay, guest navigation, and switching conversations. Do not use real secrets in screenshots or send to an unrelated conversation during testing.
Files
src/client.cjs: UI, capture and conversation integration.src/guest.cjs: Browser-panel guest selection scripts.src/lib.cjs: formatting/selector/data-URL helpers.client.js: committed build output.index.js: empty Host plugin.cordis.patch.yml: bundle registration.test/: Node test runner checks.THIRD_PARTY_NOTICES.md: bundled html-to-image MIT notice.
Harness references
GitHub installs are suitable for an early plugin. An npm release is optional and helps later with discoverability and registry-based version updates in Plugin Manager. This repository does not publish to npm automatically.
Comments
Loading…
Similar plugins
by cslkkl
Annotate pages and ask questions inside the existing DeepSeek Harness Browser.
★ 0
MIT
TypeScript
Oct 14, 2026
dsh plugin --profile web add dsh-web-annotatorby HansHuang2683
DeepSeek Harness plugin: select any passage, annotate it in place, and send the quote + your comment with the message.
★ 0
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-quote-annotateby 12138hao
Screenshot directly into the chat composer for DeepSeek Harness — click the scissors, drag a region, the image lands in the input box.
★ 0
MIT
JavaScript
Nov 6, 2026
dsh plugin --profile web add dsh-snapby bosenok
Select chat text and add it to the composer as an annotation.
★ 0
MIT
JavaScript
Nov 7, 2026
dsh plugin --profile web add dsh-add-to-chatAnnotate on selection, persist through refresh; send the notes with your message and the model answers each one.
★ 0
↓ 69/wk
dsh plugin --profile web add dsh-inline-commentsby 1985899182
Adds ChatGPT-style stop, edit-and-resend, native quote annotations, and an independent sidebar follow-up chat with model and image input for DeepSeek Harness Desktop.
★ 8
↓ 117/wk
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-harness-chat-control