Module sidecar

Module sidecar 

Source

Structsยง

BackendSpawnResult
State returned after successfully spawning the backend.

Functionsยง

parse_estart ๐Ÿ”’
Parse the key=value fields out of a AGENTMUXSRV-ESTART line.
resolve_backend_binary ๐Ÿ”’
Resolve the backend binary path.
spawn_backend
Spawn the agentmux-srv backend sidecar and wait for it to signal readiness via a AGENTMUXSRV-ESTART line on stderr (30s timeout).
use_launcher_endpoints
Phase B.1: when the launcher has already spawned srv (env var AGENTMUX_BACKEND_WS is set), populate state from the env vars the launcher passed and return Ok โ€” no need to spawn srv ourselves.