@cereworker/config 26.326.8 → 26.327.2

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
@@ -36,7 +36,7 @@ export declare const configSchema: z.ZodObject<{
36
36
  callbackPort?: number | undefined;
37
37
  }>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- auth: "oauth" | "apikey";
39
+ auth: "apikey" | "oauth";
40
40
  oauth?: {
41
41
  callbackPort: number;
42
42
  clientId?: string | undefined;
@@ -46,7 +46,6 @@ export declare const configSchema: z.ZodObject<{
46
46
  baseUrl?: string | undefined;
47
47
  models?: string[] | undefined;
48
48
  }, {
49
- auth?: "oauth" | "apikey" | undefined;
50
49
  oauth?: {
51
50
  clientId?: string | undefined;
52
51
  clientSecret?: string | undefined;
@@ -55,6 +54,7 @@ export declare const configSchema: z.ZodObject<{
55
54
  apiKey?: string | undefined;
56
55
  baseUrl?: string | undefined;
57
56
  models?: string[] | undefined;
57
+ auth?: "apikey" | "oauth" | undefined;
58
58
  }>>;
59
59
  openai: z.ZodOptional<z.ZodObject<{
60
60
  apiKey: z.ZodOptional<z.ZodString>;
@@ -75,7 +75,7 @@ export declare const configSchema: z.ZodObject<{
75
75
  callbackPort?: number | undefined;
76
76
  }>>;
77
77
  }, "strip", z.ZodTypeAny, {
78
- auth: "oauth" | "apikey";
78
+ auth: "apikey" | "oauth";
79
79
  oauth?: {
80
80
  callbackPort: number;
81
81
  clientId?: string | undefined;
@@ -85,7 +85,6 @@ export declare const configSchema: z.ZodObject<{
85
85
  baseUrl?: string | undefined;
86
86
  models?: string[] | undefined;
87
87
  }, {
88
- auth?: "oauth" | "apikey" | undefined;
89
88
  oauth?: {
90
89
  clientId?: string | undefined;
91
90
  clientSecret?: string | undefined;
@@ -94,6 +93,7 @@ export declare const configSchema: z.ZodObject<{
94
93
  apiKey?: string | undefined;
95
94
  baseUrl?: string | undefined;
96
95
  models?: string[] | undefined;
96
+ auth?: "apikey" | "oauth" | undefined;
97
97
  }>>;
98
98
  'openai-codex': z.ZodOptional<z.ZodObject<{
99
99
  apiKey: z.ZodOptional<z.ZodString>;
@@ -114,7 +114,7 @@ export declare const configSchema: z.ZodObject<{
114
114
  callbackPort?: number | undefined;
115
115
  }>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
- auth: "oauth" | "apikey";
117
+ auth: "apikey" | "oauth";
118
118
  oauth?: {
119
119
  callbackPort: number;
120
120
  clientId?: string | undefined;
@@ -124,7 +124,6 @@ export declare const configSchema: z.ZodObject<{
124
124
  baseUrl?: string | undefined;
125
125
  models?: string[] | undefined;
126
126
  }, {
127
- auth?: "oauth" | "apikey" | undefined;
128
127
  oauth?: {
129
128
  clientId?: string | undefined;
130
129
  clientSecret?: string | undefined;
@@ -133,6 +132,7 @@ export declare const configSchema: z.ZodObject<{
133
132
  apiKey?: string | undefined;
134
133
  baseUrl?: string | undefined;
135
134
  models?: string[] | undefined;
135
+ auth?: "apikey" | "oauth" | undefined;
136
136
  }>>;
137
137
  google: z.ZodOptional<z.ZodObject<{
138
138
  apiKey: z.ZodOptional<z.ZodString>;
@@ -153,7 +153,7 @@ export declare const configSchema: z.ZodObject<{
153
153
  callbackPort?: number | undefined;
154
154
  }>>;
155
155
  }, "strip", z.ZodTypeAny, {
156
- auth: "oauth" | "apikey";
156
+ auth: "apikey" | "oauth";
157
157
  oauth?: {
158
158
  callbackPort: number;
159
159
  clientId?: string | undefined;
@@ -163,7 +163,6 @@ export declare const configSchema: z.ZodObject<{
163
163
  baseUrl?: string | undefined;
164
164
  models?: string[] | undefined;
165
165
  }, {
166
- auth?: "oauth" | "apikey" | undefined;
167
166
  oauth?: {
168
167
  clientId?: string | undefined;
169
168
  clientSecret?: string | undefined;
@@ -172,9 +171,11 @@ export declare const configSchema: z.ZodObject<{
172
171
  apiKey?: string | undefined;
173
172
  baseUrl?: string | undefined;
174
173
  models?: string[] | undefined;
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,22 +191,17 @@ 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
- auth: "oauth" | "apikey";
198
- baseUrl: string;
199
- model: string;
195
+ auth: "apikey" | "oauth";
200
196
  oauth?: {
201
197
  callbackPort: number;
202
198
  clientId?: string | undefined;
203
199
  clientSecret?: string | undefined;
204
200
  } | undefined;
205
201
  apiKey?: string | undefined;
202
+ baseUrl?: string | undefined;
206
203
  models?: string[] | undefined;
207
204
  }, {
208
- auth?: "oauth" | "apikey" | undefined;
209
205
  oauth?: {
210
206
  clientId?: string | undefined;
211
207
  clientSecret?: string | undefined;
@@ -214,11 +210,28 @@ export declare const configSchema: z.ZodObject<{
214
210
  apiKey?: string | undefined;
215
211
  baseUrl?: string | undefined;
216
212
  models?: string[] | undefined;
217
- model?: string | undefined;
213
+ auth?: "apikey" | "oauth" | undefined;
218
214
  }>>;
219
- }, "strip", z.ZodTypeAny, {
220
- 'openai-codex'?: {
221
- auth: "oauth" | "apikey";
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";
222
235
  oauth?: {
223
236
  callbackPort: number;
224
237
  clientId?: string | undefined;
@@ -227,9 +240,37 @@ export declare const configSchema: z.ZodObject<{
227
240
  apiKey?: string | undefined;
228
241
  baseUrl?: string | undefined;
229
242
  models?: string[] | undefined;
230
- } | undefined;
231
- openai?: {
232
- auth: "oauth" | "apikey";
243
+ }, {
244
+ oauth?: {
245
+ clientId?: string | undefined;
246
+ clientSecret?: string | undefined;
247
+ callbackPort?: number | undefined;
248
+ } | undefined;
249
+ apiKey?: string | undefined;
250
+ baseUrl?: string | undefined;
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";
233
274
  oauth?: {
234
275
  callbackPort: number;
235
276
  clientId?: string | undefined;
@@ -238,9 +279,37 @@ export declare const configSchema: z.ZodObject<{
238
279
  apiKey?: string | undefined;
239
280
  baseUrl?: string | undefined;
240
281
  models?: string[] | undefined;
241
- } | undefined;
242
- anthropic?: {
243
- auth: "oauth" | "apikey";
282
+ }, {
283
+ oauth?: {
284
+ clientId?: string | undefined;
285
+ clientSecret?: string | undefined;
286
+ callbackPort?: number | undefined;
287
+ } | undefined;
288
+ apiKey?: string | undefined;
289
+ baseUrl?: string | undefined;
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";
244
313
  oauth?: {
245
314
  callbackPort: number;
246
315
  clientId?: string | undefined;
@@ -249,9 +318,37 @@ export declare const configSchema: z.ZodObject<{
249
318
  apiKey?: string | undefined;
250
319
  baseUrl?: string | undefined;
251
320
  models?: string[] | undefined;
252
- } | undefined;
253
- google?: {
254
- auth: "oauth" | "apikey";
321
+ }, {
322
+ oauth?: {
323
+ clientId?: string | undefined;
324
+ clientSecret?: string | undefined;
325
+ callbackPort?: number | undefined;
326
+ } | undefined;
327
+ apiKey?: string | undefined;
328
+ baseUrl?: string | undefined;
329
+ models?: string[] | undefined;
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
+ }, {
346
+ clientId?: string | undefined;
347
+ clientSecret?: string | undefined;
348
+ callbackPort?: number | undefined;
349
+ }>>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ auth: "apikey" | "oauth";
255
352
  oauth?: {
256
353
  callbackPort: number;
257
354
  clientId?: string | undefined;
@@ -260,22 +357,46 @@ export declare const configSchema: z.ZodObject<{
260
357
  apiKey?: string | undefined;
261
358
  baseUrl?: string | undefined;
262
359
  models?: string[] | undefined;
263
- } | undefined;
264
- local?: {
265
- auth: "oauth" | "apikey";
266
- baseUrl: string;
267
- model: string;
360
+ }, {
361
+ oauth?: {
362
+ clientId?: string | undefined;
363
+ clientSecret?: string | undefined;
364
+ callbackPort?: number | undefined;
365
+ } | undefined;
366
+ apiKey?: string | undefined;
367
+ baseUrl?: string | undefined;
368
+ models?: string[] | undefined;
369
+ auth?: "apikey" | "oauth" | undefined;
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";
268
391
  oauth?: {
269
392
  callbackPort: number;
270
393
  clientId?: string | undefined;
271
394
  clientSecret?: string | undefined;
272
395
  } | undefined;
273
396
  apiKey?: string | undefined;
397
+ baseUrl?: string | undefined;
274
398
  models?: string[] | undefined;
275
- } | undefined;
276
- }, {
277
- 'openai-codex'?: {
278
- auth?: "oauth" | "apikey" | undefined;
399
+ }, {
279
400
  oauth?: {
280
401
  clientId?: string | undefined;
281
402
  clientSecret?: string | undefined;
@@ -284,9 +405,598 @@ export declare const configSchema: z.ZodObject<{
284
405
  apiKey?: string | undefined;
285
406
  baseUrl?: string | undefined;
286
407
  models?: string[] | undefined;
287
- } | undefined;
288
- openai?: {
289
- auth?: "oauth" | "apikey" | undefined;
408
+ auth?: "apikey" | "oauth" | undefined;
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;
435
+ apiKey?: string | undefined;
436
+ baseUrl?: string | undefined;
437
+ models?: string[] | undefined;
438
+ }, {
439
+ oauth?: {
440
+ clientId?: string | undefined;
441
+ clientSecret?: string | undefined;
442
+ callbackPort?: number | undefined;
443
+ } | undefined;
444
+ apiKey?: string | undefined;
445
+ baseUrl?: string | undefined;
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?: {
290
1000
  oauth?: {
291
1001
  clientId?: string | undefined;
292
1002
  clientSecret?: string | undefined;
@@ -295,9 +1005,9 @@ export declare const configSchema: z.ZodObject<{
295
1005
  apiKey?: string | undefined;
296
1006
  baseUrl?: string | undefined;
297
1007
  models?: string[] | undefined;
1008
+ auth?: "apikey" | "oauth" | undefined;
298
1009
  } | undefined;
299
- anthropic?: {
300
- auth?: "oauth" | "apikey" | undefined;
1010
+ 'openai-codex'?: {
301
1011
  oauth?: {
302
1012
  clientId?: string | undefined;
303
1013
  clientSecret?: string | undefined;
@@ -306,9 +1016,9 @@ export declare const configSchema: z.ZodObject<{
306
1016
  apiKey?: string | undefined;
307
1017
  baseUrl?: string | undefined;
308
1018
  models?: string[] | undefined;
1019
+ auth?: "apikey" | "oauth" | undefined;
309
1020
  } | undefined;
310
1021
  google?: {
311
- auth?: "oauth" | "apikey" | undefined;
312
1022
  oauth?: {
313
1023
  clientId?: string | undefined;
314
1024
  clientSecret?: string | undefined;
@@ -317,9 +1027,9 @@ export declare const configSchema: z.ZodObject<{
317
1027
  apiKey?: string | undefined;
318
1028
  baseUrl?: string | undefined;
319
1029
  models?: string[] | undefined;
1030
+ auth?: "apikey" | "oauth" | undefined;
320
1031
  } | undefined;
321
1032
  local?: {
322
- auth?: "oauth" | "apikey" | undefined;
323
1033
  oauth?: {
324
1034
  clientId?: string | undefined;
325
1035
  clientSecret?: string | undefined;
@@ -328,98 +1038,54 @@ export declare const configSchema: z.ZodObject<{
328
1038
  apiKey?: string | undefined;
329
1039
  baseUrl?: string | undefined;
330
1040
  models?: string[] | undefined;
1041
+ auth?: "apikey" | "oauth" | undefined;
331
1042
  model?: string | undefined;
332
1043
  } | 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
- providers: {
352
- 'openai-codex'?: {
353
- auth: "oauth" | "apikey";
354
- oauth?: {
355
- callbackPort: number;
356
- clientId?: string | undefined;
357
- clientSecret?: string | undefined;
358
- } | undefined;
359
- apiKey?: string | undefined;
360
- baseUrl?: string | undefined;
361
- models?: string[] | undefined;
362
- } | undefined;
363
1044
  openai?: {
364
- auth: "oauth" | "apikey";
365
1045
  oauth?: {
366
- callbackPort: number;
367
1046
  clientId?: string | undefined;
368
1047
  clientSecret?: string | undefined;
1048
+ callbackPort?: number | undefined;
369
1049
  } | undefined;
370
1050
  apiKey?: string | undefined;
371
1051
  baseUrl?: string | undefined;
372
1052
  models?: string[] | undefined;
1053
+ auth?: "apikey" | "oauth" | undefined;
373
1054
  } | undefined;
374
- anthropic?: {
375
- auth: "oauth" | "apikey";
1055
+ openrouter?: {
376
1056
  oauth?: {
377
- callbackPort: number;
378
1057
  clientId?: string | undefined;
379
1058
  clientSecret?: string | undefined;
1059
+ callbackPort?: number | undefined;
380
1060
  } | undefined;
381
1061
  apiKey?: string | undefined;
382
1062
  baseUrl?: string | undefined;
383
1063
  models?: string[] | undefined;
1064
+ auth?: "apikey" | "oauth" | undefined;
384
1065
  } | undefined;
385
- google?: {
386
- auth: "oauth" | "apikey";
1066
+ deepseek?: {
387
1067
  oauth?: {
388
- callbackPort: number;
389
1068
  clientId?: string | undefined;
390
1069
  clientSecret?: string | undefined;
1070
+ callbackPort?: number | undefined;
391
1071
  } | undefined;
392
1072
  apiKey?: string | undefined;
393
1073
  baseUrl?: string | undefined;
394
1074
  models?: string[] | undefined;
1075
+ auth?: "apikey" | "oauth" | undefined;
395
1076
  } | undefined;
396
- local?: {
397
- auth: "oauth" | "apikey";
398
- baseUrl: string;
399
- model: string;
1077
+ xai?: {
400
1078
  oauth?: {
401
- callbackPort: number;
402
1079
  clientId?: string | undefined;
403
1080
  clientSecret?: string | undefined;
1081
+ callbackPort?: number | undefined;
404
1082
  } | undefined;
405
1083
  apiKey?: string | undefined;
1084
+ baseUrl?: string | undefined;
406
1085
  models?: string[] | undefined;
1086
+ auth?: "apikey" | "oauth" | undefined;
407
1087
  } | undefined;
408
- };
409
- defaultProvider: string;
410
- defaultModel: string;
411
- maxSteps: number;
412
- temperature: number;
413
- contextWindow: number;
414
- compaction: {
415
- enabled: boolean;
416
- threshold: number;
417
- keepRecentMessages: number;
418
- };
419
- }, {
420
- providers?: {
421
- 'openai-codex'?: {
422
- auth?: "oauth" | "apikey" | undefined;
1088
+ mistral?: {
423
1089
  oauth?: {
424
1090
  clientId?: string | undefined;
425
1091
  clientSecret?: string | undefined;
@@ -428,9 +1094,9 @@ export declare const configSchema: z.ZodObject<{
428
1094
  apiKey?: string | undefined;
429
1095
  baseUrl?: string | undefined;
430
1096
  models?: string[] | undefined;
1097
+ auth?: "apikey" | "oauth" | undefined;
431
1098
  } | undefined;
432
- openai?: {
433
- auth?: "oauth" | "apikey" | undefined;
1099
+ together?: {
434
1100
  oauth?: {
435
1101
  clientId?: string | undefined;
436
1102
  clientSecret?: string | undefined;
@@ -439,9 +1105,9 @@ export declare const configSchema: z.ZodObject<{
439
1105
  apiKey?: string | undefined;
440
1106
  baseUrl?: string | undefined;
441
1107
  models?: string[] | undefined;
1108
+ auth?: "apikey" | "oauth" | undefined;
442
1109
  } | undefined;
443
- anthropic?: {
444
- auth?: "oauth" | "apikey" | undefined;
1110
+ moonshot?: {
445
1111
  oauth?: {
446
1112
  clientId?: string | undefined;
447
1113
  clientSecret?: string | undefined;
@@ -450,9 +1116,9 @@ export declare const configSchema: z.ZodObject<{
450
1116
  apiKey?: string | undefined;
451
1117
  baseUrl?: string | undefined;
452
1118
  models?: string[] | undefined;
1119
+ auth?: "apikey" | "oauth" | undefined;
453
1120
  } | undefined;
454
- google?: {
455
- auth?: "oauth" | "apikey" | undefined;
1121
+ minimax?: {
456
1122
  oauth?: {
457
1123
  clientId?: string | undefined;
458
1124
  clientSecret?: string | undefined;
@@ -461,9 +1127,9 @@ export declare const configSchema: z.ZodObject<{
461
1127
  apiKey?: string | undefined;
462
1128
  baseUrl?: string | undefined;
463
1129
  models?: string[] | undefined;
1130
+ auth?: "apikey" | "oauth" | undefined;
464
1131
  } | undefined;
465
- local?: {
466
- auth?: "oauth" | "apikey" | undefined;
1132
+ 'minimax-portal'?: {
467
1133
  oauth?: {
468
1134
  clientId?: string | undefined;
469
1135
  clientSecret?: string | undefined;
@@ -472,11 +1138,9 @@ export declare const configSchema: z.ZodObject<{
472
1138
  apiKey?: string | undefined;
473
1139
  baseUrl?: string | undefined;
474
1140
  models?: string[] | undefined;
475
- model?: string | undefined;
1141
+ auth?: "apikey" | "oauth" | undefined;
476
1142
  } | undefined;
477
1143
  } | undefined;
478
- defaultProvider?: string | undefined;
479
- defaultModel?: string | undefined;
480
1144
  maxSteps?: number | undefined;
481
1145
  temperature?: number | undefined;
482
1146
  contextWindow?: number | undefined;
@@ -1087,12 +1751,15 @@ export declare const configSchema: z.ZodObject<{
1087
1751
  tui: z.ZodDefault<z.ZodObject<{
1088
1752
  theme: z.ZodDefault<z.ZodEnum<["dark", "light", "auto"]>>;
1089
1753
  maxDisplayMessages: z.ZodDefault<z.ZodNumber>;
1754
+ showActivity: z.ZodDefault<z.ZodBoolean>;
1090
1755
  }, "strip", z.ZodTypeAny, {
1091
1756
  theme: "auto" | "dark" | "light";
1092
1757
  maxDisplayMessages: number;
1758
+ showActivity: boolean;
1093
1759
  }, {
1094
1760
  theme?: "auto" | "dark" | "light" | undefined;
1095
1761
  maxDisplayMessages?: number | undefined;
1762
+ showActivity?: boolean | undefined;
1096
1763
  }>>;
1097
1764
  skills: z.ZodDefault<z.ZodObject<{
1098
1765
  directories: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -1177,10 +1844,39 @@ export declare const configSchema: z.ZodObject<{
1177
1844
  capabilities?: string[] | undefined;
1178
1845
  }>>;
1179
1846
  }, "strip", z.ZodTypeAny, {
1847
+ profile: {
1848
+ name: string;
1849
+ role: string;
1850
+ traits: string[];
1851
+ };
1180
1852
  cerebrum: {
1853
+ defaultProvider: string;
1854
+ defaultModel: string;
1181
1855
  providers: {
1856
+ anthropic?: {
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;
1182
1867
  'openai-codex'?: {
1183
- auth: "oauth" | "apikey";
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";
1184
1880
  oauth?: {
1185
1881
  callbackPort: number;
1186
1882
  clientId?: string | undefined;
@@ -1190,8 +1886,20 @@ export declare const configSchema: z.ZodObject<{
1190
1886
  baseUrl?: string | undefined;
1191
1887
  models?: string[] | undefined;
1192
1888
  } | undefined;
1889
+ local?: {
1890
+ baseUrl: string;
1891
+ auth: "apikey" | "oauth";
1892
+ model: string;
1893
+ oauth?: {
1894
+ callbackPort: number;
1895
+ clientId?: string | undefined;
1896
+ clientSecret?: string | undefined;
1897
+ } | undefined;
1898
+ apiKey?: string | undefined;
1899
+ models?: string[] | undefined;
1900
+ } | undefined;
1193
1901
  openai?: {
1194
- auth: "oauth" | "apikey";
1902
+ auth: "apikey" | "oauth";
1195
1903
  oauth?: {
1196
1904
  callbackPort: number;
1197
1905
  clientId?: string | undefined;
@@ -1201,8 +1909,8 @@ export declare const configSchema: z.ZodObject<{
1201
1909
  baseUrl?: string | undefined;
1202
1910
  models?: string[] | undefined;
1203
1911
  } | undefined;
1204
- anthropic?: {
1205
- auth: "oauth" | "apikey";
1912
+ openrouter?: {
1913
+ auth: "apikey" | "oauth";
1206
1914
  oauth?: {
1207
1915
  callbackPort: number;
1208
1916
  clientId?: string | undefined;
@@ -1212,8 +1920,8 @@ export declare const configSchema: z.ZodObject<{
1212
1920
  baseUrl?: string | undefined;
1213
1921
  models?: string[] | undefined;
1214
1922
  } | undefined;
1215
- google?: {
1216
- auth: "oauth" | "apikey";
1923
+ deepseek?: {
1924
+ auth: "apikey" | "oauth";
1217
1925
  oauth?: {
1218
1926
  callbackPort: number;
1219
1927
  clientId?: string | undefined;
@@ -1223,21 +1931,73 @@ export declare const configSchema: z.ZodObject<{
1223
1931
  baseUrl?: string | undefined;
1224
1932
  models?: string[] | undefined;
1225
1933
  } | undefined;
1226
- local?: {
1227
- auth: "oauth" | "apikey";
1228
- baseUrl: string;
1229
- model: string;
1934
+ xai?: {
1935
+ auth: "apikey" | "oauth";
1936
+ oauth?: {
1937
+ callbackPort: number;
1938
+ clientId?: string | undefined;
1939
+ clientSecret?: string | undefined;
1940
+ } | undefined;
1941
+ apiKey?: string | undefined;
1942
+ baseUrl?: string | undefined;
1943
+ models?: string[] | undefined;
1944
+ } | undefined;
1945
+ mistral?: {
1946
+ auth: "apikey" | "oauth";
1947
+ oauth?: {
1948
+ callbackPort: number;
1949
+ clientId?: string | undefined;
1950
+ clientSecret?: string | undefined;
1951
+ } | undefined;
1952
+ apiKey?: string | undefined;
1953
+ baseUrl?: string | undefined;
1954
+ models?: string[] | undefined;
1955
+ } | undefined;
1956
+ together?: {
1957
+ auth: "apikey" | "oauth";
1958
+ oauth?: {
1959
+ callbackPort: number;
1960
+ clientId?: string | undefined;
1961
+ clientSecret?: string | undefined;
1962
+ } | undefined;
1963
+ apiKey?: string | undefined;
1964
+ baseUrl?: string | undefined;
1965
+ models?: string[] | undefined;
1966
+ } | undefined;
1967
+ moonshot?: {
1968
+ auth: "apikey" | "oauth";
1969
+ oauth?: {
1970
+ callbackPort: number;
1971
+ clientId?: string | undefined;
1972
+ clientSecret?: string | undefined;
1973
+ } | undefined;
1974
+ apiKey?: string | undefined;
1975
+ baseUrl?: string | undefined;
1976
+ models?: string[] | undefined;
1977
+ } | undefined;
1978
+ minimax?: {
1979
+ auth: "apikey" | "oauth";
1980
+ oauth?: {
1981
+ callbackPort: number;
1982
+ clientId?: string | undefined;
1983
+ clientSecret?: string | undefined;
1984
+ } | undefined;
1985
+ apiKey?: string | undefined;
1986
+ baseUrl?: string | undefined;
1987
+ models?: string[] | undefined;
1988
+ } | undefined;
1989
+ 'minimax-portal'?: {
1990
+ auth: "apikey" | "oauth";
1230
1991
  oauth?: {
1231
1992
  callbackPort: number;
1232
1993
  clientId?: string | undefined;
1233
1994
  clientSecret?: string | undefined;
1234
1995
  } | undefined;
1235
1996
  apiKey?: string | undefined;
1997
+ baseUrl?: string | undefined;
1236
1998
  models?: string[] | undefined;
1237
1999
  } | undefined;
1238
2000
  };
1239
- defaultProvider: string;
1240
- defaultModel: string;
1241
2001
  maxSteps: number;
1242
2002
  temperature: number;
1243
2003
  contextWindow: number;
@@ -1247,11 +2007,6 @@ export declare const configSchema: z.ZodObject<{
1247
2007
  keepRecentMessages: number;
1248
2008
  };
1249
2009
  };
1250
- profile: {
1251
- name: string;
1252
- role: string;
1253
- traits: string[];
1254
- };
1255
2010
  cerebellum: {
1256
2011
  model: {
1257
2012
  source: "local" | "huggingface";
@@ -1387,6 +2142,7 @@ export declare const configSchema: z.ZodObject<{
1387
2142
  tui: {
1388
2143
  theme: "auto" | "dark" | "light";
1389
2144
  maxDisplayMessages: number;
2145
+ showActivity: boolean;
1390
2146
  };
1391
2147
  skills: {
1392
2148
  enabled: string[];
@@ -1419,10 +2175,27 @@ export declare const configSchema: z.ZodObject<{
1419
2175
  nodeId?: string | undefined;
1420
2176
  };
1421
2177
  }, {
2178
+ profile?: {
2179
+ name?: string | undefined;
2180
+ role?: string | undefined;
2181
+ traits?: string[] | undefined;
2182
+ } | undefined;
1422
2183
  cerebrum?: {
2184
+ defaultProvider?: string | undefined;
2185
+ defaultModel?: string | undefined;
1423
2186
  providers?: {
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;
1424
2198
  'openai-codex'?: {
1425
- auth?: "oauth" | "apikey" | undefined;
1426
2199
  oauth?: {
1427
2200
  clientId?: string | undefined;
1428
2201
  clientSecret?: string | undefined;
@@ -1431,9 +2204,32 @@ export declare const configSchema: z.ZodObject<{
1431
2204
  apiKey?: string | undefined;
1432
2205
  baseUrl?: string | undefined;
1433
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;
2215
+ apiKey?: string | undefined;
2216
+ baseUrl?: string | undefined;
2217
+ models?: string[] | undefined;
2218
+ auth?: "apikey" | "oauth" | undefined;
2219
+ } | undefined;
2220
+ local?: {
2221
+ oauth?: {
2222
+ clientId?: string | undefined;
2223
+ clientSecret?: string | undefined;
2224
+ callbackPort?: number | undefined;
2225
+ } | undefined;
2226
+ apiKey?: string | undefined;
2227
+ baseUrl?: string | undefined;
2228
+ models?: string[] | undefined;
2229
+ auth?: "apikey" | "oauth" | undefined;
2230
+ model?: string | undefined;
1434
2231
  } | undefined;
1435
2232
  openai?: {
1436
- auth?: "oauth" | "apikey" | undefined;
1437
2233
  oauth?: {
1438
2234
  clientId?: string | undefined;
1439
2235
  clientSecret?: string | undefined;
@@ -1442,9 +2238,9 @@ export declare const configSchema: z.ZodObject<{
1442
2238
  apiKey?: string | undefined;
1443
2239
  baseUrl?: string | undefined;
1444
2240
  models?: string[] | undefined;
2241
+ auth?: "apikey" | "oauth" | undefined;
1445
2242
  } | undefined;
1446
- anthropic?: {
1447
- auth?: "oauth" | "apikey" | undefined;
2243
+ openrouter?: {
1448
2244
  oauth?: {
1449
2245
  clientId?: string | undefined;
1450
2246
  clientSecret?: string | undefined;
@@ -1453,9 +2249,9 @@ export declare const configSchema: z.ZodObject<{
1453
2249
  apiKey?: string | undefined;
1454
2250
  baseUrl?: string | undefined;
1455
2251
  models?: string[] | undefined;
2252
+ auth?: "apikey" | "oauth" | undefined;
1456
2253
  } | undefined;
1457
- google?: {
1458
- auth?: "oauth" | "apikey" | undefined;
2254
+ deepseek?: {
1459
2255
  oauth?: {
1460
2256
  clientId?: string | undefined;
1461
2257
  clientSecret?: string | undefined;
@@ -1464,9 +2260,9 @@ export declare const configSchema: z.ZodObject<{
1464
2260
  apiKey?: string | undefined;
1465
2261
  baseUrl?: string | undefined;
1466
2262
  models?: string[] | undefined;
2263
+ auth?: "apikey" | "oauth" | undefined;
1467
2264
  } | undefined;
1468
- local?: {
1469
- auth?: "oauth" | "apikey" | undefined;
2265
+ xai?: {
1470
2266
  oauth?: {
1471
2267
  clientId?: string | undefined;
1472
2268
  clientSecret?: string | undefined;
@@ -1475,11 +2271,64 @@ export declare const configSchema: z.ZodObject<{
1475
2271
  apiKey?: string | undefined;
1476
2272
  baseUrl?: string | undefined;
1477
2273
  models?: string[] | undefined;
1478
- model?: string | undefined;
2274
+ auth?: "apikey" | "oauth" | undefined;
2275
+ } | undefined;
2276
+ mistral?: {
2277
+ oauth?: {
2278
+ clientId?: string | undefined;
2279
+ clientSecret?: string | undefined;
2280
+ callbackPort?: number | undefined;
2281
+ } | undefined;
2282
+ apiKey?: string | undefined;
2283
+ baseUrl?: string | undefined;
2284
+ models?: string[] | undefined;
2285
+ auth?: "apikey" | "oauth" | undefined;
2286
+ } | undefined;
2287
+ together?: {
2288
+ oauth?: {
2289
+ clientId?: string | undefined;
2290
+ clientSecret?: string | undefined;
2291
+ callbackPort?: number | undefined;
2292
+ } | undefined;
2293
+ apiKey?: string | undefined;
2294
+ baseUrl?: string | undefined;
2295
+ models?: string[] | undefined;
2296
+ auth?: "apikey" | "oauth" | undefined;
2297
+ } | undefined;
2298
+ moonshot?: {
2299
+ oauth?: {
2300
+ clientId?: string | undefined;
2301
+ clientSecret?: string | undefined;
2302
+ callbackPort?: number | undefined;
2303
+ } | undefined;
2304
+ apiKey?: string | undefined;
2305
+ baseUrl?: string | undefined;
2306
+ models?: string[] | undefined;
2307
+ auth?: "apikey" | "oauth" | undefined;
2308
+ } | undefined;
2309
+ minimax?: {
2310
+ oauth?: {
2311
+ clientId?: string | undefined;
2312
+ clientSecret?: string | undefined;
2313
+ callbackPort?: number | undefined;
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;
2329
+ auth?: "apikey" | "oauth" | undefined;
1479
2330
  } | undefined;
1480
2331
  } | undefined;
1481
- defaultProvider?: string | undefined;
1482
- defaultModel?: string | undefined;
1483
2332
  maxSteps?: number | undefined;
1484
2333
  temperature?: number | undefined;
1485
2334
  contextWindow?: number | undefined;
@@ -1489,11 +2338,6 @@ export declare const configSchema: z.ZodObject<{
1489
2338
  keepRecentMessages?: number | undefined;
1490
2339
  } | undefined;
1491
2340
  } | undefined;
1492
- profile?: {
1493
- name?: string | undefined;
1494
- role?: string | undefined;
1495
- traits?: string[] | undefined;
1496
- } | undefined;
1497
2341
  cerebellum?: {
1498
2342
  model?: {
1499
2343
  path?: string | undefined;
@@ -1629,6 +2473,7 @@ export declare const configSchema: z.ZodObject<{
1629
2473
  tui?: {
1630
2474
  theme?: "auto" | "dark" | "light" | undefined;
1631
2475
  maxDisplayMessages?: number | undefined;
2476
+ showActivity?: boolean | undefined;
1632
2477
  } | undefined;
1633
2478
  skills?: {
1634
2479
  enabled?: string[] | undefined;