Skip to content

Documentation / @agentick/client-multiplexer / BridgeMessage

Type Alias: BridgeMessage ​

BridgeMessage = { tabId: string; type: "leader:collecting_subscriptions"; } | { tabId: string; type: "leader:transport_ready"; } | { tabId: string; type: "ping:leader"; } | { tabId: string; type: "pong:leader"; } | { channels: string[]; sessions: string[]; tabId: string; type: "subscriptions:announce"; } | { input: SendInput; requestId: string; sessionId: string; tabId: string; type: "request:send"; } | { requestId: string; sessionId: string; tabId: string; type: "request:subscribe"; } | { requestId: string; sessionId: string; tabId: string; type: "request:unsubscribe"; } | { reason?: string; requestId: string; sessionId: string; tabId: string; type: "request:abort"; } | { requestId: string; sessionId: string; tabId: string; type: "request:close"; } | { requestId: string; result: ToolConfirmationResponse; sessionId: string; tabId: string; toolUseId: string; type: "request:toolResult"; } | { channel: string; requestId: string; sessionId: string; tabId: string; type: "request:channelSubscribe"; } | { channel: string; event: ChannelEvent; requestId: string; sessionId: string; tabId: string; type: "request:channelPublish"; } | { ok: true; requestId: string; result?: unknown; type: "response"; } | { error: string; ok: false; requestId: string; type: "response"; } | { event: TransportEventData; type: "event"; } | { event: TransportEventData; requestId: string; type: "stream:event"; } | { requestId: string; type: "stream:end"; } | { error: string; requestId: string; type: "stream:error"; }

Defined in: client-multiplexer/src/broadcast-bridge.ts:15

Released under the ISC License.