iTrimut / dsh-remote-access

Listed

DeepSeek Harness Web GUI remote HTTPS access plugin: browse picker, legacy-browser taps (AbortSignal polyfill, phone bootstrap), bundled skill. Install once, use everywhere.

mainToolSkill View source

Installation

npx -y @deepseek-ai/dsh plugin --profile web add github:iTrimut/dsh-remote-access

This installation command is an unverified starting point generated from the GitHub repository address.

README

Maintainer-authored documentation snapshot.

View on GitHub ↗
Commit 509c892Synced Aug 18, 2026

This README snapshot could not be refreshed during the latest directory sync.

dsh-remote-access

DeepSeek Harness Web GUI 的公网 HTTPS 远程访问插件(装即用)。

安装后自动获得:

  • browse 目录选择器(手机/远程浏览器可用网页文件浏览器选工作区,替代 native 弹窗)
  • 旧浏览器兼容补丁(iOS<16 Safari 的 AbortSignal.timeout/any polyfill,经 index.html 注入)
  • 手机直达引导(可选:配置 sessionId 后,手机首次打开直接进入目标会话)
  • 内置技能 dsh-remote-access(首次激活自动安装到 $DSH_HOME/skills/,agent 可直接加载执行)

安装

# 本地包
dsh plugin --profile web add file:/path/to/dsh-remote-access
# 或 GitHub(上架后)
dsh plugin --profile web add dsh-remote-access

然后重启 dsh web--dump-config 可先验证补丁生效)。

配置(可选,均为默认值即可用)

在 profile 的 cordis.patch.yml 里给 dsh-remote-access-host 行加 config:

- id: dsh-remote-access-host
  config:
    sessionId: session-xxxx-xxxx-xxxx-xxxx  # 手机直达的会话 id(留空=不引导)
    enablePolyfill: true
    enableBootstrap: true
    installSkill: true

公网域名(必配,每台机器不同)

插件替你写死公网域名。二选一:

  1. 启动时带 --trusted-host <你的域名>npx -y @deepseek-ai/dsh web --port 3080 --trusted-host dsh.example.com
  2. 或在 profile 的 cordis.patch.yml 加:
    - id: connection
      config:
        trustedHosts: !!js "['dsh.example.com', ...ctx.webRuntime.trustedHosts]"
    

完整搭建流程

见内置技能 dsh-remote-access(安装后 agent 可加载),或直接读 skills/dsh-remote-access/SKILL.md——含 Cloudflare 隧道、本地密码代理(HTTP+WebSocket)、 信任围栏、兼容补丁的完整步骤与全部模板文件(files/ 已脱敏,复制替换占位符即可)。

架构

iPhone ──HTTPS──> Cloudflare 边缘(域名+证书) ──cloudflared 隧道──> 本地密码代理(127.0.0.1:3099) ──> DSH(127.0.0.1:3080)

⚠️ 安全:DSH 是远程代码执行级入口。密码代理(见技能 files/auth-proxy.js)是安全底线, 公网地址不要公开。搭建完成后建议吊销临时 API 令牌。

License

MIT

Repository information

Language
JavaScript
License
MIT
Latest release
v1.0.0
Last updated
Aug 18, 2026, 6:18 AM

Install deliberately

Review source code, permissions, lifecycle hooks, dependencies and network access. Test untrusted plugins in an isolated environment.