Skip to main content

Module spawn

Module spawn 

Source
Expand description

viewer spawn — start the objectiveai-viewer Tauri shell in the background.

The viewer is per-state: its lock lives at <dir>/state/<state>/locks key viewer. The viewer is a WebSocket CLIENT of the daemon’s broadcast (not a server), so the lock content is a plain readiness marker, not a URL. If the lock is already held the viewer is already up.

Modules§

request_schema
response_schema

Functions§

execute
spawn
The spawn flow itself. Idempotent and cheap when the viewer is already up: a try_read of the lock returns without spawning.