Skip to content

Interface: IntentLanes

Defined in: aiui-intent-client/src/client.ts:44

The turn/wire verbs the client drives (the lanes own the transport).

Methods

addSelection()

addSelection(tab): void

Defined in: aiui-intent-client/src/client.ts:54

Pull the page's current selection into the turn.

Parameters

tab

number

Returns

void


cancelTurn()

cancelTurn(): void

Defined in: aiui-intent-client/src/client.ts:50

Abandon the open thread (esc rung, disarm).

Returns

void


clearAllPencils()?

optional clearAllPencils(): void

Defined in: aiui-intent-client/src/client.ts:64

Disarm's stroke sweep: clear EVERY pencil surface engaged since the last sweep (a mid-turn tab switch leaves strokes on more than one tab). Disarm is hard (spec disarmed-is-hard clears the pencil MODE); this is the strokes' half of that hardness (owner, 2026-07-17). Optional: hosts that never engage a pencil (tests' fakes) omit it.

Returns

void


clearPencil()

clearPencil(tab): void

Defined in: aiui-intent-client/src/client.ts:56

Clear the pencil surface.

Parameters

tab

number

Returns

void


openTurn()

openTurn(): void

Defined in: aiui-intent-client/src/client.ts:46

Open the intent thread (⌘B entered a turn).

Returns

void


sendTurn()

sendTurn(): void

Defined in: aiui-intent-client/src/client.ts:48

Commit and close the open thread (Enter).

Returns

void


setArmed()?

optional setArmed(on): void

Defined in: aiui-intent-client/src/client.ts:74

The seat's armed-ness changed (any route). Optional: hosts whose wire engine tracks armed-ness implement it (the wire Engine gates openTurn and talk on it, and its setArmed(false) is its own full abandon).

Parameters

on

boolean

Returns

void


setMicMuted()

setMicMuted(muted): void

Defined in: aiui-intent-client/src/client.ts:68

Parameters

muted

boolean

Returns

void


setOracleMic()?

optional setOracleMic(on): void

Defined in: aiui-intent-client/src/client.ts:90

Gate the ORACLE's mic (O3a) — handle.setMicEnabled under the session's park/resume. Called on the edge of the derived conjunction in runVerbs; optional, like every oracle hook.

Parameters

on

boolean

Returns

void


setPaused()?

optional setPaused(paused): void

Defined in: aiui-intent-client/src/client.ts:84

The paused region's edge (⏸ / b — owner, 2026-07-30), including the exit edge (a cancel/send clears paused via the exclude in the same commit that closes the thread — the lane resets its gate then, brackets nothing, and skips the resume compare: the close is the outer bracket). Optional: hosts with a pipeline bracket the stream (turn-pause/turn-resume) and run the resume-boundary compare (lanes/verbs.ts).

Parameters

paused

boolean

Returns

void


startTalk()

startTalk(mode): void

Defined in: aiui-intent-client/src/client.ts:66

Talk window lifecycle (mode: hold | handsFree).

Parameters

mode

string

Returns

void


stopTalk()

stopTalk(): void

Defined in: aiui-intent-client/src/client.ts:67

Returns

void


takeShot()

takeShot(tab): void

Defined in: aiui-intent-client/src/client.ts:52

One manual shot into the turn (flash on the page; sampled frames never flash).

Parameters

tab

number

Returns

void