概览
dsh-annotate-sync
源码级技术说明DeepSeek Harness HTML 文档预览就地批注插件:打开任意 HTML 预览即出现点选批注浮层,批注按文件保存,可整批发送给当前对话的 Agent,并通过 read_annotations 工具让 Agent 直接定位并修改源文件。In-place HTML document annotation for DeepSeek Harness: the overlay appears automatically in the document preview, annotations are saved per file, sent to the current conversation, and exposed to the agent through tools.收起技术说明
DeepSeek Harness HTML 文档预览就地批注插件:打开任意 HTML 预览即出现点选批注浮层,批注按文件保存,可整批发送给当前对话的 Agent,并通过 read_annotations 工具让 Agent 直接定位并修改源文件。In-place HTML document annotation for DeepSeek Harness: the overlay appears automatically in the document preview, annotations are saved per file, sent to the current conversation, and exposed to the agent through tools.
README / ZH
插件文档
目录摘要
DeepSeek Harness HTML 文档预览就地批注插件:打开任意 HTML 预览即出现点选批注浮层,批注按文件保存,可整批发送给当前对话的 Agent,并通过 read_annotations 工具让 Agent 直接定位并修改源文件。In-place HTML document annotation for DeepSeek Harness: the overlay appears automatically in the document preview, annotations are saved per file, sent to the current conversation, and exposed to the agent through tools.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- 页面自带 CSP 且禁止外部脚本时,overlay 会被拦截;预览本身仍可用。 - 自定义 renderer 总是允许页面脚本执行(overlay 需要),不受内置“交互式预览”开关控制。 - 跨域 iframe、closed shadow root 内的元素无法点选。 - 只接管 `.html` / `.htm`;其他文档类型仍用内置预览。 - 批注定位依赖 CSS selector 与几何矩形;元素结构大改后可能定位不准,但备注和文件路径仍在。
