import { type ModuleConfig } from '/@/cool';

export default (): ModuleConfig => {
	return {
		name: 'agent',
		label: 'AI 智能体',
		order: 100,
		views: [
			{
				path: '/agent/chat',
				meta: { label: '智能体对话' },
				component: () => import('./views/chat.vue')
			},
			{
				path: '/agent/agents',
				meta: { label: '智能体管理' },
				component: () => import('./views/agent-list.vue')
			},
			{
				path: '/agent/tools',
				meta: { label: '工具管理' },
				component: () => import('./views/tools.vue')
			},
			{
				path: '/agent/skills',
				meta: { label: '技能管理' },
				component: () => import('./views/skills.vue')
			},
			{
				path: '/agent/model-channel',
				meta: { label: '模型管理' },
				component: () => import('./views/model-channel.vue')
			},
			{
				path: '/agent/channel-management',
				meta: { label: '频道管理' },
				component: () => import('./views/channel-management.vue')
			},
			{
				path: '/agent/detection-result',
				meta: { label: '检测结果' },
				component: () => import('./views/detection-result.vue')
			},
			{
				path: '/agent/crew-editor',
				meta: { label: '智能体编排' },
				component: () => import('./views/crew-editor.vue')
			},
			{
				path: '/agent/crew-monitor',
				meta: { label: '运行监控' },
				component: () => import('./views/crew-monitor.vue')
			},
			{
				path: '/agent/memory',
				meta: { label: '记忆管理' },
				component: () => import('./views/memory.vue')
			}
		]
	};
};
