1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! # ironclad-api
//!
//! HTTP routes, WebSocket push, authentication middleware, rate limiting,
//! dashboard serving, config runtime, cron runtime, and abuse protection
//! for the Ironclad agent runtime.
//!
//! ## Key Types
//!
//! - [`AppState`] -- Shared application state passed to all route handlers
//! - [`PersonalityState`] -- Loaded personality files (OS, firmware, identity)
//! - [`EventBus`] -- Tokio broadcast channel for WebSocket event push
//!
//! ## Modules
//!
//! - `api` -- REST API mount point, `build_router()`, route modules
//! - `auth` -- API key authentication middleware layer
//! - `rate_limit` -- Global + per-IP rate limiting (sliding window)
//! - `dashboard` -- Embedded SPA serving (compile-time or filesystem)
//! - `ws` -- WebSocket upgrade and event broadcasting
//! - `config_runtime` -- Runtime config parsing, hot-reload, and apply
//! - `cron_runtime` -- Background cron task execution
//! - `abuse` -- Abuse detection and protection
pub use ;
pub use ;
pub use ;
pub use TicketStore;