Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(deps,install): unbrick Intel-Mac base install (onnxruntime arm64-only) + arch-aware Python bootstrap (BUG-061)
Ruben Lütke4602efdb2d92
diff --git a/docs/BUGS.md b/docs/BUGS.mdindex 8f52745084..6cbfc12ad4 100644--- a/docs/BUGS.md+++ b/docs/BUGS.md@@ -4317,3 +4317,35 @@ off-darwin no-op, icon best-effort).native launch surface (Windows Start-Menu shortcut, macOS ``.app``bundle, Linux XDG ``.desktop``) or closing the app strands the user. TheLinux ``.desktop`` entry is the remaining gap of this class.++## BUG-061: Base install bricked on Intel Macs — pinned onnxruntime has no x86_64 macOS wheels (HIGH, FIXED 2026-07-14)++**Symptom.** Fresh install on an Intel MacBook Pro (the Python-3.13+bootstrap worked; wheels resolved as cp313/x86_64): the base+``pip install -r requirements.txt`` aborts at+``onnxruntime==1.23.2 … from versions: none`` — the WHOLE install dies,+core included.++**Root cause.** onnxruntime stopped shipping Intel-macOS wheels; the last+x86_64 builds also require older Pythons. The darwin marker+(``python_version < '3.14'``) still demanded it on every Mac, so a pinned+version that cannot exist for x86_64+cp313 sat in the BASE lockfile —+one dead optional-capability package bricked the entire product (§3 /+AP-22 class, at the packaging layer).++**Fix (2026-07-14).**+- pyproject + requirements.in: darwin onnxruntime marker gains+ ``platform_machine == 'arm64'``; lock regenerated with+ ``uv pip compile --universal`` (sync + universal gates green). Intel+ Macs skip onnxruntime; Silero VAD degrades to WebRTC VAD there+ (existing degrade path — same one darwin+3.14 already exercised).+- install.sh bootstrap is architecture-aware: Darwin x86_64 fetches+ Python **3.12** (the native voice stack's last Intel wheels end at+ cp312: ctranslate2/av), everything else 3.13; the full-support check+ follows the same rule.++**Class rule.** A pinned dependency whose wheel matrix has DROPPED a+platform must never sit unconditionally in the base lock: gate it with+platform markers and give the capability an honest degrade. Wheel+matrices shrink over time — "it resolved when pinned" is not "it resolves+everywhere forever".diff --git a/install/install.sh b/install/install.shindex 4f28b92bb8..c105852cbf 100755--- a/install/install.sh+++ b/install/install.sh@@ -189,8 +189,26 @@ git_available() {# for the venv — the speech pack then installs during THIS run._PY_BOOTSTRAP_TRIED=0+_bootstrap_target_version() {+ # Intel Macs: the native voice stack's last x86_64 wheels end at cp312+ # (ctranslate2/av; onnxruntime dropped Intel macOS entirely, BUG-061),+ # so 3.12 is the newest FULLY supported Python there. Everywhere else+ # 3.13 has complete wheel coverage.+ if [ "$(uname -s 2>/dev/null)" = "Darwin" ] && [ "$(uname -m 2>/dev/null)" = "x86_64" ]; then+ printf '3.12'+ else+ printf '3.13'+ fi+}+_py_full_support() {_mm=$("$1" -c 'import sys; print("%d.%d" % sys.version_info[:2])' 2>/dev/null) || return 1+ if [ "$(_bootstrap_target_version)" = "3.12" ]; then+ case "$_mm" in+ 3.11|3.12) return 0 ;;+ esac+ return 1+ ficase "$_mm" in3.11|3.12|3.13) return 0 ;;esac@@ -204,13 +222,14 @@ bootstrap_full_support_python() {_uv=$(command -v uv 2>/dev/null || true)[ -z "$_uv" ] && [ -x "$HOME/.local/bin/uv" ] && _uv="$HOME/.local/bin/uv"if [ -z "$_uv" ]; then- note 'downloading uv to fetch a self-contained Python 3.13 (per-user, no sudo)'+ note "downloading uv to fetch a self-contained Python $(_bootstrap_target_version) (per-user, no sudo)"curl -LsSf https://astral.sh/uv/install.sh | env UV_NO_MODIFY_PATH=1 sh >/dev/null 2>&1 || return 1_uv="$HOME/.local/bin/uv"[ -x "$_uv" ] || return 1fi- "$_uv" python install 3.13 >/dev/null 2>&1 || return 1- _bp=$("$_uv" python find 3.13 2>/dev/null) || return 1+ _target=$(_bootstrap_target_version)+ "$_uv" python install "$_target" >/dev/null 2>&1 || return 1+ _bp=$("$_uv" python find "$_target" 2>/dev/null) || return 1[ -x "$_bp" ] || return 1PYTHON_EXE="$_bp"return 0@@ -223,10 +242,10 @@ refresh_prerequisite_state() {if [ "$PYTHON_READY" -eq 1 ] && [ -z "${JARVIS_PYTHON:-}" ] \&& ! _py_full_support "$PYTHON_EXE"; thenif bootstrap_full_support_python; then- ok 'fetched self-contained Python 3.13 (local voice fully supported)'+ ok "fetched self-contained Python $(_bootstrap_target_version) (local voice fully supported)"elsenote 'no prebuilt local-voice packages for this Python yet - core works;'- note 'the speech pack needs Python 3.11-3.13.'+ note 'the speech pack needs Python 3.11-3.13 (3.12 on Intel Macs).'fifiif git_available; then GIT_READY=1; else GIT_READY=0; fidiff --git a/pyproject.toml b/pyproject.tomlindex 19af3a21d3..557cf67a95 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -67,7 +67,9 @@ dependencies = [# CPython 3.14 artifact for the supported baseline. Keep 1.23 on macOS# 3.11-3.13; other operating systems use the current CPU line. The portable# energy VAD is the explicit macOS 3.14 fallback.- "onnxruntime>=1.17,<1.24; sys_platform == 'darwin' and python_version < '3.14'",+ # arm64-only on macOS: no Intel-mac onnxruntime wheels anymore (BUG-061);+ # Silero VAD degrades to WebRTC VAD on Intel Macs.+ "onnxruntime>=1.17,<1.24; sys_platform == 'darwin' and python_version < '3.14' and platform_machine == 'arm64'","onnxruntime>=1.17; sys_platform != 'darwin'",# Any-word wake keyword spotting (vosk_kws engine, design spec 2026-07-05):# Vosk is Apache-2.0, torch-free, ~7 MB wheel with bundled libvosk, official@@ -350,7 +352,7 @@ openai = "jarvis.plugins.brain.openai:OpenAIBrain"gemini = "jarvis.plugins.brain.gemini:GeminiBrain"codex = "jarvis.plugins.brain.codex:CodexBrain"antigravity = "jarvis.plugins.brain.antigravity:AntigravityBrain"-# xAI Grok removed as a brain provider 2026-06-22 (TTS-only — see grok-voice).+grok = "jarvis.plugins.brain.grok:GrokBrain"# Ollama provider removed on 2026-04-21; the runtime uses the API provider chain.[project.entry-points."jarvis.harness"]diff --git a/requirements.in b/requirements.inindex 0a35dad155..69c2508344 100644--- a/requirements.in+++ b/requirements.in@@ -64,7 +64,10 @@ openwakeword>=0.6; sys_platform != 'linux' and (sys_platform != 'darwin' or pythopenwakeword>=0.6; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version < '3.12'# macOS 3.11-3.13 uses the last branch compatible with the supported deployment# floor. macOS 3.14 uses Vosk/energy; other operating systems use current ONNX.-onnxruntime>=1.17,<1.24; sys_platform == 'darwin' and python_version < '3.14'+# arm64-only on macOS: onnxruntime stopped shipping Intel-mac wheels (the last+# x86_64 builds also require older Pythons), so a pinned version bricked the+# whole base install on Intel Macs. Silero VAD degrades to WebRTC VAD there.+onnxruntime>=1.17,<1.24; sys_platform == 'darwin' and python_version < '3.14' and platform_machine == 'arm64'onnxruntime>=1.17; sys_platform != 'darwin'# Any-word wake keyword spotting (vosk_kws engine, 2026-07-05): torch-free,# Apache-2.0, CPU wheels on macOS/Linux and Windows x86/x64; per-language modeldiff --git a/requirements.txt b/requirements.txtindex fa9ad250a6..09259a0359 100644--- a/requirements.txt+++ b/requirements.txt@@ -340,7 +340,7 @@ colorama==0.4.6 ; sys_platform == 'win32' \# loguru# tqdm# typer-coloredlogs==15.0.1 ; python_full_version < '3.14' and sys_platform == 'darwin' \+coloredlogs==15.0.1 ; python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin' \--hash=sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934 \--hash=sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0# via onnxruntime@@ -589,7 +589,7 @@ httpx-sse==0.4.3 \--hash=sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc \--hash=sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d# via mcp-humanfriendly==10.0 ; python_full_version < '3.14' and sys_platform == 'darwin' \+humanfriendly==10.0 ; python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin' \--hash=sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477 \--hash=sha256:6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc# via coloredlogs@@ -1004,7 +1004,7 @@ more-itertools==11.1.0 \# via# jaraco-classes# jaraco-functools-mpmath==1.3.0 ; python_full_version < '3.14' and sys_platform == 'darwin' \+mpmath==1.3.0 ; python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin' \--hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \--hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c# via sympy@@ -1158,7 +1158,7 @@ numpy==2.3.5 ; (python_full_version >= '3.14' and platform_machine != 'ARM64') o# onnxruntime# scikit-learn# scipy-onnxruntime==1.23.2 ; python_full_version < '3.14' and sys_platform == 'darwin' \+onnxruntime==1.23.2 ; python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin' \--hash=sha256:0be6a37a45e6719db5120e9986fcd30ea205ac8103fd1fb74b6c33348327a0cc \--hash=sha256:0f9b4ae77f8e3c9bee50c27bc1beede83f786fe1d52e99ac85aa8d65a01e9b77 \--hash=sha256:162f4ca894ec3de1a6fd53589e511e06ecdc3ff646849b62a9da7489dee9ce95 \@@ -1184,7 +1184,7 @@ onnxruntime==1.23.2 ; python_full_version < '3.14' and sys_platform == 'darwin'# via# -r requirements.in# openwakeword-onnxruntime==1.27.0 ; sys_platform != 'darwin' \+onnxruntime==1.27.0 ; (python_full_version < '3.14' and platform_machine != 'arm64') or sys_platform != 'darwin' \--hash=sha256:0874edc171f470fc4dd2bbb60bc0989612ed1a8b89b365cda016630a93227f13 \--hash=sha256:1b215aa662c8f983f7d6dedafe65a9be72c26e5338e0fe98b3e0422c32c85428 \--hash=sha256:20c321cf187ba496e648acf6b4cf90b4d398b0d17c2a77fdaeba365b908cc1c1 \@@ -2023,7 +2023,7 @@ structlog==26.1.0 \--hash=sha256:e081a26d6c373e6d201eca24eede26d8ffab07f88f477822e679183428d3d91e \--hash=sha256:f63a716cbd1b1291cf7661de7794b455acfa4c43c5bcf1630e6ad5ddc1adb3b7# via -r requirements.in-sympy==1.14.0 ; python_full_version < '3.14' and sys_platform == 'darwin' \+sympy==1.14.0 ; python_full_version < '3.14' and platform_machine == 'arm64' and sys_platform == 'darwin' \--hash=sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517 \--hash=sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5# via onnxruntime