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

    Type Alias AgentBatchEntry<Method>Experimental

    AgentBatchEntry:
        | {
            [Method in AgentRequestMethod]: BatchRequest<
                AgentRequestParamsByMethod[Method],
                AgentRequestResponsesByMethod[Method],
                unknown,
            > & { method: Method }
        }[AgentRequestMethod]
        | {
            [Method in AgentNotificationMethod]: BatchNotification<
                AgentNotificationParamsByMethod[Method],
            > & { method: Method }
        }[AgentNotificationMethod]
        | BatchNotification<CancelRequestNotification> & {
            method: typeof cancel_request;
        }
        | BatchRequest<unknown, never, unknown> & {
            method: ExtensionMethod | UnrecognizedMethod<Method>;
        }
        | BatchNotification<unknown> & {
            method: ExtensionMethod | UnrecognizedMethod<Method>;
        }

    One batch entry sent to an ACP v2 agent.

    Type Parameters

    • Method extends string = string