feat: refactor sidebar and settings to include agents and models; update routing and i18n messages

This commit is contained in:
duanshuwen
2026-04-20 22:56:33 +08:00
parent 4f41eb380e
commit 35319e6a1d
6 changed files with 126 additions and 33 deletions

View File

@@ -1,5 +1,5 @@
import { useLocation, useNavigate } from 'react-router-dom';
import { Book, Bot, Clock, Code, Cpu, House, Network, Puzzle, Settings } from 'lucide-react';
import { Book, Clock, Code, House, Network, Puzzle, Settings } from 'lucide-react';
import { useI18n } from '../../i18n';
import { NAV_ITEMS, normalizeWorkspacePath } from '../../router/routes';
@@ -9,8 +9,6 @@ const MENU_MARKS: Record<string, typeof House> = {
'/home': House,
'/knowledge': Book,
'/channels': Network,
'/agents': Bot,
'/models': Cpu,
'/skills': Puzzle,
'/cron': Clock,
// '/scripts': Code,