@livedesk/client 0.1.6 → 0.1.8
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/README.md +3 -12
- package/bin/livedesk-client-node.js +11 -0
- package/bin/livedesk-client.js +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,20 +25,11 @@ http://127.0.0.1:5198/callback
|
|
|
25
25
|
If you use a custom port, run `npx @livedesk/client --auth-port 5200` and add
|
|
26
26
|
the matching callback URL to Supabase Auth redirect URLs.
|
|
27
27
|
|
|
28
|
-
For manual LAN fallback, start `@livedesk/hub` with an externally reachable
|
|
29
|
-
RemoteHub host and pass the address/token explicitly:
|
|
30
|
-
|
|
31
|
-
```powershell
|
|
32
|
-
$env:REMOTE_HUB_HOST="0.0.0.0"
|
|
33
|
-
$env:REMOTE_HUB_PORT="5197"
|
|
34
|
-
npm run dev:hub
|
|
35
|
-
|
|
36
|
-
npx @livedesk/client --no-login --manager 192.168.0.10:5197 --pair <strong-token> --slot 2
|
|
37
|
-
```
|
|
38
|
-
|
|
39
28
|
The client registers the device, sends status heartbeats, can return
|
|
40
29
|
manager-requested thumbnails, can stream a focused view-only live screen, and
|
|
41
|
-
can receive safe task-only instructions.
|
|
30
|
+
can receive safe task-only instructions. When file transfer is enabled by the
|
|
31
|
+
manager, received files are saved to `Desktop/LiveDeskFiles` unless the manager
|
|
32
|
+
sets another destination folder.
|
|
42
33
|
|
|
43
34
|
By default, the launcher uses the packaged C# RemoteFast engine when supported.
|
|
44
35
|
It falls back to the Node engine for AI assist or when a compatible .NET runtime
|
|
@@ -861,6 +861,15 @@ async function handleRemoteCommand(socket, options, message, nextFrameSeq, activ
|
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
+
if (command === 'audio.start' || command === 'audio.stop') {
|
|
865
|
+
writeJsonLine(socket, {
|
|
866
|
+
type: 'command.result',
|
|
867
|
+
commandId: message.commandId,
|
|
868
|
+
error: 'remote audio is only available in a RemoteFast engine with audio support'
|
|
869
|
+
});
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
872
|
+
|
|
864
873
|
if (command === 'input.control') {
|
|
865
874
|
writeJsonLine(socket, {
|
|
866
875
|
type: 'command.result',
|
|
@@ -936,6 +945,8 @@ function connectOnce(options, deviceId) {
|
|
|
936
945
|
thumbnail: options.thumbnailEnabled,
|
|
937
946
|
liveStream: options.liveEnabled,
|
|
938
947
|
control: false,
|
|
948
|
+
audio: false,
|
|
949
|
+
remoteAudio: false,
|
|
939
950
|
fileTransfer: true,
|
|
940
951
|
remoteFiles: true,
|
|
941
952
|
fileTransferMaxBytes: MAX_FILE_TRANSFER_BYTES,
|
package/bin/livedesk-client.js
CHANGED
|
@@ -53,9 +53,6 @@ Options:
|
|
|
53
53
|
--version Show the agent version.
|
|
54
54
|
--help Show this help.
|
|
55
55
|
|
|
56
|
-
Manual fallback:
|
|
57
|
-
npx @livedesk/client --no-login --manager 192.168.0.10:5197 --pair <token> --slot 2
|
|
58
|
-
|
|
59
56
|
Auto uses C# RemoteFast when supported and falls back to Node for AI assist or
|
|
60
57
|
when a packaged RemoteFast runtime is unavailable.
|
|
61
58
|
`.trimStart());
|