dsh-plugin-remote-connect-beta 0.1.0-beta.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/CHANGELOG.md +115 -0
- package/CONTRIBUTING.md +50 -0
- package/LICENSE +21 -0
- package/README.md +279 -0
- package/README.zh.md +298 -0
- package/SECURITY.md +41 -0
- package/bin/dsh-remote.js +768 -0
- package/docs/client-preview.png +0 -0
- package/docs/market-submission.md +82 -0
- package/docs/multi-tenant.md +136 -0
- package/docs/multi-tenant.zh.md +127 -0
- package/docs/self-host.md +398 -0
- package/docs/self-host.zh.md +369 -0
- package/docs/tenants-preview.png +0 -0
- package/lib/client.js +1120 -0
- package/lib/core/assets/server-setup.sh.tpl +344 -0
- package/lib/core/credential.js +123 -0
- package/lib/core/instance.js +360 -0
- package/lib/core/messages.js +549 -0
- package/lib/core/paths.js +59 -0
- package/lib/core/preflight.js +410 -0
- package/lib/core/proxy.js +924 -0
- package/lib/core/serversetup.js +133 -0
- package/lib/core/snippets.js +193 -0
- package/lib/core/tailscale.js +158 -0
- package/lib/core/tenancy.js +267 -0
- package/lib/core/tenant.js +272 -0
- package/lib/core/tunnel.js +320 -0
- package/lib/index.js +1097 -0
- package/package.json +76 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-plugin-remote-connect-beta",
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
|
+
"description": "让 DSH Harness 可从局域网或公网访问:本机反向代理(含手机适配与访问密钥门)+ ssh 反向隧道 + 服务器配置生成与前置检查。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./core": "./lib/core/proxy.js",
|
|
11
|
+
"./package.json": "./package.json"
|
|
12
|
+
},
|
|
13
|
+
"bin": {
|
|
14
|
+
"dsh-remote": "bin/dsh-remote.js"
|
|
15
|
+
},
|
|
16
|
+
"dsh": {
|
|
17
|
+
"client": {
|
|
18
|
+
"platform": "web"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"test": "node test/verify.mjs",
|
|
23
|
+
"gate": "bash test/no-private-values.sh",
|
|
24
|
+
"e2e": "bash test/e2e-isolated.sh",
|
|
25
|
+
"doctor": "node bin/dsh-remote.js doctor",
|
|
26
|
+
"preview": "node test/browser/serve.mjs"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"lib",
|
|
30
|
+
"bin",
|
|
31
|
+
"README.md",
|
|
32
|
+
"README.zh.md",
|
|
33
|
+
"SECURITY.md",
|
|
34
|
+
"CHANGELOG.md",
|
|
35
|
+
"CONTRIBUTING.md",
|
|
36
|
+
"LICENSE",
|
|
37
|
+
"docs/self-host.md",
|
|
38
|
+
"docs/self-host.zh.md",
|
|
39
|
+
"docs/client-preview.png",
|
|
40
|
+
"docs/market-submission.md",
|
|
41
|
+
"docs/multi-tenant.md",
|
|
42
|
+
"docs/multi-tenant.zh.md",
|
|
43
|
+
"docs/tenants-preview.png"
|
|
44
|
+
],
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=18"
|
|
47
|
+
},
|
|
48
|
+
"optionalDependencies": {
|
|
49
|
+
"qrcode": "^1.5.4"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"dsh",
|
|
53
|
+
"deepseek-harness",
|
|
54
|
+
"cordis-plugin",
|
|
55
|
+
"remote",
|
|
56
|
+
"tunnel"
|
|
57
|
+
],
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"react": "^18.3.1",
|
|
61
|
+
"react-dom": "^18.3.1"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public",
|
|
65
|
+
"tag": "latest"
|
|
66
|
+
},
|
|
67
|
+
"repository": {
|
|
68
|
+
"type": "git",
|
|
69
|
+
"url": "git+https://github.com/hwc-cell/dsh-plugin-remote-connect-beta.git"
|
|
70
|
+
},
|
|
71
|
+
"homepage": "https://github.com/hwc-cell/dsh-plugin-remote-connect-beta#readme",
|
|
72
|
+
"bugs": {
|
|
73
|
+
"url": "https://github.com/hwc-cell/dsh-plugin-remote-connect-beta/issues"
|
|
74
|
+
},
|
|
75
|
+
"author": "hwc-cell"
|
|
76
|
+
}
|