Skip to main content

Module serve

Module serve 

Source
Expand description

lev serve - REST + WebSocket API server.

Exposes agent management, blueprint CRUD, and live event streaming over HTTP. No web UI - the frontend lives in a separate repo.

Structs§

AppState
What every request handler is given: the config, the event fan-out, and the control-socket client that reaches the daemon.
ServeArgs
Arguments for lev serve.

Enums§

ServerEvent
Events broadcast to WebSocket subscribers.

Functions§

execute
Run lev serve: expose the HTTP + WebSocket API over the daemon.