Skip to content

v0.8.0

Choose a tag to compare

@pallaoro pallaoro released this 01 Apr 21:14
· 43 commits to main since this release

Features

  • Deep node targeting in flow_edit: All actions (update, remove, move, add) now search recursively through nested structures — branch paths, condition then/else, loop nodes, and parallel blocks. No more "node not found" for nested nodes.

  • parent parameter: Target a nested node list using slash-separated paths:

    • "myBranch/true" → branch path
    • "myCond/then" → condition then block
    • "myLoop" → loop child nodes
    • "outer/true/inner" → chained nesting

    Works with add and move actions to insert nodes directly into nested containers.

  • wrap action: Wrap one or more contiguous nodes into a new container node (loop, condition, branch, or parallel). The container is created automatically with the wrapped nodes as children. Example:

    { "action": "wrap", "nodes": ["step1", "step2"], "wrapper": { "name": "myLoop", "do": "loop", "over": "items", "as": "item" } }
  • Cross-level move: move can now relocate a node from any nesting depth into a different parent. Specify the destination with the parent parameter.

Fixes (from v0.7.2)

  • branch.on and condition.if now accept {{ }} template syntax in addition to bare dotted paths.