@ai-sdk/openai 2.0.83 → 2.0.85

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.
@@ -2653,7 +2653,7 @@ var openaiResponsesChunkSchema = lazyValidator11(
2653
2653
  url: z14.string().nullish()
2654
2654
  }),
2655
2655
  z14.object({
2656
- type: z14.literal("find"),
2656
+ type: z14.literal("find_in_page"),
2657
2657
  url: z14.string().nullish(),
2658
2658
  pattern: z14.string().nullish()
2659
2659
  })
@@ -2863,7 +2863,7 @@ var openaiResponsesResponseSchema = lazyValidator11(
2863
2863
  url: z14.string().nullish()
2864
2864
  }),
2865
2865
  z14.object({
2866
- type: z14.literal("find"),
2866
+ type: z14.literal("find_in_page"),
2867
2867
  url: z14.string().nullish(),
2868
2868
  pattern: z14.string().nullish()
2869
2869
  })
@@ -2988,7 +2988,10 @@ var openaiResponsesReasoningModelIds = [
2988
2988
  "gpt-5.1-chat-latest",
2989
2989
  "gpt-5.1-codex-mini",
2990
2990
  "gpt-5.1-codex",
2991
- "gpt-5.1-codex-max"
2991
+ "gpt-5.1-codex-max",
2992
+ "gpt-5.2",
2993
+ "gpt-5.2-chat-latest",
2994
+ "gpt-5.2-pro"
2992
2995
  ];
2993
2996
  var openaiResponsesModelIds = [
2994
2997
  "gpt-4.1",
@@ -3239,7 +3242,7 @@ var webSearchOutputSchema = lazySchema4(
3239
3242
  url: z18.string().nullish()
3240
3243
  }),
3241
3244
  z18.object({
3242
- type: z18.literal("find"),
3245
+ type: z18.literal("findInPage"),
3243
3246
  url: z18.string().nullish(),
3244
3247
  pattern: z18.string().nullish()
3245
3248
  })
@@ -3297,7 +3300,7 @@ var webSearchPreviewOutputSchema = lazySchema5(
3297
3300
  url: z19.string().nullish()
3298
3301
  }),
3299
3302
  z19.object({
3300
- type: z19.literal("find"),
3303
+ type: z19.literal("findInPage"),
3301
3304
  url: z19.string().nullish(),
3302
3305
  pattern: z19.string().nullish()
3303
3306
  })
@@ -4557,9 +4560,13 @@ function mapWebSearchOutput(action) {
4557
4560
  };
4558
4561
  case "open_page":
4559
4562
  return { action: { type: "openPage", url: action.url } };
4560
- case "find":
4563
+ case "find_in_page":
4561
4564
  return {
4562
- action: { type: "find", url: action.url, pattern: action.pattern }
4565
+ action: {
4566
+ type: "findInPage",
4567
+ url: action.url,
4568
+ pattern: action.pattern
4569
+ }
4563
4570
  };
4564
4571
  }
4565
4572
  }