Variable: SystemChannelSchemas
Makaio Framework / bus-core / SystemChannelSchemas
Variable: SystemChannelSchemas
Section titled “Variable: SystemChannelSchemas”
constSystemChannelSchemas:object
Defined in: ../../../packages/bus-core/src/channel/system-namespace.ts:13
Schema for the system.channel.open handshake request.
This is the only public-bus subject the channel system introduces.
The handshake includes a capability token that acts as a bearer
credential. Public keys are not secret, but the token grants channel
access and should only travel over trusted transports. Callers should
prefer transports: [] for same-process channels.
Type Declaration
Section titled “Type Declaration”channel.open
Section titled “channel.open”channel.open:
object
channel.open.request
Section titled “channel.open.request”request:
ZodObject<{clientPubKey:ZodString;endpoint:ZodString;token:ZodString;transports:ZodArray<ZodString>; },$strip>
channel.open.response
Section titled “channel.open.response”response:
ZodObject<{channelId:ZodString;endpointPubKey:ZodString; },$strip>