@ai-sdk/xai 5.0.17 → 5.0.19

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,19 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 5.0.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9184a35]
8
+ - @ai-sdk/provider@4.0.25
9
+ - @ai-sdk/provider-utils@5.0.57
10
+
11
+ ## 5.0.18
12
+
13
+ ### Patch Changes
14
+
15
+ - fab95c1: fix(xai): allow up to 20 `allowedXHandles` / `excludedXHandles` in the `xSearch` tool
16
+
3
17
  ## 5.0.17
4
18
 
5
19
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1100,8 +1100,8 @@ const webSearch = (args = {}) => webSearchToolFactory(args);
1100
1100
  //#endregion
1101
1101
  //#region src/tool/x-search.ts
1102
1102
  const xSearchArgsSchema = lazySchema(() => zodSchema(z.object({
1103
- allowedXHandles: z.array(z.string()).max(10).optional(),
1104
- excludedXHandles: z.array(z.string()).max(10).optional(),
1103
+ allowedXHandles: z.array(z.string()).max(20).optional(),
1104
+ excludedXHandles: z.array(z.string()).max(20).optional(),
1105
1105
  fromDate: z.string().optional(),
1106
1106
  toDate: z.string().optional(),
1107
1107
  enableImageUnderstanding: z.boolean().optional(),
@@ -3088,7 +3088,7 @@ const xaiTools = {
3088
3088
  };
3089
3089
  //#endregion
3090
3090
  //#region src/version.ts
3091
- const VERSION = "5.0.17";
3091
+ const VERSION = "5.0.19";
3092
3092
  //#endregion
3093
3093
  //#region src/files/xai-files-options.ts
3094
3094
  const xaiFilesOptionsSchema = lazySchema(() => zodSchema(z.looseObject({