open-agents-ai 0.138.61 → 0.138.62

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 +32 -34
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -40440,43 +40440,42 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
40440
40440
  renderInfo(" Installing LuxTTS dependencies...");
40441
40441
  const pipCmd = JSON.stringify(venvPy);
40442
40442
  const isArm = process.arch === "arm64" || process.arch === "arm";
40443
- const coreDeps = isArm ? `lhotse huggingface_hub safetensors pydub librosa "transformers<=4.57.6" inflect numpy "setuptools<81"` : `lhotse huggingface_hub safetensors pydub onnxruntime librosa "transformers<=4.57.6" inflect numpy vocos "setuptools<81"`;
40444
40443
  if (isArm) {
40445
- renderInfo(" ARM device detected \u2014 skipping onnxruntime (no ARM wheels available); vocos install is non-fatal.");
40446
- }
40447
- const installSteps = [
40444
+ renderInfo(" ARM device detected \u2014 installing deps individually (some optional packages may be skipped).");
40445
+ }
40446
+ const installSteps = isArm ? [
40447
+ // ARM: install each dep individually so one failure doesn't cascade.
40448
+ // Only deps truly required for LuxTTS inference are fatal.
40449
+ // Everything else is non-fatal — missing deps degrade features, not crash.
40450
+ //
40451
+ // Critical for inference (fatal):
40452
+ { cmd: `${pipCmd} -m pip install --quiet "setuptools<81" wheel`, fatal: true, label: "setuptools" },
40453
+ { cmd: `${pipCmd} -m pip install --quiet numpy`, fatal: true, label: "numpy" },
40454
+ { cmd: `${pipCmd} -m pip install --quiet huggingface_hub safetensors`, fatal: true, label: "huggingface_hub + safetensors" },
40455
+ { cmd: `${pipCmd} -m pip install --quiet "transformers<=4.57.6"`, fatal: true, label: "transformers" },
40456
+ { cmd: `${pipCmd} -m pip install --quiet pydub`, fatal: true, label: "pydub" },
40457
+ // Non-fatal — may fail on ARM due to native compilation deps:
40458
+ { cmd: `${pipCmd} -m pip install --quiet inflect`, fatal: false, label: "inflect" },
40459
+ { cmd: `${pipCmd} -m pip install --quiet lhotse`, fatal: false, label: "lhotse (audio processing \u2014 may need build tools on ARM)" },
40460
+ { cmd: `${pipCmd} -m pip install --quiet librosa`, fatal: false, label: "librosa (needs numba/llvmlite \u2014 may fail on ARM)" },
40461
+ { cmd: `${pipCmd} -m pip install --quiet vocos`, fatal: false, label: "vocos" },
40462
+ { cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`, fatal: false, label: "piper-phonemize" },
40463
+ // Text processing + codec (non-fatal on ARM):
40464
+ { cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`, fatal: false, label: "Chinese text processing" },
40465
+ { cmd: `${pipCmd} -m pip install --quiet "git+https://github.com/ysharma3501/LinaCodec.git"`, fatal: false, label: "LinaCodec" },
40466
+ // LuxTTS itself (fatal — this is what we're installing):
40467
+ { cmd: `${pipCmd} -m pip install --quiet -e ${JSON.stringify(repoDir)}`, fatal: true, label: "LuxTTS (editable install)" }
40468
+ ] : [
40469
+ // x86_64: all-in-one (fast, all wheels available)
40448
40470
  {
40449
- cmd: `${pipCmd} -m pip install --quiet ${coreDeps}`,
40471
+ cmd: `${pipCmd} -m pip install --quiet lhotse huggingface_hub safetensors pydub onnxruntime librosa "transformers<=4.57.6" inflect numpy vocos "setuptools<81"`,
40450
40472
  fatal: true,
40451
40473
  label: "core LuxTTS deps"
40452
40474
  },
40453
- // On ARM, vocos is installed separately as non-fatal (may lack prebuilt wheels).
40454
- // On x86_64 it is already included in coreDeps above and this step is skipped.
40455
- ...isArm ? [{
40456
- cmd: `${pipCmd} -m pip install --quiet vocos`,
40457
- fatal: false,
40458
- label: "vocos"
40459
- }] : [],
40460
- {
40461
- cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`,
40462
- fatal: false,
40463
- label: "piper-phonemize"
40464
- },
40465
- {
40466
- cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`,
40467
- fatal: true,
40468
- label: "Chinese text processing deps"
40469
- },
40470
- {
40471
- cmd: `${pipCmd} -m pip install --quiet "git+https://github.com/ysharma3501/LinaCodec.git"`,
40472
- fatal: false,
40473
- label: "LinaCodec"
40474
- },
40475
- {
40476
- cmd: `${pipCmd} -m pip install --quiet -e ${JSON.stringify(repoDir)}`,
40477
- fatal: true,
40478
- label: "LuxTTS (editable install)"
40479
- }
40475
+ { cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`, fatal: false, label: "piper-phonemize" },
40476
+ { cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`, fatal: true, label: "Chinese text processing" },
40477
+ { cmd: `${pipCmd} -m pip install --quiet "git+https://github.com/ysharma3501/LinaCodec.git"`, fatal: false, label: "LinaCodec" },
40478
+ { cmd: `${pipCmd} -m pip install --quiet -e ${JSON.stringify(repoDir)}`, fatal: true, label: "LuxTTS (editable install)" }
40480
40479
  ];
40481
40480
  for (const step of installSteps) {
40482
40481
  try {
@@ -40484,8 +40483,7 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
40484
40483
  } catch (err) {
40485
40484
  const msg = err instanceof Error ? err.message : String(err);
40486
40485
  if (!step.fatal) {
40487
- const armNote = isArm && (step.label === "piper-phonemize" || step.label === "vocos") ? " (expected on ARM \u2014 no prebuilt wheels)" : "";
40488
- renderWarning(` Non-critical install warning (${step.label})${armNote}: ${msg.slice(0, 120)}`);
40486
+ renderWarning(` Skipped (${step.label}): ${msg.slice(0, 150)}`);
40489
40487
  } else {
40490
40488
  throw new Error(`Failed to install LuxTTS dependencies (${step.label}): ${msg}`);
40491
40489
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.61",
3
+ "version": "0.138.62",
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",