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.

AI 분석

为 DSH 的所有全局请求提供统一的代理、UA 修改和重试机制。适合处于受限网络环境、需要配置代理或自定义请求头以顺利连接 LLM 服务的用户。

패키지
@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).