Commit Graph
19 Commits
Author SHA1 Message Date
AEmotionStudio 8206c475e5 fix: make connect() return bool to verify connection success in reconnect loop 2026-01-20 16:10:23 -08:00
AEmotionStudio f2e1779450 fix: use absolute imports for shared module in cogs 2026-01-20 15:49:04 -08:00
AEmotionStudio 8ffb72bb4d fix: capture reconnect attempts before connect() to fix log message 2026-01-20 15:32:43 -08:00
AEmotionStudio e7fde9951a fix: resolve race condition between connect() and disconnect() 2026-01-20 15:09:59 -08:00
AEmotionStudioandClaude Opus 4.5 436b773bd8 chore: implement phase 6 - final cleanup
- 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>
2026-01-20 10:20:51 -08:00
AEmotionStudioandClaude Opus 4.5 b083702eb9 feat(bot): implement phase 5 - complete bot features
- 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>
2026-01-20 10:11:53 -08:00
AEmotionStudio 852840dcae refactor(core): restructure project into shared/ and nodes/ modules 2026-01-19 22:02:47 -08:00
AEmotionStudioandClaude Opus 4.5 e3e95ab197 fix(bot): resolve 4 critical bugs preventing bot startup
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>
2026-01-19 17:07:29 -08:00
AEmotionStudio c7e7f5a6d9 refactor: Correct import paths after discordsend_utils refactor
- 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.
2026-01-14 22:30:49 -08:00
AEmotionStudio a128b92e33 fix(pr): Address PR feedback Round 8 (#5)
- Fix queue view crash on null positive_prompt
2026-01-14 18:22:06 -08:00
AEmotionStudio 8696680d87 fix(pr): Address PR feedback Round 7 (#5)
- Unify client_id across Bot, WebSocket and JobManager

- Secure /cancel and /queue clear with Generator permission
2026-01-14 18:06:20 -08:00
AEmotionStudio ad26e34c4f fix(pr): Address PR feedback Round 6 (#5)
- Fix duplicate deliveries for multi-output workflows

- Append output images instead of overwrite

- Debounce job delivery calls
2026-01-14 17:30:10 -08:00
AEmotionStudio 7d7b304eaf fix(pr): Address PR feedback Round 5 (#5)
- Fix WebSocket session leak on connection failure
2026-01-14 17:18:18 -08:00
AEmotionStudio 5539eb2417 fix(pr): Address PR feedback Round 4 (#5)
- Add required permission check to generate command
2026-01-14 17:08:46 -08:00
AEmotionStudio 0809d28431 fix(pr): Address PR feedback Round 3 (#5)
- Fix Config attribute access paths

- Secure permission decorator against DMs

- Fix webhook JSON serialization
2026-01-14 16:53:53 -08:00
AEmotionStudio deba755ed2 fix(pr): Address PR feedback Round 2 (#5)
- Fix misplaced imports in permissions.py

- Fix duration attribute in builders.py

- Prevent username overwrite in repository.py
2026-01-14 16:14:47 -08:00
AEmotionStudio e7d8843524 fix(pr): Address PR feedback (#5)
- Fix lazy loading in job delivery

- Fix user creation in create_job

- Fix server creation in setrole

- Enforce queue limits
2026-01-14 15:46:31 -08:00
AEmotionStudio 2220f76fea feat: Implement Phase 3 (Queue & Permissions) with DM safety fix 2026-01-12 21:40:44 -08:00
AEmotionStudio 5755166e41 feat: Implement Phase 1 & 2 of ComfyUI Companion Bot 2026-01-12 21:21:16 -08:00