OpenMontage/tools/graphics
Alastair Beal 85cf047c93 comfyui: route custom workflows through image/video selectors
The selector path previously hid the custom-workflow feature: video_selector
filtered tools on per-operation readiness (bundled WAN models) and both
selectors only chose ToolStatus.AVAILABLE providers, so comfyui_image/
comfyui_video — DEGRADED when bundled model metadata is missing — were
dropped even when the ComfyUI server was up and the caller supplied a full
workflow_json/workflow_path plus output_node.

- Add a custom-workflow readiness path to both selectors: when a custom
  workflow is supplied, eligibility is based on server availability (status
  != UNAVAILABLE) for any provider advertising supports.custom_workflow,
  not on bundled-model readiness. A custom workflow also restricts routing
  to custom-workflow-capable providers, since the graph JSON is ComfyUI
  specific.
- Expose workflow_json, workflow_path, output_node, workflow_name,
  workflow_model, and workflow_model_stack in both selector schemas so
  agents can discover the feature without bypassing the selectors.
- image_selector only forwards the workflow inputs to providers that
  declare them.
- Add contract tests for the new eligibility path and schema exposure.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 22:38:18 +01:00
..
__init__.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
code_snippet.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
comfyui_image.py comfyui: satisfy provider contract review items 2026-06-29 19:09:22 +01:00
diagram_gen.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
flux_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
google_imagen.py feat(google): support service-account auth for TTS + Imagen, fix false availability 2026-06-22 17:53:10 +05:30
grok_image.py Add Grok media providers and improve selector routing 2026-04-05 15:31:37 -07:00
image_gen.py hyperframes: add HTML/CSS/GSAP as a parallel composition runtime 2026-04-18 18:37:00 -07:00
image_selector.py comfyui: route custom workflows through image/video selectors 2026-06-29 22:38:18 +01:00
local_diffusion.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
math_animate.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
openai_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
pexels_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
pixabay_image.py Initial release — OpenMontage: the first open-source agentic video production system 2026-03-29 08:25:17 -07:00
recraft_image.py Fix Remotion-first rendering docs and post-render verification gaps 2026-04-06 08:21:48 -07:00