Skip to content

Interface: TalkDeps

Defined in: aiui-intent-runtime/src/talk-lanes.ts:34

What the talk lanes need from their composer (the host's lanes).

Properties

bargeIn

bargeIn: () => void

Defined in: aiui-intent-runtime/src/talk-lanes.ts:53

SpeechPlayer.bargeIn — talking over a playing ack/reply cuts it off. The player is created after this module in the composer; talk only starts on user interaction post-mount, so a deferred thunk is safe.

Returns

void


config

config: () => IntentPipelineConfig

Defined in: aiui-intent-runtime/src/talk-lanes.ts:41

The live effective config. It is mutated in place by the host's live-config applier, so it must be read through this thunk at use time — never destructured or copied at construction.

Returns

IntentPipelineConfig


engine

engine: Engine

Defined in: aiui-intent-runtime/src/talk-lanes.ts:35


flushOutbox

flushOutbox: (known?) => Promise<void>

Defined in: aiui-intent-runtime/src/talk-lanes.ts:57

wire.flushOutbox — talk-end must reach the server past the debounce.

Parameters

known?

IntentThread

Returns

Promise<void>


getThread

getThread: () => Promise<IntentThread | undefined>

Defined in: aiui-intent-runtime/src/talk-lanes.ts:55

wire.getThread — undefined means degraded (no channel).

Returns

Promise<IntentThread | undefined>


pcmSource

pcmSource: () => PcmSource

Defined in: aiui-intent-runtime/src/talk-lanes.ts:43

Build the realtime PCM capture source (the composer resolves the test seam).

Returns

PcmSource


reportError

reportError: (error) => void

Defined in: aiui-intent-runtime/src/talk-lanes.ts:47

ctx.reportError — the dismissible, deduping toast.

Parameters

error

IntentErrorInput

Returns

void


setStatus

setStatus: (text) => void

Defined in: aiui-intent-runtime/src/talk-lanes.ts:45

ctx.setStatus — the panel-footer status line.

Parameters

text

string

Returns

void


uploadAudio

uploadAudio: (segment, seq, bytes) => Promise<void>

Defined in: aiui-intent-runtime/src/talk-lanes.ts:59

wire.uploadAudio — one streamed PCM frame of a talk segment.

Parameters

segment

number

seq

number

bytes

Uint8Array

Returns

Promise<void>