rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Meatware-Engineering/DSH-AnnotateAnything
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.
webview exposes executeJavaScript and capturePage.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.
npm publication is not required. For Desktop:
dsh command installed by Desktop through Manage dsh Command….
An npm-installed dsh cannot manage the Desktop profile. If needed, install
or repair the command, then open a new terminal.dsh plugin --profile desktop add github:Meatware-Engineering/DSH-AnnotateAnything
Reopen Desktop, then open Plugins and enable AnnotateAnything if necessary. Follow Harness’s restart instructions if prompted.
For a separately managed Web profile, use --profile web instead. Desktop and Web
profiles have separate plugin installations.
See the official Desktop CLI instructions.
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 (the same Desktop command, first-launch, full-quit, and reopen requirements apply):
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.
Esc cancels a drag first, then dismisses the current editor, or leaves annotation mode if neither is open. Movement below 4 CSS pixels counts as an element click. At 4 CSS pixels of movement, the gesture becomes a region selection. A region smaller than 4 CSS pixels in either dimension is discarded; a cancelled or too-thin drag never falls back to selecting an element. Pointer cancellation, loss of capture, window blur, scroll or resize cancels an unfinished drag. Close clears pending annotations. Finish or discard annotations before switching conversations. Opening annotation mode again after a guest navigation reinstalls its page selection overlay. Saved region images do not change after scrolling: their stale outlines disappear, and numbered buttons in the toolbar keep their comments available for editing or deletion.
slots, locale, conversation,
sessions, conversation.input.left, and shell.overlay.conversation.createDrafts and sendSession.
Unsupported versions show an error instead of silently sending text only.html-to-image
is bundled; no separate capture service or API key is needed.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. Host region capture reconstructs intersecting content and ancestor layout locally; unrelated subtrees become invisible layout placeholders, without reading their canvas pixels or embedding their images. Only the selected crop is submitted. DOM rendering may request images/styles needed by the selection and its ancestors. Guest-page metadata is untrusted page content, not instructions to the assistant.
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 geometry validation, reversed/clipped drags, pointer cancellation, raster coordinate conversion, mixed prompt formatting, guest script parsing and package entry points. They are not a real Harness UI test.
Optional Chromium integration checks load the committed client.js through the
Harness module-loader contract, then exercise its actual React overlay, host DOM
crops (including scrolling and fixed content), guest scripts, scaled guest geometry,
and ordered PNG attachments through a mocked conversation service. Install test
tools outside this checkout, then run:
npm install --prefix /tmp/annotate-test-tools playwright react react-dom
/tmp/annotate-test-tools/node_modules/.bin/playwright install chromium
NODE_PATH=/tmp/annotate-test-tools/node_modules node test/browser.cjs
CHROMIUM_EXECUTABLE can select an already installed Chromium. PNG evidence is
written to a fresh OS temporary directory. The Chromium guest bridge simulates
Electron APIs; it does not certify every Desktop version.
The optional native test runs a separate Electron app with its own temporary
profile and a local test page. It loads the same committed client and checks actual webview.executeJavaScript and
capturePage at 100%, 150% and 200% zoom, including PNG edge pixels:
npm install --prefix /tmp/annotate-test-tools electron@44.7.0
NODE_PATH=/tmp/annotate-test-tools/node_modules node test/electron.cjs
It briefly opens a test window and closes it afterward. The user's Harness sessions are not connected to this test.
To check the real Harness runtime, create a disposable Web profile and start it in another terminal. Do not point this check at your working profile:
DSH_HOME=/tmp/annotate-runtime-check dsh plugin --profile web add "link:$(pwd)"
DSH_HOME=/tmp/annotate-runtime-check dsh web --host 127.0.0.1 --port 0 --no-open
Set HARNESS_TEST_URL to the localhost URL printed by that disposable server,
then run NODE_PATH=/tmp/annotate-test-tools/node_modules node test/runtime.cjs.
The test proves a tainted canvas outside the selected area cannot break its PNG,
and protected content inside the area reports the right error while preserving
the comment. It never submits to a model. Stop the disposable server afterward.
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.
src/client.cjs: UI, capture and conversation integration.src/guest.cjs: Browser-panel guest selection scripts.src/lib.cjs: formatting/selector/data-URL helpers.src/region.cjs: shared pointer selection and validated geometry.src/capture.cjs: host snapshots and raster cropping for both surfaces.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.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.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。