Compare commits

...

2 Commits

Author SHA1 Message Date
pythongosssss
890a8cfd49 revert icon 2026-06-11 04:16:16 -07:00
pythongosssss
065270b39c feat: add switch node to essentials 2026-06-11 04:07:05 -07:00
4 changed files with 7 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ describe('resolveEssentialsDisplayName', () => {
['LoadImage', 'essentials.loadImage'],
['SaveImage', 'essentials.saveImage'],
['PrimitiveStringMultiline', 'essentials.text'],
['ComfySwitchNode', 'essentials.switch'],
['ImageScale', 'essentials.resizeImage'],
['LoraLoader', 'essentials.loadStyleLora'],
['OpenAIChatNode', 'essentials.textGenerationLLM'],

View File

@@ -16,6 +16,7 @@ const EXACT_NAME_MAP: Record<string, string> = {
Load3D: 'essentials.load3DModel',
SaveGLB: 'essentials.save3DModel',
PrimitiveStringMultiline: 'essentials.text',
ComfySwitchNode: 'essentials.switch',
// Image Tools
BatchImagesNode: 'essentials.batchImage',

View File

@@ -14,7 +14,8 @@ export const ESSENTIALS_ICON_OVERRIDES: Record<string, string> = {
ImageCrop: 'icon-s1.3-[lucide--crop]',
VideoCrop: 'icon-s1.3-[lucide--crop]',
KlingLipSyncAudioToVideoNode: 'icon-s1.3-[lucide--mic-vocal]',
WebcamCapture: 'icon-s1.3-[lucide--camera]'
WebcamCapture: 'icon-s1.3-[lucide--camera]',
ComfySwitchNode: 'icon-s1.3-[lucide--merge]'
}
export const ESSENTIALS_CATEGORIES = [
@@ -44,7 +45,8 @@ export const ESSENTIALS_NODES: Record<EssentialsCategory, readonly string[]> = {
'SaveVideo',
'SaveGLB',
'PrimitiveStringMultiline',
'PreviewImage'
'PreviewImage',
'ComfySwitchNode'
],
'text generation': ['OpenAIChatNode'],
'image generation': [

View File

@@ -4170,6 +4170,7 @@
"load3DModel": "Load 3D model",
"save3DModel": "Save 3D Model",
"text": "Text",
"switch": "Switch",
"batchImage": "Batch Image",
"cropImage": "Crop Image",
"resizeImage": "Resize Image",