全部插件

DSH / BUNDLE / CLIENT-UI

dsh-llm-trace

v0.2.2wpeng77 / dsh-llm-trace9fffd238f1

可安装组合包UI 与客户端插件社区 · Topic 自动分析Web UI

概览

dsh-llm-trace

DeepSeek Harness plugin that captures the raw HTTP request and response bodies of model provider calls, shows the request body as a collapsible size-annotated JSON tree in a Conversation View tab and on a loopback viewer page, and assembles SSE responses back into reasoning, content and tool calls.

README / ZH

插件文档

目录摘要

DeepSeek Harness plugin that captures the raw HTTP request and response bodies of model provider calls, shows the request body as a collapsible size-annotated JSON tree in a Conversation View tab and on a loopback viewer page, and assembles SSE responses back into reasoning, content and tool calls.

dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。

在 GitHub 阅读完整 README

LIMITATIONS

已知限制

- **Secrets in bodies are not redacted.** Header redaction covers the credential headers; the request body still carries the full system prompt, every tool schema, and any file content the agent read. Both surfaces sit behind the Web host's loopback bind plus its browser-session cookie check, which is the only access control. - **`path` is not shared with the client.** The tab fetches a constant, so a non-default mount path needs a matching edit in `lib/client.js`. - **The wrapper is process-global and order-dependent.** `@deepseek-ai/dsh-experimental-inspector` wraps the same global; running both nests the wrappers and captures every exchange twice. - **A `fetch` reference cached before this plugin activates is not observed.** `dsh-llm-pi-ai` constructs its provider client per request, so it is covered; another adapter that caches the reference at load would not be. - **Calls made outside a loop carry no session id.** A hand-built `llm.stream()` call without `sessionId` is captured but appears only in the HTTP viewer. - **Binary bodies are byte-counted only.** - **The assembled view decodes OpenAI-style SSE only.** A provider using a different streaming envelope falls back to the raw view, which is always available.