dsh-net-tools
DSH bundle that gives sandboxed agents reliable outbound networking through the user's local proxy: net_fetch (CONNECT-tunnel HTTP fetch) and net_proxy_status (proxy diagnostics).
AI Analysis
核心用途是解决沙箱环境下的Agent无法正常访问外网(如GitHub)的问题。适合需要Agent执行联网搜索、抓取被墙网页等任务的用户。提供代理诊断工具。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:izwarm195/dsh-net-toolsREADME
Read the full README ↗使用示例
抓取一个被墙的页面(自动走代理):
net_fetch(url: "https://github.com/")
→ [200] https://github.com/ (via proxy) 1212ms …
排查代理配置:
net_proxy_status(checkReachability: true)
→ effective: http://127.0.0.1:7897
proxy reachable: true
probe: [204] https://www.gstatic.com/generate_204 ok=true