@wenbin_wb/dsh-bridge 2.8.7 → 2.9.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,102 +1,106 @@
1
- {
2
- "name": "@wenbin_wb/dsh-bridge",
3
- "version": "2.8.7",
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` 运行期校验自愈",
6
- "type": "module",
7
- "main": "lib/index.js",
8
- "exports": {
9
- ".": {
10
- "default": "./lib/index.js"
11
- },
12
- "./client": "./client/client.js",
13
- "./package.json": "./package.json"
14
- },
15
- "files": [
16
- "lib",
17
- "client",
18
- "cordis.patch.yml",
19
- "README.md",
20
- "README.en.md",
21
- "CHANGELOG.md",
22
- "LICENSE",
23
- "docs"
24
- ],
25
- "scripts": {
26
- "build:client": "node client/build.mjs",
27
- "build:lark": "node scripts/bundle-lark.mjs",
28
- "build:banner": "node scripts/generate-banner.mjs",
29
- "prepack": "npm run build:lark && npm run build:client",
30
- "release:github": "node scripts/create-github-release.mjs",
31
- "test": "node --test test/*.test.mjs"
32
- },
33
- "dependencies": {
34
- "qrcode": "^1.5.3",
35
- "ws": "^8.18.0"
36
- },
37
- "devDependencies": {
38
- "@deepseek-ai/dsh-llm": "0.1.0-rc.6",
39
- "@larksuiteoapi/node-sdk": "^1.73.0",
40
- "esbuild": "^0.25.9",
41
- "puppeteer-core": "^25.8.0"
42
- },
43
- "peerDependencies": {
44
- "@deepseek-ai/cordis": "^4.0.1",
45
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.6"
46
- },
47
- "peerDependenciesMeta": {
48
- "@deepseek-ai/dsh-llm": {
49
- "optional": true
50
- }
51
- },
52
- "engines": {
53
- "node": "^22.19.0 || >=24.0.0"
54
- },
55
- "license": "MIT",
56
- "keywords": [
57
- "deepseek-harness",
58
- "dsh",
59
- "dsh-plugin",
60
- "remote",
61
- "remote-access",
62
- "tunnel",
63
- "cloudflare",
64
- "mobile",
65
- "smartphone",
66
- "tablet",
67
- "qr-code",
68
- "qrcode",
69
- "websocket",
70
- "bot",
71
- "wechat",
72
- "qq",
73
- "feishu",
74
- "telegram"
75
- ],
76
- "dsh": {
77
- "bundle": {
78
- "patch": "./cordis.patch.yml"
79
- },
80
- "client": {
81
- "inject": [
82
- "@deepseek-ai/dsh-client-connection",
83
- "@deepseek-ai/dsh-client-ui-slots",
84
- "@deepseek-ai/dsh-client-ui-layout",
85
- "@deepseek-ai/dsh-client-locale"
86
- ],
87
- "platform": "web"
88
- }
89
- },
90
- "repository": {
91
- "type": "git",
92
- "url": "git+https://github.com/wenbin-wb/dsh-bridge.git"
93
- },
94
- "bugs": {
95
- "url": "https://github.com/wenbin-wb/dsh-bridge/issues"
96
- },
97
- "homepage": "https://github.com/wenbin-wb/dsh-bridge",
98
- "publishConfig": {
99
- "access": "public",
100
- "registry": "https://registry.npmjs.org/"
101
- }
102
- }
1
+ {
2
+ "name": "@wenbin_wb/dsh-bridge",
3
+ "version": "2.9.0",
4
+ "description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
5
+ "releaseNotes": "⚠️ 本次更新量较大,可能存在未知问题,建议升级前备份配置并阅读完整说明:https://github.com/wenbin-wb/dsh-bridge/blob/main/CHANGELOG.md\n\n【v2.9.0 全面安全加固与代码质量大修】\n• 🔐 密码哈希 PBKDF2 升级至 600,000 次迭代(存量旧哈希登录时透明升级,无需重设密码);管理密码解锁防爆破;未设密码时高危操作强制先设密码;loopback-token CORS 收敛;隧道令牌掩码不再覆盖真实值\n• 🐞 修复十余个稳定性问题:低版本 Node / iOS 16 浏览器发送消息报 AbortSignal 错误(自动兼容垫片)、微信收图必崩、QQ 流式兜底崩溃、面板升级命令渲染崩溃、IM 端收不到审批卡片(approval 瀑布归属模型重建,飞书按钮卡片同步修复)、/list without inject 错误、卸载监听器泄漏、工具调用协议标记泄漏到聊天等\n• 🚦 出站消息串行队列消除乱序与 QQ msgSeq 竞态;审批发起者校验(群成员不可代批);群聊授权改显式配置(默认关闭);配置持久化事务化防丢失更新;解锁后自动续办被拦截操作;断开后重连不再强制扫码\n• 🧹 引入 eslint + CI 全矩阵测试(Node 22/24 × Linux/Windows);conversation-bridge 按职责拆分四模块;平台装配工厂化;清理废弃端点与死代码;提交 package-lock.json",
6
+ "type": "module",
7
+ "main": "lib/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "default": "./lib/index.js"
11
+ },
12
+ "./client": "./client/client.js",
13
+ "./package.json": "./package.json"
14
+ },
15
+ "files": [
16
+ "lib",
17
+ "client",
18
+ "cordis.patch.yml",
19
+ "README.md",
20
+ "README.en.md",
21
+ "CHANGELOG.md",
22
+ "LICENSE",
23
+ "docs"
24
+ ],
25
+ "scripts": {
26
+ "build:client": "node client/build.mjs",
27
+ "build:lark": "node scripts/bundle-lark.mjs",
28
+ "build:banner": "node scripts/generate-banner.mjs",
29
+ "prepack": "npm run build:lark && npm run build:client",
30
+ "release:github": "node scripts/create-github-release.mjs",
31
+ "lint": "eslint .",
32
+ "test": "node --test test/*.test.mjs"
33
+ },
34
+ "dependencies": {
35
+ "qrcode": "^1.5.3",
36
+ "ws": "^8.18.0"
37
+ },
38
+ "devDependencies": {
39
+ "@deepseek-ai/dsh-llm": "0.1.0-rc.6",
40
+ "@eslint/js": "^10.0.1",
41
+ "@larksuiteoapi/node-sdk": "^1.73.0",
42
+ "esbuild": "^0.25.9",
43
+ "eslint": "^10.9.1",
44
+ "globals": "^17.11.0",
45
+ "puppeteer-core": "^25.8.0"
46
+ },
47
+ "peerDependencies": {
48
+ "@deepseek-ai/cordis": "^4.0.1",
49
+ "@deepseek-ai/dsh-llm": ">=0.1.0-rc.6"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "@deepseek-ai/dsh-llm": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "engines": {
57
+ "node": "^22.19.0 || >=24.0.0"
58
+ },
59
+ "license": "MIT",
60
+ "keywords": [
61
+ "deepseek-harness",
62
+ "dsh",
63
+ "dsh-plugin",
64
+ "remote",
65
+ "remote-access",
66
+ "tunnel",
67
+ "cloudflare",
68
+ "mobile",
69
+ "smartphone",
70
+ "tablet",
71
+ "qr-code",
72
+ "qrcode",
73
+ "websocket",
74
+ "bot",
75
+ "wechat",
76
+ "qq",
77
+ "feishu",
78
+ "telegram"
79
+ ],
80
+ "dsh": {
81
+ "bundle": {
82
+ "patch": "./cordis.patch.yml"
83
+ },
84
+ "client": {
85
+ "inject": [
86
+ "@deepseek-ai/dsh-client-connection",
87
+ "@deepseek-ai/dsh-client-ui-slots",
88
+ "@deepseek-ai/dsh-client-ui-layout",
89
+ "@deepseek-ai/dsh-client-locale"
90
+ ],
91
+ "platform": "web"
92
+ }
93
+ },
94
+ "repository": {
95
+ "type": "git",
96
+ "url": "git+https://github.com/wenbin-wb/dsh-bridge.git"
97
+ },
98
+ "bugs": {
99
+ "url": "https://github.com/wenbin-wb/dsh-bridge/issues"
100
+ },
101
+ "homepage": "https://github.com/wenbin-wb/dsh-bridge",
102
+ "publishConfig": {
103
+ "access": "public",
104
+ "registry": "https://registry.npmjs.org/"
105
+ }
106
+ }