AI Agent Hub
Back to plugins
🖥️

dsh-proxy-pro

Client Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install yanglaofish/dsh-proxy-pro

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

In DeepSeek Harness, run dsh plugin install yanglaofish/dsh-proxy-pro to install; the source lives at https://github.com/yanglaofish/dsh-proxy-pro, then restart DSH Web to activate it.

About this plugin

Running DeepSeek Harness on Windows often hides a nasty proxy problem: model requests go through the proxy, yet web_search and web_fetch silently bypass it, producing fetch failures; every poll cycle re-installs the dispatcher and drags down the desktop UI; and proxy state is opaque, so troubleshooting means digging through logs. dsh-proxy-pro closes all of these gaps with a single proxy manager that funnels the entire runtime-model calls, web_search, web_fetch, and spawned tools-through one unified transport channel, so routing is either fully active or fully off, with no half-applied middle state.

The experience is built around visibility and one-touch control. A capsule button in the conversation header shows a green dot for on and a red dot for off; a single click toggles the master switch, and switching from off to on triggers a live read of the Windows registry and re-application, so a stuck proxy state can be re-checked by just flicking the button. The settings panel surfaces runtime facts-effective address, reason, and the NO_PROXY direct list-rather than guessing from what you typed. A built-in URL router probes any address in forced-proxy and forced-direct modes; comparing the two results tells you whether a domain belongs in the direct list, and HTTP 407 is flagged as an NTLM authentication failure with a keepalive hint. Four model-side tools (proxy_status, proxy_test, proxy_config, proxy_set) keep diagnostics and toggling conversational.

Two principles keep the internals stable. The single transport channel routes every decision through installProxyFromEnvironment; the plugin never touches undici directly, eliminating dual-instance version conflicts. The idempotent sync kernel compares an effKey before acting-when the effective state is unchanged it only refreshes a snapshot and never re-installs the dispatcher, permanently fixing the desktop stutter caused by the old every-poll reinstall. Uninstall restores the original environment, dispatcher, and policy, drains keep-alive connections in the background, and leaves zero residue.

This plugin is for Windows developers who rely heavily on DSH for networked retrieval and tool calling, and who want proxy configuration that is visible, toggleable in one click, fully routed (including web_fetch), and free of silent half-states.

Use Cases

  • web_fetch and web_search bypass the proxy on Windows causing fetch failures, needing a unified route
  • Toggling between system proxy and custom address in corporate networks with real-time verification
  • Determining whether a domain belongs in the direct list via forced-proxy and forced-direct probes

Best For

  • Windows developers who heavily rely on DSH for retrieval and tool calling
  • Engineers operating DSH behind corporate proxies or NTLM authentication
  • Users who want visible, one-click-togglable proxy state without timer polling