ChatGPTClaudeGrok / X / CursorGemini

dsh-local-proxy: A Local Proxy Plugin That Routes All Outbound Requests for DeepSeek Harness

saithink/dsh-local-proxy

Tools & CapabilitiesVerified
Listed on 2026-10-29
Page last updated 2026-10-30

dsh-local-proxy is a DSH plugin that routes all DeepSeek Harness outbound traffic—model inference, web search and third-party calls—through your local proxy, with one-click connectivity tests and public egress IP detection.

dsh-local-proxy is a local network proxy management plugin for DeepSeek Harness that sends external traffic such as model inference, web search and scraping, and third-party tool calls through one configured proxy exit. It targets restricted networks where direct connections fail, taking over native fetch() and CONNECT tunnels so low-level requests from traditional client libraries are proxied as well. The plugin also syncs proxy environment variables so child processes spawned by DSH inherit the same exit, and it bypasses loopback addresses by default to protect the Web GUI and local RPC. The panel offers one-click connectivity testing with public egress IP detection and port presets for common proxy clients.

How to Install

install
dsh plugin --profile web add github:saithink/dsh-local-proxy
Category
Tools & Capabilities
Platform
DSH Plugin
Author
saithink
Distribution
Plugin

dsh-local-proxy Key Features

Global fetch and http interceptionSync proxy env vars to subprocessesAuto bypass for loopback addressesOne-click connectivity and egress IP testQuick presets for common proxy clients
Listed on dsh-plugin.org

dsh-local-proxy Repo Summary

What Does It Do?

Local Proxy is a DSH plugin for DeepSeek Harness that routes all of the harness's outbound traffic through a configured local proxy. It solves the problem of model inference, web search and scraping, and third-party tool calls failing on restricted networks by sending every external request through one proxy exit. Maintained by saithink under the MIT license, it is written in JavaScript and was last updated on 2026-10-28.

Core Features

  • Global dispatcher injection: takes over Node.js 18+ native fetch() so model APIs, web search, and external scraping all go through the proxy.
  • CONNECT tunnel interception: transparently proxies low-level requests that third-party client libraries send via http.request / https.request.
  • Two-way environment variable sync: keeps HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY and their lowercase aliases up to date, so child processes spawned by DSH such as curl and git inherit the proxy too.
  • Loopback bypass protection: forces localhost, 127.0.0.1, ::1 and similar local addresses to stay direct, so the DSH Web GUI and local RPC never break.
  • One-click connectivity test: checks reachability of targets such as Cloudflare and the official DeepSeek API in real time and reports round-trip latency plus the detected public egress IP.
  • Quick presets for common clients: fills in ports for Clash Verge, Clash / Mihomo, v2rayN, and Sing-box with one click, and matches the DSH light and dark themes.

How to Use This Plugin?

Open the Plugins section in DSH, select Local Proxy, and go to its detail page. Under proxy server configuration, enable the global outbound proxy, then click a preset port (for example Clash Verge on 7897) or type a port into the quick-port field. Click the connectivity test to confirm the proxy works and to see the public egress IP, then save the configuration to apply it immediately. The global outbound proxy hot-reloads on the spot, with no client restart needed.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: saithink/dsh-local-proxy. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ