DeepSeek Harness 插件

po-et/dsh-http-probe

Star 数 ★ 0 分类 工具与能力 收录于 2026-09-05

为 agent 增加 http_probe 工具:探测 HTTP(S) 端点的状态码、延迟与关键响应头,HEAD 被拒时自动降级 GET,不下载响应体。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:po-et/dsh-http-probe

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWEDERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yamlallowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

A DeepSeek Harness plugin that adds an http_probe tool: the agent can check the status code, latency and key response headers of any HTTP(S) endpoint without downloading response bodies. Useful for API health checks and quick "is this site up?" questions.

一个 DeepSeek Harness 插件,提供 http_probe 工具:让 agent 可以探测任意 HTTP(S) 端点的状态码、延迟和关键响应头(不下载响应体)。适合 API 健康检查和"这个服务挂了吗"类问题。

Install / 安装

dsh plugin --profile web add dsh-http-probe

Then ask the agent something like: "Probe https://example.com and tell me if it's healthy."

Development / 开发

npm install
npm run build
npm run dev     # dsh web --patch ./dev.cordis.yml, then open http://127.0.0.1:3080

dev.cordis.yml loads the built plugin by absolute path; edit it if you cloned this repo to a different location. Rebuild after changing src/.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。