Skip to content

Releases: TongaiLinC/dsh-mobile-access

dsh-mobile-access v1.0.4

Choose a tag to compare

@TongaiLinC TongaiLinC released this 17 Aug 18:10

v1.0.4 修复

  • 域名访问空白页(iOS Safari 缓存):DSH 主服务器对 index.html 无缓存头,iOS Safari 启发式缓存旧页面,旧 bundle 文件名在新构建后 404,导致「空白页 + 徽标正常」而 IP 直连却正常。修复:
    • 网关代理对 HTML 响应强制 cache-control: no-store
    • tapIndex 注入 Cache-Control: no-store meta 双保险
  • 空白页诊断横幅:域名直连主服务器(绕过网关,/api 信任围栏 403)时 5 秒后显示横幅,引导改用网关端口(tailscale serve 3081)
  • README 安装示例锁定 v1.0.4

安装:dsh plugin --profile web add dsh-mobile-access@github:TongaiLinC/dsh-mobile-access#v1.0.4

v1.0.3 - 修复移动端权限菜单被裁剪

Choose a tag to compare

@TongaiLinC TongaiLinC released this 17 Aug 16:03

修复

  • 移动端「访问模式(权限)」等工具区下拉菜单被裁剪:手机端 CSS 将输入框工具区设为 overflow-x:auto 滚动容器(高仅一行 28px),权限菜单(absolute 定位,向上弹出)完全超出容器边界被裁剪,手机上看不到也点不到(点击实际命中的是底下的输入卡片)。
  • 修复:菜单打开期间(工具区内存在 [role="menu"])放开裁剪(:has() 规则),关闭后自动恢复滚动。

安装

dsh plugin --profile web add dsh-mobile-access@github:TongaiLinC/dsh-mobile-access#v1.0.3

dsh-mobile-access v1.0.2

Choose a tag to compare

@TongaiLinC TongaiLinC released this 17 Aug 04:57

dsh-mobile-access v1.0.2

修复:网关代理转发时透传原始 Host 与来源 IPx-dshm-forwarded-host / x-dshm-real-ip),主服务器据此识别真实访问方式。

  • Tailscale 域名(.ts.net)→ VPN 模式
  • 局域网 IP → LAN 模式
  • 修复手机断开 Wi-Fi 走蜂窝 + Tailscale 域名时仍显示「局域网」的问题
  • 配合 tailscale serve --bg 3081https://<主机名>.ts.net/ 可正常访问且模式正确

安装:dsh plugin --profile web add dsh-mobile-access@github:TongaiLinC/dsh-mobile-access#v1.0.2

dsh-mobile-access v1.0.1

Choose a tag to compare

@TongaiLinC TongaiLinC released this 17 Aug 04:57

dsh-mobile-access v1.0.1

修复:LAN / VPN 地址改为使用网关代理端口(默认 3081)。

  • 主服务器只绑定 127.0.0.1,外部来源(Tailscale IP、局域网 IP)无法直连 3080
  • 面板此前给出的地址指向 3080 导致手机无法访问
  • 现统一走代理端口,扫码 / 直连 / Tailscale IP / 域名均可访问

安装:dsh plugin --profile web add dsh-mobile-access@github:TongaiLinC/dsh-mobile-access#v1.0.1

dsh-mobile-access v1.0.0

Choose a tag to compare

@TongaiLinC TongaiLinC released this 17 Aug 01:20

dsh-mobile-access v1.0.0

DeepSeek Harness 移动端访问插件首发版。

功能

  • PC 审批门禁:手机设备首次访问须 PC 批准,支持批准/拒绝/撤销/删除
  • 局域网 / VPN / 公网自动识别与模式切换弹窗(Tailscale / ZeroTier 支持)
  • 网关代理子进程(0.0.0.0:3081 → 127.0.0.1:3080),扫码访问、WebSocket 实时转发
  • 设备与策略持久化到 $DSH_HOME/dsh-mobile/state.json
  • 移动端 UI 适配:窄屏禁用第三方皮肤、设置模态全屏、输入行重排、徽章集成侧边栏、轨迹视图隐藏输入框
  • dsh-balance-plugin 全套适配:弹窗层级/位置修复、渲染级校验、iOS 弹窗迁移、明细表格横向滚动
  • 非安全上下文 crypto.randomUUID polyfill

安装

dsh plugin --profile web add dsh-mobile-access@github:TongaiLinC/dsh-mobile-access

文档

https://docs.tongai.vip/docs/dsh/zhinandaodu.html