Namespace JD.AI.Workflows.History
Classes
- EfWorkflowHistoryGraphStore
EF Core implementation of IWorkflowHistoryGraphStore that persists workflow history graph nodes and edges to an SQLite database. Uses WorkflowHistoryDbContext which maps to the same tables created by the WorkflowFramework Dashboard migration (AddWorkflowHistoryGraph).
- HistoryEdgeRow
Row type for HistoryEdgeEntity table. Mirrors WorkflowFramework.Dashboard.Persistence.Entities.HistoryEdgeEntity.
- HistoryNodeRow
Row type for HistoryNodeEntity table. Mirrors WorkflowFramework.Dashboard.Persistence.Entities.HistoryNodeEntity.
- WorkflowHistoryDbContext
Minimal EF Core DbContext for persisting workflow history graph nodes and edges. Mirrors the HistoryNodeEntity/HistoryEdgeEntity tables in the WorkflowFramework dashboard database (SQLite) without a hard dependency on the Dashboard.Persistence project.
- WorkflowHistoryObserver
Observes workflow executions and ingests them into the workflow history graph. Handles flattening of nested steps, computing fingerprints, and recording transitions (both sequential and sub-step relationships).
- WorkflowHistoryVisualizationExtensions
Extension methods for rendering WorkflowHistoryGraph as Mermaid diagrams.
Interfaces
- IWorkflowHistoryObserver
Observes workflow executions and ingests them into the workflow history graph.