Files
SurrealByDesign 79a8de97e1 Add IdeogramVisualPromptDesigner (Phase 1) and fix ensure_ascii bug across three nodes
IdeogramVisualPromptDesigner is the backend foundation for the planned
Visual Prompt Designer: builds a prompt from scratch or loads an existing
one, reconstructs an editable internal "designer state," restores
designer-only fields (subjects/hierarchy/relationships/notes/per-element
depth-weight-lock-hide-group) from a previously saved state, applies an
optional palette override, and re-validates with the existing
IdeogramJSONValidator. The drag/resize canvas, scene graph, and
relationship UI from the full spec need a custom ComfyUI frontend
extension and are a separate, future phase -- see README's new
"Ideogram Visual Prompt Designer" section for the status table,
architecture, round-trip workflow, and known limitations.

Found and fixed a real bug while building it: IdeogramJSONValidator,
IdeogramPromptAssembler, and IdeogramPaletteToGlobalJSON were all
missing ensure_ascii=False, silently escaping non-ASCII content into
\uXXXX sequences -- inconsistent with every other JSON-producing node
in this repo. IdeogramJSONValidator also gained two new outputs,
errors_json/warnings_json, added after the existing three so saved
workflows' connections by index are unaffected; updated the three
showcase workflows that reference it to match.

This went through a full pre-publish audit pass (category convention,
dead constants, a decorative non-functional id field removed, a no-op
reference_image input removed, validation structure) and was verified
end-to-end against a live ComfyUI server multiple times, including the
full round-trip workflow.

126 tests passing (up from 102).
2026-06-22 22:53:27 -04:00
..
2026-06-20 08:20:06 -04:00
2026-06-20 08:20:06 -04:00
2026-06-20 08:20:06 -04:00
2026-06-20 08:20:06 -04:00
2026-06-20 08:20:06 -04:00