ai 5.0.41 → 5.0.42

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,11 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.42
4
+
5
+ ### Patch Changes
6
+
7
+ - de5c066: fix(ai): forwarded providerExecuted flag in validateUIMessages
8
+
3
9
  ## 5.0.41
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -9985,6 +9985,7 @@ var toolUIPartSchemas = [
9985
9985
  type: import_v410.z.string().startsWith("tool-"),
9986
9986
  toolCallId: import_v410.z.string(),
9987
9987
  state: import_v410.z.literal("input-streaming"),
9988
+ providerExecuted: import_v410.z.boolean().optional(),
9988
9989
  input: import_v410.z.unknown().optional(),
9989
9990
  output: import_v410.z.never().optional(),
9990
9991
  errorText: import_v410.z.never().optional()
@@ -9993,6 +9994,7 @@ var toolUIPartSchemas = [
9993
9994
  type: import_v410.z.string().startsWith("tool-"),
9994
9995
  toolCallId: import_v410.z.string(),
9995
9996
  state: import_v410.z.literal("input-available"),
9997
+ providerExecuted: import_v410.z.boolean().optional(),
9996
9998
  input: import_v410.z.unknown(),
9997
9999
  output: import_v410.z.never().optional(),
9998
10000
  errorText: import_v410.z.never().optional(),
@@ -10002,6 +10004,7 @@ var toolUIPartSchemas = [
10002
10004
  type: import_v410.z.string().startsWith("tool-"),
10003
10005
  toolCallId: import_v410.z.string(),
10004
10006
  state: import_v410.z.literal("output-available"),
10007
+ providerExecuted: import_v410.z.boolean().optional(),
10005
10008
  input: import_v410.z.unknown(),
10006
10009
  output: import_v410.z.unknown(),
10007
10010
  errorText: import_v410.z.never().optional(),
@@ -10012,6 +10015,7 @@ var toolUIPartSchemas = [
10012
10015
  type: import_v410.z.string().startsWith("tool-"),
10013
10016
  toolCallId: import_v410.z.string(),
10014
10017
  state: import_v410.z.literal("output-error"),
10018
+ providerExecuted: import_v410.z.boolean().optional(),
10015
10019
  input: import_v410.z.unknown(),
10016
10020
  output: import_v410.z.never().optional(),
10017
10021
  errorText: import_v410.z.string(),