chickmat/dsh-system-net ↗★ 1

dsh-system-net

Make DeepSeek Harness follow your system network settings — route traffic through the operating system's proxy AND trust its certificate store, so TLS-intercepting accelerators and corporate proxies work without environment variables or a restart. 让 DeepSeek Harness 跟随系统网络设置:既走系统代理,也信任系统证书库,无需环境变量、无需重启。 适合在公司内网或需要网络代理环境下的用户。

Package
dsh-system-net
Compatibility
Unverified
Harness peer range
*
Cordis peer range
*
Version
0.2.0
License
MIT
Last updated
Oct 2, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chickmat/dsh-system-net

Configuration

Override in your profile's cordis.patch.yml:

- id: system-net
  name: dsh-system-net
  config:
    proxyMode: auto
    noProxy: 'internal.example.com'
    extraCaFiles:
      - 'C:/certs/corporate-ca.pem'

Proxy

FieldDefaultDescription
proxyModeautoauto: honour existing env → read system proxy → probe ports. manual: only proxyUrl. off: never touch the proxy
proxyUrl''proxy URL for manual, e.g. http://127.0.0.1:7890
probePortscommon portslocal ports probed in auto
probeTimeoutMs600per-port probe timeout
watchProxytrueretry at an interval when no proxy was found at startup
watchIntervalMs10000retry interval (ms)
noProxy''extra bypass entries (comma separated). loopback is always guaranteed by the official library

Certificates

FieldDefaultDescription
includeSystemtruemerge the operating system certificate store
includeDefaulttruekeep Node's bundled Mozilla root set (recommended)
extraCaFiles[]extra PEM files to trust
propagateToChildrentrueextend the same trust to Node child processes spawned later (appends --use-system-ca to NODE_OPTIONS). Only applies where Node allows that flag — see below

Shared

FieldDefaultDescription
enabledtruemaster switch
statusFile''status file path; empty means $DSH_HOME/system-net-status.json
selfChecktrueperform one real request after loading
selfCheckUrlGitHub APIself-check target. If your accelerator does not cover GitHub, change this to something it does cover — otherwise the self-check fails (which does not mean the plugin failed; read proxy.installed)
selfCheckTimeoutMs15000self-check timeout