dsh-plugins/dsh-network-settings0

@dsh-plugin/dsh-network-settings

DSH (DeepSeek Harness) network plugin that bundles User-Agent rewriting, an HTTP/CONNECT/SOCKS5 proxy, and configurable request auto-retry for every outgoing global-fetch request, all configured from a single “网络设置” (Network) settings tab.

包名
@dsh-plugin/dsh-network-settings
版本
1.0.1
许可证
NOASSERTION
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dsh-plugins/dsh-network-settings

Configuration

Plugin entry (cordis.patch.yml / profile override) — the values act as the composition base layer and are merged with the user-settings section:

FieldTypeDefaultMeaning
uaEnabledbooleantrueUA rewriting master switch; when off the caller's User-Agent passes through.
userAgentstringDeepSeek-Harness/0.1 (+https://github.com/deepseek-ai/dsh)The User-Agent applied to every rewritten request.
proxyEnabledbooleanfalseProxy master switch; when off requests go direct.
proxyProtocolstringhttpProxy protocol: http (CONNECT tunnel) or socks5.
proxyHoststring127.0.0.1Proxy address.
proxyPortnumber7890Proxy port.
proxyUsernamestring''Optional proxy username.
proxyPasswordstring''Optional proxy password.
proxyNoProxystring[]['127.0.0.1','localhost','::1']Direct-connection host list; matched requests bypass the proxy.
proxyTimeoutMsnumber60000Proxy request timeout in ms.
retryEnabledbooleantrueAuto-retry master switch.
maxRetriesnumber2Maximum request retry count (0 = no retries).