@aiagentflow/cli 0.2.1 → 0.4.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.
Files changed (50) hide show
  1. package/dist/agents/base.d.ts +8 -1
  2. package/dist/agents/base.d.ts.map +1 -1
  3. package/dist/agents/base.js +46 -0
  4. package/dist/agents/base.js.map +1 -1
  5. package/dist/agents/types.d.ts +7 -0
  6. package/dist/agents/types.d.ts.map +1 -1
  7. package/dist/agents/types.js.map +1 -1
  8. package/dist/cli/commands/doctor.d.ts.map +1 -1
  9. package/dist/cli/commands/doctor.js +1 -1
  10. package/dist/cli/commands/doctor.js.map +1 -1
  11. package/dist/cli/commands/init.d.ts.map +1 -1
  12. package/dist/cli/commands/init.js +55 -35
  13. package/dist/cli/commands/init.js.map +1 -1
  14. package/dist/cli/commands/run.d.ts.map +1 -1
  15. package/dist/cli/commands/run.js +2 -0
  16. package/dist/cli/commands/run.js.map +1 -1
  17. package/dist/cli/utils/model-picker.d.ts +20 -0
  18. package/dist/cli/utils/model-picker.d.ts.map +1 -0
  19. package/dist/cli/utils/model-picker.js +93 -0
  20. package/dist/cli/utils/model-picker.js.map +1 -0
  21. package/dist/cli/utils/stream-renderer.d.ts +21 -0
  22. package/dist/cli/utils/stream-renderer.d.ts.map +1 -0
  23. package/dist/cli/utils/stream-renderer.js +57 -0
  24. package/dist/cli/utils/stream-renderer.js.map +1 -0
  25. package/dist/core/config/schema.d.ts +204 -75
  26. package/dist/core/config/schema.d.ts.map +1 -1
  27. package/dist/core/config/schema.js +18 -1
  28. package/dist/core/config/schema.js.map +1 -1
  29. package/dist/core/workflow/runner.d.ts +2 -0
  30. package/dist/core/workflow/runner.d.ts.map +1 -1
  31. package/dist/core/workflow/runner.js +15 -4
  32. package/dist/core/workflow/runner.js.map +1 -1
  33. package/dist/providers/gemini.d.ts +58 -0
  34. package/dist/providers/gemini.d.ts.map +1 -0
  35. package/dist/providers/gemini.js +254 -0
  36. package/dist/providers/gemini.js.map +1 -0
  37. package/dist/providers/metadata.d.ts +18 -0
  38. package/dist/providers/metadata.d.ts.map +1 -0
  39. package/dist/providers/metadata.js +32 -0
  40. package/dist/providers/metadata.js.map +1 -0
  41. package/dist/providers/openai.d.ts +54 -0
  42. package/dist/providers/openai.d.ts.map +1 -0
  43. package/dist/providers/openai.js +232 -0
  44. package/dist/providers/openai.js.map +1 -0
  45. package/dist/providers/registry.d.ts.map +1 -1
  46. package/dist/providers/registry.js +17 -1
  47. package/dist/providers/registry.js.map +1 -1
  48. package/dist/providers/types.d.ts +1 -1
  49. package/dist/providers/types.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -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", "gemini", "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" | "gemini" | "ollama" | "openai";
26
26
  temperature: number;
27
27
  maxTokens: number;
28
28
  }, {
29
29
  model: string;
30
- provider: "anthropic" | "ollama";
30
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
50
50
  temperature: number;
51
51
  maxTokens: number;
52
52
  }, {
53
53
  model: string;
54
- provider: "anthropic" | "ollama";
54
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
70
70
  temperature: number;
71
71
  maxTokens: number;
72
72
  }, {
73
73
  model: string;
74
- provider: "anthropic" | "ollama";
74
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
90
90
  temperature: number;
91
91
  maxTokens: number;
92
92
  }, {
93
93
  model: string;
94
- provider: "anthropic" | "ollama";
94
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
110
110
  temperature: number;
111
111
  maxTokens: number;
112
112
  }, {
113
113
  model: string;
114
- provider: "anthropic" | "ollama";
114
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
130
130
  temperature: number;
131
131
  maxTokens: number;
132
132
  }, {
133
133
  model: string;
134
- provider: "anthropic" | "ollama";
134
+ provider: "anthropic" | "gemini" | "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", "gemini", "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" | "gemini" | "ollama" | "openai";
150
150
  temperature: number;
151
151
  maxTokens: number;
152
152
  }, {
153
153
  model: string;
154
- provider: "anthropic" | "ollama";
154
+ provider: "anthropic" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "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" | "gemini" | "ollama" | "openai";
229
229
  temperature?: number | undefined;
230
230
  maxTokens?: number | undefined;
231
231
  };
@@ -256,6 +256,35 @@ export declare const ollamaProviderSchema: z.ZodObject<{
256
256
  }, {
257
257
  baseUrl?: string | undefined;
258
258
  }>;
259
+ /**
260
+ * Schema for Google Gemini provider settings.
261
+ */
262
+ export declare const geminiProviderSchema: z.ZodObject<{
263
+ apiKey: z.ZodString;
264
+ baseUrl: z.ZodDefault<z.ZodString>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ apiKey: string;
267
+ baseUrl: string;
268
+ }, {
269
+ apiKey: string;
270
+ baseUrl?: string | undefined;
271
+ }>;
272
+ /**
273
+ * Schema for OpenAI provider settings.
274
+ */
275
+ export declare const openaiProviderSchema: z.ZodObject<{
276
+ apiKey: z.ZodString;
277
+ baseUrl: z.ZodDefault<z.ZodString>;
278
+ organization: z.ZodOptional<z.ZodString>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ apiKey: string;
281
+ baseUrl: string;
282
+ organization?: string | undefined;
283
+ }, {
284
+ apiKey: string;
285
+ baseUrl?: string | undefined;
286
+ organization?: string | undefined;
287
+ }>;
259
288
  /**
260
289
  * Schema for provider configuration (all providers).
261
290
  */
@@ -273,6 +302,16 @@ export declare const providerConfigSchema: z.ZodObject<{
273
302
  baseUrl?: string | undefined;
274
303
  apiVersion?: string | undefined;
275
304
  }>>;
305
+ gemini: z.ZodOptional<z.ZodObject<{
306
+ apiKey: z.ZodString;
307
+ baseUrl: z.ZodDefault<z.ZodString>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ apiKey: string;
310
+ baseUrl: string;
311
+ }, {
312
+ apiKey: string;
313
+ baseUrl?: string | undefined;
314
+ }>>;
276
315
  ollama: z.ZodOptional<z.ZodObject<{
277
316
  baseUrl: z.ZodDefault<z.ZodString>;
278
317
  }, "strip", z.ZodTypeAny, {
@@ -280,24 +319,55 @@ export declare const providerConfigSchema: z.ZodObject<{
280
319
  }, {
281
320
  baseUrl?: string | undefined;
282
321
  }>>;
322
+ openai: z.ZodOptional<z.ZodObject<{
323
+ apiKey: z.ZodString;
324
+ baseUrl: z.ZodDefault<z.ZodString>;
325
+ organization: z.ZodOptional<z.ZodString>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ apiKey: string;
328
+ baseUrl: string;
329
+ organization?: string | undefined;
330
+ }, {
331
+ apiKey: string;
332
+ baseUrl?: string | undefined;
333
+ organization?: string | undefined;
334
+ }>>;
283
335
  }, "strip", z.ZodTypeAny, {
284
336
  anthropic?: {
285
337
  apiKey: string;
286
338
  baseUrl: string;
287
339
  apiVersion: string;
288
340
  } | undefined;
341
+ gemini?: {
342
+ apiKey: string;
343
+ baseUrl: string;
344
+ } | undefined;
289
345
  ollama?: {
290
346
  baseUrl: string;
291
347
  } | undefined;
348
+ openai?: {
349
+ apiKey: string;
350
+ baseUrl: string;
351
+ organization?: string | undefined;
352
+ } | undefined;
292
353
  }, {
293
354
  anthropic?: {
294
355
  apiKey: string;
295
356
  baseUrl?: string | undefined;
296
357
  apiVersion?: string | undefined;
297
358
  } | undefined;
359
+ gemini?: {
360
+ apiKey: string;
361
+ baseUrl?: string | undefined;
362
+ } | undefined;
298
363
  ollama?: {
299
364
  baseUrl?: string | undefined;
300
365
  } | undefined;
366
+ openai?: {
367
+ apiKey: string;
368
+ baseUrl?: string | undefined;
369
+ organization?: string | undefined;
370
+ } | undefined;
301
371
  }>;
302
372
  /**
303
373
  * Schema for project-level settings.
@@ -375,6 +445,16 @@ export declare const appConfigSchema: z.ZodObject<{
375
445
  baseUrl?: string | undefined;
376
446
  apiVersion?: string | undefined;
377
447
  }>>;
448
+ gemini: z.ZodOptional<z.ZodObject<{
449
+ apiKey: z.ZodString;
450
+ baseUrl: z.ZodDefault<z.ZodString>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ apiKey: string;
453
+ baseUrl: string;
454
+ }, {
455
+ apiKey: string;
456
+ baseUrl?: string | undefined;
457
+ }>>;
378
458
  ollama: z.ZodOptional<z.ZodObject<{
379
459
  baseUrl: z.ZodDefault<z.ZodString>;
380
460
  }, "strip", z.ZodTypeAny, {
@@ -382,30 +462,61 @@ export declare const appConfigSchema: z.ZodObject<{
382
462
  }, {
383
463
  baseUrl?: string | undefined;
384
464
  }>>;
465
+ openai: z.ZodOptional<z.ZodObject<{
466
+ apiKey: z.ZodString;
467
+ baseUrl: z.ZodDefault<z.ZodString>;
468
+ organization: z.ZodOptional<z.ZodString>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ apiKey: string;
471
+ baseUrl: string;
472
+ organization?: string | undefined;
473
+ }, {
474
+ apiKey: string;
475
+ baseUrl?: string | undefined;
476
+ organization?: string | undefined;
477
+ }>>;
385
478
  }, "strip", z.ZodTypeAny, {
386
479
  anthropic?: {
387
480
  apiKey: string;
388
481
  baseUrl: string;
389
482
  apiVersion: string;
390
483
  } | undefined;
484
+ gemini?: {
485
+ apiKey: string;
486
+ baseUrl: string;
487
+ } | undefined;
391
488
  ollama?: {
392
489
  baseUrl: string;
393
490
  } | undefined;
491
+ openai?: {
492
+ apiKey: string;
493
+ baseUrl: string;
494
+ organization?: string | undefined;
495
+ } | undefined;
394
496
  }, {
395
497
  anthropic?: {
396
498
  apiKey: string;
397
499
  baseUrl?: string | undefined;
398
500
  apiVersion?: string | undefined;
399
501
  } | undefined;
502
+ gemini?: {
503
+ apiKey: string;
504
+ baseUrl?: string | undefined;
505
+ } | undefined;
400
506
  ollama?: {
401
507
  baseUrl?: string | undefined;
402
508
  } | undefined;
509
+ openai?: {
510
+ apiKey: string;
511
+ baseUrl?: string | undefined;
512
+ organization?: string | undefined;
513
+ } | undefined;
403
514
  }>;
404
515
  /** Per-agent model and parameter assignments. */
405
516
  agents: z.ZodObject<{
406
517
  architect: z.ZodObject<{
407
518
  /** Which provider to use for this agent role. */
408
- provider: z.ZodEnum<["anthropic", "ollama"]>;
519
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
409
520
  /** The model identifier to use. */
410
521
  model: z.ZodString;
411
522
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -414,18 +525,18 @@ export declare const appConfigSchema: z.ZodObject<{
414
525
  maxTokens: z.ZodDefault<z.ZodNumber>;
415
526
  }, "strip", z.ZodTypeAny, {
416
527
  model: string;
417
- provider: "anthropic" | "ollama";
528
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
418
529
  temperature: number;
419
530
  maxTokens: number;
420
531
  }, {
421
532
  model: string;
422
- provider: "anthropic" | "ollama";
533
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
423
534
  temperature?: number | undefined;
424
535
  maxTokens?: number | undefined;
425
536
  }>;
426
537
  coder: z.ZodObject<{
427
538
  /** Which provider to use for this agent role. */
428
- provider: z.ZodEnum<["anthropic", "ollama"]>;
539
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
429
540
  /** The model identifier to use. */
430
541
  model: z.ZodString;
431
542
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -434,18 +545,18 @@ export declare const appConfigSchema: z.ZodObject<{
434
545
  maxTokens: z.ZodDefault<z.ZodNumber>;
435
546
  }, "strip", z.ZodTypeAny, {
436
547
  model: string;
437
- provider: "anthropic" | "ollama";
548
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
438
549
  temperature: number;
439
550
  maxTokens: number;
440
551
  }, {
441
552
  model: string;
442
- provider: "anthropic" | "ollama";
553
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
443
554
  temperature?: number | undefined;
444
555
  maxTokens?: number | undefined;
445
556
  }>;
446
557
  reviewer: z.ZodObject<{
447
558
  /** Which provider to use for this agent role. */
448
- provider: z.ZodEnum<["anthropic", "ollama"]>;
559
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
449
560
  /** The model identifier to use. */
450
561
  model: z.ZodString;
451
562
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -454,18 +565,18 @@ export declare const appConfigSchema: z.ZodObject<{
454
565
  maxTokens: z.ZodDefault<z.ZodNumber>;
455
566
  }, "strip", z.ZodTypeAny, {
456
567
  model: string;
457
- provider: "anthropic" | "ollama";
568
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
458
569
  temperature: number;
459
570
  maxTokens: number;
460
571
  }, {
461
572
  model: string;
462
- provider: "anthropic" | "ollama";
573
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
463
574
  temperature?: number | undefined;
464
575
  maxTokens?: number | undefined;
465
576
  }>;
466
577
  tester: z.ZodObject<{
467
578
  /** Which provider to use for this agent role. */
468
- provider: z.ZodEnum<["anthropic", "ollama"]>;
579
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
469
580
  /** The model identifier to use. */
470
581
  model: z.ZodString;
471
582
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -474,18 +585,18 @@ export declare const appConfigSchema: z.ZodObject<{
474
585
  maxTokens: z.ZodDefault<z.ZodNumber>;
475
586
  }, "strip", z.ZodTypeAny, {
476
587
  model: string;
477
- provider: "anthropic" | "ollama";
588
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
478
589
  temperature: number;
479
590
  maxTokens: number;
480
591
  }, {
481
592
  model: string;
482
- provider: "anthropic" | "ollama";
593
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
483
594
  temperature?: number | undefined;
484
595
  maxTokens?: number | undefined;
485
596
  }>;
486
597
  fixer: z.ZodObject<{
487
598
  /** Which provider to use for this agent role. */
488
- provider: z.ZodEnum<["anthropic", "ollama"]>;
599
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
489
600
  /** The model identifier to use. */
490
601
  model: z.ZodString;
491
602
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -494,18 +605,18 @@ export declare const appConfigSchema: z.ZodObject<{
494
605
  maxTokens: z.ZodDefault<z.ZodNumber>;
495
606
  }, "strip", z.ZodTypeAny, {
496
607
  model: string;
497
- provider: "anthropic" | "ollama";
608
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
498
609
  temperature: number;
499
610
  maxTokens: number;
500
611
  }, {
501
612
  model: string;
502
- provider: "anthropic" | "ollama";
613
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
503
614
  temperature?: number | undefined;
504
615
  maxTokens?: number | undefined;
505
616
  }>;
506
617
  judge: z.ZodObject<{
507
618
  /** Which provider to use for this agent role. */
508
- provider: z.ZodEnum<["anthropic", "ollama"]>;
619
+ provider: z.ZodEnum<["anthropic", "gemini", "ollama", "openai"]>;
509
620
  /** The model identifier to use. */
510
621
  model: z.ZodString;
511
622
  /** Sampling temperature (0.0 = deterministic, higher = more creative). */
@@ -514,86 +625,86 @@ export declare const appConfigSchema: z.ZodObject<{
514
625
  maxTokens: z.ZodDefault<z.ZodNumber>;
515
626
  }, "strip", z.ZodTypeAny, {
516
627
  model: string;
517
- provider: "anthropic" | "ollama";
628
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
518
629
  temperature: number;
519
630
  maxTokens: number;
520
631
  }, {
521
632
  model: string;
522
- provider: "anthropic" | "ollama";
633
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
523
634
  temperature?: number | undefined;
524
635
  maxTokens?: number | undefined;
525
636
  }>;
526
637
  }, "strip", z.ZodTypeAny, {
527
638
  architect: {
528
639
  model: string;
529
- provider: "anthropic" | "ollama";
640
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
530
641
  temperature: number;
531
642
  maxTokens: number;
532
643
  };
533
644
  coder: {
534
645
  model: string;
535
- provider: "anthropic" | "ollama";
646
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
536
647
  temperature: number;
537
648
  maxTokens: number;
538
649
  };
539
650
  reviewer: {
540
651
  model: string;
541
- provider: "anthropic" | "ollama";
652
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
542
653
  temperature: number;
543
654
  maxTokens: number;
544
655
  };
545
656
  tester: {
546
657
  model: string;
547
- provider: "anthropic" | "ollama";
658
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
548
659
  temperature: number;
549
660
  maxTokens: number;
550
661
  };
551
662
  fixer: {
552
663
  model: string;
553
- provider: "anthropic" | "ollama";
664
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
554
665
  temperature: number;
555
666
  maxTokens: number;
556
667
  };
557
668
  judge: {
558
669
  model: string;
559
- provider: "anthropic" | "ollama";
670
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
560
671
  temperature: number;
561
672
  maxTokens: number;
562
673
  };
563
674
  }, {
564
675
  architect: {
565
676
  model: string;
566
- provider: "anthropic" | "ollama";
677
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
567
678
  temperature?: number | undefined;
568
679
  maxTokens?: number | undefined;
569
680
  };
570
681
  coder: {
571
682
  model: string;
572
- provider: "anthropic" | "ollama";
683
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
573
684
  temperature?: number | undefined;
574
685
  maxTokens?: number | undefined;
575
686
  };
576
687
  reviewer: {
577
688
  model: string;
578
- provider: "anthropic" | "ollama";
689
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
579
690
  temperature?: number | undefined;
580
691
  maxTokens?: number | undefined;
581
692
  };
582
693
  tester: {
583
694
  model: string;
584
- provider: "anthropic" | "ollama";
695
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
585
696
  temperature?: number | undefined;
586
697
  maxTokens?: number | undefined;
587
698
  };
588
699
  fixer: {
589
700
  model: string;
590
- provider: "anthropic" | "ollama";
701
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
591
702
  temperature?: number | undefined;
592
703
  maxTokens?: number | undefined;
593
704
  };
594
705
  judge: {
595
706
  model: string;
596
- provider: "anthropic" | "ollama";
707
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
597
708
  temperature?: number | undefined;
598
709
  maxTokens?: number | undefined;
599
710
  };
@@ -656,44 +767,53 @@ export declare const appConfigSchema: z.ZodObject<{
656
767
  baseUrl: string;
657
768
  apiVersion: string;
658
769
  } | undefined;
770
+ gemini?: {
771
+ apiKey: string;
772
+ baseUrl: string;
773
+ } | undefined;
659
774
  ollama?: {
660
775
  baseUrl: string;
661
776
  } | undefined;
777
+ openai?: {
778
+ apiKey: string;
779
+ baseUrl: string;
780
+ organization?: string | undefined;
781
+ } | undefined;
662
782
  };
663
783
  agents: {
664
784
  architect: {
665
785
  model: string;
666
- provider: "anthropic" | "ollama";
786
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
667
787
  temperature: number;
668
788
  maxTokens: number;
669
789
  };
670
790
  coder: {
671
791
  model: string;
672
- provider: "anthropic" | "ollama";
792
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
673
793
  temperature: number;
674
794
  maxTokens: number;
675
795
  };
676
796
  reviewer: {
677
797
  model: string;
678
- provider: "anthropic" | "ollama";
798
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
679
799
  temperature: number;
680
800
  maxTokens: number;
681
801
  };
682
802
  tester: {
683
803
  model: string;
684
- provider: "anthropic" | "ollama";
804
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
685
805
  temperature: number;
686
806
  maxTokens: number;
687
807
  };
688
808
  fixer: {
689
809
  model: string;
690
- provider: "anthropic" | "ollama";
810
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
691
811
  temperature: number;
692
812
  maxTokens: number;
693
813
  };
694
814
  judge: {
695
815
  model: string;
696
- provider: "anthropic" | "ollama";
816
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
697
817
  temperature: number;
698
818
  maxTokens: number;
699
819
  };
@@ -719,44 +839,53 @@ export declare const appConfigSchema: z.ZodObject<{
719
839
  baseUrl?: string | undefined;
720
840
  apiVersion?: string | undefined;
721
841
  } | undefined;
842
+ gemini?: {
843
+ apiKey: string;
844
+ baseUrl?: string | undefined;
845
+ } | undefined;
722
846
  ollama?: {
723
847
  baseUrl?: string | undefined;
724
848
  } | undefined;
849
+ openai?: {
850
+ apiKey: string;
851
+ baseUrl?: string | undefined;
852
+ organization?: string | undefined;
853
+ } | undefined;
725
854
  };
726
855
  agents: {
727
856
  architect: {
728
857
  model: string;
729
- provider: "anthropic" | "ollama";
858
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
730
859
  temperature?: number | undefined;
731
860
  maxTokens?: number | undefined;
732
861
  };
733
862
  coder: {
734
863
  model: string;
735
- provider: "anthropic" | "ollama";
864
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
736
865
  temperature?: number | undefined;
737
866
  maxTokens?: number | undefined;
738
867
  };
739
868
  reviewer: {
740
869
  model: string;
741
- provider: "anthropic" | "ollama";
870
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
742
871
  temperature?: number | undefined;
743
872
  maxTokens?: number | undefined;
744
873
  };
745
874
  tester: {
746
875
  model: string;
747
- provider: "anthropic" | "ollama";
876
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
748
877
  temperature?: number | undefined;
749
878
  maxTokens?: number | undefined;
750
879
  };
751
880
  fixer: {
752
881
  model: string;
753
- provider: "anthropic" | "ollama";
882
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
754
883
  temperature?: number | undefined;
755
884
  maxTokens?: number | undefined;
756
885
  };
757
886
  judge: {
758
887
  model: string;
759
- provider: "anthropic" | "ollama";
888
+ provider: "anthropic" | "gemini" | "ollama" | "openai";
760
889
  temperature?: number | undefined;
761
890
  maxTokens?: number | undefined;
762
891
  };