Files
Limbicnation-ComfyUI-Random…/pyproject.toml
T
limbicnation 20d5149d02 fix: gate _last_seed mutation to dynamic modes
- random_seed_generator.py: only update the shared _last_seed counter for
  random/increment/decrement modes. fixed mode must be side-effect-free so
  interleaved fixed reads do not clobber the counter used by other
  AdvancedSeedGenerator nodes in the same workflow.
- tests: add regression coverage for the new gating (fixed leaves _last_seed
  alone; random and increment write through). Rewrite reset_state test to
  set state directly instead of relying on the removed fixed side effect.
- pyproject.toml: rewrite description to drop the stale
  "cross-library synchronization" claim (feature removed in 2.3.0).
- README: replace the unrealistic "ComfyUI Python console" reset advice
  with three actionable options (restart, random-then-increment, and
  reset_state for scripts).
2026-05-10 19:47:38 +02:00

21 lines
669 B
TOML

[project]
name = "randomseedgenerator"
description = "Minimal ComfyUI seed generator with fixed, random, increment, and decrement modes. Zero dependencies."
version = "2.3.0"
license = {file = "LICENSE"}
dependencies = []
[project.urls]
Repository = "https://github.com/Limbicnation/ComfyUI-RandomSeedGenerator"
# Used by Comfy Registry https://registry.comfy.org
[tool.comfy]
PublisherId = "limbicnation"
DisplayName = "ComfyUI-RandomSeedGenerator"
Icon = "https://raw.githubusercontent.com/Limbicnation/ComfyUI-RandomSeedGenerator/main/icon.png"
includes = []
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--confcutdir=tests --import-mode=importlib"