dsh-quote-followup — native select-to-quote for DSH Web #5855
Replies: 2 comments 1 reply
|
Nice — reusing the same registered
Also worth stating in the README: this is a Web client-side extension — the composer/send path is client-owned, so nothing here needs a host-side plugin, which is a clean boundary to document for anyone auditing the wire format (the model only ever sees the expanded blockquote, never the chip). |
v0.2.5 — 引用轮次溯源 / Turn provenance for serialized quotes中文:选中内容来自 DSH 聊天行时,发送时的序列化引用现在会附带对话轮次编号,模型可以定位"第 3 轮引用的内容",让"修复你引用的那个问题"这类追问有据可依;无轮次标记的场景保持原有框架。同批更新:README 明确声明这是 Web 客户端侧扩展(composer/发送路径由 client 拥有,模型只看到展开的 Markdown 引用块,从不接触 chip 本身,无需任何 host 侧接口);chip 刻意只存文本(摘录正文 + 显示用角色提示 + 可用轮次编号),不含全局 session-message 引用,compaction 折叠与会话轮转后依然有效;重录干净会话的 demo。npm dsh plugin --profile web add dsh-quote-followupEnglish: When the selection comes from a DSH chat line, the serialized quote now carries the conversation turn number, so the model can locate "the content quoted from turn 3" — follow-ups like "fix what you quoted" get real source traceability; quotes without turn markers keep the existing frame. Also in this release: the README now states this is a Web client-side extension (the composer/send path is client-owned; the model only ever sees the expanded Markdown blockquote, never the chip — no host-side plugin surface); chips deliberately store text only (excerpt + display-only role hint + available turn number), so they survive compaction folds and session rotation; demo re-recorded in a clean session. npm dsh plugin --profile web add dsh-quote-followup |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I built dsh-quote-followup, a Web-only plugin that adds native select-to-quote interaction to DeepSeek Harness.
What it does
Each quote behaves as one atomic, removable chip. The composer shows only the excerpt, while the conversation bubble icon carries the quote meaning. Existing drafts remain intact, and multiple excerpts can be collected before sending.
Native DSH integration
The plugin reuses DSH's registered
ReferenceChipNode, conversation icon, and business color. Its codec expands each chip into a model-readable Markdown blockquote only when the prompt is sent, keeping the composer compact without hiding context from the model.The floating action and serialized quote frame follow the active DSH locale. The plugin falls back to plain text when native chip support is unavailable, and its browser-independent path is verified on Chromium and Firefox.
Install
Requires DSH
>=0.1.2-rc.1.Repository: https://github.com/tr1v3r/dsh-quote-followup
npm: https://www.npmjs.com/package/dsh-quote-followup
Feedback and integration suggestions are welcome.
All reactions