Skip to main content

Module events

Module events 

Source
Expand description

Event Bus — universal message ingestion for agent sessions.

Any external system (Discord, Slack, Uptime Kuma, cron, CLI, other agents) can push events into a running session. Events are formatted as system messages with source metadata, allowing the agent to respond through the appropriate channel.

Re-exports§

pub use types::Event;
pub use types::EventSource;
pub use types::EventChannel;
pub use types::EventSender;
pub use types::EventContent;
pub use types::Severity;
pub use queue::EventQueue;
pub use format::format_event_for_agent;
pub use ingest::watch_inbox;
pub use registry::*;

Modules§

format
ingest
Inbox watcher — uses inotify (via the notify crate) to instantly react to dropped event JSON files in the inbox directory. Falls back to polling.
queue
registry
socket
types