dsh-clash-proxy
Run the following command in DeepSeek Harness:
dsh plugin install Lunatic029/dsh-clash-proxy
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Lunatic029/dsh-clash-proxy in the DeepSeek Harness terminal; source at https://github.com/Lunatic029/dsh-clash-proxy
About this plugin
Running DeepSeek Harness under a restricted network often means outbound traffic simply cannot reach the public internet. Whether it is the harness internal web search and LLM API calls, or child commands like git clone and npm install that the agent executes in a shell, they either time out or get blocked. dsh-clash-proxy was built for exactly this scenario.
The approach is straightforward: install a process-global undici dispatcher so every fetch request is routed through a local forward proxy (a Clash mixed port or a V2Ray HTTP proxy, for example), and inject HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables so child processes inherit the same route. Loopback addresses, RFC 1918 private ranges, and link-local are bypassed by default; IPv4 CIDR matching and a custom noProxy list are also supported. If the proxy process is not running, a transient toast appears in the UI for quick diagnosis.
It is ideal for developers who rely on Clash or V2Ray and need their harness to work through a proxy. Keep in mind that only HTTP CONNECT proxies are supported (SOCKS is out of scope), and SSH traffic such as git clone via SSH will not be proxied.
Use Cases
- Route harness web search, web fetch, and LLM API calls through a local Clash or V2Ray forward proxy in a restricted network
- Ensure child processes (git, npm, curl) inherit HTTP_PROXY and stay on the same route automatically
- Get a transient UI toast the moment the proxy becomes unreachable for quick diagnosis
Best For
- Developers who rely on DeepSeek Harness for web search and LLM API calls under a restricted network
- Technical users who run Clash or V2Ray as their local egress proxy
- Deployers who need both harness-internal fetch and agent child processes to share the same proxy route
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.