← 返回列表

dsh-http-proxy

DeepSeek Harness 模型与账号接入 低风险

把 globalThis.fetch 包一层,按目标域名让 DeepSeek Harness 的模型 API 请求走 HTTP/SOCKS 代理、其它请求保持直连,全程不改 Harness 源码。

Wraps globalThis.fetch to route DeepSeek Harness model-API requests through an HTTP/SOCKS proxy by target domain, leaving all other requests on the direct connection, without modifying Harness source.

怎么安装

DeepSeek Harness dsh plugin add dsh-http-proxy

简介

dsh-http-proxy 给 DeepSeek Harness(DSH)加「模型请求走代理、其它请求直连」的能力,**不修改任何 DSH 官方代码**。 本机访问不到大模型、但代理服务器能访问时,装上本插件并配好代理,DSH 就把所有模型 API 请求走代理发出;web 搜索、网页抓取、MCP 等其它请求仍走本机直连。 原理 插件在运行时把 globalThis.fetch 包一层(DSH 的 DeepSeek 适配器和 pi-ai 的 OpenAI/Anthropic SDK 都调用它),按**目标域名**决定走哪条路: 域名是模型 API 域名 → 走代理(undici ProxyAgent,支持 HTTP/SOCKS5) 其它域名 → 本机直连(原来的 fetch) 整个过程不改 DSH 源码;卸载后 globalThis.fetch 恢复原样,不残留任何东西。 安装(一条命令) bash dsh plugin --profile web add github:elizax/dsh-http-proxy web 是 profile 名,换成你自己的 profile 名(如 headless)。仓库里已带构建好的 lib/,安装时无需编译。 重启 bash dsh --profile web 配置 有两种方式,效果相同: **方式 A:网页 UI(推荐)** 安装并重启后,…

推荐参考

51 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
51 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
5
月下载
855
最近更新
2026-09-07
创建于
2026-08-26

链接

GitHub ↗ npm ↗ 报告问题 ↗

基础安全检查

检查结果
无
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh-plugin

同类推荐

DeepSeek HarnessClaude CodeCodex
推荐81

dsh-plugin-subscriptions

V1ki/dsh-plugin-subscriptions

把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。

☆ 382 ↓ 9.8K 模型与账号接入 ↗
DeepSeek Harness
推荐78

dsh-workbuddy-connect

corrinehu/dsh-workbuddy-connect

将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。

☆ 196 ↓ 5.3K 模型与账号接入 ↗
Claude Code
推荐74

claude-code-router

musistudio/claude-code-router

每个AI代理的本地控制平面:跨模型路由、融合新能力、编排工具,并始终保持完全控制。

☆ 37.4K ↓ – 模型与账号接入 ↗
DeepSeek Harness
推荐73

dsh-thinking-effort

hytime/dsh-thinking-effort

为 DSH 自定义模型配置思考档位和子 agent 默认思考强度。

☆ 33 ↓ 6.6K 模型与账号接入 ↗