@wenbin_wb/dsh-bridge 2.8.6 → 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.6",
4
- "description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
5
- "releaseNotes": "【v2.8.6 移动端交互适配重构 & 隧道保活与传输优化】\n• 📱 修复移动端工作区面板遮挡对话与白屏问题:重构工作区显隐状态机,新增常驻「✕ 返回对话」胶囊与多途径秒级回切机制,收起时彻底离场\n• 🗂️ 移动端侧边栏抽屉顶部集成收起图标:完整适配复用 DSH 原生自带收起图标(`[|`),支持双向顺畅开合与点击背景收起\n• 🖥️ 移动端样式与 PC 桌面端严格隔离:采用媒体查询与运行期断点隔离,PC 桌面端 100% 保持官方原生多列分栏与纯净体验\n• 🛡️ 修复 Cloudflared 守护进程异常退出问题:增加子进程退出监听与指数退避自动重启机制,确保长时间公网访问不断连\n• 优化自建隧道 SSE 稳定性与传输效率:修复弱网下 SSE 断线重连,精简 Session 列表大数据负载,显著降低移动端带宽与卡顿\n• 🤖 优化 IM 机器人会话管理与推送:会话列表按工作区分组对齐官方账本排序,产物文件采用 AI 显式驱动直传",
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
+ }