Skip to content

Interface: ClaimLaneOptions

Defined in: aiui-intent-client/src/claims.ts:21

Lane hooks: the REAL operations behind two claims (the fake host's transport assertions remain the default, which is what harness tests drive).

Properties

onGrantRejected?

optional onGrantRejected?: (tab) => void

Defined in: aiui-intent-client/src/claims.ts:49

Chrome refused a capture with the invocation-gate error for a tab the grant ledger believed granted (it navigated or closed since its gesture). The client prunes the ledger here (owner, 2026-08-03) — the claim still fails (status renders), but the NEXT derivation is honest.

Parameters

tab

number

Returns

void


onPencilEngaged?

optional onPencilEngaged?: (tab) => void

Defined in: aiui-intent-client/src/claims.ts:26

A tab's pencil surface got engaged — lanes track the set so disarm can sweep-clear strokes on every tab that has any (client.ts runVerbs).

Parameters

tab

number

Returns

void


oracle?

optional oracle?: object

Defined in: aiui-intent-client/src/claims.ts:39

The real oracle session (O3a): start connects it (mint → WebRTC → session.update), stop closes it. Deliberately shaped like videoSampler — the desire is the mode region, the reconciler owns the lifecycle, and its per-claim status IS the connecting/live/failed truth the pill renders. Hosts without an oracle (tests' fakes, a keyless session) omit it and the claim degrades to a no-op assertion.

start

start: () => Promise<void>

Returns

Promise<void>

stop

stop: () => void

Returns

void


pencilFadeSec?

optional pencilFadeSec?: () => number

Defined in: aiui-intent-client/src/claims.ts:23

Vanishing lifetime for the pencil assertion (0 = persist).

Returns

number


videoSampler?

optional videoSampler?: object

Defined in: aiui-intent-client/src/claims.ts:28

The real frame pump: start sampling for a desire, return the stop.

start

start: (desire) => Promise<() => void>

Parameters
desire
mode

string

tab

number

Returns

Promise<() => void>