@cereworker/config 26.327.1 → 26.327.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.
package/dist/schema.d.ts CHANGED
@@ -37,23 +37,23 @@ export declare const configSchema: z.ZodObject<{
37
37
  }>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  auth: "apikey" | "oauth";
40
- apiKey?: string | undefined;
41
- baseUrl?: string | undefined;
42
- models?: string[] | undefined;
43
40
  oauth?: {
44
41
  callbackPort: number;
45
42
  clientId?: string | undefined;
46
43
  clientSecret?: string | undefined;
47
44
  } | undefined;
48
- }, {
49
45
  apiKey?: string | undefined;
50
46
  baseUrl?: string | undefined;
51
47
  models?: string[] | undefined;
48
+ }, {
52
49
  oauth?: {
53
50
  clientId?: string | undefined;
54
51
  clientSecret?: string | undefined;
55
52
  callbackPort?: number | undefined;
56
53
  } | undefined;
54
+ apiKey?: string | undefined;
55
+ baseUrl?: string | undefined;
56
+ models?: string[] | undefined;
57
57
  auth?: "apikey" | "oauth" | undefined;
58
58
  }>>;
59
59
  openai: z.ZodOptional<z.ZodObject<{
@@ -76,23 +76,23 @@ export declare const configSchema: z.ZodObject<{
76
76
  }>>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  auth: "apikey" | "oauth";
79
- apiKey?: string | undefined;
80
- baseUrl?: string | undefined;
81
- models?: string[] | undefined;
82
79
  oauth?: {
83
80
  callbackPort: number;
84
81
  clientId?: string | undefined;
85
82
  clientSecret?: string | undefined;
86
83
  } | undefined;
87
- }, {
88
84
  apiKey?: string | undefined;
89
85
  baseUrl?: string | undefined;
90
86
  models?: string[] | undefined;
87
+ }, {
91
88
  oauth?: {
92
89
  clientId?: string | undefined;
93
90
  clientSecret?: string | undefined;
94
91
  callbackPort?: number | undefined;
95
92
  } | undefined;
93
+ apiKey?: string | undefined;
94
+ baseUrl?: string | undefined;
95
+ models?: string[] | undefined;
96
96
  auth?: "apikey" | "oauth" | undefined;
97
97
  }>>;
98
98
  'openai-codex': z.ZodOptional<z.ZodObject<{
@@ -115,23 +115,23 @@ export declare const configSchema: z.ZodObject<{
115
115
  }>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  auth: "apikey" | "oauth";
118
- apiKey?: string | undefined;
119
- baseUrl?: string | undefined;
120
- models?: string[] | undefined;
121
118
  oauth?: {
122
119
  callbackPort: number;
123
120
  clientId?: string | undefined;
124
121
  clientSecret?: string | undefined;
125
122
  } | undefined;
126
- }, {
127
123
  apiKey?: string | undefined;
128
124
  baseUrl?: string | undefined;
129
125
  models?: string[] | undefined;
126
+ }, {
130
127
  oauth?: {
131
128
  clientId?: string | undefined;
132
129
  clientSecret?: string | undefined;
133
130
  callbackPort?: number | undefined;
134
131
  } | undefined;
132
+ apiKey?: string | undefined;
133
+ baseUrl?: string | undefined;
134
+ models?: string[] | undefined;
135
135
  auth?: "apikey" | "oauth" | undefined;
136
136
  }>>;
137
137
  google: z.ZodOptional<z.ZodObject<{
@@ -154,27 +154,28 @@ export declare const configSchema: z.ZodObject<{
154
154
  }>>;
155
155
  }, "strip", z.ZodTypeAny, {
156
156
  auth: "apikey" | "oauth";
157
- apiKey?: string | undefined;
158
- baseUrl?: string | undefined;
159
- models?: string[] | undefined;
160
157
  oauth?: {
161
158
  callbackPort: number;
162
159
  clientId?: string | undefined;
163
160
  clientSecret?: string | undefined;
164
161
  } | undefined;
165
- }, {
166
162
  apiKey?: string | undefined;
167
163
  baseUrl?: string | undefined;
168
164
  models?: string[] | undefined;
165
+ }, {
169
166
  oauth?: {
170
167
  clientId?: string | undefined;
171
168
  clientSecret?: string | undefined;
172
169
  callbackPort?: number | undefined;
173
170
  } | undefined;
171
+ apiKey?: string | undefined;
172
+ baseUrl?: string | undefined;
173
+ models?: string[] | undefined;
174
174
  auth?: "apikey" | "oauth" | undefined;
175
175
  }>>;
176
- local: z.ZodOptional<z.ZodObject<{
176
+ openrouter: z.ZodOptional<z.ZodObject<{
177
177
  apiKey: z.ZodOptional<z.ZodString>;
178
+ baseUrl: z.ZodOptional<z.ZodString>;
178
179
  models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
179
180
  auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
180
181
  oauth: z.ZodOptional<z.ZodObject<{
@@ -190,291 +191,954 @@ export declare const configSchema: z.ZodObject<{
190
191
  clientSecret?: string | undefined;
191
192
  callbackPort?: number | undefined;
192
193
  }>>;
193
- } & {
194
- baseUrl: z.ZodDefault<z.ZodString>;
195
- model: z.ZodDefault<z.ZodString>;
196
194
  }, "strip", z.ZodTypeAny, {
197
- baseUrl: string;
198
195
  auth: "apikey" | "oauth";
199
- model: string;
200
- apiKey?: string | undefined;
201
- models?: string[] | undefined;
202
196
  oauth?: {
203
197
  callbackPort: number;
204
198
  clientId?: string | undefined;
205
199
  clientSecret?: string | undefined;
206
200
  } | undefined;
207
- }, {
208
201
  apiKey?: string | undefined;
209
202
  baseUrl?: string | undefined;
210
203
  models?: string[] | undefined;
204
+ }, {
211
205
  oauth?: {
212
206
  clientId?: string | undefined;
213
207
  clientSecret?: string | undefined;
214
208
  callbackPort?: number | undefined;
215
209
  } | undefined;
216
- auth?: "apikey" | "oauth" | undefined;
217
- model?: string | undefined;
218
- }>>;
219
- }, "strip", z.ZodTypeAny, {
220
- anthropic?: {
221
- auth: "apikey" | "oauth";
222
210
  apiKey?: string | undefined;
223
211
  baseUrl?: string | undefined;
224
212
  models?: string[] | undefined;
213
+ auth?: "apikey" | "oauth" | undefined;
214
+ }>>;
215
+ deepseek: z.ZodOptional<z.ZodObject<{
216
+ apiKey: z.ZodOptional<z.ZodString>;
217
+ baseUrl: z.ZodOptional<z.ZodString>;
218
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
219
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
220
+ oauth: z.ZodOptional<z.ZodObject<{
221
+ clientId: z.ZodOptional<z.ZodString>;
222
+ clientSecret: z.ZodOptional<z.ZodString>;
223
+ callbackPort: z.ZodDefault<z.ZodNumber>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ callbackPort: number;
226
+ clientId?: string | undefined;
227
+ clientSecret?: string | undefined;
228
+ }, {
229
+ clientId?: string | undefined;
230
+ clientSecret?: string | undefined;
231
+ callbackPort?: number | undefined;
232
+ }>>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ auth: "apikey" | "oauth";
225
235
  oauth?: {
226
236
  callbackPort: number;
227
237
  clientId?: string | undefined;
228
238
  clientSecret?: string | undefined;
229
239
  } | undefined;
230
- } | undefined;
231
- openai?: {
232
- auth: "apikey" | "oauth";
233
240
  apiKey?: string | undefined;
234
241
  baseUrl?: string | undefined;
235
242
  models?: string[] | undefined;
243
+ }, {
236
244
  oauth?: {
237
- callbackPort: number;
238
245
  clientId?: string | undefined;
239
246
  clientSecret?: string | undefined;
247
+ callbackPort?: number | undefined;
240
248
  } | undefined;
241
- } | undefined;
242
- 'openai-codex'?: {
243
- auth: "apikey" | "oauth";
244
249
  apiKey?: string | undefined;
245
250
  baseUrl?: string | undefined;
246
251
  models?: string[] | undefined;
252
+ auth?: "apikey" | "oauth" | undefined;
253
+ }>>;
254
+ xai: z.ZodOptional<z.ZodObject<{
255
+ apiKey: z.ZodOptional<z.ZodString>;
256
+ baseUrl: z.ZodOptional<z.ZodString>;
257
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
258
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
259
+ oauth: z.ZodOptional<z.ZodObject<{
260
+ clientId: z.ZodOptional<z.ZodString>;
261
+ clientSecret: z.ZodOptional<z.ZodString>;
262
+ callbackPort: z.ZodDefault<z.ZodNumber>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ callbackPort: number;
265
+ clientId?: string | undefined;
266
+ clientSecret?: string | undefined;
267
+ }, {
268
+ clientId?: string | undefined;
269
+ clientSecret?: string | undefined;
270
+ callbackPort?: number | undefined;
271
+ }>>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ auth: "apikey" | "oauth";
247
274
  oauth?: {
248
275
  callbackPort: number;
249
276
  clientId?: string | undefined;
250
277
  clientSecret?: string | undefined;
251
278
  } | undefined;
252
- } | undefined;
253
- google?: {
254
- auth: "apikey" | "oauth";
255
279
  apiKey?: string | undefined;
256
280
  baseUrl?: string | undefined;
257
281
  models?: string[] | undefined;
282
+ }, {
258
283
  oauth?: {
259
- callbackPort: number;
260
284
  clientId?: string | undefined;
261
285
  clientSecret?: string | undefined;
286
+ callbackPort?: number | undefined;
262
287
  } | undefined;
263
- } | undefined;
264
- local?: {
265
- baseUrl: string;
266
- auth: "apikey" | "oauth";
267
- model: string;
268
288
  apiKey?: string | undefined;
289
+ baseUrl?: string | undefined;
269
290
  models?: string[] | undefined;
291
+ auth?: "apikey" | "oauth" | undefined;
292
+ }>>;
293
+ mistral: z.ZodOptional<z.ZodObject<{
294
+ apiKey: z.ZodOptional<z.ZodString>;
295
+ baseUrl: z.ZodOptional<z.ZodString>;
296
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
298
+ oauth: z.ZodOptional<z.ZodObject<{
299
+ clientId: z.ZodOptional<z.ZodString>;
300
+ clientSecret: z.ZodOptional<z.ZodString>;
301
+ callbackPort: z.ZodDefault<z.ZodNumber>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ callbackPort: number;
304
+ clientId?: string | undefined;
305
+ clientSecret?: string | undefined;
306
+ }, {
307
+ clientId?: string | undefined;
308
+ clientSecret?: string | undefined;
309
+ callbackPort?: number | undefined;
310
+ }>>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ auth: "apikey" | "oauth";
270
313
  oauth?: {
271
314
  callbackPort: number;
272
315
  clientId?: string | undefined;
273
316
  clientSecret?: string | undefined;
274
317
  } | undefined;
275
- } | undefined;
276
- }, {
277
- anthropic?: {
278
318
  apiKey?: string | undefined;
279
319
  baseUrl?: string | undefined;
280
320
  models?: string[] | undefined;
321
+ }, {
281
322
  oauth?: {
282
323
  clientId?: string | undefined;
283
324
  clientSecret?: string | undefined;
284
325
  callbackPort?: number | undefined;
285
326
  } | undefined;
286
- auth?: "apikey" | "oauth" | undefined;
287
- } | undefined;
288
- openai?: {
289
327
  apiKey?: string | undefined;
290
328
  baseUrl?: string | undefined;
291
329
  models?: string[] | undefined;
292
- oauth?: {
330
+ auth?: "apikey" | "oauth" | undefined;
331
+ }>>;
332
+ together: z.ZodOptional<z.ZodObject<{
333
+ apiKey: z.ZodOptional<z.ZodString>;
334
+ baseUrl: z.ZodOptional<z.ZodString>;
335
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
336
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
337
+ oauth: z.ZodOptional<z.ZodObject<{
338
+ clientId: z.ZodOptional<z.ZodString>;
339
+ clientSecret: z.ZodOptional<z.ZodString>;
340
+ callbackPort: z.ZodDefault<z.ZodNumber>;
341
+ }, "strip", z.ZodTypeAny, {
342
+ callbackPort: number;
343
+ clientId?: string | undefined;
344
+ clientSecret?: string | undefined;
345
+ }, {
293
346
  clientId?: string | undefined;
294
347
  clientSecret?: string | undefined;
295
348
  callbackPort?: number | undefined;
349
+ }>>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ auth: "apikey" | "oauth";
352
+ oauth?: {
353
+ callbackPort: number;
354
+ clientId?: string | undefined;
355
+ clientSecret?: string | undefined;
296
356
  } | undefined;
297
- auth?: "apikey" | "oauth" | undefined;
298
- } | undefined;
299
- 'openai-codex'?: {
300
357
  apiKey?: string | undefined;
301
358
  baseUrl?: string | undefined;
302
359
  models?: string[] | undefined;
360
+ }, {
303
361
  oauth?: {
304
362
  clientId?: string | undefined;
305
363
  clientSecret?: string | undefined;
306
364
  callbackPort?: number | undefined;
307
365
  } | undefined;
366
+ apiKey?: string | undefined;
367
+ baseUrl?: string | undefined;
368
+ models?: string[] | undefined;
308
369
  auth?: "apikey" | "oauth" | undefined;
309
- } | undefined;
310
- google?: {
370
+ }>>;
371
+ moonshot: z.ZodOptional<z.ZodObject<{
372
+ apiKey: z.ZodOptional<z.ZodString>;
373
+ baseUrl: z.ZodOptional<z.ZodString>;
374
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
375
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
376
+ oauth: z.ZodOptional<z.ZodObject<{
377
+ clientId: z.ZodOptional<z.ZodString>;
378
+ clientSecret: z.ZodOptional<z.ZodString>;
379
+ callbackPort: z.ZodDefault<z.ZodNumber>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ callbackPort: number;
382
+ clientId?: string | undefined;
383
+ clientSecret?: string | undefined;
384
+ }, {
385
+ clientId?: string | undefined;
386
+ clientSecret?: string | undefined;
387
+ callbackPort?: number | undefined;
388
+ }>>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ auth: "apikey" | "oauth";
391
+ oauth?: {
392
+ callbackPort: number;
393
+ clientId?: string | undefined;
394
+ clientSecret?: string | undefined;
395
+ } | undefined;
311
396
  apiKey?: string | undefined;
312
397
  baseUrl?: string | undefined;
313
398
  models?: string[] | undefined;
399
+ }, {
314
400
  oauth?: {
315
401
  clientId?: string | undefined;
316
402
  clientSecret?: string | undefined;
317
403
  callbackPort?: number | undefined;
318
404
  } | undefined;
405
+ apiKey?: string | undefined;
406
+ baseUrl?: string | undefined;
407
+ models?: string[] | undefined;
319
408
  auth?: "apikey" | "oauth" | undefined;
320
- } | undefined;
321
- local?: {
409
+ }>>;
410
+ minimax: z.ZodOptional<z.ZodObject<{
411
+ apiKey: z.ZodOptional<z.ZodString>;
412
+ baseUrl: z.ZodOptional<z.ZodString>;
413
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
414
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
415
+ oauth: z.ZodOptional<z.ZodObject<{
416
+ clientId: z.ZodOptional<z.ZodString>;
417
+ clientSecret: z.ZodOptional<z.ZodString>;
418
+ callbackPort: z.ZodDefault<z.ZodNumber>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ callbackPort: number;
421
+ clientId?: string | undefined;
422
+ clientSecret?: string | undefined;
423
+ }, {
424
+ clientId?: string | undefined;
425
+ clientSecret?: string | undefined;
426
+ callbackPort?: number | undefined;
427
+ }>>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ auth: "apikey" | "oauth";
430
+ oauth?: {
431
+ callbackPort: number;
432
+ clientId?: string | undefined;
433
+ clientSecret?: string | undefined;
434
+ } | undefined;
322
435
  apiKey?: string | undefined;
323
436
  baseUrl?: string | undefined;
324
437
  models?: string[] | undefined;
438
+ }, {
325
439
  oauth?: {
326
440
  clientId?: string | undefined;
327
441
  clientSecret?: string | undefined;
328
442
  callbackPort?: number | undefined;
329
443
  } | undefined;
330
- auth?: "apikey" | "oauth" | undefined;
331
- model?: string | undefined;
332
- } | undefined;
333
- }>>;
334
- maxSteps: z.ZodDefault<z.ZodNumber>;
335
- temperature: z.ZodDefault<z.ZodNumber>;
336
- contextWindow: z.ZodDefault<z.ZodNumber>;
337
- compaction: z.ZodDefault<z.ZodObject<{
338
- enabled: z.ZodDefault<z.ZodBoolean>;
339
- threshold: z.ZodDefault<z.ZodNumber>;
340
- keepRecentMessages: z.ZodDefault<z.ZodNumber>;
341
- }, "strip", z.ZodTypeAny, {
342
- enabled: boolean;
343
- threshold: number;
344
- keepRecentMessages: number;
345
- }, {
346
- enabled?: boolean | undefined;
347
- threshold?: number | undefined;
348
- keepRecentMessages?: number | undefined;
349
- }>>;
350
- }, "strip", z.ZodTypeAny, {
351
- defaultProvider: string;
352
- defaultModel: string;
353
- providers: {
354
- anthropic?: {
355
- auth: "apikey" | "oauth";
356
444
  apiKey?: string | undefined;
357
445
  baseUrl?: string | undefined;
358
446
  models?: string[] | undefined;
447
+ auth?: "apikey" | "oauth" | undefined;
448
+ }>>;
449
+ 'minimax-portal': z.ZodOptional<z.ZodObject<{
450
+ apiKey: z.ZodOptional<z.ZodString>;
451
+ baseUrl: z.ZodOptional<z.ZodString>;
452
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
453
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
454
+ oauth: z.ZodOptional<z.ZodObject<{
455
+ clientId: z.ZodOptional<z.ZodString>;
456
+ clientSecret: z.ZodOptional<z.ZodString>;
457
+ callbackPort: z.ZodDefault<z.ZodNumber>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ callbackPort: number;
460
+ clientId?: string | undefined;
461
+ clientSecret?: string | undefined;
462
+ }, {
463
+ clientId?: string | undefined;
464
+ clientSecret?: string | undefined;
465
+ callbackPort?: number | undefined;
466
+ }>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ auth: "apikey" | "oauth";
469
+ oauth?: {
470
+ callbackPort: number;
471
+ clientId?: string | undefined;
472
+ clientSecret?: string | undefined;
473
+ } | undefined;
474
+ apiKey?: string | undefined;
475
+ baseUrl?: string | undefined;
476
+ models?: string[] | undefined;
477
+ }, {
478
+ oauth?: {
479
+ clientId?: string | undefined;
480
+ clientSecret?: string | undefined;
481
+ callbackPort?: number | undefined;
482
+ } | undefined;
483
+ apiKey?: string | undefined;
484
+ baseUrl?: string | undefined;
485
+ models?: string[] | undefined;
486
+ auth?: "apikey" | "oauth" | undefined;
487
+ }>>;
488
+ local: z.ZodOptional<z.ZodObject<{
489
+ apiKey: z.ZodOptional<z.ZodString>;
490
+ models: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
491
+ auth: z.ZodDefault<z.ZodEnum<["apikey", "oauth"]>>;
492
+ oauth: z.ZodOptional<z.ZodObject<{
493
+ clientId: z.ZodOptional<z.ZodString>;
494
+ clientSecret: z.ZodOptional<z.ZodString>;
495
+ callbackPort: z.ZodDefault<z.ZodNumber>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ callbackPort: number;
498
+ clientId?: string | undefined;
499
+ clientSecret?: string | undefined;
500
+ }, {
501
+ clientId?: string | undefined;
502
+ clientSecret?: string | undefined;
503
+ callbackPort?: number | undefined;
504
+ }>>;
505
+ } & {
506
+ baseUrl: z.ZodDefault<z.ZodString>;
507
+ model: z.ZodDefault<z.ZodString>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ baseUrl: string;
510
+ auth: "apikey" | "oauth";
511
+ model: string;
512
+ oauth?: {
513
+ callbackPort: number;
514
+ clientId?: string | undefined;
515
+ clientSecret?: string | undefined;
516
+ } | undefined;
517
+ apiKey?: string | undefined;
518
+ models?: string[] | undefined;
519
+ }, {
520
+ oauth?: {
521
+ clientId?: string | undefined;
522
+ clientSecret?: string | undefined;
523
+ callbackPort?: number | undefined;
524
+ } | undefined;
525
+ apiKey?: string | undefined;
526
+ baseUrl?: string | undefined;
527
+ models?: string[] | undefined;
528
+ auth?: "apikey" | "oauth" | undefined;
529
+ model?: string | undefined;
530
+ }>>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ anthropic?: {
533
+ auth: "apikey" | "oauth";
534
+ oauth?: {
535
+ callbackPort: number;
536
+ clientId?: string | undefined;
537
+ clientSecret?: string | undefined;
538
+ } | undefined;
539
+ apiKey?: string | undefined;
540
+ baseUrl?: string | undefined;
541
+ models?: string[] | undefined;
542
+ } | undefined;
543
+ 'openai-codex'?: {
544
+ auth: "apikey" | "oauth";
545
+ oauth?: {
546
+ callbackPort: number;
547
+ clientId?: string | undefined;
548
+ clientSecret?: string | undefined;
549
+ } | undefined;
550
+ apiKey?: string | undefined;
551
+ baseUrl?: string | undefined;
552
+ models?: string[] | undefined;
553
+ } | undefined;
554
+ google?: {
555
+ auth: "apikey" | "oauth";
556
+ oauth?: {
557
+ callbackPort: number;
558
+ clientId?: string | undefined;
559
+ clientSecret?: string | undefined;
560
+ } | undefined;
561
+ apiKey?: string | undefined;
562
+ baseUrl?: string | undefined;
563
+ models?: string[] | undefined;
564
+ } | undefined;
565
+ local?: {
566
+ baseUrl: string;
567
+ auth: "apikey" | "oauth";
568
+ model: string;
569
+ oauth?: {
570
+ callbackPort: number;
571
+ clientId?: string | undefined;
572
+ clientSecret?: string | undefined;
573
+ } | undefined;
574
+ apiKey?: string | undefined;
575
+ models?: string[] | undefined;
576
+ } | undefined;
577
+ openai?: {
578
+ auth: "apikey" | "oauth";
579
+ oauth?: {
580
+ callbackPort: number;
581
+ clientId?: string | undefined;
582
+ clientSecret?: string | undefined;
583
+ } | undefined;
584
+ apiKey?: string | undefined;
585
+ baseUrl?: string | undefined;
586
+ models?: string[] | undefined;
587
+ } | undefined;
588
+ openrouter?: {
589
+ auth: "apikey" | "oauth";
590
+ oauth?: {
591
+ callbackPort: number;
592
+ clientId?: string | undefined;
593
+ clientSecret?: string | undefined;
594
+ } | undefined;
595
+ apiKey?: string | undefined;
596
+ baseUrl?: string | undefined;
597
+ models?: string[] | undefined;
598
+ } | undefined;
599
+ deepseek?: {
600
+ auth: "apikey" | "oauth";
601
+ oauth?: {
602
+ callbackPort: number;
603
+ clientId?: string | undefined;
604
+ clientSecret?: string | undefined;
605
+ } | undefined;
606
+ apiKey?: string | undefined;
607
+ baseUrl?: string | undefined;
608
+ models?: string[] | undefined;
609
+ } | undefined;
610
+ xai?: {
611
+ auth: "apikey" | "oauth";
612
+ oauth?: {
613
+ callbackPort: number;
614
+ clientId?: string | undefined;
615
+ clientSecret?: string | undefined;
616
+ } | undefined;
617
+ apiKey?: string | undefined;
618
+ baseUrl?: string | undefined;
619
+ models?: string[] | undefined;
620
+ } | undefined;
621
+ mistral?: {
622
+ auth: "apikey" | "oauth";
623
+ oauth?: {
624
+ callbackPort: number;
625
+ clientId?: string | undefined;
626
+ clientSecret?: string | undefined;
627
+ } | undefined;
628
+ apiKey?: string | undefined;
629
+ baseUrl?: string | undefined;
630
+ models?: string[] | undefined;
631
+ } | undefined;
632
+ together?: {
633
+ auth: "apikey" | "oauth";
634
+ oauth?: {
635
+ callbackPort: number;
636
+ clientId?: string | undefined;
637
+ clientSecret?: string | undefined;
638
+ } | undefined;
639
+ apiKey?: string | undefined;
640
+ baseUrl?: string | undefined;
641
+ models?: string[] | undefined;
642
+ } | undefined;
643
+ moonshot?: {
644
+ auth: "apikey" | "oauth";
645
+ oauth?: {
646
+ callbackPort: number;
647
+ clientId?: string | undefined;
648
+ clientSecret?: string | undefined;
649
+ } | undefined;
650
+ apiKey?: string | undefined;
651
+ baseUrl?: string | undefined;
652
+ models?: string[] | undefined;
653
+ } | undefined;
654
+ minimax?: {
655
+ auth: "apikey" | "oauth";
656
+ oauth?: {
657
+ callbackPort: number;
658
+ clientId?: string | undefined;
659
+ clientSecret?: string | undefined;
660
+ } | undefined;
661
+ apiKey?: string | undefined;
662
+ baseUrl?: string | undefined;
663
+ models?: string[] | undefined;
664
+ } | undefined;
665
+ 'minimax-portal'?: {
666
+ auth: "apikey" | "oauth";
667
+ oauth?: {
668
+ callbackPort: number;
669
+ clientId?: string | undefined;
670
+ clientSecret?: string | undefined;
671
+ } | undefined;
672
+ apiKey?: string | undefined;
673
+ baseUrl?: string | undefined;
674
+ models?: string[] | undefined;
675
+ } | undefined;
676
+ }, {
677
+ anthropic?: {
678
+ oauth?: {
679
+ clientId?: string | undefined;
680
+ clientSecret?: string | undefined;
681
+ callbackPort?: number | undefined;
682
+ } | undefined;
683
+ apiKey?: string | undefined;
684
+ baseUrl?: string | undefined;
685
+ models?: string[] | undefined;
686
+ auth?: "apikey" | "oauth" | undefined;
687
+ } | undefined;
688
+ 'openai-codex'?: {
689
+ oauth?: {
690
+ clientId?: string | undefined;
691
+ clientSecret?: string | undefined;
692
+ callbackPort?: number | undefined;
693
+ } | undefined;
694
+ apiKey?: string | undefined;
695
+ baseUrl?: string | undefined;
696
+ models?: string[] | undefined;
697
+ auth?: "apikey" | "oauth" | undefined;
698
+ } | undefined;
699
+ google?: {
700
+ oauth?: {
701
+ clientId?: string | undefined;
702
+ clientSecret?: string | undefined;
703
+ callbackPort?: number | undefined;
704
+ } | undefined;
705
+ apiKey?: string | undefined;
706
+ baseUrl?: string | undefined;
707
+ models?: string[] | undefined;
708
+ auth?: "apikey" | "oauth" | undefined;
709
+ } | undefined;
710
+ local?: {
711
+ oauth?: {
712
+ clientId?: string | undefined;
713
+ clientSecret?: string | undefined;
714
+ callbackPort?: number | undefined;
715
+ } | undefined;
716
+ apiKey?: string | undefined;
717
+ baseUrl?: string | undefined;
718
+ models?: string[] | undefined;
719
+ auth?: "apikey" | "oauth" | undefined;
720
+ model?: string | undefined;
721
+ } | undefined;
722
+ openai?: {
723
+ oauth?: {
724
+ clientId?: string | undefined;
725
+ clientSecret?: string | undefined;
726
+ callbackPort?: number | undefined;
727
+ } | undefined;
728
+ apiKey?: string | undefined;
729
+ baseUrl?: string | undefined;
730
+ models?: string[] | undefined;
731
+ auth?: "apikey" | "oauth" | undefined;
732
+ } | undefined;
733
+ openrouter?: {
734
+ oauth?: {
735
+ clientId?: string | undefined;
736
+ clientSecret?: string | undefined;
737
+ callbackPort?: number | undefined;
738
+ } | undefined;
739
+ apiKey?: string | undefined;
740
+ baseUrl?: string | undefined;
741
+ models?: string[] | undefined;
742
+ auth?: "apikey" | "oauth" | undefined;
743
+ } | undefined;
744
+ deepseek?: {
745
+ oauth?: {
746
+ clientId?: string | undefined;
747
+ clientSecret?: string | undefined;
748
+ callbackPort?: number | undefined;
749
+ } | undefined;
750
+ apiKey?: string | undefined;
751
+ baseUrl?: string | undefined;
752
+ models?: string[] | undefined;
753
+ auth?: "apikey" | "oauth" | undefined;
754
+ } | undefined;
755
+ xai?: {
756
+ oauth?: {
757
+ clientId?: string | undefined;
758
+ clientSecret?: string | undefined;
759
+ callbackPort?: number | undefined;
760
+ } | undefined;
761
+ apiKey?: string | undefined;
762
+ baseUrl?: string | undefined;
763
+ models?: string[] | undefined;
764
+ auth?: "apikey" | "oauth" | undefined;
765
+ } | undefined;
766
+ mistral?: {
767
+ oauth?: {
768
+ clientId?: string | undefined;
769
+ clientSecret?: string | undefined;
770
+ callbackPort?: number | undefined;
771
+ } | undefined;
772
+ apiKey?: string | undefined;
773
+ baseUrl?: string | undefined;
774
+ models?: string[] | undefined;
775
+ auth?: "apikey" | "oauth" | undefined;
776
+ } | undefined;
777
+ together?: {
778
+ oauth?: {
779
+ clientId?: string | undefined;
780
+ clientSecret?: string | undefined;
781
+ callbackPort?: number | undefined;
782
+ } | undefined;
783
+ apiKey?: string | undefined;
784
+ baseUrl?: string | undefined;
785
+ models?: string[] | undefined;
786
+ auth?: "apikey" | "oauth" | undefined;
787
+ } | undefined;
788
+ moonshot?: {
789
+ oauth?: {
790
+ clientId?: string | undefined;
791
+ clientSecret?: string | undefined;
792
+ callbackPort?: number | undefined;
793
+ } | undefined;
794
+ apiKey?: string | undefined;
795
+ baseUrl?: string | undefined;
796
+ models?: string[] | undefined;
797
+ auth?: "apikey" | "oauth" | undefined;
798
+ } | undefined;
799
+ minimax?: {
800
+ oauth?: {
801
+ clientId?: string | undefined;
802
+ clientSecret?: string | undefined;
803
+ callbackPort?: number | undefined;
804
+ } | undefined;
805
+ apiKey?: string | undefined;
806
+ baseUrl?: string | undefined;
807
+ models?: string[] | undefined;
808
+ auth?: "apikey" | "oauth" | undefined;
809
+ } | undefined;
810
+ 'minimax-portal'?: {
811
+ oauth?: {
812
+ clientId?: string | undefined;
813
+ clientSecret?: string | undefined;
814
+ callbackPort?: number | undefined;
815
+ } | undefined;
816
+ apiKey?: string | undefined;
817
+ baseUrl?: string | undefined;
818
+ models?: string[] | undefined;
819
+ auth?: "apikey" | "oauth" | undefined;
820
+ } | undefined;
821
+ }>>;
822
+ maxSteps: z.ZodDefault<z.ZodNumber>;
823
+ temperature: z.ZodDefault<z.ZodNumber>;
824
+ contextWindow: z.ZodDefault<z.ZodNumber>;
825
+ compaction: z.ZodDefault<z.ZodObject<{
826
+ enabled: z.ZodDefault<z.ZodBoolean>;
827
+ threshold: z.ZodDefault<z.ZodNumber>;
828
+ keepRecentMessages: z.ZodDefault<z.ZodNumber>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ enabled: boolean;
831
+ threshold: number;
832
+ keepRecentMessages: number;
833
+ }, {
834
+ enabled?: boolean | undefined;
835
+ threshold?: number | undefined;
836
+ keepRecentMessages?: number | undefined;
837
+ }>>;
838
+ }, "strip", z.ZodTypeAny, {
839
+ defaultProvider: string;
840
+ defaultModel: string;
841
+ providers: {
842
+ anthropic?: {
843
+ auth: "apikey" | "oauth";
844
+ oauth?: {
845
+ callbackPort: number;
846
+ clientId?: string | undefined;
847
+ clientSecret?: string | undefined;
848
+ } | undefined;
849
+ apiKey?: string | undefined;
850
+ baseUrl?: string | undefined;
851
+ models?: string[] | undefined;
852
+ } | undefined;
853
+ 'openai-codex'?: {
854
+ auth: "apikey" | "oauth";
855
+ oauth?: {
856
+ callbackPort: number;
857
+ clientId?: string | undefined;
858
+ clientSecret?: string | undefined;
859
+ } | undefined;
860
+ apiKey?: string | undefined;
861
+ baseUrl?: string | undefined;
862
+ models?: string[] | undefined;
863
+ } | undefined;
864
+ google?: {
865
+ auth: "apikey" | "oauth";
866
+ oauth?: {
867
+ callbackPort: number;
868
+ clientId?: string | undefined;
869
+ clientSecret?: string | undefined;
870
+ } | undefined;
871
+ apiKey?: string | undefined;
872
+ baseUrl?: string | undefined;
873
+ models?: string[] | undefined;
874
+ } | undefined;
875
+ local?: {
876
+ baseUrl: string;
877
+ auth: "apikey" | "oauth";
878
+ model: string;
879
+ oauth?: {
880
+ callbackPort: number;
881
+ clientId?: string | undefined;
882
+ clientSecret?: string | undefined;
883
+ } | undefined;
884
+ apiKey?: string | undefined;
885
+ models?: string[] | undefined;
886
+ } | undefined;
887
+ openai?: {
888
+ auth: "apikey" | "oauth";
889
+ oauth?: {
890
+ callbackPort: number;
891
+ clientId?: string | undefined;
892
+ clientSecret?: string | undefined;
893
+ } | undefined;
894
+ apiKey?: string | undefined;
895
+ baseUrl?: string | undefined;
896
+ models?: string[] | undefined;
897
+ } | undefined;
898
+ openrouter?: {
899
+ auth: "apikey" | "oauth";
900
+ oauth?: {
901
+ callbackPort: number;
902
+ clientId?: string | undefined;
903
+ clientSecret?: string | undefined;
904
+ } | undefined;
905
+ apiKey?: string | undefined;
906
+ baseUrl?: string | undefined;
907
+ models?: string[] | undefined;
908
+ } | undefined;
909
+ deepseek?: {
910
+ auth: "apikey" | "oauth";
911
+ oauth?: {
912
+ callbackPort: number;
913
+ clientId?: string | undefined;
914
+ clientSecret?: string | undefined;
915
+ } | undefined;
916
+ apiKey?: string | undefined;
917
+ baseUrl?: string | undefined;
918
+ models?: string[] | undefined;
919
+ } | undefined;
920
+ xai?: {
921
+ auth: "apikey" | "oauth";
922
+ oauth?: {
923
+ callbackPort: number;
924
+ clientId?: string | undefined;
925
+ clientSecret?: string | undefined;
926
+ } | undefined;
927
+ apiKey?: string | undefined;
928
+ baseUrl?: string | undefined;
929
+ models?: string[] | undefined;
930
+ } | undefined;
931
+ mistral?: {
932
+ auth: "apikey" | "oauth";
933
+ oauth?: {
934
+ callbackPort: number;
935
+ clientId?: string | undefined;
936
+ clientSecret?: string | undefined;
937
+ } | undefined;
938
+ apiKey?: string | undefined;
939
+ baseUrl?: string | undefined;
940
+ models?: string[] | undefined;
941
+ } | undefined;
942
+ together?: {
943
+ auth: "apikey" | "oauth";
944
+ oauth?: {
945
+ callbackPort: number;
946
+ clientId?: string | undefined;
947
+ clientSecret?: string | undefined;
948
+ } | undefined;
949
+ apiKey?: string | undefined;
950
+ baseUrl?: string | undefined;
951
+ models?: string[] | undefined;
952
+ } | undefined;
953
+ moonshot?: {
954
+ auth: "apikey" | "oauth";
955
+ oauth?: {
956
+ callbackPort: number;
957
+ clientId?: string | undefined;
958
+ clientSecret?: string | undefined;
959
+ } | undefined;
960
+ apiKey?: string | undefined;
961
+ baseUrl?: string | undefined;
962
+ models?: string[] | undefined;
963
+ } | undefined;
964
+ minimax?: {
965
+ auth: "apikey" | "oauth";
966
+ oauth?: {
967
+ callbackPort: number;
968
+ clientId?: string | undefined;
969
+ clientSecret?: string | undefined;
970
+ } | undefined;
971
+ apiKey?: string | undefined;
972
+ baseUrl?: string | undefined;
973
+ models?: string[] | undefined;
974
+ } | undefined;
975
+ 'minimax-portal'?: {
976
+ auth: "apikey" | "oauth";
977
+ oauth?: {
978
+ callbackPort: number;
979
+ clientId?: string | undefined;
980
+ clientSecret?: string | undefined;
981
+ } | undefined;
982
+ apiKey?: string | undefined;
983
+ baseUrl?: string | undefined;
984
+ models?: string[] | undefined;
985
+ } | undefined;
986
+ };
987
+ maxSteps: number;
988
+ temperature: number;
989
+ contextWindow: number;
990
+ compaction: {
991
+ enabled: boolean;
992
+ threshold: number;
993
+ keepRecentMessages: number;
994
+ };
995
+ }, {
996
+ defaultProvider?: string | undefined;
997
+ defaultModel?: string | undefined;
998
+ providers?: {
999
+ anthropic?: {
1000
+ oauth?: {
1001
+ clientId?: string | undefined;
1002
+ clientSecret?: string | undefined;
1003
+ callbackPort?: number | undefined;
1004
+ } | undefined;
1005
+ apiKey?: string | undefined;
1006
+ baseUrl?: string | undefined;
1007
+ models?: string[] | undefined;
1008
+ auth?: "apikey" | "oauth" | undefined;
1009
+ } | undefined;
1010
+ 'openai-codex'?: {
1011
+ oauth?: {
1012
+ clientId?: string | undefined;
1013
+ clientSecret?: string | undefined;
1014
+ callbackPort?: number | undefined;
1015
+ } | undefined;
1016
+ apiKey?: string | undefined;
1017
+ baseUrl?: string | undefined;
1018
+ models?: string[] | undefined;
1019
+ auth?: "apikey" | "oauth" | undefined;
1020
+ } | undefined;
1021
+ google?: {
1022
+ oauth?: {
1023
+ clientId?: string | undefined;
1024
+ clientSecret?: string | undefined;
1025
+ callbackPort?: number | undefined;
1026
+ } | undefined;
1027
+ apiKey?: string | undefined;
1028
+ baseUrl?: string | undefined;
1029
+ models?: string[] | undefined;
1030
+ auth?: "apikey" | "oauth" | undefined;
1031
+ } | undefined;
1032
+ local?: {
359
1033
  oauth?: {
360
- callbackPort: number;
361
1034
  clientId?: string | undefined;
362
1035
  clientSecret?: string | undefined;
1036
+ callbackPort?: number | undefined;
363
1037
  } | undefined;
364
- } | undefined;
365
- openai?: {
366
- auth: "apikey" | "oauth";
367
1038
  apiKey?: string | undefined;
368
1039
  baseUrl?: string | undefined;
369
1040
  models?: string[] | undefined;
1041
+ auth?: "apikey" | "oauth" | undefined;
1042
+ model?: string | undefined;
1043
+ } | undefined;
1044
+ openai?: {
370
1045
  oauth?: {
371
- callbackPort: number;
372
1046
  clientId?: string | undefined;
373
1047
  clientSecret?: string | undefined;
1048
+ callbackPort?: number | undefined;
374
1049
  } | undefined;
375
- } | undefined;
376
- 'openai-codex'?: {
377
- auth: "apikey" | "oauth";
378
1050
  apiKey?: string | undefined;
379
1051
  baseUrl?: string | undefined;
380
1052
  models?: string[] | undefined;
1053
+ auth?: "apikey" | "oauth" | undefined;
1054
+ } | undefined;
1055
+ openrouter?: {
381
1056
  oauth?: {
382
- callbackPort: number;
383
1057
  clientId?: string | undefined;
384
1058
  clientSecret?: string | undefined;
1059
+ callbackPort?: number | undefined;
385
1060
  } | undefined;
386
- } | undefined;
387
- google?: {
388
- auth: "apikey" | "oauth";
389
1061
  apiKey?: string | undefined;
390
1062
  baseUrl?: string | undefined;
391
1063
  models?: string[] | undefined;
1064
+ auth?: "apikey" | "oauth" | undefined;
1065
+ } | undefined;
1066
+ deepseek?: {
392
1067
  oauth?: {
393
- callbackPort: number;
394
1068
  clientId?: string | undefined;
395
1069
  clientSecret?: string | undefined;
1070
+ callbackPort?: number | undefined;
396
1071
  } | undefined;
397
- } | undefined;
398
- local?: {
399
- baseUrl: string;
400
- auth: "apikey" | "oauth";
401
- model: string;
402
1072
  apiKey?: string | undefined;
1073
+ baseUrl?: string | undefined;
403
1074
  models?: string[] | undefined;
1075
+ auth?: "apikey" | "oauth" | undefined;
1076
+ } | undefined;
1077
+ xai?: {
404
1078
  oauth?: {
405
- callbackPort: number;
406
1079
  clientId?: string | undefined;
407
1080
  clientSecret?: string | undefined;
1081
+ callbackPort?: number | undefined;
408
1082
  } | undefined;
409
- } | undefined;
410
- };
411
- maxSteps: number;
412
- temperature: number;
413
- contextWindow: number;
414
- compaction: {
415
- enabled: boolean;
416
- threshold: number;
417
- keepRecentMessages: number;
418
- };
419
- }, {
420
- defaultProvider?: string | undefined;
421
- defaultModel?: string | undefined;
422
- providers?: {
423
- anthropic?: {
424
1083
  apiKey?: string | undefined;
425
1084
  baseUrl?: string | undefined;
426
1085
  models?: string[] | undefined;
1086
+ auth?: "apikey" | "oauth" | undefined;
1087
+ } | undefined;
1088
+ mistral?: {
427
1089
  oauth?: {
428
1090
  clientId?: string | undefined;
429
1091
  clientSecret?: string | undefined;
430
1092
  callbackPort?: number | undefined;
431
1093
  } | undefined;
432
- auth?: "apikey" | "oauth" | undefined;
433
- } | undefined;
434
- openai?: {
435
1094
  apiKey?: string | undefined;
436
1095
  baseUrl?: string | undefined;
437
1096
  models?: string[] | undefined;
1097
+ auth?: "apikey" | "oauth" | undefined;
1098
+ } | undefined;
1099
+ together?: {
438
1100
  oauth?: {
439
1101
  clientId?: string | undefined;
440
1102
  clientSecret?: string | undefined;
441
1103
  callbackPort?: number | undefined;
442
1104
  } | undefined;
443
- auth?: "apikey" | "oauth" | undefined;
444
- } | undefined;
445
- 'openai-codex'?: {
446
1105
  apiKey?: string | undefined;
447
1106
  baseUrl?: string | undefined;
448
1107
  models?: string[] | undefined;
1108
+ auth?: "apikey" | "oauth" | undefined;
1109
+ } | undefined;
1110
+ moonshot?: {
449
1111
  oauth?: {
450
1112
  clientId?: string | undefined;
451
1113
  clientSecret?: string | undefined;
452
1114
  callbackPort?: number | undefined;
453
1115
  } | undefined;
454
- auth?: "apikey" | "oauth" | undefined;
455
- } | undefined;
456
- google?: {
457
1116
  apiKey?: string | undefined;
458
1117
  baseUrl?: string | undefined;
459
1118
  models?: string[] | undefined;
1119
+ auth?: "apikey" | "oauth" | undefined;
1120
+ } | undefined;
1121
+ minimax?: {
460
1122
  oauth?: {
461
1123
  clientId?: string | undefined;
462
1124
  clientSecret?: string | undefined;
463
1125
  callbackPort?: number | undefined;
464
1126
  } | undefined;
465
- auth?: "apikey" | "oauth" | undefined;
466
- } | undefined;
467
- local?: {
468
1127
  apiKey?: string | undefined;
469
1128
  baseUrl?: string | undefined;
470
1129
  models?: string[] | undefined;
1130
+ auth?: "apikey" | "oauth" | undefined;
1131
+ } | undefined;
1132
+ 'minimax-portal'?: {
471
1133
  oauth?: {
472
1134
  clientId?: string | undefined;
473
1135
  clientSecret?: string | undefined;
474
1136
  callbackPort?: number | undefined;
475
1137
  } | undefined;
1138
+ apiKey?: string | undefined;
1139
+ baseUrl?: string | undefined;
1140
+ models?: string[] | undefined;
476
1141
  auth?: "apikey" | "oauth" | undefined;
477
- model?: string | undefined;
478
1142
  } | undefined;
479
1143
  } | undefined;
480
1144
  maxSteps?: number | undefined;
@@ -1191,59 +1855,147 @@ export declare const configSchema: z.ZodObject<{
1191
1855
  providers: {
1192
1856
  anthropic?: {
1193
1857
  auth: "apikey" | "oauth";
1858
+ oauth?: {
1859
+ callbackPort: number;
1860
+ clientId?: string | undefined;
1861
+ clientSecret?: string | undefined;
1862
+ } | undefined;
1863
+ apiKey?: string | undefined;
1864
+ baseUrl?: string | undefined;
1865
+ models?: string[] | undefined;
1866
+ } | undefined;
1867
+ 'openai-codex'?: {
1868
+ auth: "apikey" | "oauth";
1869
+ oauth?: {
1870
+ callbackPort: number;
1871
+ clientId?: string | undefined;
1872
+ clientSecret?: string | undefined;
1873
+ } | undefined;
1874
+ apiKey?: string | undefined;
1875
+ baseUrl?: string | undefined;
1876
+ models?: string[] | undefined;
1877
+ } | undefined;
1878
+ google?: {
1879
+ auth: "apikey" | "oauth";
1880
+ oauth?: {
1881
+ callbackPort: number;
1882
+ clientId?: string | undefined;
1883
+ clientSecret?: string | undefined;
1884
+ } | undefined;
1194
1885
  apiKey?: string | undefined;
1195
1886
  baseUrl?: string | undefined;
1196
1887
  models?: string[] | undefined;
1888
+ } | undefined;
1889
+ local?: {
1890
+ baseUrl: string;
1891
+ auth: "apikey" | "oauth";
1892
+ model: string;
1197
1893
  oauth?: {
1198
1894
  callbackPort: number;
1199
1895
  clientId?: string | undefined;
1200
1896
  clientSecret?: string | undefined;
1201
1897
  } | undefined;
1898
+ apiKey?: string | undefined;
1899
+ models?: string[] | undefined;
1202
1900
  } | undefined;
1203
1901
  openai?: {
1204
1902
  auth: "apikey" | "oauth";
1903
+ oauth?: {
1904
+ callbackPort: number;
1905
+ clientId?: string | undefined;
1906
+ clientSecret?: string | undefined;
1907
+ } | undefined;
1205
1908
  apiKey?: string | undefined;
1206
1909
  baseUrl?: string | undefined;
1207
1910
  models?: string[] | undefined;
1911
+ } | undefined;
1912
+ openrouter?: {
1913
+ auth: "apikey" | "oauth";
1208
1914
  oauth?: {
1209
1915
  callbackPort: number;
1210
1916
  clientId?: string | undefined;
1211
1917
  clientSecret?: string | undefined;
1212
1918
  } | undefined;
1919
+ apiKey?: string | undefined;
1920
+ baseUrl?: string | undefined;
1921
+ models?: string[] | undefined;
1213
1922
  } | undefined;
1214
- 'openai-codex'?: {
1923
+ deepseek?: {
1924
+ auth: "apikey" | "oauth";
1925
+ oauth?: {
1926
+ callbackPort: number;
1927
+ clientId?: string | undefined;
1928
+ clientSecret?: string | undefined;
1929
+ } | undefined;
1930
+ apiKey?: string | undefined;
1931
+ baseUrl?: string | undefined;
1932
+ models?: string[] | undefined;
1933
+ } | undefined;
1934
+ xai?: {
1215
1935
  auth: "apikey" | "oauth";
1936
+ oauth?: {
1937
+ callbackPort: number;
1938
+ clientId?: string | undefined;
1939
+ clientSecret?: string | undefined;
1940
+ } | undefined;
1216
1941
  apiKey?: string | undefined;
1217
1942
  baseUrl?: string | undefined;
1218
1943
  models?: string[] | undefined;
1944
+ } | undefined;
1945
+ mistral?: {
1946
+ auth: "apikey" | "oauth";
1219
1947
  oauth?: {
1220
1948
  callbackPort: number;
1221
1949
  clientId?: string | undefined;
1222
1950
  clientSecret?: string | undefined;
1223
1951
  } | undefined;
1952
+ apiKey?: string | undefined;
1953
+ baseUrl?: string | undefined;
1954
+ models?: string[] | undefined;
1224
1955
  } | undefined;
1225
- google?: {
1956
+ together?: {
1226
1957
  auth: "apikey" | "oauth";
1958
+ oauth?: {
1959
+ callbackPort: number;
1960
+ clientId?: string | undefined;
1961
+ clientSecret?: string | undefined;
1962
+ } | undefined;
1227
1963
  apiKey?: string | undefined;
1228
1964
  baseUrl?: string | undefined;
1229
1965
  models?: string[] | undefined;
1966
+ } | undefined;
1967
+ moonshot?: {
1968
+ auth: "apikey" | "oauth";
1230
1969
  oauth?: {
1231
1970
  callbackPort: number;
1232
1971
  clientId?: string | undefined;
1233
1972
  clientSecret?: string | undefined;
1234
1973
  } | undefined;
1974
+ apiKey?: string | undefined;
1975
+ baseUrl?: string | undefined;
1976
+ models?: string[] | undefined;
1235
1977
  } | undefined;
1236
- local?: {
1237
- baseUrl: string;
1978
+ minimax?: {
1238
1979
  auth: "apikey" | "oauth";
1239
- model: string;
1980
+ oauth?: {
1981
+ callbackPort: number;
1982
+ clientId?: string | undefined;
1983
+ clientSecret?: string | undefined;
1984
+ } | undefined;
1240
1985
  apiKey?: string | undefined;
1986
+ baseUrl?: string | undefined;
1241
1987
  models?: string[] | undefined;
1988
+ } | undefined;
1989
+ 'minimax-portal'?: {
1990
+ auth: "apikey" | "oauth";
1242
1991
  oauth?: {
1243
1992
  callbackPort: number;
1244
1993
  clientId?: string | undefined;
1245
1994
  clientSecret?: string | undefined;
1246
1995
  } | undefined;
1996
+ apiKey?: string | undefined;
1997
+ baseUrl?: string | undefined;
1998
+ models?: string[] | undefined;
1247
1999
  } | undefined;
1248
2000
  };
1249
2001
  maxSteps: number;
@@ -1433,60 +2185,148 @@ export declare const configSchema: z.ZodObject<{
1433
2185
  defaultModel?: string | undefined;
1434
2186
  providers?: {
1435
2187
  anthropic?: {
2188
+ oauth?: {
2189
+ clientId?: string | undefined;
2190
+ clientSecret?: string | undefined;
2191
+ callbackPort?: number | undefined;
2192
+ } | undefined;
2193
+ apiKey?: string | undefined;
2194
+ baseUrl?: string | undefined;
2195
+ models?: string[] | undefined;
2196
+ auth?: "apikey" | "oauth" | undefined;
2197
+ } | undefined;
2198
+ 'openai-codex'?: {
2199
+ oauth?: {
2200
+ clientId?: string | undefined;
2201
+ clientSecret?: string | undefined;
2202
+ callbackPort?: number | undefined;
2203
+ } | undefined;
2204
+ apiKey?: string | undefined;
2205
+ baseUrl?: string | undefined;
2206
+ models?: string[] | undefined;
2207
+ auth?: "apikey" | "oauth" | undefined;
2208
+ } | undefined;
2209
+ google?: {
2210
+ oauth?: {
2211
+ clientId?: string | undefined;
2212
+ clientSecret?: string | undefined;
2213
+ callbackPort?: number | undefined;
2214
+ } | undefined;
1436
2215
  apiKey?: string | undefined;
1437
2216
  baseUrl?: string | undefined;
1438
2217
  models?: string[] | undefined;
2218
+ auth?: "apikey" | "oauth" | undefined;
2219
+ } | undefined;
2220
+ local?: {
1439
2221
  oauth?: {
1440
2222
  clientId?: string | undefined;
1441
2223
  clientSecret?: string | undefined;
1442
2224
  callbackPort?: number | undefined;
1443
2225
  } | undefined;
2226
+ apiKey?: string | undefined;
2227
+ baseUrl?: string | undefined;
2228
+ models?: string[] | undefined;
1444
2229
  auth?: "apikey" | "oauth" | undefined;
2230
+ model?: string | undefined;
1445
2231
  } | undefined;
1446
2232
  openai?: {
2233
+ oauth?: {
2234
+ clientId?: string | undefined;
2235
+ clientSecret?: string | undefined;
2236
+ callbackPort?: number | undefined;
2237
+ } | undefined;
1447
2238
  apiKey?: string | undefined;
1448
2239
  baseUrl?: string | undefined;
1449
2240
  models?: string[] | undefined;
2241
+ auth?: "apikey" | "oauth" | undefined;
2242
+ } | undefined;
2243
+ openrouter?: {
1450
2244
  oauth?: {
1451
2245
  clientId?: string | undefined;
1452
2246
  clientSecret?: string | undefined;
1453
2247
  callbackPort?: number | undefined;
1454
2248
  } | undefined;
2249
+ apiKey?: string | undefined;
2250
+ baseUrl?: string | undefined;
2251
+ models?: string[] | undefined;
1455
2252
  auth?: "apikey" | "oauth" | undefined;
1456
2253
  } | undefined;
1457
- 'openai-codex'?: {
2254
+ deepseek?: {
2255
+ oauth?: {
2256
+ clientId?: string | undefined;
2257
+ clientSecret?: string | undefined;
2258
+ callbackPort?: number | undefined;
2259
+ } | undefined;
1458
2260
  apiKey?: string | undefined;
1459
2261
  baseUrl?: string | undefined;
1460
2262
  models?: string[] | undefined;
2263
+ auth?: "apikey" | "oauth" | undefined;
2264
+ } | undefined;
2265
+ xai?: {
1461
2266
  oauth?: {
1462
2267
  clientId?: string | undefined;
1463
2268
  clientSecret?: string | undefined;
1464
2269
  callbackPort?: number | undefined;
1465
2270
  } | undefined;
2271
+ apiKey?: string | undefined;
2272
+ baseUrl?: string | undefined;
2273
+ models?: string[] | undefined;
1466
2274
  auth?: "apikey" | "oauth" | undefined;
1467
2275
  } | undefined;
1468
- google?: {
2276
+ mistral?: {
2277
+ oauth?: {
2278
+ clientId?: string | undefined;
2279
+ clientSecret?: string | undefined;
2280
+ callbackPort?: number | undefined;
2281
+ } | undefined;
1469
2282
  apiKey?: string | undefined;
1470
2283
  baseUrl?: string | undefined;
1471
2284
  models?: string[] | undefined;
2285
+ auth?: "apikey" | "oauth" | undefined;
2286
+ } | undefined;
2287
+ together?: {
1472
2288
  oauth?: {
1473
2289
  clientId?: string | undefined;
1474
2290
  clientSecret?: string | undefined;
1475
2291
  callbackPort?: number | undefined;
1476
2292
  } | undefined;
2293
+ apiKey?: string | undefined;
2294
+ baseUrl?: string | undefined;
2295
+ models?: string[] | undefined;
1477
2296
  auth?: "apikey" | "oauth" | undefined;
1478
2297
  } | undefined;
1479
- local?: {
2298
+ moonshot?: {
2299
+ oauth?: {
2300
+ clientId?: string | undefined;
2301
+ clientSecret?: string | undefined;
2302
+ callbackPort?: number | undefined;
2303
+ } | undefined;
1480
2304
  apiKey?: string | undefined;
1481
2305
  baseUrl?: string | undefined;
1482
2306
  models?: string[] | undefined;
2307
+ auth?: "apikey" | "oauth" | undefined;
2308
+ } | undefined;
2309
+ minimax?: {
1483
2310
  oauth?: {
1484
2311
  clientId?: string | undefined;
1485
2312
  clientSecret?: string | undefined;
1486
2313
  callbackPort?: number | undefined;
1487
2314
  } | undefined;
2315
+ apiKey?: string | undefined;
2316
+ baseUrl?: string | undefined;
2317
+ models?: string[] | undefined;
2318
+ auth?: "apikey" | "oauth" | undefined;
2319
+ } | undefined;
2320
+ 'minimax-portal'?: {
2321
+ oauth?: {
2322
+ clientId?: string | undefined;
2323
+ clientSecret?: string | undefined;
2324
+ callbackPort?: number | undefined;
2325
+ } | undefined;
2326
+ apiKey?: string | undefined;
2327
+ baseUrl?: string | undefined;
2328
+ models?: string[] | undefined;
1488
2329
  auth?: "apikey" | "oauth" | undefined;
1489
- model?: string | undefined;
1490
2330
  } | undefined;
1491
2331
  } | undefined;
1492
2332
  maxSteps?: number | undefined;