open-agents-ai 0.70.0 → 0.70.1

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 +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -25983,15 +25983,17 @@ async function doSetup(config, rl) {
25983
25983
  process.stdout.write(` ${c2.dim("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}
25984
25984
 
25985
25985
  `);
25986
- const hasPython = hasCmd("python3") || hasCmd("python");
25986
+ let hasPython = hasCmd("python3") || hasCmd("python");
25987
25987
  if (!hasPython) {
25988
25988
  process.stdout.write(` ${c2.yellow("\u26A0")} Python3 not found (needed for vision, OCR, browser automation).
25989
25989
  `);
25990
25990
  const installPy = await ask(rl, ` ${c2.bold("Install Python3?")} (Y/n) `);
25991
25991
  if (installPy.toLowerCase() !== "n") {
25992
25992
  ensurePython3();
25993
+ hasPython = hasCmd("python3") || hasCmd("python");
25993
25994
  }
25994
- } else {
25995
+ }
25996
+ if (hasPython) {
25995
25997
  const hasVenv = checkPythonVenv();
25996
25998
  if (!hasVenv) {
25997
25999
  process.stdout.write(` ${c2.yellow("\u26A0")} Python3 venv module not found (needed for Moondream, OCR, browser automation).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.70.0",
3
+ "version": "0.70.1",
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",