dsh-lan-guard 0.1.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 +363 -0
- package/LICENSE +21 -0
- package/README.md +107 -0
- package/README.zh.md +111 -0
- package/cordis.patch.yml +11 -0
- package/lib/client.js +875 -0
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +517 -0
- package/lib/index.js +3343 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-lan-guard",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DSH web plugin: expose the official desktop Web UI to the local network through a gated reverse proxy, without touching DSH's own loopback binding.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"types": "lib/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"lib/index.js",
|
|
11
|
+
"lib/index.d.ts",
|
|
12
|
+
"lib/client.js",
|
|
13
|
+
"lib/client.js.map",
|
|
14
|
+
"cordis.patch.yml",
|
|
15
|
+
"README.md",
|
|
16
|
+
"README.zh.md",
|
|
17
|
+
"CHANGELOG.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=20"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"bonjour-service": "^1.4.4",
|
|
25
|
+
"qrcode": "^1.5.4",
|
|
26
|
+
"selfsigned": "^5.5.0"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
30
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.7-rc.1 <0.2.0",
|
|
31
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.7-rc.1 <0.2.0",
|
|
32
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/idoall/dsh-lan-guard.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/idoall/dsh-lan-guard#readme",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/idoall/dsh-lan-guard/issues"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsdown",
|
|
44
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.tests.json",
|
|
45
|
+
"test": "pnpm run typecheck && vitest run",
|
|
46
|
+
"test:unit": "vitest run",
|
|
47
|
+
"clean": "rm -rf lib coverage .tmp",
|
|
48
|
+
"prepack": "pnpm run build",
|
|
49
|
+
"verify": "pnpm run test && pnpm run build && pnpm pack --dry-run"
|
|
50
|
+
},
|
|
51
|
+
"dsh": {
|
|
52
|
+
"manifestVersion": 1,
|
|
53
|
+
"engines": {
|
|
54
|
+
"dsh": ">=0.1.7-rc.1 <0.2.0"
|
|
55
|
+
},
|
|
56
|
+
"bundle": {
|
|
57
|
+
"patch": "./cordis.patch.yml"
|
|
58
|
+
},
|
|
59
|
+
"client": {
|
|
60
|
+
"platform": "web",
|
|
61
|
+
"inject": [
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings-general"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"compatibility": {
|
|
69
|
+
"dshReleases": {
|
|
70
|
+
"0.1.7-rc.1": "compatible"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"exports": {
|
|
75
|
+
".": {
|
|
76
|
+
"types": "./lib/index.d.ts",
|
|
77
|
+
"default": "./lib/index.js"
|
|
78
|
+
},
|
|
79
|
+
"./client": "./lib/client.js",
|
|
80
|
+
"./package.json": "./package.json"
|
|
81
|
+
},
|
|
82
|
+
"keywords": [
|
|
83
|
+
"deepseek-harness",
|
|
84
|
+
"dsh",
|
|
85
|
+
"cordis",
|
|
86
|
+
"plugin",
|
|
87
|
+
"lan",
|
|
88
|
+
"reverse-proxy"
|
|
89
|
+
],
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
92
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.7-rc.1",
|
|
94
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
95
|
+
"@types/node": "^26.2.0",
|
|
96
|
+
"@types/qrcode": "^1.5.6",
|
|
97
|
+
"@types/react": "^18.3.31",
|
|
98
|
+
"tsdown": "^0.22.14",
|
|
99
|
+
"typescript": "^7.0.2",
|
|
100
|
+
"vitest": "^4.1.11"
|
|
101
|
+
},
|
|
102
|
+
"packageManager": "pnpm@10.33.1"
|
|
103
|
+
}
|