@aiagentflow/cli 0.2.0 → 0.3.0

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.
@@ -13,7 +13,7 @@ import { z } from 'zod';
13
13
  */
14
14
  export declare const agentRoleConfigSchema: z.ZodObject<{
15
15
  /** Which provider to use for this agent role. */
16
- provider: z.ZodEnum<["anthropic", "ollama"]>;
16
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
17
17
  /** The model identifier to use. */
18
18
  model: z.ZodString;
19
19
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -22,12 +22,12 @@ export declare const agentRoleConfigSchema: z.ZodObject<{
22
22
  maxTokens: z.ZodDefault<z.ZodNumber>;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  model: string;
25
- provider: "anthropic" | "ollama";
25
+ provider: "anthropic" | "ollama" | "openai";
26
26
  temperature: number;
27
27
  maxTokens: number;
28
28
  }, {
29
29
  model: string;
30
- provider: "anthropic" | "ollama";
30
+ provider: "anthropic" | "ollama" | "openai";
31
31
  temperature?: number | undefined;
32
32
  maxTokens?: number | undefined;
33
33
  }>;
@@ -37,7 +37,7 @@ export declare const agentRoleConfigSchema: z.ZodObject<{
37
37
  export declare const agentConfigSchema: z.ZodObject<{
38
38
  architect: z.ZodObject<{
39
39
  /** Which provider to use for this agent role. */
40
- provider: z.ZodEnum<["anthropic", "ollama"]>;
40
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
41
41
  /** The model identifier to use. */
42
42
  model: z.ZodString;
43
43
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -46,18 +46,18 @@ export declare const agentConfigSchema: z.ZodObject<{
46
46
  maxTokens: z.ZodDefault<z.ZodNumber>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  model: string;
49
- provider: "anthropic" | "ollama";
49
+ provider: "anthropic" | "ollama" | "openai";
50
50
  temperature: number;
51
51
  maxTokens: number;
52
52
  }, {
53
53
  model: string;
54
- provider: "anthropic" | "ollama";
54
+ provider: "anthropic" | "ollama" | "openai";
55
55
  temperature?: number | undefined;
56
56
  maxTokens?: number | undefined;
57
57
  }>;
58
58
  coder: z.ZodObject<{
59
59
  /** Which provider to use for this agent role. */
60
- provider: z.ZodEnum<["anthropic", "ollama"]>;
60
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
61
61
  /** The model identifier to use. */
62
62
  model: z.ZodString;
63
63
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -66,18 +66,18 @@ export declare const agentConfigSchema: z.ZodObject<{
66
66
  maxTokens: z.ZodDefault<z.ZodNumber>;
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  model: string;
69
- provider: "anthropic" | "ollama";
69
+ provider: "anthropic" | "ollama" | "openai";
70
70
  temperature: number;
71
71
  maxTokens: number;
72
72
  }, {
73
73
  model: string;
74
- provider: "anthropic" | "ollama";
74
+ provider: "anthropic" | "ollama" | "openai";
75
75
  temperature?: number | undefined;
76
76
  maxTokens?: number | undefined;
77
77
  }>;
78
78
  reviewer: z.ZodObject<{
79
79
  /** Which provider to use for this agent role. */
80
- provider: z.ZodEnum<["anthropic", "ollama"]>;
80
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
81
81
  /** The model identifier to use. */
82
82
  model: z.ZodString;
83
83
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -86,18 +86,18 @@ export declare const agentConfigSchema: z.ZodObject<{
86
86
  maxTokens: z.ZodDefault<z.ZodNumber>;
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  model: string;
89
- provider: "anthropic" | "ollama";
89
+ provider: "anthropic" | "ollama" | "openai";
90
90
  temperature: number;
91
91
  maxTokens: number;
92
92
  }, {
93
93
  model: string;
94
- provider: "anthropic" | "ollama";
94
+ provider: "anthropic" | "ollama" | "openai";
95
95
  temperature?: number | undefined;
96
96
  maxTokens?: number | undefined;
97
97
  }>;
98
98
  tester: z.ZodObject<{
99
99
  /** Which provider to use for this agent role. */
100
- provider: z.ZodEnum<["anthropic", "ollama"]>;
100
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
101
101
  /** The model identifier to use. */
102
102
  model: z.ZodString;
103
103
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -106,18 +106,18 @@ export declare const agentConfigSchema: z.ZodObject<{
106
106
  maxTokens: z.ZodDefault<z.ZodNumber>;
107
107
  }, "strip", z.ZodTypeAny, {
108
108
  model: string;
109
- provider: "anthropic" | "ollama";
109
+ provider: "anthropic" | "ollama" | "openai";
110
110
  temperature: number;
111
111
  maxTokens: number;
112
112
  }, {
113
113
  model: string;
114
- provider: "anthropic" | "ollama";
114
+ provider: "anthropic" | "ollama" | "openai";
115
115
  temperature?: number | undefined;
116
116
  maxTokens?: number | undefined;
117
117
  }>;
118
118
  fixer: z.ZodObject<{
119
119
  /** Which provider to use for this agent role. */
120
- provider: z.ZodEnum<["anthropic", "ollama"]>;
120
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
121
121
  /** The model identifier to use. */
122
122
  model: z.ZodString;
123
123
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -126,18 +126,18 @@ export declare const agentConfigSchema: z.ZodObject<{
126
126
  maxTokens: z.ZodDefault<z.ZodNumber>;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  model: string;
129
- provider: "anthropic" | "ollama";
129
+ provider: "anthropic" | "ollama" | "openai";
130
130
  temperature: number;
131
131
  maxTokens: number;
132
132
  }, {
133
133
  model: string;
134
- provider: "anthropic" | "ollama";
134
+ provider: "anthropic" | "ollama" | "openai";
135
135
  temperature?: number | undefined;
136
136
  maxTokens?: number | undefined;
137
137
  }>;
138
138
  judge: z.ZodObject<{
139
139
  /** Which provider to use for this agent role. */
140
- provider: z.ZodEnum<["anthropic", "ollama"]>;
140
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
141
141
  /** The model identifier to use. */
142
142
  model: z.ZodString;
143
143
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -146,86 +146,86 @@ export declare const agentConfigSchema: z.ZodObject<{
146
146
  maxTokens: z.ZodDefault<z.ZodNumber>;
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  model: string;
149
- provider: "anthropic" | "ollama";
149
+ provider: "anthropic" | "ollama" | "openai";
150
150
  temperature: number;
151
151
  maxTokens: number;
152
152
  }, {
153
153
  model: string;
154
- provider: "anthropic" | "ollama";
154
+ provider: "anthropic" | "ollama" | "openai";
155
155
  temperature?: number | undefined;
156
156
  maxTokens?: number | undefined;
157
157
  }>;
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  architect: {
160
160
  model: string;
161
- provider: "anthropic" | "ollama";
161
+ provider: "anthropic" | "ollama" | "openai";
162
162
  temperature: number;
163
163
  maxTokens: number;
164
164
  };
165
165
  coder: {
166
166
  model: string;
167
- provider: "anthropic" | "ollama";
167
+ provider: "anthropic" | "ollama" | "openai";
168
168
  temperature: number;
169
169
  maxTokens: number;
170
170
  };
171
171
  reviewer: {
172
172
  model: string;
173
- provider: "anthropic" | "ollama";
173
+ provider: "anthropic" | "ollama" | "openai";
174
174
  temperature: number;
175
175
  maxTokens: number;
176
176
  };
177
177
  tester: {
178
178
  model: string;
179
- provider: "anthropic" | "ollama";
179
+ provider: "anthropic" | "ollama" | "openai";
180
180
  temperature: number;
181
181
  maxTokens: number;
182
182
  };
183
183
  fixer: {
184
184
  model: string;
185
- provider: "anthropic" | "ollama";
185
+ provider: "anthropic" | "ollama" | "openai";
186
186
  temperature: number;
187
187
  maxTokens: number;
188
188
  };
189
189
  judge: {
190
190
  model: string;
191
- provider: "anthropic" | "ollama";
191
+ provider: "anthropic" | "ollama" | "openai";
192
192
  temperature: number;
193
193
  maxTokens: number;
194
194
  };
195
195
  }, {
196
196
  architect: {
197
197
  model: string;
198
- provider: "anthropic" | "ollama";
198
+ provider: "anthropic" | "ollama" | "openai";
199
199
  temperature?: number | undefined;
200
200
  maxTokens?: number | undefined;
201
201
  };
202
202
  coder: {
203
203
  model: string;
204
- provider: "anthropic" | "ollama";
204
+ provider: "anthropic" | "ollama" | "openai";
205
205
  temperature?: number | undefined;
206
206
  maxTokens?: number | undefined;
207
207
  };
208
208
  reviewer: {
209
209
  model: string;
210
- provider: "anthropic" | "ollama";
210
+ provider: "anthropic" | "ollama" | "openai";
211
211
  temperature?: number | undefined;
212
212
  maxTokens?: number | undefined;
213
213
  };
214
214
  tester: {
215
215
  model: string;
216
- provider: "anthropic" | "ollama";
216
+ provider: "anthropic" | "ollama" | "openai";
217
217
  temperature?: number | undefined;
218
218
  maxTokens?: number | undefined;
219
219
  };
220
220
  fixer: {
221
221
  model: string;
222
- provider: "anthropic" | "ollama";
222
+ provider: "anthropic" | "ollama" | "openai";
223
223
  temperature?: number | undefined;
224
224
  maxTokens?: number | undefined;
225
225
  };
226
226
  judge: {
227
227
  model: string;
228
- provider: "anthropic" | "ollama";
228
+ provider: "anthropic" | "ollama" | "openai";
229
229
  temperature?: number | undefined;
230
230
  maxTokens?: number | undefined;
231
231
  };
@@ -256,6 +256,22 @@ export declare const ollamaProviderSchema: z.ZodObject<{
256
256
  }, {
257
257
  baseUrl?: string | undefined;
258
258
  }>;
259
+ /**
260
+ * Schema for OpenAI provider settings.
261
+ */
262
+ export declare const openaiProviderSchema: z.ZodObject<{
263
+ apiKey: z.ZodString;
264
+ baseUrl: z.ZodDefault<z.ZodString>;
265
+ organization: z.ZodOptional<z.ZodString>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ apiKey: string;
268
+ baseUrl: string;
269
+ organization?: string | undefined;
270
+ }, {
271
+ apiKey: string;
272
+ baseUrl?: string | undefined;
273
+ organization?: string | undefined;
274
+ }>;
259
275
  /**
260
276
  * Schema for provider configuration (all providers).
261
277
  */
@@ -280,6 +296,19 @@ export declare const providerConfigSchema: z.ZodObject<{
280
296
  }, {
281
297
  baseUrl?: string | undefined;
282
298
  }>>;
299
+ openai: z.ZodOptional<z.ZodObject<{
300
+ apiKey: z.ZodString;
301
+ baseUrl: z.ZodDefault<z.ZodString>;
302
+ organization: z.ZodOptional<z.ZodString>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ apiKey: string;
305
+ baseUrl: string;
306
+ organization?: string | undefined;
307
+ }, {
308
+ apiKey: string;
309
+ baseUrl?: string | undefined;
310
+ organization?: string | undefined;
311
+ }>>;
283
312
  }, "strip", z.ZodTypeAny, {
284
313
  anthropic?: {
285
314
  apiKey: string;
@@ -289,6 +318,11 @@ export declare const providerConfigSchema: z.ZodObject<{
289
318
  ollama?: {
290
319
  baseUrl: string;
291
320
  } | undefined;
321
+ openai?: {
322
+ apiKey: string;
323
+ baseUrl: string;
324
+ organization?: string | undefined;
325
+ } | undefined;
292
326
  }, {
293
327
  anthropic?: {
294
328
  apiKey: string;
@@ -298,6 +332,11 @@ export declare const providerConfigSchema: z.ZodObject<{
298
332
  ollama?: {
299
333
  baseUrl?: string | undefined;
300
334
  } | undefined;
335
+ openai?: {
336
+ apiKey: string;
337
+ baseUrl?: string | undefined;
338
+ organization?: string | undefined;
339
+ } | undefined;
301
340
  }>;
302
341
  /**
303
342
  * Schema for project-level settings.
@@ -382,6 +421,19 @@ export declare const appConfigSchema: z.ZodObject<{
382
421
  }, {
383
422
  baseUrl?: string | undefined;
384
423
  }>>;
424
+ openai: z.ZodOptional<z.ZodObject<{
425
+ apiKey: z.ZodString;
426
+ baseUrl: z.ZodDefault<z.ZodString>;
427
+ organization: z.ZodOptional<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ apiKey: string;
430
+ baseUrl: string;
431
+ organization?: string | undefined;
432
+ }, {
433
+ apiKey: string;
434
+ baseUrl?: string | undefined;
435
+ organization?: string | undefined;
436
+ }>>;
385
437
  }, "strip", z.ZodTypeAny, {
386
438
  anthropic?: {
387
439
  apiKey: string;
@@ -391,6 +443,11 @@ export declare const appConfigSchema: z.ZodObject<{
391
443
  ollama?: {
392
444
  baseUrl: string;
393
445
  } | undefined;
446
+ openai?: {
447
+ apiKey: string;
448
+ baseUrl: string;
449
+ organization?: string | undefined;
450
+ } | undefined;
394
451
  }, {
395
452
  anthropic?: {
396
453
  apiKey: string;
@@ -400,12 +457,17 @@ export declare const appConfigSchema: z.ZodObject<{
400
457
  ollama?: {
401
458
  baseUrl?: string | undefined;
402
459
  } | undefined;
460
+ openai?: {
461
+ apiKey: string;
462
+ baseUrl?: string | undefined;
463
+ organization?: string | undefined;
464
+ } | undefined;
403
465
  }>;
404
466
  /** Per-agent model and parameter assignments. */
405
467
  agents: z.ZodObject<{
406
468
  architect: z.ZodObject<{
407
469
  /** Which provider to use for this agent role. */
408
- provider: z.ZodEnum<["anthropic", "ollama"]>;
470
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
409
471
  /** The model identifier to use. */
410
472
  model: z.ZodString;
411
473
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -414,18 +476,18 @@ export declare const appConfigSchema: z.ZodObject<{
414
476
  maxTokens: z.ZodDefault<z.ZodNumber>;
415
477
  }, "strip", z.ZodTypeAny, {
416
478
  model: string;
417
- provider: "anthropic" | "ollama";
479
+ provider: "anthropic" | "ollama" | "openai";
418
480
  temperature: number;
419
481
  maxTokens: number;
420
482
  }, {
421
483
  model: string;
422
- provider: "anthropic" | "ollama";
484
+ provider: "anthropic" | "ollama" | "openai";
423
485
  temperature?: number | undefined;
424
486
  maxTokens?: number | undefined;
425
487
  }>;
426
488
  coder: z.ZodObject<{
427
489
  /** Which provider to use for this agent role. */
428
- provider: z.ZodEnum<["anthropic", "ollama"]>;
490
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
429
491
  /** The model identifier to use. */
430
492
  model: z.ZodString;
431
493
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -434,18 +496,18 @@ export declare const appConfigSchema: z.ZodObject<{
434
496
  maxTokens: z.ZodDefault<z.ZodNumber>;
435
497
  }, "strip", z.ZodTypeAny, {
436
498
  model: string;
437
- provider: "anthropic" | "ollama";
499
+ provider: "anthropic" | "ollama" | "openai";
438
500
  temperature: number;
439
501
  maxTokens: number;
440
502
  }, {
441
503
  model: string;
442
- provider: "anthropic" | "ollama";
504
+ provider: "anthropic" | "ollama" | "openai";
443
505
  temperature?: number | undefined;
444
506
  maxTokens?: number | undefined;
445
507
  }>;
446
508
  reviewer: z.ZodObject<{
447
509
  /** Which provider to use for this agent role. */
448
- provider: z.ZodEnum<["anthropic", "ollama"]>;
510
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
449
511
  /** The model identifier to use. */
450
512
  model: z.ZodString;
451
513
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -454,18 +516,18 @@ export declare const appConfigSchema: z.ZodObject<{
454
516
  maxTokens: z.ZodDefault<z.ZodNumber>;
455
517
  }, "strip", z.ZodTypeAny, {
456
518
  model: string;
457
- provider: "anthropic" | "ollama";
519
+ provider: "anthropic" | "ollama" | "openai";
458
520
  temperature: number;
459
521
  maxTokens: number;
460
522
  }, {
461
523
  model: string;
462
- provider: "anthropic" | "ollama";
524
+ provider: "anthropic" | "ollama" | "openai";
463
525
  temperature?: number | undefined;
464
526
  maxTokens?: number | undefined;
465
527
  }>;
466
528
  tester: z.ZodObject<{
467
529
  /** Which provider to use for this agent role. */
468
- provider: z.ZodEnum<["anthropic", "ollama"]>;
530
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
469
531
  /** The model identifier to use. */
470
532
  model: z.ZodString;
471
533
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -474,18 +536,18 @@ export declare const appConfigSchema: z.ZodObject<{
474
536
  maxTokens: z.ZodDefault<z.ZodNumber>;
475
537
  }, "strip", z.ZodTypeAny, {
476
538
  model: string;
477
- provider: "anthropic" | "ollama";
539
+ provider: "anthropic" | "ollama" | "openai";
478
540
  temperature: number;
479
541
  maxTokens: number;
480
542
  }, {
481
543
  model: string;
482
- provider: "anthropic" | "ollama";
544
+ provider: "anthropic" | "ollama" | "openai";
483
545
  temperature?: number | undefined;
484
546
  maxTokens?: number | undefined;
485
547
  }>;
486
548
  fixer: z.ZodObject<{
487
549
  /** Which provider to use for this agent role. */
488
- provider: z.ZodEnum<["anthropic", "ollama"]>;
550
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
489
551
  /** The model identifier to use. */
490
552
  model: z.ZodString;
491
553
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -494,18 +556,18 @@ export declare const appConfigSchema: z.ZodObject<{
494
556
  maxTokens: z.ZodDefault<z.ZodNumber>;
495
557
  }, "strip", z.ZodTypeAny, {
496
558
  model: string;
497
- provider: "anthropic" | "ollama";
559
+ provider: "anthropic" | "ollama" | "openai";
498
560
  temperature: number;
499
561
  maxTokens: number;
500
562
  }, {
501
563
  model: string;
502
- provider: "anthropic" | "ollama";
564
+ provider: "anthropic" | "ollama" | "openai";
503
565
  temperature?: number | undefined;
504
566
  maxTokens?: number | undefined;
505
567
  }>;
506
568
  judge: z.ZodObject<{
507
569
  /** Which provider to use for this agent role. */
508
- provider: z.ZodEnum<["anthropic", "ollama"]>;
570
+ provider: z.ZodEnum<["anthropic", "ollama", "openai"]>;
509
571
  /** The model identifier to use. */
510
572
  model: z.ZodString;
511
573
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -514,86 +576,86 @@ export declare const appConfigSchema: z.ZodObject<{
514
576
  maxTokens: z.ZodDefault<z.ZodNumber>;
515
577
  }, "strip", z.ZodTypeAny, {
516
578
  model: string;
517
- provider: "anthropic" | "ollama";
579
+ provider: "anthropic" | "ollama" | "openai";
518
580
  temperature: number;
519
581
  maxTokens: number;
520
582
  }, {
521
583
  model: string;
522
- provider: "anthropic" | "ollama";
584
+ provider: "anthropic" | "ollama" | "openai";
523
585
  temperature?: number | undefined;
524
586
  maxTokens?: number | undefined;
525
587
  }>;
526
588
  }, "strip", z.ZodTypeAny, {
527
589
  architect: {
528
590
  model: string;
529
- provider: "anthropic" | "ollama";
591
+ provider: "anthropic" | "ollama" | "openai";
530
592
  temperature: number;
531
593
  maxTokens: number;
532
594
  };
533
595
  coder: {
534
596
  model: string;
535
- provider: "anthropic" | "ollama";
597
+ provider: "anthropic" | "ollama" | "openai";
536
598
  temperature: number;
537
599
  maxTokens: number;
538
600
  };
539
601
  reviewer: {
540
602
  model: string;
541
- provider: "anthropic" | "ollama";
603
+ provider: "anthropic" | "ollama" | "openai";
542
604
  temperature: number;
543
605
  maxTokens: number;
544
606
  };
545
607
  tester: {
546
608
  model: string;
547
- provider: "anthropic" | "ollama";
609
+ provider: "anthropic" | "ollama" | "openai";
548
610
  temperature: number;
549
611
  maxTokens: number;
550
612
  };
551
613
  fixer: {
552
614
  model: string;
553
- provider: "anthropic" | "ollama";
615
+ provider: "anthropic" | "ollama" | "openai";
554
616
  temperature: number;
555
617
  maxTokens: number;
556
618
  };
557
619
  judge: {
558
620
  model: string;
559
- provider: "anthropic" | "ollama";
621
+ provider: "anthropic" | "ollama" | "openai";
560
622
  temperature: number;
561
623
  maxTokens: number;
562
624
  };
563
625
  }, {
564
626
  architect: {
565
627
  model: string;
566
- provider: "anthropic" | "ollama";
628
+ provider: "anthropic" | "ollama" | "openai";
567
629
  temperature?: number | undefined;
568
630
  maxTokens?: number | undefined;
569
631
  };
570
632
  coder: {
571
633
  model: string;
572
- provider: "anthropic" | "ollama";
634
+ provider: "anthropic" | "ollama" | "openai";
573
635
  temperature?: number | undefined;
574
636
  maxTokens?: number | undefined;
575
637
  };
576
638
  reviewer: {
577
639
  model: string;
578
- provider: "anthropic" | "ollama";
640
+ provider: "anthropic" | "ollama" | "openai";
579
641
  temperature?: number | undefined;
580
642
  maxTokens?: number | undefined;
581
643
  };
582
644
  tester: {
583
645
  model: string;
584
- provider: "anthropic" | "ollama";
646
+ provider: "anthropic" | "ollama" | "openai";
585
647
  temperature?: number | undefined;
586
648
  maxTokens?: number | undefined;
587
649
  };
588
650
  fixer: {
589
651
  model: string;
590
- provider: "anthropic" | "ollama";
652
+ provider: "anthropic" | "ollama" | "openai";
591
653
  temperature?: number | undefined;
592
654
  maxTokens?: number | undefined;
593
655
  };
594
656
  judge: {
595
657
  model: string;
596
- provider: "anthropic" | "ollama";
658
+ provider: "anthropic" | "ollama" | "openai";
597
659
  temperature?: number | undefined;
598
660
  maxTokens?: number | undefined;
599
661
  };
@@ -659,41 +721,46 @@ export declare const appConfigSchema: z.ZodObject<{
659
721
  ollama?: {
660
722
  baseUrl: string;
661
723
  } | undefined;
724
+ openai?: {
725
+ apiKey: string;
726
+ baseUrl: string;
727
+ organization?: string | undefined;
728
+ } | undefined;
662
729
  };
663
730
  agents: {
664
731
  architect: {
665
732
  model: string;
666
- provider: "anthropic" | "ollama";
733
+ provider: "anthropic" | "ollama" | "openai";
667
734
  temperature: number;
668
735
  maxTokens: number;
669
736
  };
670
737
  coder: {
671
738
  model: string;
672
- provider: "anthropic" | "ollama";
739
+ provider: "anthropic" | "ollama" | "openai";
673
740
  temperature: number;
674
741
  maxTokens: number;
675
742
  };
676
743
  reviewer: {
677
744
  model: string;
678
- provider: "anthropic" | "ollama";
745
+ provider: "anthropic" | "ollama" | "openai";
679
746
  temperature: number;
680
747
  maxTokens: number;
681
748
  };
682
749
  tester: {
683
750
  model: string;
684
- provider: "anthropic" | "ollama";
751
+ provider: "anthropic" | "ollama" | "openai";
685
752
  temperature: number;
686
753
  maxTokens: number;
687
754
  };
688
755
  fixer: {
689
756
  model: string;
690
- provider: "anthropic" | "ollama";
757
+ provider: "anthropic" | "ollama" | "openai";
691
758
  temperature: number;
692
759
  maxTokens: number;
693
760
  };
694
761
  judge: {
695
762
  model: string;
696
- provider: "anthropic" | "ollama";
763
+ provider: "anthropic" | "ollama" | "openai";
697
764
  temperature: number;
698
765
  maxTokens: number;
699
766
  };
@@ -722,41 +789,46 @@ export declare const appConfigSchema: z.ZodObject<{
722
789
  ollama?: {
723
790
  baseUrl?: string | undefined;
724
791
  } | undefined;
792
+ openai?: {
793
+ apiKey: string;
794
+ baseUrl?: string | undefined;
795
+ organization?: string | undefined;
796
+ } | undefined;
725
797
  };
726
798
  agents: {
727
799
  architect: {
728
800
  model: string;
729
- provider: "anthropic" | "ollama";
801
+ provider: "anthropic" | "ollama" | "openai";
730
802
  temperature?: number | undefined;
731
803
  maxTokens?: number | undefined;
732
804
  };
733
805
  coder: {
734
806
  model: string;
735
- provider: "anthropic" | "ollama";
807
+ provider: "anthropic" | "ollama" | "openai";
736
808
  temperature?: number | undefined;
737
809
  maxTokens?: number | undefined;
738
810
  };
739
811
  reviewer: {
740
812
  model: string;
741
- provider: "anthropic" | "ollama";
813
+ provider: "anthropic" | "ollama" | "openai";
742
814
  temperature?: number | undefined;
743
815
  maxTokens?: number | undefined;
744
816
  };
745
817
  tester: {
746
818
  model: string;
747
- provider: "anthropic" | "ollama";
819
+ provider: "anthropic" | "ollama" | "openai";
748
820
  temperature?: number | undefined;
749
821
  maxTokens?: number | undefined;
750
822
  };
751
823
  fixer: {
752
824
  model: string;
753
- provider: "anthropic" | "ollama";
825
+ provider: "anthropic" | "ollama" | "openai";
754
826
  temperature?: number | undefined;
755
827
  maxTokens?: number | undefined;
756
828
  };
757
829
  judge: {
758
830
  model: string;
759
- provider: "anthropic" | "ollama";
831
+ provider: "anthropic" | "ollama" | "openai";
760
832
  temperature?: number | undefined;
761
833
  maxTokens?: number | undefined;
762
834
  };