@wenbin_wb/dsh-bridge 2.9.0 → 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/CHANGELOG.md +320 -295
- package/client/client.js +370 -124
- package/client/index.js +4244 -4073
- package/client/unlock-manager.js +142 -0
- package/lib/auth/manager.js +545 -532
- package/lib/bridge-rpc.js +455 -436
- package/lib/index.js +1831 -1765
- package/package.json +106 -106
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@wenbin_wb/dsh-bridge",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
|
|
5
|
-
"releaseNotes": "
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@wenbin_wb/dsh-bridge",
|
|
3
|
+
"version": "2.10.0",
|
|
4
|
+
"description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
|
|
5
|
+
"releaseNotes": "【v2.10.0 远程锁屏/解锁流程修复】\n• 🔐 修复解锁后无限锁屏循环:访问会话失效(DSH 重启/过期)时自动跳回绿色登录页重新登录;修复锁屏状态下无法解锁(401);修复关闭访问认证后锁屏失效 / 仍要求密码;远程首次进入设置页即显示全屏锁屏;目录选择器解锁不再卡死\n• 🆕 新增「管理保护」独立开关(与访问认证解耦);面板显示 DSH 宿主版本\n• 🧹 统一 adminToken 缓存,清理死代码与重复实现",
|
|
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
|
+
}
|