@ai-sdk/open-responses 2.0.0-beta.4 → 2.0.0-beta.54

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,414 @@
1
1
  # @ai-sdk/open-responses
2
2
 
3
+ ## 2.0.0-beta.54
4
+
5
+ ### Patch Changes
6
+
7
+ - b8396f0: trigger initial beta release
8
+ - Updated dependencies [b8396f0]
9
+ - @ai-sdk/provider-utils@5.0.0-beta.49
10
+ - @ai-sdk/provider@4.0.0-beta.19
11
+
12
+ ## 2.0.0-canary.53
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [aeda373]
17
+ - Updated dependencies [375fdd7]
18
+ - Updated dependencies [b4507d5]
19
+ - @ai-sdk/provider-utils@5.0.0-canary.48
20
+
21
+ ## 2.0.0-canary.52
22
+
23
+ ### Patch Changes
24
+
25
+ - fb82a6c: Harden streamed tool call argument handling against prototype pollution.
26
+
27
+ ## 2.0.0-canary.51
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [bae5e2b]
32
+ - @ai-sdk/provider-utils@5.0.0-canary.47
33
+
34
+ ## 2.0.0-canary.50
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [ce769dd]
39
+ - @ai-sdk/provider@4.0.0-canary.18
40
+ - @ai-sdk/provider-utils@5.0.0-canary.46
41
+
42
+ ## 2.0.0-canary.49
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [ee798eb]
47
+ - Updated dependencies [daf6637]
48
+ - @ai-sdk/provider-utils@5.0.0-canary.45
49
+
50
+ ## 2.0.0-canary.48
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies [6c93e36]
55
+ - Updated dependencies [f617ac2]
56
+ - @ai-sdk/provider-utils@5.0.0-canary.44
57
+
58
+ ## 2.0.0-canary.47
59
+
60
+ ### Patch Changes
61
+
62
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
63
+ - Updated dependencies [7fc6bd6]
64
+ - @ai-sdk/provider-utils@5.0.0-canary.43
65
+ - @ai-sdk/provider@4.0.0-canary.17
66
+
67
+ ## 2.0.0-canary.46
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies [a6617c5]
72
+ - @ai-sdk/provider-utils@5.0.0-canary.42
73
+
74
+ ## 2.0.0-canary.45
75
+
76
+ ### Patch Changes
77
+
78
+ - Updated dependencies [28dfa06]
79
+ - Updated dependencies [e93fa91]
80
+ - @ai-sdk/provider-utils@5.0.0-canary.41
81
+
82
+ ## 2.0.0-canary.44
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [a7de9c9]
87
+ - @ai-sdk/provider-utils@5.0.0-canary.40
88
+
89
+ ## 2.0.0-canary.43
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [105f95b]
94
+ - @ai-sdk/provider-utils@5.0.0-canary.39
95
+
96
+ ## 2.0.0-canary.42
97
+
98
+ ### Patch Changes
99
+
100
+ - 52d2e30: fix(open-responses): map non-image file parts to input_file
101
+
102
+ ## 2.0.0-canary.41
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [ca446f8]
107
+ - @ai-sdk/provider-utils@5.0.0-canary.38
108
+
109
+ ## 2.0.0-canary.40
110
+
111
+ ### Patch Changes
112
+
113
+ - Updated dependencies [d848405]
114
+ - @ai-sdk/provider-utils@5.0.0-canary.37
115
+
116
+ ## 2.0.0-canary.39
117
+
118
+ ### Patch Changes
119
+
120
+ - Updated dependencies [ca39020]
121
+ - @ai-sdk/provider-utils@5.0.0-canary.36
122
+
123
+ ## 2.0.0-canary.38
124
+
125
+ ### Patch Changes
126
+
127
+ - Updated dependencies [f634bac]
128
+ - @ai-sdk/provider-utils@5.0.0-canary.35
129
+
130
+ ## 2.0.0-canary.37
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [69254e0]
135
+ - Updated dependencies [3015fc3]
136
+ - @ai-sdk/provider-utils@5.0.0-canary.34
137
+
138
+ ## 2.0.0-canary.36
139
+
140
+ ### Patch Changes
141
+
142
+ - Updated dependencies [2427d88]
143
+ - @ai-sdk/provider-utils@5.0.0-canary.33
144
+
145
+ ## 2.0.0-canary.35
146
+
147
+ ### Patch Changes
148
+
149
+ - 5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
150
+ - Updated dependencies [5463d0d]
151
+ - @ai-sdk/provider-utils@5.0.0-canary.32
152
+ - @ai-sdk/provider@4.0.0-canary.16
153
+
154
+ ## 2.0.0-canary.34
155
+
156
+ ### Patch Changes
157
+
158
+ - 0c4c275: trigger initial canary release
159
+ - Updated dependencies [0c4c275]
160
+ - @ai-sdk/provider-utils@5.0.0-canary.31
161
+ - @ai-sdk/provider@4.0.0-canary.15
162
+
163
+ ## 2.0.0-beta.33
164
+
165
+ ### Major Changes
166
+
167
+ - 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
168
+
169
+ For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
170
+
171
+ ### Patch Changes
172
+
173
+ - Updated dependencies [08d2129]
174
+ - @ai-sdk/provider-utils@5.0.0-beta.30
175
+
176
+ ## 2.0.0-beta.32
177
+
178
+ ### Patch Changes
179
+
180
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
181
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
182
+ - Updated dependencies [9bd6512]
183
+ - Updated dependencies [258c093]
184
+ - Updated dependencies [b6783da]
185
+ - @ai-sdk/provider-utils@5.0.0-beta.29
186
+ - @ai-sdk/provider@4.0.0-beta.14
187
+
188
+ ## 2.0.0-beta.31
189
+
190
+ ### Patch Changes
191
+
192
+ - 9f0e36c: trigger release for all packages after provenance setup
193
+ - Updated dependencies [9f0e36c]
194
+ - @ai-sdk/provider@4.0.0-beta.13
195
+ - @ai-sdk/provider-utils@5.0.0-beta.28
196
+
197
+ ## 2.0.0-beta.30
198
+
199
+ ### Patch Changes
200
+
201
+ - 58a2ad7: fix: more precise default message for tool execution denial
202
+ - Updated dependencies [785fe16]
203
+ - Updated dependencies [67df0a0]
204
+ - Updated dependencies [befb78c]
205
+ - Updated dependencies [0458559]
206
+ - Updated dependencies [5852c0a]
207
+ - Updated dependencies [fc92055]
208
+ - @ai-sdk/provider-utils@5.0.0-beta.27
209
+
210
+ ## 2.0.0-beta.29
211
+
212
+ ### Patch Changes
213
+
214
+ - Updated dependencies [2e98477]
215
+ - @ai-sdk/provider-utils@5.0.0-beta.26
216
+
217
+ ## 2.0.0-beta.28
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [eea8d98]
222
+ - @ai-sdk/provider-utils@5.0.0-beta.25
223
+
224
+ ## 2.0.0-beta.27
225
+
226
+ ### Patch Changes
227
+
228
+ - Updated dependencies [f807e45]
229
+ - @ai-sdk/provider-utils@5.0.0-beta.24
230
+
231
+ ## 2.0.0-beta.26
232
+
233
+ ### Patch Changes
234
+
235
+ - Updated dependencies [350ea38]
236
+ - @ai-sdk/provider-utils@5.0.0-beta.23
237
+
238
+ ## 2.0.0-beta.25
239
+
240
+ ### Patch Changes
241
+
242
+ - Updated dependencies [083947b]
243
+ - @ai-sdk/provider-utils@5.0.0-beta.22
244
+
245
+ ## 2.0.0-beta.24
246
+
247
+ ### Patch Changes
248
+
249
+ - Updated dependencies [add1126]
250
+ - @ai-sdk/provider-utils@5.0.0-beta.21
251
+
252
+ ## 2.0.0-beta.23
253
+
254
+ ### Patch Changes
255
+
256
+ - b3976a2: Add workflow serialization support to all provider models.
257
+
258
+ **`@ai-sdk/provider-utils`:** New `serializeModel()` helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
259
+
260
+ **All providers:** `headers` is now optional in provider config types. This is non-breaking — existing code that passes `headers` continues to work. Custom provider implementations that construct model configs manually can now omit `headers`, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
261
+
262
+ All provider model classes now include `WORKFLOW_SERIALIZE` and `WORKFLOW_DESERIALIZE` static methods, enabling them to cross workflow step boundaries without serialization errors.
263
+
264
+ - ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types
265
+ - Updated dependencies [b3976a2]
266
+ - Updated dependencies [ff5eba1]
267
+ - @ai-sdk/provider-utils@5.0.0-beta.20
268
+ - @ai-sdk/provider@4.0.0-beta.12
269
+
270
+ ## 2.0.0-beta.22
271
+
272
+ ### Major Changes
273
+
274
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
275
+
276
+ ### Patch Changes
277
+
278
+ - Updated dependencies [ef992f8]
279
+ - @ai-sdk/provider@4.0.0-beta.11
280
+ - @ai-sdk/provider-utils@5.0.0-beta.19
281
+
282
+ ## 2.0.0-beta.21
283
+
284
+ ### Patch Changes
285
+
286
+ - 90e2d8a: chore: fix unused vars not being flagged by our lint tooling
287
+ - Updated dependencies [90e2d8a]
288
+ - @ai-sdk/provider-utils@5.0.0-beta.18
289
+
290
+ ## 2.0.0-beta.20
291
+
292
+ ### Patch Changes
293
+
294
+ - Updated dependencies [3ae1786]
295
+ - @ai-sdk/provider-utils@5.0.0-beta.17
296
+
297
+ ## 2.0.0-beta.19
298
+
299
+ ### Patch Changes
300
+
301
+ - Updated dependencies [176466a]
302
+ - @ai-sdk/provider@4.0.0-beta.10
303
+ - @ai-sdk/provider-utils@5.0.0-beta.16
304
+
305
+ ## 2.0.0-beta.18
306
+
307
+ ### Patch Changes
308
+
309
+ - Updated dependencies [e311194]
310
+ - @ai-sdk/provider@4.0.0-beta.9
311
+ - @ai-sdk/provider-utils@5.0.0-beta.15
312
+
313
+ ## 2.0.0-beta.17
314
+
315
+ ### Patch Changes
316
+
317
+ - e69a836: feat(open-responses): add option to pass reasoning summary for OpenResponses
318
+
319
+ ## 2.0.0-beta.16
320
+
321
+ ### Patch Changes
322
+
323
+ - Updated dependencies [34bd95d]
324
+ - Updated dependencies [008271d]
325
+ - @ai-sdk/provider@4.0.0-beta.8
326
+ - @ai-sdk/provider-utils@5.0.0-beta.14
327
+
328
+ ## 2.0.0-beta.15
329
+
330
+ ### Patch Changes
331
+
332
+ - Updated dependencies [b0c2869]
333
+ - Updated dependencies [7e26e81]
334
+ - @ai-sdk/provider-utils@5.0.0-beta.13
335
+
336
+ ## 2.0.0-beta.14
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [46d1149]
341
+ - @ai-sdk/provider-utils@5.0.0-beta.12
342
+
343
+ ## 2.0.0-beta.13
344
+
345
+ ### Patch Changes
346
+
347
+ - Updated dependencies [6fd51c0]
348
+ - @ai-sdk/provider-utils@5.0.0-beta.11
349
+ - @ai-sdk/provider@4.0.0-beta.7
350
+
351
+ ## 2.0.0-beta.12
352
+
353
+ ### Patch Changes
354
+
355
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
356
+ - Updated dependencies [c29a26f]
357
+ - @ai-sdk/provider-utils@5.0.0-beta.10
358
+ - @ai-sdk/provider@4.0.0-beta.6
359
+
360
+ ## 2.0.0-beta.11
361
+
362
+ ### Patch Changes
363
+
364
+ - Updated dependencies [2e17091]
365
+ - @ai-sdk/provider-utils@5.0.0-beta.9
366
+
367
+ ## 2.0.0-beta.10
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [986c6fd]
372
+ - Updated dependencies [493295c]
373
+ - @ai-sdk/provider-utils@5.0.0-beta.8
374
+
375
+ ## 2.0.0-beta.9
376
+
377
+ ### Patch Changes
378
+
379
+ - Updated dependencies [1f509d4]
380
+ - @ai-sdk/provider-utils@5.0.0-beta.7
381
+ - @ai-sdk/provider@4.0.0-beta.5
382
+
383
+ ## 2.0.0-beta.8
384
+
385
+ ### Patch Changes
386
+
387
+ - 74d520f: feat: migrate providers to support new top-level `reasoning` parameter
388
+
389
+ ## 2.0.0-beta.7
390
+
391
+ ### Patch Changes
392
+
393
+ - Updated dependencies [3887c70]
394
+ - @ai-sdk/provider-utils@5.0.0-beta.6
395
+ - @ai-sdk/provider@4.0.0-beta.4
396
+
397
+ ## 2.0.0-beta.6
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [776b617]
402
+ - @ai-sdk/provider-utils@5.0.0-beta.5
403
+ - @ai-sdk/provider@4.0.0-beta.3
404
+
405
+ ## 2.0.0-beta.5
406
+
407
+ ### Patch Changes
408
+
409
+ - Updated dependencies [61753c3]
410
+ - @ai-sdk/provider-utils@5.0.0-beta.4
411
+
3
412
  ## 2.0.0-beta.4
4
413
 
5
414
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { ProviderV4, LanguageModelV4 } from '@ai-sdk/provider';
2
- import { FetchFunction } from '@ai-sdk/provider-utils';
2
+ import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
3
+ import { FetchFunction, InferSchema } from '@ai-sdk/provider-utils';
3
4
 
4
5
  declare const VERSION: string;
5
6
 
@@ -31,4 +32,9 @@ interface OpenResponsesProviderSettings {
31
32
  }
32
33
  declare function createOpenResponses(options: OpenResponsesProviderSettings): OpenResponsesProvider;
33
34
 
34
- export { VERSION, createOpenResponses };
35
+ declare const openResponsesLanguageModelOptions: _ai_sdk_provider_utils.LazySchema<{
36
+ reasoningSummary?: "auto" | "concise" | "detailed" | null | undefined;
37
+ }>;
38
+ type OpenResponsesLanguageModelOptions = InferSchema<typeof openResponsesLanguageModelOptions>;
39
+
40
+ export { type OpenResponsesLanguageModelOptions, type OpenResponsesLanguageModelOptions as OpenResponsesOptions, type OpenResponsesProvider, type OpenResponsesProviderSettings, VERSION, createOpenResponses };