Repository navigation
Welcome Wizard Internals
The wizard is the cockpit opened with --welcome (Welcome.tsx). What the user sees is described in the Welcome Wizard page; this is how it works.
/etc/xdg/autostart/agentux-welcome.desktop runs agentux-setup autostart, which exits for system accounts, on the live ISO, or when ~/.local/state/agentux/welcome.done exists. Otherwise it waits for the desktop's own first-login setup (COSMIC Initial Setup; wait-desktop-setup) and execs agentux-cockpit --welcome. Finishing or skipping writes the marker (finish); reset removes it.
profiles.ts defines the profiles — Workstation, Agent Node, Command Server, Executive, Complete, Custom — each with what it is for, who uses it, what runs on the machine, how it works with the others and what it needs, plus which later steps apply. Welcome.tsx builds the step list from the chosen profile.
-
Profile (
ProfileStep): moving on runsagentux-setup profile <id>, which records the choice (agentux profile); nothing is downloaded. -
Command (
RoleStep), for roles that use AgentUX Command: Workstations and Agent Nodes paste an enrollment token (auxe1_…) and the server URL;agentux-setup node enrollpasses the token on stdin toaux node enrolland startsagentux-gateway. Command Servers get a checklist; Executives, which server to follow. -
Agents (
AgentsStep): the status of the CLIs agentux-os's first-login service installs (agentux-setup status), Sign in per CLI (signin), and a retry of the first-login install (retry-first-login). -
Tools & SDKs (
ToolsStep): the catalog; installs run as one batch in a transient user unit (start), with states and logs under~/.local/state/agentux/setup/.planprints the exact commands. -
Git & SSH (
GitStep):git,ssh-key,signin github. -
Done (
DoneStep): a summary and the penguin tour.
Steps 3–5 appear only for profiles that run agents on a desktop.
npm run dev, then http://localhost:1420/?view=welcome runs the wizard on MockSetupClient (&speed=3 hurries it, &fail=dbeaver,first-login shows failures). Welcome.test.tsx covers the flow per profile.