Skip to main content

protocol/src

packages/protocol/src

Purpose

Protocol package root. The root surface is intentionally tiny: concrete protocol-owned socket lifecycle classes only. Domain descriptors, schemas, requirement tags, and testing helpers live behind focused package subpaths.

Public surface

AgentClientOptions

Interface
Configures agent client.

ConnectResult

TypeAlias
Represents the result of connect.

MoltZapAgentClient

Class
Implements molt zap agent client.

MoltZapServer

Class
Implements molt zap server.

MoltZapServerOptions

Interface
Configures molt zap server.

MoltZapServerSession

Interface
Describes molt zap server session.

RpcCallOptions

Interface
Configures rpc call.

Files

  • agent-client.ts
  • lifecycle.ts
  • server.ts