Import
Props
| Prop | Type | Default | Description |
|---|---|---|---|
provider | VoiceProvider | — | Voice provider instance. Required. |
speaker | string | undefined | Default speaker/voice ID for TTS within this subtree. |
children | ReactNode | — | Nested tasks and control-flow nodes. |
Basics
voice and voiceSpeaker on their descriptors. The engine uses these fields to invoke voice operations around agent execution.
Nesting
Innermost<Voice> in scope determines a task’s effective voice provider:
With Other Components
<Voice> composes with all existing control-flow components:
Internals
- Renders to
<smithers:voice>. - Extraction assigns
voiceandvoiceSpeakerto every descendant task descriptor via avoiceStackpattern, matching howworktreeStackandparallelStackwork. - The scheduler is unaware of voice; the engine consumes these fields at task execution time.