feat: add Makelore Robot hardware module

This commit is contained in:
2026-08-13 23:17:22 +08:00
parent 22add3f01f
commit aba5cae286
25 changed files with 3169 additions and 72 deletions

View File

@@ -49,8 +49,8 @@ export const aiModules: readonly AiModuleDefinition[] = [
title: 'Makelore Robot',
subtitle: 'AI 机器',
description: '制作你的第一个机器人小伙伴',
route: null,
enabled: false,
route: '/ai-hardware',
enabled: true,
Icon: Bot,
switcherLabel: 'Robot 机器',
},
@@ -60,5 +60,8 @@ export function getAiModuleForPath(pathname: string): AiModuleId {
if (pathname === '/image-canvas' || pathname.startsWith('/image-canvas/')) {
return 'painting';
}
if (pathname === '/ai-hardware' || pathname.startsWith('/ai-hardware/')) {
return 'robot';
}
return 'programming';
}