ExperimentalReadonly ExperimentalinitializedResolves with the validated initialize exchange once initialization succeeds, or rejects if initialization or the connection fails.
Readonly ExperimentalsignalAbortSignal that aborts when the connection closes.
Readonly ExperimentalclosedPromise that resolves when the connection closes.
Readonly ExperimentalclientContext for calling client-side ACP methods.
Experimental draft ACP v2 agent-side connection returned by
AgentApp.connect(...).Use
clientto call client-side ACP methods for the lifetime of the connection.