1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! AG-UI Server SDK
//!
//! This crate provides server-side functionality for producing AG-UI protocol events.
//! It enables Rust agents to stream events to frontend applications via various
//! transports (SSE, WebSocket, etc.).
//!
//! # Overview
//!
//! The AG-UI Server SDK includes:
//!
//! - **Event Producer**: High-level API for emitting AG-UI events from agent code
//! - **Transport Layer**: SSE and WebSocket implementations for streaming events
//! - **Error Handling**: Server-specific error types
//!
//! # Usage
//!
//! ```rust,ignore
//! use ag_ui_server::{EventProducer, Result};
//! ```
//!
//! # Integration
//!
//! This crate is designed to integrate with the Syncable CLI agent, enabling
//! any frontend to connect and receive real-time agent events.
// Re-export ag-ui-core types for convenience
pub use *;
// Re-export server-specific types
pub use ;
// Re-export transport types
pub use ;
// Re-export producer types
pub use ;