Module session

Module session 

Source
Expand description

Session orchestration — the central coordination layer.

Provides SessionHandle (the public API surface), SessionEvent (events from the server), SessionCommand (commands to the server), and turn tracking.

Re-exports§

pub use errors::AuthError;
pub use errors::SessionError;
pub use errors::SetupError;
pub use errors::WebSocketError;
pub use events::recv_event;
pub use events::ResumeInfo;
pub use events::SessionCommand;
pub use events::SessionEvent;
pub use events::Turn;
pub use handle::SessionHandle;
pub use state::SessionPhase;
pub use state::SessionState;
pub use traits::SessionReader;
pub use traits::SessionWriter;

Modules§

errors
Session error types.
events
Session events, commands, and turn tracking.
handle
SessionHandle — the public API surface for a Gemini Live session.
state
Session phase finite state machine and shared session state.
traits
Session traits for testability and middleware injection.