ricecoder_sessions/
lib.rs

1//! RiceCoder Sessions Module
2//!
3//! This module provides multi-session support with persistence, sharing, and background agent execution.
4//! Sessions allow developers to run multiple agents in parallel, persist session state, and share sessions with teammates.
5
6pub mod background_agent;
7pub mod context;
8pub mod error;
9pub mod history;
10pub mod manager;
11pub mod models;
12pub mod router;
13pub mod share;
14pub mod store;
15
16// Re-export commonly used types
17pub use background_agent::BackgroundAgentManager;
18pub use context::ContextManager;
19pub use error::{SessionError, SessionResult};
20pub use history::HistoryManager;
21pub use manager::SessionManager;
22pub use models::{
23    AgentStatus, BackgroundAgent, Message, MessageMetadata, MessageRole, Session, SessionContext,
24    SessionMode, SessionStatus,
25};
26pub use router::SessionRouter;
27pub use share::{SessionShare, SharePermissions, ShareService};
28pub use store::SessionStore;