Agent Client Protocol - v1.3.0
    Preparing search index...

    Type Alias Stream

    Stream interface for stable ACP v1 connections.

    This type powers bidirectional communication for an ACP connection using individual JSON-RPC messages. The experimental v2 entry point exposes the batch-capable stream surface.

    The most common way to create a Stream is using ndJsonStream.

    type Stream = {
        writable: WritableStream<AnyMessage>;
        readable: ReadableStream<AnyMessage>;
    }
    Index
    writable: WritableStream<AnyMessage>

    Outgoing JSON-RPC messages written by this side of the connection.

    readable: ReadableStream<AnyMessage>

    Incoming JSON-RPC messages read by this side of the connection.