ai 5.0.215 → 5.0.216

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.mjs CHANGED
@@ -689,7 +689,7 @@ import {
689
689
  } from "@ai-sdk/provider-utils";
690
690
 
691
691
  // src/version.ts
692
- var VERSION = true ? "5.0.215" : "0.0.0-test";
692
+ var VERSION = true ? "5.0.216" : "0.0.0-test";
693
693
 
694
694
  // src/util/download/download.ts
695
695
  var download = async ({
@@ -2399,6 +2399,14 @@ async function generateText({
2399
2399
  continue;
2400
2400
  }
2401
2401
  const tool2 = tools[toolCall.toolName];
2402
+ if (tool2.onInputStart != null) {
2403
+ await tool2.onInputStart({
2404
+ toolCallId: toolCall.toolCallId,
2405
+ messages: stepInputMessages,
2406
+ abortSignal,
2407
+ experimental_context
2408
+ });
2409
+ }
2402
2410
  if ((tool2 == null ? void 0 : tool2.onInputAvailable) != null) {
2403
2411
  await tool2.onInputAvailable({
2404
2412
  input: toolCall.input,