The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(video): pull the lanes that could never run (D#88)
purple9f69b00ecfed
diff --git a/src/api/__tests__/app-wide-smoke.test.ts b/src/api/__tests__/app-wide-smoke.test.tsindex 29ad6f37..34738ca2 100644--- a/src/api/__tests__/app-wide-smoke.test.ts+++ b/src/api/__tests__/app-wide-smoke.test.ts@@ -170,6 +170,9 @@ describe('Video bundles → strategy pipeline', () => {expect(unique.size).toBe(names.length)})+ // No exceptions here any more. Until 2026-07-24 this loop skipped cogvideo,+ // because its bundles were 21 GB of download for a lane that could not run.+ // The rule now is simply: if we offer the download, the lane must resolve.it('every video bundle maps to a valid strategy', () => {for (const b of bundles) {const type = b.workflow as ModelType@@ -177,6 +180,14 @@ describe('Video bundles → strategy pipeline', () => {expect(result.strategy, `Video bundle "${b.name}" → unavailable: ${result.reason}`).not.toBe('unavailable')}})++ it('the catalogue offers nothing for a lane that cannot run (D#88 closed)', () => {+ const dead = bundles.filter(b => ['cogvideo', 'pyramidflow', 'allegro'].includes(b.workflow))+ expect(+ dead.map(b => b.name),+ 'a bundle came back for a lane whose builder was removed',+ ).toEqual([])+ })})// ── Chat mode system ────────────────────────────────────────────────────diff --git a/src/api/__tests__/comfyui-bundles.test.ts b/src/api/__tests__/comfyui-bundles.test.tsindex 0be043e5..17f666c6 100644--- a/src/api/__tests__/comfyui-bundles.test.ts+++ b/src/api/__tests__/comfyui-bundles.test.ts@@ -11,11 +11,14 @@ describe('Video Bundle Definitions', () => {bundles = getVideoBundles()})- it('has 16 video bundles', () => {+ it('has 13 video bundles', () => {// 14 original - Allegro (diffusers only) + CogVideoX 2B replaced by 5B I2V,// + Wan 2.2 TI2V-5B (unified T2V/I2V, 2026-06-11); 2.5.8 adds the two// uncensored GGUF finetunes (NSFW Wan 14B t2v + Wan 2.2 Rapid AIO i2v).- expect(bundles.length).toBe(16)+ // 2026-07-24 removes three that could never run: both CogVideoX bundles+ // (21 GB each) and Pyramid Flow, whose builders emitted node class names no+ // wrapper registers. See wrapper-node-names.test.ts.+ expect(bundles.length).toBe(13)})it('every bundle has required fields', () => {@@ -70,8 +73,9 @@ describe('Video Bundle Definitions', () => {it('I2V bundles have i2v: true', () => {const i2vBundles = bundles.filter(b => b.i2v)- // SVD + FramePack + CogVideoX 5B I2V + Wan 2.2 TI2V-5B + Rapid AIO (2.5.8)- expect(i2vBundles.length).toBe(5)+ // SVD + FramePack + Wan 2.2 TI2V-5B + Rapid AIO (2.5.8). The CogVideoX 5B+ // I2V bundle was pulled 2026-07-24 with the rest of its lane.+ expect(i2vBundles.length).toBe(4)const i2vNames = i2vBundles.map(b => b.name)expect(i2vNames.some(n => n.includes('SVD'))).toBe(true)expect(i2vNames.some(n => n.includes('FramePack'))).toBe(true)@@ -219,13 +223,12 @@ describe('Shared File Deduplication', () => {expect(new Set(urls).size).toBe(1)})- it('cogvideox_vae is shared between CogVideoX bundles', () => {- const cogBundles = bundles.filter(b => b.workflow === 'cogvideo')- expect(cogBundles.length).toBe(2) // 5B I2V + 1.5 5B-- for (const b of cogBundles) {- const vae = b.files.find(f => f.filename === 'cogvideox_vae_bf16.safetensors')- expect(vae).toBeDefined()- }+ it('no CogVideoX files are offered anywhere any more', () => {+ // Was: "cogvideox_vae is shared between CogVideoX bundles". Both bundles are+ // gone (2026-07-24), so the sharing check is replaced by the stronger claim+ // that nothing in the catalogue still pulls a CogVideoX file down.+ expect(bundles.filter(b => b.workflow === 'cogvideo')).toEqual([])+ const cogFiles = bundles.flatMap(b => b.files).filter(f => (f.filename ?? '').includes('cogvideox'))+ expect(cogFiles.map(f => f.filename)).toEqual([])})})diff --git a/src/api/__tests__/comfyui-integration.test.ts b/src/api/__tests__/comfyui-integration.test.tsindex e6aae1d9..fcb25bef 100644--- a/src/api/__tests__/comfyui-integration.test.ts+++ b/src/api/__tests__/comfyui-integration.test.ts@@ -67,7 +67,10 @@ describe('Full Pipeline: Bundle → Strategy for all 14 video bundles', () => {const modelType = workflowToModelType[workflow]expect(modelType).toBeDefined()- // 4. Verify strategy is available+ // 4. Verify strategy is available. The CogVideoX and Pyramid Flow bundles+ // were pulled on 2026-07-24 (their builders emitted node class names no+ // wrapper registers), so every bundle that is still listed here has to+ // resolve to a real strategy. No carve-outs.const result = determineStrategy(modelType as any, true, allNodesAvailable(), defaultModels)expect(result.strategy).not.toBe('unavailable')})diff --git a/src/api/__tests__/comfyui-models.test.ts b/src/api/__tests__/comfyui-models.test.tsindex b6fc1974..c6d63594 100644--- a/src/api/__tests__/comfyui-models.test.ts+++ b/src/api/__tests__/comfyui-models.test.ts@@ -268,16 +268,22 @@ describe('determineStrategy', () => {expect(r.strategy).toBe('unavailable')})- it('cogvideo → cogvideo (with wrapper nodes)', () => {- const nodes = makeNodes({ samplers: ['KSampler', 'CogVideoXSampler'] })+ // 2026-07-24 (D#88): these asserted a ComfyUI that does not exist —+ // `CogVideoXSampler` is registered by no version of kijai's wrapper (the real+ // class is `CogVideoSampler`), so the old "with wrapper nodes" fixture could+ // never occur on a real install. The lane is now honestly unavailable until+ // its builder is rebuilt against the actual node names.+ it('cogvideo → unavailable even WITH a full wrapper install (builder still fictional)', () => {+ const nodes = makeNodes({ samplers: ['KSampler', 'CogVideoSampler'] })const r = determineStrategy('cogvideo', true, nodes, emptyModels)- expect(r.strategy).toBe('cogvideo')+ expect(r.strategy).toBe('unavailable')})- it('cogvideo → unavailable without wrapper nodes', () => {+ it('cogvideo → unavailable without wrapper nodes, and does NOT blame the install', () => {const r = determineStrategy('cogvideo', true, makeNodes(), emptyModels)expect(r.strategy).toBe('unavailable')- expect(r.reason).toContain('CogVideoXWrapper')+ expect(r.reason).toContain('not supported in this build')+ expect(r.reason).not.toContain('Install')})it('framepack → framepack (with wrapper nodes)', () => {@@ -286,16 +292,19 @@ describe('determineStrategy', () => {expect(r.strategy).toBe('framepack')})- it('pyramidflow → pyramidflow (with wrapper nodes)', () => {+ // pyramidflow + allegro closed 2026-07-24 alongside cogvideo: their builders+ // emitted node names no wrapper registers, so having the sampler installed+ // never made the lane work. Wrapper nodes present must NOT reopen them.+ it('pyramidflow → unavailable even with wrapper nodes', () => {const nodes = makeNodes({ samplers: ['KSampler', 'PyramidFlowSampler'] })const r = determineStrategy('pyramidflow', true, nodes, emptyModels)- expect(r.strategy).toBe('pyramidflow')+ expect(r.strategy).toBe('unavailable')})- it('allegro → allegro (with wrapper nodes)', () => {+ it('allegro → unavailable even with wrapper nodes', () => {const nodes = makeNodes({ samplers: ['KSampler', 'AllegroSampler'] })const r = determineStrategy('allegro', true, nodes, emptyModels)- expect(r.strategy).toBe('allegro')+ expect(r.strategy).toBe('unavailable')})it('sd15 + animatediff + motion models → animatediff', () => {diff --git a/src/api/__tests__/comfyui-workflows.test.ts b/src/api/__tests__/comfyui-workflows.test.tsindex 9ed12a81..e878a773 100644--- a/src/api/__tests__/comfyui-workflows.test.ts+++ b/src/api/__tests__/comfyui-workflows.test.ts@@ -51,10 +51,10 @@ describe('determineStrategy — all 15 model types', () => {['mochi', 'unet_mochi'],['cosmos', 'unet_cosmos'],['svd', 'svd'],- ['cogvideo', 'cogvideo'],+ // cogvideo, pyramidflow and allegro deliberately absent: all three lanes are+ // unavailable by design until their builders are rebuilt against a real+ // wrapper registry (D#88 audit). Their assertions live below.['framepack', 'framepack'],- ['pyramidflow', 'pyramidflow'],- ['allegro', 'allegro'],['flux', 'unet_flux'],['flux2', 'unet_flux2'],['zimage', 'unet_zimage'],@@ -93,10 +93,14 @@ describe('determineStrategy — missing nodes', () => {motion: [],}- it('cogvideo without CogVideoXSampler → unavailable', () => {+ // D#88: the old assertion demanded we tell the user to install a pack they+ // already had. The lane is unavailable for OUR reason (fictional node names in+ // the builder), so the message must not point at their setup.+ it('cogvideo → unavailable, and the reason does not blame the users install', () => {const r = determineStrategy('cogvideo', true, minimalNodes, defaultModels)expect(r.strategy).toBe('unavailable')- expect(r.reason).toContain('CogVideoXWrapper')+ expect(r.reason).toContain('not supported in this build')+ expect(r.reason).not.toContain('CogVideoXWrapper')})it('framepack without FramePackSampler → unavailable', () => {@@ -111,16 +115,20 @@ describe('determineStrategy — missing nodes', () => {expect(r.reason).toContain('ImageOnlyCheckpointLoader')})- it('allegro without AllegroSampler → unavailable', () => {+ // The reason must no longer name a pack to install. Pointing a user at a+ // wrapper they cannot fix anything with is what made D#88 so confusing.+ it('allegro → unavailable, and does not blame the install', () => {const r = determineStrategy('allegro', true, minimalNodes, defaultModels)expect(r.strategy).toBe('unavailable')- expect(r.reason).toContain('ComfyUI-Allegro')+ expect(r.reason).toContain('not supported')+ expect(r.reason).not.toContain('Install')})- it('pyramidflow without PyramidFlowSampler → unavailable', () => {+ it('pyramidflow → unavailable, and does not blame the install', () => {const r = determineStrategy('pyramidflow', true, minimalNodes, defaultModels)expect(r.strategy).toBe('unavailable')- expect(r.reason).toContain('PyramidFlowWrapper')+ expect(r.reason).toContain('not supported')+ expect(r.reason).not.toContain('Install')})})@@ -133,12 +141,13 @@ describe('Every video bundle workflow type has a strategy', () => {['hunyuan', 'hunyuan'],['ltx', 'ltx'],['animatediff', 'sd15'],- ['cogvideo', 'cogvideo'],+ // cogvideo, pyramidflow and allegro are no longer in getVideoBundles(): the+ // 2026-07-24 audit pulled their bundles because none of the three lanes+ // could run. Nothing left in the catalogue points at them, so nothing here+ // needs to claim they have a strategy.['framepack', 'framepack'],['svd', 'svd'],['mochi', 'mochi'],- ['pyramidflow', 'pyramidflow'],- ['allegro', 'allegro'],['cosmos', 'cosmos'],]diff --git a/src/api/__tests__/dynamic-workflow-strategy.test.ts b/src/api/__tests__/dynamic-workflow-strategy.test.tsindex cf86bc50..1e91589b 100644--- a/src/api/__tests__/dynamic-workflow-strategy.test.ts+++ b/src/api/__tests__/dynamic-workflow-strategy.test.ts@@ -99,9 +99,11 @@ describe('dynamic-workflow — determineStrategy', () => {expect(result.strategy).toBe('svd')})- it('cogvideo model -> cogvideo strategy', () => {+ // D#88: cogvideo can never reach its strategy — the builder emits node class+ // names that exist in no version of the wrapper, so the lane is gated off.+ it('cogvideo model -> unavailable (lane gated until the builder is rebuilt)', () => {const result = determineStrategy('cogvideo', true, makeNodes(), makeModels())- expect(result.strategy).toBe('cogvideo')+ expect(result.strategy).toBe('unavailable')})it('framepack model -> framepack strategy', () => {@@ -109,14 +111,14 @@ describe('dynamic-workflow — determineStrategy', () => {expect(result.strategy).toBe('framepack')})- it('pyramidflow model -> pyramidflow strategy', () => {+ it('pyramidflow model -> unavailable (builder removed, D#88 audit)', () => {const result = determineStrategy('pyramidflow', true, makeNodes(), makeModels())- expect(result.strategy).toBe('pyramidflow')+ expect(result.strategy).toBe('unavailable')})- it('allegro model -> allegro strategy', () => {+ it('allegro model -> unavailable (builder removed, D#88 audit)', () => {const result = determineStrategy('allegro', true, makeNodes(), makeModels())- expect(result.strategy).toBe('allegro')+ expect(result.strategy).toBe('unavailable')})it('animatediff: sdxl + video + motion models -> animatediff', () => {@@ -225,12 +227,14 @@ describe('dynamic-workflow — determineStrategy', () => {// ─── installHint (Bug #6 — Video architecture install paths) ───describe('install hints when wrapper nodes missing', () => {- it('cogvideo unavailable -> installHint with ComfyUI-CogVideoXWrapper', () => {+ // D#88: cogvideo carries NO installHint any more. Offering an install button+ // was the actual harm — the pack was already there and installing it again+ // could never help, because the gap is on our side.+ it('cogvideo unavailable -> no installHint, the blocker is ours not theirs', () => {const nodes = makeNodes({ samplers: ['KSampler'] })const result = determineStrategy('cogvideo', true, nodes, makeModels())expect(result.strategy).toBe('unavailable')- expect(result.installHint?.pack).toBe('ComfyUI-CogVideoXWrapper')- expect(result.installHint?.url).toContain('github.com')+ expect(result.installHint).toBeUndefined()})it('framepack unavailable -> installHint with ComfyUI-FramePackWrapper', () => {@@ -241,18 +245,22 @@ describe('dynamic-workflow — determineStrategy', () => {expect(result.installHint?.url).toContain('github.com')})- it('pyramidflow unavailable -> installHint with ComfyUI-PyramidFlowWrapper', () => {+ // No install hint for the three closed lanes. An install hint says "your+ // setup is missing something"; here the builder was the broken part, and+ // sending people off to install a wrapper is precisely the wrong turn D#88+ // sent bob80817-dev down.+ it('pyramidflow unavailable -> no installHint', () => {const nodes = makeNodes({ samplers: ['KSampler'] })const result = determineStrategy('pyramidflow', true, nodes, makeModels())expect(result.strategy).toBe('unavailable')- expect(result.installHint?.pack).toBe('ComfyUI-PyramidFlowWrapper')+ expect(result.installHint).toBeUndefined()})- it('allegro unavailable -> installHint with ComfyUI-Allegro', () => {+ it('allegro unavailable -> no installHint', () => {const nodes = makeNodes({ samplers: ['KSampler'] })const result = determineStrategy('allegro', true, nodes, makeModels())expect(result.strategy).toBe('unavailable')- expect(result.installHint?.pack).toBe('ComfyUI-Allegro')+ expect(result.installHint).toBeUndefined()})it('non-wrapper unavailable (flux without UNETLoader) has no installHint', () => {diff --git a/src/api/__tests__/model-capabilities.test.ts b/src/api/__tests__/model-capabilities.test.tsindex 07e4a257..8d9a8766 100644--- a/src/api/__tests__/model-capabilities.test.ts+++ b/src/api/__tests__/model-capabilities.test.ts@@ -69,12 +69,16 @@ describe('getModelCapabilities — real limits from /object_info', () => {expect(c!.availableSamplers).toBeUndefined() // FramePackSampler exposes no sampler_name enum})- it('CogVideoX → wrapper sampler (usesKSampler false), no sampler enum, fallback frameRange', async () => {+ it('CogVideoX → generic KSampler caps now that its lane is gone', async () => {+ // Until 2026-07-24 this asserted caps read off CogVideoXSampler and+ // CogVideoXEmptyLatents, neither of which kijai's wrapper has ever+ // registered. The lane was removed, so a CogVideoX file left on disk still+ // classifies and still shows caps, it just gets the generic KSampler view+ // and is stopped at generate time with an honest message.const c = await getModelCapabilities('CogVideoX_5b.safetensors')- expect(c!.usesKSampler).toBe(false)- expect(c!.availableSamplers).toBeUndefined()- expect(c!.stepsRange).toEqual({ min: 1, max: 200, default: 50 })- expect(c!.frameRange).toEqual({ min: 1, max: 49 }) // CogVideoXEmptyLatents absent → fallback+ expect(c!.modelType).toBe('cogvideo')+ expect(c!.usesKSampler).toBe(true)+ expect(c!.frameRange).toBeUndefined()})it('unknown model → PARTIAL caps (KSampler enums), NOT null', async () => {diff --git a/src/api/__tests__/wrapper-node-names.test.ts b/src/api/__tests__/wrapper-node-names.test.tsnew file mode 100644index 00000000..9d6d897a--- /dev/null+++ b/src/api/__tests__/wrapper-node-names.test.ts@@ -0,0 +1,180 @@+/**+ * Node name pin. Every class_type the workflow builder emits has to come from+ * somewhere real: either ComfyUI core, or a custom node pack whose registry we+ * have actually read.+ *+ * This exists because three video lanes shipped for months against node names+ * that were simply made up. CogVideoX asked for CogVideoXSampler,+ * CogVideoXTextEncode, CogVideoXEmptyLatents and CogVideoXVAEDecode; kijai's+ * wrapper registers CogVideoSampler, CogVideoTextEncode and CogVideoDecode and+ * has no empty latents node at all. Pyramid Flow asked for+ * PyramidFlowModelLoader and PyramidFlowDecode; the wrapper registers+ * PyramidFlowTransformerLoader and PyramidFlowVAEDecode. Allegro followed the+ * same invented shape. Every submit came back a ComfyUI 400, and because the+ * install gate looked for the invented sampler too, users with a perfect+ * install were told to go install what they already had (bob80817-dev, D#88).+ *+ * Nothing caught it because the unit tests asserted our own mock node lists,+ * which were built from the same invented names. So the mocks agreed with the+ * builder and both were wrong. This test breaks that circle by pinning against+ * registries copied out of real checkouts.+ *+ * Adding a node to the builder means adding it here, with a source. That is the+ * whole point: if you cannot say where a class_type comes from, it does not go+ * in a graph a user downloads gigabytes for.+ */+import { describe, it, expect } from 'vitest'+import { readFileSync } from 'node:fs'+import { join } from 'node:path'+import { determineStrategy } from '../dynamic-workflow'+import type { CategorizedNodes, AvailableModels } from '../comfyui-nodes'+import type { ModelType } from '../comfyui'++const BUILDER_SRC = join(__dirname, '..', 'dynamic-workflow.ts')++/**+ * ComfyUI core nodes. Everything in this list is either a long-standing core+ * class or was exercised in a real generate on this machine while building the+ * local Create lanes (music / lipsync / motion / extend, 2026-07-19 onward).+ */+const CORE_NODES = new Set([+ // loaders + encoders+ 'CheckpointLoaderSimple', 'UNETLoader', 'CLIPLoader', 'DualCLIPLoader', 'VAELoader',+ 'ImageOnlyCheckpointLoader', 'CLIPVisionLoader', 'LoadImage', 'LoadImageMask', 'LoadAudio',+ 'LoadVideo', 'AudioEncoderLoader',+ // conditioning+ 'CLIPTextEncode', 'CLIPSetLastLayer', 'CLIPVisionEncode', 'ConditioningZeroOut',+ 'InpaintModelConditioning', 'AudioEncoderEncode', 'ModelSamplingSD3',+ 'SVD_img2vid_Conditioning', 'VideoLinearCFGGuidance',+ // latents+ 'EmptyLatentImage', 'EmptyLTXVLatentVideo', 'Wan22ImageToVideoLatent', 'TrimVideoLatent',+ 'WanSoundImageToVideo', 'WanAnimateToVideo', 'WanVaceToVideo',+ // sampling+ 'KSampler',+ // lora+ 'LoraLoader', 'LoraLoaderModelOnly',+ // decode + image ops+ 'VAEDecode', 'VAEDecodeAudio', 'VAEEncode', 'VAEEncodeForInpaint', 'ImageScale',+ 'GetVideoComponents', 'CreateVideo',+ // output+ 'SaveImage', 'SaveAnimatedWEBP', 'SaveVideo', 'SaveAudioMP3',+])++/**+ * Custom node packs, keyed by the pack LU tells the user to install. Each set is+ * the NODE_CLASS_MAPPINGS keys of a real checkout, not the class names in the+ * python file. ComfyUI dispatches on the mapping key, and Pyramid Flow is the+ * cautionary tale: its loader class is PyramidFlowModelLoader but it is+ * registered as PyramidFlowTransformerLoader, so the class name was useless.+ */+const CUSTOM_PACK_NODES: Record<string, Set<string>> = {+ // kijai/ComfyUI-FramePackWrapper, nodes.py NODE_CLASS_MAPPINGS, read 2026-07-24+ 'ComfyUI-FramePackWrapper': new Set([+ 'DownloadAndLoadFramePackModel', 'FramePackSampler', 'FramePackTorchCompileSettings',+ 'FramePackFindNearestBucket', 'LoadFramePackModel', 'FramePackLoraSelect',+ 'FramePackSingleFrameSampler',+ ]),+ // Kosinkadink/ComfyUI-AnimateDiff-Evolved, the three nodes our chain uses+ 'ComfyUI-AnimateDiff-Evolved': new Set([+ 'ADE_LoadAnimateDiffModel', 'ADE_ApplyAnimateDiffModelSimple', 'ADE_UseEvolvedSampling',+ ]),+ // Kosinkadink/ComfyUI-VideoHelperSuite+ 'ComfyUI-VideoHelperSuite': new Set(['VHS_VideoCombine']),+ // 1038lab/ComfyUI-RMBG+ 'ComfyUI-RMBG': new Set(['RMBG']),+ // Fannovel16/comfyui_controlnet_aux+ 'comfyui_controlnet_aux': new Set(['DWPreprocessor']),+ // city96/ComfyUI-GGUF+ 'ComfyUI-GGUF': new Set(['UnetLoaderGGUF']),+}++/** Names proven not to exist in any release of the pack LU pointed at. */+const INVENTED_NAMES = [+ 'CogVideoXSampler', 'CogVideoXTextEncode', 'CogVideoXEmptyLatents', 'CogVideoXVAEDecode',+ 'CogVideoXCLIPLoader', 'PyramidFlowModelLoader', 'PyramidFlowDecode',+]++function emittedClassTypes(): string[] {+ const src = readFileSync(BUILDER_SRC, 'utf8')+ const out = new Set<string>()+ for (const m of src.matchAll(/class_type:\s*'([A-Za-z0-9_]+)'/g)) out.add(m[1])+ return [...out].sort()+}++function knownNode(name: string): boolean {+ if (CORE_NODES.has(name)) return true+ return Object.values(CUSTOM_PACK_NODES).some((pack) => pack.has(name))+}++describe('workflow builder emits only node names we have verified', () => {+ it('finds class_types to check (guards against the regex silently matching nothing)', () => {+ expect(emittedClassTypes().length).toBeGreaterThan(30)+ })++ it('every emitted class_type is core ComfyUI or a verified custom pack node', () => {+ const unknown = emittedClassTypes().filter((n) => !knownNode(n))+ expect(+ unknown,+ `Unknown class_type(s): ${unknown.join(', ')}.\n` ++ 'Add each to CORE_NODES or to the CUSTOM_PACK_NODES entry for the pack that\n' ++ 'registers it, and say in the comment where you read the registry. If you\n' ++ 'cannot find it in a real checkout, the node does not exist and the graph\n' ++ 'will come back as a ComfyUI 400.',+ ).toEqual([])+ })++ it('the invented names never come back', () => {+ const src = readFileSync(BUILDER_SRC, 'utf8')+ for (const name of INVENTED_NAMES) {+ // The audit comments mention these names on purpose, so only a real+ // class_type emission counts as a regression.+ expect(src, `${name} is emitted again`).not.toMatch(+ new RegExp(`class_type:\\s*'${name}'`),+ )+ }+ })+})++describe('lanes whose builders were removed stay closed', () => {+ // Every node these lanes ever asked for, present. A gate that reopens on node+ // presence would fail here, which is exactly what we want to catch.+ const allNodes: CategorizedNodes = {+ loaders: [+ 'UNETLoader', 'CheckpointLoaderSimple', 'CLIPLoader', 'VAELoader',+ 'CogVideoXModelLoader', 'CogVideoXCLIPLoader', 'CogVideoXVAELoader',+ 'PyramidFlowTransformerLoader', 'PyramidFlowModelLoader', 'PyramidFlowVAELoader',+ 'AllegroModelLoader',+ ],+ samplers: [+ 'KSampler', 'CogVideoSampler', 'CogVideoXSampler',+ 'PyramidFlowSampler', 'AllegroSampler',+ ],+ latentInit: ['EmptyLatentImage', 'CogVideoXEmptyLatents'],+ textEncoders: [+ 'CLIPTextEncode', 'CogVideoTextEncode', 'CogVideoXTextEncode',+ 'PyramidFlowTextEncode', 'AllegroTextEncode',+ ],+ decoders: [+ 'VAEDecode', 'CogVideoDecode', 'CogVideoXVAEDecode',+ 'PyramidFlowVAEDecode', 'PyramidFlowDecode', 'AllegroDecoder',+ ],+ savers: ['SaveImage'],+ videoSavers: ['VHS_VideoCombine', 'SaveAnimatedWEBP'],+ motion: [],+ }+ const models: AvailableModels = {+ checkpoints: ['test.safetensors'], unets: ['test_unet.safetensors'],+ vaes: ['test_vae.safetensors'], clips: ['test_clip.safetensors'],+ loras: [], controlnets: [], ipadapters: [], motionModels: [],+ }++ for (const type of ['cogvideo', 'pyramidflow', 'allegro'] as ModelType[]) {+ it(`${type} resolves to unavailable even with every node installed`, () => {+ const result = determineStrategy(type, true, allNodes, models)+ expect(result.strategy).toBe('unavailable')+ // No install hint: the user's install is not the problem, ours is.+ expect(result.installHint).toBeUndefined()+ expect(result.reason.length).toBeGreaterThan(20)+ })+ }+})diff --git a/src/api/comfyui-nodes.ts b/src/api/comfyui-nodes.tsindex 49f38416..e3842ae3 100644--- a/src/api/comfyui-nodes.ts+++ b/src/api/comfyui-nodes.ts@@ -230,8 +230,8 @@ export interface ModelCapabilities {widthRange?: { min: number; max: number; step?: number }heightRange?: { min: number; max: number; step?: number }/**- * false for wrapper samplers (CogVideoX / Pyramid / Allegro / FramePack) that- * expose no sampler_name/scheduler enum → callers skip enum validation for them.+ * false for wrapper samplers (FramePack) that expose no sampler_name/scheduler+ * enum → callers skip enum validation for them.*/usesKSampler: booleandiscoveryErrors?: string[]@@ -254,9 +254,9 @@ export function clearCapabilityCache() {*/function getSamplerNodeForCaps(type: ModelType): { node: string; usesKSampler: boolean } {switch (type) {- case 'cogvideo': return { node: 'CogVideoXSampler', usesKSampler: false }- case 'pyramidflow': return { node: 'PyramidFlowSampler', usesKSampler: false }- case 'allegro': return { node: 'AllegroSampler', usesKSampler: false }+ // cogvideo / pyramidflow / allegro dropped 2026-07-24 with their lanes: the+ // names here were part of the same invention (CogVideoXSampler is not a real+ // class), and those model types can no longer reach a builder anyway.case 'framepack': return { node: 'FramePackSampler', usesKSampler: false }default: return { node: 'KSampler', usesKSampler: true }}@@ -333,15 +333,6 @@ export async function getModelCapabilities(model: string): Promise<ModelCapabiliif (!tsl) caps.discoveryErrors!.push('framepack total_second_length absent — using 120s fallback')break}- case 'cogvideo':- caps.frameRange = frameFrom('CogVideoXEmptyLatents', 'frames', 1, 49)- break- case 'pyramidflow':- caps.frameRange = frameFrom('PyramidFlowSampler', 'frames', 1, 16)- break- case 'allegro':- caps.frameRange = frameFrom('AllegroSampler', 'frames', 1, 88)- breakcase 'wan':case 'hunyuan':case 'ltx':diff --git a/src/api/discover.ts b/src/api/discover.tsindex ade0958c..43529ca2 100644--- a/src/api/discover.ts+++ b/src/api/discover.ts@@ -1585,77 +1585,16 @@ export function getVideoBundles(): ModelBundle[] {},],},- {- name: 'CogVideoX 5B I2V',- description: 'CogVideoX 5B Image to Video by Tsinghua. Upload an image, get video. Needs 12+ GB VRAM.',- tags: ['CogVideoX', 'I2V', 'Quality'],- uncensored: true,- verified: true,- i2v: true,- totalSizeGB: 21.2,- vramRequired: '12+ GB',- workflow: 'cogvideo',- customNodes: ['cogvideox-wrapper'],- url: 'https://huggingface.co/Kijai/CogVideoX-comfy',- files: [- {- name: 'CogVideoX 5B I2V Model',- description: 'Main image to video generation model.',- pulls: '', tags: ['Model', '11.3 GB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/CogVideoX-comfy/resolve/main/CogVideoX_1_0_5b_I2V_bf16.safetensors',- filename: 'CogVideoX_1_0_5b_I2V_bf16.safetensors', subfolder: 'diffusion_models', sizeGB: 11.3,- },- {- name: 'CogVideoX VAE',- description: 'Required video encoder/decoder.',- pulls: '', tags: ['VAE', '430 MB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/CogVideoX-comfy/resolve/main/cogvideox_vae_bf16.safetensors',- filename: 'cogvideox_vae_bf16.safetensors', subfolder: 'vae', sizeGB: 0.4,- },- {- name: 'T5-XXL Text Encoder (FP16)',- description: 'Required text encoder (shared with other models).',- pulls: '', tags: ['Text Encoder', '9.5 GB'], updated: '',- downloadUrl: 'https://huggingface.co/Comfy-Org/mochi_preview_repackaged/resolve/main/split_files/text_encoders/t5xxl_fp16.safetensors',- filename: 't5xxl_fp16.safetensors', subfolder: 'text_encoders', sizeGB: 9.5,- },- ],- },- {- name: 'CogVideoX 1.5 5B',- description: 'Larger CogVideoX with 1360x768 output. Better quality, needs 16 GB VRAM.',- tags: ['CogVideoX 1.5', '1360x768', 'Quality'],- uncensored: true,- verified: true,- totalSizeGB: 20.9,- vramRequired: '16+ GB',- workflow: 'cogvideo',- customNodes: ['cogvideox-wrapper'],- url: 'https://huggingface.co/Kijai/CogVideoX-comfy',- files: [- {- name: 'CogVideoX 1.5 5B Model',- description: 'Higher quality video model with wider resolution.',- pulls: '', tags: ['Model', '11.1 GB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/CogVideoX-comfy/resolve/main/CogVideoX_1_5_5b_T2V_bf16.safetensors',- filename: 'CogVideoX_1_5_5b_T2V_bf16.safetensors', subfolder: 'diffusion_models', sizeGB: 11.1,- },- {- name: 'CogVideoX VAE',- description: 'Required video encoder/decoder.',- pulls: '', tags: ['VAE', '430 MB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/CogVideoX-comfy/resolve/main/cogvideox_vae_bf16.safetensors',- filename: 'cogvideox_vae_bf16.safetensors', subfolder: 'vae', sizeGB: 0.4,- },- {- name: 'T5-XXL Text Encoder (FP16)',- description: 'Required text encoder (shared with other models).',- pulls: '', tags: ['Text Encoder', '9.5 GB'], updated: '',- downloadUrl: 'https://huggingface.co/Comfy-Org/mochi_preview_repackaged/resolve/main/split_files/text_encoders/t5xxl_fp16.safetensors',- filename: 't5xxl_fp16.safetensors', subfolder: 'text_encoders', sizeGB: 9.5,- },- ],- },+ // CogVideoX removed 2026-07-24 (D#88) · both bundles were 21 GB of download+ // for a lane that could never run. buildCogVideoWorkflow emits five class+ // types that exist in no version of kijai/ComfyUI-CogVideoXWrapper+ // (CogVideoXCLIPLoader, CogVideoXTextEncode, CogVideoXEmptyLatents,+ // CogVideoXSampler, CogVideoXVAEDecode · the real names are CogVideoTextEncode,+ // CogVideoSampler, CogVideoDecode and there is no empty latents node at all),+ // so every submit came back a 400. Verified against a real checkout of the+ // wrapper. Offering the download again needs a rebuilt builder plus a real+ // end to end run, not a rename. Wan, LTX and SVD cover the same ground and+ // are proven.{name: 'FramePack F1 (Image to Video)',description: 'Revolutionary I2V: runs on 6 GB VRAM via next frame prediction. Upload an image, get a video. Uses HunyuanVideo backbone.',@@ -1758,32 +1697,16 @@ export function getVideoBundles(): ModelBundle[] {},],},- {- name: 'Pyramid Flow MiniFlux v2',- description: 'Pyramid style temporal generation based on SD3. 768x1280 output. Experimental but interesting results.',- tags: ['Pyramid Flow', '768x1280', 'Experimental'],- totalSizeGB: 4.6,- vramRequired: '16+ GB',- workflow: 'pyramidflow',- customNodes: ['pyramidflow-wrapper'],- url: 'https://huggingface.co/Kijai/pyramid-flow-comfy',- files: [- {- name: 'Pyramid Flow MiniFlux v2',- description: 'Main video generation model.',- pulls: '', tags: ['Model', '3.9 GB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/pyramid-flow-comfy/resolve/main/pyramid_flow_miniflux_bf16_v2.safetensors',- filename: 'pyramid_flow_miniflux_bf16_v2.safetensors', subfolder: 'diffusion_models', sizeGB: 3.9,- },- {- name: 'Pyramid Flow VAE',- description: 'Required video encoder/decoder.',- pulls: '', tags: ['VAE', '670 MB'], updated: '',- downloadUrl: 'https://huggingface.co/Kijai/pyramid-flow-comfy/resolve/main/pyramid_flow_vae_bf16.safetensors',- filename: 'pyramid_flow_vae_bf16.safetensors', subfolder: 'vae', sizeGB: 0.7,- },- ],- },+ // Pyramid Flow removed 2026-07-24 (same audit as CogVideoX) · the builder was+ // written against invented node names too. Checked against a real checkout of+ // kijai/ComfyUI-PyramidFlowWrapper: the loader is registered as+ // PyramidFlowTransformerLoader (not PyramidFlowModelLoader), decode is+ // PyramidFlowVAEDecode (not PyramidFlowDecode) and needs a vae input we never+ // wired, the text encoder takes clip + positive_prompt + negative_prompt (we+ // passed a single `text` and no CLIP at all), and the sampler wants+ // prompt_embeds plus per stage step strings rather than steps and frames. That+ // is a rewrite, not a rename, so the 4.6 GB download comes back only with a+ // real run behind it.// Allegro removed · diffusers format only, no single-file safetensors available for one-click install{name: 'NVIDIA Cosmos 7B',diff --git a/src/api/dynamic-workflow.ts b/src/api/dynamic-workflow.tsindex 727340da..9ca7e14f 100644--- a/src/api/dynamic-workflow.ts+++ b/src/api/dynamic-workflow.ts@@ -50,10 +50,10 @@ export type WorkflowStrategy =| 'unet_mochi' // Mochi: UNETLoader + CLIPLoader + VAELoader + EmptyMochiLatentVideo| 'unet_cosmos' // Cosmos: UNETLoader + CLIPLoader(oldt5) + VAELoader + EmptyCosmosLatentVideo| 'svd' // SVD: ImageOnlyCheckpointLoader + SVD_img2vid_Conditioning- | 'cogvideo' // CogVideoX: Kijai wrapper nodes| 'framepack' // FramePack: Kijai wrapper + image input- | 'pyramidflow' // Pyramid Flow: Kijai wrapper nodes- | 'allegro' // Allegro: Community wrapper nodes+ // cogvideo / pyramidflow / allegro are gone on purpose (2026-07-24). Their+ // builders emitted node names no wrapper registers, so those model types now+ // resolve to 'unavailable' with an honest reason instead of a ComfyUI 400.| 'checkpoint' // SDXL/SD1.5: CheckpointLoaderSimple + EmptyLatentImage| 'animatediff' // AnimateDiff: CheckpointLoaderSimple + ADE_* nodes| 'unavailable'@@ -169,16 +169,25 @@ export function determineStrategy(return { strategy: 'unavailable', reason: 'SVD requires ImageOnlyCheckpointLoader node' }}- // CogVideoX → Kijai wrapper nodes+ // CogVideoX → Kijai wrapper nodes.+ //+ // 2026-07-24 (bob80817-dev, D#88 "it says I'm missing custom nodes, but they+ // are there"): he was right. The gate looked for `CogVideoXSampler`, which has+ // never existed in kijai/ComfyUI-CogVideoXWrapper — the real class is+ // `CogVideoSampler` (verified against a real checkout; `git log -S` upstream+ // finds the X-name in no commit ever). So a perfect install always failed the+ // check and the user was told to go install what they already had.+ //+ // The gate deliberately STAYS closed rather than being pointed at the real+ // name, because buildCogVideoWorkflow below emits the same invented names+ // throughout (CogVideoXTextEncode / CogVideoXEmptyLatents / CogVideoXVAEDecode+ // — none real). Opening it would only trade this clear message for an opaque+ // ComfyUI 400. The lane needs a rebuild against the current wrapper plus a+ // real generate E2E; until then say so honestly instead of blaming the setup.if (modelType === 'cogvideo') {- const hasCogNodes = nodes.samplers.includes('CogVideoXSampler')- if (hasCogNodes) {- return { strategy: 'cogvideo', reason: 'CogVideoX → Kijai wrapper pipeline' }- }return {strategy: 'unavailable',- reason: 'CogVideoX needs the ComfyUI-CogVideoXWrapper custom nodes. Install via ComfyUI Manager (Manager → Install Custom Nodes → search "CogVideoXWrapper") or git clone the repo into ComfyUI/custom_nodes/.',- installHint: { pack: 'ComfyUI-CogVideoXWrapper', url: 'https://github.com/kijai/ComfyUI-CogVideoXWrapper' },+ reason: 'CogVideoX is not supported in this build yet. Its pipeline needs a rebuild against the current wrapper, so please pick another video model such as Wan, LTX or SVD for now.',}}@@ -195,29 +204,39 @@ export function determineStrategy(}}- // Pyramid Flow → Kijai wrapper nodes+ // Pyramid Flow → Kijai wrapper nodes.+ //+ // Closed for the same reason as CogVideoX above, found in the same 2026-07-24+ // audit. The gate itself was fine (PyramidFlowSampler is real), but+ // buildPyramidFlowWorkflow was written against a wrapper nobody checked:+ // the loader is registered as PyramidFlowTransformerLoader, decode is+ // PyramidFlowVAEDecode and wants a vae input we never wired, the text encoder+ // takes clip plus positive_prompt plus negative_prompt rather than a bare+ // `text`, and the sampler consumes prompt_embeds plus per stage step strings+ // instead of steps and frames. So a correct install got a 400 with no clue+ // why. Same deal as CogVideoX: reopen only with a rebuilt builder and a real+ // generate behind it.if (modelType === 'pyramidflow') {- const hasPFNodes = nodes.samplers.includes('PyramidFlowSampler')- if (hasPFNodes) {- return { strategy: 'pyramidflow', reason: 'Pyramid Flow → Kijai wrapper pipeline' }- }return {strategy: 'unavailable',- reason: 'Pyramid Flow needs the ComfyUI-PyramidFlowWrapper custom nodes. Install via ComfyUI Manager or git clone into ComfyUI/custom_nodes/.',- installHint: { pack: 'ComfyUI-PyramidFlowWrapper', url: 'https://github.com/kijai/ComfyUI-PyramidFlowWrapper' },+ reason: 'Pyramid Flow is not supported in this build yet. Its pipeline needs a rebuild against the current wrapper, so please pick another video model such as Wan, LTX or SVD for now.',}}- // Allegro → Community wrapper nodes+ // Allegro → Community wrapper nodes.+ //+ // Also closed in the 2026-07-24 audit. Every other wrapper lane in this file+ // that was never run turned out to emit invented node names, and Allegro is+ // the one we cannot check: the wrapper it points at is a single community+ // repo we have never had installed, its bundle was already pulled from the+ // catalogue for being diffusers-only, and the builder follows the exact+ // Loader/TextEncode/Sampler/Decoder shape that was wrong in both other cases.+ // Unverifiable plus unreachable through the catalogue means it stays shut+ // rather than shipping a third guess.if (modelType === 'allegro') {- const hasAllegroNodes = nodes.samplers.includes('AllegroSampler')- if (hasAllegroNodes) {- return { strategy: 'allegro', reason: 'Allegro → Community wrapper pipeline' }- }return {strategy: 'unavailable',- reason: 'Allegro needs the ComfyUI-Allegro community wrapper nodes (search "Allegro" in ComfyUI Manager → Install Custom Nodes).',- installHint: { pack: 'ComfyUI-Allegro', url: 'https://github.com/rhajou/ComfyUI-Allegro' },+ reason: 'Allegro is not supported in this build. Please pick another video model such as Wan, LTX or SVD.',}}@@ -401,9 +420,6 @@ export async function buildDynamicWorkflow(// ─── Wrapper Strategies (custom node pipelines — completely different node chains) ───- if (strategy === 'cogvideo') {- return buildCogVideoWorkflow(params as VideoParams, seed, nodes)- }if (strategy === 'svd') {return buildSVDWorkflow(params as VideoParams, seed, nodes)}@@ -413,12 +429,6 @@ export async function buildDynamicWorkflow(if (strategy === 'framepack') {return buildFramePackWorkflow(params as VideoParams, seed, nodes)}- if (strategy === 'pyramidflow') {- return buildPyramidFlowWorkflow(params as VideoParams, seed, nodes)- }- if (strategy === 'allegro') {- return buildAllegroWorkflow(params as VideoParams, seed, nodes)- }// ─── Standard Strategies (UNET/Checkpoint → CLIP → Latent → KSampler → VAEDecode) ───@@ -1070,32 +1080,12 @@ function addVideoOutput(workflow: Record<string, any>, n: number, decodeId: strireturn n}-function buildCogVideoWorkflow(params: VideoParams, seed: number, nodes: CategorizedNodes): Record<string, any> {- const workflow: Record<string, any> = {}- let n = 1-- const modelId = String(n++)- const clipId = String(n++)- const posId = String(n++)- const negId = String(n++)- const latentId = String(n++)- const samplerId = String(n++)- const decodeId = String(n++)-- workflow[modelId] = { class_type: 'CogVideoXModelLoader', inputs: { model: params.model } }- workflow[clipId] = { class_type: 'CogVideoXCLIPLoader', inputs: { clip_name: 't5xxl_fp16.safetensors' } }- workflow[posId] = { class_type: 'CogVideoXTextEncode', inputs: { text: params.prompt, clip: [clipId, 0] } }- workflow[negId] = { class_type: 'CogVideoXTextEncode', inputs: { text: params.negativePrompt || '', clip: [clipId, 0] } }- workflow[latentId] = { class_type: 'CogVideoXEmptyLatents', inputs: { width: params.width, height: params.height, frames: params.frames, batch_size: 1 } }- workflow[samplerId] = {- class_type: 'CogVideoXSampler',- inputs: { model: [modelId, 0], positive: [posId, 0], negative: [negId, 0], latents: [latentId, 0], seed, steps: params.steps, cfg: params.cfgScale },- }- workflow[decodeId] = { class_type: 'CogVideoXVAEDecode', inputs: { samples: [samplerId, 0], vae: [modelId, 1] } }-- addVideoOutput(workflow, n, decodeId, params.fps, nodes, params.prompt)- return workflow-}+// buildCogVideoWorkflow deleted 2026-07-24 (D#88). It emitted CogVideoXCLIPLoader,+// CogVideoXTextEncode, CogVideoXEmptyLatents, CogVideoXSampler and+// CogVideoXVAEDecode, none of which are registered by kijai's wrapper, so it+// only ever produced ComfyUI 400s. Kept out of the tree on purpose: leaving a+// known-wrong graph around invites someone to just reopen the gate. Git history+// has it if the lane is ever rebuilt, which needs a real generate to land.function buildSVDWorkflow(params: VideoParams, seed: number, nodes: CategorizedNodes): Record<string, any> {const workflow: Record<string, any> = {}@@ -1663,46 +1653,10 @@ function buildFramePackWorkflow(params: VideoParams, seed: number, nodes: Categoreturn workflow}-function buildPyramidFlowWorkflow(params: VideoParams, seed: number, nodes: CategorizedNodes): Record<string, any> {- const workflow: Record<string, any> = {}- let n = 1-- const modelId = String(n++)- const vaeId = String(n++)- const posId = String(n++)- const samplerId = String(n++)- const decodeId = String(n++)-- workflow[modelId] = { class_type: 'PyramidFlowModelLoader', inputs: { model: params.model } }- workflow[vaeId] = { class_type: 'PyramidFlowVAELoader', inputs: { vae: 'pyramid_flow_vae_bf16.safetensors' } }- workflow[posId] = { class_type: 'PyramidFlowTextEncode', inputs: { text: params.prompt } }- workflow[samplerId] = {- class_type: 'PyramidFlowSampler',- inputs: { model: [modelId, 0], vae: [vaeId, 0], text: [posId, 0], seed, steps: params.steps, cfg: params.cfgScale, width: params.width, height: params.height, frames: params.frames },- }- workflow[decodeId] = { class_type: 'PyramidFlowDecode', inputs: { samples: [samplerId, 0] } }-- addVideoOutput(workflow, n, decodeId, params.fps, nodes, params.prompt)- return workflow-}--function buildAllegroWorkflow(params: VideoParams, seed: number, nodes: CategorizedNodes): Record<string, any> {- const workflow: Record<string, any> = {}- let n = 1-- const modelId = String(n++)- const posId = String(n++)- const samplerId = String(n++)- const decodeId = String(n++)-- workflow[modelId] = { class_type: 'AllegroModelLoader', inputs: { model: params.model } }- workflow[posId] = { class_type: 'AllegroTextEncode', inputs: { text: params.prompt } }- workflow[samplerId] = {- class_type: 'AllegroSampler',- inputs: { model: [modelId, 0], text: [posId, 0], seed, steps: params.steps, cfg: params.cfgScale, width: params.width, height: params.height, frames: params.frames },- }- workflow[decodeId] = { class_type: 'AllegroDecoder', inputs: { samples: [samplerId, 0] } }-- addVideoOutput(workflow, n, decodeId, params.fps, nodes, params.prompt)- return workflow-}+// buildPyramidFlowWorkflow and buildAllegroWorkflow deleted 2026-07-24, same+// audit and same reason as buildCogVideoWorkflow above. Pyramid Flow named the+// loader PyramidFlowModelLoader (registered as PyramidFlowTransformerLoader),+// decoded through a PyramidFlowDecode that does not exist, and fed the sampler+// steps and frames where it wants prompt_embeds and per stage step strings.+// Allegro followed the identical invented shape against a wrapper we have never+// had installed. Both are recoverable from git history for a rebuild.diff --git a/src/api/preflight.ts b/src/api/preflight.tsindex f241978f..60c4de57 100644--- a/src/api/preflight.ts+++ b/src/api/preflight.ts@@ -68,12 +68,18 @@ export async function preflightCheck(nodes: ['LoadFramePackModel', 'FramePackSampler'],installHint: 'ComfyUI-FramePackWrapper custom nodes. Install via Discover > Video > FramePack bundle.',},+ // Node class names verified 2026-07-24 against real checkouts of both+ // wrappers. Kijai's CogVideoX pack registers CogVideoSampler, NOT+ // CogVideoXSampler (only the LOADER carries the X), and PyramidFlow+ // registers PyramidFlowTransformerLoader, not PyramidFlowModelLoader. The+ // old names matched nothing, so a correct install was reported as missing+ // (bob80817-dev, D#88).cogvideo: {- nodes: ['CogVideoXModelLoader', 'CogVideoXSampler'],+ nodes: ['CogVideoXModelLoader', 'CogVideoSampler'],installHint: 'ComfyUI-CogVideoXWrapper custom nodes. Install from Model Manager.',},pyramidflow: {- nodes: ['PyramidFlowModelLoader', 'PyramidFlowSampler'],+ nodes: ['PyramidFlowTransformerLoader', 'PyramidFlowSampler'],installHint: 'ComfyUI-PyramidFlowWrapper custom nodes. Install from Model Manager.',},allegro: {@@ -84,7 +90,12 @@ export async function preflightCheck(const customCheck = customNodeModels[modelType]if (customCheck) {- const allNodeNames = [...nodes.loaders, ...nodes.samplers, ...nodes.conditioning, ...nodes.decoders]+ // `CategorizedNodes` has no `conditioning` field (it is `textEncoders`), so+ // this spread was `[...undefined]` — a TypeError that useCreate swallowed,+ // making preflight return null for exactly the four families below. That is+ // why nobody got the early "custom nodes missing" warning and everyone hit+ // the failure at generate time instead.+ const allNodeNames = [...nodes.loaders, ...nodes.samplers, ...nodes.textEncoders, ...nodes.decoders]const missing = customCheck.nodes.filter(n => !allNodeNames.includes(n))if (missing.length > 0) {errors.push({