keel_events/lib.rs
1//! keel-events — Core event system for AI agent desktop apps.
2//!
3//! All inputs (messages, heartbeats, cron triggers, hooks, webhooks,
4//! agent-to-agent messages) flow through a single ordered queue.
5//! Handlers register by input type and receive dispatched events.
6
7pub mod dispatcher;
8pub mod handler;
9pub mod queue;
10pub mod types;
11
12// Re-export key types for convenience.
13pub use dispatcher::EventDispatcher;
14pub use handler::{HandlerResponse, InputHandler};
15pub use queue::{EventQueue, EventQueueHandle};
16pub use types::{HookEvent, InputSource, InputType, KeelInput};