dsh-web-fetch-proxy
Run the following command in DeepSeek Harness:
dsh plugin install shaomingbo/dsh-web-fetch-proxy
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install shaomingbo/dsh-web-fetch-proxy in DeepSeek Harness to install this plugin (source: https://github.com/shaomingbo/dsh-web-fetch-proxy).
About this plugin
If your proxy stack uses fake-ip or TUN-mode DNS, every hostname resolves into the 198.18.0.0/15 reserved range, and DSH's built-in web_fetch provider hard-checks for public unicast IPs before connecting, so every page request fails with resolves to a non-public IP address. dsh-web-fetch-proxy exists for exactly this scenario: it registers a new provider (id http-proxy) on ctx.web that routes all outbound requests through an explicitly configured HTTP(S) proxy built on undici ProxyAgent, delegating DNS resolution and network egress entirely to the proxy side. No DSH core files are touched; the extension is purely a registry entry, and removing two profile patches restores the built-in provider.
Security semantics stay aligned with the built-in provider: no cookies, no ambient credentials, no embedded URL credentials, same-origin redirect following only, 5 MiB byte cap, 30 s timeout, 5-hop limit. The one difference is that local DNS validation is skipped. Your proxy address is the trust boundary, and whatever it resolves and routes is what you get. Missing or invalid configuration fails loudly with no hidden environment-variable fallback. Error codes follow the ctx.web seam vocabulary (WEB_FETCH_TIMEOUT, WEB_REDIRECT_BLOCKED, etc.) and are surfaced as isError results without interrupting the session.
It suits developers who run a fake-ip or TUN DNS proxy and still need reliable page fetching inside DSH, as well as teams that want the egress path to be explicit and auditable. The plugin does not promise HMR; after swapping candidates, restart the affected profile and hard-refresh the GUI.
Use Cases
- Built-in web_fetch fails on every request under fake-ip or TUN DNS
- All outbound page fetches in DSH must go through an explicit trusted proxy
- Need an auditable, zero-core-change egress path for DSH web requests
Best For
- Developers running fake-ip or TUN DNS proxies on DSH
- Team tech leads requiring an explicit, auditable egress boundary
- Users who rely on ctx.web fetching inside restricted network environments
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.