Skip to content

Interface: ClientMeta

Defined in: aiui-intent-runtime/src/instrumentation.ts:101

The client context sent on a connection's hello — a mirror of the channel's HelloMeta. Kept in step by protocol.test.ts, which asserts every ClientMeta is assignable to HelloMeta and round-trips a collectClientMeta()-shaped value through the channel's frame decoder.

Properties

actor?

optional actor?: string

Defined in: aiui-intent-runtime/src/instrumentation.ts:117

Who is driving the page: "human" (the default), "agent", or an explicit label. Trace provenance — the channel stamps it on the trace manifest so agent-driven UI testing is distinguishable from a person in the trace list. Always an explicit opt-in, never a heuristic — see collectClientMeta for the rules and ACTOR_STORAGE_KEY for the per-tab toggle.


intent?

optional intent?: Record<string, unknown>

Defined in: aiui-intent-runtime/src/instrumentation.ts:109

The intent-v1 client's effective IntentPipelineConfig (JSON-serializable view), so a lowering trace records the whole configuration the events were produced under. Opaque here — the host supplies it, the channel reads it.


source?

optional source?: object

Defined in: aiui-intent-runtime/src/instrumentation.ts:103

root?

optional root?: string


tab?

optional tab?: Partial<Pick<TabRecord, "url" | "title" | "chromeTabId" | "windowId" | "tabIndex" | "targetId">>

Defined in: aiui-intent-runtime/src/instrumentation.ts:102