DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Local Proxy — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-local-proxy

Local Proxy

DSH 插件:发现此计算机的 HTTP 代理(代理环境变量,否则使用 Windows 系统代理),并让 DSH 使用该代理——用于代理的进程内提取操作以及它启动的每个子进程。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-local-proxy@1.0.1
README兼容性版本

兼容性与来源证明

Local Proxy 以 dsh-local-proxy 发布,当前版本为 1.0.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/21

版本

1.0.1stable
2026/9/21
1.0.0stable
2026/9/19

相关插件

正在加载相关插件…

最新版
1.0.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
15.1 kB
文件数
5
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/9/21
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

dsh-local-proxy

A DeepSeek Harness (DSH) plugin that makes the agent's network traffic use this machine's local HTTP proxy.

中文说明见下

Why

DSH's CLI boot path calls installProxyFromEnvironment(), which turns proxy environment variables into a process-wide dispatcher. The DSH Desktop boot path (resources/app/lib/host-process-entry.js → dsh-app-boot's boot()) does not, so on Desktop the agent's own web_fetch tool always connects directly: a site behind a proxy fails with URL hostname "…" resolves to a non-public IP address, while spawning curl or git from the shell works fine because those read the variables themselves.

This plugin closes that gap.

What it does

Two things only:

  1. Find the proxy — the proxy environment variables DSH already resolved (HTTPS_PROXY / HTTP_PROXY / ALL_PROXY); if none are set, the Windows system proxy from HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings (ProxyEnable / ProxyServer, including the http=host:port;https=host:port form). Only loopback addresses are accepted.
  2. Make DSH use it — installs the in-process dispatcher via DSH's own installProxyFromEnvironment, and publishes the proxy variables to child processes (plus NODE_USE_ENV_PROXY=1 on Node ≥ 22.21/24).

What it does NOT do

  • It does not check whether the proxy works, whether the node is alive, or how fast it is. If your proxy is broken, fix your proxy.
  • No port scanning, no PAC parsing, no TUN-mode handling, no non-Windows support.

Behaviour on failure

Every step is wrapped: any error is logged and the plugin does nothing. It must never break a direct connection that already worked.

Logs go to <DSH_HOME>/dsh-local-proxy.log (DSH_HOME defaults to ~/.dsh).

Install

# from a git repository
dsh plugin --profile desktop add github:<owner>/<repo>

# from npm
dsh plugin --profile desktop add dsh-local-proxy

# from a local checkout (run inside it)
dsh plugin --profile desktop add .

Then restart DSH. The CLI appends the package to dsh.profile.bundles automatically because this package declares dsh.bundle.patch.

Uninstall

dsh plugin --profile desktop remove dsh-local-proxy

Then remove the leftover log file and restart DSH.


中文说明

一个 DeepSeek Harness(DSH)插件:让 agent 的网络请求走本机的 HTTP 代理。

为什么需要它:DSH 的命令行启动路径会调用 installProxyFromEnvironment(),把代理环境变量 变成进程级的路由策略;而 DSH 桌面版的启动路径没有这一步,导致桌面版里 agent 自带的 web_fetch 工具始终直连——墙外站点会报 resolves to a non-public IP address,而从 shell 里 调 curl / git 却正常(因为它们自己读环境变量)。本插件补上这个缺口。

只做两件事:① 找代理(先看代理环境变量,没有就读 Windows 系统代理注册表,只接受回环地址); ② 让 DSH 用上它(装进程内 dispatcher + 把代理变量发布给子进程)。

不做什么:不检测代理是否可用、不扫端口、不解析 PAC、不处理 TUN,也不支持非 Windows。

失败时的行为:任何一步出错都只记日志、什么都不做;绝不破坏原本可用的直连。

日志位置:<DSH_HOME>/dsh-local-proxy.log(DSH_HOME 默认是 ~/.dsh)。