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
This commit is contained in:
ChrisColeTech
2026-08-24 11:03:57 -04:00
parent f2c2ffa586
commit 18b793aee0
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -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]