tr1v3r/dsh-quote-followup0

dsh-quote-followup

Quote selected conversation content into a targeted follow-up turn for DeepSeek Harness — a TUI face (message picker + next-input rewrite via the official plugin seams) and a Web face (text-selection quoting into the composer).

包名
dsh-quote-followup
版本
0.2.0
许可证
MIT
最近更新
2026年9月6日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tr1v3r/dsh-quote-followup

Usage

TUI

Selection quoting (recommended — matches the Web face): in fullscreen, dsh-TUI's copy-on-select copies any mouse selection to the clipboard and clears the highlight. After selecting, press Ctrl+Alt+Q — the first picker row is exactly the text you just selected (📋 划选/剪贴板 · …); Enter quotes it.

Whole-message quoting: Ctrl+Alt+Q → picker lists recent messages (#seq me/assistant · summary, arrows + Enter); mixes freely with the selection row and repeats.

Type your question below the quote blocks and send.

Combo delivery note: the TUI enables the kitty keyboard protocol, so Ctrl+Alt+Q arrives reliably as CSI-u on modern terminals (iTerm2 3.5+, kitty, WezTerm, Ghostty, …). If your terminal does not deliver the combo, remap shortcut in the row config to any ctrl/alt combo it does deliver.

Web (dsh web GUI)

  1. Select any span in the transcript (cross-line, any granularity).
  2. The "❐ 引用" button appears above the selection — click it.
  3. The quote block is appended to the composer; keep quoting or type your question, then send.

Configuration (optional row config override)

Patch rows replace the whole config, so restate every key when overriding:

- id: quote-followup
  name: dsh-quote-followup
  config:
    shortcut: ctrl+alt+q        # needs ctrl or alt; avoid reserved combos
    pickerLimit: 30             # max messages listed
    quoteMaxChars: 1600         # per-quote truncation bound (chars)
    clipboardReadCommand: ''    # optional custom clipboard reader (/bin/sh -c;
                                # default probes pbpaste / wl-paste / xclip / xsel)