dshbase

插件目录 / UI & Skins / dsh-quote-temp-ask

dsh-quote-temp-ask

已验证 · 实测可装 Enc-hanted

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

Selection toolbar for the DSH web UI: quote (expandable composer markers), temp chat (in-page context-free panel), web ask (chat.deepseek.com popup with ?q= prefill)

✅
我们的评价
可用 — 实测通过,早期项目

Selection toolbar for the DSH web UI: quote (expandable composer markers), temp chat (in-page context-free panel), web ask (chat.deepseek.com popup with ?q= prefill) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

  1. Select any text in a conversation → click 引用.
  2. The marker [引用到内容1] appears in the composer; preview cards show above it.
  3. 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-quote-temp-ask」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Enc-hanted/dsh-quote-temp-ask

Headless(CLI)profile:

dsh plugin --profile headless add github:Enc-hanted/dsh-quote-temp-ask

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →