dsh-annotation
Selection annotations for DeepSeek Harness assistant replies, sent through the official composer
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ruisenbai/dsh-annotation说明文档
阅读完整 README ↗配置
Bundle 会插入一个 dsh-annotation 行。可在当前 Profile Composition 中覆盖:
| 配置项 | 默认值 | 作用 |
|---|---|---|
commandName | annotation_submit | 浏览器到 Host 的内部传输命令名 |
maxPayloadBytes | 524288 | 解码后 JSON 批次上限;超限拒绝,绝不截断 |
maxAnnotationsPerSubmission | 100 | 单批注解数上限 |
warnSelectionChars | 12000 | 长选区需要额外确认的阈值 |
locateHistoryPages | 20 | 定位原文时最多加载的历史页数 |
Host 与 Client 共享同一个 Cordis 行配置,因此修改 commandName 时两端会保持一致。升级前留下的旧内部命令(inline_comments_submit、inline_annotations_submit)由不可见的兼容别名转发给新处理器,不保留两套业务代码。