dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH 的网络与代理诊断工具:检查系统代理设置、探测本地代理端口、识别 TUN 适配器、测试 GitHub/TCP/HTTP 连通性、扫描 hosts 冲突,并给出具体的修改建议。
When GitHub is unreachable or the proxy is not taking effect: one command that says which link in the chain broke, and what to change.
Every conclusion carries the premise it depends on, so the report cannot contradict itself — a port is only reported as a problem when a proxy is actually configured to use it.
Born from real-world China-network pain: GitHub flaky, proxies everywhere, hosts conflicts, TUN vs system proxy confusion. This plugin gives your agent one-shot answers to "is GitHub reachable?", "what proxy is my system using?", "is my proxy port alive?", plus a full diagnosis chain — all read-only, all injection-safe.
中文文档见 README.zh.md。
Installs are visible in the download counts; whether this helps is not. If you use it, one line about the actual task is worth more than a star — particularly if it did not work, which is the case that never gets reported:
Tell me in an issue — or if something is already broken, just open a normal bug report.
Windows. Proxy detection reads the Windows registry and the checks shell out to
powershell.exe. On other platforms the tools start but their checks cannot run, and they say
so (spawn powershell.exe ENOENT) instead of reporting a clean result.
The Windows checks spawn a powershell.exe, and a cold one costs roughly 20 seconds to start; the
DNS comparison and npm registry checks use Node's own network stack and add well under a second. So
on a freshly booted Windows machine:
net_doctor can exceed a minute, because it runs six checks in parallel (system proxy, GitHub
reachability, hosts file, TUN adapters, DNS comparison, npm registry) plus a port probeMost MCP clients default to a 60-second request timeout, so net_doctor may time out on a cold
machine even though it is working. If that happens, call the individual checks (net_github_status,
net_proxy_status, net_hosts_check, net_dns_compare, net_registry_check) instead, or raise
your client's request timeout. Once PowerShell has been used a few times the cost drops sharply.
| Tool | What it answers |
|---|---|
net_github_status | Is GitHub reachable right now? (DNS + TCP 443) |
net_proxy_status | System proxy config: registry ProxyEnable/ProxyServer/ProxyOverride + proxy env vars |
net_proxy_probe | Which common local proxy ports are alive? (default 10808/10809/7890/7897/8888/1080) |
net_diag | Full chain for any host: DNS → TCP → HTTPS status code |
net_hosts_check | GitHub entries pinned in the hosts file (proxy conflict scan) |
net_dns_compare | Ask AliDNS / DNSPod / Cloudflare / Google the same question and compare — is the system resolver returning a stale address? |
net_registry_check | Is the npm registry npm is configured to use actually reachable? Checks the configured one and the official one. |

dsh plugin --profile web add dsh-netassist
dsh web # restart
Then ask your agent:
net_github_statusnet_proxy_statusnet_proxy_probenet_diag host=api.example.com port=8443net_hosts_checknet_dns_compare host=github.comnet_registry_checkEvery tool runs a short read-only PowerShell snippet through powershell.exe -NoProfile -NonInteractive. All user input crosses the script boundary as Base64 — injection-proof by construction. No writes, no admin rights, no dependencies.
psTimeoutMs (default 25000) — per-call PowerShell timeout, settable in your profile's cordis.patch.yml under the netassist entry.net_github_status → DNS: 20.205.243.166, TCP 443: OPEN
net_proxy_status → ProxyEnable: 1, ProxyServer: 127.0.0.1:10808
net_proxy_probe → 10808 OPEN, 10809/7890/7897/8888/1080 CLOSED
net_hosts_check → no github entries in hosts (clean)

-NoProfile -NonInteractive; check Get-ExecutionPolicy — it does not require RemoteSigned.Part of the dsh-toolkit family — small, independently useful pieces for DeepSeek Harness: