open-agents-ai 0.138.63 → 0.138.64
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/dist/index.js +22 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40443,9 +40443,28 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
|
|
|
40443
40443
|
if (isArm) {
|
|
40444
40444
|
renderInfo(" ARM device detected \u2014 installing build prerequisites then deps individually.");
|
|
40445
40445
|
try {
|
|
40446
|
-
|
|
40447
|
-
|
|
40448
|
-
|
|
40446
|
+
const { spawnSync } = await import("node:child_process");
|
|
40447
|
+
renderInfo(" System build tools needed (llvm, gcc). Requesting sudo access...");
|
|
40448
|
+
const sudoCheck = spawnSync("sudo", ["-v"], { stdio: "inherit", timeout: 6e4 });
|
|
40449
|
+
if (sudoCheck.status === 0) {
|
|
40450
|
+
renderInfo(" Installing system build dependencies (this may take a minute)...");
|
|
40451
|
+
spawnSync("sudo", [
|
|
40452
|
+
"apt-get",
|
|
40453
|
+
"install",
|
|
40454
|
+
"-y",
|
|
40455
|
+
"--no-install-recommends",
|
|
40456
|
+
"llvm-dev",
|
|
40457
|
+
"gcc",
|
|
40458
|
+
"g++",
|
|
40459
|
+
"gfortran",
|
|
40460
|
+
"libopenblas-dev",
|
|
40461
|
+
"libsndfile1-dev"
|
|
40462
|
+
], { stdio: "inherit", timeout: 12e4 });
|
|
40463
|
+
} else {
|
|
40464
|
+
renderWarning(" sudo not available \u2014 skipping system build deps. librosa/lhotse may fail to compile.");
|
|
40465
|
+
}
|
|
40466
|
+
} catch (err) {
|
|
40467
|
+
renderWarning(` Could not install system build deps: ${err instanceof Error ? err.message : String(err)}`);
|
|
40449
40468
|
}
|
|
40450
40469
|
}
|
|
40451
40470
|
const installSteps = isArm ? [
|
package/package.json
CHANGED