Interface: Talk
Defined in: aiui-intent-runtime/src/talk-lanes.ts:63
The talk surface the host (dispatch, HUD meter) drives.
Methods
dispose()
dispose():
void
Defined in: aiui-intent-runtime/src/talk-lanes.ts:93
Unmount: release both capture lanes.
Returns
void
level()
level():
number
Defined in: aiui-intent-runtime/src/talk-lanes.ts:65
The current mic level (whichever lane is live) — feeds the HUD meter.
Returns
number
listening()
listening():
boolean
Defined in: aiui-intent-runtime/src/talk-lanes.ts:75
Whether the main loop still wants the mic.
Returns
boolean
micMuted()
micMuted():
boolean
Defined in: aiui-intent-runtime/src/talk-lanes.ts:71
Whether the mic is muted (M). The talk window is still open and the segment still running — the microphone is just deaf. Always false at the start of a window.
Returns
boolean
releaseCapture()
releaseCapture():
Promise<void>
Defined in: aiui-intent-runtime/src/talk-lanes.ts:91
The engine ended the talk itself — send/Esc/disarm closed the thread out from under an open window, so the keymap's talk-end never fired. Release capture so nothing outlives the thread. Idempotent, and deliberately independent of engine.talking (the engine already ended its side). Pure teardown: the PCM lane's audio has already streamed (the server commits it on the flushed talk-end), and the REST lane's partial recording is dropped — the thread it would have ridden is closing.
Returns
Promise<void>
setMicMuted()
setMicMuted(
muted):void
Defined in: aiui-intent-runtime/src/talk-lanes.ts:73
M: mute/unmute the open window's mic, whichever lane is carrying it.
Parameters
muted
boolean
Returns
void
startMainListening()
startMainListening():
void
Defined in: aiui-intent-runtime/src/talk-lanes.ts:77
Space pressed: start the main listening loop.
Returns
void
stopAllListening()
stopAllListening():
void
Defined in: aiui-intent-runtime/src/talk-lanes.ts:81
Window blur: away = mic off (the window commits, never discards).
Returns
void
stopMainListening()
stopMainListening():
void
Defined in: aiui-intent-runtime/src/talk-lanes.ts:79
Space released: stop wanting to listen, then end the segment.
Returns
void