rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:QuinnKevin/dsh-concept-explainer
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
Select an unfamiliar term in a DeepSeek Harness conversation and get an explanation grounded in the discussion around it, in the right sidebar. The explanation and your follow-ups stay there; the conversation gains, loses, and rewrites nothing.
+ menu; its empty state explains how to start.POST /api/concept-explainer/stream, which only reads the session's messages as context.| Part | Where | Host API used |
|---|---|---|
| Entry on selected text | client.js |
ctx.uiConversation.interactions.register + the conversation.chat.text-interaction seat |
| Composer entry | client.js |
the conversation.input.left seat |
| Right-sidebar tab | client.js |
ctx.sidebarRightTabs.register + ctx.sidebarRight.openTab + the sidebar.right.pane.tab[.title] seats |
| Explanation | index.js |
ctx.connection.fetch.register + ctx.llm.stream (the conversation's model, falling back to the default model) |
| Context | prompt.js |
ctx.sessions.get(id).deriveMessages(), read-only |
| Custom prompt | client.js + index.js |
the browser's localStorage holds the user's replacement system prompt and sends it with each request; an empty value falls back to the built-in rules |
index.js and prompt.js import no Harness package: plain ESM plus the platform's own Request / Response / ReadableStream.
The package is a plain dsh.bundle bundle with no build step. Install it through the Harness Plugin Manager's add-plugin flow, pointing at a local checkout of this directory; it then appears in the right sidebar's tab menu. The client half needs a page reload, a change to the host half needs a full Harness restart.
node --check index.js; node --check prompt.js; node --check client.js
node test/host.test.mjs
node test/client.test.mjs
test/host.test.mjs drives the real request handler with a fake Cordis context: payload validation, the context window, prompt assembly, the NDJSON stream, model failures and follow-up history — and asserts that the session write path is never called. test/client.test.mjs captures the browser module with a fake loader and drives apply against a recording context: every registration, the interaction admission rules, the prompt editor, and both panel states.
localStorage. It does not sync across devices and is never written into DSH settings or the session log.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。