SunNull/dsh-relay0

dsh-relay-host

DeepSeek Harness relay: mirror the home dsh web UI to the public internet through an outbound wire trunk (cloud relay + out-of-tree host plugin).

包名
dsh-relay-host
版本
0.1.0
许可证
MIT
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SunNull/dsh-relay

"trunkReady":true 即成功;false 则检查插件配置与令牌是否一致


### 第 4 步:远端访问

手机(或任何设备)浏览器打开:

http://:8443


1. 首次出现配对页 → 输入 `` → 点"配对"
2. 自动进入完整 dsh 界面(与家中电脑一模一样:会话、模型、工作区全同步)
3. 建议"添加到主屏幕",即得类原生 App 体验

多台设备重复第 4 步即可(默认上限 10 台,见环境变量)。

### 第 5 步(强烈推荐):远程可选工作区

dsh 默认在宿主桌面弹**原生目录选择框**,远程设备看不到。追加此补丁让所有人走**网页内目录浏览**:

编辑 `~/.dsh/profiles/web/cordis.patch.yml`,在末尾追加:

```yaml
- id: directory-picker
  disabled: true
- insert:
    - id: directory-picker-browse-host
      name: '@deepseek-ai/dsh-host-directory-picker-browse'
    - id: directory-picker-browse-ui
      name: '@deepseek-ai/dsh-client-ui-directory-picker-browse'

保存即热生效(这是 dsh 官方为远程部署场景设计的标准换法)。之后"添加工作区"会打开网页目录浏览器,手机上可任意选择家中路径。

第 6 步(可选但强烈建议):HTTPS

明文 HTTP 有被运营商劫持/窃听风险。有一个域名即可上自动 HTTPS: