Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
perf(webv2): keep workflow generator resolution out of the editor boot graph
Josh Corbettce11fe4fe756
diff --git a/invokeai/frontend/webv2/performance/architecture-baseline.json b/invokeai/frontend/webv2/performance/architecture-baseline.jsonindex dd31f49718..29f7576a17 100644--- a/invokeai/frontend/webv2/performance/architecture-baseline.json+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json@@ -550,6 +550,7 @@"source:src/features/generation/data/llmTaskProgress.ts","source:src/features/generation/data/promptTemplates.ts","source:src/features/generation/data/promptUtilities.ts",+ "source:src/features/generation/data/systemPrompts.ts","source:src/features/generation/graph.ts","source:src/features/generation/prompts.ts","source:src/features/generation/queries.ts",@@ -680,7 +681,6 @@"source:src/features/workflow/core/validation.ts","source:src/features/workflow/core/workflowJson.ts","source:src/features/workflow/data/api.ts",- "source:src/features/workflow/data/generatorQueries.ts","source:src/features/workflow/data/libraryCache.ts","source:src/features/workflow/data/runCapture.ts","source:src/features/workflow/data/savedWorkflowQueries.ts",diff --git a/invokeai/frontend/webv2/performance/browser-baseline.json b/invokeai/frontend/webv2/performance/browser-baseline.jsonindex 36c944973f..09ac7febcc 100644--- a/invokeai/frontend/webv2/performance/browser-baseline.json+++ b/invokeai/frontend/webv2/performance/browser-baseline.json@@ -1,6 +1,6 @@{"browserExecutable": "/home/toast/.cache/ms-playwright/chromium-1243/chrome-linux64/chrome",- "capturedAt": "2026-09-23",+ "capturedAt": "2026-09-25","routes": [{"activatedResourceBaseline": {@@ -14,13 +14,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 122.20000000298023,+ "domContentLoadedMedianMs": 128.80000000074506,"id": "launchpad","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 122.29999999701977,- "longestTaskMaxMs": 76,+ "loadMedianMs": 129,+ "longestTaskMaxMs": 80,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@ -30,13 +30,13 @@"fontRawBytes": 23664,"imageRawBytes": 0,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,- "requestCount": 32,- "scriptRawBytes": 1814643,- "scriptRequestCount": 28,- "totalRawBytes": 2009050+ "otherRawBytes": 173198,+ "requestCount": 31,+ "scriptRawBytes": 1817058,+ "scriptRequestCount": 27,+ "totalRawBytes": 2016079},- "routeReadyMedianMs": 259.09999999403954,+ "routeReadyMedianMs": 274.3999999985099,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "empty"},@@ -52,13 +52,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 121.29999999701977,+ "domContentLoadedMedianMs": 133.5,"id": "launchpad","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 121.5,- "longestTaskMaxMs": 75,+ "loadMedianMs": 133.69999999925494,+ "longestTaskMaxMs": 83,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@ -68,13 +68,13 @@"fontRawBytes": 23664,"imageRawBytes": 0,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,- "requestCount": 32,- "scriptRawBytes": 1814643,- "scriptRequestCount": 28,- "totalRawBytes": 2009050+ "otherRawBytes": 173198,+ "requestCount": 31,+ "scriptRawBytes": 1817058,+ "scriptRequestCount": 27,+ "totalRawBytes": 2016079},- "routeReadyMedianMs": 269.09999999403954,+ "routeReadyMedianMs": 287.80000000074506,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "representative"},@@ -90,15 +90,15 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 122.59999999403954,+ "domContentLoadedMedianMs": 127.30000000074506,"id": "editor-minimal","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 122.70000000298023,- "longestTaskMaxMs": 161,+ "loadMedianMs": 127.40000000223517,+ "longestTaskMaxMs": 158,"owner": "workbench",- "projectSwitchMedianMs": 31.700000002980232,+ "projectSwitchMedianMs": 34.900000002235174,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {@@ -106,13 +106,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 99,- "scriptRawBytes": 3766409,+ "scriptRawBytes": 3792727,"scriptRequestCount": 94,- "totalRawBytes": 4117192+ "totalRawBytes": 4148124},- "routeReadyMedianMs": 410.5,+ "routeReadyMedianMs": 427.6000000014901,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@ -128,15 +128,15 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 122,+ "domContentLoadedMedianMs": 126.80000000074506,"id": "editor-minimal","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,"layoutSwitchMedianMs": 0,- "loadMedianMs": 122.19999998807907,- "longestTaskMaxMs": 153,+ "loadMedianMs": 126.89999999850988,+ "longestTaskMaxMs": 156,"owner": "workbench",- "projectSwitchMedianMs": 43.5,+ "projectSwitchMedianMs": 49.900000002235174,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {@@ -144,13 +144,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 99,- "scriptRawBytes": 3766409,+ "scriptRawBytes": 3792727,"scriptRequestCount": 94,- "totalRawBytes": 4117192+ "totalRawBytes": 4148124},- "routeReadyMedianMs": 421.69999998807907,+ "routeReadyMedianMs": 431.3999999985099,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"},@@ -159,20 +159,20 @@"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,- "largestAssetRawBytes": 309242,+ "largestAssetRawBytes": 309231,"otherRawBytes": 0,"requestCount": 9,- "scriptRawBytes": 503197,+ "scriptRawBytes": 503282,"scriptRequestCount": 9,- "totalRawBytes": 503197+ "totalRawBytes": 503282},- "domContentLoadedMedianMs": 125.8999999910593,+ "domContentLoadedMedianMs": 125.39999999850988,"id": "editor-canvas",- "layoutAckMedianMs": 2.5,- "layoutReturnSwitchMedianMs": 45.79999999701977,- "layoutSwitchMedianMs": 84.20000000298023,- "loadMedianMs": 126,- "longestTaskMaxMs": 159,+ "layoutAckMedianMs": 2.600000001490116,+ "layoutReturnSwitchMedianMs": 46.79999999701977,+ "layoutSwitchMedianMs": 81.39999999850988,+ "loadMedianMs": 125.5,+ "longestTaskMaxMs": 155,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@ -182,13 +182,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 108,- "scriptRawBytes": 4269606,+ "scriptRawBytes": 4296009,"scriptRequestCount": 103,- "totalRawBytes": 4620389+ "totalRawBytes": 4651406},- "routeReadyMedianMs": 1120.5,+ "routeReadyMedianMs": 1120.300000000745,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "empty"},@@ -197,20 +197,20 @@"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,- "largestAssetRawBytes": 309242,+ "largestAssetRawBytes": 309231,"otherRawBytes": 0,"requestCount": 9,- "scriptRawBytes": 503197,+ "scriptRawBytes": 503282,"scriptRequestCount": 9,- "totalRawBytes": 503197+ "totalRawBytes": 503282},- "domContentLoadedMedianMs": 122,+ "domContentLoadedMedianMs": 126.70000000298023,"id": "editor-canvas",- "layoutAckMedianMs": 2.5,- "layoutReturnSwitchMedianMs": 51.29999999701977,- "layoutSwitchMedianMs": 86.1000000089407,- "loadMedianMs": 122.20000000298023,- "longestTaskMaxMs": 194,+ "layoutAckMedianMs": 2.599999997764826,+ "layoutReturnSwitchMedianMs": 50.80000000074506,+ "layoutSwitchMedianMs": 89.60000000149012,+ "loadMedianMs": 126.80000000074506,+ "longestTaskMaxMs": 198,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@ -220,13 +220,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 108,- "scriptRawBytes": 4269606,+ "scriptRawBytes": 4296009,"scriptRequestCount": 103,- "totalRawBytes": 4620389+ "totalRawBytes": 4651406},- "routeReadyMedianMs": 1125.5,+ "routeReadyMedianMs": 1119,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "representative"},@@ -235,20 +235,20 @@"cssRawBytes": 15413,"fontRawBytes": 0,"imageRawBytes": 0,- "largestAssetRawBytes": 175033,+ "largestAssetRawBytes": 178604,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 398142,+ "scriptRawBytes": 411679,"scriptRequestCount": 6,- "totalRawBytes": 413555+ "totalRawBytes": 427092},- "domContentLoadedMedianMs": 124.20000000298023,+ "domContentLoadedMedianMs": 131.80000000074506,"id": "editor-workflow",- "layoutAckMedianMs": 2.5,- "layoutReturnSwitchMedianMs": 32.19999998807907,- "layoutSwitchMedianMs": 95,- "loadMedianMs": 124.29999999701977,- "longestTaskMaxMs": 157,+ "layoutAckMedianMs": 2.699999999254942,+ "layoutReturnSwitchMedianMs": 33.69999999925494,+ "layoutSwitchMedianMs": 100.39999999850988,+ "loadMedianMs": 131.80000000074506,+ "longestTaskMaxMs": 166,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@ -258,13 +258,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 106,- "scriptRawBytes": 4164551,+ "scriptRawBytes": 4204406,"scriptRequestCount": 100,- "totalRawBytes": 4530747+ "totalRawBytes": 4575216},- "routeReadyMedianMs": 1126.7999999970198,+ "routeReadyMedianMs": 1164.199999999255,"scriptSourceOwnerSet": "editor-workflow-static","stateProfile": "empty"},@@ -273,20 +273,20 @@"cssRawBytes": 15413,"fontRawBytes": 0,"imageRawBytes": 0,- "largestAssetRawBytes": 175033,+ "largestAssetRawBytes": 178604,"otherRawBytes": 0,"requestCount": 7,- "scriptRawBytes": 398142,+ "scriptRawBytes": 411679,"scriptRequestCount": 6,- "totalRawBytes": 413555+ "totalRawBytes": 427092},- "domContentLoadedMedianMs": 123.6000000089407,+ "domContentLoadedMedianMs": 126,"id": "editor-workflow",- "layoutAckMedianMs": 2.5999999940395355,- "layoutReturnSwitchMedianMs": 39.70000000298023,- "layoutSwitchMedianMs": 127.6000000089407,- "loadMedianMs": 123.70000000298023,- "longestTaskMaxMs": 381,+ "layoutAckMedianMs": 2.5,+ "layoutReturnSwitchMedianMs": 40.29999999701977,+ "layoutSwitchMedianMs": 134.89999999850988,+ "loadMedianMs": 126.10000000149012,+ "longestTaskMaxMs": 391,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@ -296,13 +296,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 106,- "scriptRawBytes": 4164551,+ "scriptRawBytes": 4204406,"scriptRequestCount": 100,- "totalRawBytes": 4530747+ "totalRawBytes": 4575216},- "routeReadyMedianMs": 1161.5999999940395,+ "routeReadyMedianMs": 1176.800000000745,"scriptSourceOwnerSet": "editor-workflow-static","stateProfile": "representative"},@@ -318,13 +318,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 124.8999999910593,+ "domContentLoadedMedianMs": 126.60000000149012,"id": "editor-gallery","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,- "layoutSwitchMedianMs": 45,- "loadMedianMs": 125,- "longestTaskMaxMs": 153,+ "layoutSwitchMedianMs": 45.899999998509884,+ "loadMedianMs": 126.80000000074506,+ "longestTaskMaxMs": 156,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@ -334,13 +334,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 99,- "scriptRawBytes": 3766409,+ "scriptRawBytes": 3792727,"scriptRequestCount": 94,- "totalRawBytes": 4117192+ "totalRawBytes": 4148124},- "routeReadyMedianMs": 1354,+ "routeReadyMedianMs": 1352.6000000014901,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@ -356,13 +356,13 @@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 124,+ "domContentLoadedMedianMs": 125.90000000223517,"id": "editor-gallery","layoutAckMedianMs": 0,"layoutReturnSwitchMedianMs": 0,- "layoutSwitchMedianMs": 52.400000005960464,- "loadMedianMs": 124,- "longestTaskMaxMs": 152,+ "layoutSwitchMedianMs": 54.899999998509884,+ "loadMedianMs": 126.10000000149012,+ "longestTaskMaxMs": 154,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@ -372,13 +372,13 @@"fontRawBytes": 23664,"imageRawBytes": 156376,"largestAssetRawBytes": 778953,- "otherRawBytes": 168584,+ "otherRawBytes": 173198,"requestCount": 99,- "scriptRawBytes": 3766409,+ "scriptRawBytes": 3792727,"scriptRequestCount": 94,- "totalRawBytes": 4117192+ "totalRawBytes": 4148124},- "routeReadyMedianMs": 1370,+ "routeReadyMedianMs": 1366.8999999985099,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"}@@ -1187,7 +1187,6 @@"source:src/features/workflow/core/validation.ts","source:src/features/workflow/core/workflowJson.ts","source:src/features/workflow/data/api.ts",- "source:src/features/workflow/data/generatorQueries.ts","source:src/features/workflow/data/libraryBrowseStore.ts","source:src/features/workflow/data/libraryCache.ts","source:src/features/workflow/data/runCapture.ts",@@ -2243,7 +2242,6 @@"source:src/features/workflow/core/validation.ts","source:src/features/workflow/core/workflowJson.ts","source:src/features/workflow/data/api.ts",- "source:src/features/workflow/data/generatorQueries.ts","source:src/features/workflow/data/libraryBrowseStore.ts","source:src/features/workflow/data/libraryCache.ts","source:src/features/workflow/data/runCapture.ts",@@ -3476,7 +3474,6 @@"source:src/features/workflow/core/validation.ts","source:src/features/workflow/core/workflowJson.ts","source:src/features/workflow/data/api.ts",- "source:src/features/workflow/data/generatorQueries.ts","source:src/features/workflow/data/libraryBrowseStore.ts","source:src/features/workflow/data/libraryCache.ts","source:src/features/workflow/data/runCapture.ts",diff --git a/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts b/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.tsindex 50804d1ab6..812832d1ce 100644--- a/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts+++ b/invokeai/frontend/webv2/src/architecture/dependencyPolicy.test.ts@@ -240,6 +240,7 @@ describe('feature public-interface registry', () => {expect(checkDependency('features/workflow/ui/fields/RecordPickerInput.tsx', '@features/generation/systemPrompts')).toEqual([]);+ expect(checkDependency('workbench/invocationSubmit.ts', '@features/workflow/generators')).toEqual([]);expect(checkDependency('workbench/invocationSubmit.ts', '@features/generation/data/dynamicPromptsQueries')).toMatchObject([{ rule: 'feature-private-interface' }]);diff --git a/invokeai/frontend/webv2/src/architecture/featureInterfaces.ts b/invokeai/frontend/webv2/src/architecture/featureInterfaces.tsindex 65e1035679..9405bcfd44 100644--- a/invokeai/frontend/webv2/src/architecture/featureInterfaces.ts+++ b/invokeai/frontend/webv2/src/architecture/featureInterfaces.ts@@ -38,5 +38,5 @@ export const FEATURE_PUBLIC_INTERFACES: Readonly<Record<string, readonly string[queue: ['contracts', 'devices', 'launchpad', 'menu', 'queries', 'react', 'reveal', 'utility', 'widget'],upscale: ['widget'],video: ['widget'],- workflow: ['contracts', 'graph', 'paletteSearch', 'preview', 'queries', 'react', 'utility', 'widget'],+ workflow: ['contracts', 'generators', 'graph', 'paletteSearch', 'preview', 'queries', 'react', 'utility', 'widget'],};diff --git a/invokeai/frontend/webv2/src/features/workflow/generators.ts b/invokeai/frontend/webv2/src/features/workflow/generators.tsnew file mode 100644index 0000000000..cffdf4614d--- /dev/null+++ b/invokeai/frontend/webv2/src/features/workflow/generators.ts@@ -0,0 +1,9 @@+/**+ * Async generator resolution for batch nodes. Kept apart from `queries` and loaded on demand by the submit path and+ * the generator field, so neither the editor boot graph nor the workflow query surface carries it.+ */+export {+ getWorkflowGeneratorQueryOptions,+ resolveWorkflowGenerators,+ type WorkflowGeneratorQueryResult,+} from './data/generatorQueries';diff --git a/invokeai/frontend/webv2/src/features/workflow/queries.ts b/invokeai/frontend/webv2/src/features/workflow/queries.tsindex 4a04fd6ca4..77ac013aeb 100644--- a/invokeai/frontend/webv2/src/features/workflow/queries.ts+++ b/invokeai/frontend/webv2/src/features/workflow/queries.ts@@ -1,5 +1,4 @@export * from './data/api';-export * from './data/generatorQueries';export * from './data/libraryCache';export * from './data/savedWorkflowQueries';export { createWorkflowRunCaptureSink, type RunCaptureDeps } from './data/runCapture';diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsxindex 3617a1ffa6..3a107896a0 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx@@ -2,10 +2,7 @@ import type { ChangeEvent, WheelEvent } from 'react';import { Box, chakra, Checkbox, createListCollection, HStack, Input, Stack, Textarea } from '@chakra-ui/react';import { galleryBoardsOptions } from '@features/gallery/queries';-import {- getWorkflowGeneratorQueryOptions,- type WorkflowGeneratorQueryResult,-} from '@features/workflow/data/generatorQueries';+import { getWorkflowGeneratorQueryOptions, type WorkflowGeneratorQueryResult } from '@features/workflow/generators';import {getDefaultWorkflowGeneratorValue,getWorkflowGeneratorRequestedCount,diff --git a/invokeai/frontend/webv2/src/workbench/invocationSubmit.test.ts b/invokeai/frontend/webv2/src/workbench/invocationSubmit.test.tsindex 0e616129db..45f5d28ef8 100644--- a/invokeai/frontend/webv2/src/workbench/invocationSubmit.test.ts+++ b/invokeai/frontend/webv2/src/workbench/invocationSubmit.test.ts@@ -16,7 +16,7 @@ vi.mock('@features/workflow/react', async (importOriginal) => ({...(await importOriginal<Record<string, unknown>>()),getInvocationTemplatesSnapshot: () => templatesMock.snapshot,}));-vi.mock('@features/workflow/queries', async (importOriginal) => ({+vi.mock('@features/workflow/generators', async (importOriginal) => ({...(await importOriginal<Record<string, unknown>>()),resolveWorkflowGenerators: generatorsMock.resolveWorkflowGenerators,}));diff --git a/invokeai/frontend/webv2/src/workbench/invocationSubmit.ts b/invokeai/frontend/webv2/src/workbench/invocationSubmit.tsindex 72e9c72eeb..2f59fe509e 100644--- a/invokeai/frontend/webv2/src/workbench/invocationSubmit.ts+++ b/invokeai/frontend/webv2/src/workbench/invocationSubmit.ts@@ -19,7 +19,6 @@ import {sanitizeBatchCount,} from '@features/generation/settings';import { getWorkflowBatchCapReason } from '@features/workflow/graph';-import { resolveWorkflowGenerators } from '@features/workflow/queries';import { getInvocationTemplatesSnapshot } from '@features/workflow/react';import { planWorkflowBatch } from '@features/workflow/utility';import { queryClient } from '@platform/query/client';@@ -120,6 +119,8 @@ const resolveWorkflowGeneratorsForRoute = async (return null;}+ // Loaded on demand: the resolver and its gallery/prompt query dependencies stay out of the boot graph.+ const { resolveWorkflowGenerators } = await import('@features/workflow/generators');const { errors, resolutions } = await resolveWorkflowGenerators(queryClient, pending);if (!isAccountScopeCurrent(owner)) {diff --git a/invokeai/frontend/webv2/vite.config.mts b/invokeai/frontend/webv2/vite.config.mtsindex e3e3db1845..31052591d1 100644--- a/invokeai/frontend/webv2/vite.config.mts+++ b/invokeai/frontend/webv2/vite.config.mts@@ -88,6 +88,10 @@ const EDITOR_BOOT_SHARED_MODULES = ['/features/generation/core/prompt/attention.ts','/features/generation/data/architectureCapabilitiesApi.ts','/features/generation/data/architectureCapabilitiesStore.ts',+ '/features/generation/data/dynamicPromptsQueries.ts',+ '/features/generation/data/promptUtilities.ts',+ '/features/generation/data/systemPrompts.ts',+ '/features/generation/prompts.ts','/features/generation/queries.ts','/features/generation/runtime.ts','/features/generation/ui/promptFields/promptAttentionHotkeys.ts',