Member Junction
    Preparing search index...

    Type Alias AgentExecutionProgressCallback

    AgentExecutionProgressCallback: (
        progress: {
            displayMode?: "live" | "historical" | "both";
            message: string;
            metadata?: Record<string, unknown>;
            percentage?: number;
            step:
                | "initialization"
                | "validation"
                | "prompt_execution"
                | "action_execution"
                | "subagent_execution"
                | "decision_processing"
                | "finalization";
        },
    ) => void

    Callback function type for agent execution progress updates

    Type Declaration

      • (
            progress: {
                displayMode?: "live" | "historical" | "both";
                message: string;
                metadata?: Record<string, unknown>;
                percentage?: number;
                step:
                    | "initialization"
                    | "validation"
                    | "prompt_execution"
                    | "action_execution"
                    | "subagent_execution"
                    | "decision_processing"
                    | "finalization";
            },
        ): void
      • Parameters

        • progress: {
              displayMode?: "live" | "historical" | "both";
              message: string;
              metadata?: Record<string, unknown>;
              percentage?: number;
              step:
                  | "initialization"
                  | "validation"
                  | "prompt_execution"
                  | "action_execution"
                  | "subagent_execution"
                  | "decision_processing"
                  | "finalization";
          }
          • OptionaldisplayMode?: "live" | "historical" | "both"

            When this progress message should be displayed

          • message: string

            Human-readable status message

          • Optionalmetadata?: Record<string, unknown>

            Additional metadata about the current step. Use metadata.stepCount for accurate step tracking.

          • Optionalpercentage?: number

            Progress percentage (0-100) - Use metadata.stepCount instead for actual progress tracking

          • step:
                | "initialization"
                | "validation"
                | "prompt_execution"
                | "action_execution"
                | "subagent_execution"
                | "decision_processing"
                | "finalization"

            Current step in the agent execution process

        Returns void