Runtime Modes
The top-level exports support three ways to attach to the runtime:
Screen()orScreen.start()uses auto mode.Screen.connect()attaches to an already-running runtime.Screen.spawn()forces a new runtime process.
The same pattern exists on the lower-level Sikuli constructor:
Sikuli.launch()/Sikuli()Sikuli.connect()Sikuli.spawn()
Auto Mode
Auto mode tries to connect first and spawns a runtime only when that probe fails. Use it for the default script flow when you do not want to manage server lifecycle manually.
Screen And Region Surface
The current screen-facing wrapper supports:
findexistswaitwaitVanishclickhoverregion(x, y, w, h)for bounded searches
Dashboard And Monitor
Start the runtime from the package path:
yarn dlx @sikuligo/sikuli-go -listen
Use the standalone monitor:
sikuli-go-monitor
Default admin URLs:
http://127.0.0.1:8080/dashboardhttp://127.0.0.1:8080/healthzhttp://127.0.0.1:8080/metricshttp://127.0.0.1:8080/snapshot
Diagnostics
The current Node package flow also includes a diagnostics command:
npx @sikuligo/sikuli-go doctor
Use it when startup or binary resolution is failing and you want a quick environment check.