Add Tool For VM Support

Nucleic-Session: 44060009-FEE4-4E88-AD0B-F92AF480125C
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-08 05:02:26 -07:00
co-authored by nucleic
parent b25192c5d1
commit 4883b55b9b
+8
View File
@@ -1727,6 +1727,14 @@ public final class AppStore: ConflictArbiter {
return await macVMManager.captureScreen(name: name)
}
/// Show or hide the **operator-assist viewer** for the named session VM the live, interactive
/// guest window the user drives by hand when the agent calls `mac_vm_request_operator`. `visible:
/// true` brings it on-screen (over which the walkthrough popup floats); `false` returns it
/// off-screen once the hand-off is done. No-op when the VM service isn't wired.
public func presentMacVMOperatorViewer(name: String, visible: Bool) async {
await macVMManager?.presentOperatorAssist(name: name, visible: visible)
}
/// Kick off the (long, one-time) golden base-image build: download + install macOS, create the
/// key-authorized `agent` account (macOS 27 declarative first boot), then provision the dev
/// toolchain and when computer use is enabled the native `NucleicVMAgent` over SSH. Reentrant: