squadrant 0.14.0 → 0.14.1

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.
@@ -537,6 +537,8 @@ function reduce(rec, ev, now) {
537
537
  case "task.turn.completed":
538
538
  if (rec.state === "blocked")
539
539
  return { ...rec, lastHeartbeat: now, lastEvent: ev.type };
540
+ if (rec.pendingTool)
541
+ return stampAttempt(base, {}, now);
540
542
  return { ...stampAttempt(base, {}, now), state: "awaiting-input", pendingTool: void 0 };
541
543
  case "task.delta":
542
544
  return stampAttempt(base, {}, now);