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

    Type Alias CancelSessionNotificationExperimental

    Cancels the named session's active foreground work and earlier prompts not yet inserted. It does not cancel later submissions or work in the session's latest background list.

    See protocol docs: Cancellation

    type CancelSessionNotification = {
        sessionId: SessionId;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The ID of the session whose foreground work to cancel.

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

    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