YiYan129600/dsh-mobile-access1

dsh-mobile-access

DeepSeek Harness plugin: one-page mobile access setup — Tailscale/LAN detection, scan-to-open QR (offline, server-side), and an insecure-origin crypto.randomUUID polyfill so the web UI also runs on plain-HTTP phone origins.

AI 분석

核心用于简化手机访问电脑端 DSH 的配置流程。适合需要在移动端使用 DSH 且面临跨设备连接或安全源限制的用户。需配合 Tailscale 或局域网环境使用。

패키지
dsh-mobile-access
버전
0.1.0
라이선스
NOASSERTION
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YiYan129600/dsh-mobile-access

使用 / Use

  1. 打开设置页 http://127.0.0.1:3080/mobile-access,按清单逐项点亮:
    • 绑定全部网卡:重启时加 --host 0.0.0.0,或把页面里给出的 patch 片段写进 profile 的 cordis.patch.yml(推荐,一劳永逸)
    • Tailscale:电脑与手机各装 Tailscale,用同一账号登录;页面会自动显示 100.x tailnet 地址
    • 防火墙:管理员 PowerShell 跑一次页面里给出的 netsh 命令(只放行 Tailscale 网段,公网不暴露)
  2. 手机(同一 tailnet)扫码或手动输入地址即可打开 DSH

配置 / Config

在 profile 的 cordis.patch.yml 里可覆盖插件行配置(均为可选项):

- id: mobile-access
  config:
    pagePath: /mobile-access   # 设置页路径
    polyfill: true             # 向 index.html 注入 crypto.randomUUID 兼容补丁