Commit Graph
11 Commits
Author SHA1 Message Date
Vito Sansevero 2737a4b1ef style: apply Black formatter (line-length=88) to all Python files
Automated formatting pass across 30 files to establish consistent code
style enforced by CI. No logic changes.
2026-02-07 08:30:09 -08:00
Vito Sansevero 4f62066c63 fix: harden nodes, validators, and utility modules
Phase 0-3 fixes from codebase audit:
- Extract shared node logic into prompt_manager_base.py (DRY)
- Add input validation guards to validators.py
- Fix logging_config.py buffer management
- Harden image_monitor.py against race conditions
- Fix prompt_tracker.py cleanup edge cases
- Fix diagnostics.py import path
- Wire config.py server instance correctly
2026-02-07 07:02:10 -08:00
Vito Sansevero 557d79c173 fix: restore IS_CHANGED to enable proper branch execution
Fixes #94

The removal of IS_CHANGED in PR #91 caused ComfyUI to always
re-execute the entire graph instead of only changed branches.

IS_CHANGED returns a hash of text inputs (text, prepend_text,
append_text) - when unchanged, ComfyUI skips re-execution.
2026-02-03 08:39:22 -08:00
Vito Sansevero 4dbc553b04 refactor: Use singleton getters for tracker/monitor 2026-02-02 15:09:15 -08:00
Vito Sansevero d91c92c08b refactor: Optimize IS_CHANGED method logic 2025-09-09 09:29:25 -07:00
Vito Sansevero 22593e8514 docs: add comprehensive docstrings to all Python modules
- Add Google-style docstrings to main node files (prompt_manager.py, prompt_manager_text.py)
- Enhance database module docstrings with detailed parameter and return documentation
- Add comprehensive docstrings to all utils modules with usage examples
- Document API endpoints and configuration classes thoroughly
- Update module-level docstrings in all __init__.py files
- Ensure consistent naming (ComfyUI_PromptManager) across all documentation
- Follow Python best practices for docstring formatting
2025-08-12 06:51:36 -07:00
Vito Sansevero 6aa924cbf0 style: Fix formatting and imports in prompt manager 2025-08-08 20:45:34 -07:00
Vito Sansevero e0a7f509a1 feat: Add ComfyUI integration to PromptManagerText 2025-07-25 14:03:40 -07:00
Vito Sansevero f7a2c2a5f5 style: Change log level from info to debug 2025-06-19 16:56:45 -07:00
Vito Sansevero 536a3c8f59 style(prompt_manager_text): Change log level to debug 2025-06-19 13:06:01 -07:00
Vito Sansevero 53f4f3df1d feat: Add PromptManagerText class for text management 2025-06-08 15:50:18 -07:00