Skip to content

Interface: WireDeps

Defined in: aiui-intent-runtime/src/wire.ts:40

What the wire needs from its composer (the host's lanes).

Properties

cancelSpeech

cancelSpeech: (id) => void

Defined in: aiui-intent-runtime/src/wire.ts:65

Stop playing stream id (a server-relayed speech-cancel).

Parameters

id

string

Returns

void


clearSelection

clearSelection: () => void

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

ctx.clearSelection — a selection is per-submission; the send consumes it.

Returns

void


config

config: () => IntentPipelineConfig

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

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/wire.ts:41


enqueueSpeech

enqueueSpeech: (clip) => void

Defined in: aiui-intent-runtime/src/wire.ts:61

Play a server-pushed speech clip (the SpeechPlayer's enqueue). The player is created after this module in the composer; pushes only arrive post-mount, so a deferred thunk is safe.

Parameters

clip

SpeechClip

Returns

void


feedSpeechChunk

feedSpeechChunk: (chunk) => void

Defined in: aiui-intent-runtime/src/wire.ts:63

Schedule one streamed reply chunk (the SpeechPlayer's feedChunk).

Parameters

chunk

SpeechChunk

Returns

void


openThread

openThread: (options) => Promise<IntentThread>

Defined in: aiui-intent-runtime/src/wire.ts:49

ctx.openThread — a fresh connection + thread in this modality's format.

Parameters

options

OpenThreadOptions

Returns

Promise<IntentThread>


reportError

reportError: (error) => void

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

ctx.reportError — the dismissible, deduping toast.

Parameters

error

IntentErrorInput

Returns

void


setStatus

setStatus: (text) => void

Defined in: aiui-intent-runtime/src/wire.ts:51

ctx.setStatus — the panel-footer status line.

Parameters

text

string

Returns

void