feat: add /cockpit routes, point /assistant to FlowPilotPage
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -47,6 +47,7 @@ const FeedbackPage = lazyWithRetry(() => import('@/pages/FeedbackPage'))
|
||||
const StepLibraryPage = lazyWithRetry(() => import('@/pages/StepLibraryPage'))
|
||||
const ScriptLibraryPage = lazyWithRetry(() => import('@/pages/ScriptLibraryPage'))
|
||||
const ScriptManagePage = lazyWithRetry(() => import('@/pages/ScriptManagePage'))
|
||||
const FlowPilotPage = lazyWithRetry(() => import('@/pages/FlowPilotPage'))
|
||||
const CockpitPage = lazyWithRetry(() => import('@/pages/CockpitPage'))
|
||||
const FlowAssistPage = lazyWithRetry(() => import('@/pages/FlowAssistPage'))
|
||||
const FlowPilotSessionPage = lazyWithRetry(() => import('@/pages/FlowPilotSessionPage'))
|
||||
@@ -197,8 +198,10 @@ export const router = sentryCreateBrowserRouter([
|
||||
{ path: 'scripts/manage', element: page(ScriptManagePage) },
|
||||
{ path: 'script-builder', element: page(ScriptBuilderPage) },
|
||||
{ path: 'kb-accelerator', element: page(KBAcceleratorPage) },
|
||||
{ path: 'assistant', element: page(CockpitPage) },
|
||||
{ path: 'assistant/:sessionId', element: page(CockpitPage) },
|
||||
{ path: 'assistant', element: page(FlowPilotPage) },
|
||||
{ path: 'assistant/:sessionId', element: page(FlowPilotPage) },
|
||||
{ path: 'cockpit', element: page(CockpitPage) },
|
||||
{ path: 'cockpit/:sessionId', element: page(CockpitPage) },
|
||||
{ path: 'flow-assist', element: page(FlowAssistPage) },
|
||||
{ path: 'pilot', element: page(FlowPilotSessionPage) },
|
||||
{ path: 'pilot/:sessionId', element: page(FlowPilotSessionPage) },
|
||||
|
||||
Reference in New Issue
Block a user