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

    Interface TaskState

    Internal task state for tracking execution

    interface TaskState {
        taskId: string;
        taskName: string;
        params: any;
        status: TaskStatus;
        messages: Message[];
        pendingInput?: InputRequest;
        startTime: number;
        attempt: number;
        maxAttempts: number;
        options: TaskOptions;
        agent: { id: string; name: string; protocol: "mcp" | "a2a" };
    }
    Index

    Properties

    taskId: string

    Unique task identifier

    taskName: string

    Task name (tool name)

    params: any

    Original parameters

    status: TaskStatus

    Current status

    messages: Message[]

    Message history

    pendingInput?: InputRequest

    Current input request (if waiting for input)

    startTime: number

    Start time

    attempt: number

    Current attempt number

    maxAttempts: number

    Maximum attempts allowed

    options: TaskOptions

    Task options

    agent: { id: string; name: string; protocol: "mcp" | "a2a" }

    Agent configuration