vm-session.ps1
Source file scripts/vm-session.ps1. This page is generated from the file’s own help comment when the site is built.
Help text
Section titled “Help text”Opens Flare in an idle Flare VM and keeps it open, so something can drive it like a user: run commands, read the pane's state,take screenshots. One elevated process owns the VM and answers on 127.0.0.1 until it is stopped. It returns once Flare is ready.
pwsh scripts/vm-session.ps1 -PluginDir <plugin checkout> start (waits for an idle VM, builds, installs, starts Flare) pwsh scripts/vm-do.ps1 -Command "(Get-E2EState).pane.panel.status" pwsh scripts/vm-do.ps1 -Command "Shot s1" -Shot pwsh scripts/vm-do.ps1 -Stop stop and clean the VMParameters
Section titled “Parameters”-PluginDir-Work-Port-Ai-RunDir-RunId-TraceId-ParentSpan-StartTimeoutMin-Elevated