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

    Function ndJsonStream

    • Creates a stable ACP v1 stream from newline-delimited JSON streams.

      Parameters

      • output: WritableStream<Uint8Array<ArrayBufferLike>>

        The writable stream to send encoded messages to

      • input: ReadableStream<Uint8Array<ArrayBufferLike>>

        The readable stream to receive encoded messages from

      Returns Stream

      A stream for bidirectional ACP v1 communication