import type {RouteRecordRaw} from 'vue-router';

import {$t} from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    name: 'AgentDesigner',
    path: '/ai/agents/designer/:id',
    component: () => import('#/views/ai/agents/AgentDesigner.vue'),
    meta: {
      title: $t('menus.ai.agents'),
      openInNewWindow: true,
      hideInMenu: true,
      activePath: '/ai/agents',
    },
  },
  {
    name: 'AgentChat',
    path: '/ai/agent-chat',
    component: () => import('#/views/ai/agent-chat/index.vue'),
    meta: {
      title: '智能体聊天',
      fullPathKey: false,
      hideInMenu: true,
      activePath: '/ai/agent-chat',
    },
  },
];

export default routes;
