Skip to content

dsh-quote-reply

Verified

@eagle4302/dsh-quote-reply · v1.0.0 · MIT · Web UI

Quote selected transcript text into the composer with Ctrl+Shift+Q.

Install

dsh plugin add @eagle4302/dsh-quote-reply

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Creators

Readme

@eagle4302/dsh-quote-reply

DeepSeek Harness(DSH)Web UI 外掛:在對話中反白一段文字,按 Ctrl+Shift+Q,該段文字會以 Markdown 引用(> …)放進輸入框,游標停在引用後方。

不新增任何浮動按鈕或面板;整個外掛只多一個鍵盤快捷鍵。

安裝

在 DSH 裡安裝這個 bundle:

  • 由 agent 呼叫 plugin_manager,action: install_bundle,target: "@eagle4302/[email protected]"。
  • 或在 Settings → Plugins 的安裝入口填入同一組 npm 規格。

安裝後重新整理頁面;替換既有版本時需重啟 App,才會載入新的 JS 模組。

使用

  1. 在對話訊息裡反白要引用的文字(助理或你自己的訊息都行)。
  2. 按 Ctrl+Shift+Q。
  3. 輸入框出現 > …,接著往下打你的問題。

選取在輸入框、側欄或右側面板時,快捷鍵不會作用。

行為細節

  • 純文字引用;程式碼區塊、表格、清單的格式不會保留。
  • 以 inputActions.setDraft 整段覆寫草稿,所以引用只能接在草稿最後,undo 記錄會斷。
  • 草稿裡既有的 @ 檔案 chip 會被序列化成純文字。
  • 選取超過 4000 字元會截斷並加上 …。
  • 助理回覆仍在串流時也能用;草稿處於送出中的階段則不動作。

改設定

快捷鍵與長度上限是 client.js 最上面的常數:

var HOTKEY = { key: 'q', ctrl: true, shift: true };
var MAX_CHARS = 4000;

改完要重新安裝 bundle 並重啟 App。

限制

  • 依賴 DSH 的 conversation.input.left slot 與 InputActions.setDraft;DSH 升版若改動這兩個介面,外掛會失效。
  • 只在 Web UI(桌面 App 與 dsh web)有效,TUI/headless 沒有這段介面。

License

MIT