@cereworker/config 26.328.1 → 26.328.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 +305 -298
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +1 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
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;
|
|
40
43
|
oauth?: {
|
|
41
44
|
callbackPort: number;
|
|
42
45
|
clientId?: string | undefined;
|
|
43
46
|
clientSecret?: string | undefined;
|
|
44
47
|
} | undefined;
|
|
48
|
+
}, {
|
|
45
49
|
apiKey?: string | undefined;
|
|
46
50
|
baseUrl?: string | undefined;
|
|
47
51
|
models?: string[] | undefined;
|
|
48
|
-
}, {
|
|
49
52
|
oauth?: {
|
|
50
53
|
clientId?: string | undefined;
|
|
51
54
|
clientSecret?: string | undefined;
|
|
52
55
|
callbackPort?: number | undefined;
|
|
53
56
|
} | 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;
|
|
79
82
|
oauth?: {
|
|
80
83
|
callbackPort: number;
|
|
81
84
|
clientId?: string | undefined;
|
|
82
85
|
clientSecret?: string | undefined;
|
|
83
86
|
} | undefined;
|
|
87
|
+
}, {
|
|
84
88
|
apiKey?: string | undefined;
|
|
85
89
|
baseUrl?: string | undefined;
|
|
86
90
|
models?: string[] | undefined;
|
|
87
|
-
}, {
|
|
88
91
|
oauth?: {
|
|
89
92
|
clientId?: string | undefined;
|
|
90
93
|
clientSecret?: string | undefined;
|
|
91
94
|
callbackPort?: number | undefined;
|
|
92
95
|
} | 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;
|
|
118
121
|
oauth?: {
|
|
119
122
|
callbackPort: number;
|
|
120
123
|
clientId?: string | undefined;
|
|
121
124
|
clientSecret?: string | undefined;
|
|
122
125
|
} | undefined;
|
|
126
|
+
}, {
|
|
123
127
|
apiKey?: string | undefined;
|
|
124
128
|
baseUrl?: string | undefined;
|
|
125
129
|
models?: string[] | undefined;
|
|
126
|
-
}, {
|
|
127
130
|
oauth?: {
|
|
128
131
|
clientId?: string | undefined;
|
|
129
132
|
clientSecret?: string | undefined;
|
|
130
133
|
callbackPort?: number | undefined;
|
|
131
134
|
} | 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,23 +154,23 @@ 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;
|
|
157
160
|
oauth?: {
|
|
158
161
|
callbackPort: number;
|
|
159
162
|
clientId?: string | undefined;
|
|
160
163
|
clientSecret?: string | undefined;
|
|
161
164
|
} | undefined;
|
|
165
|
+
}, {
|
|
162
166
|
apiKey?: string | undefined;
|
|
163
167
|
baseUrl?: string | undefined;
|
|
164
168
|
models?: string[] | undefined;
|
|
165
|
-
}, {
|
|
166
169
|
oauth?: {
|
|
167
170
|
clientId?: string | undefined;
|
|
168
171
|
clientSecret?: string | undefined;
|
|
169
172
|
callbackPort?: number | undefined;
|
|
170
173
|
} | undefined;
|
|
171
|
-
apiKey?: string | undefined;
|
|
172
|
-
baseUrl?: string | undefined;
|
|
173
|
-
models?: string[] | undefined;
|
|
174
174
|
auth?: "apikey" | "oauth" | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
openrouter: z.ZodOptional<z.ZodObject<{
|
|
@@ -193,23 +193,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
193
193
|
}>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
195
|
auth: "apikey" | "oauth";
|
|
196
|
+
apiKey?: string | undefined;
|
|
197
|
+
baseUrl?: string | undefined;
|
|
198
|
+
models?: string[] | undefined;
|
|
196
199
|
oauth?: {
|
|
197
200
|
callbackPort: number;
|
|
198
201
|
clientId?: string | undefined;
|
|
199
202
|
clientSecret?: string | undefined;
|
|
200
203
|
} | undefined;
|
|
204
|
+
}, {
|
|
201
205
|
apiKey?: string | undefined;
|
|
202
206
|
baseUrl?: string | undefined;
|
|
203
207
|
models?: string[] | undefined;
|
|
204
|
-
}, {
|
|
205
208
|
oauth?: {
|
|
206
209
|
clientId?: string | undefined;
|
|
207
210
|
clientSecret?: string | undefined;
|
|
208
211
|
callbackPort?: number | undefined;
|
|
209
212
|
} | undefined;
|
|
210
|
-
apiKey?: string | undefined;
|
|
211
|
-
baseUrl?: string | undefined;
|
|
212
|
-
models?: string[] | undefined;
|
|
213
213
|
auth?: "apikey" | "oauth" | undefined;
|
|
214
214
|
}>>;
|
|
215
215
|
deepseek: z.ZodOptional<z.ZodObject<{
|
|
@@ -232,23 +232,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
232
232
|
}>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
234
|
auth: "apikey" | "oauth";
|
|
235
|
+
apiKey?: string | undefined;
|
|
236
|
+
baseUrl?: string | undefined;
|
|
237
|
+
models?: string[] | undefined;
|
|
235
238
|
oauth?: {
|
|
236
239
|
callbackPort: number;
|
|
237
240
|
clientId?: string | undefined;
|
|
238
241
|
clientSecret?: string | undefined;
|
|
239
242
|
} | undefined;
|
|
243
|
+
}, {
|
|
240
244
|
apiKey?: string | undefined;
|
|
241
245
|
baseUrl?: string | undefined;
|
|
242
246
|
models?: string[] | undefined;
|
|
243
|
-
}, {
|
|
244
247
|
oauth?: {
|
|
245
248
|
clientId?: string | undefined;
|
|
246
249
|
clientSecret?: string | undefined;
|
|
247
250
|
callbackPort?: number | undefined;
|
|
248
251
|
} | undefined;
|
|
249
|
-
apiKey?: string | undefined;
|
|
250
|
-
baseUrl?: string | undefined;
|
|
251
|
-
models?: string[] | undefined;
|
|
252
252
|
auth?: "apikey" | "oauth" | undefined;
|
|
253
253
|
}>>;
|
|
254
254
|
xai: z.ZodOptional<z.ZodObject<{
|
|
@@ -271,23 +271,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
271
271
|
}>>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
auth: "apikey" | "oauth";
|
|
274
|
+
apiKey?: string | undefined;
|
|
275
|
+
baseUrl?: string | undefined;
|
|
276
|
+
models?: string[] | undefined;
|
|
274
277
|
oauth?: {
|
|
275
278
|
callbackPort: number;
|
|
276
279
|
clientId?: string | undefined;
|
|
277
280
|
clientSecret?: string | undefined;
|
|
278
281
|
} | undefined;
|
|
282
|
+
}, {
|
|
279
283
|
apiKey?: string | undefined;
|
|
280
284
|
baseUrl?: string | undefined;
|
|
281
285
|
models?: string[] | undefined;
|
|
282
|
-
}, {
|
|
283
286
|
oauth?: {
|
|
284
287
|
clientId?: string | undefined;
|
|
285
288
|
clientSecret?: string | undefined;
|
|
286
289
|
callbackPort?: number | undefined;
|
|
287
290
|
} | undefined;
|
|
288
|
-
apiKey?: string | undefined;
|
|
289
|
-
baseUrl?: string | undefined;
|
|
290
|
-
models?: string[] | undefined;
|
|
291
291
|
auth?: "apikey" | "oauth" | undefined;
|
|
292
292
|
}>>;
|
|
293
293
|
mistral: z.ZodOptional<z.ZodObject<{
|
|
@@ -310,23 +310,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
310
310
|
}>>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
auth: "apikey" | "oauth";
|
|
313
|
+
apiKey?: string | undefined;
|
|
314
|
+
baseUrl?: string | undefined;
|
|
315
|
+
models?: string[] | undefined;
|
|
313
316
|
oauth?: {
|
|
314
317
|
callbackPort: number;
|
|
315
318
|
clientId?: string | undefined;
|
|
316
319
|
clientSecret?: string | undefined;
|
|
317
320
|
} | undefined;
|
|
321
|
+
}, {
|
|
318
322
|
apiKey?: string | undefined;
|
|
319
323
|
baseUrl?: string | undefined;
|
|
320
324
|
models?: string[] | undefined;
|
|
321
|
-
}, {
|
|
322
325
|
oauth?: {
|
|
323
326
|
clientId?: string | undefined;
|
|
324
327
|
clientSecret?: string | undefined;
|
|
325
328
|
callbackPort?: number | undefined;
|
|
326
329
|
} | undefined;
|
|
327
|
-
apiKey?: string | undefined;
|
|
328
|
-
baseUrl?: string | undefined;
|
|
329
|
-
models?: string[] | undefined;
|
|
330
330
|
auth?: "apikey" | "oauth" | undefined;
|
|
331
331
|
}>>;
|
|
332
332
|
together: z.ZodOptional<z.ZodObject<{
|
|
@@ -349,23 +349,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
349
349
|
}>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
351
|
auth: "apikey" | "oauth";
|
|
352
|
+
apiKey?: string | undefined;
|
|
353
|
+
baseUrl?: string | undefined;
|
|
354
|
+
models?: string[] | undefined;
|
|
352
355
|
oauth?: {
|
|
353
356
|
callbackPort: number;
|
|
354
357
|
clientId?: string | undefined;
|
|
355
358
|
clientSecret?: string | undefined;
|
|
356
359
|
} | undefined;
|
|
360
|
+
}, {
|
|
357
361
|
apiKey?: string | undefined;
|
|
358
362
|
baseUrl?: string | undefined;
|
|
359
363
|
models?: string[] | undefined;
|
|
360
|
-
}, {
|
|
361
364
|
oauth?: {
|
|
362
365
|
clientId?: string | undefined;
|
|
363
366
|
clientSecret?: string | undefined;
|
|
364
367
|
callbackPort?: number | undefined;
|
|
365
368
|
} | undefined;
|
|
366
|
-
apiKey?: string | undefined;
|
|
367
|
-
baseUrl?: string | undefined;
|
|
368
|
-
models?: string[] | undefined;
|
|
369
369
|
auth?: "apikey" | "oauth" | undefined;
|
|
370
370
|
}>>;
|
|
371
371
|
moonshot: z.ZodOptional<z.ZodObject<{
|
|
@@ -388,23 +388,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
388
388
|
}>>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
390
|
auth: "apikey" | "oauth";
|
|
391
|
+
apiKey?: string | undefined;
|
|
392
|
+
baseUrl?: string | undefined;
|
|
393
|
+
models?: string[] | undefined;
|
|
391
394
|
oauth?: {
|
|
392
395
|
callbackPort: number;
|
|
393
396
|
clientId?: string | undefined;
|
|
394
397
|
clientSecret?: string | undefined;
|
|
395
398
|
} | undefined;
|
|
399
|
+
}, {
|
|
396
400
|
apiKey?: string | undefined;
|
|
397
401
|
baseUrl?: string | undefined;
|
|
398
402
|
models?: string[] | undefined;
|
|
399
|
-
}, {
|
|
400
403
|
oauth?: {
|
|
401
404
|
clientId?: string | undefined;
|
|
402
405
|
clientSecret?: string | undefined;
|
|
403
406
|
callbackPort?: number | undefined;
|
|
404
407
|
} | undefined;
|
|
405
|
-
apiKey?: string | undefined;
|
|
406
|
-
baseUrl?: string | undefined;
|
|
407
|
-
models?: string[] | undefined;
|
|
408
408
|
auth?: "apikey" | "oauth" | undefined;
|
|
409
409
|
}>>;
|
|
410
410
|
minimax: z.ZodOptional<z.ZodObject<{
|
|
@@ -427,23 +427,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
427
427
|
}>>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
429
|
auth: "apikey" | "oauth";
|
|
430
|
+
apiKey?: string | undefined;
|
|
431
|
+
baseUrl?: string | undefined;
|
|
432
|
+
models?: string[] | undefined;
|
|
430
433
|
oauth?: {
|
|
431
434
|
callbackPort: number;
|
|
432
435
|
clientId?: string | undefined;
|
|
433
436
|
clientSecret?: string | undefined;
|
|
434
437
|
} | undefined;
|
|
438
|
+
}, {
|
|
435
439
|
apiKey?: string | undefined;
|
|
436
440
|
baseUrl?: string | undefined;
|
|
437
441
|
models?: string[] | undefined;
|
|
438
|
-
}, {
|
|
439
442
|
oauth?: {
|
|
440
443
|
clientId?: string | undefined;
|
|
441
444
|
clientSecret?: string | undefined;
|
|
442
445
|
callbackPort?: number | undefined;
|
|
443
446
|
} | undefined;
|
|
444
|
-
apiKey?: string | undefined;
|
|
445
|
-
baseUrl?: string | undefined;
|
|
446
|
-
models?: string[] | undefined;
|
|
447
447
|
auth?: "apikey" | "oauth" | undefined;
|
|
448
448
|
}>>;
|
|
449
449
|
'minimax-portal': z.ZodOptional<z.ZodObject<{
|
|
@@ -466,23 +466,23 @@ export declare const configSchema: z.ZodObject<{
|
|
|
466
466
|
}>>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
468
|
auth: "apikey" | "oauth";
|
|
469
|
+
apiKey?: string | undefined;
|
|
470
|
+
baseUrl?: string | undefined;
|
|
471
|
+
models?: string[] | undefined;
|
|
469
472
|
oauth?: {
|
|
470
473
|
callbackPort: number;
|
|
471
474
|
clientId?: string | undefined;
|
|
472
475
|
clientSecret?: string | undefined;
|
|
473
476
|
} | undefined;
|
|
477
|
+
}, {
|
|
474
478
|
apiKey?: string | undefined;
|
|
475
479
|
baseUrl?: string | undefined;
|
|
476
480
|
models?: string[] | undefined;
|
|
477
|
-
}, {
|
|
478
481
|
oauth?: {
|
|
479
482
|
clientId?: string | undefined;
|
|
480
483
|
clientSecret?: string | undefined;
|
|
481
484
|
callbackPort?: number | undefined;
|
|
482
485
|
} | undefined;
|
|
483
|
-
apiKey?: string | undefined;
|
|
484
|
-
baseUrl?: string | undefined;
|
|
485
|
-
models?: string[] | undefined;
|
|
486
486
|
auth?: "apikey" | "oauth" | undefined;
|
|
487
487
|
}>>;
|
|
488
488
|
local: z.ZodOptional<z.ZodObject<{
|
|
@@ -509,314 +509,314 @@ export declare const configSchema: z.ZodObject<{
|
|
|
509
509
|
baseUrl: string;
|
|
510
510
|
auth: "apikey" | "oauth";
|
|
511
511
|
model: string;
|
|
512
|
+
apiKey?: string | undefined;
|
|
513
|
+
models?: string[] | undefined;
|
|
512
514
|
oauth?: {
|
|
513
515
|
callbackPort: number;
|
|
514
516
|
clientId?: string | undefined;
|
|
515
517
|
clientSecret?: string | undefined;
|
|
516
518
|
} | undefined;
|
|
519
|
+
}, {
|
|
517
520
|
apiKey?: string | undefined;
|
|
521
|
+
baseUrl?: string | undefined;
|
|
518
522
|
models?: string[] | undefined;
|
|
519
|
-
}, {
|
|
520
523
|
oauth?: {
|
|
521
524
|
clientId?: string | undefined;
|
|
522
525
|
clientSecret?: string | undefined;
|
|
523
526
|
callbackPort?: number | undefined;
|
|
524
527
|
} | undefined;
|
|
525
|
-
apiKey?: string | undefined;
|
|
526
|
-
baseUrl?: string | undefined;
|
|
527
|
-
models?: string[] | undefined;
|
|
528
528
|
auth?: "apikey" | "oauth" | undefined;
|
|
529
529
|
model?: string | undefined;
|
|
530
530
|
}>>;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
anthropic?: {
|
|
533
533
|
auth: "apikey" | "oauth";
|
|
534
|
+
apiKey?: string | undefined;
|
|
535
|
+
baseUrl?: string | undefined;
|
|
536
|
+
models?: string[] | undefined;
|
|
534
537
|
oauth?: {
|
|
535
538
|
callbackPort: number;
|
|
536
539
|
clientId?: string | undefined;
|
|
537
540
|
clientSecret?: string | undefined;
|
|
538
541
|
} | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
openai?: {
|
|
544
|
+
auth: "apikey" | "oauth";
|
|
539
545
|
apiKey?: string | undefined;
|
|
540
546
|
baseUrl?: string | undefined;
|
|
541
547
|
models?: string[] | undefined;
|
|
542
|
-
} | undefined;
|
|
543
|
-
'openai-codex'?: {
|
|
544
|
-
auth: "apikey" | "oauth";
|
|
545
548
|
oauth?: {
|
|
546
549
|
callbackPort: number;
|
|
547
550
|
clientId?: string | undefined;
|
|
548
551
|
clientSecret?: string | undefined;
|
|
549
552
|
} | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
'openai-codex'?: {
|
|
555
|
+
auth: "apikey" | "oauth";
|
|
550
556
|
apiKey?: string | undefined;
|
|
551
557
|
baseUrl?: string | undefined;
|
|
552
558
|
models?: string[] | undefined;
|
|
553
|
-
} | undefined;
|
|
554
|
-
google?: {
|
|
555
|
-
auth: "apikey" | "oauth";
|
|
556
559
|
oauth?: {
|
|
557
560
|
callbackPort: number;
|
|
558
561
|
clientId?: string | undefined;
|
|
559
562
|
clientSecret?: string | undefined;
|
|
560
563
|
} | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
google?: {
|
|
566
|
+
auth: "apikey" | "oauth";
|
|
561
567
|
apiKey?: string | undefined;
|
|
562
568
|
baseUrl?: string | undefined;
|
|
563
569
|
models?: string[] | undefined;
|
|
564
|
-
} | undefined;
|
|
565
|
-
local?: {
|
|
566
|
-
baseUrl: string;
|
|
567
|
-
auth: "apikey" | "oauth";
|
|
568
|
-
model: string;
|
|
569
570
|
oauth?: {
|
|
570
571
|
callbackPort: number;
|
|
571
572
|
clientId?: string | undefined;
|
|
572
573
|
clientSecret?: string | undefined;
|
|
573
574
|
} | undefined;
|
|
574
|
-
apiKey?: string | undefined;
|
|
575
|
-
models?: string[] | undefined;
|
|
576
575
|
} | undefined;
|
|
577
|
-
|
|
576
|
+
openrouter?: {
|
|
578
577
|
auth: "apikey" | "oauth";
|
|
578
|
+
apiKey?: string | undefined;
|
|
579
|
+
baseUrl?: string | undefined;
|
|
580
|
+
models?: string[] | undefined;
|
|
579
581
|
oauth?: {
|
|
580
582
|
callbackPort: number;
|
|
581
583
|
clientId?: string | undefined;
|
|
582
584
|
clientSecret?: string | undefined;
|
|
583
585
|
} | undefined;
|
|
586
|
+
} | undefined;
|
|
587
|
+
deepseek?: {
|
|
588
|
+
auth: "apikey" | "oauth";
|
|
584
589
|
apiKey?: string | undefined;
|
|
585
590
|
baseUrl?: string | undefined;
|
|
586
591
|
models?: string[] | undefined;
|
|
587
|
-
} | undefined;
|
|
588
|
-
openrouter?: {
|
|
589
|
-
auth: "apikey" | "oauth";
|
|
590
592
|
oauth?: {
|
|
591
593
|
callbackPort: number;
|
|
592
594
|
clientId?: string | undefined;
|
|
593
595
|
clientSecret?: string | undefined;
|
|
594
596
|
} | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
xai?: {
|
|
599
|
+
auth: "apikey" | "oauth";
|
|
595
600
|
apiKey?: string | undefined;
|
|
596
601
|
baseUrl?: string | undefined;
|
|
597
602
|
models?: string[] | undefined;
|
|
598
|
-
} | undefined;
|
|
599
|
-
deepseek?: {
|
|
600
|
-
auth: "apikey" | "oauth";
|
|
601
603
|
oauth?: {
|
|
602
604
|
callbackPort: number;
|
|
603
605
|
clientId?: string | undefined;
|
|
604
606
|
clientSecret?: string | undefined;
|
|
605
607
|
} | undefined;
|
|
608
|
+
} | undefined;
|
|
609
|
+
mistral?: {
|
|
610
|
+
auth: "apikey" | "oauth";
|
|
606
611
|
apiKey?: string | undefined;
|
|
607
612
|
baseUrl?: string | undefined;
|
|
608
613
|
models?: string[] | undefined;
|
|
609
|
-
} | undefined;
|
|
610
|
-
xai?: {
|
|
611
|
-
auth: "apikey" | "oauth";
|
|
612
614
|
oauth?: {
|
|
613
615
|
callbackPort: number;
|
|
614
616
|
clientId?: string | undefined;
|
|
615
617
|
clientSecret?: string | undefined;
|
|
616
618
|
} | undefined;
|
|
619
|
+
} | undefined;
|
|
620
|
+
together?: {
|
|
621
|
+
auth: "apikey" | "oauth";
|
|
617
622
|
apiKey?: string | undefined;
|
|
618
623
|
baseUrl?: string | undefined;
|
|
619
624
|
models?: string[] | undefined;
|
|
620
|
-
} | undefined;
|
|
621
|
-
mistral?: {
|
|
622
|
-
auth: "apikey" | "oauth";
|
|
623
625
|
oauth?: {
|
|
624
626
|
callbackPort: number;
|
|
625
627
|
clientId?: string | undefined;
|
|
626
628
|
clientSecret?: string | undefined;
|
|
627
629
|
} | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
moonshot?: {
|
|
632
|
+
auth: "apikey" | "oauth";
|
|
628
633
|
apiKey?: string | undefined;
|
|
629
634
|
baseUrl?: string | undefined;
|
|
630
635
|
models?: string[] | undefined;
|
|
631
|
-
} | undefined;
|
|
632
|
-
together?: {
|
|
633
|
-
auth: "apikey" | "oauth";
|
|
634
636
|
oauth?: {
|
|
635
637
|
callbackPort: number;
|
|
636
638
|
clientId?: string | undefined;
|
|
637
639
|
clientSecret?: string | undefined;
|
|
638
640
|
} | undefined;
|
|
641
|
+
} | undefined;
|
|
642
|
+
minimax?: {
|
|
643
|
+
auth: "apikey" | "oauth";
|
|
639
644
|
apiKey?: string | undefined;
|
|
640
645
|
baseUrl?: string | undefined;
|
|
641
646
|
models?: string[] | undefined;
|
|
642
|
-
} | undefined;
|
|
643
|
-
moonshot?: {
|
|
644
|
-
auth: "apikey" | "oauth";
|
|
645
647
|
oauth?: {
|
|
646
648
|
callbackPort: number;
|
|
647
649
|
clientId?: string | undefined;
|
|
648
650
|
clientSecret?: string | undefined;
|
|
649
651
|
} | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
'minimax-portal'?: {
|
|
654
|
+
auth: "apikey" | "oauth";
|
|
650
655
|
apiKey?: string | undefined;
|
|
651
656
|
baseUrl?: string | undefined;
|
|
652
657
|
models?: string[] | undefined;
|
|
653
|
-
} | undefined;
|
|
654
|
-
minimax?: {
|
|
655
|
-
auth: "apikey" | "oauth";
|
|
656
658
|
oauth?: {
|
|
657
659
|
callbackPort: number;
|
|
658
660
|
clientId?: string | undefined;
|
|
659
661
|
clientSecret?: string | undefined;
|
|
660
662
|
} | undefined;
|
|
661
|
-
apiKey?: string | undefined;
|
|
662
|
-
baseUrl?: string | undefined;
|
|
663
|
-
models?: string[] | undefined;
|
|
664
663
|
} | undefined;
|
|
665
|
-
|
|
664
|
+
local?: {
|
|
665
|
+
baseUrl: string;
|
|
666
666
|
auth: "apikey" | "oauth";
|
|
667
|
+
model: string;
|
|
668
|
+
apiKey?: string | undefined;
|
|
669
|
+
models?: string[] | undefined;
|
|
667
670
|
oauth?: {
|
|
668
671
|
callbackPort: number;
|
|
669
672
|
clientId?: string | undefined;
|
|
670
673
|
clientSecret?: string | undefined;
|
|
671
674
|
} | undefined;
|
|
672
|
-
apiKey?: string | undefined;
|
|
673
|
-
baseUrl?: string | undefined;
|
|
674
|
-
models?: string[] | undefined;
|
|
675
675
|
} | undefined;
|
|
676
676
|
}, {
|
|
677
677
|
anthropic?: {
|
|
678
|
+
apiKey?: string | undefined;
|
|
679
|
+
baseUrl?: string | undefined;
|
|
680
|
+
models?: string[] | undefined;
|
|
678
681
|
oauth?: {
|
|
679
682
|
clientId?: string | undefined;
|
|
680
683
|
clientSecret?: string | undefined;
|
|
681
684
|
callbackPort?: number | undefined;
|
|
682
685
|
} | undefined;
|
|
686
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
openai?: {
|
|
683
689
|
apiKey?: string | undefined;
|
|
684
690
|
baseUrl?: string | undefined;
|
|
685
691
|
models?: string[] | undefined;
|
|
686
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
687
|
-
} | undefined;
|
|
688
|
-
'openai-codex'?: {
|
|
689
692
|
oauth?: {
|
|
690
693
|
clientId?: string | undefined;
|
|
691
694
|
clientSecret?: string | undefined;
|
|
692
695
|
callbackPort?: number | undefined;
|
|
693
696
|
} | undefined;
|
|
697
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
'openai-codex'?: {
|
|
694
700
|
apiKey?: string | undefined;
|
|
695
701
|
baseUrl?: string | undefined;
|
|
696
702
|
models?: string[] | undefined;
|
|
697
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
698
|
-
} | undefined;
|
|
699
|
-
google?: {
|
|
700
703
|
oauth?: {
|
|
701
704
|
clientId?: string | undefined;
|
|
702
705
|
clientSecret?: string | undefined;
|
|
703
706
|
callbackPort?: number | undefined;
|
|
704
707
|
} | undefined;
|
|
708
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
709
|
+
} | undefined;
|
|
710
|
+
google?: {
|
|
705
711
|
apiKey?: string | undefined;
|
|
706
712
|
baseUrl?: string | undefined;
|
|
707
713
|
models?: string[] | undefined;
|
|
708
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
709
|
-
} | undefined;
|
|
710
|
-
local?: {
|
|
711
714
|
oauth?: {
|
|
712
715
|
clientId?: string | undefined;
|
|
713
716
|
clientSecret?: string | undefined;
|
|
714
717
|
callbackPort?: number | undefined;
|
|
715
718
|
} | undefined;
|
|
719
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
openrouter?: {
|
|
716
722
|
apiKey?: string | undefined;
|
|
717
723
|
baseUrl?: string | undefined;
|
|
718
724
|
models?: string[] | undefined;
|
|
719
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
720
|
-
model?: string | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
openai?: {
|
|
723
725
|
oauth?: {
|
|
724
726
|
clientId?: string | undefined;
|
|
725
727
|
clientSecret?: string | undefined;
|
|
726
728
|
callbackPort?: number | undefined;
|
|
727
729
|
} | undefined;
|
|
730
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
deepseek?: {
|
|
728
733
|
apiKey?: string | undefined;
|
|
729
734
|
baseUrl?: string | undefined;
|
|
730
735
|
models?: string[] | undefined;
|
|
731
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
732
|
-
} | undefined;
|
|
733
|
-
openrouter?: {
|
|
734
736
|
oauth?: {
|
|
735
737
|
clientId?: string | undefined;
|
|
736
738
|
clientSecret?: string | undefined;
|
|
737
739
|
callbackPort?: number | undefined;
|
|
738
740
|
} | undefined;
|
|
741
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
xai?: {
|
|
739
744
|
apiKey?: string | undefined;
|
|
740
745
|
baseUrl?: string | undefined;
|
|
741
746
|
models?: string[] | undefined;
|
|
742
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
743
|
-
} | undefined;
|
|
744
|
-
deepseek?: {
|
|
745
747
|
oauth?: {
|
|
746
748
|
clientId?: string | undefined;
|
|
747
749
|
clientSecret?: string | undefined;
|
|
748
750
|
callbackPort?: number | undefined;
|
|
749
751
|
} | undefined;
|
|
752
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
mistral?: {
|
|
750
755
|
apiKey?: string | undefined;
|
|
751
756
|
baseUrl?: string | undefined;
|
|
752
757
|
models?: string[] | undefined;
|
|
753
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
754
|
-
} | undefined;
|
|
755
|
-
xai?: {
|
|
756
758
|
oauth?: {
|
|
757
759
|
clientId?: string | undefined;
|
|
758
760
|
clientSecret?: string | undefined;
|
|
759
761
|
callbackPort?: number | undefined;
|
|
760
762
|
} | undefined;
|
|
763
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
764
|
+
} | undefined;
|
|
765
|
+
together?: {
|
|
761
766
|
apiKey?: string | undefined;
|
|
762
767
|
baseUrl?: string | undefined;
|
|
763
768
|
models?: string[] | undefined;
|
|
764
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
765
|
-
} | undefined;
|
|
766
|
-
mistral?: {
|
|
767
769
|
oauth?: {
|
|
768
770
|
clientId?: string | undefined;
|
|
769
771
|
clientSecret?: string | undefined;
|
|
770
772
|
callbackPort?: number | undefined;
|
|
771
773
|
} | undefined;
|
|
774
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
moonshot?: {
|
|
772
777
|
apiKey?: string | undefined;
|
|
773
778
|
baseUrl?: string | undefined;
|
|
774
779
|
models?: string[] | undefined;
|
|
775
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
776
|
-
} | undefined;
|
|
777
|
-
together?: {
|
|
778
780
|
oauth?: {
|
|
779
781
|
clientId?: string | undefined;
|
|
780
782
|
clientSecret?: string | undefined;
|
|
781
783
|
callbackPort?: number | undefined;
|
|
782
784
|
} | undefined;
|
|
785
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
786
|
+
} | undefined;
|
|
787
|
+
minimax?: {
|
|
783
788
|
apiKey?: string | undefined;
|
|
784
789
|
baseUrl?: string | undefined;
|
|
785
790
|
models?: string[] | undefined;
|
|
786
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
787
|
-
} | undefined;
|
|
788
|
-
moonshot?: {
|
|
789
791
|
oauth?: {
|
|
790
792
|
clientId?: string | undefined;
|
|
791
793
|
clientSecret?: string | undefined;
|
|
792
794
|
callbackPort?: number | undefined;
|
|
793
795
|
} | undefined;
|
|
796
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
797
|
+
} | undefined;
|
|
798
|
+
'minimax-portal'?: {
|
|
794
799
|
apiKey?: string | undefined;
|
|
795
800
|
baseUrl?: string | undefined;
|
|
796
801
|
models?: string[] | undefined;
|
|
797
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
798
|
-
} | undefined;
|
|
799
|
-
minimax?: {
|
|
800
802
|
oauth?: {
|
|
801
803
|
clientId?: string | undefined;
|
|
802
804
|
clientSecret?: string | undefined;
|
|
803
805
|
callbackPort?: number | undefined;
|
|
804
806
|
} | undefined;
|
|
807
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
808
|
+
} | undefined;
|
|
809
|
+
local?: {
|
|
805
810
|
apiKey?: string | undefined;
|
|
806
811
|
baseUrl?: string | undefined;
|
|
807
812
|
models?: string[] | undefined;
|
|
808
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
809
|
-
} | undefined;
|
|
810
|
-
'minimax-portal'?: {
|
|
811
813
|
oauth?: {
|
|
812
814
|
clientId?: string | undefined;
|
|
813
815
|
clientSecret?: string | undefined;
|
|
814
816
|
callbackPort?: number | undefined;
|
|
815
817
|
} | undefined;
|
|
816
|
-
apiKey?: string | undefined;
|
|
817
|
-
baseUrl?: string | undefined;
|
|
818
|
-
models?: string[] | undefined;
|
|
819
818
|
auth?: "apikey" | "oauth" | undefined;
|
|
819
|
+
model?: string | undefined;
|
|
820
820
|
} | undefined;
|
|
821
821
|
}>>;
|
|
822
822
|
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
@@ -841,147 +841,147 @@ export declare const configSchema: z.ZodObject<{
|
|
|
841
841
|
providers: {
|
|
842
842
|
anthropic?: {
|
|
843
843
|
auth: "apikey" | "oauth";
|
|
844
|
+
apiKey?: string | undefined;
|
|
845
|
+
baseUrl?: string | undefined;
|
|
846
|
+
models?: string[] | undefined;
|
|
844
847
|
oauth?: {
|
|
845
848
|
callbackPort: number;
|
|
846
849
|
clientId?: string | undefined;
|
|
847
850
|
clientSecret?: string | undefined;
|
|
848
851
|
} | undefined;
|
|
852
|
+
} | undefined;
|
|
853
|
+
openai?: {
|
|
854
|
+
auth: "apikey" | "oauth";
|
|
849
855
|
apiKey?: string | undefined;
|
|
850
856
|
baseUrl?: string | undefined;
|
|
851
857
|
models?: string[] | undefined;
|
|
852
|
-
} | undefined;
|
|
853
|
-
'openai-codex'?: {
|
|
854
|
-
auth: "apikey" | "oauth";
|
|
855
858
|
oauth?: {
|
|
856
859
|
callbackPort: number;
|
|
857
860
|
clientId?: string | undefined;
|
|
858
861
|
clientSecret?: string | undefined;
|
|
859
862
|
} | undefined;
|
|
863
|
+
} | undefined;
|
|
864
|
+
'openai-codex'?: {
|
|
865
|
+
auth: "apikey" | "oauth";
|
|
860
866
|
apiKey?: string | undefined;
|
|
861
867
|
baseUrl?: string | undefined;
|
|
862
868
|
models?: string[] | undefined;
|
|
863
|
-
} | undefined;
|
|
864
|
-
google?: {
|
|
865
|
-
auth: "apikey" | "oauth";
|
|
866
869
|
oauth?: {
|
|
867
870
|
callbackPort: number;
|
|
868
871
|
clientId?: string | undefined;
|
|
869
872
|
clientSecret?: string | undefined;
|
|
870
873
|
} | undefined;
|
|
874
|
+
} | undefined;
|
|
875
|
+
google?: {
|
|
876
|
+
auth: "apikey" | "oauth";
|
|
871
877
|
apiKey?: string | undefined;
|
|
872
878
|
baseUrl?: string | undefined;
|
|
873
879
|
models?: string[] | undefined;
|
|
874
|
-
} | undefined;
|
|
875
|
-
local?: {
|
|
876
|
-
baseUrl: string;
|
|
877
|
-
auth: "apikey" | "oauth";
|
|
878
|
-
model: string;
|
|
879
880
|
oauth?: {
|
|
880
881
|
callbackPort: number;
|
|
881
882
|
clientId?: string | undefined;
|
|
882
883
|
clientSecret?: string | undefined;
|
|
883
884
|
} | undefined;
|
|
884
|
-
apiKey?: string | undefined;
|
|
885
|
-
models?: string[] | undefined;
|
|
886
885
|
} | undefined;
|
|
887
|
-
|
|
886
|
+
openrouter?: {
|
|
888
887
|
auth: "apikey" | "oauth";
|
|
888
|
+
apiKey?: string | undefined;
|
|
889
|
+
baseUrl?: string | undefined;
|
|
890
|
+
models?: string[] | undefined;
|
|
889
891
|
oauth?: {
|
|
890
892
|
callbackPort: number;
|
|
891
893
|
clientId?: string | undefined;
|
|
892
894
|
clientSecret?: string | undefined;
|
|
893
895
|
} | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
deepseek?: {
|
|
898
|
+
auth: "apikey" | "oauth";
|
|
894
899
|
apiKey?: string | undefined;
|
|
895
900
|
baseUrl?: string | undefined;
|
|
896
901
|
models?: string[] | undefined;
|
|
897
|
-
} | undefined;
|
|
898
|
-
openrouter?: {
|
|
899
|
-
auth: "apikey" | "oauth";
|
|
900
902
|
oauth?: {
|
|
901
903
|
callbackPort: number;
|
|
902
904
|
clientId?: string | undefined;
|
|
903
905
|
clientSecret?: string | undefined;
|
|
904
906
|
} | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
xai?: {
|
|
909
|
+
auth: "apikey" | "oauth";
|
|
905
910
|
apiKey?: string | undefined;
|
|
906
911
|
baseUrl?: string | undefined;
|
|
907
912
|
models?: string[] | undefined;
|
|
908
|
-
} | undefined;
|
|
909
|
-
deepseek?: {
|
|
910
|
-
auth: "apikey" | "oauth";
|
|
911
913
|
oauth?: {
|
|
912
914
|
callbackPort: number;
|
|
913
915
|
clientId?: string | undefined;
|
|
914
916
|
clientSecret?: string | undefined;
|
|
915
917
|
} | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
mistral?: {
|
|
920
|
+
auth: "apikey" | "oauth";
|
|
916
921
|
apiKey?: string | undefined;
|
|
917
922
|
baseUrl?: string | undefined;
|
|
918
923
|
models?: string[] | undefined;
|
|
919
|
-
} | undefined;
|
|
920
|
-
xai?: {
|
|
921
|
-
auth: "apikey" | "oauth";
|
|
922
924
|
oauth?: {
|
|
923
925
|
callbackPort: number;
|
|
924
926
|
clientId?: string | undefined;
|
|
925
927
|
clientSecret?: string | undefined;
|
|
926
928
|
} | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
together?: {
|
|
931
|
+
auth: "apikey" | "oauth";
|
|
927
932
|
apiKey?: string | undefined;
|
|
928
933
|
baseUrl?: string | undefined;
|
|
929
934
|
models?: string[] | undefined;
|
|
930
|
-
} | undefined;
|
|
931
|
-
mistral?: {
|
|
932
|
-
auth: "apikey" | "oauth";
|
|
933
935
|
oauth?: {
|
|
934
936
|
callbackPort: number;
|
|
935
937
|
clientId?: string | undefined;
|
|
936
938
|
clientSecret?: string | undefined;
|
|
937
939
|
} | undefined;
|
|
940
|
+
} | undefined;
|
|
941
|
+
moonshot?: {
|
|
942
|
+
auth: "apikey" | "oauth";
|
|
938
943
|
apiKey?: string | undefined;
|
|
939
944
|
baseUrl?: string | undefined;
|
|
940
945
|
models?: string[] | undefined;
|
|
941
|
-
} | undefined;
|
|
942
|
-
together?: {
|
|
943
|
-
auth: "apikey" | "oauth";
|
|
944
946
|
oauth?: {
|
|
945
947
|
callbackPort: number;
|
|
946
948
|
clientId?: string | undefined;
|
|
947
949
|
clientSecret?: string | undefined;
|
|
948
950
|
} | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
minimax?: {
|
|
953
|
+
auth: "apikey" | "oauth";
|
|
949
954
|
apiKey?: string | undefined;
|
|
950
955
|
baseUrl?: string | undefined;
|
|
951
956
|
models?: string[] | undefined;
|
|
952
|
-
} | undefined;
|
|
953
|
-
moonshot?: {
|
|
954
|
-
auth: "apikey" | "oauth";
|
|
955
957
|
oauth?: {
|
|
956
958
|
callbackPort: number;
|
|
957
959
|
clientId?: string | undefined;
|
|
958
960
|
clientSecret?: string | undefined;
|
|
959
961
|
} | undefined;
|
|
962
|
+
} | undefined;
|
|
963
|
+
'minimax-portal'?: {
|
|
964
|
+
auth: "apikey" | "oauth";
|
|
960
965
|
apiKey?: string | undefined;
|
|
961
966
|
baseUrl?: string | undefined;
|
|
962
967
|
models?: string[] | undefined;
|
|
963
|
-
} | undefined;
|
|
964
|
-
minimax?: {
|
|
965
|
-
auth: "apikey" | "oauth";
|
|
966
968
|
oauth?: {
|
|
967
969
|
callbackPort: number;
|
|
968
970
|
clientId?: string | undefined;
|
|
969
971
|
clientSecret?: string | undefined;
|
|
970
972
|
} | undefined;
|
|
971
|
-
apiKey?: string | undefined;
|
|
972
|
-
baseUrl?: string | undefined;
|
|
973
|
-
models?: string[] | undefined;
|
|
974
973
|
} | undefined;
|
|
975
|
-
|
|
974
|
+
local?: {
|
|
975
|
+
baseUrl: string;
|
|
976
976
|
auth: "apikey" | "oauth";
|
|
977
|
+
model: string;
|
|
978
|
+
apiKey?: string | undefined;
|
|
979
|
+
models?: string[] | undefined;
|
|
977
980
|
oauth?: {
|
|
978
981
|
callbackPort: number;
|
|
979
982
|
clientId?: string | undefined;
|
|
980
983
|
clientSecret?: string | undefined;
|
|
981
984
|
} | undefined;
|
|
982
|
-
apiKey?: string | undefined;
|
|
983
|
-
baseUrl?: string | undefined;
|
|
984
|
-
models?: string[] | undefined;
|
|
985
985
|
} | undefined;
|
|
986
986
|
};
|
|
987
987
|
maxSteps: number;
|
|
@@ -997,148 +997,148 @@ export declare const configSchema: z.ZodObject<{
|
|
|
997
997
|
defaultModel?: string | undefined;
|
|
998
998
|
providers?: {
|
|
999
999
|
anthropic?: {
|
|
1000
|
+
apiKey?: string | undefined;
|
|
1001
|
+
baseUrl?: string | undefined;
|
|
1002
|
+
models?: string[] | undefined;
|
|
1000
1003
|
oauth?: {
|
|
1001
1004
|
clientId?: string | undefined;
|
|
1002
1005
|
clientSecret?: string | undefined;
|
|
1003
1006
|
callbackPort?: number | undefined;
|
|
1004
1007
|
} | undefined;
|
|
1008
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
openai?: {
|
|
1005
1011
|
apiKey?: string | undefined;
|
|
1006
1012
|
baseUrl?: string | undefined;
|
|
1007
1013
|
models?: string[] | undefined;
|
|
1008
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1009
|
-
} | undefined;
|
|
1010
|
-
'openai-codex'?: {
|
|
1011
1014
|
oauth?: {
|
|
1012
1015
|
clientId?: string | undefined;
|
|
1013
1016
|
clientSecret?: string | undefined;
|
|
1014
1017
|
callbackPort?: number | undefined;
|
|
1015
1018
|
} | undefined;
|
|
1019
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1020
|
+
} | undefined;
|
|
1021
|
+
'openai-codex'?: {
|
|
1016
1022
|
apiKey?: string | undefined;
|
|
1017
1023
|
baseUrl?: string | undefined;
|
|
1018
1024
|
models?: string[] | undefined;
|
|
1019
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1020
|
-
} | undefined;
|
|
1021
|
-
google?: {
|
|
1022
1025
|
oauth?: {
|
|
1023
1026
|
clientId?: string | undefined;
|
|
1024
1027
|
clientSecret?: string | undefined;
|
|
1025
1028
|
callbackPort?: number | undefined;
|
|
1026
1029
|
} | undefined;
|
|
1030
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
google?: {
|
|
1027
1033
|
apiKey?: string | undefined;
|
|
1028
1034
|
baseUrl?: string | undefined;
|
|
1029
1035
|
models?: string[] | undefined;
|
|
1030
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1031
|
-
} | undefined;
|
|
1032
|
-
local?: {
|
|
1033
1036
|
oauth?: {
|
|
1034
1037
|
clientId?: string | undefined;
|
|
1035
1038
|
clientSecret?: string | undefined;
|
|
1036
1039
|
callbackPort?: number | undefined;
|
|
1037
1040
|
} | undefined;
|
|
1041
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
openrouter?: {
|
|
1038
1044
|
apiKey?: string | undefined;
|
|
1039
1045
|
baseUrl?: string | undefined;
|
|
1040
1046
|
models?: string[] | undefined;
|
|
1041
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1042
|
-
model?: string | undefined;
|
|
1043
|
-
} | undefined;
|
|
1044
|
-
openai?: {
|
|
1045
1047
|
oauth?: {
|
|
1046
1048
|
clientId?: string | undefined;
|
|
1047
1049
|
clientSecret?: string | undefined;
|
|
1048
1050
|
callbackPort?: number | undefined;
|
|
1049
1051
|
} | undefined;
|
|
1052
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1053
|
+
} | undefined;
|
|
1054
|
+
deepseek?: {
|
|
1050
1055
|
apiKey?: string | undefined;
|
|
1051
1056
|
baseUrl?: string | undefined;
|
|
1052
1057
|
models?: string[] | undefined;
|
|
1053
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1054
|
-
} | undefined;
|
|
1055
|
-
openrouter?: {
|
|
1056
1058
|
oauth?: {
|
|
1057
1059
|
clientId?: string | undefined;
|
|
1058
1060
|
clientSecret?: string | undefined;
|
|
1059
1061
|
callbackPort?: number | undefined;
|
|
1060
1062
|
} | undefined;
|
|
1063
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
xai?: {
|
|
1061
1066
|
apiKey?: string | undefined;
|
|
1062
1067
|
baseUrl?: string | undefined;
|
|
1063
1068
|
models?: string[] | undefined;
|
|
1064
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1065
|
-
} | undefined;
|
|
1066
|
-
deepseek?: {
|
|
1067
1069
|
oauth?: {
|
|
1068
1070
|
clientId?: string | undefined;
|
|
1069
1071
|
clientSecret?: string | undefined;
|
|
1070
1072
|
callbackPort?: number | undefined;
|
|
1071
1073
|
} | undefined;
|
|
1074
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
mistral?: {
|
|
1072
1077
|
apiKey?: string | undefined;
|
|
1073
1078
|
baseUrl?: string | undefined;
|
|
1074
1079
|
models?: string[] | undefined;
|
|
1075
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1076
|
-
} | undefined;
|
|
1077
|
-
xai?: {
|
|
1078
1080
|
oauth?: {
|
|
1079
1081
|
clientId?: string | undefined;
|
|
1080
1082
|
clientSecret?: string | undefined;
|
|
1081
1083
|
callbackPort?: number | undefined;
|
|
1082
1084
|
} | undefined;
|
|
1085
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1086
|
+
} | undefined;
|
|
1087
|
+
together?: {
|
|
1083
1088
|
apiKey?: string | undefined;
|
|
1084
1089
|
baseUrl?: string | undefined;
|
|
1085
1090
|
models?: string[] | undefined;
|
|
1086
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
mistral?: {
|
|
1089
1091
|
oauth?: {
|
|
1090
1092
|
clientId?: string | undefined;
|
|
1091
1093
|
clientSecret?: string | undefined;
|
|
1092
1094
|
callbackPort?: number | undefined;
|
|
1093
1095
|
} | undefined;
|
|
1096
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
moonshot?: {
|
|
1094
1099
|
apiKey?: string | undefined;
|
|
1095
1100
|
baseUrl?: string | undefined;
|
|
1096
1101
|
models?: string[] | undefined;
|
|
1097
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1098
|
-
} | undefined;
|
|
1099
|
-
together?: {
|
|
1100
1102
|
oauth?: {
|
|
1101
1103
|
clientId?: string | undefined;
|
|
1102
1104
|
clientSecret?: string | undefined;
|
|
1103
1105
|
callbackPort?: number | undefined;
|
|
1104
1106
|
} | undefined;
|
|
1107
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
minimax?: {
|
|
1105
1110
|
apiKey?: string | undefined;
|
|
1106
1111
|
baseUrl?: string | undefined;
|
|
1107
1112
|
models?: string[] | undefined;
|
|
1108
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1109
|
-
} | undefined;
|
|
1110
|
-
moonshot?: {
|
|
1111
1113
|
oauth?: {
|
|
1112
1114
|
clientId?: string | undefined;
|
|
1113
1115
|
clientSecret?: string | undefined;
|
|
1114
1116
|
callbackPort?: number | undefined;
|
|
1115
1117
|
} | undefined;
|
|
1118
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
'minimax-portal'?: {
|
|
1116
1121
|
apiKey?: string | undefined;
|
|
1117
1122
|
baseUrl?: string | undefined;
|
|
1118
1123
|
models?: string[] | undefined;
|
|
1119
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1120
|
-
} | undefined;
|
|
1121
|
-
minimax?: {
|
|
1122
1124
|
oauth?: {
|
|
1123
1125
|
clientId?: string | undefined;
|
|
1124
1126
|
clientSecret?: string | undefined;
|
|
1125
1127
|
callbackPort?: number | undefined;
|
|
1126
1128
|
} | undefined;
|
|
1129
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
1130
|
+
} | undefined;
|
|
1131
|
+
local?: {
|
|
1127
1132
|
apiKey?: string | undefined;
|
|
1128
1133
|
baseUrl?: string | undefined;
|
|
1129
1134
|
models?: string[] | undefined;
|
|
1130
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1131
|
-
} | undefined;
|
|
1132
|
-
'minimax-portal'?: {
|
|
1133
1135
|
oauth?: {
|
|
1134
1136
|
clientId?: string | undefined;
|
|
1135
1137
|
clientSecret?: string | undefined;
|
|
1136
1138
|
callbackPort?: number | undefined;
|
|
1137
1139
|
} | undefined;
|
|
1138
|
-
apiKey?: string | undefined;
|
|
1139
|
-
baseUrl?: string | undefined;
|
|
1140
|
-
models?: string[] | undefined;
|
|
1141
1140
|
auth?: "apikey" | "oauth" | undefined;
|
|
1141
|
+
model?: string | undefined;
|
|
1142
1142
|
} | undefined;
|
|
1143
1143
|
} | undefined;
|
|
1144
1144
|
maxSteps?: number | undefined;
|
|
@@ -1539,9 +1539,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1539
1539
|
token: z.ZodOptional<z.ZodString>;
|
|
1540
1540
|
applicationId: z.ZodOptional<z.ZodString>;
|
|
1541
1541
|
allowFrom: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1542
|
+
channelIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1542
1543
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1544
|
enabled: boolean;
|
|
1544
1545
|
allowFrom: string[];
|
|
1546
|
+
channelIds: string[];
|
|
1545
1547
|
token?: string | undefined;
|
|
1546
1548
|
applicationId?: string | undefined;
|
|
1547
1549
|
}, {
|
|
@@ -1549,6 +1551,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1549
1551
|
token?: string | undefined;
|
|
1550
1552
|
allowFrom?: string[] | undefined;
|
|
1551
1553
|
applicationId?: string | undefined;
|
|
1554
|
+
channelIds?: string[] | undefined;
|
|
1552
1555
|
}>>;
|
|
1553
1556
|
telegram: z.ZodDefault<z.ZodObject<{
|
|
1554
1557
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1632,6 +1635,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1632
1635
|
discord: {
|
|
1633
1636
|
enabled: boolean;
|
|
1634
1637
|
allowFrom: string[];
|
|
1638
|
+
channelIds: string[];
|
|
1635
1639
|
token?: string | undefined;
|
|
1636
1640
|
applicationId?: string | undefined;
|
|
1637
1641
|
};
|
|
@@ -1675,6 +1679,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1675
1679
|
token?: string | undefined;
|
|
1676
1680
|
allowFrom?: string[] | undefined;
|
|
1677
1681
|
applicationId?: string | undefined;
|
|
1682
|
+
channelIds?: string[] | undefined;
|
|
1678
1683
|
} | undefined;
|
|
1679
1684
|
telegram?: {
|
|
1680
1685
|
enabled?: boolean | undefined;
|
|
@@ -1855,147 +1860,147 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1855
1860
|
providers: {
|
|
1856
1861
|
anthropic?: {
|
|
1857
1862
|
auth: "apikey" | "oauth";
|
|
1863
|
+
apiKey?: string | undefined;
|
|
1864
|
+
baseUrl?: string | undefined;
|
|
1865
|
+
models?: string[] | undefined;
|
|
1858
1866
|
oauth?: {
|
|
1859
1867
|
callbackPort: number;
|
|
1860
1868
|
clientId?: string | undefined;
|
|
1861
1869
|
clientSecret?: string | undefined;
|
|
1862
1870
|
} | undefined;
|
|
1871
|
+
} | undefined;
|
|
1872
|
+
openai?: {
|
|
1873
|
+
auth: "apikey" | "oauth";
|
|
1863
1874
|
apiKey?: string | undefined;
|
|
1864
1875
|
baseUrl?: string | undefined;
|
|
1865
1876
|
models?: string[] | undefined;
|
|
1866
|
-
} | undefined;
|
|
1867
|
-
'openai-codex'?: {
|
|
1868
|
-
auth: "apikey" | "oauth";
|
|
1869
1877
|
oauth?: {
|
|
1870
1878
|
callbackPort: number;
|
|
1871
1879
|
clientId?: string | undefined;
|
|
1872
1880
|
clientSecret?: string | undefined;
|
|
1873
1881
|
} | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
'openai-codex'?: {
|
|
1884
|
+
auth: "apikey" | "oauth";
|
|
1874
1885
|
apiKey?: string | undefined;
|
|
1875
1886
|
baseUrl?: string | undefined;
|
|
1876
1887
|
models?: string[] | undefined;
|
|
1877
|
-
} | undefined;
|
|
1878
|
-
google?: {
|
|
1879
|
-
auth: "apikey" | "oauth";
|
|
1880
1888
|
oauth?: {
|
|
1881
1889
|
callbackPort: number;
|
|
1882
1890
|
clientId?: string | undefined;
|
|
1883
1891
|
clientSecret?: string | undefined;
|
|
1884
1892
|
} | undefined;
|
|
1893
|
+
} | undefined;
|
|
1894
|
+
google?: {
|
|
1895
|
+
auth: "apikey" | "oauth";
|
|
1885
1896
|
apiKey?: string | undefined;
|
|
1886
1897
|
baseUrl?: string | undefined;
|
|
1887
1898
|
models?: string[] | undefined;
|
|
1888
|
-
} | undefined;
|
|
1889
|
-
local?: {
|
|
1890
|
-
baseUrl: string;
|
|
1891
|
-
auth: "apikey" | "oauth";
|
|
1892
|
-
model: string;
|
|
1893
1899
|
oauth?: {
|
|
1894
1900
|
callbackPort: number;
|
|
1895
1901
|
clientId?: string | undefined;
|
|
1896
1902
|
clientSecret?: string | undefined;
|
|
1897
1903
|
} | undefined;
|
|
1898
|
-
apiKey?: string | undefined;
|
|
1899
|
-
models?: string[] | undefined;
|
|
1900
1904
|
} | undefined;
|
|
1901
|
-
|
|
1905
|
+
openrouter?: {
|
|
1902
1906
|
auth: "apikey" | "oauth";
|
|
1907
|
+
apiKey?: string | undefined;
|
|
1908
|
+
baseUrl?: string | undefined;
|
|
1909
|
+
models?: string[] | undefined;
|
|
1903
1910
|
oauth?: {
|
|
1904
1911
|
callbackPort: number;
|
|
1905
1912
|
clientId?: string | undefined;
|
|
1906
1913
|
clientSecret?: string | undefined;
|
|
1907
1914
|
} | undefined;
|
|
1915
|
+
} | undefined;
|
|
1916
|
+
deepseek?: {
|
|
1917
|
+
auth: "apikey" | "oauth";
|
|
1908
1918
|
apiKey?: string | undefined;
|
|
1909
1919
|
baseUrl?: string | undefined;
|
|
1910
1920
|
models?: string[] | undefined;
|
|
1911
|
-
} | undefined;
|
|
1912
|
-
openrouter?: {
|
|
1913
|
-
auth: "apikey" | "oauth";
|
|
1914
1921
|
oauth?: {
|
|
1915
1922
|
callbackPort: number;
|
|
1916
1923
|
clientId?: string | undefined;
|
|
1917
1924
|
clientSecret?: string | undefined;
|
|
1918
1925
|
} | undefined;
|
|
1926
|
+
} | undefined;
|
|
1927
|
+
xai?: {
|
|
1928
|
+
auth: "apikey" | "oauth";
|
|
1919
1929
|
apiKey?: string | undefined;
|
|
1920
1930
|
baseUrl?: string | undefined;
|
|
1921
1931
|
models?: string[] | undefined;
|
|
1922
|
-
} | undefined;
|
|
1923
|
-
deepseek?: {
|
|
1924
|
-
auth: "apikey" | "oauth";
|
|
1925
1932
|
oauth?: {
|
|
1926
1933
|
callbackPort: number;
|
|
1927
1934
|
clientId?: string | undefined;
|
|
1928
1935
|
clientSecret?: string | undefined;
|
|
1929
1936
|
} | undefined;
|
|
1937
|
+
} | undefined;
|
|
1938
|
+
mistral?: {
|
|
1939
|
+
auth: "apikey" | "oauth";
|
|
1930
1940
|
apiKey?: string | undefined;
|
|
1931
1941
|
baseUrl?: string | undefined;
|
|
1932
1942
|
models?: string[] | undefined;
|
|
1933
|
-
} | undefined;
|
|
1934
|
-
xai?: {
|
|
1935
|
-
auth: "apikey" | "oauth";
|
|
1936
1943
|
oauth?: {
|
|
1937
1944
|
callbackPort: number;
|
|
1938
1945
|
clientId?: string | undefined;
|
|
1939
1946
|
clientSecret?: string | undefined;
|
|
1940
1947
|
} | undefined;
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
together?: {
|
|
1950
|
+
auth: "apikey" | "oauth";
|
|
1941
1951
|
apiKey?: string | undefined;
|
|
1942
1952
|
baseUrl?: string | undefined;
|
|
1943
1953
|
models?: string[] | undefined;
|
|
1944
|
-
} | undefined;
|
|
1945
|
-
mistral?: {
|
|
1946
|
-
auth: "apikey" | "oauth";
|
|
1947
1954
|
oauth?: {
|
|
1948
1955
|
callbackPort: number;
|
|
1949
1956
|
clientId?: string | undefined;
|
|
1950
1957
|
clientSecret?: string | undefined;
|
|
1951
1958
|
} | undefined;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
moonshot?: {
|
|
1961
|
+
auth: "apikey" | "oauth";
|
|
1952
1962
|
apiKey?: string | undefined;
|
|
1953
1963
|
baseUrl?: string | undefined;
|
|
1954
1964
|
models?: string[] | undefined;
|
|
1955
|
-
} | undefined;
|
|
1956
|
-
together?: {
|
|
1957
|
-
auth: "apikey" | "oauth";
|
|
1958
1965
|
oauth?: {
|
|
1959
1966
|
callbackPort: number;
|
|
1960
1967
|
clientId?: string | undefined;
|
|
1961
1968
|
clientSecret?: string | undefined;
|
|
1962
1969
|
} | undefined;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
minimax?: {
|
|
1972
|
+
auth: "apikey" | "oauth";
|
|
1963
1973
|
apiKey?: string | undefined;
|
|
1964
1974
|
baseUrl?: string | undefined;
|
|
1965
1975
|
models?: string[] | undefined;
|
|
1966
|
-
} | undefined;
|
|
1967
|
-
moonshot?: {
|
|
1968
|
-
auth: "apikey" | "oauth";
|
|
1969
1976
|
oauth?: {
|
|
1970
1977
|
callbackPort: number;
|
|
1971
1978
|
clientId?: string | undefined;
|
|
1972
1979
|
clientSecret?: string | undefined;
|
|
1973
1980
|
} | undefined;
|
|
1981
|
+
} | undefined;
|
|
1982
|
+
'minimax-portal'?: {
|
|
1983
|
+
auth: "apikey" | "oauth";
|
|
1974
1984
|
apiKey?: string | undefined;
|
|
1975
1985
|
baseUrl?: string | undefined;
|
|
1976
1986
|
models?: string[] | undefined;
|
|
1977
|
-
} | undefined;
|
|
1978
|
-
minimax?: {
|
|
1979
|
-
auth: "apikey" | "oauth";
|
|
1980
1987
|
oauth?: {
|
|
1981
1988
|
callbackPort: number;
|
|
1982
1989
|
clientId?: string | undefined;
|
|
1983
1990
|
clientSecret?: string | undefined;
|
|
1984
1991
|
} | undefined;
|
|
1985
|
-
apiKey?: string | undefined;
|
|
1986
|
-
baseUrl?: string | undefined;
|
|
1987
|
-
models?: string[] | undefined;
|
|
1988
1992
|
} | undefined;
|
|
1989
|
-
|
|
1993
|
+
local?: {
|
|
1994
|
+
baseUrl: string;
|
|
1990
1995
|
auth: "apikey" | "oauth";
|
|
1996
|
+
model: string;
|
|
1997
|
+
apiKey?: string | undefined;
|
|
1998
|
+
models?: string[] | undefined;
|
|
1991
1999
|
oauth?: {
|
|
1992
2000
|
callbackPort: number;
|
|
1993
2001
|
clientId?: string | undefined;
|
|
1994
2002
|
clientSecret?: string | undefined;
|
|
1995
2003
|
} | undefined;
|
|
1996
|
-
apiKey?: string | undefined;
|
|
1997
|
-
baseUrl?: string | undefined;
|
|
1998
|
-
models?: string[] | undefined;
|
|
1999
2004
|
} | undefined;
|
|
2000
2005
|
};
|
|
2001
2006
|
maxSteps: number;
|
|
@@ -2092,6 +2097,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2092
2097
|
discord: {
|
|
2093
2098
|
enabled: boolean;
|
|
2094
2099
|
allowFrom: string[];
|
|
2100
|
+
channelIds: string[];
|
|
2095
2101
|
token?: string | undefined;
|
|
2096
2102
|
applicationId?: string | undefined;
|
|
2097
2103
|
};
|
|
@@ -2185,148 +2191,148 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2185
2191
|
defaultModel?: string | undefined;
|
|
2186
2192
|
providers?: {
|
|
2187
2193
|
anthropic?: {
|
|
2194
|
+
apiKey?: string | undefined;
|
|
2195
|
+
baseUrl?: string | undefined;
|
|
2196
|
+
models?: string[] | undefined;
|
|
2188
2197
|
oauth?: {
|
|
2189
2198
|
clientId?: string | undefined;
|
|
2190
2199
|
clientSecret?: string | undefined;
|
|
2191
2200
|
callbackPort?: number | undefined;
|
|
2192
2201
|
} | undefined;
|
|
2202
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2203
|
+
} | undefined;
|
|
2204
|
+
openai?: {
|
|
2193
2205
|
apiKey?: string | undefined;
|
|
2194
2206
|
baseUrl?: string | undefined;
|
|
2195
2207
|
models?: string[] | undefined;
|
|
2196
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2197
|
-
} | undefined;
|
|
2198
|
-
'openai-codex'?: {
|
|
2199
2208
|
oauth?: {
|
|
2200
2209
|
clientId?: string | undefined;
|
|
2201
2210
|
clientSecret?: string | undefined;
|
|
2202
2211
|
callbackPort?: number | undefined;
|
|
2203
2212
|
} | undefined;
|
|
2213
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
'openai-codex'?: {
|
|
2204
2216
|
apiKey?: string | undefined;
|
|
2205
2217
|
baseUrl?: string | undefined;
|
|
2206
2218
|
models?: string[] | undefined;
|
|
2207
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2208
|
-
} | undefined;
|
|
2209
|
-
google?: {
|
|
2210
2219
|
oauth?: {
|
|
2211
2220
|
clientId?: string | undefined;
|
|
2212
2221
|
clientSecret?: string | undefined;
|
|
2213
2222
|
callbackPort?: number | undefined;
|
|
2214
2223
|
} | undefined;
|
|
2224
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
google?: {
|
|
2215
2227
|
apiKey?: string | undefined;
|
|
2216
2228
|
baseUrl?: string | undefined;
|
|
2217
2229
|
models?: string[] | undefined;
|
|
2218
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2219
|
-
} | undefined;
|
|
2220
|
-
local?: {
|
|
2221
2230
|
oauth?: {
|
|
2222
2231
|
clientId?: string | undefined;
|
|
2223
2232
|
clientSecret?: string | undefined;
|
|
2224
2233
|
callbackPort?: number | undefined;
|
|
2225
2234
|
} | undefined;
|
|
2235
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2236
|
+
} | undefined;
|
|
2237
|
+
openrouter?: {
|
|
2226
2238
|
apiKey?: string | undefined;
|
|
2227
2239
|
baseUrl?: string | undefined;
|
|
2228
2240
|
models?: string[] | undefined;
|
|
2229
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2230
|
-
model?: string | undefined;
|
|
2231
|
-
} | undefined;
|
|
2232
|
-
openai?: {
|
|
2233
2241
|
oauth?: {
|
|
2234
2242
|
clientId?: string | undefined;
|
|
2235
2243
|
clientSecret?: string | undefined;
|
|
2236
2244
|
callbackPort?: number | undefined;
|
|
2237
2245
|
} | undefined;
|
|
2246
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2247
|
+
} | undefined;
|
|
2248
|
+
deepseek?: {
|
|
2238
2249
|
apiKey?: string | undefined;
|
|
2239
2250
|
baseUrl?: string | undefined;
|
|
2240
2251
|
models?: string[] | undefined;
|
|
2241
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2242
|
-
} | undefined;
|
|
2243
|
-
openrouter?: {
|
|
2244
2252
|
oauth?: {
|
|
2245
2253
|
clientId?: string | undefined;
|
|
2246
2254
|
clientSecret?: string | undefined;
|
|
2247
2255
|
callbackPort?: number | undefined;
|
|
2248
2256
|
} | undefined;
|
|
2257
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2258
|
+
} | undefined;
|
|
2259
|
+
xai?: {
|
|
2249
2260
|
apiKey?: string | undefined;
|
|
2250
2261
|
baseUrl?: string | undefined;
|
|
2251
2262
|
models?: string[] | undefined;
|
|
2252
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2253
|
-
} | undefined;
|
|
2254
|
-
deepseek?: {
|
|
2255
2263
|
oauth?: {
|
|
2256
2264
|
clientId?: string | undefined;
|
|
2257
2265
|
clientSecret?: string | undefined;
|
|
2258
2266
|
callbackPort?: number | undefined;
|
|
2259
2267
|
} | undefined;
|
|
2268
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2269
|
+
} | undefined;
|
|
2270
|
+
mistral?: {
|
|
2260
2271
|
apiKey?: string | undefined;
|
|
2261
2272
|
baseUrl?: string | undefined;
|
|
2262
2273
|
models?: string[] | undefined;
|
|
2263
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2264
|
-
} | undefined;
|
|
2265
|
-
xai?: {
|
|
2266
2274
|
oauth?: {
|
|
2267
2275
|
clientId?: string | undefined;
|
|
2268
2276
|
clientSecret?: string | undefined;
|
|
2269
2277
|
callbackPort?: number | undefined;
|
|
2270
2278
|
} | undefined;
|
|
2279
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2280
|
+
} | undefined;
|
|
2281
|
+
together?: {
|
|
2271
2282
|
apiKey?: string | undefined;
|
|
2272
2283
|
baseUrl?: string | undefined;
|
|
2273
2284
|
models?: string[] | undefined;
|
|
2274
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2275
|
-
} | undefined;
|
|
2276
|
-
mistral?: {
|
|
2277
2285
|
oauth?: {
|
|
2278
2286
|
clientId?: string | undefined;
|
|
2279
2287
|
clientSecret?: string | undefined;
|
|
2280
2288
|
callbackPort?: number | undefined;
|
|
2281
2289
|
} | undefined;
|
|
2290
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2291
|
+
} | undefined;
|
|
2292
|
+
moonshot?: {
|
|
2282
2293
|
apiKey?: string | undefined;
|
|
2283
2294
|
baseUrl?: string | undefined;
|
|
2284
2295
|
models?: string[] | undefined;
|
|
2285
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2286
|
-
} | undefined;
|
|
2287
|
-
together?: {
|
|
2288
2296
|
oauth?: {
|
|
2289
2297
|
clientId?: string | undefined;
|
|
2290
2298
|
clientSecret?: string | undefined;
|
|
2291
2299
|
callbackPort?: number | undefined;
|
|
2292
2300
|
} | undefined;
|
|
2301
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
minimax?: {
|
|
2293
2304
|
apiKey?: string | undefined;
|
|
2294
2305
|
baseUrl?: string | undefined;
|
|
2295
2306
|
models?: string[] | undefined;
|
|
2296
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2297
|
-
} | undefined;
|
|
2298
|
-
moonshot?: {
|
|
2299
2307
|
oauth?: {
|
|
2300
2308
|
clientId?: string | undefined;
|
|
2301
2309
|
clientSecret?: string | undefined;
|
|
2302
2310
|
callbackPort?: number | undefined;
|
|
2303
2311
|
} | undefined;
|
|
2312
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2313
|
+
} | undefined;
|
|
2314
|
+
'minimax-portal'?: {
|
|
2304
2315
|
apiKey?: string | undefined;
|
|
2305
2316
|
baseUrl?: string | undefined;
|
|
2306
2317
|
models?: string[] | undefined;
|
|
2307
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2308
|
-
} | undefined;
|
|
2309
|
-
minimax?: {
|
|
2310
2318
|
oauth?: {
|
|
2311
2319
|
clientId?: string | undefined;
|
|
2312
2320
|
clientSecret?: string | undefined;
|
|
2313
2321
|
callbackPort?: number | undefined;
|
|
2314
2322
|
} | undefined;
|
|
2323
|
+
auth?: "apikey" | "oauth" | undefined;
|
|
2324
|
+
} | undefined;
|
|
2325
|
+
local?: {
|
|
2315
2326
|
apiKey?: string | undefined;
|
|
2316
2327
|
baseUrl?: string | undefined;
|
|
2317
2328
|
models?: string[] | undefined;
|
|
2318
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2319
|
-
} | undefined;
|
|
2320
|
-
'minimax-portal'?: {
|
|
2321
2329
|
oauth?: {
|
|
2322
2330
|
clientId?: string | undefined;
|
|
2323
2331
|
clientSecret?: string | undefined;
|
|
2324
2332
|
callbackPort?: number | undefined;
|
|
2325
2333
|
} | undefined;
|
|
2326
|
-
apiKey?: string | undefined;
|
|
2327
|
-
baseUrl?: string | undefined;
|
|
2328
|
-
models?: string[] | undefined;
|
|
2329
2334
|
auth?: "apikey" | "oauth" | undefined;
|
|
2335
|
+
model?: string | undefined;
|
|
2330
2336
|
} | undefined;
|
|
2331
2337
|
} | undefined;
|
|
2332
2338
|
maxSteps?: number | undefined;
|
|
@@ -2425,6 +2431,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2425
2431
|
token?: string | undefined;
|
|
2426
2432
|
allowFrom?: string[] | undefined;
|
|
2427
2433
|
applicationId?: string | undefined;
|
|
2434
|
+
channelIds?: string[] | undefined;
|
|
2428
2435
|
} | undefined;
|
|
2429
2436
|
telegram?: {
|
|
2430
2437
|
enabled?: boolean | undefined;
|