Skip to content

feat(workflows): add For Each iterator nodes (image / text / mesh)#220

Open
Lorchie wants to merge 1 commit into
devfrom
feat/for-each-iterator-nodes
Open

feat(workflows): add For Each iterator nodes (image / text / mesh)#220
Lorchie wants to merge 1 commit into
devfrom
feat/for-each-iterator-nodes

Conversation

@Lorchie

@Lorchie Lorchie commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Adds a For Each source node that walks a folder alphabetically and emits one file per loop pass, re-running the downstream nodes for each item. Image / text / mesh modes, with Pause / Continue / Retry, and lockstep iteration when several iterators share a downstream body. Also generalizes container-type detection and adds the fs.listFiles / fs.selectTextFile IPC helpers.

Adds a For Each source node that walks a folder alphabetically and emits one
file per loop pass, re-running the downstream nodes for each item. Supports
image, text and mesh modes with Pause / Continue / Retry controls, and runs
several iterators in lockstep when they share a downstream body.

- ForEachNode UI + palette entry, container-type detection generalized
- runner: iterator resolution, loop table, per-file execution
- fs.listFiles / fs.selectTextFile IPC helpers for folder listing
- preflight labels and output typing for the new node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant