remote-dsh 0.4.6 → 0.4.9
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/dist/bin.js +6 -1
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* rdsh CLI 入口(手写参数解析,零依赖)。
|
|
4
4
|
*
|
|
5
5
|
* rdsh serve [--config <path>] [--reset] [--port <n>] ...
|
|
6
|
-
* rdsh join <hub-url> [--token <t>] [--dsh <path>]
|
|
6
|
+
* rdsh join <hub-url> [--token <t>] [--reset] [--dsh <path>]
|
|
7
7
|
* rdsh hub serve|user|host|service ... [--config <path>]
|
|
8
8
|
* rdsh user add|passwd <name> | ls | rm <name> [--config <path>]
|
|
9
9
|
* rdsh service install|uninstall|status [--config <path>]
|
|
@@ -44,6 +44,7 @@ Options (serve):
|
|
|
44
44
|
|
|
45
45
|
Options (join):
|
|
46
46
|
--token <t> Use an existing host token (skip pairing-code flow)
|
|
47
|
+
--reset Forget the persisted host token and re-pair
|
|
47
48
|
--dsh <path> dsh executable path
|
|
48
49
|
|
|
49
50
|
Options (hub serve):
|
|
@@ -76,6 +77,7 @@ Connect to a hub via an outbound tunnel (no ports open on this machine).
|
|
|
76
77
|
|
|
77
78
|
Options:
|
|
78
79
|
--token <t> Use an existing host token (skip the pair-code flow)
|
|
80
|
+
--reset Forget the persisted host token and re-pair
|
|
79
81
|
--dsh <path> dsh executable path
|
|
80
82
|
--insecure Skip TLS certificate verification (self-signed hub)
|
|
81
83
|
`,
|
|
@@ -263,6 +265,9 @@ function parseJoinArgs(args) {
|
|
|
263
265
|
case "--token":
|
|
264
266
|
opts.token = value(flag);
|
|
265
267
|
break;
|
|
268
|
+
case "--reset":
|
|
269
|
+
opts.reset = true;
|
|
270
|
+
break;
|
|
266
271
|
case "--dsh":
|
|
267
272
|
opts.dshPath = value(flag);
|
|
268
273
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remote-dsh",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "Secure remote access for DeepSeek Harness: rdsh serve / rdsh join / rdsh hub",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"rdsh-gateway": "0.2.
|
|
27
|
-
"rdsh-hub": "0.2.
|
|
26
|
+
"rdsh-gateway": "0.2.3",
|
|
27
|
+
"rdsh-hub": "0.2.4"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsc -p tsconfig.json",
|
|
31
|
-
"test": "node --test test
|
|
31
|
+
"test": "node --test \"test/*.test.ts\""
|
|
32
32
|
}
|
|
33
33
|
}
|