protocol/socket/catalog
packages/protocol/src/socket/catalog
Purpose
Closed RPC catalogs and Effect RPC groups for first-party socket wiring. The main socket barrel exposes lifecycle classes. This module exposes the derived method/notification catalogs and group types needed by client, server-core, conformance, and generated protocol reference docs.Public surface
AgentCallableGroup
Variable
agentCallableMethods
Variable
AnyAgentCallableRpcDefinition
TypeAlias
AnyAppCallableRpcDefinition
TypeAlias
AnyAppCallbackRpcDefinition
TypeAlias
AnyNotificationDefinition
TypeAlias
AnyServerRpcDefinition
TypeAlias
AppCallableGroup
Variable
appCallableMethods
Variable
appCallbackMethods
Variable
notificationDefinitions
Variable
NotificationRpcGroup
Variable
void-result RPC on a target connection’s reverse
channel; the client serves it via RpcServer<NotificationRpcGroup>, routing
each payload into the SubscriberRegistry.
ReverseRpcGroup
Variable
appCallbackMethods) plus the notifications (NotificationRpcGroup),
built as ONE RpcGroup over the combined member tuple (not merge). The
server holds one RpcClient<ReverseRpcGroup> per connection (fires callbacks
awaiting a verdict, fires notifications fork-and-forget); the agent + app
clients stand one RpcServer<ReverseRpcGroup> on the s2c sink. An agent client
only ever receives notifications (its handlers for the three callback methods
are never invoked; an agent is not a moderator), but it serves the whole
group so the s2c engine binds one handler map.
ServerHandler
TypeAlias
ServerHandlers
TypeAlias
ServerInboundGroup
Variable
serverInboundMethods
Variable
Files
index.ts