TwistedRiCen/dsh-http-probe
DeepSeek Harness 的有界 HTTP 探测工具插件。
项目介绍Project Overview
dsh-http-probe 是 DeepSeek Harness 第三方插件,提供 http_probe 工具,对部署配置的 baseUrl 发起受控 GET。模型只能传以 / 开头的 path,主机端口由部署决定;响应体按字节上限截断,超时由宿主策略执行,不自动跟随重定向,并返回 ok、status、body、truncated 等结构化结果。适用于固定目标探活或接口检查;它不是任意 URL 抓取器,且仅验证预构建 tarball 安装,依赖指定 rc 版本。
dsh-http-probe is a third-party DeepSeek Harness plugin that adds the model-facing http_probe tool for controlled HTTP GET requests. The model supplies only a validated URL path; host, port, body byte cap, and timeout come from deployment configuration. It returns structured status, content type, truncated body, and error fields, and does not follow redirects. Use it for fixed-target health or endpoint checks. It is not an arbitrary-URL fetcher, and only prebuilt tarball installation is verified with exact peer dependency versions.
请帮我了解并安装插件:【dsh-http-probe】【https://github.com/TwistedRiCen/dsh-http-probe】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:TwistedRiCen/dsh-http-probe
把 TwistedRiCen/dsh-http-probe 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-http-probe
Third-party DeepSeek Harness plugin bundle providing the model-facing http_probe tool: a controlled HTTP GET against a deployment-owned probe target.
Features
- Controlled probe: only the URL path is model-controlled; host and port come from deployment config.
- Deployment-owned
baseUrl. - Bounded response body read: past the byte cap the read stops and the canonical result carries
truncated: true. - Cooperative timeout integration: the budget is declared on the tool and enforced by the host tool-call timeout policy.
- Structured canonical Tool result (
ok,status,url,contentType,body,truncated), with the model-facing text produced separately byoutput.render. - Redirects are not followed automatically (
redirect: 'manual').
Installation
Prebuilt GitHub Release tarball (the currently verified distribution path):
- Download
dsh-http-probe-0.1.0.tgzfrom the Releases page. - Install it with:
dsh plugin --profile <profile> add /path/to/dsh-http-probe-0.1.0.tgz
The package declares dsh.bundle, so dsh plugin add registers it as a profile bundle layer automatically. Remove it with:
dsh plugin --profile <profile> remove dsh-http-probe
Configuration
| Field | Type | Default | Meaning |
|---|---|---|---|
baseUrl |
string | http://127.0.0.1:3199 |
Probe target base URL (http/https, normalized with a trailing /). |
maxBodyBytes |
number | 8192 |
Maximum response body bytes read from the wire; past it the read stops and the canonical result carries truncated: true. |
timeoutMs |
number | 2000 |
Cooperative tool-call timeout budget, enforced by the host's @deepseek-ai/dsh-tool-call-timeout-policy. |
Config is validated by the plugin at load (no schema dependency): unknown fields and non-positive-integer limits fail loud.
Tool
- Name:
http_probe - Parameter:
pathonly — must start with a single/; no..segments, query, fragment, or control characters.
Example: Use the http_probe tool to GET /ok.
Security
- The model cannot choose a full URL: only
pathis exposed. baseUrlis deployment configuration.- Redirects are not followed automatically.
- This is a fixed-target probe, not a general-purpose arbitrary-URL fetcher.
Compatibility / Developer Preview
- Requires the host to provide
@deepseek-ai/cordis@4.0.1and@deepseek-ai/dsh-tools@0.1.0-rc.5(hard peer dependencies). @deepseek-ai/dsh-tools@0.1.0-rc.5is not currently published on the npm registry, therefore:- Prebuilt tarball installation is verified and supported.
- Git source self-contained install is not verified and is currently blocked.
- Do not substitute a different
@deepseek-ai/dsh-toolsversion; keep the exact host version.
Development
- The public
tsconfig.jsoncarries no machine-specific paths and is used bypnpm build. - While
@deepseek-ai/dsh-tools@0.1.0-rc.5types are unavailable from the registry, local development uses a gitignoredtsconfig.local.jsonthat extends./tsconfig.jsonwith apathsmapping to a local rc.5 declaration build; runpnpm build:localto use it. tsconfig.local.jsonnever ships in the tarball and never enters Git.
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS