sevastopol36/dsh-plugin-ghproxy ↗★ 1
dsh-plugin-ghproxy
DeepSeek Harness native plugin: fetch GitHub files, release assets, archives, gists and api.github.com JSON through public proxy mirrors with automatic health-checked failover 适合国内或网络受限环境下,需要稳定下载GitHub文件和发布包的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sevastopol36/dsh-plugin-ghproxyREADME
Read the full README ↗配置
- id: sevastopol36-ghproxy
config:
proxyBases: # 按顺序尝试,第一个健康的胜出
- 'https://gh-proxy.com'
- 'https://sevastopol36-ghproxy.net'
- 'https://ghfast.top'
- 'https://gh.ddlc.top'
- 'https://gh.jasonzeng.dev'
proxyBase: '' # 兼容 0.1.0 的单代理设置,若填写会优先尝试
downloadDir: 'downloads/github'
timeoutMs: 60000
retries: 1
retryDelayMs: 800
healthCacheMs: 300000
maxTextBytes: 262144
maxBytes: 209715200 # 200 MB
overwrite: false
allowApi: true
全部镜像都失败怎么办
sevastopol36_ghproxy_probe # 实测并给出建议 proxyBases
sevastopol36_ghproxy_probe include_defaults=true # 连同内置默认镜像一起测
错误信息会列出每个镜像的失败原因。