dsh-remote-control-plugin 0.3.3 → 0.3.4
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/INSTALL.md +20 -28
- package/client.js +1 -1
- package/package.json +40 -48
package/INSTALL.md
CHANGED
|
@@ -1,40 +1,32 @@
|
|
|
1
1
|
# Install on another desktop
|
|
2
2
|
|
|
3
|
-
Published as `dsh-remote-control-plugin`.
|
|
4
|
-
build step, no postinstall script.
|
|
3
|
+
Published as `dsh-remote-control-plugin`. Self-contained: no dependencies, no build step, no postinstall.
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Install
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Web GUI: **Plugins → Add plugin**, enter `dsh-remote-control-plugin@0.3.4`, keep the official npm
|
|
8
|
+
registry selected, then **Install** and **Enable now**. Restart DSH.
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
From a chat (Standard or Creator preset — PTC disables `tool-plugin-manager`):
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
preset — PTC disables `tool-plugin-manager`):
|
|
12
|
+
> Install the DSH plugin bundle `dsh-remote-control-plugin@0.3.4` with plugin_manager.
|
|
15
13
|
|
|
16
|
-
|
|
14
|
+
## Connect two machines
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
1. On the machine with a reachable address: **Devices → Relay → Create relay here**, **Copy**.
|
|
17
|
+
2. On the other: **Devices → Relay**, paste the invite, **Connect**.
|
|
18
|
+
3. Either: **Request**, then **Allow** on the target.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
2. On the other machine: **Devices → Relay**, paste the invite into the URL field, **Connect**.
|
|
24
|
-
3. Either machine: **Request** next to the peer, then **Allow** on the target.
|
|
25
|
-
|
|
26
|
-
Two machines on the same LAN need no relay at all — LAN discovery lists them directly.
|
|
27
|
-
|
|
28
|
-
No reachable machine? Run a relay anywhere both can reach (`PORT=8787 node relay/server.js`) and
|
|
29
|
-
paste `http://<host>:8787 <workspace key>` into both panels.
|
|
20
|
+
Same-LAN machines need no relay. No reachable machine? Run
|
|
21
|
+
`PORT=8787 node relay/server.js` anywhere both can reach and paste
|
|
22
|
+
`http://<host>:8787 <workspace key>` into both panels.
|
|
30
23
|
|
|
31
24
|
## Notes
|
|
32
25
|
|
|
33
|
-
-
|
|
34
|
-
- Approvals
|
|
35
|
-
-
|
|
36
|
-
- Peer traffic is signed but not encrypted
|
|
37
|
-
- 0.3.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
order so a large snapshot always assembles into a complete frame.
|
|
26
|
+
- Trust comes from the one-time **Allow**; the account label is cosmetic.
|
|
27
|
+
- Approvals live in `$DSH_HOME/remote-control-peers.json`; delete it to revoke.
|
|
28
|
+
- Relay and control API share one port (default `57330`).
|
|
29
|
+
- Peer traffic is signed but not encrypted; use a private network or TLS in front.
|
|
30
|
+
- 0.3.4 fixes: ordered transcript chunks, hosted relay persistence, stale
|
|
31
|
+
relay peer pruning, relay fallback when a direct LAN route is blocked, and a
|
|
32
|
+
client module id that matches the package name.
|
package/client.js
CHANGED
package/package.json
CHANGED
|
@@ -1,48 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"patch": "./cordis.patch.yml"
|
|
42
|
-
},
|
|
43
|
-
"client": {
|
|
44
|
-
"platform": "web",
|
|
45
|
-
"immediately": true
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-remote-control-plugin",
|
|
3
|
+
"version": "0.3.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Remote control for DSH: a Devices panel that discovers other DSH desktops signed into the same account, pairs with them once, and drives their sessions.",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./index.js",
|
|
8
|
+
"./client": "./client.js",
|
|
9
|
+
"./locale/*.json": "./locale/*.json",
|
|
10
|
+
"./icon": "./icon.svg"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"index.js",
|
|
14
|
+
"client.js",
|
|
15
|
+
"host/*.js",
|
|
16
|
+
"cordis.patch.yml",
|
|
17
|
+
"locale/*.json",
|
|
18
|
+
"icon.svg",
|
|
19
|
+
"README.md",
|
|
20
|
+
"INSTALL.md",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"web/index.html",
|
|
23
|
+
"web/app.js",
|
|
24
|
+
"web/app.css",
|
|
25
|
+
"web/icon.svg"
|
|
26
|
+
],
|
|
27
|
+
"dsh": {
|
|
28
|
+
"bundle": {
|
|
29
|
+
"patch": "./cordis.patch.yml"
|
|
30
|
+
},
|
|
31
|
+
"client": {
|
|
32
|
+
"platform": "web",
|
|
33
|
+
"immediately": true
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=20"
|
|
39
|
+
}
|
|
40
|
+
}
|