open-agents-ai 0.167.0 → 0.168.0

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 +13 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43927,7 +43927,8 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
43927
43927
  renderInfo(" Cloning LuxTTS repository...");
43928
43928
  try {
43929
43929
  if (existsSync39(repoDir)) {
43930
- await this.asyncShell(`rm -rf ${JSON.stringify(repoDir)}`, 3e4);
43930
+ const rmCmd = process.platform === "win32" ? `rmdir /s /q ${JSON.stringify(repoDir)}` : `rm -rf ${JSON.stringify(repoDir)}`;
43931
+ await this.asyncShell(rmCmd, 3e4);
43931
43932
  }
43932
43933
  await this.asyncShell(`git clone --depth 1 https://github.com/ysharma3501/LuxTTS.git ${JSON.stringify(repoDir)}`, 12e4);
43933
43934
  } catch (err) {
@@ -43974,17 +43975,23 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
43974
43975
  { cmd: `${pipCmd} -m pip install --quiet torch --index-url https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/ 2>/dev/null || ${pipCmd} -m pip install --quiet torch`, fatal: true, label: "PyTorch (Jetson L4T)" },
43975
43976
  { cmd: `${pipCmd} -m pip install --quiet onnxruntime-gpu 2>/dev/null || true`, fatal: false, label: "onnxruntime-gpu (Jetson, optional)" }
43976
43977
  ] : [
43977
- // Non-Jetson ARM: standard PyTorch (CPU)
43978
- { cmd: `${pipCmd} -m pip install --quiet torch --index-url https://download.pytorch.org/whl/cpu`, fatal: true, label: "PyTorch (ARM CPU)" }
43978
+ // Non-Jetson ARM: use default PyPI (has aarch64 wheels).
43979
+ // DO NOT use --index-url https://download.pytorch.org/whl/cpu that index
43980
+ // only has x86_64 wheels. ARM needs the standard PyPI torch package.
43981
+ { cmd: `${pipCmd} -m pip install --quiet torch torchaudio`, fatal: true, label: "PyTorch (ARM aarch64 from PyPI)" }
43979
43982
  ],
43980
43983
  { cmd: `${pipCmd} -m pip install --quiet numpy`, fatal: true, label: "numpy" },
43981
43984
  { cmd: `${pipCmd} -m pip install --quiet huggingface_hub safetensors`, fatal: true, label: "huggingface_hub + safetensors" },
43982
43985
  { cmd: `${pipCmd} -m pip install --quiet "transformers<=4.57.6"`, fatal: true, label: "transformers" },
43983
43986
  { cmd: `${pipCmd} -m pip install --quiet pydub inflect`, fatal: true, label: "pydub + inflect" },
43984
- // librosa needs numba→llvmlite which compiles against LLVM on ARM
43985
- { cmd: `${pipCmd} -m pip install --quiet librosa`, fatal: true, label: "librosa (compiling numba/llvmlite \u2014 this may take several minutes on ARM)" },
43987
+ // llvmlite (needed by numba, needed by librosa): try prebuilt first, then compile
43988
+ { cmd: `${pipCmd} -m pip install --quiet llvmlite 2>/dev/null || LLVM_CONFIG=$(which llvm-config || which llvm-config-14 || echo llvm-config) ${pipCmd} -m pip install --quiet llvmlite`, fatal: false, label: "llvmlite (ARM \u2014 trying prebuilt, then compiling)" },
43989
+ { cmd: `${pipCmd} -m pip install --quiet numba`, fatal: false, label: "numba" },
43990
+ // librosa: if numba/llvmlite failed, librosa degrades but still works for basic audio loading
43991
+ { cmd: `${pipCmd} -m pip install --quiet librosa`, fatal: true, label: "librosa" },
43986
43992
  { cmd: `${pipCmd} -m pip install --quiet lhotse`, fatal: true, label: "lhotse" },
43987
- { cmd: `${pipCmd} -m pip install --quiet vocos`, fatal: true, label: "vocos" },
43993
+ // vocos: try pip, fallback to building from source if wheels missing
43994
+ { cmd: `${pipCmd} -m pip install --quiet vocos 2>/dev/null || ${pipCmd} -m pip install --quiet --no-build-isolation vocos`, fatal: true, label: "vocos" },
43988
43995
  { cmd: `${pipCmd} -m pip install --quiet "git+https://github.com/ysharma3501/LinaCodec.git"`, fatal: true, label: "LinaCodec" },
43989
43996
  // Non-fatal (not hard-imported by LuxTTS):
43990
43997
  { cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`, fatal: false, label: "piper-phonemize (optional)" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.167.0",
3
+ "version": "0.168.0",
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",