- Remove unused imports from nodes (time, torch, requests, itertools)
- Move uuid import to top-level in bot/bot.py
- Add 4 new test files with 86 tests for shared utilities
- Update CHANGELOG.md with version 2.0.0 refactoring summary
- Update REFACTOR_PRD.md to mark Phase 5 complete
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add WebSocket reconnection with exponential backoff (1s-60s, ±10% jitter)
- Add error delivery to notify users when jobs fail
- Create templates cog with /template save/load/list/delete commands
- Create history cog with /history (paginated) and /rerun commands
- Fix BotConfig import in bot.py
- Enable templates and history cogs in bot loader
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Phase 0 of separation-of-concerns refactor:
- Fix BotConfig class name mismatch in bot/__main__.py
(was importing 'Config' but class is 'BotConfig')
- Add missing 'import json' to bot/services/delivery.py
(json.loads was called without import)
- Remove unused PermissionLevel import from bot/cogs/admin.py
- Fix config attribute path: config.comfyui.url (was config.comfyui_url)
Also adds REFACTOR_PRD.md to .gitignore for project planning docs.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fixed incorrect import paths in and that were pointing to the old directory.
- Added import to .
- Updated to exclude editor-specific directories and temporary files.