#541

Add a USB setup wizard for Poki

OpenJosssphZhouwants to merge intofrom

Summary of changes

Poki Setup guides the first install over USB. The macOS and Windows windows use the same device state for trust, Developer Mode, signing, installation, and first launch. Reconnecting the cable resumes from the device state.

The wizard uses the existing developer disk image mount from #509. Poki can start its own automation on an image already mounted over USB. The existing connection remains available for later mounts and signing renewal.

Motivation

People can install Poki from the desktop window with a USB cable and a free Apple Account.

Test plan

  • Ran the desktop wizard and network-interface regressions, the launcher loopback tests, and the macOS localization tests.
  • Built the Windows frontend and checked the Tauri app, bridge, and CLI on macOS.
  • Ran the compiled bridge with multiple USB devices. It required a choice and rejected a mount request for an unavailable device.
  • Clicked through the browser preview with simulated device states. Physical installation, Apple sign-in, and the Windows driver check on Windows still need hardware verification.

Screenshots or screen recording

The review handoff contains browser-preview captures of the driver prompt, Developer Mode, a failed install, UI Automation, and completion. The captures use simulated device data.

AI assistance: Codex. I have reviewed and understand these changes.

  • I removed passcodes, tokens, and private screen contents from this PR.
  • I release this contribution under the AGPL-3.0-only license.