Simple factory functions for protocol-specific clients.
Both factories accept a transport argument that flows through to the
size-cap surface so callers reaching the factory exports honor the same
maxResponseBytes contract as ProtocolClient.callTool. Without it,
the factories would silently bypass the cap, which the public API
(TransportOptions) implies they honor.
Simple factory functions for protocol-specific clients.
Both factories accept a
transportargument that flows through to the size-cap surface so callers reaching the factory exports honor the samemaxResponseBytescontract asProtocolClient.callTool. Without it, the factories would silently bypass the cap, which the public API (TransportOptions) implies they honor.