Bundle
dsh-outbound-proxy
DSH plugin: configure a global outbound proxy (writes ~/.dsh/.env); affects LLM / web / HTTP MCP traffic after restart.
- Source
- naitoupi
- License
- MIT
- Updated
- Updated yesterday
Readme
# dsh-outbound-proxy DeepSeek Harness (DSH) 插件:在「设置」里配置一个全局出站代理,写入 `~/.dsh/.env`,重启后对 LLM / 网页搜索 / HTTP MCP 生效。 A DeepSeek Harness (DSH) plugin that configures a global outbound proxy from Settings, persisting it to `~/.dsh/.env` (takes effect on the LLM / web-search / HTTP-MCP traffic after restart). ## 功能 / Features - 设置 → 出站代理:输入 `http(s)://` 代理地址并保存 - 「恢复默认」= 清空代理、恢复直连 - 合并式写入 `~/.dsh/.env`,保留文件里其它行 - 只接受 `http(s)://`,拒绝 SOCKS;`localhost` / `127.0.0.1` 永远直连 ## 原理 / How it works DSH 自带 `@deepseek-ai/dsh-http-proxy`:启动时读取环境变量 / `~/.dsh/.env` 里的 `http_proxy` / `https_proxy`,安装为 undici 全局 dispatcher。本插件只负责把设置页填写的地址 落盘到 `~/.dsh/.env`,因此代理在 DSH 启动时读取一次,**修改后需重启 DSH 生效**。 ## 安装 / Install ```sh # 1. 把包加进 profile 依赖 dsh plugin --profile web add github:naitoupi/dsh-outbound-proxy # 2. 在 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles 里加上 "dsh-outbound-proxy" # 3. 安装并重启 DSH dsh plugin --profile web install ``` ## License MIT
Install
dsh plugin --profile web add github:naitoupi/dsh-outbound-proxy
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-outbound-proxy from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.