ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias ProxySuccessorRequestExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Parameters of a proxy/successor request.

    A proxy sends it to forward a message to its successor, and the conductor sends it to deliver a message from the successor to the proxy. The envelope wraps one request: method and params are the wrapped request's method and params.

    The result or error of the wrapped request is returned unchanged, as the same JSON value, as the result or error of the proxy/successor request. Errors the conductor returns itself, for example because the successor has exited, are not wrapped results.

    To cancel it, the sender sends $/cancel_request with the ID of this proxy/successor request on the same connection. Cancellation is never forwarded to another hop.

    See the Proxy Chains RFD.

    type ProxySuccessorRequest = {
        method: string;
        params?: unknown;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    method: string

    Method name of the wrapped request.

    params?: unknown

    Params of the wrapped request, forwarded unchanged.

    Optional. Omitted and null are equivalent and mean the wrapped request has no params. When present, it MUST be a JSON object or array, as JSON-RPC requires. The wrapped request's own _meta stays inside these params.

    _meta?: { [key: string]: unknown } | null

    Metadata for the proxy/successor envelope itself, separate from the wrapped message's _meta. It is hop-local: the conductor does not copy it into the message it unwraps.

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility