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

    Type Alias RequiresActionStateUpdate

    The foreground workflow as a whole is blocked on user action.

    Agents SHOULD report this state when foreground work cannot progress without user action. Pending permissions or elicitations alone do not imply this state if other foreground work can progress, or if the requests belong only to independent background activity. Once reported, Agents MUST report running when progress resumes, or idle if the work ends without resuming. Responding to one request does not itself imply running.

    type RequiresActionStateUpdate = {
        background?: BackgroundWork[] | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    background?: BackgroundWork[] | null

    Work running independently of foreground work, as a complete snapshot.

    Optional. Omitted and null are equivalent and mean the Agent is not reporting background work, not that nothing is running. [] means no background work is running. An Agent that reports background work MUST include it on every state update for the session.

    See protocol docs: Background Work

    _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