@standardagents/builder 0.11.8 → 0.11.9

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.js CHANGED
@@ -5032,8 +5032,8 @@ var init_FlowEngine = __esm({
5032
5032
  );
5033
5033
  return !hasExistingResult;
5034
5034
  });
5035
- if (toolsToExecute && toolsToExecute.length > 0) {
5036
- await ToolExecutor.executeSequence(state, toolsToExecute);
5035
+ if (toolsToExecute && toolsToExecute.length > 0 || state.sequence.queue.length > 0) {
5036
+ await ToolExecutor.executeSequence(state, toolsToExecute || []);
5037
5037
  }
5038
5038
  if (await state.thread.instance.shouldStop() || state.abortController?.signal.aborted) {
5039
5039
  throw new Error("aborted");