@agentikos/omega-os 0.19.9 → 0.19.11
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.
- package/bootstrap/lib/steps.sh +61 -8
- package/omega/Agentik_Engine/omega_engine/__init__.py +1 -1
- package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/pyproject.toml +1 -1
- package/omega/Agentik_SSOT/VERSION +1 -1
- package/package.json +1 -1
package/bootstrap/lib/steps.sh
CHANGED
|
@@ -47,20 +47,73 @@ 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
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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, in order of robustness:
|
|
71
|
+
# a) uv venv with Astral-MANAGED Python 3.13 — bypasses any
|
|
72
|
+
# broken system Python (e.g. brew Python 3.14 on macOS Tahoe
|
|
73
|
+
# which has a libexpat ABI mismatch breaking pyexpat,
|
|
74
|
+
# ensurepip, pip, and stdlib `python3 -m venv` all at once).
|
|
75
|
+
# b) uv venv with system python3 + --seed (uv-managed pip)
|
|
76
|
+
# c) stdlib `python3 -m venv --without-pip` — skip broken
|
|
77
|
+
# ensurepip; uv handles package install separately.
|
|
78
|
+
# d) stdlib `python3 -m venv` — original path (works on any
|
|
79
|
+
# healthy Python).
|
|
80
|
+
local _venv_method=""
|
|
81
|
+
if [ -x "$uv_bin" ] && "$uv_bin" venv "$installer_venv" \
|
|
82
|
+
--python 3.13 --quiet 2>>"$LOG_FILE"; then
|
|
83
|
+
_venv_method="uv + Astral-managed Python 3.13"
|
|
84
|
+
elif [ -x "$uv_bin" ] && "$uv_bin" venv "$installer_venv" \
|
|
85
|
+
--python python3 --seed --quiet 2>>"$LOG_FILE"; then
|
|
86
|
+
_venv_method="uv + system python3 + seed"
|
|
87
|
+
elif python3 -m venv "$installer_venv" --without-pip 2>>"$LOG_FILE"; then
|
|
88
|
+
_venv_method="python3 -m venv --without-pip"
|
|
89
|
+
elif python3 -m venv "$installer_venv" 2>>"$LOG_FILE"; then
|
|
90
|
+
_venv_method="python3 -m venv"
|
|
91
|
+
else
|
|
92
|
+
err "venv creation failed across all paths — see $LOG_FILE"
|
|
93
|
+
err "diagnose:"
|
|
94
|
+
err " $uv_bin venv $installer_venv --python 3.13"
|
|
95
|
+
err " python3 -m venv $installer_venv --without-pip"
|
|
55
96
|
return 1
|
|
56
97
|
fi
|
|
98
|
+
ok " installer venv created via $_venv_method"
|
|
57
99
|
fi
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
100
|
+
|
|
101
|
+
# 3. Install pyyaml into the venv via uv (doesn't need pip inside the
|
|
102
|
+
# venv — uv handles it). Falls back to venv pip only if uv is
|
|
103
|
+
# unavailable AND the venv has its own pip.
|
|
104
|
+
local uv_bin="$(command -v uv || echo "$HOME/.local/bin/uv")"
|
|
105
|
+
if [ -x "$uv_bin" ] && "$uv_bin" pip install --quiet \
|
|
106
|
+
--python "$installer_venv/bin/python3" pyyaml 2>>"$LOG_FILE"; then
|
|
107
|
+
ok " pyyaml installed via uv pip"
|
|
108
|
+
elif [ -x "$installer_venv/bin/pip" ] && \
|
|
109
|
+
"$installer_venv/bin/pip" install --quiet pyyaml 2>>"$LOG_FILE"; then
|
|
110
|
+
ok " pyyaml installed via venv pip"
|
|
111
|
+
else
|
|
112
|
+
err "pyyaml install failed inside venv — see $LOG_FILE"
|
|
113
|
+
err "diagnose: $uv_bin pip install --python $installer_venv/bin/python3 pyyaml"
|
|
61
114
|
return 1
|
|
62
115
|
fi
|
|
63
|
-
ok "installer venv ready: $installer_venv
|
|
116
|
+
ok "installer venv ready: $installer_venv"
|
|
64
117
|
fi
|
|
65
118
|
# PATH prepend — persists for the rest of install.sh because steps are
|
|
66
119
|
# called as bash functions in the SAME shell. We do this on every run,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.19.
|
|
1
|
+
0.19.11
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentikos/omega-os",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.11",
|
|
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"
|