- Phase 1: Infrastructure (state, prompts, registry) - Phase 2: Execution engine (AI adapters, security classifier, executors) - Phase 3: Agent integration (graph nodes, routing) - Phase 4: Streaming interaction (PTY terminal, WebSocket) - Phase 5: Frontend integration (Vue components)
84 lines
1.7 KiB
TypeScript
84 lines
1.7 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
const appChildren: RouteRecordRaw[] = [
|
|
{
|
|
path: '',
|
|
redirect: '/chat',
|
|
},
|
|
{
|
|
path: 'chat',
|
|
name: 'chat',
|
|
component: () => import('@/pages/chat/index.vue'),
|
|
},
|
|
{
|
|
path: 'knowledge',
|
|
name: 'knowledge',
|
|
component: () => import('@/pages/knowledge/index.vue'),
|
|
},
|
|
{
|
|
path: 'graph',
|
|
name: 'graph',
|
|
component: () => import('@/pages/graph/index.vue'),
|
|
},
|
|
{
|
|
path: 'schedule-center',
|
|
name: 'schedule-center',
|
|
component: () => import('@/pages/schedule-center/index.vue'),
|
|
},
|
|
{
|
|
path: 'kanban',
|
|
redirect: '/schedule-center',
|
|
},
|
|
{
|
|
path: 'forum',
|
|
name: 'forum',
|
|
component: () => import('@/pages/forum/index.vue'),
|
|
},
|
|
{
|
|
path: 'agents',
|
|
name: 'agents',
|
|
component: () => import('@/pages/agents/index.vue'),
|
|
},
|
|
{
|
|
path: 'skills',
|
|
name: 'skills',
|
|
component: () => import('@/pages/skills/index.vue'),
|
|
},
|
|
{
|
|
path: 'todo',
|
|
redirect: '/schedule-center',
|
|
},
|
|
{
|
|
path: 'settings',
|
|
name: 'settings',
|
|
component: () => import('@/pages/settings/index.vue'),
|
|
},
|
|
{
|
|
path: 'logs',
|
|
name: 'logs',
|
|
component: () => import('@/pages/logs/index.vue'),
|
|
},
|
|
{
|
|
path: 'code-commander',
|
|
name: 'code-commander',
|
|
component: () => import('@/pages/chat/CodeCommander.vue'),
|
|
},
|
|
]
|
|
|
|
export const routes: RouteRecordRaw[] = [
|
|
{
|
|
path: '/login',
|
|
name: 'login',
|
|
component: () => import('@/pages/login/index.vue'),
|
|
meta: { guest: true },
|
|
},
|
|
{
|
|
path: '/',
|
|
component: () => import('@/pages/app/layout.vue'),
|
|
meta: { requiresAuth: true },
|
|
children: appChildren,
|
|
},
|
|
]
|
|
|
|
export { appChildren }
|