返回目录
模型与 MCP 插件

dsh-req-capture

r-ayin/dsh-req-capture

Diagnostic plugin: wraps global fetch to log requests and capture bodies whose URL matches a configurable substring to disk.

Stars
0
Forks
0
Issues
0
更新
15 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:r-ayin/dsh-req-capture

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-req-capture

Diagnostic plugin for DeepSeek Harness (DSH). It wraps the host's global fetch to log outgoing requests and capture matching request bodies to disk for offline analysis (for example, diffing LLM request payloads when debugging cache-hit differences).

No UI, no tools.

Configuration

env meaning default
REQ_CAPTURE_MATCH URL substring; bodies of requests whose URL contains it are written to the capture dir empty (capture nothing, log only)
REQ_CAPTURE_DIR capture directory /tmp/dsh-req-capture

Every fetch call is logged to <dir>/fetch-log.txt (timestamp, method, truncated URL, body size); matching bodies are written as req-<ts>-<seq>.json. A self-probe fetch runs once on apply to verify the wrapper is live in the host realm.

Warning — captured bodies are raw request payloads and may contain prompt content. Treat the capture directory as sensitive and delete it when done.

Install

Install it from the DSH Plugin Market (Settings → Plugin Market), or add it to your profile bundle stack manually — see cordis.patch.yml. Prebuilt; no build step required.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。