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" }> = ...

    Use ViewRunClick.

    The same emitter under the old binding name, so a template still binding (viewRunClick) keeps working. Must stay AFTER ViewRunClick: class fields initialise in order, and the other way round this captures undefined.

    ViewRunClick: EventEmitter<{ runId: string; runType: "agent" | "prompt" }> = ...

    Accessors

    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