Fix vendored ComfyUI extension imports

This commit is contained in:
2026-11-19 09:56:26 +00:00
parent 272069e5f1
commit ca3c66c2af
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const NODE_CLASS = "DumasH3Continuum_H3DecodeCacheHelper"; const NODE_CLASS = "DumasH3Continuum_H3DecodeCacheHelper";
const MAX_TOKEN = 2147483647; const MAX_TOKEN = 2147483647;
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { configureEasyBypassToggleNode } from "./easy_bypass_toggle.js"; import { configureEasyBypassToggleNode } from "./easy_bypass_toggle.js";
const EASY_LOAD_AUDIO_CLASS = "DumasH3Continuum_H3EasyLoadAudio"; const EASY_LOAD_AUDIO_CLASS = "DumasH3Continuum_H3EasyLoadAudio";
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { configureEasyBypassToggleNode } from "./easy_bypass_toggle.js"; import { configureEasyBypassToggleNode } from "./easy_bypass_toggle.js";
const EASY_LOAD_IMAGE_CLASS = "DumasH3Continuum_H3EasyLoadImage"; const EASY_LOAD_IMAGE_CLASS = "DumasH3Continuum_H3EasyLoadImage";
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const EASY_NODE_CLASS = "DumasH3Continuum_H3ContinuumEasyV38"; const EASY_NODE_CLASS = "DumasH3Continuum_H3ContinuumEasyV38";
const CUSTOM_PRESET = "Custom"; const CUSTOM_PRESET = "Custom";
+2 -2
View File
@@ -1,5 +1,5 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { api } from "../../scripts/api.js"; import { api } from "../../../scripts/api.js";
import { normalizeReferenceAudioLabels } from "./reference_audio_ui.js"; import { normalizeReferenceAudioLabels } from "./reference_audio_ui.js";
import { configureV39ReferenceImages, connectedV39LegacyReferenceInputs, pruneV39LegacyReferenceInputs, refreshV39ReferenceImagesForSampler } from "./reference_images_v39.js"; import { configureV39ReferenceImages, connectedV39LegacyReferenceInputs, pruneV39LegacyReferenceInputs, refreshV39ReferenceImagesForSampler } from "./reference_images_v39.js";
import { migrateReferenceImageInputs } from "./reference_image_ui.js"; import { migrateReferenceImageInputs } from "./reference_image_ui.js";
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const BUNDLE_NODE = "DumasH3Continuum_H3ContinuumReferenceImages"; const BUNDLE_NODE = "DumasH3Continuum_H3ContinuumReferenceImages";
const BUNDLE_INPUT = "image_references"; const BUNDLE_INPUT = "image_references";
+2 -2
View File
@@ -1,5 +1,5 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { api } from "../../scripts/api.js"; import { api } from "../../../scripts/api.js";
const words = { const words = {
en: { en: {
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const NODE_CLASS = "DumasH3Continuum_H3ContinuumSamplerV38"; const NODE_CLASS = "DumasH3Continuum_H3ContinuumSamplerV38";
const MODE = "video_reference_mode"; const MODE = "video_reference_mode";
+2 -2
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const TARGET_NODES = new Set([ const TARGET_NODES = new Set([
"DumasH3RefModPicker_H3RefModCreateFromFolder", "DumasH3RefModPicker_H3RefModCreateFromFolder",
@@ -389,4 +389,4 @@ app.registerExtension({
}, },
}); });
console.log("[H3RefModPicker] RefModCreate extension loaded"); console.log("[H3RefModPicker] RefModCreate extension loaded");
+3 -3
View File
@@ -1,5 +1,5 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { api } from "../../scripts/api.js"; import { api } from "../../../scripts/api.js";
function findWidget(node, name) { function findWidget(node, name) {
return node.widgets?.find((widget) => widget?.name === name) || null; return node.widgets?.find((widget) => widget?.name === name) || null;
@@ -113,4 +113,4 @@ app.registerExtension({
}, },
}); });
console.log("[H3RefModPicker] RefModLoader extension loaded"); console.log("[H3RefModPicker] RefModLoader extension loaded");
+3 -3
View File
@@ -1,5 +1,5 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { api } from "../../scripts/api.js"; import { api } from "../../../scripts/api.js";
const PLACEHOLDER_IMAGE_PATH = new URL("./placeholder.png", import.meta.url).href; const PLACEHOLDER_IMAGE_PATH = new URL("./placeholder.png", import.meta.url).href;
const DEFAULT_PICKER_NODE_SIZE = [240, 480]; const DEFAULT_PICKER_NODE_SIZE = [240, 480];
@@ -1227,4 +1227,4 @@ app.registerExtension({
}, },
}); });
console.log("[H3RefModPicker] VisualRefModPicker extension loaded"); console.log("[H3RefModPicker] VisualRefModPicker extension loaded");
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
export function installRefModApply(nodeType) { export function installRefModApply(nodeType) {
const created = nodeType.prototype.onNodeCreated; const created = nodeType.prototype.onNodeCreated;
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const modes = { training: "Compressed Reference", encode: "Full Reference" }; const modes = { training: "Compressed Reference", encode: "Full Reference" };
+2 -2
View File
@@ -1,5 +1,5 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
import { api } from "../../scripts/api.js"; import { api } from "../../../scripts/api.js";
import { openRefModLibrary } from "./library_dialog.js"; import { openRefModLibrary } from "./library_dialog.js";
export function updateRefModChoices(node, entries) { export function updateRefModChoices(node, entries) {
+1 -1
View File
@@ -1,4 +1,4 @@
import { app } from "../../scripts/app.js"; import { app } from "../../../scripts/app.js";
const SLOT = /^(?:mod_(?:[ab]_)?|strength_|copies_|value_|components_|visual_strength_|audio_strength_)(\d+)$/; const SLOT = /^(?:mod_(?:[ab]_)?|strength_|copies_|value_|components_|visual_strength_|audio_strength_)(\d+)$/;
const NONE = new Set(["", "None", "(none)"]); const NONE = new Set(["", "None", "(none)"]);