@agentikos/omega-os 0.19.9 → 0.19.10

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.
@@ -47,20 +47,54 @@ step_system_deps() {
47
47
  # Python WITHOUT touching the user's system Python or site-packages.
48
48
  local installer_venv="$STATE_DIR/installer-venv"
49
49
  if ! python3 -c "import yaml" 2>/dev/null; then
50
- info "creating dedicated installer venv (PEP-668 / Tahoe-safe path)"
50
+ # On macOS Tahoe (and any Python without working `ensurepip` /
51
+ # broken venv) the stdlib `python3 -m venv` crashes. Astral's `uv`
52
+ # creates venvs reliably from any Python and is the canonical path.
53
+ # We make it the PRIMARY method; stdlib venv is only a fallback for
54
+ # boxes where uv isn't installed yet.
55
+ #
56
+ # Bootstrap order: uv was added to step_system_deps later in this
57
+ # very function, but most Macs already have it. If neither uv nor
58
+ # working stdlib venv is available, we install uv first then loop.
51
59
  if [ ! -f "$installer_venv/bin/python3" ]; then
52
- if ! python3 -m venv "$installer_venv" 2>>"$LOG_FILE"; then
53
- err "python3 -m venv failed — see $LOG_FILE"
54
- err "manual fix: ensure 'ensurepip' is available in your python3"
60
+ info "creating installer venv (PEP-668-safe path for install helpers)"
61
+
62
+ # 1. Pre-install uv if it's missing — it's the safest venv tool.
63
+ if ! have uv && [ ! -x "$HOME/.local/bin/uv" ]; then
64
+ info " → installing uv (Astral package manager) first"
65
+ curl -LsSf https://astral.sh/uv/install.sh 2>>"$LOG_FILE" | sh >>"$LOG_FILE" 2>&1 \
66
+ || info " (uv install failed — will try python3 -m venv as fallback)"
67
+ fi
68
+ local uv_bin="$(command -v uv || echo "$HOME/.local/bin/uv")"
69
+
70
+ # 2. Try uv first (works on Tahoe + any PEP-668 Python).
71
+ if [ -x "$uv_bin" ] && "$uv_bin" venv "$installer_venv" \
72
+ --python python3 --quiet 2>>"$LOG_FILE"; then
73
+ ok " installer venv created via uv"
74
+ elif python3 -m venv "$installer_venv" 2>>"$LOG_FILE"; then
75
+ ok " installer venv created via python3 -m venv"
76
+ else
77
+ err "venv creation failed by both uv AND python3 -m venv — see $LOG_FILE"
78
+ err "diagnose:"
79
+ err " $uv_bin venv $installer_venv --python python3"
80
+ err " python3 -m venv $installer_venv"
55
81
  return 1
56
82
  fi
57
83
  fi
58
- if ! "$installer_venv/bin/pip" install --quiet pyyaml 2>>"$LOG_FILE"; then
59
- err "pip install pyyaml inside venv failed see $LOG_FILE"
60
- err "diagnose: $installer_venv/bin/pip install pyyaml"
84
+
85
+ # 3. Install pyyaml into the venv. Two methods, uv first.
86
+ local uv_bin="$(command -v uv || echo "$HOME/.local/bin/uv")"
87
+ if [ -x "$uv_bin" ] && "$uv_bin" pip install --quiet \
88
+ --python "$installer_venv/bin/python3" pyyaml 2>>"$LOG_FILE"; then
89
+ ok " pyyaml installed via uv pip"
90
+ elif "$installer_venv/bin/pip" install --quiet pyyaml 2>>"$LOG_FILE"; then
91
+ ok " pyyaml installed via venv pip"
92
+ else
93
+ err "pyyaml install failed in venv — see $LOG_FILE"
94
+ err "diagnose: $installer_venv/bin/pip install pyyaml"
61
95
  return 1
62
96
  fi
63
- ok "installer venv ready: $installer_venv (python3 + pyyaml)"
97
+ ok "installer venv ready: $installer_venv"
64
98
  fi
65
99
  # PATH prepend — persists for the rest of install.sh because steps are
66
100
  # called as bash functions in the SAME shell. We do this on every run,
@@ -188,7 +188,7 @@ from omega_engine.genesis import (
188
188
  )
189
189
  from omega_engine import plan as plan_v7
190
190
 
191
- __version__ = "0.19.9"
191
+ __version__ = "0.19.10"
192
192
 
193
193
  __all__ = [
194
194
  "__version__",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "omega-engine"
3
- version = "0.19.9"
3
+ version = "0.19.10"
4
4
  description = "The Omega OS orchestration engine — event-sourced, verified-completion agent graphs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1 +1 @@
1
- 0.19.9
1
+ 0.19.10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentikos/omega-os",
3
- "version": "0.19.9",
3
+ "version": "0.19.10",
4
4
  "description": "Omega OS — installable agentic operating system with verified-completion orchestration. Event-sourced engine, 8-block rack, autonomous agents, MCP.",
5
5
  "bin": {
6
6
  "omega-os": "bin/omega-os.js"