Skip to content

wangwei-wade/dsh-quote-annotate

30Last commit Aug 15, 2026

dsh-quote-annotate DSH plugin

dsh-quote-annotate is a pure-client DSH Web plugin that solves the problem of referencing and annotating specific parts of a conversation. It allows users to select text, create anchored quote chips, add comments, and submit structured references that the model can understand.

How to install the dsh-quote-annotate DSH plugin

dsh plugin --profile web add github:wangwei-wade/dsh-quote-annotate

Copying does not run this command. Review the repository and version before installing the dsh-quote-annotate DSH plugin.

dsh-quote-annotate DSH plugin data source

dsh-quote-annotate DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-quote-annotate DSH plugin can do

  • Select any text in a conversation and annotate it via a floating bubble that appears above the selection.
  • Insert anchored quote chips into the input box that can be clicked to scroll back to the original text and hovered to preview the selected text.
  • Serialize quote chips into a blockquote + comment format when the message is sent, providing structured context to the model.
  • Turn-level quoting: each completed turn has a 'Quote Question / Quote Answer' button to quote the entire turn's content.
  • Graceful fallback to plain text citation when the required pipeline (ui-input-trigger) is missing.

Where the dsh-quote-annotate DSH plugin fits

  • Referencing a specific statement from the assistant to ask a follow-up question or request clarification.
  • Annotating parts of a long answer to provide feedback or point out errors.
  • Building a structured conversation history where each comment is anchored to the exact source text for later review.
  • Collaborative debugging: team members can quote and comment on each other's responses in DSH sessions.

Who the dsh-quote-annotate DSH plugin is for

  • DSH users who need precise quoting and annotation in conversations.
  • Power users who frequently interact with long model responses and want to reference specific passages.

dsh-quote-annotate DSH plugin limitations

  • Quote-to-location mapping is stored in browser memory; refreshing the page will cause chips to degrade to plain text (no clickable links).
  • IME language behavior within the comment input depends on the operating system/input method; the plugin optimizes element reuse but cannot control IME.
  • The plugin requires the DSH Web interface with the default web profile that includes the ui-input-trigger pipeline; fallback mode is available but limited.
  • npm package publishing is pending (2FA not yet enabled), so installation currently requires the GitHub source path.

dsh-quote-annotate DSH plugin: from the repository README

Quoted from the wangwei-wade/dsh-quote-annotate README, the upstream source of the dsh-quote-annotate DSH plugin. Copyright remains with the original authors.

**选区引用与锚点批注** —— DeepSeek Harness(DSH)Web 插件,纯 Client、无 Host 逻辑。 ## 解决了什么问题 DSH 会话中的消息**无法被选中、引用和批注**:你想针对上文某段内容提问或评论时,只能复制粘贴或口头描述"上面那部分",模型无法精确知道你说的是哪一段。 本插件让"选中 → 批注 → 引用"成为一条完整链路:选中的文字变成**带锚点的引用 chip** 进入输入框,发送时序列化为结构化引用块,模型收到的评论**精确锚定在你引用的那段原文上**;输入框里的每个引用还能点击跳回原文位置、悬停查看原文。 ## 功能 - **选中即批注**:鼠标选中会话中任意文字 → 选区上方浮出小气泡(宽度随文字增长)→ 点「批注」 - **悬浮编辑框**:引用预览 + 独立评论输入框(自动聚焦、元素常驻),随输入变宽;Enter 插入 / Esc 关闭 - **引用锚点 chip**:插入后草稿中显示 `引用#N` chip - **点击** → 平滑滚动回原文并高亮 - **悬停** → 浮出提示框,显示当时选中的文字 - **提交序列化**:发送时 chip 展开为 `> 引用块` + 评论,模型收到结构化上下文 - **回合级引用**:每条已完成回合尾部有「引用提问 / 引用回答」按钮,整段引用该轮的提问或回答 - 全程走官方接口:`conversation.input` 输入机器、`inputTriggers` 引用管线(`quote-ref` source codec)、`slots` 注入(turnTail / shell.overlay) ## 安装(一键,发给 Agent 即可) 把下面这段话直接粘贴给 DSH 助手: > 请帮我安装 dsh-quote-annotate 插件:运行 `dsh plugin --profile web add github:wangwei-wade/dsh-quote-annotate`, > 然后重启一次 web 服务使插件生效(静态客户端插件在服务启动时加载,重启后或下次启动时生效)。 手动安装(可选): ```sh dsh plugin --profile web add github:wangwei-wade/dsh-quote-annotate # 从 GitHub 安装 dsh --profile web --dump-config # 确认出现 # == dsh-quote-annotate 层 ``` > npm 状态:`dsh-quote-annotate` 的 npm 发布待开通(npm 要求发布者开启 2FA,账号暂未绑定),开通后即可 `dsh

Read the full READMEThe repository declares no license. Check with the authors before using it.

dsh-quote-annotate DSH plugin questions

How do I install dsh-quote-annotate?

You can install it by pasting the following command to your DSH assistant: 'dsh plugin --profile web add github:wangwei-wade/dsh-quote-annotate'. Then restart the web service. Alternatively, you can run the command manually in your terminal. Note that npm package publishing is pending, so GitHub source is currently the only way.

Why do my quote chips stop working after page refresh?

The mapping between quote references and original text locations is stored in browser memory. When you refresh the page, this mapping is lost, and chips degrade to plain text without click-to-jump functionality. This is a known limitation due to the plugin's pure-client architecture.

Can I quote an entire turn instead of a selection?

Yes. Each completed conversation turn has a 'Quote Question / Quote Answer' button at the bottom. Clicking it will automatically quote the entire question or answer of that turn as a chip in the input box.

Does the plugin work with the DSH desktop client?

The plugin is designed for DSH Web interface only. It relies on the web profile's ui-input-trigger pipeline. If you use DSH via a desktop client that doesn't support web plugins, it may not work. Ensure you are using the official web profile.

How do I remove a quote chip from the input box?

You can delete a quote chip by pressing Backspace or Delete when the cursor is next to it, or by selecting the chip and removing it as you would with normal text. The chip is treated as a special element in the input area.