Expand description
Live session management — callback-driven full-duplex event handling.
Re-exports§
pub use background_agent_dispatch::BackgroundAgentDispatcher;pub use background_tool::BackgroundToolTracker;pub use background_tool::DefaultResultFormatter;pub use background_tool::ResultFormatter;pub use background_tool::ToolExecutionMode;pub use builder::LiveSessionBuilder;pub use callbacks::CallbackMode;pub use callbacks::EventCallbacks;pub use computed::ComputedRegistry;pub use computed::ComputedVar;pub use context_builder::ContextBuilder;pub use context_writer::DeferredWriter;pub use context_writer::PendingContext;pub use effect_executor::LiveEffectExecutor;pub use events::LiveEvent;pub use extractor::ExtractionTrigger;pub use extractor::FieldPromotion;pub use extractor::LlmExtractor;pub use extractor::MergePolicy;pub use extractor::TurnExtractor;pub use handle::LiveHandle;pub use input_vad::BackendInputVad;pub use input_vad::BackendVadSnapshot;pub use needs::NeedsFulfillment;pub use needs::RepairAction;pub use needs::RepairConfig;pub use persistence::FsPersistence;pub use persistence::MemoryPersistence;pub use persistence::SessionPersistence;pub use persistence::SessionSnapshot;pub use phase::InstructionModifier;pub use phase::Phase;pub use phase::PhaseInstruction;pub use phase::PhaseMachine;pub use phase::PhasePreparation;pub use phase::PhaseTransition;pub use phase::Transition;pub use phase::TransitionEvaluation;pub use phase::TransitionResult;pub use phase::TransitionTrigger;pub use reactor::EffectMode;pub use reactor::EffectPolicy;pub use reactor::LiveEffect;pub use reactor::LiveReactor;pub use reactor::Reaction;pub use reactor::ReactorEvent;pub use reactor::ReactorRule;pub use reactor::VoiceRuntimeState;pub use session_signals::SessionSignals;pub use session_signals::SessionType;pub use soft_turn::SoftTurnDetector;pub use steering::ContextDelivery;pub use steering::SteeringMode;pub use telemetry::SessionTelemetry;pub use temporal::ConsecutiveFailureDetector;pub use temporal::PatternDetector;pub use temporal::RateDetector;pub use temporal::SustainedDetector;pub use temporal::TemporalPattern;pub use temporal::TemporalRegistry;pub use temporal::TurnCountDetector;pub use transcript::ToolCallSummary;pub use transcript::TranscriptBuffer;pub use transcript::TranscriptTurn;pub use transcript::TranscriptWindow;pub use watcher::PredicateFn;pub use watcher::WatchPredicate;pub use watcher::Watcher;pub use watcher::WatcherRegistry;
Modules§
- background_
agent_ dispatch - BackgroundAgentDispatcher — fire-and-forget text agent dispatch from live callbacks.
- background_
tool - Non-blocking tool execution infrastructure.
- builder
- LiveSessionBuilder — combines SessionConfig + callbacks + tools into one setup.
- callbacks
- Typed callback registry for Live session events.
- computed
- Computed (derived) state variables with dependency-ordered evaluation.
- context_
builder - Declarative state-to-narrative context builder.
- context_
writer - Deferred context delivery — flush pending context alongside user content.
- effect_
executor - Execute typed Live reactor effects against a session writer.
- events
- Semantic events emitted by the L1 processor.
- extractor
- Turn-windowed extraction — OOB LLM structured data extraction between turns.
- handle
- LiveHandle — runtime interaction with a Live session.
- input_
vad - Backend input VAD for browser microphone PCM.
- needs
- Conversation repair protocol — tracks need fulfillment and nudges.
- persistence
- Session persistence — survive process restarts.
- phase
- Declarative conversation phase management.
- reactor
- First-class reactor vocabulary for Live sessions.
- session_
signals - Auto-tracked session-level state signals.
- soft_
turn - Soft turn detection for proactive silence awareness.
- steering
- Context injection steering — an alternative to instruction replacement.
- telemetry
- Lightweight session telemetry — atomic fast-lane counters + periodic aggregation.
- temporal
- Temporal pattern detection for live sessions.
- transcript
- Transcript accumulation buffer for Live sessions.
- watcher
- State change watchers with predicate-based triggering.
Type Aliases§
- BoxFuture
- A boxed future type used across live session modules.