feat: add AI workflow run management with detailed audit items and UI integration

This commit is contained in:
mlogclub
2026-06-24 09:52:00 +08:00
parent 02ae515bd6
commit 46bcc55658
12 changed files with 694 additions and 10 deletions
+4
View File
@@ -530,13 +530,17 @@ export type AIWorkflowRun = {
id: number
workflowId: number
workflowVersionId: number
workflowVersion: number
workflowName: string
conversationId: number
aiAgentId: number
aiAgentName: string
messageId: number
status: number
statusName: string
startedAt: string
endedAt: string
durationMs: number
interruptType: string
interruptNodeId: string
errorMessage: string
+7
View File
@@ -13,6 +13,7 @@ import {
TagsIcon,
UserCogIcon,
UsersIcon,
WorkflowIcon,
} from "lucide-react";
import type { ReactNode } from "react";
@@ -204,6 +205,12 @@ export const dashboardNavSections: DashboardNavSectionConfig[] = [
icon: <MessageSquareCodeIcon />,
requiredPermission: "mcp.view",
},
{
titleKey: "nav.workflowRuns",
url: "/dashboard/ai-workflow-runs",
icon: <WorkflowIcon />,
requiredPermission: "aiAgent.view",
},
],
},
{