You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit afa6218
Browse filesBrowse the repository at this point in the historyBrowse files
* Consolidate setup UI into tray host
Host setup UI from the tray executable and use a guarded self-restart after setup completes. Remove the separate setup UI executable from build, signing, and Inno packaging while keeping setup engine/UI code isolated as referenced projects.
Co-authored-by: Copilot <[email protected]>
* Avoid blank windows during tray-hosted setup launch
Delay setup and hub activation until initial frame content is ready, and prevent setup startup from also processing hub deep links. This avoids blank shells without placeholder loading UI.
Co-authored-by: Copilot <[email protected]>
* Fix setup wizard cancel disconnect
Remove duplicate disconnect from the hosted setup wizard cancellation path.
Co-authored-by: Copilot <[email protected]>
* Keep setup restart resilient to autostart failures
Log autostart enable failures after setup without blocking the tray restart handoff.
Co-authored-by: Copilot <[email protected]>
* Fix UI tests
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Keith Mahoney <[email protected]>
Copy file name to clipboardExpand all lines: docs/SETUP_ENGINE_REDESIGN.md
+39-34Lines changed: 39 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,21 @@
2
2
3
3
## Overview
4
4
5
-
The Setup Engine is a **standalone, config-driven system** for provisioning an OpenClaw WSL gateway from scratch. It consists of two projects:
5
+
The Setup Engine is a **config-driven system** for provisioning an OpenClaw WSL gateway from scratch. It consists of two setup projects plus the tray host:
6
6
7
-
1.**`OpenClaw.SetupEngine`** — Headless pipeline (console exe). Runs 18 steps sequentially with full JSONL logging, transaction journal, and rollback support.
8
-
2.**`OpenClaw.SetupEngine.UI`** — WinUI3 app that wraps the same pipeline with a 5-page fluent wizard UI.
7
+
1.**`OpenClaw.SetupEngine`** — Headless pipeline library. Runs 18 steps sequentially with full JSONL logging, transaction journal, and rollback support.
8
+
2.**`OpenClaw.SetupEngine.UI`** — WinUI3 setup window/pages that wrap the same pipeline with a fluent wizard UI.
9
+
3.**`OpenClaw.Tray.WinUI`** — The only shipped WinUI executable. It hosts `SetupWindow` directly and self-restarts after successful setup.
9
10
10
-
Both accept a JSON config file to customize behavior. A bundled `default-config.json` ships with each exe and provides secure defaults (loopback bind, WSL isolation, systemd enabled). All defaults can be overridden via config file or environment variables.
11
+
The bundled `default-config.json` ships with the tray executable and provides secure defaults (loopback bind, WSL isolation, systemd enabled). Defaults can be overridden via config file or environment variables.
Uses the bundled default config when no explicit `--config` is supplied.
325
+
The tray hosts `SetupWindow` from `OpenClaw.SetupEngine.UI`. After successful setup it starts a fresh tray process and exits, preserving clean post-setup state without shipping a second WinUI app.
322
326
323
327
---
324
328
@@ -328,14 +332,15 @@ Uses the bundled default config when no explicit `--config` is supplied.
0 commit comments