Skip to main content

synaps_cli/events/
mod.rs

1//! Event Bus — universal message ingestion for agent sessions.
2//!
3//! Any external system (Discord, Slack, Uptime Kuma, cron, CLI, other agents)
4//! can push events into a running session. Events are formatted as system
5//! messages with source metadata, allowing the agent to respond through
6//! the appropriate channel.
7
8pub mod types;
9pub mod queue;
10pub mod format;
11pub mod ingest;
12pub mod socket;
13pub mod registry;
14
15pub use types::{Event, EventSource, EventChannel, EventSender, EventContent, Severity};
16pub use queue::EventQueue;
17pub use format::format_event_for_agent;
18pub use ingest::watch_inbox;
19pub use registry::*;