Skip to content

Interface: SessionPeerInfo

Defined in: packages/aiui-claude-channel/src/session-hub.ts:40

What a connected view tells the hub about itself (rides the hello).

Properties

clientId

clientId: string

Defined in: packages/aiui-claude-channel/src/session-hub.ts:42

Server-assigned connection id.


label?

optional label?: string

Defined in: packages/aiui-claude-channel/src/session-hub.ts:46

A short human label for the peer list (e.g. the page title).


role?

optional role?: string

Defined in: packages/aiui-claude-channel/src/session-hub.ts:44

What kind of view this is: intent-client, vscode, … (free-form).


tab?

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

Defined in: packages/aiui-claude-channel/src/session-hub.ts:50

The browser tab the view lives in (correlation hints; see TabInfo).


url?

optional url?: string

Defined in: packages/aiui-claude-channel/src/session-hub.ts:48

The view's live location.href.