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(install): clean voice-model download output + live milestone progress
Ruben Lütke43b06ed783d7
diff --git a/install/installer.py b/install/installer.pyindex 3f73b2ee02..3716aa6f32 100644--- a/install/installer.py+++ b/install/installer.py@@ -184,6 +184,38 @@ def run_captured(return _run()+def run_noted(cmd: list[str], *, label: str, cwd: Path | None = None) -> int:+ """Stream a milestone-printing command as live gutter notes under a spinner.++ For subprocesses whose output is a short series of human-readable+ milestone lines (the voice-model prefetch): each line renders as a dim+ │-gutter note the moment it appears, so a multi-minute download shows+ real, honest progress instead of a frozen label or raw column-0 spam+ (Intel-Mac field report 2026-07-16). stderr joins stdout so stray+ library noise can never break the layout. Non-tty hosts get the same+ lines without the spinner.+ """+ proc = subprocess.Popen( # noqa: S603 — fixed argv built by the caller, no shell+ cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,+ text=True, encoding="utf-8", errors="replace", bufsize=1,+ )++ def _pump() -> None:+ assert proc.stdout is not None+ for raw in proc.stdout:+ line = raw.rstrip()+ if line:+ note(rich_escape(line))++ if console.is_terminal:+ with console.status(f"[brand]{label}…[/]", spinner="dots", spinner_style="brand"):+ _pump()+ else:+ note(f"{label}…")+ _pump()+ return proc.wait()++def is_headless_linux() -> bool:"""Best-effort: True on a Linux VPS without a display server."""return sys.platform.startswith("linux") and not (@@ -374,10 +406,12 @@ def step_models(*, dry_run: bool) -> None:# model can still leave "done" looking complete. So don't stop at rc — VERIFY# what actually landed on disk and print a per-model truth. Read-only +# best-effort: this never bricks the install (CLAUDE.md section 3).- # run_quiet: the raw download progress (hundreds of scrolling lines) was- # the one step still wrecking the calm gold transcript — hide it behind- # the spinner; verify_models prints the honest per-model outcome after.- run_quiet(+ # run_noted, not run_quiet: with the HF progress bars silenced inside the+ # prefetch itself, its output is a handful of milestone lines ("downloading+ # wake model … ~40 MB", "speech model 'base': ready") — streaming them as+ # gutter notes under the spinner is the honest progress indicator a+ # multi-minute download needs; a static label just reads as a hang.+ run_noted(cmd,label="downloading voice models (the long step - a few hundred MB)",cwd=repo_root(),diff --git a/jarvis/setup/prefetch.py b/jarvis/setup/prefetch.pyindex 2a70c164e8..a5d7be15b6 100644--- a/jarvis/setup/prefetch.py+++ b/jarvis/setup/prefetch.py@@ -14,6 +14,7 @@ GPU, or keyring is touched, only the on-disk model caches.from __future__ import annotationsimport importlib.util+import osfrom collections.abc import Callablefrom typing import Any@@ -85,6 +86,16 @@ def prefetch_all(echo: Callable[[str], None] = print) -> int:runtime lazy-download remains the safety net), the exit code just keepsthe installer's summary honest."""+ # Tame the Hugging Face downloader BEFORE it is imported (both env vars+ # are read at import time): no tqdm progress bars — they shred the+ # installer's line-oriented transcript (Intel-Mac field report+ # 2026-07-16) — and no "unauthenticated requests / set HF_TOKEN" warning,+ # because anonymous downloads ARE the intended end-user path and telling+ # a downloader to create a HF token is pure confusion. ``setdefault``+ # keeps any explicit user override in force.+ os.environ.setdefault("HF_HUB_DISABLE_PROGRESS_BARS", "1")+ os.environ.setdefault("HF_HUB_VERBOSITY", "error")+failed = Falseif _wakeword_bundle_present():