@adcp/client API Reference - v3.3.3
    Preparing search index...

    Interface TaskStatusEvent

    Task status update event - emitted on status changes

    interface TaskStatusEvent {
        operationId: string;
        agentId: string;
        contextId?: string;
        taskId?: string;
        taskType: string;
        timestamp: string;
        eventType: "status_update";
        status:
            | "completed"
            | "rejected"
            | "failed"
            | "working"
            | "input-required"
            | "submitted"
            | "canceled";
        previousStatus?: string;
        result?: any;
        error?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    operationId: string

    Client-generated operation ID - groups related work across multiple agents

    agentId: string

    Agent ID - which agent is handling this

    contextId?: string

    Context ID from server - created by agent on first response

    taskId?: string

    Task ID from server - only present for async operations

    taskType: string

    Task/tool name

    timestamp: string

    Event timestamp

    eventType: "status_update"
    status:
        | "completed"
        | "rejected"
        | "failed"
        | "working"
        | "input-required"
        | "submitted"
        | "canceled"

    New status

    previousStatus?: string

    Previous status (if applicable)

    result?: any

    Result data (for completed)

    error?: string

    Error details (for failed)