Skip to main content

ensure_caliband

Function ensure_caliband 

Source
pub async fn ensure_caliband(
    workspace_root: &Path,
    env: &DiscoveryEnv,
    cfg: &EnsureConfig,
) -> Result<CalibandClient>
Expand description

Ensure a caliband daemon is reachable for workspace_root, returning a client bound to its control socket. If none is reachable and autostart is set, spawns the daemon and waits for the socket.