UI Enhancements

dsh-client-ui-quote

skyhancloud/dsh-client-ui-quote · ★ 1

skyhancloud

Adds a removable quote banner above the web chat composer for text selected from an AI reply, included in the next message.

License
MIT
Added
2026-08-21
Maintenance
active
Install kind
github

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:skyhancloud/dsh-client-ui-quote

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

Screenshots

dsh-client-ui-quote screenshotdsh-client-ui-quote screenshot

README

Source README · body: en · Read Chinese README

Table of contents
  1. dsh-client-ui-quote
  2. Table of Contents
  3. Features
  4. Preview
  5. Installation
  6. Prerequisites
  7. Install
  8. Usage
  9. Development
  10. License

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

Toolbar above a selected AI reply

Quote banner above the composer

Installation

Prerequisites

  • DeepSeek Harness with the web GUI (dsh web)
  • Full banner behavior needs @deepseek-ai/dsh-client-ui-conversation with 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

  1. Select any text inside an AI reply.
  2. Click 引用 (Quote) above the selection — the quote appears as a banner above the composer.
  3. Type your message and send — the quote is prepended to the outgoing message:
> 引用 AI 回复:
> <selected lines>

<your message>
  1. 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.