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

export default (): ModuleConfig => {
	return {
		name: 'agent',
		label: 'Agent 对话',
		order: 100,
		views: [
			{
				path: '/agent/chat',
				meta: { label: 'Agent 对话' },
				component: () => import('./views/chat.vue')
			},
			{
				path: '/agent/agents',
				meta: { label: 'Agent 管理' },
				component: () => import('./views/agent-list.vue')
			},
			{
				path: '/agent/tools',
				meta: { label: 'Tool 管理' },
				component: () => import('./views/tools.vue')
			},
			{
				path: '/agent/skills',
				meta: { label: 'Skill 管理' },
				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: 'Agent 编排' },
				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')
			}
		]
	};
};
