tr1v3r/dsh-quote-followup0

dsh-quote-followup

DeepSeek Harness 引用追问插件,支持 TUI 界面消息选择器及 Web 界面划选文本引用至输入框。

AI 分析

核心用途是快速引用历史对话内容进行针对性追问。适合需要频繁针对特定上下文或历史消息片段向模型提问的 TUI 和 Web 端用户。

包名
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)