Install Agent Stage Stuck

Nucleic-Session: CC59896F-5A33-43D8-93E0-AD8C2B16E60E
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-08 01:41:52 -07:00
co-authored by nucleic
parent ca08d59901
commit d0eb62fc5e
@@ -264,6 +264,17 @@ extension MacVMEngine {
/// The staged bootstrap's filename on the share.
static let bootstrapScriptName = "nucleic-bootstrap.sh"
/// Surface (and VM) name for the base-build provisioning VM the key the diagnostic monitor and
/// the HID bootstrap both address.
static let baseProvisionSurfaceName = "base-provision"
/// Show or hide the diagnostic monitor window for the in-flight base build. Remembers the request
/// so it's (re)applied when the provisioning surface next attaches; a no-op when no build is live.
public func setBaseProvisionObserver(visible: Bool) async {
baseObserverRequested = visible
await surfaceHost?.setObserverVisible(name: Self.baseProvisionSurfaceName, visible: visible)
}
/// Drive the host-side surface to launch the staged bootstrap, then poll the share for its
/// `STATUS` readback. Re-attempts the launch (open Spotlight Terminal run) until a `STARTED`
/// sentinel proves the bootstrap is running (so we stop typing into a live install), then just