cli@1.0.1

tobi/qmdcli@1.0.1May 5, 2026by github-actions[bot]

AI Summary

This update addresses a critical bug in loop break conditions for CLI-driven flows, ensuring inner-node outputs are now correctly evaluated before the break check occurs. It also adds a new field for runtime predicate-based loop termination in YAML workspaces.

Key Highlights

  • Fixed loop break condition to evaluate after child nodes
  • Added `break_condition` field to YAML workspaces
  • Missing identifiers now treated as 'don't break' in loops

New Features

  • Runtime predicate support for CLI loops
  • Improved YAML workspace loop handling

Full Release Notes

## 1.0.1 (2026-05-05)

### 🩹 Fixes

- ### Bug fixes ([#42](https://github.com/the-dev-tools/dev-tools/issues/42))

  - **Loop break condition now sees inner-node outputs.** For/ForEach break expressions are evaluated **after** each iteration's children run, so they can reference values produced during that iteration (e.g. `{{ http_1.response.body.done }}`). Previously the check ran before children, so any expression referencing a not-yet-written variable failed the entire flow on the first iteration. Missing identifiers are now treated as "don't break" (loops are still bounded by iteration count). ForEach semantics also aligned with For: an expression that evaluates true exits the loop. ([#42](https://github.com/the-dev-tools/dev-tools/issues/42))

  ### Other

  - New `break_condition` field on `for` / `for_each` steps in YAML workspaces, so loops in CLI-driven flows can exit on a runtime predicate without needing the UI.

### ❤️ Thank You

- moosebay