feat: add lightweight admin workspace

This commit is contained in:
2026-06-21 17:48:43 +08:00
parent 56c1eec051
commit f9050c95d1
13 changed files with 603 additions and 16 deletions
+14
View File
@@ -1,4 +1,7 @@
export const LIGHT_MENU_NAMES = new Set([
'ControlCenter',
'Dashboard',
'DashboardWorkspace',
'AIAgent',
'AIKnowledgeDetail',
'AIModelConfig',
@@ -8,15 +11,21 @@ export const LIGHT_MENU_NAMES = new Set([
'AnnouncementList',
'AnnouncementManage',
'CodexAgentChat',
'MessageCenter',
'MessageList',
'KnowledgeBase',
'SystemManagement',
'SystemConfig',
'SystemMenu',
'SystemPermission',
'SystemRole',
'UIConfig',
'UserManagement',
]);
const LIGHT_ROUTE_PATH_PREFIXES = [
'/control-center',
'/dashboard',
'/ai-platform/agent',
'/ai-platform/knowledge',
'/ai-platform/knowledge-base',
@@ -24,10 +33,15 @@ const LIGHT_ROUTE_PATH_PREFIXES = [
'/ai-platform/workflow',
'/ai-platform/workflow-runs',
'/agent-chat',
'/message/list',
'/message/announcement',
'/message/announcement-list',
'/page-render/main_home',
'/system/config',
'/system/menu',
'/system/new-permission',
'/system/role',
'/system/ui-config',
'/system/user',
];