@tianacloud/dsh-remote 0.0.0-stage → 0.2.1
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/LICENSE +204 -0
- package/README.md +44 -2
- package/cli.js +347 -0
- package/client.js +1501 -0
- package/cordis.patch.yml +3 -0
- package/host-main.js +628 -0
- package/icon.svg +7 -0
- package/locale/en-US.json +9 -0
- package/locale/zh-CN.json +9 -0
- package/package.json +89 -4
- package/relay-go/go.mod +3 -0
- package/relay-go/main.go +1711 -0
- package/scripts/build-web-dist.mjs +46 -0
- package/src/clipboard.js +94 -0
- package/src/connect.js +599 -0
- package/src/dsh-packages.js +46 -0
- package/src/frontend-assets.js +405 -0
- package/src/host-bridge.js +1412 -0
- package/src/local-transport.js +496 -0
- package/src/protocol.js +124 -0
- package/src/remote-api.js +433 -0
- package/src/state.js +379 -0
- package/src/tiana-cli.js +929 -0
- package/web-src/dsh-remote-entry.mjs +2692 -0
- package/web-src/dsh-remote-sw.js +593 -0
- package/web-src/e2ee.js +460 -0
- package/web-src/frontend-loader.js +450 -0
- package/web-src/multipath.js +375 -0
- package/web-src/peer-path.js +265 -0
- package/web-src/shell-ui.js +280 -0
- package/web-src/ws-fragments.js +46 -0
package/package.json
CHANGED
|
@@ -1,6 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tianacloud/dsh-remote",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "使用 Tiana 能力为 DeepSeek Harness 提供零公网 IP 远程访问、侧栏管理面板、无密钥流式子资源桥接与云端一键引导插件。",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/tianacloud/dsh-remote"
|
|
10
|
+
},
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "Tiana Cloud",
|
|
13
|
+
"url": "https://github.com/tianacloud"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"deepseek-harness",
|
|
20
|
+
"dsh",
|
|
21
|
+
"dsh-plugin",
|
|
22
|
+
"tiana",
|
|
23
|
+
"tianacloud",
|
|
24
|
+
"remote-access",
|
|
25
|
+
"webrtc",
|
|
26
|
+
"e2ee"
|
|
27
|
+
],
|
|
28
|
+
"main": "./host-main.js",
|
|
29
|
+
"client": "./client.js",
|
|
30
|
+
"icon": "./icon.svg",
|
|
31
|
+
"bin": {
|
|
32
|
+
"dsh-remote": "./cli.js"
|
|
33
|
+
},
|
|
34
|
+
"exports": {
|
|
35
|
+
".": "./host-main.js",
|
|
36
|
+
"./host": "./host-main.js",
|
|
37
|
+
"./client": "./client.js",
|
|
38
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
39
|
+
"./package.json": "./package.json",
|
|
40
|
+
"./locale/*.json": "./locale/*.json",
|
|
41
|
+
"./icon": "./icon.svg",
|
|
42
|
+
"./icon.svg": "./icon.svg"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=24.9.0",
|
|
46
|
+
"dsh": ">=0.2.2-rc.1"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"test": "node --test test/*.test.mjs",
|
|
50
|
+
"build:web": "node scripts/build-web-dist.mjs",
|
|
51
|
+
"prepack": "node scripts/build-web-dist.mjs .dist-tweb/prepack-check",
|
|
52
|
+
"pack:check": "npm pack --dry-run",
|
|
53
|
+
"test:pack": "node scripts/pack-plugin.mjs --verify",
|
|
54
|
+
"connect": "node cli.js connect",
|
|
55
|
+
"setup": "node cli.js setup",
|
|
56
|
+
"start": "node cli.js start",
|
|
57
|
+
"status": "node cli.js status"
|
|
58
|
+
},
|
|
59
|
+
"dsh": {
|
|
60
|
+
"bundle": {
|
|
61
|
+
"patch": "./cordis.patch.yml"
|
|
62
|
+
},
|
|
63
|
+
"client": {
|
|
64
|
+
"platform": "web",
|
|
65
|
+
"immediately": true,
|
|
66
|
+
"inject": [
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"cli.js",
|
|
74
|
+
"client.js",
|
|
75
|
+
"cordis.patch.yml",
|
|
76
|
+
"host-main.js",
|
|
77
|
+
"icon.svg",
|
|
78
|
+
"locale",
|
|
79
|
+
"relay-go/go.mod",
|
|
80
|
+
"relay-go/main.go",
|
|
81
|
+
"scripts/build-web-dist.mjs",
|
|
82
|
+
"src",
|
|
83
|
+
"web-src",
|
|
84
|
+
"README.md",
|
|
85
|
+
"LICENSE"
|
|
86
|
+
],
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"es-module-lexer": "2.1.0",
|
|
89
|
+
"werift": "0.28.0"
|
|
90
|
+
}
|
|
91
|
+
}
|
package/relay-go/go.mod
ADDED