iTrimut / dsh-remote-access

已收录

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

main工具技能 查看源代码

安装

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

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 509c892同步于 2026年8月18日

最近一次目录同步未能刷新此 README 快照。

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

仓库信息

开发语言
JavaScript
许可证
MIT
最新发布
v1.0.0
最后更新
2026年8月18日 06:18

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。