@just-every/ensemble 0.1.0 → 0.1.3

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.
@@ -11,27 +11,27 @@ export declare const ToolDefinitionSchema: z.ZodObject<{
11
11
  properties: z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>;
12
12
  required: z.ZodArray<z.ZodString, "many">;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ required?: string[];
14
15
  type?: "object";
15
16
  properties?: Record<string, any>;
16
- required?: string[];
17
17
  }, {
18
+ required?: string[];
18
19
  type?: "object";
19
20
  properties?: Record<string, any>;
20
- required?: string[];
21
21
  }>;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  parameters?: {
24
+ required?: string[];
24
25
  type?: "object";
25
26
  properties?: Record<string, any>;
26
- required?: string[];
27
27
  };
28
28
  name?: string;
29
29
  description?: string;
30
30
  }, {
31
31
  parameters?: {
32
+ required?: string[];
32
33
  type?: "object";
33
34
  properties?: Record<string, any>;
34
- required?: string[];
35
35
  };
36
36
  name?: string;
37
37
  description?: string;
@@ -39,9 +39,9 @@ export declare const ToolDefinitionSchema: z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  function?: {
41
41
  parameters?: {
42
+ required?: string[];
42
43
  type?: "object";
43
44
  properties?: Record<string, any>;
44
- required?: string[];
45
45
  };
46
46
  name?: string;
47
47
  description?: string;
@@ -50,9 +50,9 @@ export declare const ToolDefinitionSchema: z.ZodObject<{
50
50
  }, {
51
51
  function?: {
52
52
  parameters?: {
53
+ required?: string[];
53
54
  type?: "object";
54
55
  properties?: Record<string, any>;
55
- required?: string[];
56
56
  };
57
57
  name?: string;
58
58
  description?: string;
@@ -63,11 +63,11 @@ export declare const ResponseContentTextSchema: z.ZodObject<{
63
63
  type: z.ZodLiteral<"input_text">;
64
64
  text: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- type?: "input_text";
67
66
  text?: string;
68
- }, {
69
67
  type?: "input_text";
68
+ }, {
70
69
  text?: string;
70
+ type?: "input_text";
71
71
  }>;
72
72
  export declare const ResponseContentImageSchema: z.ZodObject<{
73
73
  type: z.ZodLiteral<"input_image">;
@@ -77,12 +77,12 @@ export declare const ResponseContentImageSchema: z.ZodObject<{
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  type?: "input_image";
79
79
  image_url?: string;
80
- detail?: "auto" | "low" | "high";
80
+ detail?: "auto" | "high" | "low";
81
81
  file_id?: string;
82
82
  }, {
83
83
  type?: "input_image";
84
84
  image_url?: string;
85
- detail?: "auto" | "low" | "high";
85
+ detail?: "auto" | "high" | "low";
86
86
  file_id?: string;
87
87
  }>;
88
88
  export declare const ResponseContentFileInputSchema: z.ZodObject<{
@@ -105,11 +105,11 @@ export declare const ResponseContentSchema: z.ZodUnion<[z.ZodString, z.ZodArray<
105
105
  type: z.ZodLiteral<"input_text">;
106
106
  text: z.ZodString;
107
107
  }, "strip", z.ZodTypeAny, {
108
- type?: "input_text";
109
108
  text?: string;
110
- }, {
111
109
  type?: "input_text";
110
+ }, {
112
111
  text?: string;
112
+ type?: "input_text";
113
113
  }>, z.ZodObject<{
114
114
  type: z.ZodLiteral<"input_image">;
115
115
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -118,12 +118,12 @@ export declare const ResponseContentSchema: z.ZodUnion<[z.ZodString, z.ZodArray<
118
118
  }, "strip", z.ZodTypeAny, {
119
119
  type?: "input_image";
120
120
  image_url?: string;
121
- detail?: "auto" | "low" | "high";
121
+ detail?: "auto" | "high" | "low";
122
122
  file_id?: string;
123
123
  }, {
124
124
  type?: "input_image";
125
125
  image_url?: string;
126
- detail?: "auto" | "low" | "high";
126
+ detail?: "auto" | "high" | "low";
127
127
  file_id?: string;
128
128
  }>, z.ZodObject<{
129
129
  type: z.ZodLiteral<"input_file">;
@@ -148,11 +148,11 @@ export declare const ResponseInputMessageSchema: z.ZodObject<{
148
148
  type: z.ZodLiteral<"input_text">;
149
149
  text: z.ZodString;
150
150
  }, "strip", z.ZodTypeAny, {
151
- type?: "input_text";
152
151
  text?: string;
153
- }, {
154
152
  type?: "input_text";
153
+ }, {
155
154
  text?: string;
155
+ type?: "input_text";
156
156
  }>, z.ZodObject<{
157
157
  type: z.ZodLiteral<"input_image">;
158
158
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -161,12 +161,12 @@ export declare const ResponseInputMessageSchema: z.ZodObject<{
161
161
  }, "strip", z.ZodTypeAny, {
162
162
  type?: "input_image";
163
163
  image_url?: string;
164
- detail?: "auto" | "low" | "high";
164
+ detail?: "auto" | "high" | "low";
165
165
  file_id?: string;
166
166
  }, {
167
167
  type?: "input_image";
168
168
  image_url?: string;
169
- detail?: "auto" | "low" | "high";
169
+ detail?: "auto" | "high" | "low";
170
170
  file_id?: string;
171
171
  }>, z.ZodObject<{
172
172
  type: z.ZodLiteral<"input_file">;
@@ -190,13 +190,16 @@ export declare const ResponseInputMessageSchema: z.ZodObject<{
190
190
  timestamp: z.ZodOptional<z.ZodNumber>;
191
191
  }, "strip", z.ZodTypeAny, {
192
192
  model?: string;
193
+ type?: "message";
194
+ name?: string;
195
+ role?: "user" | "system" | "developer";
193
196
  content?: string | ({
194
- type?: "input_text";
195
197
  text?: string;
198
+ type?: "input_text";
196
199
  } | {
197
200
  type?: "input_image";
198
201
  image_url?: string;
199
- detail?: "auto" | "low" | "high";
202
+ detail?: "auto" | "high" | "low";
200
203
  file_id?: string;
201
204
  } | {
202
205
  type?: "input_file";
@@ -204,20 +207,20 @@ export declare const ResponseInputMessageSchema: z.ZodObject<{
204
207
  file_data?: string;
205
208
  filename?: string;
206
209
  })[];
207
- role?: "system" | "user" | "developer";
208
- type?: "message";
209
- name?: string;
210
- status?: "completed" | "in_progress" | "incomplete";
210
+ status?: "in_progress" | "completed" | "incomplete";
211
211
  timestamp?: number;
212
212
  }, {
213
213
  model?: string;
214
+ type?: "message";
215
+ name?: string;
216
+ role?: "user" | "system" | "developer";
214
217
  content?: string | ({
215
- type?: "input_text";
216
218
  text?: string;
219
+ type?: "input_text";
217
220
  } | {
218
221
  type?: "input_image";
219
222
  image_url?: string;
220
- detail?: "auto" | "low" | "high";
223
+ detail?: "auto" | "high" | "low";
221
224
  file_id?: string;
222
225
  } | {
223
226
  type?: "input_file";
@@ -225,10 +228,7 @@ export declare const ResponseInputMessageSchema: z.ZodObject<{
225
228
  file_data?: string;
226
229
  filename?: string;
227
230
  })[];
228
- role?: "system" | "user" | "developer";
229
- type?: "message";
230
- name?: string;
231
- status?: "completed" | "in_progress" | "incomplete";
231
+ status?: "in_progress" | "completed" | "incomplete";
232
232
  timestamp?: number;
233
233
  }>;
234
234
  export declare const ResponseThinkingMessageSchema: z.ZodObject<{
@@ -237,11 +237,11 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
237
237
  type: z.ZodLiteral<"input_text">;
238
238
  text: z.ZodString;
239
239
  }, "strip", z.ZodTypeAny, {
240
- type?: "input_text";
241
240
  text?: string;
242
- }, {
243
241
  type?: "input_text";
242
+ }, {
244
243
  text?: string;
244
+ type?: "input_text";
245
245
  }>, z.ZodObject<{
246
246
  type: z.ZodLiteral<"input_image">;
247
247
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -250,12 +250,12 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  type?: "input_image";
252
252
  image_url?: string;
253
- detail?: "auto" | "low" | "high";
253
+ detail?: "auto" | "high" | "low";
254
254
  file_id?: string;
255
255
  }, {
256
256
  type?: "input_image";
257
257
  image_url?: string;
258
- detail?: "auto" | "low" | "high";
258
+ detail?: "auto" | "high" | "low";
259
259
  file_id?: string;
260
260
  }>, z.ZodObject<{
261
261
  type: z.ZodLiteral<"input_file">;
@@ -277,11 +277,11 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
277
277
  type: z.ZodLiteral<"input_text">;
278
278
  text: z.ZodString;
279
279
  }, "strip", z.ZodTypeAny, {
280
- type?: "input_text";
281
280
  text?: string;
282
- }, {
283
281
  type?: "input_text";
282
+ }, {
284
283
  text?: string;
284
+ type?: "input_text";
285
285
  }>, z.ZodObject<{
286
286
  type: z.ZodLiteral<"input_image">;
287
287
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -290,12 +290,12 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
290
290
  }, "strip", z.ZodTypeAny, {
291
291
  type?: "input_image";
292
292
  image_url?: string;
293
- detail?: "auto" | "low" | "high";
293
+ detail?: "auto" | "high" | "low";
294
294
  file_id?: string;
295
295
  }, {
296
296
  type?: "input_image";
297
297
  image_url?: string;
298
- detail?: "auto" | "low" | "high";
298
+ detail?: "auto" | "high" | "low";
299
299
  file_id?: string;
300
300
  }>, z.ZodObject<{
301
301
  type: z.ZodLiteral<"input_file">;
@@ -320,13 +320,15 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
320
320
  timestamp: z.ZodOptional<z.ZodNumber>;
321
321
  }, "strip", z.ZodTypeAny, {
322
322
  model?: string;
323
+ type?: "thinking";
324
+ role?: "assistant";
323
325
  content?: string | ({
324
- type?: "input_text";
325
326
  text?: string;
327
+ type?: "input_text";
326
328
  } | {
327
329
  type?: "input_image";
328
330
  image_url?: string;
329
- detail?: "auto" | "low" | "high";
331
+ detail?: "auto" | "high" | "low";
330
332
  file_id?: string;
331
333
  } | {
332
334
  type?: "input_file";
@@ -334,17 +336,16 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
334
336
  file_data?: string;
335
337
  filename?: string;
336
338
  })[];
337
- role?: "assistant";
338
- type?: "thinking";
339
- status?: "completed" | "in_progress" | "incomplete";
339
+ thinking_id?: string;
340
+ status?: "in_progress" | "completed" | "incomplete";
340
341
  timestamp?: number;
341
342
  signature?: string | ({
342
- type?: "input_text";
343
343
  text?: string;
344
+ type?: "input_text";
344
345
  } | {
345
346
  type?: "input_image";
346
347
  image_url?: string;
347
- detail?: "auto" | "low" | "high";
348
+ detail?: "auto" | "high" | "low";
348
349
  file_id?: string;
349
350
  } | {
350
351
  type?: "input_file";
@@ -352,16 +353,17 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
352
353
  file_data?: string;
353
354
  filename?: string;
354
355
  })[];
355
- thinking_id?: string;
356
356
  }, {
357
357
  model?: string;
358
+ type?: "thinking";
359
+ role?: "assistant";
358
360
  content?: string | ({
359
- type?: "input_text";
360
361
  text?: string;
362
+ type?: "input_text";
361
363
  } | {
362
364
  type?: "input_image";
363
365
  image_url?: string;
364
- detail?: "auto" | "low" | "high";
366
+ detail?: "auto" | "high" | "low";
365
367
  file_id?: string;
366
368
  } | {
367
369
  type?: "input_file";
@@ -369,17 +371,16 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
369
371
  file_data?: string;
370
372
  filename?: string;
371
373
  })[];
372
- role?: "assistant";
373
- type?: "thinking";
374
- status?: "completed" | "in_progress" | "incomplete";
374
+ thinking_id?: string;
375
+ status?: "in_progress" | "completed" | "incomplete";
375
376
  timestamp?: number;
376
377
  signature?: string | ({
377
- type?: "input_text";
378
378
  text?: string;
379
+ type?: "input_text";
379
380
  } | {
380
381
  type?: "input_image";
381
382
  image_url?: string;
382
- detail?: "auto" | "low" | "high";
383
+ detail?: "auto" | "high" | "low";
383
384
  file_id?: string;
384
385
  } | {
385
386
  type?: "input_file";
@@ -387,7 +388,6 @@ export declare const ResponseThinkingMessageSchema: z.ZodObject<{
387
388
  file_data?: string;
388
389
  filename?: string;
389
390
  })[];
390
- thinking_id?: string;
391
391
  }>;
392
392
  export declare const ResponseOutputMessageSchema: z.ZodObject<{
393
393
  id: z.ZodOptional<z.ZodString>;
@@ -396,11 +396,11 @@ export declare const ResponseOutputMessageSchema: z.ZodObject<{
396
396
  type: z.ZodLiteral<"input_text">;
397
397
  text: z.ZodString;
398
398
  }, "strip", z.ZodTypeAny, {
399
- type?: "input_text";
400
399
  text?: string;
401
- }, {
402
400
  type?: "input_text";
401
+ }, {
403
402
  text?: string;
403
+ type?: "input_text";
404
404
  }>, z.ZodObject<{
405
405
  type: z.ZodLiteral<"input_image">;
406
406
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -409,12 +409,12 @@ export declare const ResponseOutputMessageSchema: z.ZodObject<{
409
409
  }, "strip", z.ZodTypeAny, {
410
410
  type?: "input_image";
411
411
  image_url?: string;
412
- detail?: "auto" | "low" | "high";
412
+ detail?: "auto" | "high" | "low";
413
413
  file_id?: string;
414
414
  }, {
415
415
  type?: "input_image";
416
416
  image_url?: string;
417
- detail?: "auto" | "low" | "high";
417
+ detail?: "auto" | "high" | "low";
418
418
  file_id?: string;
419
419
  }>, z.ZodObject<{
420
420
  type: z.ZodLiteral<"input_file">;
@@ -438,13 +438,16 @@ export declare const ResponseOutputMessageSchema: z.ZodObject<{
438
438
  timestamp: z.ZodOptional<z.ZodNumber>;
439
439
  }, "strip", z.ZodTypeAny, {
440
440
  model?: string;
441
+ id?: string;
442
+ type?: "message";
443
+ role?: "assistant";
441
444
  content?: string | ({
442
- type?: "input_text";
443
445
  text?: string;
446
+ type?: "input_text";
444
447
  } | {
445
448
  type?: "input_image";
446
449
  image_url?: string;
447
- detail?: "auto" | "low" | "high";
450
+ detail?: "auto" | "high" | "low";
448
451
  file_id?: string;
449
452
  } | {
450
453
  type?: "input_file";
@@ -452,20 +455,20 @@ export declare const ResponseOutputMessageSchema: z.ZodObject<{
452
455
  file_data?: string;
453
456
  filename?: string;
454
457
  })[];
455
- role?: "assistant";
456
- id?: string;
457
- type?: "message";
458
- status?: "completed" | "in_progress" | "incomplete";
458
+ status?: "in_progress" | "completed" | "incomplete";
459
459
  timestamp?: number;
460
460
  }, {
461
461
  model?: string;
462
+ id?: string;
463
+ type?: "message";
464
+ role?: "assistant";
462
465
  content?: string | ({
463
- type?: "input_text";
464
466
  text?: string;
467
+ type?: "input_text";
465
468
  } | {
466
469
  type?: "input_image";
467
470
  image_url?: string;
468
- detail?: "auto" | "low" | "high";
471
+ detail?: "auto" | "high" | "low";
469
472
  file_id?: string;
470
473
  } | {
471
474
  type?: "input_file";
@@ -473,10 +476,7 @@ export declare const ResponseOutputMessageSchema: z.ZodObject<{
473
476
  file_data?: string;
474
477
  filename?: string;
475
478
  })[];
476
- role?: "assistant";
477
- id?: string;
478
- type?: "message";
479
- status?: "completed" | "in_progress" | "incomplete";
479
+ status?: "in_progress" | "completed" | "incomplete";
480
480
  timestamp?: number;
481
481
  }>;
482
482
  export declare const ResponseInputFunctionCallSchema: z.ZodObject<{
@@ -493,19 +493,19 @@ export declare const ResponseInputFunctionCallSchema: z.ZodObject<{
493
493
  id?: string;
494
494
  type?: "function_call";
495
495
  name?: string;
496
- status?: "completed" | "in_progress" | "incomplete";
497
- timestamp?: number;
498
496
  call_id?: string;
499
497
  arguments?: string;
498
+ status?: "in_progress" | "completed" | "incomplete";
499
+ timestamp?: number;
500
500
  }, {
501
501
  model?: string;
502
502
  id?: string;
503
503
  type?: "function_call";
504
504
  name?: string;
505
- status?: "completed" | "in_progress" | "incomplete";
506
- timestamp?: number;
507
505
  call_id?: string;
508
506
  arguments?: string;
507
+ status?: "in_progress" | "completed" | "incomplete";
508
+ timestamp?: number;
509
509
  }>;
510
510
  export declare const ResponseInputFunctionCallOutputSchema: z.ZodObject<{
511
511
  type: z.ZodLiteral<"function_call_output">;
@@ -521,18 +521,18 @@ export declare const ResponseInputFunctionCallOutputSchema: z.ZodObject<{
521
521
  id?: string;
522
522
  type?: "function_call_output";
523
523
  name?: string;
524
- status?: "completed" | "in_progress" | "incomplete";
525
- timestamp?: number;
526
524
  call_id?: string;
525
+ status?: "in_progress" | "completed" | "incomplete";
526
+ timestamp?: number;
527
527
  output?: string;
528
528
  }, {
529
529
  model?: string;
530
530
  id?: string;
531
531
  type?: "function_call_output";
532
532
  name?: string;
533
- status?: "completed" | "in_progress" | "incomplete";
534
- timestamp?: number;
535
533
  call_id?: string;
534
+ status?: "in_progress" | "completed" | "incomplete";
535
+ timestamp?: number;
536
536
  output?: string;
537
537
  }>;
538
538
  export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -542,11 +542,11 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
542
542
  type: z.ZodLiteral<"input_text">;
543
543
  text: z.ZodString;
544
544
  }, "strip", z.ZodTypeAny, {
545
- type?: "input_text";
546
545
  text?: string;
547
- }, {
548
546
  type?: "input_text";
547
+ }, {
549
548
  text?: string;
549
+ type?: "input_text";
550
550
  }>, z.ZodObject<{
551
551
  type: z.ZodLiteral<"input_image">;
552
552
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -555,12 +555,12 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
555
555
  }, "strip", z.ZodTypeAny, {
556
556
  type?: "input_image";
557
557
  image_url?: string;
558
- detail?: "auto" | "low" | "high";
558
+ detail?: "auto" | "high" | "low";
559
559
  file_id?: string;
560
560
  }, {
561
561
  type?: "input_image";
562
562
  image_url?: string;
563
- detail?: "auto" | "low" | "high";
563
+ detail?: "auto" | "high" | "low";
564
564
  file_id?: string;
565
565
  }>, z.ZodObject<{
566
566
  type: z.ZodLiteral<"input_file">;
@@ -584,13 +584,16 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
584
584
  timestamp: z.ZodOptional<z.ZodNumber>;
585
585
  }, "strip", z.ZodTypeAny, {
586
586
  model?: string;
587
+ type?: "message";
588
+ name?: string;
589
+ role?: "user" | "system" | "developer";
587
590
  content?: string | ({
588
- type?: "input_text";
589
591
  text?: string;
592
+ type?: "input_text";
590
593
  } | {
591
594
  type?: "input_image";
592
595
  image_url?: string;
593
- detail?: "auto" | "low" | "high";
596
+ detail?: "auto" | "high" | "low";
594
597
  file_id?: string;
595
598
  } | {
596
599
  type?: "input_file";
@@ -598,20 +601,20 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
598
601
  file_data?: string;
599
602
  filename?: string;
600
603
  })[];
601
- role?: "system" | "user" | "developer";
602
- type?: "message";
603
- name?: string;
604
- status?: "completed" | "in_progress" | "incomplete";
604
+ status?: "in_progress" | "completed" | "incomplete";
605
605
  timestamp?: number;
606
606
  }, {
607
607
  model?: string;
608
+ type?: "message";
609
+ name?: string;
610
+ role?: "user" | "system" | "developer";
608
611
  content?: string | ({
609
- type?: "input_text";
610
612
  text?: string;
613
+ type?: "input_text";
611
614
  } | {
612
615
  type?: "input_image";
613
616
  image_url?: string;
614
- detail?: "auto" | "low" | "high";
617
+ detail?: "auto" | "high" | "low";
615
618
  file_id?: string;
616
619
  } | {
617
620
  type?: "input_file";
@@ -619,10 +622,7 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
619
622
  file_data?: string;
620
623
  filename?: string;
621
624
  })[];
622
- role?: "system" | "user" | "developer";
623
- type?: "message";
624
- name?: string;
625
- status?: "completed" | "in_progress" | "incomplete";
625
+ status?: "in_progress" | "completed" | "incomplete";
626
626
  timestamp?: number;
627
627
  }>, z.ZodObject<{
628
628
  type: z.ZodLiteral<"thinking">;
@@ -630,11 +630,11 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
630
630
  type: z.ZodLiteral<"input_text">;
631
631
  text: z.ZodString;
632
632
  }, "strip", z.ZodTypeAny, {
633
- type?: "input_text";
634
633
  text?: string;
635
- }, {
636
634
  type?: "input_text";
635
+ }, {
637
636
  text?: string;
637
+ type?: "input_text";
638
638
  }>, z.ZodObject<{
639
639
  type: z.ZodLiteral<"input_image">;
640
640
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -643,12 +643,12 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
643
643
  }, "strip", z.ZodTypeAny, {
644
644
  type?: "input_image";
645
645
  image_url?: string;
646
- detail?: "auto" | "low" | "high";
646
+ detail?: "auto" | "high" | "low";
647
647
  file_id?: string;
648
648
  }, {
649
649
  type?: "input_image";
650
650
  image_url?: string;
651
- detail?: "auto" | "low" | "high";
651
+ detail?: "auto" | "high" | "low";
652
652
  file_id?: string;
653
653
  }>, z.ZodObject<{
654
654
  type: z.ZodLiteral<"input_file">;
@@ -670,11 +670,11 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
670
670
  type: z.ZodLiteral<"input_text">;
671
671
  text: z.ZodString;
672
672
  }, "strip", z.ZodTypeAny, {
673
- type?: "input_text";
674
673
  text?: string;
675
- }, {
676
674
  type?: "input_text";
675
+ }, {
677
676
  text?: string;
677
+ type?: "input_text";
678
678
  }>, z.ZodObject<{
679
679
  type: z.ZodLiteral<"input_image">;
680
680
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -683,12 +683,12 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
683
683
  }, "strip", z.ZodTypeAny, {
684
684
  type?: "input_image";
685
685
  image_url?: string;
686
- detail?: "auto" | "low" | "high";
686
+ detail?: "auto" | "high" | "low";
687
687
  file_id?: string;
688
688
  }, {
689
689
  type?: "input_image";
690
690
  image_url?: string;
691
- detail?: "auto" | "low" | "high";
691
+ detail?: "auto" | "high" | "low";
692
692
  file_id?: string;
693
693
  }>, z.ZodObject<{
694
694
  type: z.ZodLiteral<"input_file">;
@@ -713,13 +713,15 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
713
713
  timestamp: z.ZodOptional<z.ZodNumber>;
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  model?: string;
716
+ type?: "thinking";
717
+ role?: "assistant";
716
718
  content?: string | ({
717
- type?: "input_text";
718
719
  text?: string;
720
+ type?: "input_text";
719
721
  } | {
720
722
  type?: "input_image";
721
723
  image_url?: string;
722
- detail?: "auto" | "low" | "high";
724
+ detail?: "auto" | "high" | "low";
723
725
  file_id?: string;
724
726
  } | {
725
727
  type?: "input_file";
@@ -727,17 +729,16 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
727
729
  file_data?: string;
728
730
  filename?: string;
729
731
  })[];
730
- role?: "assistant";
731
- type?: "thinking";
732
- status?: "completed" | "in_progress" | "incomplete";
732
+ thinking_id?: string;
733
+ status?: "in_progress" | "completed" | "incomplete";
733
734
  timestamp?: number;
734
735
  signature?: string | ({
735
- type?: "input_text";
736
736
  text?: string;
737
+ type?: "input_text";
737
738
  } | {
738
739
  type?: "input_image";
739
740
  image_url?: string;
740
- detail?: "auto" | "low" | "high";
741
+ detail?: "auto" | "high" | "low";
741
742
  file_id?: string;
742
743
  } | {
743
744
  type?: "input_file";
@@ -745,16 +746,17 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
745
746
  file_data?: string;
746
747
  filename?: string;
747
748
  })[];
748
- thinking_id?: string;
749
749
  }, {
750
750
  model?: string;
751
+ type?: "thinking";
752
+ role?: "assistant";
751
753
  content?: string | ({
752
- type?: "input_text";
753
754
  text?: string;
755
+ type?: "input_text";
754
756
  } | {
755
757
  type?: "input_image";
756
758
  image_url?: string;
757
- detail?: "auto" | "low" | "high";
759
+ detail?: "auto" | "high" | "low";
758
760
  file_id?: string;
759
761
  } | {
760
762
  type?: "input_file";
@@ -762,17 +764,16 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
762
764
  file_data?: string;
763
765
  filename?: string;
764
766
  })[];
765
- role?: "assistant";
766
- type?: "thinking";
767
- status?: "completed" | "in_progress" | "incomplete";
767
+ thinking_id?: string;
768
+ status?: "in_progress" | "completed" | "incomplete";
768
769
  timestamp?: number;
769
770
  signature?: string | ({
770
- type?: "input_text";
771
771
  text?: string;
772
+ type?: "input_text";
772
773
  } | {
773
774
  type?: "input_image";
774
775
  image_url?: string;
775
- detail?: "auto" | "low" | "high";
776
+ detail?: "auto" | "high" | "low";
776
777
  file_id?: string;
777
778
  } | {
778
779
  type?: "input_file";
@@ -780,7 +781,6 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
780
781
  file_data?: string;
781
782
  filename?: string;
782
783
  })[];
783
- thinking_id?: string;
784
784
  }>, z.ZodObject<{
785
785
  id: z.ZodOptional<z.ZodString>;
786
786
  type: z.ZodLiteral<"message">;
@@ -788,11 +788,11 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
788
788
  type: z.ZodLiteral<"input_text">;
789
789
  text: z.ZodString;
790
790
  }, "strip", z.ZodTypeAny, {
791
- type?: "input_text";
792
791
  text?: string;
793
- }, {
794
792
  type?: "input_text";
793
+ }, {
795
794
  text?: string;
795
+ type?: "input_text";
796
796
  }>, z.ZodObject<{
797
797
  type: z.ZodLiteral<"input_image">;
798
798
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -801,12 +801,12 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
801
801
  }, "strip", z.ZodTypeAny, {
802
802
  type?: "input_image";
803
803
  image_url?: string;
804
- detail?: "auto" | "low" | "high";
804
+ detail?: "auto" | "high" | "low";
805
805
  file_id?: string;
806
806
  }, {
807
807
  type?: "input_image";
808
808
  image_url?: string;
809
- detail?: "auto" | "low" | "high";
809
+ detail?: "auto" | "high" | "low";
810
810
  file_id?: string;
811
811
  }>, z.ZodObject<{
812
812
  type: z.ZodLiteral<"input_file">;
@@ -830,13 +830,16 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
830
830
  timestamp: z.ZodOptional<z.ZodNumber>;
831
831
  }, "strip", z.ZodTypeAny, {
832
832
  model?: string;
833
+ id?: string;
834
+ type?: "message";
835
+ role?: "assistant";
833
836
  content?: string | ({
834
- type?: "input_text";
835
837
  text?: string;
838
+ type?: "input_text";
836
839
  } | {
837
840
  type?: "input_image";
838
841
  image_url?: string;
839
- detail?: "auto" | "low" | "high";
842
+ detail?: "auto" | "high" | "low";
840
843
  file_id?: string;
841
844
  } | {
842
845
  type?: "input_file";
@@ -844,20 +847,20 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
844
847
  file_data?: string;
845
848
  filename?: string;
846
849
  })[];
847
- role?: "assistant";
848
- id?: string;
849
- type?: "message";
850
- status?: "completed" | "in_progress" | "incomplete";
850
+ status?: "in_progress" | "completed" | "incomplete";
851
851
  timestamp?: number;
852
852
  }, {
853
853
  model?: string;
854
+ id?: string;
855
+ type?: "message";
856
+ role?: "assistant";
854
857
  content?: string | ({
855
- type?: "input_text";
856
858
  text?: string;
859
+ type?: "input_text";
857
860
  } | {
858
861
  type?: "input_image";
859
862
  image_url?: string;
860
- detail?: "auto" | "low" | "high";
863
+ detail?: "auto" | "high" | "low";
861
864
  file_id?: string;
862
865
  } | {
863
866
  type?: "input_file";
@@ -865,10 +868,7 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
865
868
  file_data?: string;
866
869
  filename?: string;
867
870
  })[];
868
- role?: "assistant";
869
- id?: string;
870
- type?: "message";
871
- status?: "completed" | "in_progress" | "incomplete";
871
+ status?: "in_progress" | "completed" | "incomplete";
872
872
  timestamp?: number;
873
873
  }>, z.ZodObject<{
874
874
  type: z.ZodLiteral<"function_call">;
@@ -884,19 +884,19 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
884
884
  id?: string;
885
885
  type?: "function_call";
886
886
  name?: string;
887
- status?: "completed" | "in_progress" | "incomplete";
888
- timestamp?: number;
889
887
  call_id?: string;
890
888
  arguments?: string;
889
+ status?: "in_progress" | "completed" | "incomplete";
890
+ timestamp?: number;
891
891
  }, {
892
892
  model?: string;
893
893
  id?: string;
894
894
  type?: "function_call";
895
895
  name?: string;
896
- status?: "completed" | "in_progress" | "incomplete";
897
- timestamp?: number;
898
896
  call_id?: string;
899
897
  arguments?: string;
898
+ status?: "in_progress" | "completed" | "incomplete";
899
+ timestamp?: number;
900
900
  }>, z.ZodObject<{
901
901
  type: z.ZodLiteral<"function_call_output">;
902
902
  call_id: z.ZodString;
@@ -911,18 +911,18 @@ export declare const ResponseInputSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
911
911
  id?: string;
912
912
  type?: "function_call_output";
913
913
  name?: string;
914
- status?: "completed" | "in_progress" | "incomplete";
915
- timestamp?: number;
916
914
  call_id?: string;
915
+ status?: "in_progress" | "completed" | "incomplete";
916
+ timestamp?: number;
917
917
  output?: string;
918
918
  }, {
919
919
  model?: string;
920
920
  id?: string;
921
921
  type?: "function_call_output";
922
922
  name?: string;
923
- status?: "completed" | "in_progress" | "incomplete";
924
- timestamp?: number;
925
923
  call_id?: string;
924
+ status?: "in_progress" | "completed" | "incomplete";
925
+ timestamp?: number;
926
926
  output?: string;
927
927
  }>]>, "many">;
928
928
  export declare const ModelProviderIDSchema: z.ZodEnum<["openai", "anthropic", "google", "xai", "deepseek", "openrouter", "test"]>;
@@ -972,65 +972,65 @@ export declare const ModelSettingsSchema: z.ZodObject<{
972
972
  type?: "json_schema";
973
973
  name?: string;
974
974
  description?: string;
975
- schema?: Record<string, unknown>;
976
975
  strict?: boolean;
976
+ schema?: Record<string, unknown>;
977
977
  }, {
978
978
  type?: "json_schema";
979
979
  name?: string;
980
980
  description?: string;
981
- schema?: Record<string, unknown>;
982
981
  strict?: boolean;
982
+ schema?: Record<string, unknown>;
983
983
  }>>;
984
984
  force_json: z.ZodOptional<z.ZodBoolean>;
985
985
  }, "strip", z.ZodTypeAny, {
986
+ json_schema?: {
987
+ type?: "json_schema";
988
+ name?: string;
989
+ description?: string;
990
+ strict?: boolean;
991
+ schema?: Record<string, unknown>;
992
+ };
986
993
  text?: {
987
994
  format?: string;
988
995
  };
996
+ stop_sequence?: string;
989
997
  temperature?: number;
990
- max_tokens?: number;
991
- top_p?: number;
992
- seed?: number;
993
- tool_choice?: "required" | "auto" | "none" | {
998
+ tool_choice?: "auto" | "none" | "required" | {
994
999
  function?: {
995
1000
  name?: string;
996
1001
  };
997
1002
  type?: string;
998
1003
  };
1004
+ top_p?: number;
999
1005
  top_k?: number;
1000
- stop_sequence?: string;
1006
+ max_tokens?: number;
1007
+ seed?: number;
1001
1008
  sequential_tools?: boolean;
1009
+ force_json?: boolean;
1010
+ }, {
1002
1011
  json_schema?: {
1003
1012
  type?: "json_schema";
1004
1013
  name?: string;
1005
1014
  description?: string;
1006
- schema?: Record<string, unknown>;
1007
1015
  strict?: boolean;
1016
+ schema?: Record<string, unknown>;
1008
1017
  };
1009
- force_json?: boolean;
1010
- }, {
1011
1018
  text?: {
1012
1019
  format?: string;
1013
1020
  };
1021
+ stop_sequence?: string;
1014
1022
  temperature?: number;
1015
- max_tokens?: number;
1016
- top_p?: number;
1017
- seed?: number;
1018
- tool_choice?: "required" | "auto" | "none" | {
1023
+ tool_choice?: "auto" | "none" | "required" | {
1019
1024
  function?: {
1020
1025
  name?: string;
1021
1026
  };
1022
1027
  type?: string;
1023
1028
  };
1029
+ top_p?: number;
1024
1030
  top_k?: number;
1025
- stop_sequence?: string;
1031
+ max_tokens?: number;
1032
+ seed?: number;
1026
1033
  sequential_tools?: boolean;
1027
- json_schema?: {
1028
- type?: "json_schema";
1029
- name?: string;
1030
- description?: string;
1031
- schema?: Record<string, unknown>;
1032
- strict?: boolean;
1033
- };
1034
1034
  force_json?: boolean;
1035
1035
  }>;
1036
1036
  export declare const RequestOptionsSchema: z.ZodObject<{
@@ -1042,11 +1042,11 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1042
1042
  type: z.ZodLiteral<"input_text">;
1043
1043
  text: z.ZodString;
1044
1044
  }, "strip", z.ZodTypeAny, {
1045
- type?: "input_text";
1046
1045
  text?: string;
1047
- }, {
1048
1046
  type?: "input_text";
1047
+ }, {
1049
1048
  text?: string;
1049
+ type?: "input_text";
1050
1050
  }>, z.ZodObject<{
1051
1051
  type: z.ZodLiteral<"input_image">;
1052
1052
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -1055,12 +1055,12 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1055
1055
  }, "strip", z.ZodTypeAny, {
1056
1056
  type?: "input_image";
1057
1057
  image_url?: string;
1058
- detail?: "auto" | "low" | "high";
1058
+ detail?: "auto" | "high" | "low";
1059
1059
  file_id?: string;
1060
1060
  }, {
1061
1061
  type?: "input_image";
1062
1062
  image_url?: string;
1063
- detail?: "auto" | "low" | "high";
1063
+ detail?: "auto" | "high" | "low";
1064
1064
  file_id?: string;
1065
1065
  }>, z.ZodObject<{
1066
1066
  type: z.ZodLiteral<"input_file">;
@@ -1084,13 +1084,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1084
1084
  timestamp: z.ZodOptional<z.ZodNumber>;
1085
1085
  }, "strip", z.ZodTypeAny, {
1086
1086
  model?: string;
1087
+ type?: "message";
1088
+ name?: string;
1089
+ role?: "user" | "system" | "developer";
1087
1090
  content?: string | ({
1088
- type?: "input_text";
1089
1091
  text?: string;
1092
+ type?: "input_text";
1090
1093
  } | {
1091
1094
  type?: "input_image";
1092
1095
  image_url?: string;
1093
- detail?: "auto" | "low" | "high";
1096
+ detail?: "auto" | "high" | "low";
1094
1097
  file_id?: string;
1095
1098
  } | {
1096
1099
  type?: "input_file";
@@ -1098,20 +1101,20 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1098
1101
  file_data?: string;
1099
1102
  filename?: string;
1100
1103
  })[];
1101
- role?: "system" | "user" | "developer";
1102
- type?: "message";
1103
- name?: string;
1104
- status?: "completed" | "in_progress" | "incomplete";
1104
+ status?: "in_progress" | "completed" | "incomplete";
1105
1105
  timestamp?: number;
1106
1106
  }, {
1107
1107
  model?: string;
1108
+ type?: "message";
1109
+ name?: string;
1110
+ role?: "user" | "system" | "developer";
1108
1111
  content?: string | ({
1109
- type?: "input_text";
1110
1112
  text?: string;
1113
+ type?: "input_text";
1111
1114
  } | {
1112
1115
  type?: "input_image";
1113
1116
  image_url?: string;
1114
- detail?: "auto" | "low" | "high";
1117
+ detail?: "auto" | "high" | "low";
1115
1118
  file_id?: string;
1116
1119
  } | {
1117
1120
  type?: "input_file";
@@ -1119,10 +1122,7 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1119
1122
  file_data?: string;
1120
1123
  filename?: string;
1121
1124
  })[];
1122
- role?: "system" | "user" | "developer";
1123
- type?: "message";
1124
- name?: string;
1125
- status?: "completed" | "in_progress" | "incomplete";
1125
+ status?: "in_progress" | "completed" | "incomplete";
1126
1126
  timestamp?: number;
1127
1127
  }>, z.ZodObject<{
1128
1128
  type: z.ZodLiteral<"thinking">;
@@ -1130,11 +1130,11 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1130
1130
  type: z.ZodLiteral<"input_text">;
1131
1131
  text: z.ZodString;
1132
1132
  }, "strip", z.ZodTypeAny, {
1133
- type?: "input_text";
1134
1133
  text?: string;
1135
- }, {
1136
1134
  type?: "input_text";
1135
+ }, {
1137
1136
  text?: string;
1137
+ type?: "input_text";
1138
1138
  }>, z.ZodObject<{
1139
1139
  type: z.ZodLiteral<"input_image">;
1140
1140
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -1143,12 +1143,12 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1143
1143
  }, "strip", z.ZodTypeAny, {
1144
1144
  type?: "input_image";
1145
1145
  image_url?: string;
1146
- detail?: "auto" | "low" | "high";
1146
+ detail?: "auto" | "high" | "low";
1147
1147
  file_id?: string;
1148
1148
  }, {
1149
1149
  type?: "input_image";
1150
1150
  image_url?: string;
1151
- detail?: "auto" | "low" | "high";
1151
+ detail?: "auto" | "high" | "low";
1152
1152
  file_id?: string;
1153
1153
  }>, z.ZodObject<{
1154
1154
  type: z.ZodLiteral<"input_file">;
@@ -1170,11 +1170,11 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1170
1170
  type: z.ZodLiteral<"input_text">;
1171
1171
  text: z.ZodString;
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
- type?: "input_text";
1174
1173
  text?: string;
1175
- }, {
1176
1174
  type?: "input_text";
1175
+ }, {
1177
1176
  text?: string;
1177
+ type?: "input_text";
1178
1178
  }>, z.ZodObject<{
1179
1179
  type: z.ZodLiteral<"input_image">;
1180
1180
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -1183,12 +1183,12 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1183
1183
  }, "strip", z.ZodTypeAny, {
1184
1184
  type?: "input_image";
1185
1185
  image_url?: string;
1186
- detail?: "auto" | "low" | "high";
1186
+ detail?: "auto" | "high" | "low";
1187
1187
  file_id?: string;
1188
1188
  }, {
1189
1189
  type?: "input_image";
1190
1190
  image_url?: string;
1191
- detail?: "auto" | "low" | "high";
1191
+ detail?: "auto" | "high" | "low";
1192
1192
  file_id?: string;
1193
1193
  }>, z.ZodObject<{
1194
1194
  type: z.ZodLiteral<"input_file">;
@@ -1213,13 +1213,15 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1213
1213
  timestamp: z.ZodOptional<z.ZodNumber>;
1214
1214
  }, "strip", z.ZodTypeAny, {
1215
1215
  model?: string;
1216
+ type?: "thinking";
1217
+ role?: "assistant";
1216
1218
  content?: string | ({
1217
- type?: "input_text";
1218
1219
  text?: string;
1220
+ type?: "input_text";
1219
1221
  } | {
1220
1222
  type?: "input_image";
1221
1223
  image_url?: string;
1222
- detail?: "auto" | "low" | "high";
1224
+ detail?: "auto" | "high" | "low";
1223
1225
  file_id?: string;
1224
1226
  } | {
1225
1227
  type?: "input_file";
@@ -1227,17 +1229,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1227
1229
  file_data?: string;
1228
1230
  filename?: string;
1229
1231
  })[];
1230
- role?: "assistant";
1231
- type?: "thinking";
1232
- status?: "completed" | "in_progress" | "incomplete";
1232
+ thinking_id?: string;
1233
+ status?: "in_progress" | "completed" | "incomplete";
1233
1234
  timestamp?: number;
1234
1235
  signature?: string | ({
1235
- type?: "input_text";
1236
1236
  text?: string;
1237
+ type?: "input_text";
1237
1238
  } | {
1238
1239
  type?: "input_image";
1239
1240
  image_url?: string;
1240
- detail?: "auto" | "low" | "high";
1241
+ detail?: "auto" | "high" | "low";
1241
1242
  file_id?: string;
1242
1243
  } | {
1243
1244
  type?: "input_file";
@@ -1245,16 +1246,17 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1245
1246
  file_data?: string;
1246
1247
  filename?: string;
1247
1248
  })[];
1248
- thinking_id?: string;
1249
1249
  }, {
1250
1250
  model?: string;
1251
+ type?: "thinking";
1252
+ role?: "assistant";
1251
1253
  content?: string | ({
1252
- type?: "input_text";
1253
1254
  text?: string;
1255
+ type?: "input_text";
1254
1256
  } | {
1255
1257
  type?: "input_image";
1256
1258
  image_url?: string;
1257
- detail?: "auto" | "low" | "high";
1259
+ detail?: "auto" | "high" | "low";
1258
1260
  file_id?: string;
1259
1261
  } | {
1260
1262
  type?: "input_file";
@@ -1262,17 +1264,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1262
1264
  file_data?: string;
1263
1265
  filename?: string;
1264
1266
  })[];
1265
- role?: "assistant";
1266
- type?: "thinking";
1267
- status?: "completed" | "in_progress" | "incomplete";
1267
+ thinking_id?: string;
1268
+ status?: "in_progress" | "completed" | "incomplete";
1268
1269
  timestamp?: number;
1269
1270
  signature?: string | ({
1270
- type?: "input_text";
1271
1271
  text?: string;
1272
+ type?: "input_text";
1272
1273
  } | {
1273
1274
  type?: "input_image";
1274
1275
  image_url?: string;
1275
- detail?: "auto" | "low" | "high";
1276
+ detail?: "auto" | "high" | "low";
1276
1277
  file_id?: string;
1277
1278
  } | {
1278
1279
  type?: "input_file";
@@ -1280,7 +1281,6 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1280
1281
  file_data?: string;
1281
1282
  filename?: string;
1282
1283
  })[];
1283
- thinking_id?: string;
1284
1284
  }>, z.ZodObject<{
1285
1285
  id: z.ZodOptional<z.ZodString>;
1286
1286
  type: z.ZodLiteral<"message">;
@@ -1288,11 +1288,11 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1288
1288
  type: z.ZodLiteral<"input_text">;
1289
1289
  text: z.ZodString;
1290
1290
  }, "strip", z.ZodTypeAny, {
1291
- type?: "input_text";
1292
1291
  text?: string;
1293
- }, {
1294
1292
  type?: "input_text";
1293
+ }, {
1295
1294
  text?: string;
1295
+ type?: "input_text";
1296
1296
  }>, z.ZodObject<{
1297
1297
  type: z.ZodLiteral<"input_image">;
1298
1298
  detail: z.ZodEnum<["high", "low", "auto"]>;
@@ -1301,12 +1301,12 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1301
1301
  }, "strip", z.ZodTypeAny, {
1302
1302
  type?: "input_image";
1303
1303
  image_url?: string;
1304
- detail?: "auto" | "low" | "high";
1304
+ detail?: "auto" | "high" | "low";
1305
1305
  file_id?: string;
1306
1306
  }, {
1307
1307
  type?: "input_image";
1308
1308
  image_url?: string;
1309
- detail?: "auto" | "low" | "high";
1309
+ detail?: "auto" | "high" | "low";
1310
1310
  file_id?: string;
1311
1311
  }>, z.ZodObject<{
1312
1312
  type: z.ZodLiteral<"input_file">;
@@ -1330,13 +1330,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1330
1330
  timestamp: z.ZodOptional<z.ZodNumber>;
1331
1331
  }, "strip", z.ZodTypeAny, {
1332
1332
  model?: string;
1333
+ id?: string;
1334
+ type?: "message";
1335
+ role?: "assistant";
1333
1336
  content?: string | ({
1334
- type?: "input_text";
1335
1337
  text?: string;
1338
+ type?: "input_text";
1336
1339
  } | {
1337
1340
  type?: "input_image";
1338
1341
  image_url?: string;
1339
- detail?: "auto" | "low" | "high";
1342
+ detail?: "auto" | "high" | "low";
1340
1343
  file_id?: string;
1341
1344
  } | {
1342
1345
  type?: "input_file";
@@ -1344,20 +1347,20 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1344
1347
  file_data?: string;
1345
1348
  filename?: string;
1346
1349
  })[];
1347
- role?: "assistant";
1348
- id?: string;
1349
- type?: "message";
1350
- status?: "completed" | "in_progress" | "incomplete";
1350
+ status?: "in_progress" | "completed" | "incomplete";
1351
1351
  timestamp?: number;
1352
1352
  }, {
1353
1353
  model?: string;
1354
+ id?: string;
1355
+ type?: "message";
1356
+ role?: "assistant";
1354
1357
  content?: string | ({
1355
- type?: "input_text";
1356
1358
  text?: string;
1359
+ type?: "input_text";
1357
1360
  } | {
1358
1361
  type?: "input_image";
1359
1362
  image_url?: string;
1360
- detail?: "auto" | "low" | "high";
1363
+ detail?: "auto" | "high" | "low";
1361
1364
  file_id?: string;
1362
1365
  } | {
1363
1366
  type?: "input_file";
@@ -1365,10 +1368,7 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1365
1368
  file_data?: string;
1366
1369
  filename?: string;
1367
1370
  })[];
1368
- role?: "assistant";
1369
- id?: string;
1370
- type?: "message";
1371
- status?: "completed" | "in_progress" | "incomplete";
1371
+ status?: "in_progress" | "completed" | "incomplete";
1372
1372
  timestamp?: number;
1373
1373
  }>, z.ZodObject<{
1374
1374
  type: z.ZodLiteral<"function_call">;
@@ -1384,19 +1384,19 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1384
1384
  id?: string;
1385
1385
  type?: "function_call";
1386
1386
  name?: string;
1387
- status?: "completed" | "in_progress" | "incomplete";
1388
- timestamp?: number;
1389
1387
  call_id?: string;
1390
1388
  arguments?: string;
1389
+ status?: "in_progress" | "completed" | "incomplete";
1390
+ timestamp?: number;
1391
1391
  }, {
1392
1392
  model?: string;
1393
1393
  id?: string;
1394
1394
  type?: "function_call";
1395
1395
  name?: string;
1396
- status?: "completed" | "in_progress" | "incomplete";
1397
- timestamp?: number;
1398
1396
  call_id?: string;
1399
1397
  arguments?: string;
1398
+ status?: "in_progress" | "completed" | "incomplete";
1399
+ timestamp?: number;
1400
1400
  }>, z.ZodObject<{
1401
1401
  type: z.ZodLiteral<"function_call_output">;
1402
1402
  call_id: z.ZodString;
@@ -1411,18 +1411,18 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1411
1411
  id?: string;
1412
1412
  type?: "function_call_output";
1413
1413
  name?: string;
1414
- status?: "completed" | "in_progress" | "incomplete";
1415
- timestamp?: number;
1416
1414
  call_id?: string;
1415
+ status?: "in_progress" | "completed" | "incomplete";
1416
+ timestamp?: number;
1417
1417
  output?: string;
1418
1418
  }, {
1419
1419
  model?: string;
1420
1420
  id?: string;
1421
1421
  type?: "function_call_output";
1422
1422
  name?: string;
1423
- status?: "completed" | "in_progress" | "incomplete";
1424
- timestamp?: number;
1425
1423
  call_id?: string;
1424
+ status?: "in_progress" | "completed" | "incomplete";
1425
+ timestamp?: number;
1426
1426
  output?: string;
1427
1427
  }>]>, "many">;
1428
1428
  temperature: z.ZodOptional<z.ZodNumber>;
@@ -1439,27 +1439,27 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1439
1439
  properties: z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>;
1440
1440
  required: z.ZodArray<z.ZodString, "many">;
1441
1441
  }, "strip", z.ZodTypeAny, {
1442
+ required?: string[];
1442
1443
  type?: "object";
1443
1444
  properties?: Record<string, any>;
1444
- required?: string[];
1445
1445
  }, {
1446
+ required?: string[];
1446
1447
  type?: "object";
1447
1448
  properties?: Record<string, any>;
1448
- required?: string[];
1449
1449
  }>;
1450
1450
  }, "strip", z.ZodTypeAny, {
1451
1451
  parameters?: {
1452
+ required?: string[];
1452
1453
  type?: "object";
1453
1454
  properties?: Record<string, any>;
1454
- required?: string[];
1455
1455
  };
1456
1456
  name?: string;
1457
1457
  description?: string;
1458
1458
  }, {
1459
1459
  parameters?: {
1460
+ required?: string[];
1460
1461
  type?: "object";
1461
1462
  properties?: Record<string, any>;
1462
- required?: string[];
1463
1463
  };
1464
1464
  name?: string;
1465
1465
  description?: string;
@@ -1467,9 +1467,9 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1467
1467
  }, "strip", z.ZodTypeAny, {
1468
1468
  function?: {
1469
1469
  parameters?: {
1470
+ required?: string[];
1470
1471
  type?: "object";
1471
1472
  properties?: Record<string, any>;
1472
- required?: string[];
1473
1473
  };
1474
1474
  name?: string;
1475
1475
  description?: string;
@@ -1478,9 +1478,9 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1478
1478
  }, {
1479
1479
  function?: {
1480
1480
  parameters?: {
1481
+ required?: string[];
1481
1482
  type?: "object";
1482
1483
  properties?: Record<string, any>;
1483
- required?: string[];
1484
1484
  };
1485
1485
  name?: string;
1486
1486
  description?: string;
@@ -1509,15 +1509,25 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1509
1509
  }>]>>;
1510
1510
  }, "strip", z.ZodTypeAny, {
1511
1511
  model?: string;
1512
+ temperature?: number;
1513
+ tool_choice?: "auto" | "none" | "required" | {
1514
+ function?: {
1515
+ name?: string;
1516
+ };
1517
+ type?: "function";
1518
+ };
1512
1519
  messages?: ({
1513
1520
  model?: string;
1521
+ type?: "message";
1522
+ name?: string;
1523
+ role?: "user" | "system" | "developer";
1514
1524
  content?: string | ({
1515
- type?: "input_text";
1516
1525
  text?: string;
1526
+ type?: "input_text";
1517
1527
  } | {
1518
1528
  type?: "input_image";
1519
1529
  image_url?: string;
1520
- detail?: "auto" | "low" | "high";
1530
+ detail?: "auto" | "high" | "low";
1521
1531
  file_id?: string;
1522
1532
  } | {
1523
1533
  type?: "input_file";
@@ -1525,20 +1535,19 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1525
1535
  file_data?: string;
1526
1536
  filename?: string;
1527
1537
  })[];
1528
- role?: "system" | "user" | "developer";
1529
- type?: "message";
1530
- name?: string;
1531
- status?: "completed" | "in_progress" | "incomplete";
1538
+ status?: "in_progress" | "completed" | "incomplete";
1532
1539
  timestamp?: number;
1533
1540
  } | {
1534
1541
  model?: string;
1542
+ type?: "thinking";
1543
+ role?: "assistant";
1535
1544
  content?: string | ({
1536
- type?: "input_text";
1537
1545
  text?: string;
1546
+ type?: "input_text";
1538
1547
  } | {
1539
1548
  type?: "input_image";
1540
1549
  image_url?: string;
1541
- detail?: "auto" | "low" | "high";
1550
+ detail?: "auto" | "high" | "low";
1542
1551
  file_id?: string;
1543
1552
  } | {
1544
1553
  type?: "input_file";
@@ -1546,17 +1555,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1546
1555
  file_data?: string;
1547
1556
  filename?: string;
1548
1557
  })[];
1549
- role?: "assistant";
1550
- type?: "thinking";
1551
- status?: "completed" | "in_progress" | "incomplete";
1558
+ thinking_id?: string;
1559
+ status?: "in_progress" | "completed" | "incomplete";
1552
1560
  timestamp?: number;
1553
1561
  signature?: string | ({
1554
- type?: "input_text";
1555
1562
  text?: string;
1563
+ type?: "input_text";
1556
1564
  } | {
1557
1565
  type?: "input_image";
1558
1566
  image_url?: string;
1559
- detail?: "auto" | "low" | "high";
1567
+ detail?: "auto" | "high" | "low";
1560
1568
  file_id?: string;
1561
1569
  } | {
1562
1570
  type?: "input_file";
@@ -1564,16 +1572,18 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1564
1572
  file_data?: string;
1565
1573
  filename?: string;
1566
1574
  })[];
1567
- thinking_id?: string;
1568
1575
  } | {
1569
1576
  model?: string;
1577
+ id?: string;
1578
+ type?: "message";
1579
+ role?: "assistant";
1570
1580
  content?: string | ({
1571
- type?: "input_text";
1572
1581
  text?: string;
1582
+ type?: "input_text";
1573
1583
  } | {
1574
1584
  type?: "input_image";
1575
1585
  image_url?: string;
1576
- detail?: "auto" | "low" | "high";
1586
+ detail?: "auto" | "high" | "low";
1577
1587
  file_id?: string;
1578
1588
  } | {
1579
1589
  type?: "input_file";
@@ -1581,46 +1591,36 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1581
1591
  file_data?: string;
1582
1592
  filename?: string;
1583
1593
  })[];
1584
- role?: "assistant";
1585
- id?: string;
1586
- type?: "message";
1587
- status?: "completed" | "in_progress" | "incomplete";
1594
+ status?: "in_progress" | "completed" | "incomplete";
1588
1595
  timestamp?: number;
1589
1596
  } | {
1590
1597
  model?: string;
1591
1598
  id?: string;
1592
1599
  type?: "function_call";
1593
1600
  name?: string;
1594
- status?: "completed" | "in_progress" | "incomplete";
1595
- timestamp?: number;
1596
1601
  call_id?: string;
1597
1602
  arguments?: string;
1603
+ status?: "in_progress" | "completed" | "incomplete";
1604
+ timestamp?: number;
1598
1605
  } | {
1599
1606
  model?: string;
1600
1607
  id?: string;
1601
1608
  type?: "function_call_output";
1602
1609
  name?: string;
1603
- status?: "completed" | "in_progress" | "incomplete";
1604
- timestamp?: number;
1605
1610
  call_id?: string;
1611
+ status?: "in_progress" | "completed" | "incomplete";
1612
+ timestamp?: number;
1606
1613
  output?: string;
1607
1614
  })[];
1608
- stream?: boolean;
1609
- temperature?: number;
1610
- max_tokens?: number;
1611
1615
  top_p?: number;
1612
- tool_choice?: "required" | "auto" | "none" | {
1613
- function?: {
1614
- name?: string;
1615
- };
1616
- type?: "function";
1617
- };
1616
+ max_tokens?: number;
1617
+ stream?: boolean;
1618
1618
  tools?: {
1619
1619
  function?: {
1620
1620
  parameters?: {
1621
+ required?: string[];
1621
1622
  type?: "object";
1622
1623
  properties?: Record<string, any>;
1623
- required?: string[];
1624
1624
  };
1625
1625
  name?: string;
1626
1626
  description?: string;
@@ -1629,15 +1629,25 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1629
1629
  }[];
1630
1630
  }, {
1631
1631
  model?: string;
1632
+ temperature?: number;
1633
+ tool_choice?: "auto" | "none" | "required" | {
1634
+ function?: {
1635
+ name?: string;
1636
+ };
1637
+ type?: "function";
1638
+ };
1632
1639
  messages?: ({
1633
1640
  model?: string;
1641
+ type?: "message";
1642
+ name?: string;
1643
+ role?: "user" | "system" | "developer";
1634
1644
  content?: string | ({
1635
- type?: "input_text";
1636
1645
  text?: string;
1646
+ type?: "input_text";
1637
1647
  } | {
1638
1648
  type?: "input_image";
1639
1649
  image_url?: string;
1640
- detail?: "auto" | "low" | "high";
1650
+ detail?: "auto" | "high" | "low";
1641
1651
  file_id?: string;
1642
1652
  } | {
1643
1653
  type?: "input_file";
@@ -1645,20 +1655,19 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1645
1655
  file_data?: string;
1646
1656
  filename?: string;
1647
1657
  })[];
1648
- role?: "system" | "user" | "developer";
1649
- type?: "message";
1650
- name?: string;
1651
- status?: "completed" | "in_progress" | "incomplete";
1658
+ status?: "in_progress" | "completed" | "incomplete";
1652
1659
  timestamp?: number;
1653
1660
  } | {
1654
1661
  model?: string;
1662
+ type?: "thinking";
1663
+ role?: "assistant";
1655
1664
  content?: string | ({
1656
- type?: "input_text";
1657
1665
  text?: string;
1666
+ type?: "input_text";
1658
1667
  } | {
1659
1668
  type?: "input_image";
1660
1669
  image_url?: string;
1661
- detail?: "auto" | "low" | "high";
1670
+ detail?: "auto" | "high" | "low";
1662
1671
  file_id?: string;
1663
1672
  } | {
1664
1673
  type?: "input_file";
@@ -1666,17 +1675,16 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1666
1675
  file_data?: string;
1667
1676
  filename?: string;
1668
1677
  })[];
1669
- role?: "assistant";
1670
- type?: "thinking";
1671
- status?: "completed" | "in_progress" | "incomplete";
1678
+ thinking_id?: string;
1679
+ status?: "in_progress" | "completed" | "incomplete";
1672
1680
  timestamp?: number;
1673
1681
  signature?: string | ({
1674
- type?: "input_text";
1675
1682
  text?: string;
1683
+ type?: "input_text";
1676
1684
  } | {
1677
1685
  type?: "input_image";
1678
1686
  image_url?: string;
1679
- detail?: "auto" | "low" | "high";
1687
+ detail?: "auto" | "high" | "low";
1680
1688
  file_id?: string;
1681
1689
  } | {
1682
1690
  type?: "input_file";
@@ -1684,16 +1692,18 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1684
1692
  file_data?: string;
1685
1693
  filename?: string;
1686
1694
  })[];
1687
- thinking_id?: string;
1688
1695
  } | {
1689
1696
  model?: string;
1697
+ id?: string;
1698
+ type?: "message";
1699
+ role?: "assistant";
1690
1700
  content?: string | ({
1691
- type?: "input_text";
1692
1701
  text?: string;
1702
+ type?: "input_text";
1693
1703
  } | {
1694
1704
  type?: "input_image";
1695
1705
  image_url?: string;
1696
- detail?: "auto" | "low" | "high";
1706
+ detail?: "auto" | "high" | "low";
1697
1707
  file_id?: string;
1698
1708
  } | {
1699
1709
  type?: "input_file";
@@ -1701,46 +1711,36 @@ export declare const RequestOptionsSchema: z.ZodObject<{
1701
1711
  file_data?: string;
1702
1712
  filename?: string;
1703
1713
  })[];
1704
- role?: "assistant";
1705
- id?: string;
1706
- type?: "message";
1707
- status?: "completed" | "in_progress" | "incomplete";
1714
+ status?: "in_progress" | "completed" | "incomplete";
1708
1715
  timestamp?: number;
1709
1716
  } | {
1710
1717
  model?: string;
1711
1718
  id?: string;
1712
1719
  type?: "function_call";
1713
1720
  name?: string;
1714
- status?: "completed" | "in_progress" | "incomplete";
1715
- timestamp?: number;
1716
1721
  call_id?: string;
1717
1722
  arguments?: string;
1723
+ status?: "in_progress" | "completed" | "incomplete";
1724
+ timestamp?: number;
1718
1725
  } | {
1719
1726
  model?: string;
1720
1727
  id?: string;
1721
1728
  type?: "function_call_output";
1722
1729
  name?: string;
1723
- status?: "completed" | "in_progress" | "incomplete";
1724
- timestamp?: number;
1725
1730
  call_id?: string;
1731
+ status?: "in_progress" | "completed" | "incomplete";
1732
+ timestamp?: number;
1726
1733
  output?: string;
1727
1734
  })[];
1728
- stream?: boolean;
1729
- temperature?: number;
1730
- max_tokens?: number;
1731
1735
  top_p?: number;
1732
- tool_choice?: "required" | "auto" | "none" | {
1733
- function?: {
1734
- name?: string;
1735
- };
1736
- type?: "function";
1737
- };
1736
+ max_tokens?: number;
1737
+ stream?: boolean;
1738
1738
  tools?: {
1739
1739
  function?: {
1740
1740
  parameters?: {
1741
+ required?: string[];
1741
1742
  type?: "object";
1742
1743
  properties?: Record<string, any>;
1743
- required?: string[];
1744
1744
  };
1745
1745
  name?: string;
1746
1746
  description?: string;
@@ -1761,8 +1761,8 @@ export declare const ModelUsageSchema: z.ZodObject<{
1761
1761
  timestamp: z.ZodOptional<z.ZodDate>;
1762
1762
  isFreeTierUsage: z.ZodOptional<z.ZodBoolean>;
1763
1763
  }, "strip", z.ZodTypeAny, {
1764
- cost?: number;
1765
1764
  model?: string;
1765
+ cost?: number;
1766
1766
  timestamp?: Date;
1767
1767
  input_tokens?: number;
1768
1768
  output_tokens?: number;
@@ -1771,8 +1771,8 @@ export declare const ModelUsageSchema: z.ZodObject<{
1771
1771
  metadata?: Record<string, unknown>;
1772
1772
  isFreeTierUsage?: boolean;
1773
1773
  }, {
1774
- cost?: number;
1775
1774
  model?: string;
1775
+ cost?: number;
1776
1776
  timestamp?: Date;
1777
1777
  input_tokens?: number;
1778
1778
  output_tokens?: number;