DDDFXYqiming/dsh-annotation-patched1

@dsh-external/dsh-annotation-patched

DSH Web selection-annotation plugin: select assistant text, annotate (optional), and press Enter to send the annotation block with your message — the model replies to each annotation by number, with hoverable chips in the reply.

包名
@dsh-external/dsh-annotation-patched
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DDDFXYqiming/dsh-annotation-patched

本地开发时也可直接使用仓库目录

dsh plugin --profile web add


## 已知边界

- 只支持选中**助手消息**(用户自己发的消息不处理)
- 自动引用在**回车发送**与**点击发送按钮**时均触发(PATCH(2026-08-14d) 起:capture 阶段拦截发送按钮先拼稿)
- 浏览器端插件:改动 `client.js` 后需 **Ctrl+F5 强刷**(或换浏览器)才生效;**pnpm 更新会覆盖** node_modules 里的副本,须以本目录为源重新 link
- 强依赖 DSH Web DOM 结构(`[data-time-hover-root]`、`[class*="bubble"]`、`[data-composer-card]` 等),DSH UI 升级可能失效

## 维护标记

- 本 fork 所有改动带 `PATCH(2026-08-14)` ~ `PATCH(2026-08-14e)` 注释标记(grep `PATCH(2026-08-14` 可全部定位),上游更新时可快速 diff 重新套用
- 包名已改为独立 fork 包名 `@dsh-external/dsh-annotation-patched`(v0.1.0),避免与上游 `@omdsh-dev/dsh-annotation` 发布冲突

## License

MIT(保留上游版权声明,见 LICENSE)