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:
7
operations/AGENTS.md
Normal file
7
operations/AGENTS.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Application Operation Rules
|
||||
|
||||
- `operations/` coordinates asynchronous editor use cases such as generation, import, raster processing, and export.
|
||||
- Operations may read immutable state snapshots, call injected platform capabilities, and dispatch commands.
|
||||
- Operations must never mutate `ImageDocument` or `EditorState` directly.
|
||||
- Keep React, DOM elements, WebGL objects, server-only APIs, and concrete network details out of operation contracts.
|
||||
- Prefer dependency injection for platform behavior so operation control flow remains testable.
|
||||
Reference in New Issue
Block a user