feat: add ComfyUI integration for image generation and management

- Implemented ComfyGenerateRequest type and associated functions for generating images using various architectures and modes.
- Added functions for listing generation options and handling image uploads.
- Created workflows for different generation modes including SDXL, Z-Image, Z-Image Turbo, and Anima.
- Introduced GenerationJobStatus component to display the status of ongoing generation jobs.
- Developed MaskControls for managing mask operations and displaying mask analysis.
- Created palette items for tool selection, layer management, and generation settings.
This commit is contained in:
syntaxbullet
2026-07-10 23:15:02 +02:00
parent 41bbd1e16b
commit 5e4b548ad4
80 changed files with 2114 additions and 1954 deletions

6
platform/AGENTS.md Normal file
View File

@@ -0,0 +1,6 @@
# Platform Adapter Rules
- `platform/` implements browser or runtime capabilities behind focused functions and interfaces.
- Browser raster, image decoding, object URLs, downloads, and HTTP clients belong here.
- Platform adapters do not own application state and do not dispatch commands.
- Keep business rules, document traversal, and editor workflow decisions out of this layer.