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
feat(install): visible progress for every long install step
Ruben Lütkeb9a1897b9b4c
diff --git a/install/install.ps1 b/install/install.ps1index af75cf1093..9734408588 100644--- a/install/install.ps1+++ b/install/install.ps1@@ -418,12 +418,15 @@ if ($ExtraArgs -contains '--headless') {Write-Phase '2/6' 'Fetching Personal Jarvis'Write-Note $InstallDir+# On an interactive console, git paints its own "Receiving objects: NN%"+# progress (on stderr) so a slow download never looks hung (maintainer+# report 2026-07-15); a redirected/CI run keeps --quiet for a clean+# transcript. Real errors still surface on stderr either way.+$GitVerbosity = if ([Console]::IsErrorRedirected) { '--quiet' } else { '--progress' }if (Test-Path (Join-Path $InstallDir '.git')) {Push-Location $InstallDirtry {- # --quiet keeps the noisy "Receiving objects: NN%" churn out of the- # clean transcript; real errors still surface on stderr.- & git fetch --quiet --depth 1 origin $Branch+ & git fetch $GitVerbosity --depth 1 origin $Branch& git checkout --quiet $Branch& git reset --quiet --hard "origin/$Branch"} finally {@@ -436,7 +439,7 @@ if (Test-Path (Join-Path $InstallDir '.git')) {Write-Note 'Aborting to avoid clobbering your files. Remove or move that directory, then re-run.'exit 1}- & git clone --quiet --depth 1 --branch $Branch $RepoUrl $InstallDir+ & git clone $GitVerbosity --depth 1 --branch $Branch $RepoUrl $InstallDirif ($LASTEXITCODE -ne 0) { Write-Err 'git clone failed.'; exit 1 }Write-Ok 'downloaded'}@@ -526,9 +529,8 @@ if (-not (Test-Path $VenvPython)) {}Write-Ok 'virtual environment ready'-Write-Note 'installing bootstrap dependencies (rich, packaging)'-& $VenvPython -m pip install --quiet --upgrade pip-& $VenvPython -m pip install --quiet rich packaging+Write-Note 'installing bootstrap dependencies (rich, packaging) - this can take a moment'+& $VenvPython -m pip install --quiet --upgrade pip rich packagingif ($LASTEXITCODE -ne 0) { Write-Err 'bootstrap pip install failed.'; exit 1 }Write-Ok 'bootstrap dependencies ready'diff --git a/install/install.sh b/install/install.shindex 11c86e19c7..a2d5eecbd2 100755--- a/install/install.sh+++ b/install/install.sh@@ -63,6 +63,41 @@ ok() { printf '%s ✓%s %s%s%s\n' "$GREEN" "$RST" "$DIM" "$1" "$RST"; }note() { printf '%s %s%s\n' "$DIM" "$1" "$RST"; }err() { printf '%s ✗ %s%s\n' "$RED" "$1" "$RST"; }+# Run a slow, otherwise-silent command behind a one-line dots spinner so a+# long download never looks hung (maintainer report 2026-07-15). TTY only:+# a piped/CI run prints the label once and streams the command instead.+# Output is captured to a temp log whose tail is printed on failure, so+# errors are never swallowed. Do NOT wrap anything that may prompt (sudo) —+# the background redirect would eat the prompt.+run_spin() {+ _spin_label="$1"; shift+ if [ ! -t 1 ]; then+ note "$_spin_label…"+ "$@"+ return $?+ fi+ _spin_log=$(mktemp)+ "$@" >"$_spin_log" 2>&1 &+ _spin_pid=$!+ _spin_i=0+ while kill -0 "$_spin_pid" 2>/dev/null; do+ _spin_i=$(( (_spin_i + 1) % 4 ))+ printf '\r%s %s%-3.*s%s ' "$DIM" "$_spin_label" "$_spin_i" '...' "$RST"+ sleep 0.4 2>/dev/null || sleep 1+ done+ _spin_rc=0+ wait "$_spin_pid" || _spin_rc=$?+ printf '\r\033[K'+ if [ "$_spin_rc" -ne 0 ]; then+ err "$_spin_label failed"+ # sed, not a `read` loop: the prompt-free guard test permits `read`+ # only inside the welcome gate and the prerequisite-bootstrap flow.+ tail -n 20 "$_spin_log" | sed -e "s/^/${DIM} /" -e "s/\$/${RST}/"+ fi+ rm -f "$_spin_log"+ return $_spin_rc+}+# Banner glyphs are machine-generated (figlet "ANSI Shadow"); do not hand-edit# — that is how the historical "Harvis" typo crept in. Rows are colored as a# vertical gradient (hi → brand → deep) to match the forged-gold wordmark.@@ -287,13 +322,15 @@ 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 $(_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+ note "fetching a self-contained Python $(_bootstrap_target_version) (per-user, no sudo)"+ run_spin 'downloading the uv Python manager' \+ sh -c 'curl -LsSf https://astral.sh/uv/install.sh | UV_NO_MODIFY_PATH=1 sh' || return 1_uv="$HOME/.local/bin/uv"[ -x "$_uv" ] || return 1fi_target=$(_bootstrap_target_version)- "$_uv" python install "$_target" >/dev/null 2>&1 || return 1+ run_spin "downloading Python $_target (about 30 MB)" \+ "$_uv" python install "$_target" || return 1_bp=$("$_uv" python find "$_target" 2>/dev/null) || return 1[ -x "$_bp" ] || return 1PYTHON_EXE="$_bp"@@ -764,10 +801,13 @@ fiphase '2/6' 'Fetching Personal Jarvis'note "$INSTALL_DIR"+# On a terminal, git paints its own "Receiving objects: NN%" progress so a+# slow download never looks hung (maintainer report 2026-07-15); a piped/CI+# run keeps --quiet for a clean log. Errors surface on stderr either way.+GIT_VERBOSITY='--quiet'+[ -t 2 ] && GIT_VERBOSITY='--progress'if [ -d "$INSTALL_DIR/.git" ]; then- # --quiet keeps the noisy "Receiving objects: NN%" churn out of the clean- # transcript; real errors still surface on stderr.- git -C "$INSTALL_DIR" fetch --quiet --depth 1 origin "$BRANCH"+ git -C "$INSTALL_DIR" fetch "$GIT_VERBOSITY" --depth 1 origin "$BRANCH"git -C "$INSTALL_DIR" checkout --quiet "$BRANCH"git -C "$INSTALL_DIR" reset --quiet --hard "origin/$BRANCH"ok 'updated existing checkout to latest'@@ -776,7 +816,7 @@ elif [ -e "$INSTALL_DIR" ]; thennote 'Aborting to avoid clobbering your files. Remove or move that directory, then re-run.'exit 1else- git clone --quiet --depth 1 --branch "$BRANCH" "$REPO_URL" "$INSTALL_DIR"+ git clone "$GIT_VERBOSITY" --depth 1 --branch "$BRANCH" "$REPO_URL" "$INSTALL_DIR"ok 'downloaded'fi@@ -859,16 +899,17 @@ if [ -x "$VENV_PYTHON" ] && [ "$(uname -s 2>/dev/null)" = "Linux" ] &&fiif [ ! -x "$VENV_PYTHON" ]; thenif [ "$(uname -s 2>/dev/null)" = "Linux" ]; then- "$PYTHON_EXE" -m venv --system-site-packages "$VENV_PATH"+ run_spin 'creating the virtual environment' \+ "$PYTHON_EXE" -m venv --system-site-packages "$VENV_PATH"else- "$PYTHON_EXE" -m venv "$VENV_PATH"+ run_spin 'creating the virtual environment' \+ "$PYTHON_EXE" -m venv "$VENV_PATH"fifiok 'virtual environment ready'-note 'installing bootstrap dependencies (rich, packaging)'-"$VENV_PYTHON" -m pip install --quiet --upgrade pip-"$VENV_PYTHON" -m pip install --quiet rich packaging+run_spin 'installing bootstrap dependencies (rich, packaging)' \+ "$VENV_PYTHON" -m pip install --quiet --upgrade pip rich packagingok 'bootstrap dependencies ready'# -------------------------------------------------------------- hand offdiff --git a/install/installer.py b/install/installer.pyindex cff1a272d5..c48e3c101d 100644--- a/install/installer.py+++ b/install/installer.py@@ -151,6 +151,32 @@ def run_quiet(cmd: list[str], *, label: str, cwd: Path | None = None) -> int:return subprocess.run(cmd, cwd=cwd).returncode+def run_captured(+ cmd: list[str], *, label: str, cwd: Path | None = None, timeout: float | None = None+) -> subprocess.CompletedProcess[str]:+ """Run a captured command behind the standard gold spinner.++ Like ``run_quiet``, but for callers that PARSE the captured stdout (probe+ verdicts, JSON reports): output stays captured on every host and the full+ ``CompletedProcess`` is returned. The spinner renders only on a real+ terminal so a long step never looks hung; a non-tty run still prints one+ honest "label…" note so logs show what the wait was. Raises ``OSError`` /+ ``TimeoutExpired`` exactly like ``subprocess.run`` — callers keep their+ own handling.+ """+ def _run() -> subprocess.CompletedProcess[str]:+ return subprocess.run(+ cmd, cwd=cwd, capture_output=True, text=True,+ encoding="utf-8", errors="replace", timeout=timeout,+ )++ if console.is_terminal:+ with console.status(f"[brand]{label}…[/]", spinner="dots", spinner_style="brand"):+ return _run()+ note(f"{label}…")+ return _run()++def is_headless_linux() -> bool:"""Best-effort: True on a Linux VPS without a display server."""return sys.platform.startswith("linux") and not (@@ -366,10 +392,9 @@ def verify_models() -> None:"import sys; sys.exit(0 if report_complete(items) else 3)\n")try:- result = subprocess.run(+ result = run_captured([str(venv_python()), "-c", probe], cwd=repo_root(),- capture_output=True, text=True, encoding="utf-8", errors="replace",- timeout=180,+ label="checking the voice models", timeout=180,)except (OSError, subprocess.TimeoutExpired):note("could not verify the voice models - they will be checked on first launch")@@ -412,10 +437,9 @@ def step_worker_cli(*, dry_run: bool) -> None:"print('installed' if installed else 'failed')\n")try:- result = subprocess.run(+ result = run_captured([str(venv_python()), "-c", probe], cwd=repo_root(),- capture_output=True, text=True, encoding="utf-8", errors="replace",- timeout=600,+ label="setting up the Jarvis-Agent worker CLI (npm download)", timeout=600,)stdout = (result.stdout or "").strip()verdict = stdout.splitlines()[-1] if stdout else "failed"@@ -439,7 +463,7 @@ def step_desktop_integration(*, enabled: bool, dry_run: bool) -> bool:console.print("[muted] (dry-run) repair desktop-shell registration[/]")return Truetry:- result = subprocess.run(+ result = run_captured([str(venv_python()),"-m",@@ -449,7 +473,7 @@ def step_desktop_integration(*, enabled: bool, dry_run: bool) -> bool:"--json",],cwd=repo_root(),- capture_output=True, text=True, encoding="utf-8", errors="replace",+ label="registering the desktop app (a macOS first run can take a few minutes)",# py2app build + icon conversion + signing + LaunchServices import# probe can legitimately exceed two minutes on Intel macOS.timeout=600,