livedesk 0.1.474 → 0.1.476

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/bin/livedesk.js CHANGED
@@ -1969,6 +1969,12 @@ async function stopUnixProcessesOnPorts(ports) {
1969
1969
  }
1970
1970
 
1971
1971
  async function stopStaleClientAgents() {
1972
+ const testProcessScopeToken = process.env.LIVEDESK_TEST_MODE === '1'
1973
+ ? String(process.env.LIVEDESK_TEST_CLIENT_PROCESS_SCOPE_TOKEN || '').trim()
1974
+ : '';
1975
+ const processMatchesTestScope = details => !testProcessScopeToken
1976
+ || [details?.commandLine, details?.executablePath]
1977
+ .some(value => String(value || '').includes(testProcessScopeToken));
1972
1978
  const classifyLiveDeskProcess = details => {
1973
1979
  if (isKnownLiveDeskClientAgentProcess(
1974
1980
  details?.processName,
@@ -2052,6 +2058,7 @@ async function stopStaleClientAgents() {
2052
2058
  }
2053
2059
  continue;
2054
2060
  }
2061
+ if (!processMatchesTestScope(details)) continue;
2055
2062
  const type = classifyLiveDeskProcess(details);
2056
2063
  if (!type) continue;
2057
2064
  const instanceMarker = processInstanceMarker(details);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livedesk/client",
3
- "version": "0.1.222",
3
+ "version": "0.1.223",
4
4
  "description": "LiveDesk local remote client",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,7 +19,8 @@
19
19
  "scripts": {
20
20
  "check": "node --check bin/client-version.js && node --check bin/livedesk-client.js && node --check bin/livedesk-client-node.js && node --check bin/livedesk-client-update-bootstrap.cjs && node --check bin/livedesk-client-fast.js",
21
21
  "test:version": "node --test tests/client-version.test.mjs",
22
- "pack:dry": "npm pack --dry-run"
22
+ "pack:dry": "npm pack --dry-run",
23
+ "prepublishOnly": "node ../../scripts/livedesk-release-git-gate.mjs"
23
24
  },
24
25
  "keywords": [
25
26
  "livedesk",
@@ -35,16 +36,16 @@
35
36
  "dependencies": {
36
37
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
37
38
  "ffmpeg-static": "^5.3.0",
38
- "@livedesk/runtime-core": "0.1.1",
39
+ "@livedesk/runtime-core": "0.1.2",
39
40
  "@supabase/supabase-js": "^2.110.0",
40
41
  "node-screenshots": "^0.2.8",
41
42
  "ws": "^8.18.3"
42
43
  },
43
44
  "optionalDependencies": {
44
- "@livedesk/fast-linux-x64": "0.1.427",
45
- "@livedesk/fast-osx-arm64": "0.1.427",
46
- "@livedesk/fast-osx-x64": "0.1.427",
47
- "@livedesk/fast-win-x64": "0.1.427"
45
+ "@livedesk/fast-linux-x64": "0.1.428",
46
+ "@livedesk/fast-osx-arm64": "0.1.428",
47
+ "@livedesk/fast-osx-x64": "0.1.428",
48
+ "@livedesk/fast-win-x64": "0.1.428"
48
49
  },
49
50
  "publishConfig": {
50
51
  "access": "public"
package/hub/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livedesk/hub",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "LiveDesk local Hub API and browser frame bridge",
5
5
  "type": "module",
6
6
  "main": "src/server.js",
@@ -11,11 +11,12 @@
11
11
  "scripts": {
12
12
  "dev": "node src/server.js",
13
13
  "start": "node src/server.js",
14
- "check": "node --check src/server.js && node --check src/remote-hub.js"
14
+ "check": "node --check src/server.js && node --check src/remote-hub.js",
15
+ "prepublishOnly": "node ../../scripts/livedesk-release-git-gate.mjs"
15
16
  },
16
17
  "dependencies": {
17
18
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
18
- "@livedesk/runtime-core": "0.1.1",
19
+ "@livedesk/runtime-core": "0.1.2",
19
20
  "@openai/codex-sdk": "0.145.0",
20
21
  "cors": "^2.8.5",
21
22
  "express": "^4.21.2",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "livedesk",
3
- "version": "0.1.474",
4
- "livedeskClientVersion": "0.1.222",
3
+ "version": "0.1.476",
4
+ "livedeskClientVersion": "0.1.223",
5
5
  "buildFlavor": "production",
6
6
  "description": "LiveDesk Hub and client launcher",
7
7
  "type": "module",
@@ -25,7 +25,8 @@
25
25
  "check": "node --check bin/livedesk.js && node --check diagnostics/livedesk-mode3-capture-smoke.mjs && node --check diagnostics/livedesk-mac-physical-gate-core.mjs && node --check diagnostics/livedesk-mac-physical-isolation.mjs && node --check diagnostics/livedesk-transport-physical-core.mjs && node --check diagnostics/livedesk-transport-physical.mjs && node --check scripts/sync-web-dist.js",
26
26
  "build": "node scripts/sync-web-dist.js",
27
27
  "prepack": "node scripts/sync-web-dist.js",
28
- "pack:dry": "npm pack --dry-run"
28
+ "pack:dry": "npm pack --dry-run",
29
+ "prepublishOnly": "node ../../scripts/livedesk-release-git-gate.mjs"
29
30
  },
30
31
  "keywords": [
31
32
  "livedesk",
@@ -51,10 +52,10 @@
51
52
  "ws": "^8.18.3"
52
53
  },
53
54
  "optionalDependencies": {
54
- "@livedesk/fast-linux-x64": "0.1.427",
55
- "@livedesk/fast-osx-arm64": "0.1.427",
56
- "@livedesk/fast-osx-x64": "0.1.427",
57
- "@livedesk/fast-win-x64": "0.1.427"
55
+ "@livedesk/fast-linux-x64": "0.1.428",
56
+ "@livedesk/fast-osx-arm64": "0.1.428",
57
+ "@livedesk/fast-osx-x64": "0.1.428",
58
+ "@livedesk/fast-win-x64": "0.1.428"
58
59
  },
59
60
  "publishConfig": {
60
61
  "access": "public"
@@ -1,14 +1,15 @@
1
- {
2
- "name": "@livedesk/runtime-core",
3
- "version": "0.1.1",
4
- "description": "Shared LiveDesk runtime role and lifecycle contracts",
5
- "type": "module",
6
- "main": "src/index.js",
7
- "files": [
8
- "src/"
9
- ],
1
+ {
2
+ "name": "@livedesk/runtime-core",
3
+ "version": "0.1.2",
4
+ "description": "Shared LiveDesk runtime role and lifecycle contracts",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "files": [
8
+ "src/"
9
+ ],
10
10
  "scripts": {
11
- "check": "node --check src/index.js"
11
+ "check": "node --check src/index.js",
12
+ "prepublishOnly": "node ../../scripts/livedesk-release-git-gate.mjs"
12
13
  },
13
14
  "engines": {
14
15
  "node": ">=20"