tirtc-devtools-cli 0.2.1 → 0.2.2

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.
@@ -98,6 +98,12 @@ function hasRuntimeBundle(runtimeRoot) {
98
98
  return pathExists(path_1.default.join(runtimeRoot, 'include/tirtc/av.h')) &&
99
99
  pathExists(path_1.default.join(runtimeRoot, 'lib/libmatrix_runtime_facade.a'));
100
100
  }
101
+ function requiredAdjacentDriverDependency(platform) {
102
+ if (platform === 'macos-arm64') {
103
+ return 'libtgrtc.dylib';
104
+ }
105
+ return undefined;
106
+ }
101
107
  function resolveRuntimeRoot(roots, platform) {
102
108
  const explicit = process.env.TIRTC_RUNTIME_BUNDLE_ROOT?.trim();
103
109
  if (explicit) {
@@ -407,6 +413,13 @@ function runDriver(request, artifactRoot, roots) {
407
413
  if (!pathIsExecutable(driverPath)) {
408
414
  throw rolePreflightError('driver_not_executable', driverPath);
409
415
  }
416
+ const adjacentDependency = requiredAdjacentDriverDependency(platform);
417
+ if (adjacentDependency) {
418
+ const dependencyPath = path_1.default.join(path_1.default.dirname(driverPath), adjacentDependency);
419
+ if (!pathExists(dependencyPath)) {
420
+ throw rolePreflightError('driver_dependency_missing', dependencyPath);
421
+ }
422
+ }
410
423
  if (!hasRuntimeBundle(runtimeRoot)) {
411
424
  throw rolePreflightError('runtime_bundle_missing', runtimeRoot);
412
425
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tirtc-devtools-cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "main": "dist/cli/src/index.js",
6
6
  "types": "dist/cli/src/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  platform=linux-x64
2
2
  profile=full
3
- staged_at_utc=2026-04-30T14:53:23Z
3
+ staged_at_utc=2026-04-30T15:22:44Z
4
4
  source_sdk=/Users/allenfeng/Development/Repositories/tirtc-nexus/tirtc-matrix/.build/sdk/linux-x64
5
5
 
6
6
  bfc096be1484ac2b1c2776ccabfa2a4c6a982e869abf875192ff06fad85e82ca include/tirtc/audio.h
@@ -36,7 +36,7 @@ b1f4135025cb8e8520a14268d831b9998920a4239f84bb6b409d0e4909fd5bee lib/libcrypto.
36
36
  296ba0b5efa9d2ac49e3bf278c5d467b31436e73fbc608b736e974bcf9759bde lib/libmatrix_runtime_audio.a
37
37
  88f9c545943e4ef80024baf3620e91817ec16a4fea60b0e8c7887a0a41dc9d1b lib/libmatrix_runtime_facade.a
38
38
  ec7bbf8e8744c6645a441a28e24e0645906152cc987d6fcca16af3c3badba940 lib/libmatrix_runtime_foundation_http.a
39
- c8d9968c3544028f2e800d7f5ab6fa1604c54d5fddc682d65b5885ebac3967a8 lib/libmatrix_runtime_foundation_logging.a
39
+ 22e68acd455dc5c5df488f6b8c01446eb4fd24d1bc6e944cd90cd5bf514f7b08 lib/libmatrix_runtime_foundation_logging.a
40
40
  9c7108b70cb442dee02cfdb4f98891a8a099f15c379e9e48cf53d7b276f6e894 lib/libmatrix_runtime_media.a
41
41
  fc498c74804ef35dc3939a6368d9ae908b0e35578db32eb7902ad00107781295 lib/libmatrix_runtime_transport.a
42
42
  337d38891e264e76aeb61a4e25a3b0bad56ab26697948805e64dec920874093f lib/libmatrix_runtime_video.a
@@ -1,6 +1,6 @@
1
1
  platform=macos-arm64
2
2
  profile=full
3
- staged_at_utc=2026-04-30T14:51:39Z
3
+ staged_at_utc=2026-04-30T15:21:02Z
4
4
  source_sdk=/Users/allenfeng/Development/Repositories/tirtc-nexus/tirtc-matrix/.build/sdk/macos-arm64
5
5
 
6
6
  bfc096be1484ac2b1c2776ccabfa2a4c6a982e869abf875192ff06fad85e82ca include/tirtc/audio.h
@@ -35,13 +35,13 @@ cae0bbeb884e5466a56da15182c78cc22baab6c743f349a58d3595f623333585 include/tirtc/
35
35
  8db86d6714264047e8fd4086ddd7315722d675749719e6175f89eb5a636b48a1 lib/libTiRTC.a
36
36
  b39daee6a3d39bf0ca20c45084601133c4198de8dca848dcff6dd9c70ae99016 lib/libcrypto.a
37
37
  c052857ef315e3d61db9c862cad10709a3a6b2487dc41799cbe4d74a805de875 lib/libcrypto.dylib
38
- 33742c05d53b6d7cf5c415ef0cd011a78b800493a02da341d856717fff9ae36a lib/libmatrix_runtime_audio.a
39
- 30c3ab7aaf27c7de6674ce9a1e41bb381c763e965142ad62acb4fb67d40bc852 lib/libmatrix_runtime_facade.a
40
- a2e3bdd6b2543e83972c7cc4052b3df1516c8c323208402b7d4cd5e26f4fc86b lib/libmatrix_runtime_foundation_http.a
41
- 45270e2123ea3f40eb1f20a2909018e3d5e6fb58d11f849ba72f6087c76c9d75 lib/libmatrix_runtime_foundation_logging.a
42
- 9aadb323e7c61ec1a06ae5f50f452d39d4a3180a757b562977e7e000f64a1f06 lib/libmatrix_runtime_media.a
43
- 8ffe6de3e6268d6002ca73c65c9f68968c761a76d0a2bcb2ea0cd70c750e7e0f lib/libmatrix_runtime_transport.a
44
- 5dfce7599170bba0f14167373b489934f744eb01b8ff12fd491d99d985a9d008 lib/libmatrix_runtime_video.a
38
+ b8409a082783d153f6de9057162a5e09187f014e2bdba64f53b46753281d4bc8 lib/libmatrix_runtime_audio.a
39
+ 7e3b2f7095f969ecc048e451dc50f691dde597fc800e9ebf42f7a0adcf026714 lib/libmatrix_runtime_facade.a
40
+ c81295998a999068c074407e27620ab920db2c1ef389f202b50ca80c1458c1a3 lib/libmatrix_runtime_foundation_http.a
41
+ 9dfca35632e10f343a73ccfe4fd13e43f425dd3e6c55edb89954d80524768c16 lib/libmatrix_runtime_foundation_logging.a
42
+ 27b5d6c52b5c85cb65a911164f45b8431dd3f9d9a8aaff0f6c234758ac5f5285 lib/libmatrix_runtime_media.a
43
+ c2c6db2bef5cf990e5b566a9cb10f652f8d7aa30acf9f3b4dea54b123a4fa2e5 lib/libmatrix_runtime_transport.a
44
+ 65c0091a0550fd29b80e56a7bb7f673c3f212fbd6eac756ad56ed51cf284e3d6 lib/libmatrix_runtime_video.a
45
45
  c11c65d373a127028350c41fa58cd2d1223f2b5d70a84e13b115d90daaba25ca lib/libssl.a
46
46
  ef1c1104bbdd2528ed7b958fb7252bd6249875f92300b0c9577d6c4bd6c0d88a lib/libssl.dylib
47
47
  e14e846e43d64e240fa0e5745bf4e702b79d0f2442e7f768beb990610735c71b lib/libtgrtc.dylib