feat: improve workflow observability and lighten admin frontend

This commit is contained in:
2026-06-22 06:34:53 +08:00
parent 1b835a4aad
commit e1ef4c1a70
11 changed files with 360 additions and 416 deletions
+14 -38
View File
@@ -1,50 +1,42 @@
export const LIGHT_MENU_NAMES = new Set([
'AccountSettings',
'Application',
'ControlCenter',
'AIAgent',
'AIAgentEditor',
'AgentChat',
'AIKnowledgeDetail',
'AIKnowledgeLegacyDetailRedirect',
'AIKnowledgeLegacyRedirect',
'AIModelConfig',
'AIPlatform',
'AIWorkflow',
'AIWorkflowEditor',
'AIWorkflowRuns',
'AnnouncementList',
'AnnouncementManage',
'CodexAgentChat',
'FileManager',
'Message',
'MessageCenter',
'MessageList',
'KnowledgeBase',
'LoginLog',
'OrgNode',
'DatabaseMonitor',
'RedisMonitor',
'ServerMonitor',
'StartChat',
'SystemDept',
'SystemDict',
'SystemFileManager',
'SystemLoginLog',
'SystemManagement',
'SystemOrgChart',
'SystemTools',
'SystemConfig',
'SystemConfigManager',
'SystemMonitoring',
'SystemMenu',
'SystemPermission',
'SystemPost',
'SystemRole',
'UIConfig',
'UIConfigManager',
'PageRenderMainHome',
'SubAppAIAgentEditor',
'SubAppAgentChat',
'SubAppAIKnowledgeDetail',
'SubAppAIKnowledgeLegacyDetailRedirect',
'SubAppAIKnowledgeLegacyRedirect',
'SubAppAIModelConfig',
'SubAppAIWorkflowEditor',
'SubAppAIWorkflowRuns',
'UserManagement',
'userCenter',
'userSettings',
]);
const LIGHT_ROUTE_PATH_PREFIXES = [
'/control-center',
'/ai-platform/agent',
'/ai-platform/knowledge',
'/ai-platform/knowledge-base',
@@ -52,30 +44,14 @@ const LIGHT_ROUTE_PATH_PREFIXES = [
'/ai-platform/workflow',
'/ai-platform/workflow-runs',
'/agent-chat',
'/application',
'/chat',
'/message/list',
'/message/announcement',
'/message/announcement-list',
'/page-render/main_home',
'/monitor',
'/core/ui-config',
'/system-config',
'/system/dept',
'/system/dict',
'/system/file-manager',
'/system/login-log',
'/system/org-chart',
'/system/post',
'/system/config',
'/system/menu',
'/system/new-permission',
'/system/role',
'/system/ui-config',
'/system/user',
'/tool/dict',
'/tool/file',
'/log/login-log',
'/user-center',
];