rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:AaronOhO/dsh-plugin-selection-comments
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness Web GUI plugin that brings ChatGPT-desktop-style selection comments and an independent side conversation window to the Harness chat.
一个把 ChatGPT 桌面端的划词评论 和 独立悬浮会话窗口 带到 DeepSeek Harness Web GUI 的插件。

![]() |
![]() |
| 选中模型输出后的快捷操作栏 / quick-action toolbar | 悬浮评论框 / anchored comment editor |
![]() |
![]() |
| 注释列表(编辑 / 删除 / 全部删除)/ annotation list | 独立会话窗口 / independent conversation window |
More: saved highlights + chip, list row actions, dark window, dark chip, plugin settings row, annotations pending above the composer, annotations sent as message content.
Cmd/Ctrl + Enter 或发送按钮确认。N 条注释 胶囊按钮。× 一次删除本会话全部注释。Enter 都能把注释作为单独一条消息发出。更多详情)。[data-row-key="session:<id>"]),并记住隐藏列表。--dsw-* 主题 token。prefers-reduced-motion,键盘可达(Esc 关闭浮层,Cmd/Ctrl+Enter 保存评论)。shell.overlay、conversation.input.dock)与 React 渲染,不注入 iframe、不替换应用根节点。The plugin is a standard DSH bundle: a package manifest with a bundle patch plus a browser Client half.
# from a workspace checkout
dsh plugin --profile desktop add link:/absolute/path/to/dsh-plugin-selection-comments
# or publish/install by package name
dsh plugin --profile desktop add dsh-plugin-selection-comments
Or install straight from GitHub:
dsh plugin --profile desktop add AaronOhO/dsh-plugin-selection-comments
Or install the directory from Settings → Plugins → 添加插件 / install bundle in the Harness Plugin Manager (point it at this directory). Enable the 「划词评论与独立会话」 row, then reload the page once so the Client bundle is loaded.
To install into the Desktop application's desktop profile from a checkout
(the same operation as Plugin Manager's local-directory install), link the
checkout and register it as a profile bundle:
node scripts/install-desktop.mjs # defaults to ~/.dsh/profiles/desktop
# then restart DeepSeek Harness so the profile bundle layers recompose
The script backs up package.json next to itself and only appends the linked
dependency + bundle selection; removing either (or toggling the bundle off in
Plugin Manager after a restart) uninstalls the plugin.
本插件是标准 DSH bundle(dsh.bundle.patch + dsh.client)。可通过
dsh plugin --profile desktop add link:<本目录>,或在 设置 → 插件 → 安装 bundle
中选择本目录;启用「划词评论与独立会话」后刷新一次页面。
The plugin needs no Host configuration and no model/API changes. Removing it removes both floating surfaces and the sidebar-row hiding rule; the comments stay in browser storage unless cleared.
| Part | File | Role |
|---|---|---|
| Host half | index.js |
Inert loader row; all behaviour is browser-side. |
| Bundle patch | cordis.patch.yml |
Inserts the selection-comments row. |
| Client module | client.js |
The built browser bundle (window.__ModuleLoader__.load), generated from src/ by build.mjs. |
| Source modules | src/*.js |
Store, persistence, annotation data, text anchoring + CSS highlights, comment surfaces, side-chat window, slot registrations. |
| Shared contract | docs/CONTRACT.md |
State shape, data/action APIs, integration points, verification checklist. |
| Styles | src/styles/*.css |
Base surfaces plus comment/side-chat refinements, built into the single client bundle. |
| Display metadata | locale/zh.json, locale/en.json, icon.svg |
Titles, descriptions and icon shown by the Plugin Manager. |
Key mechanics:
data-chat-anchor-key), text offsets, and surrounding context.
Only assistant output rows are eligible.::highlight(...)), so React
re-renders never erase them; ranges are re-anchored by quote + context after
streaming settlement or history reload.localStorage (dsh-selection-comments:v1:*) per session
and never touch the session log.conversation.content Factory and
SessionProvider, so it reuses the host's chat/composer exactly.Independent end-to-end verification report (43/43 checks, light + dark, reload
persistence): docs/verification/REPORT.md
(machine-readable report.json).
Automated verification uses the bundled isolated Harness runtime and Playwright:
node build.mjs
node scripts/e2e.mjs http://127.0.0.1:12447 "<token>" .devhome-verifier/shots
scripts/e2e.mjs runs against any running DSH instance (pass its base URL and
?token= value). It needs playwright resolvable locally, or
DSH_PLAYWRIGHT=/path/to/playwright. scripts/dev.mjs is a maintainer
convenience that boots an isolated runtime: set DSH_BIN to the runtime entry
(a .js bin or a dsh executable) and DSH_HOME_TEMPLATE to a template home;
see docs/CONTRACT.md.
The suite covers the checklist in docs/CONTRACT.md:
toolbar placement, comment create/edit/delete/delete-all, highlights and markers,
list popover, independent window + composer, drag/resize/minimize, sidebar-row
hiding, reload persistence, light/dark themes, and console cleanliness.
MIT. See LICENSE. The plugin code, icon, and styles are original work.
src/ shared source modules (concatenated, one factory scope)
src/styles/ stylesheets embedded in the bundle
build.mjs generates client.js
scripts/dev.mjs build + isolated Harness instance for manual/e2e testing
scripts/e2e.mjs Playwright checklist
docs/CONTRACT.md implementation contract and verification checklist
Edit src/ (never client.js directly), run node build.mjs, restart the dev
instance, then run the e2e suite. client.js is committed so the directory can
be installed without a build step.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。