Member Junction
    Preparing search index...

    AgentExecutionMonitor Component

    A reusable component for visualizing AI agent execution flow in real-time or historically. Displays a hierarchical tree of execution steps with status, timing, and preview information.

    Features:

    • Real-time updates for live executions
    • Historical playback for completed executions
    • Collapsible tree structure
    • Step status indicators with animations
    • Execution statistics
    • Token usage and cost tracking
    • Error display
    • Input/output preview

    Implements

    • OnChanges
    • OnDestroy
    • AfterViewInit
    Index

    Constructors

    Properties

    agentRun: MJAIAgentRunEntityExtended | null = null
    autoExpand: boolean = true
    currentStep: MJAIAgentRunStepEntityExtended | null = null
    executionNodesContainer: ViewContainerRef
    executionTreeContainer: ElementRef<HTMLDivElement>
    mode: ExecutionMonitorMode = 'historical'
    runId: string | null = null
    runType: "agent" | "prompt" = 'agent'
    stats: ExecutionStats = ...
    viewRunClick: EventEmitter<{ runId: string; runType: "agent" | "prompt" }> = ...

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns void