rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HansHuang2683/dsh-quote-annotate
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Select any passage in a DeepSeek Harness conversation, annotate it in place, and send the quote + your comment with your next message.
A small, dependency-free Web UI plugin for DeepSeek Harness (DSH 0.2.1-rc.3+). No build step — one hand-written browser module.
⌘/Ctrl+Enter saves, Esc cancels).①). Click a badge to edit its comment later.① annotations · attached to your next message — expand it to review, edit, jump back to the source, or delete each annotation.my question …
【我的批注】
批注 1|Assistant · turn 3
原文:
the paragraph you selected
批注:your comment
The model therefore receives the exact quoted text, where it came from, and what you think about it — which is the whole point: no more "I meant the thing above".
Requires DeepSeek Harness 0.2.1-rc.3 or newer (Web / Desktop Web UI).
Using the plugin_manager tool (or the Plugins page → Add plugin):
action: install_bundle
target: https://github.com/HansHuang2683/dsh-quote-annotate
or point it at a local checkout directory, or at a packed tarball:
pnpm pack --pack-destination dist
# then: install_bundle, target: <abs path>/dist/dsh-quote-annotate-1.0.0.tgz
After installing, reload the page (in the Desktop app: Ctrl+R, or fully quit and relaunch). Plugin Manager → Plugins shows “Selection Annotations”.
shell.overlay renders the selection toolbar, the comment box, the numbered badges and the annotation strip; conversation.input.overlay holds an invisible “input bridge” that exposes the composer's inputActions to the plugin. Standard slot props useInput / inputActions (setDraft, submit) drive the composer.CSS.highlights) over Ranges rebuilt from stored text offsets, so no other plugin's DOM is wrapped or mutated.Enter (capture phase, IME-aware) or a send-button click, the plugin writes body + annotation block into the composer, waits until the new draft is actually published, then calls inputActions.submit() itself. The native submit path never reads a stale draft.window. HMR can leave the two halves of a bundle from different module generations; the annotation list / bridge live on window.__DSH_QUOTE_ANNOTATE_SHARED__ so both halves always see the same state.theme service (getTheme().active.colorScheme), reacts to theme/change, falls back to the luminance of --dsw-alias-bg-base, and renders its own two palettes (--dqa-*). Filled accents deliberately use --dsw-static-deepseek-500, because --dsw-alias-brand-primary is white in dark mode.data-chat-flow-key / data-chat-turn attributes. If a future DSH changes them, highlighting degrades gracefully (annotations still listed and still sent) — the send fold only uses text.| File | Purpose |
|---|---|
client.js |
Entire feature: selection tracking, floating UI, badges, strip, send interception |
index.js |
Inert Host half — exists so DSH mounts the package's dsh.client entry |
cordis.patch.yml |
Bundle patch inserting the quote-annotate row |
locale/{zh,en}.json |
Plugin Manager title / description |
icon.svg |
Plugin icon |
MIT © 2026 HansHuang2683
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。