remote-dsh 0.4.1 → 0.4.3

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.
Files changed (2) hide show
  1. package/dist/bin.js +2 -1
  2. package/package.json +3 -3
package/dist/bin.js CHANGED
@@ -572,5 +572,6 @@ function nextPipeLine() {
572
572
  rl.on("close", () => resolve(pipeLines.shift() ?? ""));
573
573
  });
574
574
  }
575
- void main();
575
+ // 管理命令(serve/join 常驻不 resolve)完成后显式退出:避免 TTY stdin / 句柄残留导致进程挂住
576
+ void main().then(() => process.exit(process.exitCode ?? 0));
576
577
  //# sourceMappingURL=bin.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remote-dsh",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Secure remote access for DeepSeek Harness: rdsh serve / rdsh join / rdsh hub",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "node": ">=22"
24
24
  },
25
25
  "dependencies": {
26
- "rdsh-hub": "0.1.0",
27
- "rdsh-gateway": "0.2.0"
26
+ "rdsh-gateway": "0.2.0",
27
+ "rdsh-hub": "0.2.0"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "tsc -p tsconfig.json",