@wenbin_wb/dsh-bridge 2.8.7 → 2.10.0

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.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@wenbin_wb/dsh-bridge",
3
- "version": "2.8.7",
3
+ "version": "2.10.0",
4
4
  "description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
5
- "releaseNotes": "【v2.8.7 多网卡智能切换与 macOS 升级与隧道自愈加固】\n• 🛜 支持局域网多网卡可视化切换与持久化 (Issue #5):自动探测并列出物理网卡与虚拟网卡(Wi-Fi、以太网、WSL、VMware、Docker 等),支持在面板一键切换局域网 IP 并记忆持久化,彻底解决多网卡/WSL 下移动端无法访问的问题\n• 🍏 加固 macOS 一键平滑升级:`upgradePlugin` 自动补全 macOS 环境下的全量 PATH 环境变量(自动兼容 Homebrew、NVM 等),并自动优先绑定当前 Node 配对的同级 `npm`/`npx` 绝对路径,杜绝 `spawn ENOENT` 升级失败\n• 🛡️ 优化 macOS Cloudflared 二进制探测与隔离自愈:优先复用系统全局/Homebrew 已安装的 `cloudflared`,网络下载解压后自动移除 Gatekeeper 隔离标记(`xattr -d com.apple.quarantine`)并加入 `--version` 运行期校验自愈",
5
+ "releaseNotes": "【v2.10.0 远程锁屏/解锁流程修复】\n• 🔐 修复解锁后无限锁屏循环:访问会话失效(DSH 重启/过期)时自动跳回绿色登录页重新登录;修复锁屏状态下无法解锁(401);修复关闭访问认证后锁屏失效 / 仍要求密码;远程首次进入设置页即显示全屏锁屏;目录选择器解锁不再卡死\n• 🆕 新增「管理保护」独立开关(与访问认证解耦);面板显示 DSH 宿主版本\n• 🧹 统一 adminToken 缓存,清理死代码与重复实现",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
8
8
  "exports": {
@@ -28,6 +28,7 @@
28
28
  "build:banner": "node scripts/generate-banner.mjs",
29
29
  "prepack": "npm run build:lark && npm run build:client",
30
30
  "release:github": "node scripts/create-github-release.mjs",
31
+ "lint": "eslint .",
31
32
  "test": "node --test test/*.test.mjs"
32
33
  },
33
34
  "dependencies": {
@@ -36,8 +37,11 @@
36
37
  },
37
38
  "devDependencies": {
38
39
  "@deepseek-ai/dsh-llm": "0.1.0-rc.6",
40
+ "@eslint/js": "^10.0.1",
39
41
  "@larksuiteoapi/node-sdk": "^1.73.0",
40
42
  "esbuild": "^0.25.9",
43
+ "eslint": "^10.9.1",
44
+ "globals": "^17.11.0",
41
45
  "puppeteer-core": "^25.8.0"
42
46
  },
43
47
  "peerDependencies": {