Skip to content

Type Alias: HostToRelay

HostToRelay = { channelPort?: number; channelTag?: string; label: string; name?: string; project?: string; type: "register"; } | BarState

Defined in: protocol.ts:142

browser host → relay.

Union Members

Type Literal

{ channelPort?: number; channelTag?: string; label: string; name?: string; project?: string; type: "register"; }

channelPort?

optional channelPort?: number

The aiui channel web-backend port the host client runs against (the intent client's bar host announces its own). UNWIRED downstream today: the production barSidecar mount passes no resolveChannel, so the relay drops the port instead of resolving it against the registry — the enrichment fires only when a backend is constructed with a resolver (a multi-session deployment's affordance).

channelTag?

optional channelTag?: string

label

label: string

name?

optional name?: string

Human-visible session name; re-registering with a new one renames live.

project?

optional project?: string

type

type: "register"


BarState