dsh-plugins/dsh-network-settings ↗★ 0
@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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dsh-plugins/dsh-network-settings说明文档
阅读完整 README ↗Configuration
Plugin entry (cordis.patch.yml / profile override) — the values act as the composition base layer and are merged with the user-settings section:
| Field | Type | Default | Meaning |
|---|---|---|---|
uaEnabled | boolean | true | UA rewriting master switch; when off the caller's User-Agent passes through. |
userAgent | string | DeepSeek-Harness/0.1 (+https://github.com/deepseek-ai/dsh) | The User-Agent applied to every rewritten request. |
proxyEnabled | boolean | false | Proxy master switch; when off requests go direct. |
proxyProtocol | string | http | Proxy protocol: http (CONNECT tunnel) or socks5. |
proxyHost | string | 127.0.0.1 | Proxy address. |
proxyPort | number | 7890 | Proxy port. |
proxyUsername | string | '' | Optional proxy username. |
proxyPassword | string | '' | Optional proxy password. |
proxyNoProxy | string[] | ['127.0.0.1','localhost','::1'] | Direct-connection host list; matched requests bypass the proxy. |
proxyTimeoutMs | number | 60000 | Proxy request timeout in ms. |
retryEnabled | boolean | true | Auto-retry master switch. |
maxRetries | number | 2 | Maximum request retry count (0 = no retries). |