← 返回列表
D

dsh-http-tools

v0.1.0 · 2 天前发布

HTTP/API debugging toolset for DeepSeek Harness: http_request, curl_parse, request_history

deepseek-harnessdshdsh-pluginhttpapicurlrestagenttool

README

dsh-http-tools

DeepSeek Harness(DSH)打造的 HTTP / API 调试工具集。

dsh-http-tools 让你的 DSH agent 拥有一个完整的 REST 客户端:可以发送任意请求(完整控制 method、headers、body 与认证),粘贴一段 curl 命令让 agent 直接解析或改造后重发,还可以在会话内回顾、对比历史请求——全程都在对话里完成。

工具

| 工具 | 说明 |
| --- | --- |
| http_request | 发送 HTTP 请求(GET/POST/PUT/PATCH/DELETE/HEAD),支持自定义 headers、body 与认证。返回状态码、耗时、大小、响应头、截断后的响应体,以及等价的 curl 命令。 |
| curl_parse | 把 curl 命令解析为结构化请求(method、URL、headers、body、auth),可加 execute: true 一步解析并发送。 |
| request_history | 查询当前会话内的历史请求,查看某次请求的详情,或并排对比两次响应。 |

安装

sh
dsh plugin --profile web add dsh-http-tools

零配置开箱即用。需要 Node.js >= 22(使用原生 fetch)。

试试

直接对你的 agent 说:

``
用 http_request 调 https://api.github.com/repos/deepseek-ai/deepseek-harness 看看 star 数

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-http-tools
Repo
git+https://github.com/lussey820/dsh-http-tools.git
Engines
{"node":">=22"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}