Member Junction
    Preparing search index...

    Run history for one routine: start time, duration, outcome, result summary, and a link to the underlying execution record (Agent Run / Prompt Run / Action Execution Log) when linked. Data comes from the shared UserRoutineEngine cache.

    Reusable (Generic) component: navigation is delegated to the host via the HistoryRecordOpened output — no Router usage here.

    Hierarchy (View Summary)

    Implements

    • OnDestroy
    Index

    Constructors

    Properties

    ConversationOpened: EventEmitter<ConversationOpenedEventArgs> = ...

    The routine's dedicated conversation was requested from a run row.

    Duration: (
        start: Date | null | undefined,
        end: Date | null | undefined,
    ) => string = FormatDuration

    Type Declaration

      • (start: Date | null | undefined, end: Date | null | undefined): string
      • Duration between two timestamps as "4s", "2m 10s", "1h 4m". Empty when incomplete.

        Parameters

        • start: Date | null | undefined
        • end: Date | null | undefined

        Returns string

    HistoryRecordOpened: EventEmitter<HistoryRecordOpenedEventArgs> = ...

    The user asked to open the linked execution record — the host owns navigation.

    IsLoading: boolean = false
    LoadError: string | null = null
    MaxRuns: number = 100

    Maximum number of runs to show (most recent first).

    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    RelativeTime: (date: Date | null | undefined, now?: Date) => string = FormatRelativeTime

    Type Declaration

      • (date: Date | null | undefined, now?: Date): string
      • Compact relative-time label ("3m ago", "in 2h", "just now"). Returns an empty string for null input. now is injectable for tests.

        Parameters

        • date: Date | null | undefined
        • now: Date = ...

        Returns string

    RoutineName: string | null = null

    Optional display name of the routine (header context only).

    RunVariant: (status: string | null | undefined) => RoutineChipVariant = RunStatusVariant

    Type Declaration

    "ɵdir": unknown
    "ɵfac": unknown

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunReportToUse(): IRunReportProvider

      Returns either the default RunReport provider or the one specified in the Provider property, if it was specified

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods