ralph_proto/
lib.rs

1//! # ralph-proto
2//!
3//! Shared types, error definitions, and traits for the Ralph Orchestrator framework.
4//!
5//! This crate provides the foundational abstractions used across all Ralph crates,
6//! including:
7//! - Event and `EventBus` types for pub/sub messaging
8//! - Hat definitions for agent personas
9//! - Topic matching for event routing
10//! - Common error types
11
12mod error;
13mod event;
14mod event_bus;
15mod hat;
16mod topic;
17mod ux_event;
18
19pub use error::{Error, Result};
20pub use event::Event;
21pub use event_bus::EventBus;
22pub use hat::{Hat, HatId};
23pub use topic::Topic;
24pub use ux_event::{
25    FrameCapture, TerminalColorMode, TerminalResize, TerminalWrite, TuiFrame, UxEvent,
26};