ExperimentalReadonly ExperimentalinitializedResolves with the validated initialize exchange once initialization succeeds, or rejects if initialization or the connection fails.
After a repeated initialize completes, reading this again resolves with
the latest exchange.
Readonly ExperimentalsignalAbortSignal 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.
Readonly ExperimentalclosedPromise that resolves when the connection closes.
Unless close() closed the connection, notifications received before it
closed can still reach their handlers after this resolves.
Readonly ExperimentalagentContext for calling agent-side ACP methods.
Experimental draft ACP v2 client-side connection returned by
ClientApp.connect(...).Use
agentto call agent-side ACP methods and session helpers for the lifetime of the connection.