dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
会话头部按钮:预览并下载 DeepSeek Harness 真正发给模型的请求帧——完整 system prompt、声明的工具数组 tools 与 wire 消息数组(system/user/assistant/tool-result),按 agent loop 读取所用的同一会话折叠重建。
Preview and download the exact request frame that DeepSeek Harness sends to
the model for a session: the full system prompt, the tool declarations
(tools), and the wire message array (system → user / assistant /
tool-result in order), rebuilt from the session log.
A small DSH plugin with a host half (one read-only HTTP endpoint) and a browser half (a "请求预览 / Request preview" button in the session header).
dsh plugin --profile web add request-frame-preview
or from a local checkout:
dsh plugin --profile web add /path/to/request-frame-preview
Restart dsh web (or let the plugin market restart it) so the bundle is
loaded. A 请求预览 button then appears in the session header utilities,
next to the built-in "Session log" button.
Click the button to open an overlay showing, top to bottom:
#0 of the wire array (collapsed by default).tool row each; click a row to see its parameters.#1 on, with user,
assistant, tool-result chips, tool_call_ids, reasoning content and
tool_calls expanded inline.下载 JSON / Download JSON saves the whole frame (config + system + tools
with full parameter schemas + messages) as dsh-request-<sessionId>.json.
requestHeader() and deriveMessages() — the very same
folds the agent loop reads when it builds each request.sessionQuery.readSession + readSurface from the
durable log.#0; each tool-result block becomes its
own role: "tool" message; assistant text, reasoning and tool_calls are
split into their wire fields.package.json dsh.bundle.patch -> ./cordis.patch.yml; dsh.client.platform web
cordis.patch.yml inserts the plugin row into the profile layer stack
lib/index.js host half: registers GET /request-frame-preview/api
lib/client.js browser half (window.__ModuleLoader__ bundle)
GET/HEAD) and serves no state mutation.Origin header is present and
does not match Host; requests without Origin (curl, <a download>)
are allowed, mirroring dshmarket's GET route convention.