@agentforge/patterns 0.10.6 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2622,7 +2622,8 @@ function createSupervisorNode(config) {
2622
2622
  activeAssignments: assignments,
2623
2623
  // Multiple assignments for parallel execution!
2624
2624
  messages,
2625
- iteration: state.iteration + 1
2625
+ // Add 1 to iteration counter (uses additive reducer)
2626
+ iteration: 1
2626
2627
  };
2627
2628
  } catch (error) {
2628
2629
  logger2.error("Supervisor node error", {
package/dist/index.js CHANGED
@@ -2519,7 +2519,8 @@ function createSupervisorNode(config) {
2519
2519
  activeAssignments: assignments,
2520
2520
  // Multiple assignments for parallel execution!
2521
2521
  messages,
2522
- iteration: state.iteration + 1
2522
+ // Add 1 to iteration counter (uses additive reducer)
2523
+ iteration: 1
2523
2524
  };
2524
2525
  } catch (error) {
2525
2526
  logger2.error("Supervisor node error", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentforge/patterns",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "Agent patterns (ReAct, Planner-Executor) for AgentForge framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",