Skip to content

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.

feat(install): forged-gold terminal look + numbered six-phase journey

Ruben Lütke2b0e37f00961
diff --git a/install/install.ps1 b/install/install.ps1
index 67428e78be..cf0ff6186f 100644
--- a/install/install.ps1
+++ b/install/install.ps1
@@ -31,48 +31,54 @@ $PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
# modern PowerShell hosts.
try { [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 } catch {}
-# 24-bit brand palette (Charcoal + Gold). Embedded as ANSI escapes so the
-# whole line is one gold sweep. NB: brace the var -- "$e[..." would parse as
-# an array index.
-$e = [char]27
-$Gold = "${e}[38;2;231;196;110m"
-$Green = "${e}[38;2;122;200;140m"
-$Dim = "${e}[38;2;140;140;140m"
-$Red = "${e}[38;2;224;122;110m"
-$Bold = "${e}[1m"
-$Rst = "${e}[0m"
+# 24-bit brand palette (docs/BRAND.md): Signal Yellow on matte black, with the
+# forged-gold wordmark gradient #FFE552 -> #FFD60A -> #B8960A. Embedded as ANSI
+# escapes so the whole line is one gold sweep. NB: brace the var -- "$e[..."
+# would parse as an array index.
+$e = [char]27
+$GoldHi = "${e}[38;2;255;229;82m"
+$Gold = "${e}[38;2;255;214;10m"
+$GoldDeep = "${e}[38;2;184;150;10m"
+$Green = "${e}[38;2;122;200;140m"
+$Dim = "${e}[38;2;143;143;143m"
+$Red = "${e}[38;2;224;122;110m"
+$Bold = "${e}[1m"
+$Rst = "${e}[0m"
# Status glyphs from code points (keeps the source ASCII; see encoding rule).
-$Dot = [char]0x25CF # round bullet
$Chk = [char]0x2713 # check mark
$Crs = [char]0x2717 # cross mark
# ----------------------------------------------------------------- helpers
-function Write-Banner([string]$Subtitle) {
+function Write-Banner {
# Banner glyphs are machine-generated (figlet ANSI Shadow) and live inside
# this here-string, where non-ASCII is syntactically inert. Do not
- # hand-edit -- that is how the historical Harvis typo crept in.
+ # 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.
$art = @"
-$Gold P E R S O N A L$Rst
-$Gold ██╗ █████╗ ██████╗ ██╗ ██╗██╗███████╗
-$Gold ██║██╔══██╗██╔══██╗██║ ██║██║██╔════╝
-$Gold ██║███████║██████╔╝██║ ██║██║███████╗
-$Gold██ ██║██╔══██║██╔══██╗╚██╗ ██╔╝██║╚════██║
-$Gold╚█████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║███████║
-$Gold ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚══════╝$Rst
+$GoldHi ██╗ █████╗ ██████╗ ██╗ ██╗██╗███████╗$Rst
+$GoldHi ██║██╔══██╗██╔══██╗██║ ██║██║██╔════╝$Rst
+$Gold ██║███████║██████╔╝██║ ██║██║███████╗$Rst
+$Gold██ ██║██╔══██║██╔══██╗╚██╗ ██╔╝██║╚════██║$Rst
+$GoldDeep╚█████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║███████║$Rst
+$GoldDeep ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚══════╝$Rst
-$Gold $Dot$Rst $Bold$Subtitle$Rst
+$Dim P E R S O N A L J A R V I S · talk to your computer$Rst
+$Dim Installs the full profile · asks nothing · launches when done$Rst
"@
Write-Host $art
}
-function Write-Step([string]$Text) { Write-Host ""; Write-Host "$Gold $Dot$Rst $Bold$Text$Rst" }
+# One six-phase journey spans BOTH installer stages: this shell owns phases
+# 1-3, installer.py continues with 4-6 -- keep the numbering in sync there.
+function Write-Phase([string]$Num, [string]$Text) { Write-Host ""; Write-Host "$Gold $Num$Rst $Bold$Text$Rst" }
function Write-Ok([string]$Text) { Write-Host "$Green $Chk$Rst $Dim$Text$Rst" }
function Write-Note([string]$Text) { Write-Host "$Dim $Text$Rst" }
function Write-Err([string]$Text) { Write-Host "$Red $Crs $Text$Rst" }
-Write-Banner 'Quick install - Windows'
+Write-Banner
# ----------------------------------------------------------------- config
$RepoUrl = if ($env:JARVIS_INSTALL_REPO) { $env:JARVIS_INSTALL_REPO } else { 'https://github.com/PersonalJarvis/PersonalJarvis.git' }
@@ -106,7 +112,7 @@ function Test-PythonVersion {
}
# ----------------------------------------------------------------- preflight
-Write-Step 'Checking prerequisites'
+Write-Phase '1/6' 'Prerequisites'
# Python: try `python` first, then `py -3.11`, then `py -3`.
$pythonExe = $null
@@ -159,7 +165,7 @@ if ($ExtraArgs -contains '--headless') {
}
# ----------------------------------------------------------------- clone / update
-Write-Step 'Fetching Personal Jarvis'
+Write-Phase '2/6' 'Fetching Personal Jarvis'
Write-Note $InstallDir
if (Test-Path (Join-Path $InstallDir '.git')) {
@@ -227,8 +233,8 @@ if ($env:JARVIS_PAYLOAD_COMMIT) {
}
}
-# ----------------------------------------------------------------- venv
-Write-Step 'Creating Python environment'
+# ----------------------------------------------------------------- venv + bootstrap deps
+Write-Phase '3/6' 'Python environment'
$VenvPath = Join-Path $InstallDir '.venv'
$VenvPython = Join-Path $VenvPath 'Scripts\python.exe'
@@ -239,13 +245,11 @@ if (-not (Test-Path $VenvPython)) {
}
Write-Ok 'virtual environment ready'
-# ----------------------------------------------------------------- bootstrap deps
-Write-Step 'Installing bootstrap dependencies'
-Write-Note 'rich, packaging'
+Write-Note 'installing bootstrap dependencies (rich, packaging)'
& $VenvPython -m pip install --quiet --upgrade pip
& $VenvPython -m pip install --quiet rich packaging
if ($LASTEXITCODE -ne 0) { Write-Err 'bootstrap pip install failed.'; exit 1 }
-Write-Ok 'done'
+Write-Ok 'bootstrap dependencies ready'
# ----------------------------------------------------------------- hand off
$InstallerPy = Join-Path $InstallDir 'install\installer.py'
@@ -255,7 +259,7 @@ if (-not (Test-Path $InstallerPy)) {
exit 1
}
-Write-Step 'Launching the guided installer'
+Write-Note 'handing over to the Python installer (phases 4-6)'
Push-Location $InstallDir
try {
diff --git a/install/install.sh b/install/install.sh
index 6cf9672190..fe1edfaadd 100755
--- a/install/install.sh
+++ b/install/install.sh
@@ -21,42 +21,48 @@ REPO_URL="${JARVIS_INSTALL_REPO:-https://github.com/PersonalJarvis/PersonalJarvi
BRANCH="${JARVIS_INSTALL_REF:-main}"
INSTALL_DIR="${JARVIS_INSTALL_DIR:-$HOME/.personal-jarvis}"
-# 24-bit brand palette (Charcoal + Gold), best-effort. On a real terminal we
-# emit ANSI escapes so the banner sweeps gold and the ✓ ticks render; on a
+# 24-bit brand palette (docs/BRAND.md): Signal Yellow on matte black, with the
+# forged-gold wordmark gradient #FFE552 → #FFD60A → #B8960A. On a real terminal
+# we emit ANSI escapes so the banner sweeps gold and the ✓ ticks render; on a
# dumb terminal / pipe we omit them entirely.
if [ -t 1 ]; then
- GOLD=$(printf '\033[38;2;231;196;110m')
+ GOLD_HI=$(printf '\033[38;2;255;229;82m')
+ GOLD=$(printf '\033[38;2;255;214;10m')
+ GOLD_DEEP=$(printf '\033[38;2;184;150;10m')
GREEN=$(printf '\033[38;2;122;200;140m')
- DIM=$(printf '\033[38;2;140;140;140m')
+ DIM=$(printf '\033[38;2;143;143;143m')
RED=$(printf '\033[38;2;224;122;110m')
BOLD=$(printf '\033[1m')
RST=$(printf '\033[0m')
else
- GOLD=""; GREEN=""; DIM=""; RED=""; BOLD=""; RST=""
+ GOLD_HI=""; GOLD=""; GOLD_DEEP=""; GREEN=""; DIM=""; RED=""; BOLD=""; RST=""
fi
-step() { printf '\n%s ●%s %s%s%s\n' "$GOLD" "$RST" "$BOLD" "$1" "$RST"; }
+# One six-phase journey spans BOTH installer stages: this shell owns phases
+# 1-3, installer.py continues with 4-6 — keep the numbering in sync there.
+phase() { printf '\n%s %s%s %s%s%s\n' "$GOLD" "$1" "$RST" "$BOLD" "$2" "$RST"; }
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"; }
# Banner glyphs are machine-generated (figlet "ANSI Shadow"); do not hand-edit
-# — that is how the historical "Harvis" typo crept in.
+# — 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.
cat <<EOF
-${GOLD} P E R S O N A L
- ██╗ █████╗ ██████╗ ██╗ ██╗██╗███████╗
- ██║██╔══██╗██╔══██╗██║ ██║██║██╔════╝
- ██║███████║██████╔╝██║ ██║██║███████╗
-██ ██║██╔══██║██╔══██╗╚██╗ ██╔╝██║╚════██║
-╚█████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║███████║
- ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚══════╝${RST}
+${GOLD_HI} ██╗ █████╗ ██████╗ ██╗ ██╗██╗███████╗${RST}
+${GOLD_HI} ██║██╔══██╗██╔══██╗██║ ██║██║██╔════╝${RST}
+${GOLD} ██║███████║██████╔╝██║ ██║██║███████╗${RST}
+${GOLD}██ ██║██╔══██║██╔══██╗╚██╗ ██╔╝██║╚════██║${RST}
+${GOLD_DEEP}╚█████╔╝██║ ██║██║ ██║ ╚████╔╝ ██║███████║${RST}
+${GOLD_DEEP} ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚══════╝${RST}
-${GOLD} ●${RST} ${BOLD}Quick install · macOS / Linux${RST}
+${DIM} P E R S O N A L J A R V I S · talk to your computer${RST}
+${DIM} Installs the full profile · asks nothing · launches when done${RST}
EOF
# -------------------------------------------------------------- preflight
-step 'Checking prerequisites'
+phase '1/6' 'Prerequisites'
find_python() {
for candidate in python3.13 python3.12 python3.11 python3 python; do
@@ -121,7 +127,7 @@ else
fi
# -------------------------------------------------------------- clone / update
-step 'Fetching Personal Jarvis'
+phase '2/6' 'Fetching Personal Jarvis'
note "$INSTALL_DIR"
if [ -d "$INSTALL_DIR/.git" ]; then
@@ -173,8 +179,8 @@ if [ -n "${JARVIS_PAYLOAD_COMMIT:-}" ]; then
ok "pinned to signed commit ${JARVIS_PAYLOAD_COMMIT:0:12}…"
fi
-# -------------------------------------------------------------- venv
-step 'Creating Python environment'
+# -------------------------------------------------------------- venv + bootstrap deps
+phase '3/6' 'Python environment'
VENV_PATH="$INSTALL_DIR/.venv"
VENV_PYTHON="$VENV_PATH/bin/python"
@@ -184,12 +190,10 @@ if [ ! -x "$VENV_PYTHON" ]; then
fi
ok 'virtual environment ready'
-# -------------------------------------------------------------- bootstrap deps
-step 'Installing bootstrap dependencies'
-note 'rich, packaging'
+note 'installing bootstrap dependencies (rich, packaging)'
"$VENV_PYTHON" -m pip install --quiet --upgrade pip
"$VENV_PYTHON" -m pip install --quiet rich packaging
-ok 'done'
+ok 'bootstrap dependencies ready'
# -------------------------------------------------------------- hand off
INSTALLER_PY="$INSTALL_DIR/install/installer.py"
@@ -199,7 +203,7 @@ if [ ! -f "$INSTALLER_PY" ]; then
exit 1
fi
-step 'Launching the guided installer…'
+note 'handing over to the Python installer (phases 4-6)'
cd "$INSTALL_DIR"
exec "$VENV_PYTHON" "$INSTALLER_PY" "$@"
diff --git a/install/installer.py b/install/installer.py
index 333cd9d307..a8d8ed2141 100644
--- a/install/installer.py
+++ b/install/installer.py
@@ -9,24 +9,20 @@ explains each step in one line, and launches the app as its LAST action. All
setup questions (language, wake word, API keys, Terms) live in the app's
one-time first-launch onboarding — never in this terminal.
-Steps:
- 1. Detect platform + Python version (sanity check; Stage 1 already
- gate-keeps this, but we re-assert so manual invocations stay safe).
- 2. Install Personal Jarvis editable + runtime deps via pip.
- 3. Optionally install the ``[desktop]`` extras (Windows + macOS GUI
- users; skipped on headless Linux servers unless ``--with-desktop``).
- 4. Optionally install ``[local-voice]`` extras (Silero VAD, WebRTC VAD,
- Porcupine). Off by default — ~1.5 GB (Silero pulls torch). The always-on
- neural wake word (openWakeWord) is a BASE dependency and does NOT need
- this; only an arbitrary custom wake phrase does (via the separate in-app
- local-Whisper install).
- 5. Prefetch every voice model the config needs (``python -m jarvis
- --prefetch``) so the first launch has nothing left to download.
- 6. Best-effort: install the Jarvis-Agent worker CLI (npm) and, on Windows,
- the Start-Menu shortcut that names the taskbar button.
- 7. Verify the shipped UI build is present + intact.
- 8. Print the summary, then launch the Desktop App / headless server as the
- last action unless ``--no-launch``.
+The user-visible journey is ONE six-phase sequence spanning both stages: the
+Stage-1 shell prints phases 1-3 (prerequisites, fetch, venv), this script
+continues with 4-6. Keep the numbering in sync with install.sh / install.ps1.
+
+Phases owned here:
+ 4/6 Dependencies — editable install + runtime deps via pip. Desktop hosts
+ (Windows/macOS, or ``--with-desktop``) also get the ``[full]`` extras;
+ headless keeps the torch-free base floor.
+ 5/6 Voice models — prefetch everything the config needs (``python -m
+ jarvis --prefetch``) + verify what actually landed on disk.
+ 6/6 Finish & launch — best-effort worker CLI (npm) + Windows Start-Menu
+ shortcut + UI-bundle integrity check, then the flat summary, then
+ launch the Desktop App / headless server as the LAST action unless
+ ``--no-launch``.
Environment variables (any can be set before re-invoking the installer):
JARVIS_INSTALL_DIR override install location
@@ -57,8 +53,7 @@ if hasattr(sys.stdout, "reconfigure"):
try:
from rich.console import Console
from rich.markup import escape as rich_escape
- from rich.panel import Panel
- from rich.table import Table
+ from rich.rule import Rule
from rich.theme import Theme
except ImportError: # pragma: no cover - Stage 1 installs rich; failure here is a bug
print("ERROR: rich is not installed. The Stage-1 bootstrap should have done this.")
@@ -66,14 +61,17 @@ except ImportError: # pragma: no cover - Stage 1 installs rich; failure here is
sys.exit(1)
-# Brand palette (Charcoal + Gold) — matches the Stage-1 shell banner so the
-# two stages read as one continuous install experience.
+# Brand palette (docs/BRAND.md): Signal Yellow on matte black, deep gold for
+# the finale rules — matches the Stage-1 shell banner gradient so the two
+# stages read as one continuous install experience.
THEME = Theme(
{
- "brand": "#e7c46e",
- "brand.bold": "bold #e7c46e",
+ "brand": "#FFD60A",
+ "brand.bold": "bold #FFD60A",
+ "brand.deep": "#B8960A",
"ok": "#7ac88c",
- "muted": "#8c8c8c",
+ "ok.bold": "bold #7ac88c",
+ "muted": "#8F8F8F",
"bad": "#e07a6e",
}
)
@@ -97,10 +95,15 @@ def venv_python() -> Path:
# ---------------------------------------------------------------- presentation
-def step(title: str) -> None:
- """A top-level phase marker (gold ●), matching the Stage-1 shell."""
+def phase(num: str, title: str) -> None:
+ """A numbered phase marker (gold ``N/6``), continuing the Stage-1 journey.
+
+ One six-phase journey spans BOTH installer stages: the Stage-1 shell owns
+ phases 1-3 (prerequisites, fetch, venv), this script owns 4-6 — keep the
+ numbering in sync with install.sh / install.ps1.
+ """
console.print()
- console.print(f"[brand] ●[/] [brand.bold]{title}[/]")
+ console.print(f"[brand] {num}[/] [brand.bold]{title}[/]")
def ok(text: str) -> None:
@@ -153,15 +156,15 @@ def is_headless_linux() -> bool:
# ---------------------------------------------------------------- steps
def step_preflight() -> None:
- step("Environment")
- table = Table.grid(padding=(0, 2))
- table.add_column(style="muted")
- table.add_column(style="brand")
- table.add_row(" platform", f"{platform.system()} {platform.release()} ({platform.machine()})")
- table.add_row(" python", f"{sys.version.split()[0]}")
- table.add_row(" repo", str(repo_root()))
- table.add_row(" headless", "yes" if is_headless_linux() else "no")
- console.print(table)
+ """Sanity re-assert (Stage 1 already gate-keeps) + a quiet environment line."""
+ console.print()
+ note(
+ f"{platform.system()} {platform.release()} ({platform.machine()})"
+ f" · Python {sys.version.split()[0]}"
+ f" · {repo_root()}"
+ )
+ if is_headless_linux():
+ note("headless Linux detected — installing the server profile")
if sys.version_info < (3, 11):
console.print("[bad] Python 3.11+ required.[/]")
@@ -196,7 +199,7 @@ def write_managed_marker() -> None:
def step_pip_install(*, with_desktop: bool, with_voice_local: bool, dry_run: bool) -> None:
- step("Installing Personal Jarvis")
+ phase("4/6", "Dependencies")
pip = [str(venv_python()), "-m", "pip"]
# ``requirements.txt`` is the Wave 6 hash-pinned, PLATFORM-UNIVERSAL lockfile
@@ -258,7 +261,7 @@ def is_update_run() -> bool:
def step_models(*, dry_run: bool) -> None:
- step("Voice models")
+ phase("5/6", "Voice models")
note("downloading everything the voice pipeline needs, so the first")
note("launch is ready immediately - nothing is fetched at startup")
cmd = [str(venv_python()), "-m", "jarvis", "--prefetch"]
@@ -320,8 +323,7 @@ def verify_models() -> None:
def step_worker_cli(*, dry_run: bool) -> None:
- step("Jarvis-Agent worker CLI")
- note("the coding-agent worker Jarvis delegates missions to (needs Node.js)")
+ """Finish & launch sub-step: the coding-agent worker CLI (needs Node.js)."""
if dry_run:
console.print("[muted] (dry-run) npm i -g @anthropic-ai/claude-code[/]")
return
@@ -346,20 +348,19 @@ def step_worker_cli(*, dry_run: bool) -> None:
except (OSError, subprocess.TimeoutExpired):
verdict = "failed"
if verdict == "present":
- ok("worker CLI already installed")
+ ok("Jarvis-Agent worker CLI already installed")
elif verdict == "installed":
- ok("worker CLI installed (npm)")
+ ok("Jarvis-Agent worker CLI installed (npm)")
elif verdict == "no-npm":
- note("Node.js/npm not found - the Jarvis-Agent worker can be added later in-app")
+ note("Node.js/npm not found - the Jarvis-Agent worker CLI can be added later in-app")
else:
- note("worker CLI install failed - it can be added later in-app")
+ note("Jarvis-Agent worker CLI install failed - it can be added later in-app")
def step_shortcut(*, dry_run: bool) -> None:
+ """Finish & launch sub-step (Windows): Start-Menu shortcut = taskbar identity."""
if sys.platform != "win32":
return
- step("Start Menu & taskbar identity")
- note("so the very first launch shows the Jarvis name + icon, not a generic Python entry")
if dry_run:
console.print("[muted] (dry-run) ensure_start_menu_shortcut()[/]")
return
@@ -377,9 +378,9 @@ def step_shortcut(*, dry_run: bool) -> None:
except (OSError, subprocess.TimeoutExpired):
outcome = ""
if outcome.endswith("ok"):
- ok("shortcut in place")
+ ok("Start-Menu shortcut in place (taskbar shows the Jarvis name + icon)")
else:
- note("could not create the shortcut - the app will retry on first launch")
+ note("could not create the Start-Menu shortcut - the app will retry on first launch")
def step_ui_bundle_check() -> None:
@@ -389,7 +390,6 @@ def step_ui_bundle_check() -> None:
may not have one. Missing or torn builds are the 'old/broken app' symptom,
so say it out loud instead of letting the first launch look broken.
"""
- step("UI bundle")
dist = repo_root() / "jarvis" / "ui" / "web" / "dist"
index = dist / "index.html"
if not index.is_file():
@@ -433,18 +433,17 @@ def _resolved_admin_port() -> int:
def step_launch(*, headless: bool, dry_run: bool) -> None:
- step("Launch")
if headless or is_headless_linux():
cmd = [str(venv_python()), "-m", "jarvis.ui.web.launcher", "--headless"]
- msg = f"headless server on http://localhost:{_resolved_admin_port()}"
+ msg = f"the headless server on http://localhost:{_resolved_admin_port()}"
elif sys.platform == "win32":
cmd = [str(repo_root() / "run.bat")]
- msg = "Desktop App via run.bat"
+ msg = "the Desktop App"
else:
cmd = [str(venv_python()), "-m", "jarvis.ui.web.launcher"]
- msg = "Desktop App"
+ msg = "the Desktop App"
- note(f"starting {msg}")
+ console.print(f" [muted]Launching {msg} — the app takes over from here…[/]")
if dry_run:
console.print(f"[muted] (dry-run) {' '.join(cmd)}[/]")
return
@@ -459,38 +458,46 @@ def step_launch(*, headless: bool, dry_run: bool) -> None:
def step_summary(*, no_launch: bool, update: bool, headless: bool) -> None:
+ """The flat finale: two deep-gold rules around a short, calm summary.
+
+ Deliberately NOT a rich ``Panel`` — the boxed panel is the signature look
+ of generated projects (design 2026-07-09); modern installers end flat.
+ """
console.print()
+ console.print(Rule(style="brand.deep"))
+ console.print(f" [ok.bold]✓ Personal Jarvis is {'updated' if update else 'ready'}.[/]")
+ console.print(f" [muted]Installed to[/] {repo_root()}")
+ if sys.platform == "win32":
+ console.print(" [muted]Start again[/] [brand]run.bat[/] [muted](in the install folder)[/]")
+ else:
+ console.print(" [muted]Start again[/] [brand]python -m jarvis.ui.web.launcher[/]")
+ console.print(
+ " [muted]Update[/] [muted]re-run the same install one-liner - "
+ "it updates in place[/]"
+ )
if update:
- next_line = "Your setup and settings are kept - no re-onboarding."
+ console.print(
+ " [muted]Next[/] [muted]your setup and settings are kept - "
+ "no re-onboarding[/]"
+ )
elif headless or is_headless_linux():
- next_line = (
- "Open the printed server address in your browser - a one-time\n"
- " setup guide (language, wake word, API keys) runs there.\n"
- " It never shows again after that."
+ console.print(
+ f" [muted]Next[/] [muted]open http://localhost:{_resolved_admin_port()} "
+ "in your browser - a one-time[/]"
+ )
+ console.print(
+ " [muted] setup guide (language, wake word, API keys) runs "
+ "there, once[/]"
)
else:
- next_line = (
- "The app opens with a one-time setup guide (language, wake word,\n"
- " API keys). It never shows again after that."
+ console.print(
+ " [muted]Next[/] [muted]the app opens with a one-time setup guide "
+ "(language,[/]"
+ )
+ console.print(
+ " [muted] wake word, API keys) - it never shows again[/]"
)
- console.print(Panel.fit(
- "[ok]Personal Jarvis is " + ("updated" if update else "installed") + ".[/]\n\n"
- f"[muted]Repo[/] {repo_root()}\n"
- f"[muted]Venv[/] {venv_python().parent.parent}\n\n"
- f"[brand.bold]{'Update' if update else 'What happens next'}[/]\n"
- f" {next_line}\n\n"
- "[brand.bold]Re-run anytime[/]\n"
- " • Windows: [brand]run.bat[/]\n"
- " • macOS/Linux: [brand]python -m jarvis.ui.web.launcher[/]\n\n"
- "[brand.bold]Update later[/]\n"
- " Re-run the same install one-liner - it updates in place and keeps\n"
- " your setup.",
- border_style="brand",
- title="[brand.bold]✓ Done[/]",
- title_align="left",
- ))
- if not no_launch:
- console.print("\n[muted]Launching now…[/]")
+ console.print(Rule(style="brand.deep"))
# ---------------------------------------------------------------- entry
@@ -544,6 +551,8 @@ def main(argv: list[str] | None = None) -> int:
)
step_models(dry_run=args.dry_run)
+
+ phase("6/6", "Finish & launch")
step_worker_cli(dry_run=args.dry_run)
step_shortcut(dry_run=args.dry_run)
step_ui_bundle_check()
diff --git a/tests/unit/install/test_installer_flow.py b/tests/unit/install/test_installer_flow.py
index 24869e1e29..43dd6ecf89 100644
--- a/tests/unit/install/test_installer_flow.py
+++ b/tests/unit/install/test_installer_flow.py
@@ -18,9 +18,36 @@ def test_dry_run_order_launch_last(monkeypatch, capsys) -> None:
rc = installer.main(["--dry-run", "--headless"])
out = capsys.readouterr().out
assert rc == 0
- # The launch step must come after every prepare step AND after the summary.
- assert out.rindex("Launch") > out.rindex("Voice models")
- assert out.rindex("Launch") > out.rindex("Done")
+ # The launch line must come after every prepare phase AND after the summary.
+ assert out.rindex("Launching") > out.rindex("Voice models")
+ assert out.rindex("Launching") > out.rindex("Personal Jarvis is ready")
+
+
+def test_dry_run_prints_the_numbered_journey(monkeypatch, capsys) -> None:
+ """Design 2026-07-09: one six-phase journey; this stage owns 4/6..6/6 in order."""
+ monkeypatch.setattr(installer, "write_managed_marker", lambda: None)
+ rc = installer.main(["--dry-run", "--headless"])
+ out = capsys.readouterr().out
+ assert rc == 0
+ assert out.index("4/6") < out.index("5/6") < out.index("6/6")
+ assert "Dependencies" in out
+ assert "Voice models" in out
+ assert "Finish & launch" in out
+
+
+def test_installer_never_prompts() -> None:
+ """Design 2026-07-09: the install is 100% prompt-free — every consent
+ question lives in the app's onboarding. A terminal prompt anywhere in the
+ install path is a regression; this static guard turns it red."""
+ sh = (REPO / "install" / "install.sh").read_text(encoding="utf-8")
+ ps1 = (REPO / "install" / "install.ps1").read_text(encoding="utf-8")
+ py = (REPO / "install" / "installer.py").read_text(encoding="utf-8")
+ for forbidden in ("read -p", "read -r"):
+ assert forbidden not in sh
+ for forbidden in ("Read-Host", "$Host.UI.Prompt"):
+ assert forbidden not in ps1
+ for forbidden in ("input(", "Confirm.ask", "Prompt.ask", "getpass"):
+ assert forbidden not in py
def test_update_run_is_detected(monkeypatch, tmp_path) -> None: