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(cli): bare python -m jarvis starts the app; wizard is explicit opt-in only
Ruben Lütke3040a84dfe86
diff --git a/jarvis/__main__.py b/jarvis/__main__.pyindex ccd170e1e4..e7d130753f 100644--- a/jarvis/__main__.py+++ b/jarvis/__main__.py@@ -1,8 +1,10 @@"""Jarvis entry point.Usage:- python -m jarvis # Starts the wizard (first run) or tray app- python -m jarvis --wizard # Re-run the setup wizard+ python -m jarvis # Starts the tray app (first-run setup+ # happens in the app's onboarding)+ python -m jarvis --wizard # Terminal setup wizard (explicit opt-in,+ # e.g. SSH-only hosts)python -m jarvis --check # Show hardware analysis onlypython -m jarvis --plugins # List the plugin registrypython -m jarvis --uninstall # Remove Jarvis from this machine (folder,@@ -500,14 +502,19 @@ def main(argv: list[str] | None = None) -> int:from jarvis.ui.web import launcherreturn launcher.main(["--headless"])- if args.wizard or cfg.is_first_run():- rc = _cmd_wizard()- if rc != 0 or args.wizard:- return rc- # after setup completion: start the tray app+ if _should_run_wizard(args.wizard):+ return _cmd_wizard()return asyncio.run(_run_tray_app(debug=args.debug))+def _should_run_wizard(wizard_flag: bool) -> bool:+ """Setup lives in the desktop/browser onboarding (first-launch guide);+ the terminal wizard is an explicit opt-in for SSH-only setups. First-run+ state deliberately does NOT factor in — a fresh install boots straight+ into the app, which shows the one-time onboarding itself."""+ return wizard_flag++def _entrypoint() -> NoReturn:raise SystemExit(main())diff --git a/tests/unit/test_main_dispatch_wizard.py b/tests/unit/test_main_dispatch_wizard.pynew file mode 100644index 0000000000..889f270e84--- /dev/null+++ b/tests/unit/test_main_dispatch_wizard.py@@ -0,0 +1,21 @@+"""Bare `python -m jarvis` must start the app, never the terminal wizard.++Setup lives in the desktop/browser onboarding since 2026-07-06; the wizard is+an explicit opt-in (`--wizard`) for SSH-only hosts. If first-run state ever+feeds the wizard branch again, the installer's non-interactive contract and+the first-launch onboarding both silently break.+"""+import inspect++import jarvis.__main__ as main_mod+++def test_wizard_only_on_explicit_flag() -> None:+ assert main_mod._should_run_wizard(False) is False+ assert main_mod._should_run_wizard(True) is True+++def test_dispatch_source_no_longer_consults_first_run() -> None:+ src = inspect.getsource(main_mod)+ # The old auto-wizard trigger was `args.wizard or cfg.is_first_run()`.+ assert "args.wizard or cfg.is_first_run()" not in src