dsh-mobile 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/CONTRIBUTORS.md +11 -4
  3. package/README.en.md +11 -7
  4. package/README.md +11 -7
  5. package/SECURITY.md +3 -2
  6. package/apps/mobile/README.md +14 -2
  7. package/apps/mobile/release.json +3 -3
  8. package/cordis.patch.yml +2 -1
  9. package/docs/ATTACH_EXISTING_FRPS.md +1 -1
  10. package/docs/CADDY_MANAGED.en.md +15 -1
  11. package/docs/CADDY_MANAGED.md +15 -1
  12. package/docs/CLOUDFLARE_TUNNEL.en.md +2 -2
  13. package/docs/CLOUDFLARE_TUNNEL.md +3 -3
  14. package/docs/EXTENSION_WORKERS.en.md +49 -0
  15. package/docs/EXTENSION_WORKERS.md +49 -0
  16. package/docs/MOBILE_COMPOSER_TOOLBAR.en.md +19 -0
  17. package/docs/MOBILE_COMPOSER_TOOLBAR.md +19 -0
  18. package/docs/README.md +2 -0
  19. package/docs/SELF_HOSTED_FRP.en.md +1 -1
  20. package/docs/SELF_HOSTED_FRP.md +1 -1
  21. package/docs/TRUSTED_NETWORKS.en.md +1 -1
  22. package/docs/TRUSTED_NETWORKS.md +1 -1
  23. package/lib/cli.js +1 -0
  24. package/lib/cli.js.map +1 -1
  25. package/lib/client.js +864 -97
  26. package/lib/client.js.map +1 -1
  27. package/lib/extension-worker-runtime.mjs +1646 -0
  28. package/lib/extension-worker-runtime.mjs.map +1 -0
  29. package/lib/index.d.mts +199 -7
  30. package/lib/index.mjs +1594 -533
  31. package/lib/index.mjs.map +1 -1
  32. package/lib/mobile-layout.js.map +1 -1
  33. package/package.json +15 -6
  34. package/packages/question-fixes/LICENSE +201 -0
  35. package/packages/question-fixes/package.json +9 -2
  36. package/node_modules/dsh-mobile-question-fixes/lib/client.js +0 -78
  37. package/node_modules/dsh-mobile-question-fixes/lib/client.js.map +0 -1
  38. package/node_modules/dsh-mobile-question-fixes/lib/index.mjs +0 -14
  39. package/node_modules/dsh-mobile-question-fixes/lib/index.mjs.map +0 -1
  40. package/node_modules/dsh-mobile-question-fixes/package.json +0 -25
@@ -65,7 +65,7 @@ curl -v https://PUBLIC_HOST/mobile-access/discovery
65
65
 
66
66
  只有公网 IPv4 模式会安装 `dsh-mobile-cert-renew.timer`,该模式另查 `sudo systemctl status dsh-mobile-cert-renew.timer`。将 `PUBLIC_HOST` 换成实际域名或公网 IPv4;不加 `-k`,以便同时验证公开证书。还应从独立外部网络检查同一地址,并确认 discovery 返回当前电脑的安装标识;只在 VPS 本机成功不代表手机网络可达。
67
67
 
68
- 本机优先看插件日志(`$DSH_HOME/mobile-access/logs/dsh-mobile.log`,JSONL,超 5 MB 轮转,自动脱敏 Token 与密钥)与面板诊断报告。Windows 杀毒软件可能隔离 frpc;如确有拦截,只为已校验的组件目录设置最小范围例外。
68
+ 本机优先看插件日志(`$DSH_HOME/mobile-access/logs/dsh-mobile.log`,JSONL,启动时检查并轮转达到 5 MB 的已有日志)与面板诊断报告。自定义扩展不要输出令牌或密钥;分享日志前检查并移除敏感内容,文件日志不是通用秘密脱敏器。Windows 杀毒软件可能隔离 frpc;如确有拦截,只为已校验的组件目录设置最小范围例外。
69
69
 
70
70
  一台 frps 被多台电脑共用时,代理名在整台服务器内唯一,公网入口端口也不能重复。插件使用 `dsh-mobile-<安装标识前 12 位>` 作为代理名。报代理名已使用时,检查另一台电脑或尚未过期的旧连接;报入口端口已占用时,为本机选择另一个入口端口。frpc 仍在运行并不表示入口已发布,应以公网验证结果为准。
71
71
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [中文](TRUSTED_NETWORKS.md) · [Back to the LAN guide](../README.en.md#local-network)
4
4
 
5
- > DSH Mobile 0.6.0 provides this computer-side advanced control. Update the plugin and app together.
5
+ > Plugin 0.6.0 and later provide this computer-side control. The App does not need a matching version or an update solely for this setting.
6
6
 
7
7
  Default LAN setup permits the LAN source subnet of the selected interface. Explicitly append source CIDRs when an existing routed network you control, such as WireGuard, needs access. This does not create a VPN, route, IPv6 listener, or public entry.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](TRUSTED_NETWORKS.en.md) · [返回局域网指南](../README.md#局域网访问)
4
4
 
5
- > DSH Mobile 0.6.0 提供电脑端高级设置;请同步更新插件与 App。
5
+ > 插件 0.6.0 起提供此电脑端高级设置,不要求 App 使用相同版本或为此同步升级。
6
6
 
7
7
  默认局域网设置只允许当前所选网卡的 LAN 来源网段。已有受控的路由网络(例如 WireGuard 网段)需要连接时,可明确追加来源 CIDR;这不会自动建立 VPN、路由、IPv6 监听或公网入口。
8
8
 
package/lib/cli.js CHANGED
@@ -473,6 +473,7 @@ async function prepareManagedLanSetup(options) {
473
473
  androidCertificate
474
474
  });
475
475
  }
476
+ process.env.NODE_OPTIONS;
476
477
  Object.freeze({
477
478
  manifest: 65536,
478
479
  script: 1048576,