ReadonlysignalAbortSignal that aborts when the connection closes.
Unless close() closed the connection, notifications received before it
closed can still reach their handlers after the signal aborts.
ReadonlyclosedPromise that resolves when the connection closes.
Unless close() closed the connection, notifications received before it
closed can still reach their handlers after this resolves.
ReadonlyagentContext for calling agent-side ACP methods.
Client-side connection returned by
ClientApp.connect(...).Use
agentto call agent-side ACP methods and session helpers for the lifetime of the connection.