YiYan129600/dsh-mobile-access1

dsh-mobile-access

DeepSeek Harness 移动端访问设置插件,提供 Tailscale/局域网检测、扫码打开的二维码,以及针对普通 HTTP 协议手机端安全源的兼容补丁。

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 兼容补丁