Expand description
High-performance web server for Agent Flow task monitoring.
Built on axum with real-time updates via Server-Sent Events (SSE) and WebSocket connections. Watches the filesystem for task changes and broadcasts updates to all connected clients.
§Features
- REST API for sessions, tasks, and features
- SSE and WebSocket endpoints for live updates
- File watcher using the
notifycrate - Optional
SQLitedatabase for feature management - Static file serving for the web UI
Re-exports§
pub use error::AppError;pub use error::AppResult;pub use state::AppState;pub use state::MetadataCache;
Modules§
Functions§
- build_
router - Build the axum router with all routes
- run_
server - Run the axum server with the given configuration