SparkElf/dsh-plugins-plus--packages-mobile-bridge ↗★ 1

@sparkelf/dsh-mobile-bridge

提供移动端桥接、加密隧道及响应式设置 适合需要通过公网安全隧道将手机浏览器连接至本地实例进行移动端体验的用户。

套件
@sparkelf/dsh-mobile-bridge
相容性
待驗證
Harness 依賴範圍
>=0.1.7-rc.2
Cordis 依賴範圍
^4.0.4
版本
0.2.15
最近更新
2026年10月2日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SparkElf/dsh-plugins-plus#56011da86ed467eb65fdbe10c9f6e2d3acdf27e3&path:packages/mobile-bridge

配置

字段含义
serverUrl公网移动桥接服务器的 HTTPS 地址
localPort本机 Harness Web 端口
userKey可选加密口令;设置后手机扫码后仍需输入
ownerEmail扫码邮箱二因子的收件地址
emailTwoFactor是否要求扫码后输入邮箱验证码
sessionDays手机关闭浏览器后的登录保持天数;默认 7,范围 1-365
autoConnect启动时是否连接
autoReconnect断线后是否重连
domDiagnostics是否允许已配对手机上报有界 DOM 几何诊断;默认关闭

Configuration

FieldMeaning
serverUrlHTTPS URL of the public mobile bridge server
localPortLocal Harness Web port
userKeyOptional passphrase; when set, the phone must enter it after scanning
ownerEmailInbox for scan-time email verification
emailTwoFactorRequire an email code after scanning
sessionDaysDays a phone remains signed in after closing the browser; defaults to 7, range 1-365
autoConnectConnect on startup
autoReconnectReconnect after disconnection
domDiagnosticsAllow bounded DOM geometry reports from paired phones; disabled by default