@livedesk/client 0.1.27 → 0.1.28

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 CHANGED
@@ -35,10 +35,8 @@ to `Desktop/LiveDeskFiles` unless the Hub sets another destination folder.
35
35
 
36
36
  By default, the launcher uses the packaged C# RemoteFast engine when supported.
37
37
  It falls back to the Node engine for AI assist or when a compatible RemoteFast
38
- runtime is unavailable. macOS auto mode uses the Node engine by default because
39
- the current RemoteFast macOS path shells out to `screencapture`, which can show
40
- repeated Screen Recording privacy prompts. Use `--engine fast` on macOS only for
41
- experimental testing.
38
+ runtime is unavailable. Windows, macOS, and Linux all try RemoteFast first so
39
+ the Hub can request the Mode 3 hardware video path when it is available.
42
40
 
43
41
  Useful flags:
44
42
 
@@ -58,7 +56,7 @@ Frame pipeline roadmap:
58
56
 
59
57
  - Mode 1: `mode1-jpeg` - current test path using screen capture, resize, and JPEG binary frames.
60
58
  - Mode 2: `mode2-lz4` - Windows Fast path using raw BGRA frames compressed as an LZ4 block.
61
- - Mode 3: `mode3-h264-hw` - planned GPU capture to hardware H.264 encoding.
59
+ - Mode 3: `mode3-h264-hw` - OS-specific ffmpeg hardware H.264 path. Windows tries Media Foundation/NVENC/QSV/AMF, macOS tries VideoToolbox, and Linux tries NVENC/VAAPI/QSV. Set `LIVEDESK_FFMPEG` to a custom ffmpeg binary if needed.
62
60
 
63
61
  Legacy mode names such as `remote-fast` and `remote-quality` are treated as
64
62
  Mode 1 aliases.
@@ -61,8 +61,7 @@ Options:
61
61
  --help Show this help.
62
62
 
63
63
  Auto uses C# RemoteFast when supported and falls back to Node for AI assist or
64
- when a packaged RemoteFast runtime is unavailable. On macOS, auto uses the Node
65
- agent by default to avoid repeated screencapture privacy prompts.
64
+ when a packaged RemoteFast runtime is unavailable.
66
65
  `.trimStart());
67
66
  }
68
67
 
@@ -79,10 +78,6 @@ function isTruthy(value) {
79
78
  return /^(1|true|yes|on)$/i.test(String(value || '').trim());
80
79
  }
81
80
 
82
- function isMacFastAutoEnabled() {
83
- return isTruthy(process.env.LIVEDESK_CLIENT_MAC_FAST || process.env.MINDEXEC_REMOTE_MAC_FAST);
84
- }
85
-
86
81
  function normalizeEngine(value) {
87
82
  const engine = String(value || 'auto').trim().toLowerCase();
88
83
  if (engine === 'c#' || engine === 'csharp' || engine === 'fast') {
@@ -897,9 +892,6 @@ function shouldUseFast(parsed) {
897
892
  if (parsed.engine === 'fast') {
898
893
  return true;
899
894
  }
900
- if (os.platform() === 'darwin' && !isMacFastAutoEnabled()) {
901
- return false;
902
- }
903
895
  return !parsed.nodeOnlyFeature;
904
896
  }
905
897
 
@@ -926,9 +918,6 @@ async function main() {
926
918
  const fastRuntime = getFastRuntime();
927
919
  const useFast = shouldTryFast(prepared, fastRuntime);
928
920
  let result;
929
- if (!useFast && prepared.engine === 'auto' && os.platform() === 'darwin') {
930
- console.warn('LiveDesk uses the Node engine on macOS to avoid repeated Screen Recording prompts. Use --engine fast only for experimental testing.');
931
- }
932
921
  if (useFast) {
933
922
  const fastArgs = buildFastArgs(prepared.forwarded, prepared.fakeThumbnail);
934
923
  const fastLaunch = resolveFastLaunch(fastRuntime);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livedesk/client",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "LiveDesk local remote client",
5
5
  "type": "module",
6
6
  "bin": {