Compare commits

...

14 Commits
3.12.1 ... 3.14

Author SHA1 Message Date
Dr.Lt.Data
0a67145d80 code formatting 2025-02-02 14:40:11 +09:00
bymyself
2e55bc470c Add commands to toggle visibility of manager and custom nodes manager menus (#1505)
* Add commands for manager keybindings

* use more consistent isVisible condition check

* remove hide method in favor of super class's close method

* fix formatting

* fix tabs formatting
2025-02-02 14:37:04 +09:00
Dr.Lt.Data
cf0d038978 update DB 2025-02-02 14:33:35 +09:00
Dr.Lt.Data
92e7db1082 update DB 2025-02-02 14:30:30 +09:00
aiartvn
c45c47f935 Add A2V Multi Image Composite node (#1507)
* Update custom-node-list.json

* Update custom-node-list.json

* Update custom-node-list.json

* Update custom-node-list.json

* Update custom-node-list.json

* Update custom-node-list.json

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-02-02 14:29:27 +09:00
Dr.Lt.Data
341e27f9a3 update DB 2025-02-02 11:07:09 +09:00
ProGamerGov
ab167175c9 Add Preview 360 Panorma custom node (#1506)
* Update custom-node-list.json

* Update extension-node-map.json

* Update custom-node-list.json

* Update custom-node-list.json

* Update extension-node-map.json

---------

Co-authored-by: Dr.Lt.Data <128333288+ltdrdata@users.noreply.github.com>
2025-02-02 10:46:17 +09:00
Dr.Lt.Data
3c2933338f fixed: /manager/queue/status - race condition issue 2025-02-02 10:38:05 +09:00
Robin Huang
829784fa50 Fix conditional for switch ComfyUI. 2025-02-01 16:16:37 -08:00
Robin Huang
3c45f8dc91 Hide update comfyui buttons in electron. 2025-02-01 16:15:27 -08:00
Dr.Lt.Data
f8ebf7c6ad update DB 2025-02-01 16:45:24 +09:00
Dr.Lt.Data
510c364607 feat: stop feature
feat: model-manager - support background tasking
2025-02-01 16:35:56 +09:00
Dr.Lt.Data
a3d6fcccb7 update DB 2025-02-01 14:01:18 +09:00
Dr.Lt.Data
42c8082edd fixed: duplicate endpoint function name 2025-02-01 11:39:48 +09:00
16 changed files with 3466 additions and 2830 deletions

View File

@@ -4067,6 +4067,17 @@
"install_type": "git-clone",
"description": "Image metrics nodes for ComfyUI"
},
{
"author": "amorano",
"title": "Jovi_MIDI",
"id": "jovi_midi",
"reference": "https://github.com/Amorano/Jovi_MIDI",
"files": [
"https://github.com/Amorano/Jovi_MIDI"
],
"install_type": "git-clone",
"description": "Read and Process data from MIDI devices inside of ComfyUI."
},
{
"author": "Umikaze-job",
"title": "select_folder_path_easy",
@@ -6496,6 +6507,16 @@
"install_type": "git-clone",
"description": "Add nodes that generates danbooru tags by [a/Dart(Danbooru Tags Transformer)](https://huggingface.co/p1atdev/dart-v1-sft)."
},
{
"author": "nkchocoai",
"title": "ComfyUI-DanbooruPromptQuiz",
"reference": "https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz",
"files": [
"https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz"
],
"install_type": "git-clone",
"description": "This node is for playing the game of guessing prompts by looking at images generated from prompts output by TIPO, Tagger, etc.."
},
{
"author": "JaredTherriault",
"title": "ComfyUI-JNodes",
@@ -11042,6 +11063,16 @@
"install_type": "git-clone",
"description": "Custom node for using Prompt S/R in XY Plot\nAlso includes nodes for listing generic parameters like seed and cfg\nEasy to manipulate as elements are separated by line breaks\nDesigned for use with the XY Plot custom node qq-nodes-comfyui, but may work with other custom nodes as well"
},
{
"author": "da2el-ai",
"title": "D2-PromptSelector-comfyUI",
"reference": "https://github.com/da2el-ai/D2-PromptSelector-comfyUI",
"files": [
"https://github.com/da2el-ai/D2-PromptSelector-comfyUI"
],
"install_type": "git-clone",
"description": "This is a version of [a/sd-d2-prompt-selector](https://github.com/da2el-ai/sd-d2-prompt-selector) reworked for ComfyUI. It's just a prototype that I've put together for now. The random syntax of sd-d2-prompt-selector cannot be used; instead, the DynamicPrompt syntax is used"
},
{
"author": "nat-chan",
"title": "ComfyUI-Transceiver📡",
@@ -19966,7 +19997,7 @@
"https://github.com/DJ-Tribefull/Comfyui_FOCUS_nodes"
],
"install_type": "git-clone",
"description": "This is a small collection of nodes designed for efficiency and the reduction of screen clutter. I work primarily with a two-stage SDXL workflow, so some of the nodes are tailored to that, but many of the most useful nodes can be used in any context."
"description": "A collection of nodes designed for efficiency and the reduction of screen-clutter. Includes a Global Seed controller with boolean toggles, SDXL All-in-One conditioner, a custom SDXL control module, Wildcard processor, Style Injector, and more. [w/WARNING: Updating this node-pack wil overwrite any changes you've made to the included wildcards and styles. Please backup your folders before updating.]"
},
{
"author": "KLL535",
@@ -20190,7 +20221,18 @@
"https://github.com/ProGamerGov/ComfyUI_pytorch360convert"
],
"install_type": "git-clone",
"description": "A collection of custom nodes for working with and converting between 360 degree equirectangular images, cubemap, and perspective images. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano."
"description": "A collection of custom nodes for working with and converting between 360 degree equirectangular images, cubemap, and perspective images. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano, and 360 degree photos."
},
{
"author": "ProGamerGov",
"title": "Preview 360 Panorama for ComfyUI",
"id": "comfyui-preview360panorama",
"reference": "https://github.com/ProGamerGov/ComfyUI_preview360panorama",
"files": [
"https://github.com/ProGamerGov/ComfyUI_preview360panorama"
],
"install_type": "git-clone",
"description": "A custom ComfyUI node for interactive 360° panorama image previews. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano, and 360 degree photos."
},
{
"author": "burnsbert",
@@ -20251,7 +20293,7 @@
"https://github.com/willmiao/ComfyUI-Lora-Manager"
],
"install_type": "git-clone",
"description": "LoRA Manager for ComfyUI - An extension for managing LoRA models with previews and metadata integration."
"description": "LoRA Manager for ComfyUI - Access it at http://localhost:8188/loras for managing LoRA models with previews and metadata integration."
},
{
"author": "tigeryy2",
@@ -20364,6 +20406,28 @@
"install_type": "git-clone",
"description": "This node group contains a series of ComfyUI nodes with built-in counters and specific output results based on the counter's output, aimed at implementing folder traversal functionality in the ComfyUI frontend. For specific examples, please refer to the sample workflow. Of course, you can also use your imagination to create other interesting things."
},
{
"author": "agilly1989",
"title": "ComfyUI_agilly1989_motorway",
"reference": "https://github.com/agilly1989/ComfyUI_agilly1989_motorway",
"files": [
"https://github.com/agilly1989/ComfyUI_agilly1989_motorway"
],
"install_type": "git-clone",
"description": "This my implemenation of a `pipe` in ComfyUI. Is it better or worse than others? No idea."
},
{
"title": "A2V Multi Image Composite",
"author": "AiartvnTeam",
"id": "Aiartvn",
"description": "Node for compositing multiple images with interactive preview and layer management",
"repository": "https://github.com/aiartvn/A2V_Multi_Image_Composite",
"install_type": "git-clone",
"files": [
"https://github.com/aiartvn/A2V_Multi_Image_Composite"
],
"tags": ["image", "composite", "layer", "blend", "transform"]
},

View File

@@ -493,6 +493,7 @@
"https://github.com/852wa/ComfyUI-ColorshiftColor": [
[
"ColorshiftColor",
"CsCFill",
"CsCPaletteEditor"
],
{
@@ -1427,6 +1428,18 @@
"title_aux": "Jovi_GLSL"
}
],
"https://github.com/Amorano/Jovi_MIDI": [
[
"MIDI FILTER (JOV_MIDI)",
"MIDI FILTER EZ (JOV_MIDI)",
"MIDI LOADER (JOV_MIDI)",
"MIDI MESSAGE (JOV_MIDI)",
"MIDI READER (JOV_MIDI)"
],
{
"title_aux": "Jovi_MIDI"
}
],
"https://github.com/Amorano/Jovi_Measure": [
[
"BLUR EFFECT (JOV_MEASURE)",
@@ -2818,11 +2831,17 @@
],
"https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes": [
[
"DP 10 String Switch",
"DP 10 Images Switch Or Batch",
"DP 10 String Switch Or Connect",
"DP 2 String Switch",
"DP 3 Images Switch Or Batch",
"DP 3 String Switch Or Connect",
"DP 5 Find And Replace",
"DP 5 String Switch",
"DP 5 Images Switch Or Batch",
"DP 5 String Switch Or Connect",
"DP Add Background To Png",
"DP Add Weight To String Sdxl",
"DP Advanced Sampler",
"DP Advanced Weight String Sdxl",
"DP Animation Calculator 10 Inputs",
"DP Animation Calculator 5 Inputs",
@@ -2832,8 +2851,7 @@
"DP Broken Token",
"DP Clean Prompt",
"DP Clean Prompt Travel",
"DP Combo Controller",
"DP Condition Mixer",
"DP Condition Switch",
"DP ControlNet Apply Advanced",
"DP Crazy Prompt Mixer",
"DP Create Json File",
@@ -2845,6 +2863,7 @@
"DP Fast Slow Motion",
"DP Five Lora",
"DP Five Lora Random",
"DP Float Stepper",
"DP Image And String Pairs Switch",
"DP Image Color Analyzer",
"DP Image Color Analyzer Small",
@@ -2855,12 +2874,10 @@
"DP Image Empty Latent Switch SDXL",
"DP Image Slide Show",
"DP Image Strip",
"DP Image Switch 10",
"DP Image Switch 3",
"DP Image Switch 5",
"DP Int 0-1000",
"DP Int 0-1000 4 Step",
"DP Int 0-1000 8 Step",
"DP Latent Split",
"DP Line Cycler",
"DP Load Checkpoint With Info",
"DP Load Controlnet Model With Name",
@@ -2870,13 +2887,10 @@
"DP Load Image Minimal",
"DP Load UNET With Info",
"DP Logo Animator",
"DP Logo Animator Advanced",
"DP Lora Random Strength Controller",
"DP Lora Strength Controller",
"DP Lora Strength Stepper",
"DP Mask Settings",
"DP Prompt Inverter",
"DP Prompt Manager",
"DP Prompt Manager Small",
"DP Prompt Mode Controller",
"DP Prompt Styler",
@@ -2894,9 +2908,7 @@
"DP Save Preview Image",
"DP Set New Model Folder Link",
"DP String Text",
"DP String Text With Weight",
"DP String With Switch",
"DP Strings Connector",
"DP String Text With Sdxl Weight",
"DP Strip Edge Masks",
"DP Switch Controller",
"DP Text Preview",
@@ -2907,10 +2919,8 @@
"DP Video Looper",
"DP Video Transition",
"DP_Crazy_Prompt_Mixer",
"DP_Logo_Animator_Advanced",
"DP_Lora_Strength_Stepper",
"DP_Prompt_Inverter",
"DP_Strings_Connector"
"DP_Float_Stepper",
"DP_Prompt_Inverter"
],
{
"title_aux": "ComfyUI-Desert-Pixel-Nodes"
@@ -4714,6 +4724,8 @@
],
"https://github.com/JTriggerFish/ComfyLatentTools": [
[
"DownsampledAttentionGuidance",
"DownsampledLatentGuidance",
"LatentNormalizedLanczosResize",
"RescaledPAG",
"RescaledSEG"
@@ -5018,6 +5030,7 @@
[
"Simple Extract Lora From Text",
"Simple Image Saver (as Forge)",
"Simple Load Image With Metadata",
"Simple Load Line From Text File",
"Simple Lora Loader"
],
@@ -6434,10 +6447,13 @@
],
"https://github.com/MzMaXaM/ComfyUi-MzMaXaM": [
[
"ImageToText",
"KSamplerWithVAE",
"SelectLatentSize1MP",
"SelectLatentSize2MP",
"TextEncode3in1",
"TextToText",
"UpscaleImageBy1_5x",
"UpscaleLatentBy1_5x"
],
{
@@ -7061,6 +7077,14 @@
"title_aux": "ComfyUI-StringsAndThings"
}
],
"https://github.com/ProGamerGov/ComfyUI_preview360panorama": [
[
"PanoramaViewerNode"
],
{
"title_aux": "Preview 360 Panorama for ComfyUI"
}
],
"https://github.com/ProGamerGov/ComfyUI_pytorch360convert": [
[
"Crop Image with Coords",
@@ -7351,6 +7375,7 @@
"AspectRatioAdvanced",
"DisplayEverything",
"ImageComparer",
"LensFlare",
"MultiFloat",
"MultiTextNode",
"SKB_AnySwitch",
@@ -8450,6 +8475,7 @@
"SD35StartSettings",
"SDXLStartSettings",
"SDstarsampler",
"Star Face Loader",
"StarFiveWildcards",
"StarImageSwitch",
"StarTextFilter",
@@ -10646,6 +10672,18 @@
"title_aux": "ComfyUI-styles-all"
}
],
"https://github.com/agilly1989/ComfyUI_agilly1989_motorway": [
[
"MotorwayFloat",
"MotorwayInt",
"MotorwaySeed",
"MotorwayStr",
"MotorwayStrMulti"
],
{
"title_aux": "ComfyUI_agilly1989_motorway"
}
],
"https://github.com/ahernandezmiro/ComfyUI-GCP_Storage_tools": [
[
"GCPReadImageNode",
@@ -10721,6 +10759,14 @@
"title_aux": "Comfy UI FatLabels"
}
],
"https://github.com/aiartvn/A2V_Multi_Image_Composite": [
[
"A2V_Multi_Image_Composite"
],
{
"title_aux": "A2V Multi Image Composite"
}
],
"https://github.com/aidec/Comfyui_TextBatch_aidec": [
[
"ImageQueueProcessor",
@@ -11881,18 +11927,22 @@
"SamplerSonarEuler",
"SamplerSonarEulerA",
"SonarAdvanced1fNoise",
"SonarAdvancedDistroNoise",
"SonarAdvancedPowerLawNoise",
"SonarAdvancedPyramidNoise",
"SonarBlendedNoise",
"SonarChannelNoise",
"SonarCompositeNoise",
"SonarCustomNoise",
"SonarCustomNoiseAdv",
"SonarGuidanceConfig",
"SonarGuidedNoise",
"SonarModulatedNoise",
"SonarRandomNoise",
"SonarRepeatedNoise",
"SonarScheduledNoise"
"SonarResizedNoise",
"SonarScheduledNoise",
"SonarWaveletFilteredNoise"
],
{
"title_aux": "ComfyUI-sonar"
@@ -13897,6 +13947,7 @@
"PolyexponentialScheduler",
"PorterDuffImageComposite",
"Preview3D",
"Preview3DAnimation",
"PreviewAudio",
"PreviewImage",
"RandomNoise",
@@ -15452,7 +15503,8 @@
"SelOutModel",
"SelOutPolar",
"Selector",
"Selector Advanced"
"Selector Advanced",
"Selector Hub"
],
{
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
@@ -16638,8 +16690,10 @@
"Griptape Replace: Rulesets on Agent",
"Griptape Replace: Tools on Agent",
"Griptape Rerank Driver: Cohere",
"Griptape Retrieve: Cloud Ruleset",
"Griptape Run: Agent",
"Griptape Run: Audio Transcription",
"Griptape Run: Cloud Assistant",
"Griptape Run: Image Description",
"Griptape Run: Parallel Image Description",
"Griptape Run: Prompt Task",
@@ -19306,6 +19360,7 @@
"GetImageRangeFromBatch",
"GetImageSizeAndCount",
"GetImagesFromBatchIndexed",
"GetLatentRangeFromBatch",
"GetLatentsFromBatchIndexed",
"GetMaskSizeAndCount",
"GradientToFloat",
@@ -19324,6 +19379,7 @@
"ImageGridComposite2x2",
"ImageGridComposite3x3",
"ImageGridtoBatch",
"ImageNoiseAugmentation",
"ImageNormalize_Neg1_To_1",
"ImagePadForOutpaintMasked",
"ImagePadForOutpaintTargetSize",
@@ -19339,6 +19395,7 @@
"Intrinsic_lora_sampling",
"JoinStringMulti",
"JoinStrings",
"LeapfusionHunyuanI2VPatcher",
"LoadAndResizeImage",
"LoadImagesFromFolderKJ",
"LoadResAdapterNormalization",
@@ -22574,6 +22631,15 @@
"title_aux": "ComfyUI OpenAI Prompter"
}
],
"https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz": [
[
"DanbooruPromptComparison",
"DanbooruPromptQuiz"
],
{
"title_aux": "ComfyUI-DanbooruPromptQuiz"
}
],
"https://github.com/nkchocoai/ComfyUI-Dart": [
[
"DanbooruTagsTransformerBanTagsFromRegex",
@@ -22679,11 +22745,11 @@
],
"https://github.com/nofunstudio/Node_Fun_ComfyUI": [
[
"IframeView",
"LayeredInfiniteZoom",
"Replicate flux 1.1 pro ultra",
"ReplicateAPI_flux_1_1_pro_ultra",
"ReplicateAPI_flux_fill_pro",
"WebViewer"
"ReplicateAPI_flux_fill_pro"
],
{
"title_aux": "Node_Fun_ComfyUI"
@@ -26163,6 +26229,7 @@
"quadmoonChangeBackground",
"quadmoonConvertBoolToString",
"quadmoonConvertFloatToString",
"quadmoonConvertImageToPrompt",
"quadmoonConvertIntToString",
"quadmoonConvertNormalizeHW",
"quadmoonConvertNumberToString",
@@ -27139,6 +27206,7 @@
],
"https://github.com/xlinx/ComfyUI-decadetw-auto-prompt-llm": [
[
"Auto-LLM-Chat",
"Auto-LLM-Text",
"Auto-LLM-Text-Vision",
"Auto-LLM-Vision"

View File

File diff suppressed because it is too large Load Diff

View File

@@ -41,7 +41,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 12, 1]
version_code = [3, 14]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')

View File

@@ -369,14 +369,19 @@ def nickname_filter(json_obj):
return json_obj
install_queue = queue.Queue()
install_result = {}
task_queue = queue.Queue()
nodepack_result = {}
model_result = {}
tasks_in_progress = set()
task_worker_lock = threading.Lock()
async def install_worker():
global install_result
global install_queue
async def task_worker():
global task_queue
global nodepack_result
global model_result
global tasks_in_progress
async def do_install(item):
async def do_install(item) -> str:
ui_id, node_spec_str, channel, mode, skip_post_install = item
try:
@@ -384,8 +389,7 @@ async def install_worker():
if node_spec is None:
logging.error(f"Cannot resolve install target: '{node_spec_str}'")
install_result[ui_id] = f"Cannot resolve install target: '{node_spec_str}'"
return
return f"Cannot resolve install target: '{node_spec_str}'"
node_name, version_spec, is_specified = node_spec
res = await core.unified_manager.install_by_id(node_name, version_spec, channel, mode, return_postinstall=skip_post_install)
@@ -393,20 +397,18 @@ async def install_worker():
if res.action not in ['skip', 'enable', 'install-git', 'install-cnr', 'switch-cnr']:
logging.error(f"[ComfyUI-Manager] Installation failed:\n{res.msg}")
install_result[ui_id] = res.msg
return
return res.msg
elif not res.result:
logging.error(f"[ComfyUI-Manager] Installation failed:\n{res.msg}")
install_result[ui_id] = res.msg
return
return res.msg
install_result[ui_id] = 'success'
return 'success'
except Exception:
traceback.print_exc()
install_result[ui_id] = f"Installation failed:\n{node_spec_str}"
return f"Installation failed:\n{node_spec_str}"
async def do_update(item):
async def do_update(item) -> str:
ui_id, node_name, node_ver = item
try:
@@ -415,98 +417,153 @@ async def install_worker():
manager_util.clear_pip_cache()
if res.result:
install_result[ui_id] = 'success'
return
return 'success'
logging.error(f"\nERROR: An error occurred while updating '{node_name}'.")
install_result[ui_id] = f"An error occurred while updating '{node_name}'."
except Exception:
traceback.print_exc()
install_result[ui_id] = f"An error occurred while updating '{node_name}'."
async def do_fix(item):
return f"An error occurred while updating '{node_name}'."
async def do_fix(item) -> str:
ui_id, node_name, node_ver = item
try:
res = core.unified_manager.unified_fix(node_name, node_ver)
if res.result:
install_result[ui_id] = 'success'
return
return 'success'
else:
logging.error(res.msg)
logging.error(f"\nERROR: An error occurred while fixing '{node_name}@{node_ver}'.")
install_result[ui_id] = f"An error occurred while fixing '{node_name}@{node_ver}'."
except Exception:
traceback.print_exc()
install_result[ui_id] = f"An error occurred while fixing '{node_name}@{node_ver}'."
async def do_uninstall(item):
return f"An error occurred while fixing '{node_name}@{node_ver}'."
async def do_uninstall(item) -> str:
ui_id, node_name, is_unknown = item
try:
res = core.unified_manager.unified_uninstall(node_name, is_unknown)
if res.result:
install_result[ui_id] = 'success'
return
return 'success'
logging.error(f"\nERROR: An error occurred while uninstalling '{node_name}'.")
install_result[ui_id] = f"An error occurred while uninstalling '{node_name}'."
except Exception:
traceback.print_exc()
install_result[ui_id] = f"An error occurred while uninstalling '{node_name}'."
async def do_disable(item):
return f"An error occurred while uninstalling '{node_name}'."
async def do_disable(item) -> str:
ui_id, node_name, is_unknown = item
try:
res = core.unified_manager.unified_disable(node_name, is_unknown)
if res:
install_result[ui_id] = 'success'
return
return 'success'
install_result[ui_id] = f"Failed to disable: '{node_name}'"
except Exception:
traceback.print_exc()
install_result[ui_id] = f"Failed to disable: '{node_name}'"
return f"Failed to disable: '{node_name}'"
async def do_install_model(item) -> str:
ui_id, json_data = item
model_path = get_model_path(json_data)
model_url = json_data['url']
res = False
try:
if model_path is not None:
logging.info(f"Install model '{json_data['name']}' from '{model_url}' into '{model_path}'")
if not core.get_config()['model_download_by_agent'] and (
model_url.startswith('https://github.com') or model_url.startswith('https://huggingface.co') or model_url.startswith('https://heibox.uni-heidelberg.de')):
model_dir = get_model_dir(json_data, True)
download_url(model_url, model_dir, filename=json_data['filename'])
if model_path.endswith('.zip'):
res = core.unzip(model_path)
else:
res = True
if res:
return 'success'
else:
res = download_url_with_agent(model_url, model_path)
if res and model_path.endswith('.zip'):
res = core.unzip(model_path)
else:
logging.error(f"Model installation error: invalid model type - {json_data['type']}")
if res:
return 'success'
except Exception as e:
logging.error(f"[ERROR] {e}", file=sys.stderr)
return f"Model installation error: {model_url}"
stats = {}
while True:
done_count = len(install_result)
total_count = done_count + install_queue.qsize()
done_count = len(nodepack_result) + len(model_result)
total_count = done_count + task_queue.qsize()
if install_queue.empty():
if task_queue.empty():
logging.info(f"\n[ComfyUI-Manager] Queued works are completed.\n{stats}")
logging.info("\nAfter restarting ComfyUI, please refresh the browser.")
PromptServer.instance.send_sync("cm-install-status",
{'status': 'done', 'result': install_result,
PromptServer.instance.send_sync("cm-queue-status",
{'status': 'done',
'nodepack_result': nodepack_result, 'model_result': model_result,
'total_count': total_count, 'done_count': done_count})
install_result = {}
install_queue = queue.Queue()
return
nodepack_result = {}
task_queue = queue.Queue()
return # terminate worker thread
kind, item = install_queue.get()
with task_worker_lock:
kind, item = task_queue.get()
tasks_in_progress.add((kind, item[0]))
if kind == 'install':
await do_install(item)
elif kind == 'update':
await do_update(item)
elif kind == 'fix':
await do_fix(item)
elif kind == 'uninstall':
await do_uninstall(item)
elif kind == 'disable':
await do_disable(item)
try:
if kind == 'install':
msg = await do_install(item)
elif kind == 'install-model':
msg = await do_install_model(item)
elif kind == 'update':
msg = await do_update(item)
elif kind == 'fix':
msg = await do_fix(item)
elif kind == 'uninstall':
msg = await do_uninstall(item)
elif kind == 'disable':
msg = await do_disable(item)
else:
msg = "Unexpected kind: " + kind
except Exception:
traceback.print_exc()
msg = f"Exception: {(kind, item)}"
with task_worker_lock:
tasks_in_progress.remove((kind, item[0]))
ui_id = item[0]
if kind == 'install-model':
model_result[ui_id] = msg
ui_target = "model_manager"
else:
nodepack_result[ui_id] = msg
ui_target = "nodepack_manager"
stats[kind] = stats.get(kind, 0) + 1
PromptServer.instance.send_sync("cm-install-status",
{'status': 'in_progress', 'target': item[0],
PromptServer.instance.send_sync("cm-queue-status",
{'status': 'in_progress', 'target': item[0], 'ui_target': ui_target,
'total_count': total_count, 'done_count': done_count})
@@ -1006,30 +1063,35 @@ async def import_fail_info(request):
return web.Response(status=400)
@routes.post("/customnode/reinstall")
@routes.post("/manager/queue/reinstall")
async def reinstall_custom_node(request):
await uninstall_custom_node(request)
await install_custom_node(request)
@routes.get("/customnode/queue/reset")
@routes.get("/manager/queue/reset")
async def reset_queue(request):
global install_queue
install_queue = queue.Queue()
global task_queue
task_queue = queue.Queue()
return web.Response(status=200)
@routes.get("/customnode/queue/count")
async def reset_queue(request):
global install_queue
@routes.get("/manager/queue/status")
async def queue_count(request):
global task_queue
done_count = len(install_result)
total_count = done_count + install_queue.qsize()
with task_worker_lock:
done_count = len(nodepack_result) + len(model_result)
in_progress_count = len(tasks_in_progress)
total_count = done_count + in_progress_count + task_queue.qsize()
is_processing = task_worker_thread is not None and task_worker_thread.is_alive()
return web.json_response({'total_count': total_count, 'done_count': done_count})
return web.json_response({
'total_count': total_count, 'done_count': done_count, 'in_progress_count': in_progress_count,
'is_processing': is_processing})
@routes.post("/customnode/queue/install")
@routes.post("/manager/queue/install")
async def install_custom_node(request):
if not is_allowed_security_level('middle'):
logging.error(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
@@ -1073,22 +1135,32 @@ async def install_custom_node(request):
return web.Response(status=404, text="A security error has occurred. Please check the terminal logs")
install_item = json_data.get('ui_id'), node_spec_str, json_data['channel'], json_data['mode'], skip_post_install
install_queue.put(("install", install_item))
task_queue.put(("install", install_item))
return web.Response(status=200)
@routes.get("/customnode/queue/start")
task_worker_thread:threading.Thread = None
@routes.get("/manager/queue/start")
async def queue_start(request):
global install_result
install_result = {}
global nodepack_result
global model_result
global task_worker_thread
threading.Thread(target=lambda: asyncio.run(install_worker())).start()
if task_worker_thread is not None and task_worker_thread.is_alive():
return web.Response(status=201) # already in-progress
nodepack_result = {}
model_result = {}
task_worker_thread = threading.Thread(target=lambda: asyncio.run(task_worker()))
task_worker_thread.start()
return web.Response(status=200)
@routes.post("/customnode/queue/fix")
@routes.post("/manager/queue/fix")
async def fix_custom_node(request):
if not is_allowed_security_level('middle'):
logging.error(SECURITY_MESSAGE_GENERAL)
@@ -1105,7 +1177,7 @@ async def fix_custom_node(request):
node_name = os.path.basename(json_data['files'][0])
update_item = json_data.get('ui_id'), node_name, json_data['version']
install_queue.put(("fix", update_item))
task_queue.put(("fix", update_item))
return web.Response(status=200)
@@ -1142,7 +1214,7 @@ async def install_custom_node_pip(request):
return web.Response(status=200)
@routes.post("/customnode/queue/uninstall")
@routes.post("/manager/queue/uninstall")
async def uninstall_custom_node(request):
if not is_allowed_security_level('middle'):
logging.error(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
@@ -1160,12 +1232,12 @@ async def uninstall_custom_node(request):
node_name = os.path.basename(json_data['files'][0])
uninstall_item = json_data.get('ui_id'), node_name, is_unknown
install_queue.put(("uninstall", uninstall_item))
task_queue.put(("uninstall", uninstall_item))
return web.Response(status=200)
@routes.post("/customnode/queue/update")
@routes.post("/manager/queue/update")
async def update_custom_node(request):
if not is_allowed_security_level('middle'):
logging.error(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
@@ -1181,7 +1253,7 @@ async def update_custom_node(request):
node_name = os.path.basename(json_data['files'][0])
update_item = json_data.get('ui_id'), node_name, json_data['version']
install_queue.put(("update", update_item))
task_queue.put(("update", update_item))
return web.Response(status=200)
@@ -1232,7 +1304,7 @@ async def comfyui_switch_version(request):
return web.Response(status=400)
@routes.post("/customnode/queue/disable")
@routes.post("/manager/queue/disable")
async def disable_node(request):
json_data = await request.json()
@@ -1246,7 +1318,7 @@ async def disable_node(request):
node_name = os.path.basename(json_data['files'][0])
update_item = json_data.get('ui_id'), node_name, is_unknown
install_queue.put(("disable", update_item))
task_queue.put(("disable", update_item))
return web.Response(status=200)
@@ -1264,12 +1336,10 @@ async def need_to_migrate(request):
return web.Response(text=str(core.need_to_migrate), status=200)
@routes.post("/model/install")
@routes.post("/manager/queue/install_model")
async def install_model(request):
json_data = await request.json()
model_path = get_model_path(json_data)
if not is_allowed_security_level('middle'):
logging.error(SECURITY_MESSAGE_MIDDLE_OR_BELOW)
return web.Response(status=403)
@@ -1287,42 +1357,8 @@ async def install_model(request):
logging.error(SECURITY_MESSAGE_NORMAL_MINUS)
return web.Response(status=403)
def do_install():
res = False
try:
if model_path is not None:
model_url = json_data['url']
logging.info(f"Install model '{json_data['name']}' from '{model_url}' into '{model_path}'")
if not core.get_config()['model_download_by_agent'] and (
model_url.startswith('https://github.com') or model_url.startswith('https://huggingface.co') or model_url.startswith('https://heibox.uni-heidelberg.de')):
model_dir = get_model_dir(json_data, True)
download_url(model_url, model_dir, filename=json_data['filename'])
if model_path.endswith('.zip'):
res = core.unzip(model_path)
else:
res = True
if res:
return web.json_response({}, content_type='application/json')
else:
res = download_url_with_agent(model_url, model_path)
if res and model_path.endswith('.zip'):
res = core.unzip(model_path)
else:
logging.error(f"Model installation error: invalid model type - {json_data['type']}")
if res:
return web.json_response({}, content_type='application/json')
except Exception as e:
logging.error(f"[ERROR] {e}", file=sys.stderr)
return web.Response(status=400)
# Run the installation in a thread pool
with concurrent.futures.ThreadPoolExecutor() as executor:
asyncio.get_event_loop().run_in_executor(executor, do_install)
install_item = json_data.get('ui_id'), json_data
task_queue.put(("install-model", install_item))
return web.Response(status=200)

View File

@@ -811,11 +811,15 @@ const isOutputNode = (node) => {
class ManagerMenuDialog extends ComfyDialog {
createControlsMid() {
let self = this;
const isElectron = 'electronAPI' in window;
update_comfyui_button =
$el("button.cm-button", {
type: "button",
textContent: "Update ComfyUI",
style: {
display: isElectron ? 'none' : 'block'
},
onclick:
() => updateComfyUI()
});
@@ -824,6 +828,9 @@ class ManagerMenuDialog extends ComfyDialog {
$el("button.cm-button", {
type: "button",
textContent: "Switch ComfyUI",
style: {
display: isElectron ? 'none' : 'block'
},
onclick:
() => switchComfyUI()
});
@@ -1268,10 +1275,22 @@ class ManagerMenuDialog extends ComfyDialog {
this.element = $el("div.comfy-modal", { id:'cm-manager-dialog', parent: document.body }, [ content ]);
}
get isVisible() {
return this.element?.style?.display !== "none";
}
show() {
this.element.style.display = "block";
}
toggleVisibility() {
if (this.isVisible) {
this.close();
} else {
this.show();
}
}
handleWorkflowGalleryButtonClick(e) {
e.preventDefault();
e.stopPropagation();
@@ -1389,6 +1408,41 @@ app.registerExtension({
}
],
commands: [
{
id: "Comfy.Manager.Menu.ToggleVisibility",
label: "Toggle Manager Menu Visibility",
icon: "mdi mdi-puzzle",
function: () => {
if (!manager_instance) {
setManagerInstance(new ManagerMenuDialog());
manager_instance.show();
} else {
manager_instance.toggleVisibility();
}
},
},
{
id: "Comfy.Manager.CustomNodesManager.ToggleVisibility",
label: "Toggle Custom Nodes Manager Visibility",
icon: "pi pi-server",
function: () => {
if (CustomNodesManager.instance?.isVisible) {
CustomNodesManager.instance.close();
return;
}
if (!manager_instance) {
setManagerInstance(new ManagerMenuDialog());
}
if (!CustomNodesManager.instance) {
CustomNodesManager.instance = new CustomNodesManager(app, self);
}
CustomNodesManager.instance.show(CustomNodesManager.ShowMode.NORMAL);
},
}
],
init() {
$el("style", {
textContent: style,
@@ -1606,4 +1660,4 @@ async function set_default_ui()
}
}
set_default_ui();
set_default_ui();

View File

@@ -55,6 +55,12 @@ const pageCss = `
color: white;
}
.cn-manager .cn-manager-stop {
display: none;
background-color: #500000;
color: white;
}
.cn-manager .cn-manager-back {
align-items: center;
justify-content: center;
@@ -344,13 +350,14 @@ const pageHtml = `
<div class="cn-manager-selection"></div>
<div class="cn-manager-message"></div>
<div class="cn-manager-footer">
<button class="cn-manager-back">
<svg class="arrow-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 8H18M2 8L8 2M2 8L8 14" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Back
</button>
<button class="cn-manager-back">
<svg class="arrow-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 8H18M2 8L8 2M2 8L8 14" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Back
</button>
<button class="cn-manager-restart">Restart</button>
<button class="cn-manager-stop">Stop</button>
<div class="cn-flex-auto"></div>
<button class="cn-manager-check-update">Check Update</button>
<button class="cn-manager-check-missing">Check Missing</button>
@@ -392,7 +399,7 @@ export class CustomNodesManager {
this.init();
api.addEventListener("cm-install-status", this.onInstallStatus);
api.addEventListener("cm-queue-status", this.onQueueStatus);
}
init() {
@@ -762,6 +769,13 @@ export class CustomNodesManager {
}
},
".cn-manager-stop": {
click: () => {
api.fetchApi('/manager/queue/reset');
infoToast('Cancel', 'Remaining tasks will stop after completing the current task.');
}
},
".cn-manager-check-update": {
click: (e) => {
e.target.classList.add("cn-btn-loading");
@@ -1271,9 +1285,9 @@ export class CustomNodesManager {
}
async installNodes(list, btn, title, selected_version) {
let stats = await api.fetchApi('/customnode/queue/count');
let stats = await api.fetchApi('/manager/queue/status');
stats = await stats.json();
if(stats.total_count > 0) {
if(stats.is_processing) {
customAlert(`[ComfyUI-Manager] There are already tasks in progress. Please try again after it is completed. (${stats.done_count}/${stats.total_count})`);
return;
}
@@ -1304,11 +1318,13 @@ export class CustomNodesManager {
let needRestart = false;
let errorMsg = "";
await api.fetchApi('/customnode/queue/reset');
this.install_context = btn;
await api.fetchApi('/manager/queue/reset');
let target_items = [];
for (const hash of list) {
const item = this.grid.getRowItemBy("hash", hash);
target_items.push(item);
if (!item) {
errorMsg = `Not found custom node: ${hash}`;
@@ -1347,7 +1363,7 @@ export class CustomNodesManager {
api_mode = 'reinstall';
}
const res = await api.fetchApi(`/customnode/queue/${api_mode}`, {
const res = await api.fetchApi(`/manager/queue/${api_mode}`, {
method: 'POST',
body: JSON.stringify(data)
});
@@ -1367,18 +1383,32 @@ export class CustomNodesManager {
}
}
this.install_context = {btn: btn, targets: target_items};
for(let k in target_items) {
let item = this.install_context.targets[k];
this.grid.updateCell(item, "action");
}
if(errorMsg) {
this.showError(errorMsg);
show_message("Installation Error:\n"+errorMsg);
// reset
for (const hash of list) {
const item = this.grid.getRowItemBy("hash", hash);
self.grid.updateCell(item, "action");
}
}
else {
await api.fetchApi('/customnode/queue/start');
await api.fetchApi('/manager/queue/start');
this.showStop();
}
}
async onInstallStatus(event) {
async onQueueStatus(event) {
let self = CustomNodesManager.instance;
if(event.detail.status == 'in_progress') {
if(event.detail.status == 'in_progress' && event.detail.ui_target == 'nodepack_manager') {
const hash = event.detail.target;
const item = self.grid.getRowItemBy("hash", hash);
@@ -1386,14 +1416,20 @@ export class CustomNodesManager {
item.restart = true;
self.restartMap[item.hash] = true;
self.grid.updateCell(item, "action");
self.grid.setRowSelected(item, false);
}
else if(event.detail.status == 'done') {
self.onInstallCompleted(event.detail);
self.hideStop();
self.onQueueCompleted(event.detail);
}
}
async onInstallCompleted(info) {
let result = info.result;
async onQueueCompleted(info) {
let result = info.nodepack_result;
if(result.length == 0) {
return;
}
let self = CustomNodesManager.instance;
@@ -1401,7 +1437,7 @@ export class CustomNodesManager {
return;
}
const { target, label, mode } = self.install_context;
const { target, label, mode } = self.install_context.btn;
target.classList.remove("cn-btn-loading");
let errorMsg = "";
@@ -1409,13 +1445,15 @@ export class CustomNodesManager {
for(let hash in result){
let v = result[hash];
const item = self.grid.getRowItemBy("hash", hash);
self.grid.setRowSelected(item, false);
if(v != 'success')
errorMsg += v;
}
for(let k in self.install_context.targets) {
let item = self.install_context.targets[k];
self.grid.updateCell(item, "action");
}
if (errorMsg) {
self.showError(errorMsg);
show_message("Installation Error:\n"+errorMsg);
@@ -1426,7 +1464,7 @@ export class CustomNodesManager {
self.showRestart();
self.showMessage(`To apply the installed/updated/disabled/enabled custom node, please restart ComfyUI. And refresh browser.`, "red");
infoToast(`[ComfyUI-Manager] All tasks in the queue have been completed.\n${info.done_count}/${info.total_count}`);
infoToast(`[ComfyUI-Manager] All node pack tasks in the queue have been completed.\n${info.done_count}/${info.total_count}`);
self.install_context = undefined;
}
@@ -1808,9 +1846,9 @@ export class CustomNodesManager {
}
setDisabled(disabled) {
const $close = this.element.querySelector(".cn-manager-close");
const $restart = this.element.querySelector(".cn-manager-restart");
const $stop = this.element.querySelector(".cn-manager-stop");
const list = [
".cn-manager-header input",
@@ -1822,7 +1860,7 @@ export class CustomNodesManager {
})
.flat()
.filter(it => {
return it !== $close && it !== $restart;
return it !== $close && it !== $restart && it !== $stop;
});
list.forEach($elem => {
@@ -1843,6 +1881,14 @@ export class CustomNodesManager {
this.element.querySelector(".cn-manager-restart").style.display = "block";
}
showStop() {
this.element.querySelector(".cn-manager-stop").style.display = "block";
}
hideStop() {
this.element.querySelector(".cn-manager-stop").style.display = "none";
}
setFilter(filterValue) {
let filter = "";
const filterItem = this.getFilterItem(filterValue);
@@ -1870,4 +1916,8 @@ export class CustomNodesManager {
close() {
this.element.style.display = "none";
}
get isVisible() {
return this.element?.style?.display !== "none";
}
}

View File

@@ -1,8 +1,10 @@
import { app } from "../../scripts/app.js";
import { $el } from "../../scripts/ui.js";
import {
manager_instance, rebootAPI,
fetchData, md5, icons
fetchData, md5, icons, show_message, customAlert, infoToast
} from "./common.js";
import { api } from "../../scripts/api.js";
// https://cenfun.github.io/turbogrid/api.html
import TG from "./turbogrid.esm.js";
@@ -46,6 +48,18 @@ const pageCss = `
background-color: var(--comfy-input-bg);
}
.cmm-manager .cmm-manager-refresh {
display: none;
background-color: #000080;
color: white;
}
.cmm-manager .cmm-manager-stop {
display: none;
background-color: #500000;
color: white;
}
.cmm-manager-header {
display: flex;
flex-wrap: wrap;
@@ -235,7 +249,14 @@ const pageHtml = `
<div class="cmm-manager-selection"></div>
<div class="cmm-manager-message"></div>
<div class="cmm-manager-footer">
<button class="cmm-manager-back">Back</button>
<button class="cmm-manager-back">
<svg class="arrow-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 8H18M2 8L8 2M2 8L8 14" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
Back
</button>
<button class="cmm-manager-refresh">Refresh</button>
<button class="cmm-manager-stop">Stop</button>
<div class="cmm-flex-auto"></div>
</div>
`;
@@ -254,6 +275,8 @@ export class ModelManager {
this.keywords = '';
this.init();
api.addEventListener("cm-queue-status", this.onQueueStatus);
}
init() {
@@ -365,12 +388,25 @@ export class ModelManager {
}
},
".cmm-manager-refresh": {
click: () => {
app.refreshComboInNodes();
}
},
".cmm-manager-stop": {
click: () => {
api.fetchApi('/manager/queue/reset');
infoToast('Cancel', 'Remaining tasks will stop after completing the current task.');
}
},
".cmm-manager-back": {
click: (e) => {
this.close()
manager_instance.show();
}
},
}
};
Object.keys(eventsMap).forEach(selector => {
const target = this.element.querySelector(selector);
@@ -595,17 +631,28 @@ export class ModelManager {
}
async installModels(list, btn) {
let stats = await api.fetchApi('/manager/queue/status');
stats = await stats.json();
if(stats.is_processing) {
customAlert(`[ComfyUI-Manager] There are already tasks in progress. Please try again after it is completed. (${stats.done_count}/${stats.total_count})`);
return;
}
btn.classList.add("cmm-btn-loading");
this.showLoading();
this.showError("");
let needRestart = false;
let needRefresh = false;
let errorMsg = "";
await api.fetchApi('/manager/queue/reset');
let target_items = [];
for (const item of list) {
this.grid.scrollRowIntoView(item);
target_items.push(item);
if (!this.focusInstall(item)) {
this.grid.onNextUpdated(() => {
@@ -616,48 +663,104 @@ export class ModelManager {
this.showStatus(`Install ${item.name} ...`);
const data = item.originalData;
const res = await fetchData('/model/install', {
data.ui_id = item.hash;
const res = await api.fetchApi(`/manager/queue/install_model`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(data)
});
if (res.error) {
if (res.status != 200) {
errorMsg = `Install failed: ${item.name} ${res.error.message}`;
break;;
break;
}
}
needRestart = true;
this.install_context = {btn: btn, targets: target_items};
this.grid.setRowSelected(item, false);
if(errorMsg) {
this.showError(errorMsg);
show_message("Installation Error:\n"+errorMsg);
// reset
for (const hash of list) {
const item = this.grid.getRowItemBy("hash", hash);
this.grid.updateCell(item, "installed");
}
}
else {
await api.fetchApi('/manager/queue/start');
this.showStop();
}
}
async onQueueStatus(event) {
let self = ModelManager.instance;
if(event.detail.status == 'in_progress' && event.detail.ui_target == 'model_manager') {
const hash = event.detail.target;
const item = self.grid.getRowItemBy("hash", hash);
item.refresh = true;
self.grid.setRowSelected(item, false);
item.selectable = false;
this.grid.updateCell(item, "installed");
this.grid.updateCell(item, "tg-column-select");
// self.grid.updateCell(item, "tg-column-select");
self.grid.updateRow(item);
}
else if(event.detail.status == 'done') {
self.hideStop();
self.onQueueCompleted(event.detail);
}
}
this.showStatus(`Install ${item.name} successfully`);
async onQueueCompleted(info) {
let result = info.model_result;
if(result.length == 0) {
return;
}
this.hideLoading();
let self = ModelManager.instance;
if(!self.install_context) {
return;
}
let btn = self.install_context.btn;
self.hideLoading();
btn.classList.remove("cmm-btn-loading");
let errorMsg = "";
for(let hash in result){
let v = result[hash];
if(v != 'success')
errorMsg += v;
}
for(let k in self.install_context.targets) {
let item = self.install_context.targets[k];
self.grid.updateCell(item, "installed");
}
if (errorMsg) {
this.showError(errorMsg);
self.showError(errorMsg);
show_message("Installation Error:\n"+errorMsg);
} else {
this.showStatus(`Install ${list.length} models successfully`);
self.showStatus(`Install ${result.length} models successfully`);
}
if (needRestart) {
this.showMessage(`To apply the installed model, please click the 'Refresh' button on the main menu.`, "red")
}
self.showRefresh();
self.showMessage(`To apply the installed model, please click the 'Refresh' button.`, "red")
infoToast('Tasks done', `[ComfyUI-Manager] All model downloading tasks in the queue have been completed.\n${info.done_count}/${info.total_count}`);
self.install_context = undefined;
}
getModelList(models) {
const typeMap = new Map();
const baseMap = new Map();
@@ -826,7 +929,7 @@ export class ModelManager {
}
showLoading() {
this.setDisabled(true);
// this.setDisabled(true);
if (this.grid) {
this.grid.showLoading();
this.grid.showMask({
@@ -836,7 +939,7 @@ export class ModelManager {
}
hideLoading() {
this.setDisabled(false);
// this.setDisabled(false);
if (this.grid) {
this.grid.hideLoading();
this.grid.hideMask();
@@ -844,8 +947,9 @@ export class ModelManager {
}
setDisabled(disabled) {
const $close = this.element.querySelector(".cmm-manager-close");
const $refresh = this.element.querySelector(".cmm-manager-refresh");
const $stop = this.element.querySelector(".cmm-manager-stop");
const list = [
".cmm-manager-header input",
@@ -857,7 +961,7 @@ export class ModelManager {
})
.flat()
.filter(it => {
return it !== $close;
return it !== $close && it !== $refresh && it !== $stop;
});
list.forEach($elem => {
@@ -874,6 +978,18 @@ export class ModelManager {
}
showRefresh() {
this.element.querySelector(".cmm-manager-refresh").style.display = "block";
}
showStop() {
this.element.querySelector(".cmm-manager-stop").style.display = "block";
}
hideStop() {
this.element.querySelector(".cmm-manager-stop").style.display = "none";
}
setKeywords(keywords = "") {
this.keywords = keywords;
this.element.querySelector(".cmm-manager-keywords").value = keywords;

View File

@@ -11,6 +11,36 @@
{
"author": "molbal",
"title": "comfy-url-fetcher [WIP]",
"reference": "https://github.com/molbal/comfy-url-fetcher",
"files": [
"https://github.com/molbal/comfy-url-fetcher"
],
"install_type": "git-clone",
"description": "Fetches URLs"
},
{
"author": "myAiLemon",
"title": "MagicAutomaticPicture [WIP]",
"reference": "https://github.com/myAiLemon/MagicAutomaticPicture",
"files": [
"https://github.com/myAiLemon/MagicAutomaticPicture"
],
"install_type": "git-clone",
"description": "A comfyui node package that can generate pictures and automatically save positive prompts and eliminate unwanted prompts"
},
{
"author": "neverbiasu",
"title": "ComfyUI_Output_as_Input",
"reference": "https://github.com/a-und-b/ComfyUI_Output_as_Input",
"files": [
"https://github.com/a-und-b/ComfyUI_Output_as_Input"
],
"install_type": "git-clone",
"description": "This is a simple custom ComfyUI node that allows you to easily use recent output images as input in your workflows. It does not allow image uploads on purpose and does not require any additional dependencies.\nNOTE: The files in the repo are not organized."
},
{
"author": "neverbiasu",
"title": "ComfyUI-DeepSeek",

View File

@@ -924,6 +924,7 @@
"DeepSeekImageGeneration",
"DeepSeekImageUnderstanding",
"DeepSeekModelLoader",
"LLM_Loader",
"OpenAICompatibleLoader"
],
{
@@ -1628,6 +1629,10 @@
"FrameBlend",
"ImageReferenceUpdate",
"ImageSelector",
"KeypointsInput",
"KeypointsInputNode",
"KeypointsToPose",
"KeypointsToPoseNode",
"SimHashCompare",
"TemporalConsistency"
],
@@ -1759,6 +1764,14 @@
"title_aux": "ComfyUI-Blenderesque-Nodes [WIP]"
}
],
"https://github.com/a-und-b/ComfyUI_Output_as_Input": [
[
"OutputAsInput"
],
{
"title_aux": "ComfyUI_Output_as_Input"
}
],
"https://github.com/aiden1020/ComfyUI_Artcoder": [
[
"ArtCoder"
@@ -2438,6 +2451,7 @@
"PolyexponentialScheduler",
"PorterDuffImageComposite",
"Preview3D",
"Preview3DAnimation",
"PreviewAudio",
"PreviewImage",
"RandomNoise",
@@ -3317,14 +3331,15 @@
[
"ForceMinimumBatchSize",
"ImageCompositeChained",
"LineDetection",
"MangaPanelSegmentationNode",
"Mask_Fill_Region",
"MatchImageCountToMaskCount",
"ParallaxGPUTest",
"ParallaxTest",
"RandomCharacterPrompts",
"TargetLocationCrop",
"TargetLocationPaste",
"Yolov8Detection",
"easy_parallax",
"string_list_to_prompt_schedule"
],
@@ -4076,6 +4091,14 @@
"title_aux": "ComfyUI-FramerComfy [WIP]"
}
],
"https://github.com/molbal/comfy-url-fetcher": [
[
"URL Fetcher"
],
{
"title_aux": "comfy-url-fetcher [WIP]"
}
],
"https://github.com/monate0615/ComfyUI-Affine-Transform": [
[
"AffineTransform"
@@ -4109,6 +4132,17 @@
"title_aux": "ComfyUI-Claude-I2T"
}
],
"https://github.com/myAiLemon/MagicAutomaticPicture": [
[
"EditableStringNode",
"IntegratedCLIPTextEncodeWithExtract",
"ProcessAndSave",
"StringConcat"
],
{
"title_aux": "MagicAutomaticPicture [WIP]"
}
],
"https://github.com/naderzare/comfyui-inodes": [
[
"IAzureAiApi",
@@ -4247,7 +4281,8 @@
],
"https://github.com/nomcycle/ComfyUI_Cluster": [
[
"FenceClusteredWorkflow"
"ClusterFanInTensorsToBatch",
"ClusterInstanceIndex"
],
{
"title_aux": "ComfyUI_Cluster [WIP]"

View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,15 @@
{
"custom_nodes": [
{
"author": "PramaLLC",
"title": "ComfyUI BEN - Background Erase Network",
"reference": "https://github.com/PramaLLC/BEN2_ComfyUI",
"files": [
"https://github.com/PramaLLC/BEN2_ComfyUI"
],
"install_type": "git-clone",
"description": "Remove backgrounds from images with [a/BEN2](https://huggingface.co/PramaLLC/BEN2) in ComfyUI\nOriginal repo: [a/https://github.com/DoctorDiffusion/ComfyUI-BEN](https://github.com/DoctorDiffusion/ComfyUI-BEN)"
},
{
"author": "BlenderNeko",
"title": "ltdrdata/ComfyUI_TiledKSampler",

View File

@@ -11,6 +11,16 @@
{
"author": "myAiLemon",
"title": "MagicGetPromptAutomatically",
"reference": "https://github.com/myAiLemon/MagicGetPromptAutomatically",
"files": [
"https://github.com/myAiLemon/MagicGetPromptAutomatically"
],
"install_type": "git-clone",
"description": "A plug-in that can automatically generate pictures and save txt files in comfyui"
},
{
"author": "ryanontheinside",
"title": "ComfyUI_ScavengerHunt [REMOVED]",

View File

@@ -8,7 +8,72 @@
"description": "If you see this message, your ComfyUI-Manager is outdated.\nRecent channel provides only the list of the latest nodes. If you want to find the complete node list, please go to the Default channel.\nMaking LoRA has never been easier!"
},
{
"title": "A2V Multi Image Composite",
"author": "AiartvnTeam",
"id": "Aiartvn",
"description": "Node for compositing multiple images with interactive preview and layer management",
"repository": "https://github.com/aiartvn/A2V_Multi_Image_Composite",
"install_type": "git-clone",
"files": [
"https://github.com/aiartvn/A2V_Multi_Image_Composite"
],
"tags": ["image", "composite", "layer", "blend", "transform"]
},
{
"author": "ProGamerGov",
"title": "Preview 360 Panorama for ComfyUI",
"id": "comfyui-preview360panorama",
"reference": "https://github.com/ProGamerGov/ComfyUI_preview360panorama",
"files": [
"https://github.com/ProGamerGov/ComfyUI_preview360panorama"
],
"install_type": "git-clone",
"description": "A custom ComfyUI node for interactive 360° panorama image previews. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano, and 360 degree photos."
},
{
"author": "amorano",
"title": "Jovi_MIDI",
"id": "jovi_midi",
"reference": "https://github.com/Amorano/Jovi_MIDI",
"files": [
"https://github.com/Amorano/Jovi_MIDI"
],
"install_type": "git-clone",
"description": "Read and Process data from MIDI devices inside of ComfyUI."
},
{
"author": "nkchocoai",
"title": "ComfyUI-DanbooruPromptQuiz",
"reference": "https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz",
"files": [
"https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz"
],
"install_type": "git-clone",
"description": "This node is for playing the game of guessing prompts by looking at images generated from prompts output by TIPO, Tagger, etc.."
},
{
"author": "agilly1989",
"title": "ComfyUI_agilly1989_motorway",
"reference": "https://github.com/agilly1989/ComfyUI_agilly1989_motorway",
"files": [
"https://github.com/agilly1989/ComfyUI_agilly1989_motorway"
],
"install_type": "git-clone",
"description": "This my implemenation of a `pipe` in ComfyUI. Is it better or worse than others? No idea."
},
{
"author": "da2el-ai",
"title": "D2-PromptSelector-comfyUI",
"reference": "https://github.com/da2el-ai/D2-PromptSelector-comfyUI",
"files": [
"https://github.com/da2el-ai/D2-PromptSelector-comfyUI"
],
"install_type": "git-clone",
"description": "This is a version of [a/sd-d2-prompt-selector](https://github.com/da2el-ai/sd-d2-prompt-selector) reworked for ComfyUI. It's just a prototype that I've put together for now. The random syntax of sd-d2-prompt-selector cannot be used; instead, the DynamicPrompt syntax is used"
},
{
"author": "kijai",
"title": "ComfyUI-StableXWrapper",
@@ -667,26 +732,6 @@
],
"install_type": "git-clone",
"description": "A Text To Speech node using Kokoro TTS in ComfyUI."
},
{
"author": "WangPengxing",
"title": "ComfyUI WPX Nodes",
"reference": "https://github.com/WangPengxing/ComfyUI_WPX_Node",
"files": [
"https://github.com/WangPengxing/ComfyUI_WPX_Node"
],
"install_type": "git-clone",
"description": "A custom node collection for ComfyUI, offering enhanced image processing features."
},
{
"author": "PixelFunAI",
"title": "Hunyuan LoRA Loader Nodes",
"reference": "https://github.com/PixelFunAI/ComfyUI_PixelFun",
"files": [
"https://github.com/PixelFunAI/ComfyUI_PixelFun"
],
"install_type": "git-clone",
"description": "This collection provides four additional nodes for loading and managing Hunyuan Video LoRAs in ComfyUI"
}
]
}

View File

@@ -493,6 +493,7 @@
"https://github.com/852wa/ComfyUI-ColorshiftColor": [
[
"ColorshiftColor",
"CsCFill",
"CsCPaletteEditor"
],
{
@@ -1427,6 +1428,18 @@
"title_aux": "Jovi_GLSL"
}
],
"https://github.com/Amorano/Jovi_MIDI": [
[
"MIDI FILTER (JOV_MIDI)",
"MIDI FILTER EZ (JOV_MIDI)",
"MIDI LOADER (JOV_MIDI)",
"MIDI MESSAGE (JOV_MIDI)",
"MIDI READER (JOV_MIDI)"
],
{
"title_aux": "Jovi_MIDI"
}
],
"https://github.com/Amorano/Jovi_Measure": [
[
"BLUR EFFECT (JOV_MEASURE)",
@@ -2818,11 +2831,17 @@
],
"https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes": [
[
"DP 10 String Switch",
"DP 10 Images Switch Or Batch",
"DP 10 String Switch Or Connect",
"DP 2 String Switch",
"DP 3 Images Switch Or Batch",
"DP 3 String Switch Or Connect",
"DP 5 Find And Replace",
"DP 5 String Switch",
"DP 5 Images Switch Or Batch",
"DP 5 String Switch Or Connect",
"DP Add Background To Png",
"DP Add Weight To String Sdxl",
"DP Advanced Sampler",
"DP Advanced Weight String Sdxl",
"DP Animation Calculator 10 Inputs",
"DP Animation Calculator 5 Inputs",
@@ -2832,8 +2851,7 @@
"DP Broken Token",
"DP Clean Prompt",
"DP Clean Prompt Travel",
"DP Combo Controller",
"DP Condition Mixer",
"DP Condition Switch",
"DP ControlNet Apply Advanced",
"DP Crazy Prompt Mixer",
"DP Create Json File",
@@ -2845,6 +2863,7 @@
"DP Fast Slow Motion",
"DP Five Lora",
"DP Five Lora Random",
"DP Float Stepper",
"DP Image And String Pairs Switch",
"DP Image Color Analyzer",
"DP Image Color Analyzer Small",
@@ -2855,12 +2874,10 @@
"DP Image Empty Latent Switch SDXL",
"DP Image Slide Show",
"DP Image Strip",
"DP Image Switch 10",
"DP Image Switch 3",
"DP Image Switch 5",
"DP Int 0-1000",
"DP Int 0-1000 4 Step",
"DP Int 0-1000 8 Step",
"DP Latent Split",
"DP Line Cycler",
"DP Load Checkpoint With Info",
"DP Load Controlnet Model With Name",
@@ -2870,13 +2887,10 @@
"DP Load Image Minimal",
"DP Load UNET With Info",
"DP Logo Animator",
"DP Logo Animator Advanced",
"DP Lora Random Strength Controller",
"DP Lora Strength Controller",
"DP Lora Strength Stepper",
"DP Mask Settings",
"DP Prompt Inverter",
"DP Prompt Manager",
"DP Prompt Manager Small",
"DP Prompt Mode Controller",
"DP Prompt Styler",
@@ -2894,9 +2908,7 @@
"DP Save Preview Image",
"DP Set New Model Folder Link",
"DP String Text",
"DP String Text With Weight",
"DP String With Switch",
"DP Strings Connector",
"DP String Text With Sdxl Weight",
"DP Strip Edge Masks",
"DP Switch Controller",
"DP Text Preview",
@@ -2907,10 +2919,8 @@
"DP Video Looper",
"DP Video Transition",
"DP_Crazy_Prompt_Mixer",
"DP_Logo_Animator_Advanced",
"DP_Lora_Strength_Stepper",
"DP_Prompt_Inverter",
"DP_Strings_Connector"
"DP_Float_Stepper",
"DP_Prompt_Inverter"
],
{
"title_aux": "ComfyUI-Desert-Pixel-Nodes"
@@ -4714,6 +4724,8 @@
],
"https://github.com/JTriggerFish/ComfyLatentTools": [
[
"DownsampledAttentionGuidance",
"DownsampledLatentGuidance",
"LatentNormalizedLanczosResize",
"RescaledPAG",
"RescaledSEG"
@@ -5018,6 +5030,7 @@
[
"Simple Extract Lora From Text",
"Simple Image Saver (as Forge)",
"Simple Load Image With Metadata",
"Simple Load Line From Text File",
"Simple Lora Loader"
],
@@ -6434,10 +6447,13 @@
],
"https://github.com/MzMaXaM/ComfyUi-MzMaXaM": [
[
"ImageToText",
"KSamplerWithVAE",
"SelectLatentSize1MP",
"SelectLatentSize2MP",
"TextEncode3in1",
"TextToText",
"UpscaleImageBy1_5x",
"UpscaleLatentBy1_5x"
],
{
@@ -7061,6 +7077,14 @@
"title_aux": "ComfyUI-StringsAndThings"
}
],
"https://github.com/ProGamerGov/ComfyUI_preview360panorama": [
[
"PanoramaViewerNode"
],
{
"title_aux": "Preview 360 Panorama for ComfyUI"
}
],
"https://github.com/ProGamerGov/ComfyUI_pytorch360convert": [
[
"Crop Image with Coords",
@@ -7351,6 +7375,7 @@
"AspectRatioAdvanced",
"DisplayEverything",
"ImageComparer",
"LensFlare",
"MultiFloat",
"MultiTextNode",
"SKB_AnySwitch",
@@ -8450,6 +8475,7 @@
"SD35StartSettings",
"SDXLStartSettings",
"SDstarsampler",
"Star Face Loader",
"StarFiveWildcards",
"StarImageSwitch",
"StarTextFilter",
@@ -10646,6 +10672,18 @@
"title_aux": "ComfyUI-styles-all"
}
],
"https://github.com/agilly1989/ComfyUI_agilly1989_motorway": [
[
"MotorwayFloat",
"MotorwayInt",
"MotorwaySeed",
"MotorwayStr",
"MotorwayStrMulti"
],
{
"title_aux": "ComfyUI_agilly1989_motorway"
}
],
"https://github.com/ahernandezmiro/ComfyUI-GCP_Storage_tools": [
[
"GCPReadImageNode",
@@ -10721,6 +10759,14 @@
"title_aux": "Comfy UI FatLabels"
}
],
"https://github.com/aiartvn/A2V_Multi_Image_Composite": [
[
"A2V_Multi_Image_Composite"
],
{
"title_aux": "A2V Multi Image Composite"
}
],
"https://github.com/aidec/Comfyui_TextBatch_aidec": [
[
"ImageQueueProcessor",
@@ -11881,18 +11927,22 @@
"SamplerSonarEuler",
"SamplerSonarEulerA",
"SonarAdvanced1fNoise",
"SonarAdvancedDistroNoise",
"SonarAdvancedPowerLawNoise",
"SonarAdvancedPyramidNoise",
"SonarBlendedNoise",
"SonarChannelNoise",
"SonarCompositeNoise",
"SonarCustomNoise",
"SonarCustomNoiseAdv",
"SonarGuidanceConfig",
"SonarGuidedNoise",
"SonarModulatedNoise",
"SonarRandomNoise",
"SonarRepeatedNoise",
"SonarScheduledNoise"
"SonarResizedNoise",
"SonarScheduledNoise",
"SonarWaveletFilteredNoise"
],
{
"title_aux": "ComfyUI-sonar"
@@ -13897,6 +13947,7 @@
"PolyexponentialScheduler",
"PorterDuffImageComposite",
"Preview3D",
"Preview3DAnimation",
"PreviewAudio",
"PreviewImage",
"RandomNoise",
@@ -15452,7 +15503,8 @@
"SelOutModel",
"SelOutPolar",
"Selector",
"Selector Advanced"
"Selector Advanced",
"Selector Hub"
],
{
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
@@ -16638,8 +16690,10 @@
"Griptape Replace: Rulesets on Agent",
"Griptape Replace: Tools on Agent",
"Griptape Rerank Driver: Cohere",
"Griptape Retrieve: Cloud Ruleset",
"Griptape Run: Agent",
"Griptape Run: Audio Transcription",
"Griptape Run: Cloud Assistant",
"Griptape Run: Image Description",
"Griptape Run: Parallel Image Description",
"Griptape Run: Prompt Task",
@@ -19306,6 +19360,7 @@
"GetImageRangeFromBatch",
"GetImageSizeAndCount",
"GetImagesFromBatchIndexed",
"GetLatentRangeFromBatch",
"GetLatentsFromBatchIndexed",
"GetMaskSizeAndCount",
"GradientToFloat",
@@ -19324,6 +19379,7 @@
"ImageGridComposite2x2",
"ImageGridComposite3x3",
"ImageGridtoBatch",
"ImageNoiseAugmentation",
"ImageNormalize_Neg1_To_1",
"ImagePadForOutpaintMasked",
"ImagePadForOutpaintTargetSize",
@@ -19339,6 +19395,7 @@
"Intrinsic_lora_sampling",
"JoinStringMulti",
"JoinStrings",
"LeapfusionHunyuanI2VPatcher",
"LoadAndResizeImage",
"LoadImagesFromFolderKJ",
"LoadResAdapterNormalization",
@@ -22574,6 +22631,15 @@
"title_aux": "ComfyUI OpenAI Prompter"
}
],
"https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz": [
[
"DanbooruPromptComparison",
"DanbooruPromptQuiz"
],
{
"title_aux": "ComfyUI-DanbooruPromptQuiz"
}
],
"https://github.com/nkchocoai/ComfyUI-Dart": [
[
"DanbooruTagsTransformerBanTagsFromRegex",
@@ -22679,11 +22745,11 @@
],
"https://github.com/nofunstudio/Node_Fun_ComfyUI": [
[
"IframeView",
"LayeredInfiniteZoom",
"Replicate flux 1.1 pro ultra",
"ReplicateAPI_flux_1_1_pro_ultra",
"ReplicateAPI_flux_fill_pro",
"WebViewer"
"ReplicateAPI_flux_fill_pro"
],
{
"title_aux": "Node_Fun_ComfyUI"
@@ -26163,6 +26229,7 @@
"quadmoonChangeBackground",
"quadmoonConvertBoolToString",
"quadmoonConvertFloatToString",
"quadmoonConvertImageToPrompt",
"quadmoonConvertIntToString",
"quadmoonConvertNormalizeHW",
"quadmoonConvertNumberToString",
@@ -27139,6 +27206,7 @@
],
"https://github.com/xlinx/ComfyUI-decadetw-auto-prompt-llm": [
[
"Auto-LLM-Chat",
"Auto-LLM-Text",
"Auto-LLM-Text-Vision",
"Auto-LLM-Vision"

View File

@@ -1,7 +1,7 @@
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "3.12.1"
version = "3.14"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]