Factory function that creates a Client implementation for the
underlying ClientSideConnection.
Receives the Agent proxy (so the client can call back into the agent
if needed) and must return a Client that handles agent-to-client
requests such as requestPermission, sessionUpdate, file I/O,
terminal management, and elicitation.
Consider a composition-based approach (e.g. accepting partial
overrides that merge with defaults) so callers don't have to
reimplement the entire Client interface.
Factory function that creates a Client implementation for the underlying
ClientSideConnection.Receives the
Agentproxy (so the client can call back into the agent if needed) and must return aClientthat handles agent-to-client requests such asrequestPermission,sessionUpdate, file I/O, terminal management, and elicitation.