Files
dseditorandClaude Opus 5 ad233e8398 v1.4.0: remove reportlab hard dependency, simplify ModelDownloader
移除 reportlab 硬相依,改為延遲載入:
- photo_magazine_generator.py 頂層不再 import reportlab,避免缺套件時
  整個 ListHelper 節點套件 import 失敗(nodes.py 的 import 鏈無 try/except)
- 新增 ensure_reportlab():PhotoMagazineMaker 執行時才載入,缺少時才
  以 sys.executable -m pip 自動安裝,安裝失敗回傳友善訊息而非拋例外
- create_full_bleed_image 的預設參數 210*mm/297*mm 改為 None sentinel
  (預設值在 import 時求值,會讓延遲載入失效)
- requirements.txt / pyproject.toml 移除 reportlab;刪除未使用的 pdfutils

ModelDownloader 簡化為單純節點:
- 刪除 web/js/modelDownloader.js 的節點下方進度面板
- 移除 PromptServer WebSocket 推送、_send_progress、hidden unique_id
  與兩個下載方法的 progress_callback 參數鏈
- 下載進度僅輸出到終端機(已知大小每 10%、未知每 10MB)
- 修正未知檔案大小時的進度判斷:原本 downloaded % 10MB == 0 只在
  chunk size 恰好整除時才會輸出,改為門檻遞增

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 23:06:45 +08:00

17 lines
689 B
TOML

[project]
name = "Listhelper"
description = "The ListHelper collection is a comprehensive set of custom nodes for ComfyUI that provides powerful list manipulation capabilities. This collection includes audio processing, text splitting, and number generation tools for enhanced workflow automation.Qwen/GGUF Node For LLM function,SimpleWildCardSystem,BatchToPSDForQwenLayer"
version = "1.4.0"
license = {file = "LICENSE"}
dependencies = ["regex", "accelerate"]
[project.urls]
Repository = "https://github.com/dseditor/ComfyUI-ListHelper"
# Used by Comfy Registry https://registry.comfy.org
[tool.comfy]
PublisherId = "dseditor"
DisplayName = "ComfyUI-ListHelper"
Icon = ""
includes = []