@ai-sdk/provider-utils 5.0.46 → 5.0.47

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 5.0.47
4
+
5
+ ### Patch Changes
6
+
7
+ - fe07867: Fix Google `embedMany` calls with more than 100 values by keeping per-value multimodal content aligned across automatic batches, including text-only entries. Validate content length before sending requests and validate each batch's provider options after middleware transforms them.
8
+ - a4b0940: fix(ai): execute manually approved tool inputs produced by schema transforms
9
+
10
+ Preserve approved inputs during revalidation and reject histories whose reconstructed schema output differs, including signed approvals with missing original input. Validate transformed UI tool inputs against the reconstructed output before returning them as static tool parts.
11
+
12
+ - 771e74b: chore: enable dead code lint rules
13
+
3
14
  ## 5.0.46
4
15
 
5
16
  ### Patch Changes
@@ -338,7 +338,7 @@ var zodPatterns = {
338
338
  /**
339
339
  * `a-z` was added to replicate /i flag
340
340
  */
341
- email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,
341
+ email: /^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}$/,
342
342
  /**
343
343
  * Constructed a valid Unicode RegExp
344
344
  *