agent.libx.js 0.94.20 → 0.94.21

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/cli.js CHANGED
@@ -1890,7 +1890,8 @@ var askUserQuestionTool = {
1890
1890
  const fallback = args.options?.[0]?.label ?? "";
1891
1891
  return `No interactive user is available \u2014 proceed using your best judgment.${fallback ? ` (Closest default: "${fallback}")` : ""}`;
1892
1892
  }
1893
- return ctx.host.ask(args);
1893
+ const answer = ctx.host.ask(args);
1894
+ return ctx.parkHuman ? ctx.parkHuman(answer) : answer;
1894
1895
  }
1895
1896
  };
1896
1897