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.
Experimental draft ACP v2 connection returned by
AgentApp.connect(...)andClientApp.connect(...).Use this handle when you need a connection to stay open independently of a single
connectWith(...)operation.