@cereworker/config 26.330.3 → 26.403.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 +376 -342
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +10 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -36,25 +36,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
36
36
|
callbackPort?: number | undefined;
|
|
37
37
|
}>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
auth: "
|
|
40
|
-
apiKey?: string | undefined;
|
|
41
|
-
baseUrl?: string | undefined;
|
|
42
|
-
models?: string[] | undefined;
|
|
39
|
+
auth: "oauth" | "apikey";
|
|
43
40
|
oauth?: {
|
|
44
41
|
callbackPort: number;
|
|
45
42
|
clientId?: string | undefined;
|
|
46
43
|
clientSecret?: string | undefined;
|
|
47
44
|
} | undefined;
|
|
48
|
-
}, {
|
|
49
45
|
apiKey?: string | undefined;
|
|
50
46
|
baseUrl?: string | undefined;
|
|
51
47
|
models?: string[] | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
52
50
|
oauth?: {
|
|
53
51
|
clientId?: string | undefined;
|
|
54
52
|
clientSecret?: string | undefined;
|
|
55
53
|
callbackPort?: number | undefined;
|
|
56
54
|
} | undefined;
|
|
57
|
-
|
|
55
|
+
apiKey?: string | undefined;
|
|
56
|
+
baseUrl?: string | undefined;
|
|
57
|
+
models?: string[] | undefined;
|
|
58
58
|
}>>;
|
|
59
59
|
openai: z.ZodOptional<z.ZodObject<{
|
|
60
60
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -75,25 +75,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
75
75
|
callbackPort?: number | undefined;
|
|
76
76
|
}>>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
auth: "
|
|
79
|
-
apiKey?: string | undefined;
|
|
80
|
-
baseUrl?: string | undefined;
|
|
81
|
-
models?: string[] | undefined;
|
|
78
|
+
auth: "oauth" | "apikey";
|
|
82
79
|
oauth?: {
|
|
83
80
|
callbackPort: number;
|
|
84
81
|
clientId?: string | undefined;
|
|
85
82
|
clientSecret?: string | undefined;
|
|
86
83
|
} | undefined;
|
|
87
|
-
}, {
|
|
88
84
|
apiKey?: string | undefined;
|
|
89
85
|
baseUrl?: string | undefined;
|
|
90
86
|
models?: string[] | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
91
89
|
oauth?: {
|
|
92
90
|
clientId?: string | undefined;
|
|
93
91
|
clientSecret?: string | undefined;
|
|
94
92
|
callbackPort?: number | undefined;
|
|
95
93
|
} | undefined;
|
|
96
|
-
|
|
94
|
+
apiKey?: string | undefined;
|
|
95
|
+
baseUrl?: string | undefined;
|
|
96
|
+
models?: string[] | undefined;
|
|
97
97
|
}>>;
|
|
98
98
|
'openai-codex': z.ZodOptional<z.ZodObject<{
|
|
99
99
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -114,25 +114,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
114
114
|
callbackPort?: number | undefined;
|
|
115
115
|
}>>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
auth: "
|
|
118
|
-
apiKey?: string | undefined;
|
|
119
|
-
baseUrl?: string | undefined;
|
|
120
|
-
models?: string[] | undefined;
|
|
117
|
+
auth: "oauth" | "apikey";
|
|
121
118
|
oauth?: {
|
|
122
119
|
callbackPort: number;
|
|
123
120
|
clientId?: string | undefined;
|
|
124
121
|
clientSecret?: string | undefined;
|
|
125
122
|
} | undefined;
|
|
126
|
-
}, {
|
|
127
123
|
apiKey?: string | undefined;
|
|
128
124
|
baseUrl?: string | undefined;
|
|
129
125
|
models?: string[] | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
130
128
|
oauth?: {
|
|
131
129
|
clientId?: string | undefined;
|
|
132
130
|
clientSecret?: string | undefined;
|
|
133
131
|
callbackPort?: number | undefined;
|
|
134
132
|
} | undefined;
|
|
135
|
-
|
|
133
|
+
apiKey?: string | undefined;
|
|
134
|
+
baseUrl?: string | undefined;
|
|
135
|
+
models?: string[] | undefined;
|
|
136
136
|
}>>;
|
|
137
137
|
google: z.ZodOptional<z.ZodObject<{
|
|
138
138
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -153,25 +153,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
153
153
|
callbackPort?: number | undefined;
|
|
154
154
|
}>>;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
auth: "
|
|
157
|
-
apiKey?: string | undefined;
|
|
158
|
-
baseUrl?: string | undefined;
|
|
159
|
-
models?: string[] | undefined;
|
|
156
|
+
auth: "oauth" | "apikey";
|
|
160
157
|
oauth?: {
|
|
161
158
|
callbackPort: number;
|
|
162
159
|
clientId?: string | undefined;
|
|
163
160
|
clientSecret?: string | undefined;
|
|
164
161
|
} | undefined;
|
|
165
|
-
}, {
|
|
166
162
|
apiKey?: string | undefined;
|
|
167
163
|
baseUrl?: string | undefined;
|
|
168
164
|
models?: string[] | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
169
167
|
oauth?: {
|
|
170
168
|
clientId?: string | undefined;
|
|
171
169
|
clientSecret?: string | undefined;
|
|
172
170
|
callbackPort?: number | undefined;
|
|
173
171
|
} | undefined;
|
|
174
|
-
|
|
172
|
+
apiKey?: string | undefined;
|
|
173
|
+
baseUrl?: string | undefined;
|
|
174
|
+
models?: string[] | undefined;
|
|
175
175
|
}>>;
|
|
176
176
|
openrouter: z.ZodOptional<z.ZodObject<{
|
|
177
177
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -192,25 +192,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
192
192
|
callbackPort?: number | undefined;
|
|
193
193
|
}>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
auth: "
|
|
196
|
-
apiKey?: string | undefined;
|
|
197
|
-
baseUrl?: string | undefined;
|
|
198
|
-
models?: string[] | undefined;
|
|
195
|
+
auth: "oauth" | "apikey";
|
|
199
196
|
oauth?: {
|
|
200
197
|
callbackPort: number;
|
|
201
198
|
clientId?: string | undefined;
|
|
202
199
|
clientSecret?: string | undefined;
|
|
203
200
|
} | undefined;
|
|
204
|
-
}, {
|
|
205
201
|
apiKey?: string | undefined;
|
|
206
202
|
baseUrl?: string | undefined;
|
|
207
203
|
models?: string[] | undefined;
|
|
204
|
+
}, {
|
|
205
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
208
206
|
oauth?: {
|
|
209
207
|
clientId?: string | undefined;
|
|
210
208
|
clientSecret?: string | undefined;
|
|
211
209
|
callbackPort?: number | undefined;
|
|
212
210
|
} | undefined;
|
|
213
|
-
|
|
211
|
+
apiKey?: string | undefined;
|
|
212
|
+
baseUrl?: string | undefined;
|
|
213
|
+
models?: string[] | undefined;
|
|
214
214
|
}>>;
|
|
215
215
|
deepseek: z.ZodOptional<z.ZodObject<{
|
|
216
216
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -231,25 +231,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
231
231
|
callbackPort?: number | undefined;
|
|
232
232
|
}>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
auth: "
|
|
235
|
-
apiKey?: string | undefined;
|
|
236
|
-
baseUrl?: string | undefined;
|
|
237
|
-
models?: string[] | undefined;
|
|
234
|
+
auth: "oauth" | "apikey";
|
|
238
235
|
oauth?: {
|
|
239
236
|
callbackPort: number;
|
|
240
237
|
clientId?: string | undefined;
|
|
241
238
|
clientSecret?: string | undefined;
|
|
242
239
|
} | undefined;
|
|
243
|
-
}, {
|
|
244
240
|
apiKey?: string | undefined;
|
|
245
241
|
baseUrl?: string | undefined;
|
|
246
242
|
models?: string[] | undefined;
|
|
243
|
+
}, {
|
|
244
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
247
245
|
oauth?: {
|
|
248
246
|
clientId?: string | undefined;
|
|
249
247
|
clientSecret?: string | undefined;
|
|
250
248
|
callbackPort?: number | undefined;
|
|
251
249
|
} | undefined;
|
|
252
|
-
|
|
250
|
+
apiKey?: string | undefined;
|
|
251
|
+
baseUrl?: string | undefined;
|
|
252
|
+
models?: string[] | undefined;
|
|
253
253
|
}>>;
|
|
254
254
|
xai: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -270,25 +270,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
270
270
|
callbackPort?: number | undefined;
|
|
271
271
|
}>>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
auth: "
|
|
274
|
-
apiKey?: string | undefined;
|
|
275
|
-
baseUrl?: string | undefined;
|
|
276
|
-
models?: string[] | undefined;
|
|
273
|
+
auth: "oauth" | "apikey";
|
|
277
274
|
oauth?: {
|
|
278
275
|
callbackPort: number;
|
|
279
276
|
clientId?: string | undefined;
|
|
280
277
|
clientSecret?: string | undefined;
|
|
281
278
|
} | undefined;
|
|
282
|
-
}, {
|
|
283
279
|
apiKey?: string | undefined;
|
|
284
280
|
baseUrl?: string | undefined;
|
|
285
281
|
models?: string[] | undefined;
|
|
282
|
+
}, {
|
|
283
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
286
284
|
oauth?: {
|
|
287
285
|
clientId?: string | undefined;
|
|
288
286
|
clientSecret?: string | undefined;
|
|
289
287
|
callbackPort?: number | undefined;
|
|
290
288
|
} | undefined;
|
|
291
|
-
|
|
289
|
+
apiKey?: string | undefined;
|
|
290
|
+
baseUrl?: string | undefined;
|
|
291
|
+
models?: string[] | undefined;
|
|
292
292
|
}>>;
|
|
293
293
|
mistral: z.ZodOptional<z.ZodObject<{
|
|
294
294
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -309,25 +309,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
309
309
|
callbackPort?: number | undefined;
|
|
310
310
|
}>>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
auth: "
|
|
313
|
-
apiKey?: string | undefined;
|
|
314
|
-
baseUrl?: string | undefined;
|
|
315
|
-
models?: string[] | undefined;
|
|
312
|
+
auth: "oauth" | "apikey";
|
|
316
313
|
oauth?: {
|
|
317
314
|
callbackPort: number;
|
|
318
315
|
clientId?: string | undefined;
|
|
319
316
|
clientSecret?: string | undefined;
|
|
320
317
|
} | undefined;
|
|
321
|
-
}, {
|
|
322
318
|
apiKey?: string | undefined;
|
|
323
319
|
baseUrl?: string | undefined;
|
|
324
320
|
models?: string[] | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
325
323
|
oauth?: {
|
|
326
324
|
clientId?: string | undefined;
|
|
327
325
|
clientSecret?: string | undefined;
|
|
328
326
|
callbackPort?: number | undefined;
|
|
329
327
|
} | undefined;
|
|
330
|
-
|
|
328
|
+
apiKey?: string | undefined;
|
|
329
|
+
baseUrl?: string | undefined;
|
|
330
|
+
models?: string[] | undefined;
|
|
331
331
|
}>>;
|
|
332
332
|
together: z.ZodOptional<z.ZodObject<{
|
|
333
333
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -348,25 +348,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
348
348
|
callbackPort?: number | undefined;
|
|
349
349
|
}>>;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
|
-
auth: "
|
|
352
|
-
apiKey?: string | undefined;
|
|
353
|
-
baseUrl?: string | undefined;
|
|
354
|
-
models?: string[] | undefined;
|
|
351
|
+
auth: "oauth" | "apikey";
|
|
355
352
|
oauth?: {
|
|
356
353
|
callbackPort: number;
|
|
357
354
|
clientId?: string | undefined;
|
|
358
355
|
clientSecret?: string | undefined;
|
|
359
356
|
} | undefined;
|
|
360
|
-
}, {
|
|
361
357
|
apiKey?: string | undefined;
|
|
362
358
|
baseUrl?: string | undefined;
|
|
363
359
|
models?: string[] | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
364
362
|
oauth?: {
|
|
365
363
|
clientId?: string | undefined;
|
|
366
364
|
clientSecret?: string | undefined;
|
|
367
365
|
callbackPort?: number | undefined;
|
|
368
366
|
} | undefined;
|
|
369
|
-
|
|
367
|
+
apiKey?: string | undefined;
|
|
368
|
+
baseUrl?: string | undefined;
|
|
369
|
+
models?: string[] | undefined;
|
|
370
370
|
}>>;
|
|
371
371
|
moonshot: z.ZodOptional<z.ZodObject<{
|
|
372
372
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -387,25 +387,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
387
387
|
callbackPort?: number | undefined;
|
|
388
388
|
}>>;
|
|
389
389
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
auth: "
|
|
391
|
-
apiKey?: string | undefined;
|
|
392
|
-
baseUrl?: string | undefined;
|
|
393
|
-
models?: string[] | undefined;
|
|
390
|
+
auth: "oauth" | "apikey";
|
|
394
391
|
oauth?: {
|
|
395
392
|
callbackPort: number;
|
|
396
393
|
clientId?: string | undefined;
|
|
397
394
|
clientSecret?: string | undefined;
|
|
398
395
|
} | undefined;
|
|
399
|
-
}, {
|
|
400
396
|
apiKey?: string | undefined;
|
|
401
397
|
baseUrl?: string | undefined;
|
|
402
398
|
models?: string[] | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
403
401
|
oauth?: {
|
|
404
402
|
clientId?: string | undefined;
|
|
405
403
|
clientSecret?: string | undefined;
|
|
406
404
|
callbackPort?: number | undefined;
|
|
407
405
|
} | undefined;
|
|
408
|
-
|
|
406
|
+
apiKey?: string | undefined;
|
|
407
|
+
baseUrl?: string | undefined;
|
|
408
|
+
models?: string[] | undefined;
|
|
409
409
|
}>>;
|
|
410
410
|
minimax: z.ZodOptional<z.ZodObject<{
|
|
411
411
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -426,25 +426,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
426
426
|
callbackPort?: number | undefined;
|
|
427
427
|
}>>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
auth: "
|
|
430
|
-
apiKey?: string | undefined;
|
|
431
|
-
baseUrl?: string | undefined;
|
|
432
|
-
models?: string[] | undefined;
|
|
429
|
+
auth: "oauth" | "apikey";
|
|
433
430
|
oauth?: {
|
|
434
431
|
callbackPort: number;
|
|
435
432
|
clientId?: string | undefined;
|
|
436
433
|
clientSecret?: string | undefined;
|
|
437
434
|
} | undefined;
|
|
438
|
-
}, {
|
|
439
435
|
apiKey?: string | undefined;
|
|
440
436
|
baseUrl?: string | undefined;
|
|
441
437
|
models?: string[] | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
442
440
|
oauth?: {
|
|
443
441
|
clientId?: string | undefined;
|
|
444
442
|
clientSecret?: string | undefined;
|
|
445
443
|
callbackPort?: number | undefined;
|
|
446
444
|
} | undefined;
|
|
447
|
-
|
|
445
|
+
apiKey?: string | undefined;
|
|
446
|
+
baseUrl?: string | undefined;
|
|
447
|
+
models?: string[] | undefined;
|
|
448
448
|
}>>;
|
|
449
449
|
'minimax-portal': z.ZodOptional<z.ZodObject<{
|
|
450
450
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -465,25 +465,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
465
465
|
callbackPort?: number | undefined;
|
|
466
466
|
}>>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
auth: "
|
|
469
|
-
apiKey?: string | undefined;
|
|
470
|
-
baseUrl?: string | undefined;
|
|
471
|
-
models?: string[] | undefined;
|
|
468
|
+
auth: "oauth" | "apikey";
|
|
472
469
|
oauth?: {
|
|
473
470
|
callbackPort: number;
|
|
474
471
|
clientId?: string | undefined;
|
|
475
472
|
clientSecret?: string | undefined;
|
|
476
473
|
} | undefined;
|
|
477
|
-
}, {
|
|
478
474
|
apiKey?: string | undefined;
|
|
479
475
|
baseUrl?: string | undefined;
|
|
480
476
|
models?: string[] | undefined;
|
|
477
|
+
}, {
|
|
478
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
481
479
|
oauth?: {
|
|
482
480
|
clientId?: string | undefined;
|
|
483
481
|
clientSecret?: string | undefined;
|
|
484
482
|
callbackPort?: number | undefined;
|
|
485
483
|
} | undefined;
|
|
486
|
-
|
|
484
|
+
apiKey?: string | undefined;
|
|
485
|
+
baseUrl?: string | undefined;
|
|
486
|
+
models?: string[] | undefined;
|
|
487
487
|
}>>;
|
|
488
488
|
local: z.ZodOptional<z.ZodObject<{
|
|
489
489
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
@@ -506,316 +506,316 @@ export declare const configSchema: z.ZodObject<{
|
|
|
506
506
|
baseUrl: z.ZodDefault<z.ZodString>;
|
|
507
507
|
model: z.ZodDefault<z.ZodString>;
|
|
508
508
|
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
auth: "oauth" | "apikey";
|
|
509
510
|
baseUrl: string;
|
|
510
|
-
auth: "apikey" | "oauth";
|
|
511
511
|
model: string;
|
|
512
|
-
apiKey?: string | undefined;
|
|
513
|
-
models?: string[] | undefined;
|
|
514
512
|
oauth?: {
|
|
515
513
|
callbackPort: number;
|
|
516
514
|
clientId?: string | undefined;
|
|
517
515
|
clientSecret?: string | undefined;
|
|
518
516
|
} | undefined;
|
|
519
|
-
}, {
|
|
520
517
|
apiKey?: string | undefined;
|
|
521
|
-
baseUrl?: string | undefined;
|
|
522
518
|
models?: string[] | undefined;
|
|
519
|
+
}, {
|
|
520
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
523
521
|
oauth?: {
|
|
524
522
|
clientId?: string | undefined;
|
|
525
523
|
clientSecret?: string | undefined;
|
|
526
524
|
callbackPort?: number | undefined;
|
|
527
525
|
} | undefined;
|
|
528
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
529
|
-
model?: string | undefined;
|
|
530
|
-
}>>;
|
|
531
|
-
}, "strip", z.ZodTypeAny, {
|
|
532
|
-
anthropic?: {
|
|
533
|
-
auth: "apikey" | "oauth";
|
|
534
526
|
apiKey?: string | undefined;
|
|
535
527
|
baseUrl?: string | undefined;
|
|
536
528
|
models?: string[] | undefined;
|
|
529
|
+
model?: string | undefined;
|
|
530
|
+
}>>;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
'openai-codex'?: {
|
|
533
|
+
auth: "oauth" | "apikey";
|
|
537
534
|
oauth?: {
|
|
538
535
|
callbackPort: number;
|
|
539
536
|
clientId?: string | undefined;
|
|
540
537
|
clientSecret?: string | undefined;
|
|
541
538
|
} | undefined;
|
|
542
|
-
} | undefined;
|
|
543
|
-
openai?: {
|
|
544
|
-
auth: "apikey" | "oauth";
|
|
545
539
|
apiKey?: string | undefined;
|
|
546
540
|
baseUrl?: string | undefined;
|
|
547
541
|
models?: string[] | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
openai?: {
|
|
544
|
+
auth: "oauth" | "apikey";
|
|
548
545
|
oauth?: {
|
|
549
546
|
callbackPort: number;
|
|
550
547
|
clientId?: string | undefined;
|
|
551
548
|
clientSecret?: string | undefined;
|
|
552
549
|
} | undefined;
|
|
553
|
-
} | undefined;
|
|
554
|
-
'openai-codex'?: {
|
|
555
|
-
auth: "apikey" | "oauth";
|
|
556
550
|
apiKey?: string | undefined;
|
|
557
551
|
baseUrl?: string | undefined;
|
|
558
552
|
models?: string[] | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
anthropic?: {
|
|
555
|
+
auth: "oauth" | "apikey";
|
|
559
556
|
oauth?: {
|
|
560
557
|
callbackPort: number;
|
|
561
558
|
clientId?: string | undefined;
|
|
562
559
|
clientSecret?: string | undefined;
|
|
563
560
|
} | undefined;
|
|
564
|
-
} | undefined;
|
|
565
|
-
google?: {
|
|
566
|
-
auth: "apikey" | "oauth";
|
|
567
561
|
apiKey?: string | undefined;
|
|
568
562
|
baseUrl?: string | undefined;
|
|
569
563
|
models?: string[] | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
google?: {
|
|
566
|
+
auth: "oauth" | "apikey";
|
|
570
567
|
oauth?: {
|
|
571
568
|
callbackPort: number;
|
|
572
569
|
clientId?: string | undefined;
|
|
573
570
|
clientSecret?: string | undefined;
|
|
574
571
|
} | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
openrouter?: {
|
|
577
|
-
auth: "apikey" | "oauth";
|
|
578
572
|
apiKey?: string | undefined;
|
|
579
573
|
baseUrl?: string | undefined;
|
|
580
574
|
models?: string[] | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
openrouter?: {
|
|
577
|
+
auth: "oauth" | "apikey";
|
|
581
578
|
oauth?: {
|
|
582
579
|
callbackPort: number;
|
|
583
580
|
clientId?: string | undefined;
|
|
584
581
|
clientSecret?: string | undefined;
|
|
585
582
|
} | undefined;
|
|
586
|
-
} | undefined;
|
|
587
|
-
deepseek?: {
|
|
588
|
-
auth: "apikey" | "oauth";
|
|
589
583
|
apiKey?: string | undefined;
|
|
590
584
|
baseUrl?: string | undefined;
|
|
591
585
|
models?: string[] | undefined;
|
|
586
|
+
} | undefined;
|
|
587
|
+
deepseek?: {
|
|
588
|
+
auth: "oauth" | "apikey";
|
|
592
589
|
oauth?: {
|
|
593
590
|
callbackPort: number;
|
|
594
591
|
clientId?: string | undefined;
|
|
595
592
|
clientSecret?: string | undefined;
|
|
596
593
|
} | undefined;
|
|
597
|
-
} | undefined;
|
|
598
|
-
xai?: {
|
|
599
|
-
auth: "apikey" | "oauth";
|
|
600
594
|
apiKey?: string | undefined;
|
|
601
595
|
baseUrl?: string | undefined;
|
|
602
596
|
models?: string[] | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
xai?: {
|
|
599
|
+
auth: "oauth" | "apikey";
|
|
603
600
|
oauth?: {
|
|
604
601
|
callbackPort: number;
|
|
605
602
|
clientId?: string | undefined;
|
|
606
603
|
clientSecret?: string | undefined;
|
|
607
604
|
} | undefined;
|
|
608
|
-
} | undefined;
|
|
609
|
-
mistral?: {
|
|
610
|
-
auth: "apikey" | "oauth";
|
|
611
605
|
apiKey?: string | undefined;
|
|
612
606
|
baseUrl?: string | undefined;
|
|
613
607
|
models?: string[] | undefined;
|
|
608
|
+
} | undefined;
|
|
609
|
+
mistral?: {
|
|
610
|
+
auth: "oauth" | "apikey";
|
|
614
611
|
oauth?: {
|
|
615
612
|
callbackPort: number;
|
|
616
613
|
clientId?: string | undefined;
|
|
617
614
|
clientSecret?: string | undefined;
|
|
618
615
|
} | undefined;
|
|
619
|
-
} | undefined;
|
|
620
|
-
together?: {
|
|
621
|
-
auth: "apikey" | "oauth";
|
|
622
616
|
apiKey?: string | undefined;
|
|
623
617
|
baseUrl?: string | undefined;
|
|
624
618
|
models?: string[] | undefined;
|
|
619
|
+
} | undefined;
|
|
620
|
+
together?: {
|
|
621
|
+
auth: "oauth" | "apikey";
|
|
625
622
|
oauth?: {
|
|
626
623
|
callbackPort: number;
|
|
627
624
|
clientId?: string | undefined;
|
|
628
625
|
clientSecret?: string | undefined;
|
|
629
626
|
} | undefined;
|
|
630
|
-
} | undefined;
|
|
631
|
-
moonshot?: {
|
|
632
|
-
auth: "apikey" | "oauth";
|
|
633
627
|
apiKey?: string | undefined;
|
|
634
628
|
baseUrl?: string | undefined;
|
|
635
629
|
models?: string[] | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
moonshot?: {
|
|
632
|
+
auth: "oauth" | "apikey";
|
|
636
633
|
oauth?: {
|
|
637
634
|
callbackPort: number;
|
|
638
635
|
clientId?: string | undefined;
|
|
639
636
|
clientSecret?: string | undefined;
|
|
640
637
|
} | undefined;
|
|
641
|
-
} | undefined;
|
|
642
|
-
minimax?: {
|
|
643
|
-
auth: "apikey" | "oauth";
|
|
644
638
|
apiKey?: string | undefined;
|
|
645
639
|
baseUrl?: string | undefined;
|
|
646
640
|
models?: string[] | undefined;
|
|
641
|
+
} | undefined;
|
|
642
|
+
minimax?: {
|
|
643
|
+
auth: "oauth" | "apikey";
|
|
647
644
|
oauth?: {
|
|
648
645
|
callbackPort: number;
|
|
649
646
|
clientId?: string | undefined;
|
|
650
647
|
clientSecret?: string | undefined;
|
|
651
648
|
} | undefined;
|
|
652
|
-
} | undefined;
|
|
653
|
-
'minimax-portal'?: {
|
|
654
|
-
auth: "apikey" | "oauth";
|
|
655
649
|
apiKey?: string | undefined;
|
|
656
650
|
baseUrl?: string | undefined;
|
|
657
651
|
models?: string[] | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
'minimax-portal'?: {
|
|
654
|
+
auth: "oauth" | "apikey";
|
|
658
655
|
oauth?: {
|
|
659
656
|
callbackPort: number;
|
|
660
657
|
clientId?: string | undefined;
|
|
661
658
|
clientSecret?: string | undefined;
|
|
662
659
|
} | undefined;
|
|
660
|
+
apiKey?: string | undefined;
|
|
661
|
+
baseUrl?: string | undefined;
|
|
662
|
+
models?: string[] | undefined;
|
|
663
663
|
} | undefined;
|
|
664
664
|
local?: {
|
|
665
|
+
auth: "oauth" | "apikey";
|
|
665
666
|
baseUrl: string;
|
|
666
|
-
auth: "apikey" | "oauth";
|
|
667
667
|
model: string;
|
|
668
|
-
apiKey?: string | undefined;
|
|
669
|
-
models?: string[] | undefined;
|
|
670
668
|
oauth?: {
|
|
671
669
|
callbackPort: number;
|
|
672
670
|
clientId?: string | undefined;
|
|
673
671
|
clientSecret?: string | undefined;
|
|
674
672
|
} | undefined;
|
|
675
|
-
} | undefined;
|
|
676
|
-
}, {
|
|
677
|
-
anthropic?: {
|
|
678
673
|
apiKey?: string | undefined;
|
|
679
|
-
baseUrl?: string | undefined;
|
|
680
674
|
models?: string[] | undefined;
|
|
675
|
+
} | undefined;
|
|
676
|
+
}, {
|
|
677
|
+
'openai-codex'?: {
|
|
678
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
681
679
|
oauth?: {
|
|
682
680
|
clientId?: string | undefined;
|
|
683
681
|
clientSecret?: string | undefined;
|
|
684
682
|
callbackPort?: number | undefined;
|
|
685
683
|
} | undefined;
|
|
686
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
687
|
-
} | undefined;
|
|
688
|
-
openai?: {
|
|
689
684
|
apiKey?: string | undefined;
|
|
690
685
|
baseUrl?: string | undefined;
|
|
691
686
|
models?: string[] | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
openai?: {
|
|
689
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
692
690
|
oauth?: {
|
|
693
691
|
clientId?: string | undefined;
|
|
694
692
|
clientSecret?: string | undefined;
|
|
695
693
|
callbackPort?: number | undefined;
|
|
696
694
|
} | undefined;
|
|
697
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
698
|
-
} | undefined;
|
|
699
|
-
'openai-codex'?: {
|
|
700
695
|
apiKey?: string | undefined;
|
|
701
696
|
baseUrl?: string | undefined;
|
|
702
697
|
models?: string[] | undefined;
|
|
698
|
+
} | undefined;
|
|
699
|
+
anthropic?: {
|
|
700
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
703
701
|
oauth?: {
|
|
704
702
|
clientId?: string | undefined;
|
|
705
703
|
clientSecret?: string | undefined;
|
|
706
704
|
callbackPort?: number | undefined;
|
|
707
705
|
} | undefined;
|
|
708
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
709
|
-
} | undefined;
|
|
710
|
-
google?: {
|
|
711
706
|
apiKey?: string | undefined;
|
|
712
707
|
baseUrl?: string | undefined;
|
|
713
708
|
models?: string[] | undefined;
|
|
709
|
+
} | undefined;
|
|
710
|
+
google?: {
|
|
711
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
714
712
|
oauth?: {
|
|
715
713
|
clientId?: string | undefined;
|
|
716
714
|
clientSecret?: string | undefined;
|
|
717
715
|
callbackPort?: number | undefined;
|
|
718
716
|
} | undefined;
|
|
719
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
720
|
-
} | undefined;
|
|
721
|
-
openrouter?: {
|
|
722
717
|
apiKey?: string | undefined;
|
|
723
718
|
baseUrl?: string | undefined;
|
|
724
719
|
models?: string[] | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
openrouter?: {
|
|
722
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
725
723
|
oauth?: {
|
|
726
724
|
clientId?: string | undefined;
|
|
727
725
|
clientSecret?: string | undefined;
|
|
728
726
|
callbackPort?: number | undefined;
|
|
729
727
|
} | undefined;
|
|
730
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
731
|
-
} | undefined;
|
|
732
|
-
deepseek?: {
|
|
733
728
|
apiKey?: string | undefined;
|
|
734
729
|
baseUrl?: string | undefined;
|
|
735
730
|
models?: string[] | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
deepseek?: {
|
|
733
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
736
734
|
oauth?: {
|
|
737
735
|
clientId?: string | undefined;
|
|
738
736
|
clientSecret?: string | undefined;
|
|
739
737
|
callbackPort?: number | undefined;
|
|
740
738
|
} | undefined;
|
|
741
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
742
|
-
} | undefined;
|
|
743
|
-
xai?: {
|
|
744
739
|
apiKey?: string | undefined;
|
|
745
740
|
baseUrl?: string | undefined;
|
|
746
741
|
models?: string[] | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
xai?: {
|
|
744
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
747
745
|
oauth?: {
|
|
748
746
|
clientId?: string | undefined;
|
|
749
747
|
clientSecret?: string | undefined;
|
|
750
748
|
callbackPort?: number | undefined;
|
|
751
749
|
} | undefined;
|
|
752
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
753
|
-
} | undefined;
|
|
754
|
-
mistral?: {
|
|
755
750
|
apiKey?: string | undefined;
|
|
756
751
|
baseUrl?: string | undefined;
|
|
757
752
|
models?: string[] | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
mistral?: {
|
|
755
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
758
756
|
oauth?: {
|
|
759
757
|
clientId?: string | undefined;
|
|
760
758
|
clientSecret?: string | undefined;
|
|
761
759
|
callbackPort?: number | undefined;
|
|
762
760
|
} | undefined;
|
|
763
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
764
|
-
} | undefined;
|
|
765
|
-
together?: {
|
|
766
761
|
apiKey?: string | undefined;
|
|
767
762
|
baseUrl?: string | undefined;
|
|
768
763
|
models?: string[] | undefined;
|
|
764
|
+
} | undefined;
|
|
765
|
+
together?: {
|
|
766
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
769
767
|
oauth?: {
|
|
770
768
|
clientId?: string | undefined;
|
|
771
769
|
clientSecret?: string | undefined;
|
|
772
770
|
callbackPort?: number | undefined;
|
|
773
771
|
} | undefined;
|
|
774
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
775
|
-
} | undefined;
|
|
776
|
-
moonshot?: {
|
|
777
772
|
apiKey?: string | undefined;
|
|
778
773
|
baseUrl?: string | undefined;
|
|
779
774
|
models?: string[] | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
moonshot?: {
|
|
777
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
780
778
|
oauth?: {
|
|
781
779
|
clientId?: string | undefined;
|
|
782
780
|
clientSecret?: string | undefined;
|
|
783
781
|
callbackPort?: number | undefined;
|
|
784
782
|
} | undefined;
|
|
785
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
786
|
-
} | undefined;
|
|
787
|
-
minimax?: {
|
|
788
783
|
apiKey?: string | undefined;
|
|
789
784
|
baseUrl?: string | undefined;
|
|
790
785
|
models?: string[] | undefined;
|
|
786
|
+
} | undefined;
|
|
787
|
+
minimax?: {
|
|
788
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
791
789
|
oauth?: {
|
|
792
790
|
clientId?: string | undefined;
|
|
793
791
|
clientSecret?: string | undefined;
|
|
794
792
|
callbackPort?: number | undefined;
|
|
795
793
|
} | undefined;
|
|
796
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
797
|
-
} | undefined;
|
|
798
|
-
'minimax-portal'?: {
|
|
799
794
|
apiKey?: string | undefined;
|
|
800
795
|
baseUrl?: string | undefined;
|
|
801
796
|
models?: string[] | undefined;
|
|
797
|
+
} | undefined;
|
|
798
|
+
'minimax-portal'?: {
|
|
799
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
802
800
|
oauth?: {
|
|
803
801
|
clientId?: string | undefined;
|
|
804
802
|
clientSecret?: string | undefined;
|
|
805
803
|
callbackPort?: number | undefined;
|
|
806
804
|
} | undefined;
|
|
807
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
808
|
-
} | undefined;
|
|
809
|
-
local?: {
|
|
810
805
|
apiKey?: string | undefined;
|
|
811
806
|
baseUrl?: string | undefined;
|
|
812
807
|
models?: string[] | undefined;
|
|
808
|
+
} | undefined;
|
|
809
|
+
local?: {
|
|
810
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
813
811
|
oauth?: {
|
|
814
812
|
clientId?: string | undefined;
|
|
815
813
|
clientSecret?: string | undefined;
|
|
816
814
|
callbackPort?: number | undefined;
|
|
817
815
|
} | undefined;
|
|
818
|
-
|
|
816
|
+
apiKey?: string | undefined;
|
|
817
|
+
baseUrl?: string | undefined;
|
|
818
|
+
models?: string[] | undefined;
|
|
819
819
|
model?: string | undefined;
|
|
820
820
|
} | undefined;
|
|
821
821
|
}>>;
|
|
@@ -838,154 +838,154 @@ export declare const configSchema: z.ZodObject<{
|
|
|
838
838
|
streamStallThreshold: z.ZodDefault<z.ZodNumber>;
|
|
839
839
|
maxNudgeRetries: z.ZodDefault<z.ZodNumber>;
|
|
840
840
|
}, "strip", z.ZodTypeAny, {
|
|
841
|
-
defaultProvider: string;
|
|
842
|
-
defaultModel: string;
|
|
843
841
|
providers: {
|
|
844
|
-
|
|
845
|
-
auth: "
|
|
846
|
-
apiKey?: string | undefined;
|
|
847
|
-
baseUrl?: string | undefined;
|
|
848
|
-
models?: string[] | undefined;
|
|
842
|
+
'openai-codex'?: {
|
|
843
|
+
auth: "oauth" | "apikey";
|
|
849
844
|
oauth?: {
|
|
850
845
|
callbackPort: number;
|
|
851
846
|
clientId?: string | undefined;
|
|
852
847
|
clientSecret?: string | undefined;
|
|
853
848
|
} | undefined;
|
|
854
|
-
} | undefined;
|
|
855
|
-
openai?: {
|
|
856
|
-
auth: "apikey" | "oauth";
|
|
857
849
|
apiKey?: string | undefined;
|
|
858
850
|
baseUrl?: string | undefined;
|
|
859
851
|
models?: string[] | undefined;
|
|
852
|
+
} | undefined;
|
|
853
|
+
openai?: {
|
|
854
|
+
auth: "oauth" | "apikey";
|
|
860
855
|
oauth?: {
|
|
861
856
|
callbackPort: number;
|
|
862
857
|
clientId?: string | undefined;
|
|
863
858
|
clientSecret?: string | undefined;
|
|
864
859
|
} | undefined;
|
|
865
|
-
} | undefined;
|
|
866
|
-
'openai-codex'?: {
|
|
867
|
-
auth: "apikey" | "oauth";
|
|
868
860
|
apiKey?: string | undefined;
|
|
869
861
|
baseUrl?: string | undefined;
|
|
870
862
|
models?: string[] | undefined;
|
|
863
|
+
} | undefined;
|
|
864
|
+
anthropic?: {
|
|
865
|
+
auth: "oauth" | "apikey";
|
|
871
866
|
oauth?: {
|
|
872
867
|
callbackPort: number;
|
|
873
868
|
clientId?: string | undefined;
|
|
874
869
|
clientSecret?: string | undefined;
|
|
875
870
|
} | undefined;
|
|
876
|
-
} | undefined;
|
|
877
|
-
google?: {
|
|
878
|
-
auth: "apikey" | "oauth";
|
|
879
871
|
apiKey?: string | undefined;
|
|
880
872
|
baseUrl?: string | undefined;
|
|
881
873
|
models?: string[] | undefined;
|
|
874
|
+
} | undefined;
|
|
875
|
+
google?: {
|
|
876
|
+
auth: "oauth" | "apikey";
|
|
882
877
|
oauth?: {
|
|
883
878
|
callbackPort: number;
|
|
884
879
|
clientId?: string | undefined;
|
|
885
880
|
clientSecret?: string | undefined;
|
|
886
881
|
} | undefined;
|
|
887
|
-
} | undefined;
|
|
888
|
-
openrouter?: {
|
|
889
|
-
auth: "apikey" | "oauth";
|
|
890
882
|
apiKey?: string | undefined;
|
|
891
883
|
baseUrl?: string | undefined;
|
|
892
884
|
models?: string[] | undefined;
|
|
885
|
+
} | undefined;
|
|
886
|
+
openrouter?: {
|
|
887
|
+
auth: "oauth" | "apikey";
|
|
893
888
|
oauth?: {
|
|
894
889
|
callbackPort: number;
|
|
895
890
|
clientId?: string | undefined;
|
|
896
891
|
clientSecret?: string | undefined;
|
|
897
892
|
} | undefined;
|
|
898
|
-
} | undefined;
|
|
899
|
-
deepseek?: {
|
|
900
|
-
auth: "apikey" | "oauth";
|
|
901
893
|
apiKey?: string | undefined;
|
|
902
894
|
baseUrl?: string | undefined;
|
|
903
895
|
models?: string[] | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
deepseek?: {
|
|
898
|
+
auth: "oauth" | "apikey";
|
|
904
899
|
oauth?: {
|
|
905
900
|
callbackPort: number;
|
|
906
901
|
clientId?: string | undefined;
|
|
907
902
|
clientSecret?: string | undefined;
|
|
908
903
|
} | undefined;
|
|
909
|
-
} | undefined;
|
|
910
|
-
xai?: {
|
|
911
|
-
auth: "apikey" | "oauth";
|
|
912
904
|
apiKey?: string | undefined;
|
|
913
905
|
baseUrl?: string | undefined;
|
|
914
906
|
models?: string[] | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
xai?: {
|
|
909
|
+
auth: "oauth" | "apikey";
|
|
915
910
|
oauth?: {
|
|
916
911
|
callbackPort: number;
|
|
917
912
|
clientId?: string | undefined;
|
|
918
913
|
clientSecret?: string | undefined;
|
|
919
914
|
} | undefined;
|
|
920
|
-
} | undefined;
|
|
921
|
-
mistral?: {
|
|
922
|
-
auth: "apikey" | "oauth";
|
|
923
915
|
apiKey?: string | undefined;
|
|
924
916
|
baseUrl?: string | undefined;
|
|
925
917
|
models?: string[] | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
mistral?: {
|
|
920
|
+
auth: "oauth" | "apikey";
|
|
926
921
|
oauth?: {
|
|
927
922
|
callbackPort: number;
|
|
928
923
|
clientId?: string | undefined;
|
|
929
924
|
clientSecret?: string | undefined;
|
|
930
925
|
} | undefined;
|
|
931
|
-
} | undefined;
|
|
932
|
-
together?: {
|
|
933
|
-
auth: "apikey" | "oauth";
|
|
934
926
|
apiKey?: string | undefined;
|
|
935
927
|
baseUrl?: string | undefined;
|
|
936
928
|
models?: string[] | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
together?: {
|
|
931
|
+
auth: "oauth" | "apikey";
|
|
937
932
|
oauth?: {
|
|
938
933
|
callbackPort: number;
|
|
939
934
|
clientId?: string | undefined;
|
|
940
935
|
clientSecret?: string | undefined;
|
|
941
936
|
} | undefined;
|
|
942
|
-
} | undefined;
|
|
943
|
-
moonshot?: {
|
|
944
|
-
auth: "apikey" | "oauth";
|
|
945
937
|
apiKey?: string | undefined;
|
|
946
938
|
baseUrl?: string | undefined;
|
|
947
939
|
models?: string[] | undefined;
|
|
940
|
+
} | undefined;
|
|
941
|
+
moonshot?: {
|
|
942
|
+
auth: "oauth" | "apikey";
|
|
948
943
|
oauth?: {
|
|
949
944
|
callbackPort: number;
|
|
950
945
|
clientId?: string | undefined;
|
|
951
946
|
clientSecret?: string | undefined;
|
|
952
947
|
} | undefined;
|
|
953
|
-
} | undefined;
|
|
954
|
-
minimax?: {
|
|
955
|
-
auth: "apikey" | "oauth";
|
|
956
948
|
apiKey?: string | undefined;
|
|
957
949
|
baseUrl?: string | undefined;
|
|
958
950
|
models?: string[] | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
minimax?: {
|
|
953
|
+
auth: "oauth" | "apikey";
|
|
959
954
|
oauth?: {
|
|
960
955
|
callbackPort: number;
|
|
961
956
|
clientId?: string | undefined;
|
|
962
957
|
clientSecret?: string | undefined;
|
|
963
958
|
} | undefined;
|
|
964
|
-
} | undefined;
|
|
965
|
-
'minimax-portal'?: {
|
|
966
|
-
auth: "apikey" | "oauth";
|
|
967
959
|
apiKey?: string | undefined;
|
|
968
960
|
baseUrl?: string | undefined;
|
|
969
961
|
models?: string[] | undefined;
|
|
962
|
+
} | undefined;
|
|
963
|
+
'minimax-portal'?: {
|
|
964
|
+
auth: "oauth" | "apikey";
|
|
970
965
|
oauth?: {
|
|
971
966
|
callbackPort: number;
|
|
972
967
|
clientId?: string | undefined;
|
|
973
968
|
clientSecret?: string | undefined;
|
|
974
969
|
} | undefined;
|
|
970
|
+
apiKey?: string | undefined;
|
|
971
|
+
baseUrl?: string | undefined;
|
|
972
|
+
models?: string[] | undefined;
|
|
975
973
|
} | undefined;
|
|
976
974
|
local?: {
|
|
975
|
+
auth: "oauth" | "apikey";
|
|
977
976
|
baseUrl: string;
|
|
978
|
-
auth: "apikey" | "oauth";
|
|
979
977
|
model: string;
|
|
980
|
-
apiKey?: string | undefined;
|
|
981
|
-
models?: string[] | undefined;
|
|
982
978
|
oauth?: {
|
|
983
979
|
callbackPort: number;
|
|
984
980
|
clientId?: string | undefined;
|
|
985
981
|
clientSecret?: string | undefined;
|
|
986
982
|
} | undefined;
|
|
983
|
+
apiKey?: string | undefined;
|
|
984
|
+
models?: string[] | undefined;
|
|
987
985
|
} | undefined;
|
|
988
986
|
};
|
|
987
|
+
defaultProvider: string;
|
|
988
|
+
defaultModel: string;
|
|
989
989
|
maxSteps: number;
|
|
990
990
|
temperature: number;
|
|
991
991
|
contextWindow: number;
|
|
@@ -997,154 +997,154 @@ export declare const configSchema: z.ZodObject<{
|
|
|
997
997
|
streamStallThreshold: number;
|
|
998
998
|
maxNudgeRetries: number;
|
|
999
999
|
}, {
|
|
1000
|
-
defaultProvider?: string | undefined;
|
|
1001
|
-
defaultModel?: string | undefined;
|
|
1002
1000
|
providers?: {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
baseUrl?: string | undefined;
|
|
1006
|
-
models?: string[] | undefined;
|
|
1001
|
+
'openai-codex'?: {
|
|
1002
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1007
1003
|
oauth?: {
|
|
1008
1004
|
clientId?: string | undefined;
|
|
1009
1005
|
clientSecret?: string | undefined;
|
|
1010
1006
|
callbackPort?: number | undefined;
|
|
1011
1007
|
} | undefined;
|
|
1012
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1013
|
-
} | undefined;
|
|
1014
|
-
openai?: {
|
|
1015
1008
|
apiKey?: string | undefined;
|
|
1016
1009
|
baseUrl?: string | undefined;
|
|
1017
1010
|
models?: string[] | undefined;
|
|
1011
|
+
} | undefined;
|
|
1012
|
+
openai?: {
|
|
1013
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1018
1014
|
oauth?: {
|
|
1019
1015
|
clientId?: string | undefined;
|
|
1020
1016
|
clientSecret?: string | undefined;
|
|
1021
1017
|
callbackPort?: number | undefined;
|
|
1022
1018
|
} | undefined;
|
|
1023
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1024
|
-
} | undefined;
|
|
1025
|
-
'openai-codex'?: {
|
|
1026
1019
|
apiKey?: string | undefined;
|
|
1027
1020
|
baseUrl?: string | undefined;
|
|
1028
1021
|
models?: string[] | undefined;
|
|
1022
|
+
} | undefined;
|
|
1023
|
+
anthropic?: {
|
|
1024
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1029
1025
|
oauth?: {
|
|
1030
1026
|
clientId?: string | undefined;
|
|
1031
1027
|
clientSecret?: string | undefined;
|
|
1032
1028
|
callbackPort?: number | undefined;
|
|
1033
1029
|
} | undefined;
|
|
1034
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1035
|
-
} | undefined;
|
|
1036
|
-
google?: {
|
|
1037
1030
|
apiKey?: string | undefined;
|
|
1038
1031
|
baseUrl?: string | undefined;
|
|
1039
1032
|
models?: string[] | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
google?: {
|
|
1035
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1040
1036
|
oauth?: {
|
|
1041
1037
|
clientId?: string | undefined;
|
|
1042
1038
|
clientSecret?: string | undefined;
|
|
1043
1039
|
callbackPort?: number | undefined;
|
|
1044
1040
|
} | undefined;
|
|
1045
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1046
|
-
} | undefined;
|
|
1047
|
-
openrouter?: {
|
|
1048
1041
|
apiKey?: string | undefined;
|
|
1049
1042
|
baseUrl?: string | undefined;
|
|
1050
1043
|
models?: string[] | undefined;
|
|
1044
|
+
} | undefined;
|
|
1045
|
+
openrouter?: {
|
|
1046
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1051
1047
|
oauth?: {
|
|
1052
1048
|
clientId?: string | undefined;
|
|
1053
1049
|
clientSecret?: string | undefined;
|
|
1054
1050
|
callbackPort?: number | undefined;
|
|
1055
1051
|
} | undefined;
|
|
1056
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1057
|
-
} | undefined;
|
|
1058
|
-
deepseek?: {
|
|
1059
1052
|
apiKey?: string | undefined;
|
|
1060
1053
|
baseUrl?: string | undefined;
|
|
1061
1054
|
models?: string[] | undefined;
|
|
1055
|
+
} | undefined;
|
|
1056
|
+
deepseek?: {
|
|
1057
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1062
1058
|
oauth?: {
|
|
1063
1059
|
clientId?: string | undefined;
|
|
1064
1060
|
clientSecret?: string | undefined;
|
|
1065
1061
|
callbackPort?: number | undefined;
|
|
1066
1062
|
} | undefined;
|
|
1067
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1068
|
-
} | undefined;
|
|
1069
|
-
xai?: {
|
|
1070
1063
|
apiKey?: string | undefined;
|
|
1071
1064
|
baseUrl?: string | undefined;
|
|
1072
1065
|
models?: string[] | undefined;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
xai?: {
|
|
1068
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1073
1069
|
oauth?: {
|
|
1074
1070
|
clientId?: string | undefined;
|
|
1075
1071
|
clientSecret?: string | undefined;
|
|
1076
1072
|
callbackPort?: number | undefined;
|
|
1077
1073
|
} | undefined;
|
|
1078
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1079
|
-
} | undefined;
|
|
1080
|
-
mistral?: {
|
|
1081
1074
|
apiKey?: string | undefined;
|
|
1082
1075
|
baseUrl?: string | undefined;
|
|
1083
1076
|
models?: string[] | undefined;
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
mistral?: {
|
|
1079
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1084
1080
|
oauth?: {
|
|
1085
1081
|
clientId?: string | undefined;
|
|
1086
1082
|
clientSecret?: string | undefined;
|
|
1087
1083
|
callbackPort?: number | undefined;
|
|
1088
1084
|
} | undefined;
|
|
1089
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1090
|
-
} | undefined;
|
|
1091
|
-
together?: {
|
|
1092
1085
|
apiKey?: string | undefined;
|
|
1093
1086
|
baseUrl?: string | undefined;
|
|
1094
1087
|
models?: string[] | undefined;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
together?: {
|
|
1090
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1095
1091
|
oauth?: {
|
|
1096
1092
|
clientId?: string | undefined;
|
|
1097
1093
|
clientSecret?: string | undefined;
|
|
1098
1094
|
callbackPort?: number | undefined;
|
|
1099
1095
|
} | undefined;
|
|
1100
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
moonshot?: {
|
|
1103
1096
|
apiKey?: string | undefined;
|
|
1104
1097
|
baseUrl?: string | undefined;
|
|
1105
1098
|
models?: string[] | undefined;
|
|
1099
|
+
} | undefined;
|
|
1100
|
+
moonshot?: {
|
|
1101
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1106
1102
|
oauth?: {
|
|
1107
1103
|
clientId?: string | undefined;
|
|
1108
1104
|
clientSecret?: string | undefined;
|
|
1109
1105
|
callbackPort?: number | undefined;
|
|
1110
1106
|
} | undefined;
|
|
1111
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1112
|
-
} | undefined;
|
|
1113
|
-
minimax?: {
|
|
1114
1107
|
apiKey?: string | undefined;
|
|
1115
1108
|
baseUrl?: string | undefined;
|
|
1116
1109
|
models?: string[] | undefined;
|
|
1110
|
+
} | undefined;
|
|
1111
|
+
minimax?: {
|
|
1112
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1117
1113
|
oauth?: {
|
|
1118
1114
|
clientId?: string | undefined;
|
|
1119
1115
|
clientSecret?: string | undefined;
|
|
1120
1116
|
callbackPort?: number | undefined;
|
|
1121
1117
|
} | undefined;
|
|
1122
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1123
|
-
} | undefined;
|
|
1124
|
-
'minimax-portal'?: {
|
|
1125
1118
|
apiKey?: string | undefined;
|
|
1126
1119
|
baseUrl?: string | undefined;
|
|
1127
1120
|
models?: string[] | undefined;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
'minimax-portal'?: {
|
|
1123
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1128
1124
|
oauth?: {
|
|
1129
1125
|
clientId?: string | undefined;
|
|
1130
1126
|
clientSecret?: string | undefined;
|
|
1131
1127
|
callbackPort?: number | undefined;
|
|
1132
1128
|
} | undefined;
|
|
1133
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
1134
|
-
} | undefined;
|
|
1135
|
-
local?: {
|
|
1136
1129
|
apiKey?: string | undefined;
|
|
1137
1130
|
baseUrl?: string | undefined;
|
|
1138
1131
|
models?: string[] | undefined;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
local?: {
|
|
1134
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
1139
1135
|
oauth?: {
|
|
1140
1136
|
clientId?: string | undefined;
|
|
1141
1137
|
clientSecret?: string | undefined;
|
|
1142
1138
|
callbackPort?: number | undefined;
|
|
1143
1139
|
} | undefined;
|
|
1144
|
-
|
|
1140
|
+
apiKey?: string | undefined;
|
|
1141
|
+
baseUrl?: string | undefined;
|
|
1142
|
+
models?: string[] | undefined;
|
|
1145
1143
|
model?: string | undefined;
|
|
1146
1144
|
} | undefined;
|
|
1147
1145
|
} | undefined;
|
|
1146
|
+
defaultProvider?: string | undefined;
|
|
1147
|
+
defaultModel?: string | undefined;
|
|
1148
1148
|
maxSteps?: number | undefined;
|
|
1149
1149
|
temperature?: number | undefined;
|
|
1150
1150
|
contextWindow?: number | undefined;
|
|
@@ -1261,6 +1261,28 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1261
1261
|
composeFile?: string | undefined;
|
|
1262
1262
|
} | undefined;
|
|
1263
1263
|
}>>;
|
|
1264
|
+
conversations: z.ZodDefault<z.ZodObject<{
|
|
1265
|
+
turnJournals: z.ZodDefault<z.ZodObject<{
|
|
1266
|
+
maxDays: z.ZodDefault<z.ZodNumber>;
|
|
1267
|
+
maxFilesPerConversation: z.ZodDefault<z.ZodNumber>;
|
|
1268
|
+
}, "strip", z.ZodTypeAny, {
|
|
1269
|
+
maxDays: number;
|
|
1270
|
+
maxFilesPerConversation: number;
|
|
1271
|
+
}, {
|
|
1272
|
+
maxDays?: number | undefined;
|
|
1273
|
+
maxFilesPerConversation?: number | undefined;
|
|
1274
|
+
}>>;
|
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
|
1276
|
+
turnJournals: {
|
|
1277
|
+
maxDays: number;
|
|
1278
|
+
maxFilesPerConversation: number;
|
|
1279
|
+
};
|
|
1280
|
+
}, {
|
|
1281
|
+
turnJournals?: {
|
|
1282
|
+
maxDays?: number | undefined;
|
|
1283
|
+
maxFilesPerConversation?: number | undefined;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
}>>;
|
|
1264
1286
|
tools: z.ZodDefault<z.ZodObject<{
|
|
1265
1287
|
shell: z.ZodDefault<z.ZodObject<{
|
|
1266
1288
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1949,160 +1971,155 @@ export declare const configSchema: z.ZodObject<{
|
|
|
1949
1971
|
capabilities?: string[] | undefined;
|
|
1950
1972
|
}>>;
|
|
1951
1973
|
}, "strip", z.ZodTypeAny, {
|
|
1952
|
-
profile: {
|
|
1953
|
-
name: string;
|
|
1954
|
-
role: string;
|
|
1955
|
-
traits: string[];
|
|
1956
|
-
};
|
|
1957
1974
|
cerebrum: {
|
|
1958
|
-
defaultProvider: string;
|
|
1959
|
-
defaultModel: string;
|
|
1960
1975
|
providers: {
|
|
1961
|
-
|
|
1962
|
-
auth: "
|
|
1963
|
-
apiKey?: string | undefined;
|
|
1964
|
-
baseUrl?: string | undefined;
|
|
1965
|
-
models?: string[] | undefined;
|
|
1976
|
+
'openai-codex'?: {
|
|
1977
|
+
auth: "oauth" | "apikey";
|
|
1966
1978
|
oauth?: {
|
|
1967
1979
|
callbackPort: number;
|
|
1968
1980
|
clientId?: string | undefined;
|
|
1969
1981
|
clientSecret?: string | undefined;
|
|
1970
1982
|
} | undefined;
|
|
1971
|
-
} | undefined;
|
|
1972
|
-
openai?: {
|
|
1973
|
-
auth: "apikey" | "oauth";
|
|
1974
1983
|
apiKey?: string | undefined;
|
|
1975
1984
|
baseUrl?: string | undefined;
|
|
1976
1985
|
models?: string[] | undefined;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
openai?: {
|
|
1988
|
+
auth: "oauth" | "apikey";
|
|
1977
1989
|
oauth?: {
|
|
1978
1990
|
callbackPort: number;
|
|
1979
1991
|
clientId?: string | undefined;
|
|
1980
1992
|
clientSecret?: string | undefined;
|
|
1981
1993
|
} | undefined;
|
|
1982
|
-
} | undefined;
|
|
1983
|
-
'openai-codex'?: {
|
|
1984
|
-
auth: "apikey" | "oauth";
|
|
1985
1994
|
apiKey?: string | undefined;
|
|
1986
1995
|
baseUrl?: string | undefined;
|
|
1987
1996
|
models?: string[] | undefined;
|
|
1997
|
+
} | undefined;
|
|
1998
|
+
anthropic?: {
|
|
1999
|
+
auth: "oauth" | "apikey";
|
|
1988
2000
|
oauth?: {
|
|
1989
2001
|
callbackPort: number;
|
|
1990
2002
|
clientId?: string | undefined;
|
|
1991
2003
|
clientSecret?: string | undefined;
|
|
1992
2004
|
} | undefined;
|
|
1993
|
-
} | undefined;
|
|
1994
|
-
google?: {
|
|
1995
|
-
auth: "apikey" | "oauth";
|
|
1996
2005
|
apiKey?: string | undefined;
|
|
1997
2006
|
baseUrl?: string | undefined;
|
|
1998
2007
|
models?: string[] | undefined;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
google?: {
|
|
2010
|
+
auth: "oauth" | "apikey";
|
|
1999
2011
|
oauth?: {
|
|
2000
2012
|
callbackPort: number;
|
|
2001
2013
|
clientId?: string | undefined;
|
|
2002
2014
|
clientSecret?: string | undefined;
|
|
2003
2015
|
} | undefined;
|
|
2004
|
-
} | undefined;
|
|
2005
|
-
openrouter?: {
|
|
2006
|
-
auth: "apikey" | "oauth";
|
|
2007
2016
|
apiKey?: string | undefined;
|
|
2008
2017
|
baseUrl?: string | undefined;
|
|
2009
2018
|
models?: string[] | undefined;
|
|
2019
|
+
} | undefined;
|
|
2020
|
+
openrouter?: {
|
|
2021
|
+
auth: "oauth" | "apikey";
|
|
2010
2022
|
oauth?: {
|
|
2011
2023
|
callbackPort: number;
|
|
2012
2024
|
clientId?: string | undefined;
|
|
2013
2025
|
clientSecret?: string | undefined;
|
|
2014
2026
|
} | undefined;
|
|
2015
|
-
} | undefined;
|
|
2016
|
-
deepseek?: {
|
|
2017
|
-
auth: "apikey" | "oauth";
|
|
2018
2027
|
apiKey?: string | undefined;
|
|
2019
2028
|
baseUrl?: string | undefined;
|
|
2020
2029
|
models?: string[] | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
deepseek?: {
|
|
2032
|
+
auth: "oauth" | "apikey";
|
|
2021
2033
|
oauth?: {
|
|
2022
2034
|
callbackPort: number;
|
|
2023
2035
|
clientId?: string | undefined;
|
|
2024
2036
|
clientSecret?: string | undefined;
|
|
2025
2037
|
} | undefined;
|
|
2026
|
-
} | undefined;
|
|
2027
|
-
xai?: {
|
|
2028
|
-
auth: "apikey" | "oauth";
|
|
2029
2038
|
apiKey?: string | undefined;
|
|
2030
2039
|
baseUrl?: string | undefined;
|
|
2031
2040
|
models?: string[] | undefined;
|
|
2041
|
+
} | undefined;
|
|
2042
|
+
xai?: {
|
|
2043
|
+
auth: "oauth" | "apikey";
|
|
2032
2044
|
oauth?: {
|
|
2033
2045
|
callbackPort: number;
|
|
2034
2046
|
clientId?: string | undefined;
|
|
2035
2047
|
clientSecret?: string | undefined;
|
|
2036
2048
|
} | undefined;
|
|
2037
|
-
} | undefined;
|
|
2038
|
-
mistral?: {
|
|
2039
|
-
auth: "apikey" | "oauth";
|
|
2040
2049
|
apiKey?: string | undefined;
|
|
2041
2050
|
baseUrl?: string | undefined;
|
|
2042
2051
|
models?: string[] | undefined;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
mistral?: {
|
|
2054
|
+
auth: "oauth" | "apikey";
|
|
2043
2055
|
oauth?: {
|
|
2044
2056
|
callbackPort: number;
|
|
2045
2057
|
clientId?: string | undefined;
|
|
2046
2058
|
clientSecret?: string | undefined;
|
|
2047
2059
|
} | undefined;
|
|
2048
|
-
} | undefined;
|
|
2049
|
-
together?: {
|
|
2050
|
-
auth: "apikey" | "oauth";
|
|
2051
2060
|
apiKey?: string | undefined;
|
|
2052
2061
|
baseUrl?: string | undefined;
|
|
2053
2062
|
models?: string[] | undefined;
|
|
2063
|
+
} | undefined;
|
|
2064
|
+
together?: {
|
|
2065
|
+
auth: "oauth" | "apikey";
|
|
2054
2066
|
oauth?: {
|
|
2055
2067
|
callbackPort: number;
|
|
2056
2068
|
clientId?: string | undefined;
|
|
2057
2069
|
clientSecret?: string | undefined;
|
|
2058
2070
|
} | undefined;
|
|
2059
|
-
} | undefined;
|
|
2060
|
-
moonshot?: {
|
|
2061
|
-
auth: "apikey" | "oauth";
|
|
2062
2071
|
apiKey?: string | undefined;
|
|
2063
2072
|
baseUrl?: string | undefined;
|
|
2064
2073
|
models?: string[] | undefined;
|
|
2074
|
+
} | undefined;
|
|
2075
|
+
moonshot?: {
|
|
2076
|
+
auth: "oauth" | "apikey";
|
|
2065
2077
|
oauth?: {
|
|
2066
2078
|
callbackPort: number;
|
|
2067
2079
|
clientId?: string | undefined;
|
|
2068
2080
|
clientSecret?: string | undefined;
|
|
2069
2081
|
} | undefined;
|
|
2070
|
-
} | undefined;
|
|
2071
|
-
minimax?: {
|
|
2072
|
-
auth: "apikey" | "oauth";
|
|
2073
2082
|
apiKey?: string | undefined;
|
|
2074
2083
|
baseUrl?: string | undefined;
|
|
2075
2084
|
models?: string[] | undefined;
|
|
2085
|
+
} | undefined;
|
|
2086
|
+
minimax?: {
|
|
2087
|
+
auth: "oauth" | "apikey";
|
|
2076
2088
|
oauth?: {
|
|
2077
2089
|
callbackPort: number;
|
|
2078
2090
|
clientId?: string | undefined;
|
|
2079
2091
|
clientSecret?: string | undefined;
|
|
2080
2092
|
} | undefined;
|
|
2081
|
-
} | undefined;
|
|
2082
|
-
'minimax-portal'?: {
|
|
2083
|
-
auth: "apikey" | "oauth";
|
|
2084
2093
|
apiKey?: string | undefined;
|
|
2085
2094
|
baseUrl?: string | undefined;
|
|
2086
2095
|
models?: string[] | undefined;
|
|
2096
|
+
} | undefined;
|
|
2097
|
+
'minimax-portal'?: {
|
|
2098
|
+
auth: "oauth" | "apikey";
|
|
2087
2099
|
oauth?: {
|
|
2088
2100
|
callbackPort: number;
|
|
2089
2101
|
clientId?: string | undefined;
|
|
2090
2102
|
clientSecret?: string | undefined;
|
|
2091
2103
|
} | undefined;
|
|
2104
|
+
apiKey?: string | undefined;
|
|
2105
|
+
baseUrl?: string | undefined;
|
|
2106
|
+
models?: string[] | undefined;
|
|
2092
2107
|
} | undefined;
|
|
2093
2108
|
local?: {
|
|
2109
|
+
auth: "oauth" | "apikey";
|
|
2094
2110
|
baseUrl: string;
|
|
2095
|
-
auth: "apikey" | "oauth";
|
|
2096
2111
|
model: string;
|
|
2097
|
-
apiKey?: string | undefined;
|
|
2098
|
-
models?: string[] | undefined;
|
|
2099
2112
|
oauth?: {
|
|
2100
2113
|
callbackPort: number;
|
|
2101
2114
|
clientId?: string | undefined;
|
|
2102
2115
|
clientSecret?: string | undefined;
|
|
2103
2116
|
} | undefined;
|
|
2117
|
+
apiKey?: string | undefined;
|
|
2118
|
+
models?: string[] | undefined;
|
|
2104
2119
|
} | undefined;
|
|
2105
2120
|
};
|
|
2121
|
+
defaultProvider: string;
|
|
2122
|
+
defaultModel: string;
|
|
2106
2123
|
maxSteps: number;
|
|
2107
2124
|
temperature: number;
|
|
2108
2125
|
contextWindow: number;
|
|
@@ -2114,6 +2131,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2114
2131
|
streamStallThreshold: number;
|
|
2115
2132
|
maxNudgeRetries: number;
|
|
2116
2133
|
};
|
|
2134
|
+
profile: {
|
|
2135
|
+
name: string;
|
|
2136
|
+
role: string;
|
|
2137
|
+
traits: string[];
|
|
2138
|
+
};
|
|
2117
2139
|
cerebellum: {
|
|
2118
2140
|
model: {
|
|
2119
2141
|
source: "local" | "huggingface";
|
|
@@ -2139,6 +2161,12 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2139
2161
|
composeFile?: string | undefined;
|
|
2140
2162
|
};
|
|
2141
2163
|
};
|
|
2164
|
+
conversations: {
|
|
2165
|
+
turnJournals: {
|
|
2166
|
+
maxDays: number;
|
|
2167
|
+
maxFilesPerConversation: number;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2142
2170
|
tools: {
|
|
2143
2171
|
shell: {
|
|
2144
2172
|
enabled: boolean;
|
|
@@ -2303,160 +2331,155 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2303
2331
|
nodeId?: string | undefined;
|
|
2304
2332
|
};
|
|
2305
2333
|
}, {
|
|
2306
|
-
profile?: {
|
|
2307
|
-
name?: string | undefined;
|
|
2308
|
-
role?: string | undefined;
|
|
2309
|
-
traits?: string[] | undefined;
|
|
2310
|
-
} | undefined;
|
|
2311
2334
|
cerebrum?: {
|
|
2312
|
-
defaultProvider?: string | undefined;
|
|
2313
|
-
defaultModel?: string | undefined;
|
|
2314
2335
|
providers?: {
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
baseUrl?: string | undefined;
|
|
2318
|
-
models?: string[] | undefined;
|
|
2336
|
+
'openai-codex'?: {
|
|
2337
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2319
2338
|
oauth?: {
|
|
2320
2339
|
clientId?: string | undefined;
|
|
2321
2340
|
clientSecret?: string | undefined;
|
|
2322
2341
|
callbackPort?: number | undefined;
|
|
2323
2342
|
} | undefined;
|
|
2324
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2325
|
-
} | undefined;
|
|
2326
|
-
openai?: {
|
|
2327
2343
|
apiKey?: string | undefined;
|
|
2328
2344
|
baseUrl?: string | undefined;
|
|
2329
2345
|
models?: string[] | undefined;
|
|
2346
|
+
} | undefined;
|
|
2347
|
+
openai?: {
|
|
2348
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2330
2349
|
oauth?: {
|
|
2331
2350
|
clientId?: string | undefined;
|
|
2332
2351
|
clientSecret?: string | undefined;
|
|
2333
2352
|
callbackPort?: number | undefined;
|
|
2334
2353
|
} | undefined;
|
|
2335
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2336
|
-
} | undefined;
|
|
2337
|
-
'openai-codex'?: {
|
|
2338
2354
|
apiKey?: string | undefined;
|
|
2339
2355
|
baseUrl?: string | undefined;
|
|
2340
2356
|
models?: string[] | undefined;
|
|
2357
|
+
} | undefined;
|
|
2358
|
+
anthropic?: {
|
|
2359
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2341
2360
|
oauth?: {
|
|
2342
2361
|
clientId?: string | undefined;
|
|
2343
2362
|
clientSecret?: string | undefined;
|
|
2344
2363
|
callbackPort?: number | undefined;
|
|
2345
2364
|
} | undefined;
|
|
2346
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2347
|
-
} | undefined;
|
|
2348
|
-
google?: {
|
|
2349
2365
|
apiKey?: string | undefined;
|
|
2350
2366
|
baseUrl?: string | undefined;
|
|
2351
2367
|
models?: string[] | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
google?: {
|
|
2370
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2352
2371
|
oauth?: {
|
|
2353
2372
|
clientId?: string | undefined;
|
|
2354
2373
|
clientSecret?: string | undefined;
|
|
2355
2374
|
callbackPort?: number | undefined;
|
|
2356
2375
|
} | undefined;
|
|
2357
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2358
|
-
} | undefined;
|
|
2359
|
-
openrouter?: {
|
|
2360
2376
|
apiKey?: string | undefined;
|
|
2361
2377
|
baseUrl?: string | undefined;
|
|
2362
2378
|
models?: string[] | undefined;
|
|
2379
|
+
} | undefined;
|
|
2380
|
+
openrouter?: {
|
|
2381
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2363
2382
|
oauth?: {
|
|
2364
2383
|
clientId?: string | undefined;
|
|
2365
2384
|
clientSecret?: string | undefined;
|
|
2366
2385
|
callbackPort?: number | undefined;
|
|
2367
2386
|
} | undefined;
|
|
2368
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2369
|
-
} | undefined;
|
|
2370
|
-
deepseek?: {
|
|
2371
2387
|
apiKey?: string | undefined;
|
|
2372
2388
|
baseUrl?: string | undefined;
|
|
2373
2389
|
models?: string[] | undefined;
|
|
2390
|
+
} | undefined;
|
|
2391
|
+
deepseek?: {
|
|
2392
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2374
2393
|
oauth?: {
|
|
2375
2394
|
clientId?: string | undefined;
|
|
2376
2395
|
clientSecret?: string | undefined;
|
|
2377
2396
|
callbackPort?: number | undefined;
|
|
2378
2397
|
} | undefined;
|
|
2379
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2380
|
-
} | undefined;
|
|
2381
|
-
xai?: {
|
|
2382
2398
|
apiKey?: string | undefined;
|
|
2383
2399
|
baseUrl?: string | undefined;
|
|
2384
2400
|
models?: string[] | undefined;
|
|
2401
|
+
} | undefined;
|
|
2402
|
+
xai?: {
|
|
2403
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2385
2404
|
oauth?: {
|
|
2386
2405
|
clientId?: string | undefined;
|
|
2387
2406
|
clientSecret?: string | undefined;
|
|
2388
2407
|
callbackPort?: number | undefined;
|
|
2389
2408
|
} | undefined;
|
|
2390
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2391
|
-
} | undefined;
|
|
2392
|
-
mistral?: {
|
|
2393
2409
|
apiKey?: string | undefined;
|
|
2394
2410
|
baseUrl?: string | undefined;
|
|
2395
2411
|
models?: string[] | undefined;
|
|
2412
|
+
} | undefined;
|
|
2413
|
+
mistral?: {
|
|
2414
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2396
2415
|
oauth?: {
|
|
2397
2416
|
clientId?: string | undefined;
|
|
2398
2417
|
clientSecret?: string | undefined;
|
|
2399
2418
|
callbackPort?: number | undefined;
|
|
2400
2419
|
} | undefined;
|
|
2401
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2402
|
-
} | undefined;
|
|
2403
|
-
together?: {
|
|
2404
2420
|
apiKey?: string | undefined;
|
|
2405
2421
|
baseUrl?: string | undefined;
|
|
2406
2422
|
models?: string[] | undefined;
|
|
2423
|
+
} | undefined;
|
|
2424
|
+
together?: {
|
|
2425
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2407
2426
|
oauth?: {
|
|
2408
2427
|
clientId?: string | undefined;
|
|
2409
2428
|
clientSecret?: string | undefined;
|
|
2410
2429
|
callbackPort?: number | undefined;
|
|
2411
2430
|
} | undefined;
|
|
2412
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2413
|
-
} | undefined;
|
|
2414
|
-
moonshot?: {
|
|
2415
2431
|
apiKey?: string | undefined;
|
|
2416
2432
|
baseUrl?: string | undefined;
|
|
2417
2433
|
models?: string[] | undefined;
|
|
2434
|
+
} | undefined;
|
|
2435
|
+
moonshot?: {
|
|
2436
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2418
2437
|
oauth?: {
|
|
2419
2438
|
clientId?: string | undefined;
|
|
2420
2439
|
clientSecret?: string | undefined;
|
|
2421
2440
|
callbackPort?: number | undefined;
|
|
2422
2441
|
} | undefined;
|
|
2423
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2424
|
-
} | undefined;
|
|
2425
|
-
minimax?: {
|
|
2426
2442
|
apiKey?: string | undefined;
|
|
2427
2443
|
baseUrl?: string | undefined;
|
|
2428
2444
|
models?: string[] | undefined;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
minimax?: {
|
|
2447
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2429
2448
|
oauth?: {
|
|
2430
2449
|
clientId?: string | undefined;
|
|
2431
2450
|
clientSecret?: string | undefined;
|
|
2432
2451
|
callbackPort?: number | undefined;
|
|
2433
2452
|
} | undefined;
|
|
2434
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2435
|
-
} | undefined;
|
|
2436
|
-
'minimax-portal'?: {
|
|
2437
2453
|
apiKey?: string | undefined;
|
|
2438
2454
|
baseUrl?: string | undefined;
|
|
2439
2455
|
models?: string[] | undefined;
|
|
2456
|
+
} | undefined;
|
|
2457
|
+
'minimax-portal'?: {
|
|
2458
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2440
2459
|
oauth?: {
|
|
2441
2460
|
clientId?: string | undefined;
|
|
2442
2461
|
clientSecret?: string | undefined;
|
|
2443
2462
|
callbackPort?: number | undefined;
|
|
2444
2463
|
} | undefined;
|
|
2445
|
-
auth?: "apikey" | "oauth" | undefined;
|
|
2446
|
-
} | undefined;
|
|
2447
|
-
local?: {
|
|
2448
2464
|
apiKey?: string | undefined;
|
|
2449
2465
|
baseUrl?: string | undefined;
|
|
2450
2466
|
models?: string[] | undefined;
|
|
2467
|
+
} | undefined;
|
|
2468
|
+
local?: {
|
|
2469
|
+
auth?: "oauth" | "apikey" | undefined;
|
|
2451
2470
|
oauth?: {
|
|
2452
2471
|
clientId?: string | undefined;
|
|
2453
2472
|
clientSecret?: string | undefined;
|
|
2454
2473
|
callbackPort?: number | undefined;
|
|
2455
2474
|
} | undefined;
|
|
2456
|
-
|
|
2475
|
+
apiKey?: string | undefined;
|
|
2476
|
+
baseUrl?: string | undefined;
|
|
2477
|
+
models?: string[] | undefined;
|
|
2457
2478
|
model?: string | undefined;
|
|
2458
2479
|
} | undefined;
|
|
2459
2480
|
} | undefined;
|
|
2481
|
+
defaultProvider?: string | undefined;
|
|
2482
|
+
defaultModel?: string | undefined;
|
|
2460
2483
|
maxSteps?: number | undefined;
|
|
2461
2484
|
temperature?: number | undefined;
|
|
2462
2485
|
contextWindow?: number | undefined;
|
|
@@ -2468,6 +2491,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2468
2491
|
streamStallThreshold?: number | undefined;
|
|
2469
2492
|
maxNudgeRetries?: number | undefined;
|
|
2470
2493
|
} | undefined;
|
|
2494
|
+
profile?: {
|
|
2495
|
+
name?: string | undefined;
|
|
2496
|
+
role?: string | undefined;
|
|
2497
|
+
traits?: string[] | undefined;
|
|
2498
|
+
} | undefined;
|
|
2471
2499
|
cerebellum?: {
|
|
2472
2500
|
model?: {
|
|
2473
2501
|
path?: string | undefined;
|
|
@@ -2493,6 +2521,12 @@ export declare const configSchema: z.ZodObject<{
|
|
|
2493
2521
|
composeFile?: string | undefined;
|
|
2494
2522
|
} | undefined;
|
|
2495
2523
|
} | undefined;
|
|
2524
|
+
conversations?: {
|
|
2525
|
+
turnJournals?: {
|
|
2526
|
+
maxDays?: number | undefined;
|
|
2527
|
+
maxFilesPerConversation?: number | undefined;
|
|
2528
|
+
} | undefined;
|
|
2529
|
+
} | undefined;
|
|
2496
2530
|
tools?: {
|
|
2497
2531
|
shell?: {
|
|
2498
2532
|
enabled?: boolean | undefined;
|