dsh-proxy-switcher: Hot-swap Outbound Proxies at Runtime

DSH outbound HTTP relies on global fetch, making changes to HTTP_PROXY after process startup often ineffective; consequently, switching proxies usually requires a restart. The community plugin dsh-proxy-switcher (by JinSuperOfficial) leverages the undici global dispatcher and the dsh-http-proxy seam to enable hot-swapping between direct connections, system proxies, and multiple HTTP, HTTPS, and SOCKS5 configurations via the settings page's Proxy option or the /proxy command, all without restarting DSH. Based on the GitHub README, this article outlines the installation script, configuration priority, typical usage scenarios, and known limitations regarding OTLP and SOCKS5 web_fetch.

Read More