The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
//! Notification domain.
//!
//! Two complementary sub-systems live here:
//!
//! **Core-bridge** (`bus`): Subscribes to selected
//! [`DomainEvent`](crate::core::events::DomainEvent) variants (cron
//! completions, webhook processed, sub-agent completions) and republishes them
//! as `CoreNotificationEvent` payloads on a broadcast channel consumed by the
//! Socket.IO bridge. The frontend listens on `core_notification` and funnels
//! the payload into the in-app notification center.
//!
//! **Integration notifications** (`rpc` / `store` / `schemas`): Captures
//! notifications from embedded webview integrations (WhatsApp Web, Gmail,
//! Slack, …), runs them through the triage LLM pipeline, and stores them in a
//! unified notification center accessible via the RPC surface.
//!
//! ## Module layout
//!
//! - [`bus`] — `NotificationBridgeSubscriber`, publish/subscribe helpers
//! - [`types`] — `CoreNotificationEvent`, `IntegrationNotification`, request/response types
//! - [`store`] — persistence on the storage backend
//! - [`rpc`] — Async RPC handler functions: ingest, list, mark_read
//! - [`schemas`] — Controller schema definitions and registered handler wrappers
pub mod bus;
pub mod rpc;
pub mod schemas;
mod storage_schema;
pub mod store;
mod store_documents;
#[cfg(feature = "legacy-import")]
mod store_import;
pub(crate) use storage_schema::{collection_specs, upgrade_records};
#[cfg(feature = "legacy-import")]
pub(crate) use store_documents::import_source;
pub mod types;
pub use bus::{
publish_core_notification, register_notification_bridge_subscriber,
subscribe_core_notifications, NotificationBridgeSubscriber,
};
pub use schemas::{
all_controller_schemas as all_notifications_controller_schemas,
all_registered_controllers as all_notifications_registered_controllers,
};
pub use types::*;