Skip to content

Function: collectClientMeta()

collectClientMeta(options?): ClientMeta | undefined

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

Collect what this page knows about itself for a connection's hello: live URL/title, the plugin-seeded source root, and the actor label (who is driving the page). Degrades to whatever subset exists — returns undefined outside a DOM. (Tab identity — chromeTabId and friends — is supplied by the HOST when it has one: the MV3 extension asks chrome.tabs, the CDP tier asks the browser; a bare page cannot know it.)

Parameters

options?

CollectClientMetaOptions = {}

Returns

ClientMeta | undefined