feat: 完善图像工作区与创作工具体验
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-08-16 14:08:02 +08:00
parent bfcb88cfef
commit 26b52d76e3
92 changed files with 16678 additions and 2975 deletions

View File

@@ -57,7 +57,10 @@ export const aiModules: readonly AiModuleDefinition[] = [
];
export function getAiModuleForPath(pathname: string): AiModuleId {
if (pathname === '/image-canvas' || pathname.startsWith('/image-canvas/')) {
if (pathname === '/image-canvas'
|| pathname.startsWith('/image-canvas/')
|| pathname === '/image-prompts'
|| pathname.startsWith('/image-prompts/')) {
return 'painting';
}
if (pathname === '/ai-hardware' || pathname.startsWith('/ai-hardware/')) {