返回目录
其他 插件

dsh-outbound-proxy

naitoupi/dsh-outbound-proxy

DeepSeek Harness (DSH) plugin: set a global outbound proxy from Settings

Stars
0
Forks
0
Issues
0
更新
8 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:naitoupi/dsh-outbound-proxy

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

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

# 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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。