dsh-proxy
LAN reverse proxy for the DSH web app: a second port with native Basic Auth, full HTTP + WebSocket forwarding, and a settings page.
What it is
LAN reverse proxy for the DSH web app: a second port with native Basic Auth, full HTTP + WebSocket forwarding, and a settings page.
How to install
Run this in the DSH web profile, then refresh the page.
$ dsh plugin --profile web add @smanx/dsh-proxy@0.1.7
DSH versions accepted
Undeclared
Author and traction
smanx · ★ 32 · Updated 2026-10-28
About this plugin
dsh-proxy
English | 中文
HTTP + WebSocket 反向代理:把局域网端口转发到本地 DSH 服务 127.0.0.1:3080。 支持 Basic Auth、局域网访问、crypto.randomUUID polyfill 注入。 DSH 插件版(推荐 · dsh-proxy)
推荐 DSH(DeepSeek Harness)用户使用:把代理作为插件装进 web 或 desktop profile,随 dsh web / 桌面应用启停,无需单独进程、无需下载可执行文件,带完整设置页面。 与独立版相同的原生 Basic Auth(浏览器弹窗)与 HTTP + WebSocket 全协议转发 设置页面(DSH 设置 → 局域网代理):状态红绿灯、启动/停止、改代理监听端口、用户名密码与免 token 登录开关(表单回写当前值,留空即设为空) 默认空凭据 = 密码登录关闭;同时设置用户名和密码才启用 可选的免 token 首次访问(skipLaunchToken,默认关闭):由代理代替浏览器完成 DSH 启动 token→cookie 兑换,无需任何人粘贴 token——因为它会移除 DSH 自身的 token 校验,请与用户名密码搭配使用
安装
插件按 profile 安装,Web 端与桌面端相互独立:只对谁生效就装谁,两边都用就各装一次。
① Web 端(dsh web,命令行安装)
npm 安装(推荐)——版本固定在 registry 上,不依赖 GitHub:
从 GitHub 安装(跟随 master 最新代码):
本地安装(仓库已克隆/下载到本机):
核对与卸载走同一命令:把 add 换成 ls 或 remove @smanx/dsh-proxy。 国内网络下 dsh plugin 按 pnpm 配置的注册表拉取,npmmirror 对新发布的同步有分钟级延迟:刚发的版本装不到就稍后重试,或把 pnpm 的 registry 指向官方源后再装。
Similar plugins
Mole
🐹 Open-source Mac and PC cleaner. Keep your machine clean, light, and running like new…
DeepSeek-Reasonix
A reliable coding agent for complex software engineering tasks.
dsh-desktop
DSH Desktop product workspace