Skip to main content

agent_procs/daemon/
mod.rs

1//! Background daemon: process lifecycle, output capture, and reverse proxy.
2//!
3//! Each session runs a single daemon process that listens on a Unix domain
4//! socket.  The daemon manages child processes ([`process_manager`]),
5//! captures their stdout/stderr to log files ([`log_writer`]), evaluates
6//! wait conditions ([`wait_engine`]), and optionally runs a subdomain-based
7//! reverse proxy ([`proxy`]).
8//!
9//! The daemon is spawned automatically by the CLI on first use (see
10//! [`spawn`]) and exits when a `Shutdown` request is received.
11
12pub mod actor;
13pub mod log_index;
14pub mod log_writer;
15pub mod port_allocator;
16pub mod process_manager;
17pub mod proxy;
18pub mod server;
19pub mod spawn;
20pub mod wait_engine;
21pub mod watcher;