Skip to main content

Module daemon

Module daemon 

Source
Expand description

lev daemon - run and manage the shared-world daemon.

With no action, lev daemon runs the daemon in the foreground: it binds the control socket, drives the one shared world, and (on restart) reloads any agents persisted under the runs directory. That execution - binding a real socket, spawning a detached process, polling for readiness - is real I/O routed through crate::dispatch::RiskyExecutors and implemented by the binary (main.rs). This module defines the arguments plus the testable request/formatting cores the binary composes.

Structs§

DaemonArgs
Arguments for lev daemon.

Enums§

DaemonAction
Lifecycle actions for the shared-world daemon.

Functions§

format_status
The lev daemon status line for a running daemon hosting run_count agents.
send_shutdown
Ask the daemon to shut down and report the outcome.