open-agents-ai 0.185.42 → 0.185.44

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 +12 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -41995,7 +41995,7 @@ print('Converted')
41995
41995
  if (child.pid)
41996
41996
  process.kill(child.pid, 0);
41997
41997
  } catch {
41998
- log("PersonaPlex daemon exited unexpectedly. Check daemon.log.");
41998
+ log(`PersonaPlex daemon exited unexpectedly. Check ${LOG_FILE}`);
41999
41999
  return null;
42000
42000
  }
42001
42001
  try {
@@ -42014,7 +42014,7 @@ print('Converted')
42014
42014
  if (elapsed % 10 === 0)
42015
42015
  log(`Still loading... (${elapsed}s)`);
42016
42016
  }
42017
- log("PersonaPlex daemon failed to start within 120s. Check daemon.log.");
42017
+ log(`PersonaPlex daemon failed to start within 120s. Check ${LOG_FILE}`);
42018
42018
  return null;
42019
42019
  }
42020
42020
  function stopPersonaPlex() {
@@ -43672,8 +43672,9 @@ async function ensureVisionDeps(onInfo, getSudoPassword) {
43672
43672
  }
43673
43673
  }
43674
43674
  const venvDir = getVenvDir();
43675
- const venvBin = join55(venvDir, "bin");
43676
- const venvMoondream = join55(venvBin, "moondream-station");
43675
+ const isWin2 = process.platform === "win32";
43676
+ const venvBin = join55(venvDir, isWin2 ? "Scripts" : "bin");
43677
+ const venvMoondream = join55(venvBin, isWin2 ? "moondream-station.exe" : "moondream-station");
43677
43678
  const venv = ensureVenv(log);
43678
43679
  if (venv && !hasCmd("moondream-station") && !existsSync38(venvMoondream)) {
43679
43680
  const venvPip2 = join55(venvBin, "pip");
@@ -43697,8 +43698,8 @@ async function ensureVisionDeps(onInfo, getSudoPassword) {
43697
43698
  }
43698
43699
  }
43699
43700
  if (venv) {
43700
- const venvPython2 = join55(venvBin, "python");
43701
- const venvPip2 = join55(venvBin, "pip");
43701
+ const venvPython2 = join55(venvBin, isWin2 ? "python.exe" : "python");
43702
+ const venvPip2 = join55(venvBin, isWin2 ? "pip.exe" : "pip");
43702
43703
  let ocrStackInstalled = false;
43703
43704
  try {
43704
43705
  execSync28(`"${venvPython2}" -c "import cv2, pytesseract, numpy, PIL"`, { stdio: "pipe", timeout: 1e4 });
@@ -45930,11 +45931,11 @@ def main():
45930
45931
  tag = "cu124" if mj>=12 and mn>=4 else "cu121" if mj>=12 else "cu118" if mj>=11 and mn>=8 else "cu121"
45931
45932
  spec["pip_args"] = ["torch","torchaudio","--index-url",f"https://download.pytorch.org/whl/{tag}"]
45932
45933
  spec["pip_args_str"] = f"torch torchaudio --index-url https://download.pytorch.org/whl/{tag}"
45933
- spec["description"] = f"Linux x86_64 CUDA {cv} ({tag})"
45934
+ spec["description"] = f"{sys.platform} x86_64 CUDA {cv} ({tag})"
45934
45935
  else:
45935
45936
  spec["pip_args"] = ["torch","torchaudio","--index-url","https://download.pytorch.org/whl/cpu"]
45936
45937
  spec["pip_args_str"] = "torch torchaudio --index-url https://download.pytorch.org/whl/cpu"
45937
- spec["description"] = "Linux x86_64 CPU"
45938
+ spec["description"] = f"{sys.platform} x86_64 CPU"
45938
45939
  if "--pip-args" in sys.argv: print(spec["pip_args_str"])
45939
45940
  elif "--json" in sys.argv or len(sys.argv) <= 1: print(json.dumps(spec, indent=2))
45940
45941
  elif "--description" in sys.argv: print(spec["description"])
@@ -47816,7 +47817,9 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
47816
47817
  const venvPy = luxttsVenvPy();
47817
47818
  if (existsSync42(venvPy)) {
47818
47819
  try {
47819
- await this.asyncShell(`${venvPy} -c "import sys; sys.path.insert(0, '${luxttsRepoDir()}'); from zipvoice.luxvoice import LuxTTS; print('ok')"`, 3e4);
47820
+ const quotedPy = `"${venvPy}"`;
47821
+ const repoPath = luxttsRepoDir().replace(/\\/g, "/");
47822
+ await this.asyncShell(`${quotedPy} -c "import sys; sys.path.insert(0, '${repoPath}'); from zipvoice.luxvoice import LuxTTS; print('ok')"`, 3e4);
47820
47823
  let hasCudaSys = false;
47821
47824
  try {
47822
47825
  await this.asyncShell("nvidia-smi", 5e3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.42",
3
+ "version": "0.185.44",
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",