From 18b793aee0ea3b6f6bb53b15a5f7ff6ca5e2a55e Mon Sep 17 00:00:00 2001 From: ChrisColeTech Date: Mon, 24 Aug 2026 11:03:57 -0400 Subject: [PATCH] Add SEARCH_ALIASES to all four nodes so they show up in text search ComfyUI's node search only indexes name/display_name/search_aliases (comfy_frontend nodeSearchService.ts) - never input/output types. None of these nodes declared SEARCH_ALIASES, so a keyword search (e.g. "counter", "read line") would only match if the word happened to be in the display title verbatim. Bump version from 1.0.10 to 1.0.11 --- line_counter.py | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/line_counter.py b/line_counter.py index c36844c..d1a189a 100644 --- a/line_counter.py +++ b/line_counter.py @@ -3,6 +3,7 @@ import hashlib class DirectoryFileCounter(): + SEARCH_ALIASES = ['count files', 'file count', 'directory count', 'number of files'] def __init__(self): pass @@ -39,6 +40,7 @@ class DirectoryFileCounter(): class TextFileLineCounter(): + SEARCH_ALIASES = ['count lines', 'line count', 'text file lines'] def __init__(self): pass @@ -70,6 +72,7 @@ class TextFileLineCounter(): class SimpleNumberCounter: + SEARCH_ALIASES = ['counter', 'increment', 'decrement', 'number counter', 'index counter'] def __init__(self): self.counters = {} @@ -131,6 +134,7 @@ TEXT_TYPE = "STRING" class TextFileLineReader: + SEARCH_ALIASES = ['read line', 'read text file', 'sequential text', 'line reader', 'read prompts'] # Class-level variable to keep track of the current line index current_index = 0 diff --git a/pyproject.toml b/pyproject.toml index 9a5cf44..83060e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-line-counter" description = "This custom node package for ComfyUI is designed to streamline your workflow with powerful file-counting capabilities." -version = "1.0.10" +version = "1.0.11" license = {file = "LICENSE"} [project.urls]