@langwatch/scenario
    Preparing search index...

    Type Alias VoiceEvent

    VoiceEvent:
        | VoiceEventTimestampOnly
        | VoiceEventAgentStart
        | VoiceEventUserInterrupt

    One timestamped event on the voice conversation timeline.

    This is a discriminated union — narrow on event.type to access variant-specific fields like latency (agent_start_speaking).

    Common metadata fields by type:

    • user_interrupt: { adapter: "PipecatAgentAdapter", native: true }
    • user_start_speaking / user_stop_speaking (VAD fallback): { source: "vad-fallback" }