dsh-quote-temp-ask
Manifest validSelection toolbar for the DSH web UI: quote (expandable markers in the composer), temp chat (in-page context-free panel), web ask (chat.deepseek.com popup with ?q= prefill)
dsh-quote-temp-ask
English · 中文
A selection toolbar for the DSH web UI. Select text in a conversation and three buttons appear above it:
- 引用 (Quote) — appends a
[引用到内容N]marker to the composer draft. The marker is the source of truth: cut/paste it inside the textarea to reorder. On send (Enter or the send button) each marker expands into a> **引用的内容N**blockquote with the full text; the expanded draft is also copied to the clipboard. - 临时对话 (Temp chat) — opens an in-page 390px right panel. Each question is one stateless turn using DSH's current default model, streamed via 250ms polling. Markdown rendering (code blocks, inline code, bold, italic, links, headings, lists), 清理上下文 (clear), 停止 (stop, real abort via AbortController).
- 去网页问 (Web ask) — opens real chat.deepseek.com in a 390×844 popup docked to the right screen edge, prefilled via
?q=. Text over the 8KB URI budget degrades to plain open + full-text clipboard.
Install
From npm:
dsh plugin --profile web add dsh-quote-temp-ask
Or from a local checkout:
dsh plugin --profile web add link:D:/path/to/dsh-quote-temp-ask
dsh plugin forwards to pnpm and reconciles dsh.profile.bundles automatically — no manual profile edits. Restart DSH; the plugin loads without approval.
Uninstall
dsh plugin --profile web remove dsh-quote-temp-ask
Restart DSH. The bundle-patch row disappears with the dependency.
Minimal usage
- Select any text in a conversation → click 引用.
- The marker
[引用到内容1]appears in the composer; preview cards show above it. - Press Enter (or the send button) — the marker expands into the blockquote and the message is sent.
Compatibility
Verified against @deepseek-ai/dsh 0.1.0-rc.6 (web profile). Node >=22.15.
Runtime dependencies are declared explicitly: react and @deepseek-ai/dsh-client-ui-slots (peer; provided by the web app). The host half imports no npm packages — it uses injected DSH services (llm, agentDefaultModel, webServer) and Node builtins only.
Known limitations
| # | Limitation |
|---|---|
| L1 | Send-button interception relies on aria-label="发送消息" (Chinese UI); Enter interception is unaffected |
| L2 | Other submit paths (Cmd/Ctrl+Enter) are not intercepted — markers go out literally |
| L3 | Manually typing a marker-shaped string that matches a pooled id gets expanded |
| L4 | Marker renumbering adds undo entries |
| L5 | The quote pool is per-session memory — markers lose their mapping after switching sessions or refreshing |
| L6 | Streaming is 250ms polling, not SSE |
| L7 | Panel message history is unbounded (use 清理上下文) |
| L8 | chat.deepseek.com sends frame-ancestors 'none' — no iframe embedding; the web popup is the only path |
License
MIT
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.3k
↓ 10.4k/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 341/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 29.4k/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 84
MIT
JavaScript
Oct 10, 2026