@standardagents/builder 0.37.1 → 0.37.2
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/built-in-routes.js +2 -2
- package/dist/built-in-routes.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +5 -5
package/dist/runtime.js
CHANGED
|
@@ -13710,7 +13710,7 @@ var init_ThreadStateImpl = __esm({
|
|
|
13710
13710
|
const toolCallId = this._flowState?.currentToolCall?.id;
|
|
13711
13711
|
const canPark = !!(toolCallId && this._executionState && typeof instance.dispatchClientTool === "function");
|
|
13712
13712
|
const side = this._flowState?.currentSide === "b" ? "b" : "a";
|
|
13713
|
-
const mustParkForApproval =
|
|
13713
|
+
const mustParkForApproval = await this.forwardedCallNeedsApproval(request);
|
|
13714
13714
|
if (mustParkForApproval && canPark && toolCallId && typeof instance.hasBridge === "function" && await instance.hasBridge()) {
|
|
13715
13715
|
await instance.dispatchClientTool(request, toolCallId, side);
|
|
13716
13716
|
const getDelivered = instance.getDeliveredClientToolResult;
|