Skip to content

Interface: OracleState

Defined in: packages/aiui-oracle/src/session.ts:46

Properties

callId?

optional callId?: string

Defined in: packages/aiui-oracle/src/session.ts:66

The vendor call id (WebRTC) — the sideband hook, surfaced first-class.


parkedReason?

optional parkedReason?: "idle" | "manual"

Defined in: packages/aiui-oracle/src/session.ts:60

Why the session is parked — the banner says "you did this" or "you left it", which are different things to a human coming back to it.


playbackBlocked

playbackBlocked: boolean

Defined in: packages/aiui-oracle/src/session.ts:68

Autoplay blocked the reply element; a user gesture is the remedy.


replying

replying: boolean

Defined in: packages/aiui-oracle/src/session.ts:51

A response is in flight.


replyText

replyText: string

Defined in: packages/aiui-oracle/src/session.ts:53

The current reply's transcript, streamed (resets per response).


runningTool?

optional runningTool?: string

Defined in: packages/aiui-oracle/src/session.ts:56

The tool executing RIGHT NOW — the "acting" cue for the mind strip. (| undefined so the clear can ride a setState patch.)


speaking

speaking: boolean

Defined in: packages/aiui-oracle/src/session.ts:49

VAD says the human is talking (speech_started/stopped edges).


status

status: OracleStatus

Defined in: packages/aiui-oracle/src/session.ts:47


toolNames

toolNames: string[]

Defined in: packages/aiui-oracle/src/session.ts:61


turns

turns: number

Defined in: packages/aiui-oracle/src/session.ts:64

User turns opened this session (see PromptContext.turns) — the number a prompt resolver reads, and the one the viewer groups by.


usage

usage: UsageTotals

Defined in: packages/aiui-oracle/src/session.ts:57