feat: update Makelore modules and conversations
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-07-31 10:08:41 +08:00
parent b8ca3f8eea
commit 80e8386fa6
175 changed files with 8036 additions and 10581 deletions

View File

@@ -1,9 +1,9 @@
import type { LucideIcon } from 'lucide-react';
import { Code2, Paintbrush } from 'lucide-react';
import { Code2, Paintbrush, Sigma } from 'lucide-react';
export const AI_MODULE_SELECTION_PATH = '/module-select';
export type AiModuleId = 'programming' | 'painting';
export type AiModuleId = 'programming' | 'painting' | 'learning';
export type AiModuleDefinition = {
id: AiModuleId;
@@ -20,7 +20,7 @@ export const aiModules: readonly AiModuleDefinition[] = [
id: 'programming',
title: 'Makelore Code',
subtitle: 'AI 编程',
description: '把想法变成可运行的产品、游戏和工具。',
description: '把创意编程变成可运行的产品、游戏或工具',
route: '/opencode-chat',
enabled: true,
Icon: Code2,
@@ -29,11 +29,20 @@ export const aiModules: readonly AiModuleDefinition[] = [
id: 'painting',
title: 'Makelore Canvas',
subtitle: 'AI 绘画',
description: '用 AI 生成、编辑并组织你的视觉创作。',
description: '用灵感描绘色彩缤纷的世界',
route: '/image-canvas',
enabled: true,
Icon: Paintbrush,
},
{
id: 'learning',
title: 'Makelore Learning',
subtitle: 'AI 学习',
description: '用顶尖的方法解锁万物规律',
route: null,
enabled: false,
Icon: Sigma,
},
];
export function getAiModuleForPath(pathname: string): AiModuleId {