feat(image): integrate PoloX image editing workflows

Add WaveSpeed image editing and image tools plugins, canvas image editing workflows, layer selection, and Cloud Agent image tools with approval-safe transient references.
This commit is contained in:
Codex committed 2026-09-18 20:34:28 +08:00
1 parent c7c37f2d4f
commit 6abaa7b45a
34 files changed
+2537 -75

No files matched your search

@@ -30,6 +30,7 @@ type UseCanvasRenderModelOptions = {
infoNodeId: string | null;
cropNodeId: string | null;
maskEditNodeId: string | null;
imageEditNodeId: string | null;
annotationNodeId: string | null;
splitNodeId: string | null;
upscaleNodeId: string | null;
@@ -61,6 +62,7 @@ export function useCanvasRenderModel({
infoNodeId,
cropNodeId,
maskEditNodeId,
imageEditNodeId,
annotationNodeId,
splitNodeId,
upscaleNodeId,
@@ -222,6 +224,7 @@ export function useCanvasRenderModel({
const infoNode = infoNodeId ? nodeById.get(infoNodeId) || null : null;
const cropNode = cropNodeId ? nodeById.get(cropNodeId) || null : null;
const maskEditNode = maskEditNodeId ? nodeById.get(maskEditNodeId) || null : null;
const imageEditNode = imageEditNodeId ? nodeById.get(imageEditNodeId) || null : null;
const annotationNode = annotationNodeId ? nodeById.get(annotationNodeId) || null : null;
const splitNode = splitNodeId ? nodeById.get(splitNodeId) || null : null;
const upscaleNode = upscaleNodeId ? nodeById.get(upscaleNodeId) || null : null;
@@ -379,6 +382,7 @@ export function useCanvasRenderModel({
imageAssets,
infoNode,
maskEditNode,
imageEditNode,
mentionReferencesByNodeId,
nodeById,
previewNode,