DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Proxy — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@copylee/dsh-proxy

Proxy

DeepSeek Harness 代理插件:在设置中配置全局 HTTP(S) 代理,或为单个 LLM 提供商单独配置代理 / 直连

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

npx -y @deepseek-ai/dsh plugin --profile web add @copylee/dsh-proxy@0.4.5
README兼容性版本
The Network proxy page in Settings: a global proxy, and per-provider rows set to Direct or Use proxy

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/7

版本

0.4.5stable
2026/10/7
0.4.4stable
2026/10/6
0.4.2stable
2026/10/3
查看其余 3 个版本收起版本
0.4.1stable
2026/10/1
0.4.0stable
2026/9/30
0.3.1stable
2026/9/26

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

@copylee/dsh-proxy

English | 中文

A network proxy plugin for DeepSeek Harness (dsh):

  • Global proxy: enter http://127.0.0.1:7890 under Settings → Network proxy, and model requests, web search, web fetch, HTTP MCP, and commands the agent runs all go through it.
  • Per-provider proxy: give one model provider its own proxy or force it direct. For example, Anthropic through http://127.0.0.1:7890 and DeepSeek direct.
  • Applies on save: no dsh restart needed.

Precedence: provider setting > global proxy > HTTP(S)_PROXY from launch.

Install

dsh plugin --profile web add @copylee/dsh-proxy

Restart dsh web, and a Network proxy page appears in Settings.

Keep the @copylee/ scope. The unscoped dsh-proxy and dsh-network-proxy packages on npm belong to other people and are unrelated.

You can also install straight from GitHub. Built output is committed, so no build script or allowBuilds entry is needed:

dsh plugin --profile web add github:copylee711/dsh-proxy

Use

Open Settings → Network proxy:

The Network proxy page in Settings: a global proxy, and per-provider rows set to Direct or Use proxy

AreaWhat it does
Global proxyTick Enabled and enter the proxy URL. Hosts that bypass the proxy takes one host per line and matches subdomains too. localhost / 127.0.0.1 are always direct.
Per-provider proxyLists configured model providers. Each can be Follow global, Use proxy, or Direct. Add a provider not in the list by typing its id below it (e.g. deepseek-official, anthropic, openai, or a custom Provider ID from the Models page).

Save applies to the next request, including Fetch available models on the Models page.

System proxy

The global selector offers Off (use launch settings), System proxy (auto-detect), and Manual proxy. Each provider can also select its own system proxy, overriding the global route. Menus follow dsh-free-search's floating cards, hover highlights, and selection checkmarks, with Arrow, Home/End, Enter, Esc, and Tab keyboard support.

Detection tries valid HTTP(S) values from HTTPS_PROXY / https_proxy, HTTP_PROXY / http_proxy, and ALL_PROXY / all_proxy in that order, then Windows current-user Internet Settings or macOS scutil. Linux uses environment variables. A launch environment snapshot prevents the plugin's own installed proxy from feeding back into detection. OS settings are checked every 30 seconds; the settings page also offers Detect again. SOCKS, PAC, and WPAD are not supported. When detection finds no usable proxy, the global layer restores launch settings and provider overrides fall back to the global route with a warning. Status and logs mask proxy credentials.

global:
  enabled: true
  mode: system
  noProxy: []
providers:
  openai:
    enabled: true
    mode: system

Existing configurations without mode continue using their manual proxy. The global proxy remains disabled by default.

Accent colour

The bottom of the page offers an accent colour (terracotta, blue or black) for the primary button and focus rings. The choice is shared with the other copylee plugins: changing it in any one of them recolours all of them.

Configuration file

The same settings live in $DSH_HOME/profiles/<profile>/cordis.patch.yml (the Web UI profile is web):

- id: dsh-proxy
  config:
    global:
      enabled: true
      url: http://127.0.0.1:7890
      noProxy: [internal.example.com]
    providers:
      anthropic:
        mode: proxy
        url: http://127.0.0.1:7890
      deepseek-official:
        mode: direct
FieldMeaning
global.enabledTurn the global proxy on. Default false, which keeps the launch environment's proxy.
global.urlGlobal proxy URL.
global.noProxyHosts reached directly while the global proxy is on.
providers.<id>.enabledUse this provider's own setting. Default true; false follows the global route.
providers.<id>.modeproxy (use url) or direct (bypass every proxy, the global one included).
providers.<id>.urlThis provider's proxy URL.

Proxy URLs may be http:// or https://. A bare 127.0.0.1:7890 becomes http://127.0.0.1:7890. Credentials go in the URL: http://user:password@host:port.

How it works

  • Global proxy installs through dsh's own @deepseek-ai/dsh-http-proxy, the package the launcher uses for HTTP(S)_PROXY. Loopback bypass, NO_PROXY matching, web_fetch routing, and the proxy environment of spawned tools therefore behave exactly as upstream. Turning it off restores the launch policy.
  • Per-provider proxy hooks the llm/stream middleware. A provider's model call runs in one async context. The plugin puts that provider's undici ProxyAgent (or a direct Agent) in an AsyncLocalStorage, and fetch uses it inside that context. Other requests are untouched, and concurrent calls to different providers don't interfere.
  • Both sections are Cordis volatile fields. Saving in Settings fires loader/volatile-update, and the plugin switches routes in place without reloading.

Limits

  • HTTP(S) proxies only; SOCKS5 is not supported. The "mixed port" of Clash, v2rayN, and similar apps (e.g. 7890) also speaks HTTP, so use that port.
  • Per-provider routes cover that provider's model requests only (including model discovery). Web search, web fetch, and other traffic use the global route.
  • Credentials are stored in plain text. A username and password in the URL are saved in the profile's cordis.patch.yml. The global proxy URL also reaches commands the agent runs through their environment.
  • Telemetry stays direct. It uses Node's http module, as it does in upstream dsh.

Develop

npm install
npm run typecheck
npm test        # global / per-provider / direct routing against local fake proxies
npm run build   # regenerates lib/ and client/ (commit them)

Try it in a local dsh: dsh plugin --profile web add /path/to/dsh-proxy.

License

MIT

相关插件

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

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilities为自定义 pi-ai 提供商声明每个模型的能力(图像输入和推理力度),可直接在 Models 设置卡片中编辑;写入官方 llm-pi-ai 设置命名空间,不更改 DSH 源代码。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式