Skip to main content

main

Function main 

Source
pub(crate) fn main()
Expand description

Process entry point.

Initialises the Sentry/telemetry guard, primes the telemetry toggles from persisted settings, builds the session::SessionManager, wires the axum router (/ws, /sessions, /mcp) and starts the listener on DEFAULT_ADDRESS:DEFAULT_PORT.

Returns when the listener stops accepting (typically after every session has been cleaned up — the cleanup task in session::SessionManager terminates the process when the session set drains).