概览
@changfenhuang/dsh-annotation
源码级技术说明dsh-annotation-zh — DSH Web 选中批注插件的自用改版(基于上游 omdsh-dev/dsh-annotation v1.4.11, MIT):选中文字批注、方正编号、主题自适应,并为批注输入框接入宿主语音识别(说完直接保存即转写)。Self-maintained modified version of the DSH Web selection-annotation plugin with per-annotation voice input, compact prompt block and theme-aware styling. Not affiliated with the original author.收起技术说明
dsh-annotation-zh — DSH Web 选中批注插件的自用改版(基于上游 omdsh-dev/dsh-annotation v1.4.11, MIT):选中文字批注、方正编号、主题自适应,并为批注输入框接入宿主语音识别(说完直接保存即转写)。Self-maintained modified version of the DSH Web selection-annotation plugin with per-annotation voice input, compact prompt block and theme-aware styling. Not affiliated with the original author.
README / ZH
插件文档
目录摘要
dsh-annotation-zh — DSH Web 选中批注插件的自用改版(基于上游 omdsh-dev/dsh-annotation v1.4.11, MIT):选中文字批注、方正编号、主题自适应,并为批注输入框接入宿主语音识别(说完直接保存即转写)。Self-maintained modified version of the DSH Web selection-annotation plugin with per-annotation voice input, compact prompt block and theme-aware styling. Not affiliated with the original author.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- 弹框位置按**打开那一刻**的选区计算;打开后若滚动页面,弹框**不会跟随**(这是"打开后不移动"的刻意结果)。 - 选区非常靠近窗口顶部、上方确实放不下时,弹框会临时放到选区下方。 - **语音输入依赖宿主**:需要 DSH 已启用语音输入插件(SenseVoice)并授权麦克风;识别失败只在控制台留痕,不打扰界面。 - v1.0.26 起提示词不再强制 `Annotation N:` 格式,因此回复里的编号悬停芯片**可能不出现**;需要时可在提问里要求模型使用该格式。 - 只有界面半边(`client.js`);Node 半边是空实现(`lib/index.js`),不做任何网络与文件访问。 - DSH 仍是 RC 版本,宿主内部插槽/主题变量变化时可能需要跟着适配。
