dsh-netassist
Manifest valid★ 1Network and proxy doctor for DSH: checks system proxy settings, probes local proxy ports, detects TUN adapters, tests GitHub, TCP and HTTP reachability, scans hosts conflicts and prints concrete sugge
dsh-netassist
Part of the dsh-toolkit family: dsh-mcp-bridge · dsh-win-toolkit · dsh-netassist · dsh-driftwatch
Network & proxy assistant for DeepSeek Harness (dsh).
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。
Platform
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.
Timing
Every check spawns a powershell.exe, and a cold one costs roughly 20 seconds to start. So on
a freshly booted Windows machine:
- the individual tools answer within about half a minute
net_doctorcan exceed a minute, because it runs four checks in parallel plus a port probe
Most 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) instead, or raise your client's request timeout. Once
PowerShell has been used a few times the cost drops sharply.
Tools
| 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) |

Install
dsh plugin --profile web add dsh-netassist
dsh web # restart
Then ask your agent:
- "check if github.com is reachable" →
net_github_status - "what proxy is my system using?" →
net_proxy_status - "is my proxy running?" →
net_proxy_probe - "why can't I reach api.example.com:8443?" →
net_diaghost=api.example.com port=8443 - "any github entries in my hosts?" →
net_hosts_check
How it works
Every 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.
- Config:
psTimeoutMs(default 25000) — per-call PowerShell timeout, settable in your profile'scordis.patch.ymlunder thenetassistentry. - Windows-only: tools fail loudly on non-Windows platforms.
Real-world example (this machine)
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)

Troubleshooting
- "PowerShell failed": usually execution-policy or anti-virus interference. The plugin uses
-NoProfile -NonInteractive; checkGet-ExecutionPolicy— it does not require RemoteSigned. - Port probes use a 5s connect timeout each, so a full probe takes ~5-10s worst case.
Links
- npm: https://www.npmjs.com/package/dsh-netassist
- GitHub: https://github.com/Edge-Echo/dsh-netassist
- License: MIT
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.2.0 | — | — |
| 0.2.1 | — | — |
Comments
Loading…
Similar plugins
by minatoAI
DeepSeek Harness fallback network proxy plugin: detects system proxies, probes overseas connectivity (Google/GitHub), routes dsh outbound HTTP through a working local proxy
★ 0
MIT
TypeScript
Aug 30, 2026
dsh plugin --profile web add dsh-net-proxy-pluginby izwarm195
dsh-net-tools: reliable outbound networking for sandboxed DSH agents — net_fetch (proxy CONNECT-tunnel HTTP fetch) and net_proxy_status (proxy diagnostics).
★ 3
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-net-toolsby 173787247
Adds a net_doctor tool that reports proxy environment, NODE_USE_ENV_PROXY, and reachability of the DeepSeek API and the npm registry, and sets NODE_USE_ENV_PROXY on bash and npm child processes.
★ 2
MIT
JavaScript
Sep 25, 2026
dsh plugin --profile web add dsh-wsl-netProvider-scoped HTTP/HTTPS forward proxy for DeepSeek Harness: configure independent proxy URLs and enable/disable switches per LLM provider, with environment-variable references for proxy credentials
★ 0
dsh plugin --profile web add dsh-provider-proxyby d86e
dsh-doctor: self-healing watchdog for the DeepSeek Harness web profile. Recovers from plugin-induced boot failures within 60s, runs an unbounded CLI doctor, captures every tool error, and watches all
★ 4
MIT
TypeScript
Sep 8, 2026
dsh plugin --profile web add @d86e/dsh-doctorby yanglaofish
Routes model requests, web fetches/searches and spawned tools through the Windows system proxy or a custom address — idempotent kernel (reads never rebuild the dispatcher), header one-click toggle, pe
★ 4
↓ 562/wk
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile web add @yanglaofish/dsh-proxy-pro