ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias ClientHandlerContext<Params>Experimental

    Common context passed to client-side handlers.

    type ClientHandlerContext<Params> = {
        params: Params;
        signal: AbortSignal;
        agent: ClientContext;
    }

    Type Parameters

    • Params
    Index
    params: Params

    Parsed request or notification params.

    signal: AbortSignal

    AbortSignal for the current request, or the connection signal for notifications.

    Typed agent context for calling agent-side ACP methods.