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.
Files changed (2) hide show
  1. package/dist/index.js +22 -3
  2. 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
- await this.asyncShell(`sudo apt-get install -y --no-install-recommends llvm-dev libllvm14 llvm-14-dev gcc g++ gfortran libopenblas-dev libsndfile1-dev 2>/dev/null || true`, 12e4);
40447
- } catch {
40448
- renderWarning(" Could not install system build deps (sudo may require password). librosa/lhotse may fail to compile.");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.63",
3
+ "version": "0.138.64",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",