AI Agent Hub
Back to plugins
🧰

dsh-wsl-net

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install 173787247/dsh-wsl-net

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install 173787247/dsh-wsl-net in DeepSeek Harness to install this plugin; the source repository is https://github.com/173787247/dsh-wsl-net

About this plugin

Clash and V2Ray happily proxy your Windows browser traffic, yet the Node agent inside WSL still cannot reach the DeepSeek API or npm. The usual culprit is sneaky: Node 24 fetch silently ignores proxy environment variables unless NODE_USE_ENV_PROXY is turned on, and nobody noticed it was off.

The net_doctor tool in dsh-wsl-net lays the entire chain bare in one pass. It prints your HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY values with userinfo redacted, compares what the dsh web host process sees versus what the tool subprocess inherited, TCP-probes the configured proxy port to confirm it is actually listening, and then performs live HTTP checks against the DeepSeek API and the npm registry. When something is wrong, it does not just end with a log line. It hands you a ready-to-paste fix script that sets the missing variables or corrects the port, so the very next command works. It can also optionally inject NODE_USE_ENV_PROXY=1 and lowercase http_proxy aliases into subprocesses spawned for bash or npm, eliminating a whole class of "works in terminal, fails in tool" inconsistencies.

If you work day in and day out inside WSL, talking to DeepSeek or pulling npm packages through a Windows-side proxy client, this plugin is the thirty-second diagnostic that answers the question you always ask: who forgot to read the proxy? One tool call, one clear report, one paste-able fix. No API keys are ever printed, no Clash ports are mutated, and no proxy URL is invented out of thin air when none is configured.

Use Cases

  • Browser reaches DeepSeek fine but the WSL Node agent throws a network error and you need to confirm proxy variables are actually in effect
  • Node 24 fetch silently skips proxy env vars, and you want a one-command report instead of manually grepping env every time
  • After changing your Clash port, WSL child processes still fail to reach the npm registry and you need to verify port listening and child-process injection

Best For

  • Developers who call the DeepSeek API from within WSL every day
  • Engineers who use Clash or V2Ray as a system-wide proxy and install npm packages inside WSL
  • Ops engineers who repeatedly hit agent-vs-browser network mismatches and need fast fault isolation