skyhancloud/dsh-client-ui-quote
A selection-quoting plugin for the DeepSeek Harness web GUI: select text inside an AI reply and attach it to your next message as a quote banner.
Bundle 已验证
MIT
TypeScript
v0.3.0
Bundle 已验证
已收录
1
Ui
Bundle 已验证
★ 1
在 GitHub 查看
功能介绍
在网页聊天输入框上方为选中的 AI 回复内容添加可移除的引用横幅,随下一条消息一并发送。
适合
- 经常需要针对 AI 回复中的具体段落继续提问的 DSH Web 用户。
- 希望引用内容在下一条消息发送前与可编辑草稿分开保存的工作流。
不适合
- TUI 或仅 API 的工作流,因为文本选择和引用横幅依赖 Web GUI。
- 使用旧版 Harness 且必须具备完整可移除横幅行为的用户;旧版会退化为把引用块插入草稿。
- 很少引用回复选中文本的工作流,额外的选择控件价值有限。
README
dsh-client-ui-quote
| English | 中文 |
A selection-quoting plugin for the DeepSeek Harness web GUI: select text inside an AI reply and attach it to your next message as a quote banner.
Table of Contents
Features
- Selection toolbar — one 引用 (Quote) button appears above the selection after a 50ms debounce, so it never flashes mid-drag. It hides on Escape, scroll-away, or when the selection collapses.
- Quote banner — a removable strip above the composer with a quote glyph, the quoted text, and a × button. The quote is consumed by the next send: the banner clears when the message goes out. Escape while the composer is focused clears it too.
- Clean draft — the quote is a pending-send attachment, not text in your input. Focus returns to the composer so typing follows.
- Localized — toolbar labels and the quote attribution follow the UI language (中文 / English).
- Fallback for older harnesses — on versions without the input-machine quote attachment, the button inserts the quote block at the end of the draft instead.
Preview


Installation
Prerequisites
- DeepSeek Harness with the web GUI (
dsh web) - Full banner behavior needs
@deepseek-ai/dsh-client-ui-conversationwith the input-machine quote attachment (InputActions.setQuote). Older versions fall back to inserting the quote into the draft.
Install
dsh plugin --profile web add https://github.com/skyhancloud/dsh-client-ui-quote
Then restart dsh web and refresh the browser.
Usage
- Select any text inside an AI reply.
- Click 引用 (Quote) above the selection — the quote appears as a banner above the composer.
- Type your message and send — the quote is prepended to the outgoing message:
> 引用 AI 回复:
> <selected lines>
<your message>
- Click × on the banner when you no longer need the quote.
Development
pnpm install
pnpm run bundle # emits lib/index.js and lib/client.js
Pull requests are welcome.
License
MIT — see LICENSE.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:skyhancloud/dsh-client-ui-quote。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。