dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Select a fragment of a DeepSeek Harness chat and explain it in a temporary side conversation — without touching the main session.
Select a fragment of a chat, ask what it means, and keep the answer out of your main conversation.
dsh-quick-explain is a DeepSeek Harness (dsh) plugin: highlight a word or a sentence in any message, click 💡 Explain, and a temporary side conversation opens on the right. It explains the fragment, answers follow-ups, and disappears when you close it — the main chat keeps its exact history and context.
Sometimes you need to understand one word, one acronym, or one sentence in the middle of a long task. Asking the main assistant means adding a turn you will have to live with: it enters the session log, the model's context, and every later request. This plugin gives you a separate, disposable explainer instead.
ctx.llm.stream with your configured default model.In DSH Desktop: open the Plugins page (sidebar, or Settings → Plugins) → Add plugin:
dsh-quick-explain.If npm is not reachable, you can instead enter the full path of a .tgz (npm pack dsh-quick-explain), or github:JujiuYey/dsh-quick-explain.
Cmd/Ctrl + Enter.× or Esc — the side chat is discarded.selection
│ client.js: start(quote, context)
▼
POST /api/quick-explain (plugin-owned route, same origin)
│
▼
index.js: new thread in memory → ctx.llm.stream(...)
│
│ client.js polls every 350 ms: {endpoint:'poll', threadId}
▼
{state, text, error} → panel renders the growing answer
The main conversation's Session is not part of this path. The side conversation never emits session events, so it cannot affect replay, compaction, or the next model request.
| File | Role |
|---|---|
index.js | Host half: the /api/quick-explain route, in-memory threads, model calls, idle sweep |
client.js | Client half: selection detection, floating chip, side panel, polling |
cordis.patch.yml | Inserts the plugin row into the profile |
locale/*.json | Plugin list title and description (English / Chinese) |
icon.svg | Plugin icon |
Install this directory as a Local directory bundle, edit, then restart DSH to load changed client code:
npm pack # produces dsh-quick-explain-<version>.tgz
or point the plugin manager at the checkout. The Host half (index.js) is plain ESM with no build step; the Client half (client.js) is a plain script that registers a lazy factory with window.__ModuleLoader__.
Requirements: DSH 0.2.1-rc.2 or a compatible release that provides ctx.connection.fetch, ctx.llm, ctx.agentDefaultModel, and the shell.overlay client slot.
The selected text, the paragraph around it, and your follow-up questions are sent to the model provider configured in DSH — the same provider your main conversation already uses. The side conversation itself lives only in the Host process memory: it is not written to the session log, not stored on disk, and gone after a restart.
**bold** and `code`); headings and lists are not interpreted.The client is bundled from src/ into a single injected script:
npm install # also runs the build via `prepare`
npm run build # regenerate client.js
MIT © 2026 JujiuYey