@generacy-ai/config 0.3.0 → 0.5.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.
@@ -12,6 +12,625 @@ export declare const TemplateReposSchema: z.ZodObject<{
12
12
  dev?: string[] | null | undefined;
13
13
  clone?: string[] | null | undefined;
14
14
  }>;
15
+ /**
16
+ * Reasoning effort levels understood by the Claude CLI (v2.1.150). Matches the
17
+ * `--effort <level>` flag vocabulary verbatim. Consumers that lack an effort
18
+ * mechanism silently drop the field at spawn time (with a warning).
19
+ */
20
+ export declare const EffortSchema: z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>;
21
+ export type Effort = z.infer<typeof EffortSchema>;
22
+ /**
23
+ * A single agent selector: `{ provider?, model?, effort? }`. All fields are
24
+ * optional and resolve independently — a phase override may set only `model`
25
+ * and let `provider` fall through from a lower precedence tier.
26
+ */
27
+ export declare const AgentEntrySchema: z.ZodObject<{
28
+ provider: z.ZodOptional<z.ZodString>;
29
+ model: z.ZodOptional<z.ZodString>;
30
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
31
+ }, "strict", z.ZodTypeAny, {
32
+ provider?: string | undefined;
33
+ model?: string | undefined;
34
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
35
+ }, {
36
+ provider?: string | undefined;
37
+ model?: string | undefined;
38
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
39
+ }>;
40
+ export type AgentEntry = z.infer<typeof AgentEntrySchema>;
41
+ /**
42
+ * Per-workflow agent overrides. `phases` keys are enumerated per-field over the
43
+ * closed `WorkflowPhase` set — Zod rejects unknown keys (e.g. `implment`,
44
+ * `pr-feedback`) at parse time.
45
+ */
46
+ export declare const WorkflowAgentEntriesSchema: z.ZodObject<{
47
+ default: z.ZodOptional<z.ZodObject<{
48
+ provider: z.ZodOptional<z.ZodString>;
49
+ model: z.ZodOptional<z.ZodString>;
50
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
51
+ }, "strict", z.ZodTypeAny, {
52
+ provider?: string | undefined;
53
+ model?: string | undefined;
54
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
55
+ }, {
56
+ provider?: string | undefined;
57
+ model?: string | undefined;
58
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
59
+ }>>;
60
+ phases: z.ZodOptional<z.ZodObject<{
61
+ specify: z.ZodOptional<z.ZodObject<{
62
+ provider: z.ZodOptional<z.ZodString>;
63
+ model: z.ZodOptional<z.ZodString>;
64
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
65
+ }, "strict", z.ZodTypeAny, {
66
+ provider?: string | undefined;
67
+ model?: string | undefined;
68
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
69
+ }, {
70
+ provider?: string | undefined;
71
+ model?: string | undefined;
72
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
73
+ }>>;
74
+ clarify: z.ZodOptional<z.ZodObject<{
75
+ provider: z.ZodOptional<z.ZodString>;
76
+ model: z.ZodOptional<z.ZodString>;
77
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
78
+ }, "strict", z.ZodTypeAny, {
79
+ provider?: string | undefined;
80
+ model?: string | undefined;
81
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
82
+ }, {
83
+ provider?: string | undefined;
84
+ model?: string | undefined;
85
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
86
+ }>>;
87
+ plan: z.ZodOptional<z.ZodObject<{
88
+ provider: z.ZodOptional<z.ZodString>;
89
+ model: z.ZodOptional<z.ZodString>;
90
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ provider?: string | undefined;
93
+ model?: string | undefined;
94
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
95
+ }, {
96
+ provider?: string | undefined;
97
+ model?: string | undefined;
98
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
99
+ }>>;
100
+ tasks: z.ZodOptional<z.ZodObject<{
101
+ provider: z.ZodOptional<z.ZodString>;
102
+ model: z.ZodOptional<z.ZodString>;
103
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
104
+ }, "strict", z.ZodTypeAny, {
105
+ provider?: string | undefined;
106
+ model?: string | undefined;
107
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
108
+ }, {
109
+ provider?: string | undefined;
110
+ model?: string | undefined;
111
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
112
+ }>>;
113
+ implement: z.ZodOptional<z.ZodObject<{
114
+ provider: z.ZodOptional<z.ZodString>;
115
+ model: z.ZodOptional<z.ZodString>;
116
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
117
+ }, "strict", z.ZodTypeAny, {
118
+ provider?: string | undefined;
119
+ model?: string | undefined;
120
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
121
+ }, {
122
+ provider?: string | undefined;
123
+ model?: string | undefined;
124
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
125
+ }>>;
126
+ validate: z.ZodOptional<z.ZodObject<{
127
+ provider: z.ZodOptional<z.ZodString>;
128
+ model: z.ZodOptional<z.ZodString>;
129
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
130
+ }, "strict", z.ZodTypeAny, {
131
+ provider?: string | undefined;
132
+ model?: string | undefined;
133
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
134
+ }, {
135
+ provider?: string | undefined;
136
+ model?: string | undefined;
137
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
138
+ }>>;
139
+ }, "strict", z.ZodTypeAny, {
140
+ specify?: {
141
+ provider?: string | undefined;
142
+ model?: string | undefined;
143
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
144
+ } | undefined;
145
+ clarify?: {
146
+ provider?: string | undefined;
147
+ model?: string | undefined;
148
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
149
+ } | undefined;
150
+ plan?: {
151
+ provider?: string | undefined;
152
+ model?: string | undefined;
153
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
154
+ } | undefined;
155
+ tasks?: {
156
+ provider?: string | undefined;
157
+ model?: string | undefined;
158
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
159
+ } | undefined;
160
+ implement?: {
161
+ provider?: string | undefined;
162
+ model?: string | undefined;
163
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
164
+ } | undefined;
165
+ validate?: {
166
+ provider?: string | undefined;
167
+ model?: string | undefined;
168
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
169
+ } | undefined;
170
+ }, {
171
+ specify?: {
172
+ provider?: string | undefined;
173
+ model?: string | undefined;
174
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
175
+ } | undefined;
176
+ clarify?: {
177
+ provider?: string | undefined;
178
+ model?: string | undefined;
179
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
180
+ } | undefined;
181
+ plan?: {
182
+ provider?: string | undefined;
183
+ model?: string | undefined;
184
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
185
+ } | undefined;
186
+ tasks?: {
187
+ provider?: string | undefined;
188
+ model?: string | undefined;
189
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
190
+ } | undefined;
191
+ implement?: {
192
+ provider?: string | undefined;
193
+ model?: string | undefined;
194
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
195
+ } | undefined;
196
+ validate?: {
197
+ provider?: string | undefined;
198
+ model?: string | undefined;
199
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
200
+ } | undefined;
201
+ }>>;
202
+ }, "strict", z.ZodTypeAny, {
203
+ default?: {
204
+ provider?: string | undefined;
205
+ model?: string | undefined;
206
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
207
+ } | undefined;
208
+ phases?: {
209
+ specify?: {
210
+ provider?: string | undefined;
211
+ model?: string | undefined;
212
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
213
+ } | undefined;
214
+ clarify?: {
215
+ provider?: string | undefined;
216
+ model?: string | undefined;
217
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
218
+ } | undefined;
219
+ plan?: {
220
+ provider?: string | undefined;
221
+ model?: string | undefined;
222
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
223
+ } | undefined;
224
+ tasks?: {
225
+ provider?: string | undefined;
226
+ model?: string | undefined;
227
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
228
+ } | undefined;
229
+ implement?: {
230
+ provider?: string | undefined;
231
+ model?: string | undefined;
232
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
233
+ } | undefined;
234
+ validate?: {
235
+ provider?: string | undefined;
236
+ model?: string | undefined;
237
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
238
+ } | undefined;
239
+ } | undefined;
240
+ }, {
241
+ default?: {
242
+ provider?: string | undefined;
243
+ model?: string | undefined;
244
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
245
+ } | undefined;
246
+ phases?: {
247
+ specify?: {
248
+ provider?: string | undefined;
249
+ model?: string | undefined;
250
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
251
+ } | undefined;
252
+ clarify?: {
253
+ provider?: string | undefined;
254
+ model?: string | undefined;
255
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
256
+ } | undefined;
257
+ plan?: {
258
+ provider?: string | undefined;
259
+ model?: string | undefined;
260
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
261
+ } | undefined;
262
+ tasks?: {
263
+ provider?: string | undefined;
264
+ model?: string | undefined;
265
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
266
+ } | undefined;
267
+ implement?: {
268
+ provider?: string | undefined;
269
+ model?: string | undefined;
270
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
271
+ } | undefined;
272
+ validate?: {
273
+ provider?: string | undefined;
274
+ model?: string | undefined;
275
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
276
+ } | undefined;
277
+ } | undefined;
278
+ }>;
279
+ export type WorkflowAgentEntries = z.infer<typeof WorkflowAgentEntriesSchema>;
280
+ /**
281
+ * Agents configuration block under `orchestrator.agents`. Structure:
282
+ * ```
283
+ * agents:
284
+ * default: { provider?, model?, effort? }
285
+ * workflows:
286
+ * <name>:
287
+ * default: { provider?, model?, effort? }
288
+ * phases:
289
+ * implement: { provider?, model?, effort? }
290
+ * ```
291
+ * Workflow names are extensible (`speckit-feature`, `speckit-bugfix`, …); phase
292
+ * keys are closed to the `WorkflowPhase` enum. `workflows` stays a `z.record`
293
+ * because arbitrary workflow names are legal by design.
294
+ */
295
+ export declare const AgentsConfigSchema: z.ZodObject<{
296
+ default: z.ZodOptional<z.ZodObject<{
297
+ provider: z.ZodOptional<z.ZodString>;
298
+ model: z.ZodOptional<z.ZodString>;
299
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
300
+ }, "strict", z.ZodTypeAny, {
301
+ provider?: string | undefined;
302
+ model?: string | undefined;
303
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
304
+ }, {
305
+ provider?: string | undefined;
306
+ model?: string | undefined;
307
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
308
+ }>>;
309
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
310
+ default: z.ZodOptional<z.ZodObject<{
311
+ provider: z.ZodOptional<z.ZodString>;
312
+ model: z.ZodOptional<z.ZodString>;
313
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
314
+ }, "strict", z.ZodTypeAny, {
315
+ provider?: string | undefined;
316
+ model?: string | undefined;
317
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
318
+ }, {
319
+ provider?: string | undefined;
320
+ model?: string | undefined;
321
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
322
+ }>>;
323
+ phases: z.ZodOptional<z.ZodObject<{
324
+ specify: z.ZodOptional<z.ZodObject<{
325
+ provider: z.ZodOptional<z.ZodString>;
326
+ model: z.ZodOptional<z.ZodString>;
327
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
328
+ }, "strict", z.ZodTypeAny, {
329
+ provider?: string | undefined;
330
+ model?: string | undefined;
331
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
332
+ }, {
333
+ provider?: string | undefined;
334
+ model?: string | undefined;
335
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
336
+ }>>;
337
+ clarify: z.ZodOptional<z.ZodObject<{
338
+ provider: z.ZodOptional<z.ZodString>;
339
+ model: z.ZodOptional<z.ZodString>;
340
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
341
+ }, "strict", z.ZodTypeAny, {
342
+ provider?: string | undefined;
343
+ model?: string | undefined;
344
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
345
+ }, {
346
+ provider?: string | undefined;
347
+ model?: string | undefined;
348
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
349
+ }>>;
350
+ plan: z.ZodOptional<z.ZodObject<{
351
+ provider: z.ZodOptional<z.ZodString>;
352
+ model: z.ZodOptional<z.ZodString>;
353
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
354
+ }, "strict", z.ZodTypeAny, {
355
+ provider?: string | undefined;
356
+ model?: string | undefined;
357
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
358
+ }, {
359
+ provider?: string | undefined;
360
+ model?: string | undefined;
361
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
362
+ }>>;
363
+ tasks: z.ZodOptional<z.ZodObject<{
364
+ provider: z.ZodOptional<z.ZodString>;
365
+ model: z.ZodOptional<z.ZodString>;
366
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
367
+ }, "strict", z.ZodTypeAny, {
368
+ provider?: string | undefined;
369
+ model?: string | undefined;
370
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
371
+ }, {
372
+ provider?: string | undefined;
373
+ model?: string | undefined;
374
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
375
+ }>>;
376
+ implement: z.ZodOptional<z.ZodObject<{
377
+ provider: z.ZodOptional<z.ZodString>;
378
+ model: z.ZodOptional<z.ZodString>;
379
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
380
+ }, "strict", z.ZodTypeAny, {
381
+ provider?: string | undefined;
382
+ model?: string | undefined;
383
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
384
+ }, {
385
+ provider?: string | undefined;
386
+ model?: string | undefined;
387
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
388
+ }>>;
389
+ validate: z.ZodOptional<z.ZodObject<{
390
+ provider: z.ZodOptional<z.ZodString>;
391
+ model: z.ZodOptional<z.ZodString>;
392
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
393
+ }, "strict", z.ZodTypeAny, {
394
+ provider?: string | undefined;
395
+ model?: string | undefined;
396
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
397
+ }, {
398
+ provider?: string | undefined;
399
+ model?: string | undefined;
400
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
401
+ }>>;
402
+ }, "strict", z.ZodTypeAny, {
403
+ specify?: {
404
+ provider?: string | undefined;
405
+ model?: string | undefined;
406
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
407
+ } | undefined;
408
+ clarify?: {
409
+ provider?: string | undefined;
410
+ model?: string | undefined;
411
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
412
+ } | undefined;
413
+ plan?: {
414
+ provider?: string | undefined;
415
+ model?: string | undefined;
416
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
417
+ } | undefined;
418
+ tasks?: {
419
+ provider?: string | undefined;
420
+ model?: string | undefined;
421
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
422
+ } | undefined;
423
+ implement?: {
424
+ provider?: string | undefined;
425
+ model?: string | undefined;
426
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
427
+ } | undefined;
428
+ validate?: {
429
+ provider?: string | undefined;
430
+ model?: string | undefined;
431
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
432
+ } | undefined;
433
+ }, {
434
+ specify?: {
435
+ provider?: string | undefined;
436
+ model?: string | undefined;
437
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
438
+ } | undefined;
439
+ clarify?: {
440
+ provider?: string | undefined;
441
+ model?: string | undefined;
442
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
443
+ } | undefined;
444
+ plan?: {
445
+ provider?: string | undefined;
446
+ model?: string | undefined;
447
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
448
+ } | undefined;
449
+ tasks?: {
450
+ provider?: string | undefined;
451
+ model?: string | undefined;
452
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
453
+ } | undefined;
454
+ implement?: {
455
+ provider?: string | undefined;
456
+ model?: string | undefined;
457
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
458
+ } | undefined;
459
+ validate?: {
460
+ provider?: string | undefined;
461
+ model?: string | undefined;
462
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
463
+ } | undefined;
464
+ }>>;
465
+ }, "strict", z.ZodTypeAny, {
466
+ default?: {
467
+ provider?: string | undefined;
468
+ model?: string | undefined;
469
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
470
+ } | undefined;
471
+ phases?: {
472
+ specify?: {
473
+ provider?: string | undefined;
474
+ model?: string | undefined;
475
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
476
+ } | undefined;
477
+ clarify?: {
478
+ provider?: string | undefined;
479
+ model?: string | undefined;
480
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
481
+ } | undefined;
482
+ plan?: {
483
+ provider?: string | undefined;
484
+ model?: string | undefined;
485
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
486
+ } | undefined;
487
+ tasks?: {
488
+ provider?: string | undefined;
489
+ model?: string | undefined;
490
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
491
+ } | undefined;
492
+ implement?: {
493
+ provider?: string | undefined;
494
+ model?: string | undefined;
495
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
496
+ } | undefined;
497
+ validate?: {
498
+ provider?: string | undefined;
499
+ model?: string | undefined;
500
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
501
+ } | undefined;
502
+ } | undefined;
503
+ }, {
504
+ default?: {
505
+ provider?: string | undefined;
506
+ model?: string | undefined;
507
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
508
+ } | undefined;
509
+ phases?: {
510
+ specify?: {
511
+ provider?: string | undefined;
512
+ model?: string | undefined;
513
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
514
+ } | undefined;
515
+ clarify?: {
516
+ provider?: string | undefined;
517
+ model?: string | undefined;
518
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
519
+ } | undefined;
520
+ plan?: {
521
+ provider?: string | undefined;
522
+ model?: string | undefined;
523
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
524
+ } | undefined;
525
+ tasks?: {
526
+ provider?: string | undefined;
527
+ model?: string | undefined;
528
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
529
+ } | undefined;
530
+ implement?: {
531
+ provider?: string | undefined;
532
+ model?: string | undefined;
533
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
534
+ } | undefined;
535
+ validate?: {
536
+ provider?: string | undefined;
537
+ model?: string | undefined;
538
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
539
+ } | undefined;
540
+ } | undefined;
541
+ }>>>;
542
+ }, "strict", z.ZodTypeAny, {
543
+ default?: {
544
+ provider?: string | undefined;
545
+ model?: string | undefined;
546
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
547
+ } | undefined;
548
+ workflows?: Record<string, {
549
+ default?: {
550
+ provider?: string | undefined;
551
+ model?: string | undefined;
552
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
553
+ } | undefined;
554
+ phases?: {
555
+ specify?: {
556
+ provider?: string | undefined;
557
+ model?: string | undefined;
558
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
559
+ } | undefined;
560
+ clarify?: {
561
+ provider?: string | undefined;
562
+ model?: string | undefined;
563
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
564
+ } | undefined;
565
+ plan?: {
566
+ provider?: string | undefined;
567
+ model?: string | undefined;
568
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
569
+ } | undefined;
570
+ tasks?: {
571
+ provider?: string | undefined;
572
+ model?: string | undefined;
573
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
574
+ } | undefined;
575
+ implement?: {
576
+ provider?: string | undefined;
577
+ model?: string | undefined;
578
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
579
+ } | undefined;
580
+ validate?: {
581
+ provider?: string | undefined;
582
+ model?: string | undefined;
583
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
584
+ } | undefined;
585
+ } | undefined;
586
+ }> | undefined;
587
+ }, {
588
+ default?: {
589
+ provider?: string | undefined;
590
+ model?: string | undefined;
591
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
592
+ } | undefined;
593
+ workflows?: Record<string, {
594
+ default?: {
595
+ provider?: string | undefined;
596
+ model?: string | undefined;
597
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
598
+ } | undefined;
599
+ phases?: {
600
+ specify?: {
601
+ provider?: string | undefined;
602
+ model?: string | undefined;
603
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
604
+ } | undefined;
605
+ clarify?: {
606
+ provider?: string | undefined;
607
+ model?: string | undefined;
608
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
609
+ } | undefined;
610
+ plan?: {
611
+ provider?: string | undefined;
612
+ model?: string | undefined;
613
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
614
+ } | undefined;
615
+ tasks?: {
616
+ provider?: string | undefined;
617
+ model?: string | undefined;
618
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
619
+ } | undefined;
620
+ implement?: {
621
+ provider?: string | undefined;
622
+ model?: string | undefined;
623
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
624
+ } | undefined;
625
+ validate?: {
626
+ provider?: string | undefined;
627
+ model?: string | undefined;
628
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
629
+ } | undefined;
630
+ } | undefined;
631
+ }> | undefined;
632
+ }>;
633
+ export type AgentsConfig = z.infer<typeof AgentsConfigSchema>;
15
634
  export declare const OrchestratorSettingsSchema: z.ZodObject<{
16
635
  labelMonitor: z.ZodOptional<z.ZodBoolean>;
17
636
  webhookSetup: z.ZodOptional<z.ZodBoolean>;
@@ -30,20 +649,460 @@ export declare const OrchestratorSettingsSchema: z.ZodObject<{
30
649
  * `preValidateCommand` for jobs in this repo.
31
650
  */
32
651
  preValidateCommand: z.ZodOptional<z.ZodString>;
652
+ /**
653
+ * Per-repo `{ provider, model }` selection for speckit workflow phases and
654
+ * pr-feedback (bound to `implement`). See `AgentsConfigSchema`.
655
+ */
656
+ agents: z.ZodOptional<z.ZodObject<{
657
+ default: z.ZodOptional<z.ZodObject<{
658
+ provider: z.ZodOptional<z.ZodString>;
659
+ model: z.ZodOptional<z.ZodString>;
660
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
661
+ }, "strict", z.ZodTypeAny, {
662
+ provider?: string | undefined;
663
+ model?: string | undefined;
664
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
665
+ }, {
666
+ provider?: string | undefined;
667
+ model?: string | undefined;
668
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
669
+ }>>;
670
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
671
+ default: z.ZodOptional<z.ZodObject<{
672
+ provider: z.ZodOptional<z.ZodString>;
673
+ model: z.ZodOptional<z.ZodString>;
674
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
675
+ }, "strict", z.ZodTypeAny, {
676
+ provider?: string | undefined;
677
+ model?: string | undefined;
678
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
679
+ }, {
680
+ provider?: string | undefined;
681
+ model?: string | undefined;
682
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
683
+ }>>;
684
+ phases: z.ZodOptional<z.ZodObject<{
685
+ specify: z.ZodOptional<z.ZodObject<{
686
+ provider: z.ZodOptional<z.ZodString>;
687
+ model: z.ZodOptional<z.ZodString>;
688
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
689
+ }, "strict", z.ZodTypeAny, {
690
+ provider?: string | undefined;
691
+ model?: string | undefined;
692
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
693
+ }, {
694
+ provider?: string | undefined;
695
+ model?: string | undefined;
696
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
697
+ }>>;
698
+ clarify: z.ZodOptional<z.ZodObject<{
699
+ provider: z.ZodOptional<z.ZodString>;
700
+ model: z.ZodOptional<z.ZodString>;
701
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
702
+ }, "strict", z.ZodTypeAny, {
703
+ provider?: string | undefined;
704
+ model?: string | undefined;
705
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
706
+ }, {
707
+ provider?: string | undefined;
708
+ model?: string | undefined;
709
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
710
+ }>>;
711
+ plan: z.ZodOptional<z.ZodObject<{
712
+ provider: z.ZodOptional<z.ZodString>;
713
+ model: z.ZodOptional<z.ZodString>;
714
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
715
+ }, "strict", z.ZodTypeAny, {
716
+ provider?: string | undefined;
717
+ model?: string | undefined;
718
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
719
+ }, {
720
+ provider?: string | undefined;
721
+ model?: string | undefined;
722
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
723
+ }>>;
724
+ tasks: z.ZodOptional<z.ZodObject<{
725
+ provider: z.ZodOptional<z.ZodString>;
726
+ model: z.ZodOptional<z.ZodString>;
727
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
728
+ }, "strict", z.ZodTypeAny, {
729
+ provider?: string | undefined;
730
+ model?: string | undefined;
731
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
732
+ }, {
733
+ provider?: string | undefined;
734
+ model?: string | undefined;
735
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
736
+ }>>;
737
+ implement: z.ZodOptional<z.ZodObject<{
738
+ provider: z.ZodOptional<z.ZodString>;
739
+ model: z.ZodOptional<z.ZodString>;
740
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
741
+ }, "strict", z.ZodTypeAny, {
742
+ provider?: string | undefined;
743
+ model?: string | undefined;
744
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
745
+ }, {
746
+ provider?: string | undefined;
747
+ model?: string | undefined;
748
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
749
+ }>>;
750
+ validate: z.ZodOptional<z.ZodObject<{
751
+ provider: z.ZodOptional<z.ZodString>;
752
+ model: z.ZodOptional<z.ZodString>;
753
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
754
+ }, "strict", z.ZodTypeAny, {
755
+ provider?: string | undefined;
756
+ model?: string | undefined;
757
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
758
+ }, {
759
+ provider?: string | undefined;
760
+ model?: string | undefined;
761
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
762
+ }>>;
763
+ }, "strict", z.ZodTypeAny, {
764
+ specify?: {
765
+ provider?: string | undefined;
766
+ model?: string | undefined;
767
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
768
+ } | undefined;
769
+ clarify?: {
770
+ provider?: string | undefined;
771
+ model?: string | undefined;
772
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
773
+ } | undefined;
774
+ plan?: {
775
+ provider?: string | undefined;
776
+ model?: string | undefined;
777
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
778
+ } | undefined;
779
+ tasks?: {
780
+ provider?: string | undefined;
781
+ model?: string | undefined;
782
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
783
+ } | undefined;
784
+ implement?: {
785
+ provider?: string | undefined;
786
+ model?: string | undefined;
787
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
788
+ } | undefined;
789
+ validate?: {
790
+ provider?: string | undefined;
791
+ model?: string | undefined;
792
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
793
+ } | undefined;
794
+ }, {
795
+ specify?: {
796
+ provider?: string | undefined;
797
+ model?: string | undefined;
798
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
799
+ } | undefined;
800
+ clarify?: {
801
+ provider?: string | undefined;
802
+ model?: string | undefined;
803
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
804
+ } | undefined;
805
+ plan?: {
806
+ provider?: string | undefined;
807
+ model?: string | undefined;
808
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
809
+ } | undefined;
810
+ tasks?: {
811
+ provider?: string | undefined;
812
+ model?: string | undefined;
813
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
814
+ } | undefined;
815
+ implement?: {
816
+ provider?: string | undefined;
817
+ model?: string | undefined;
818
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
819
+ } | undefined;
820
+ validate?: {
821
+ provider?: string | undefined;
822
+ model?: string | undefined;
823
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
824
+ } | undefined;
825
+ }>>;
826
+ }, "strict", z.ZodTypeAny, {
827
+ default?: {
828
+ provider?: string | undefined;
829
+ model?: string | undefined;
830
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
831
+ } | undefined;
832
+ phases?: {
833
+ specify?: {
834
+ provider?: string | undefined;
835
+ model?: string | undefined;
836
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
837
+ } | undefined;
838
+ clarify?: {
839
+ provider?: string | undefined;
840
+ model?: string | undefined;
841
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
842
+ } | undefined;
843
+ plan?: {
844
+ provider?: string | undefined;
845
+ model?: string | undefined;
846
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
847
+ } | undefined;
848
+ tasks?: {
849
+ provider?: string | undefined;
850
+ model?: string | undefined;
851
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
852
+ } | undefined;
853
+ implement?: {
854
+ provider?: string | undefined;
855
+ model?: string | undefined;
856
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
857
+ } | undefined;
858
+ validate?: {
859
+ provider?: string | undefined;
860
+ model?: string | undefined;
861
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
862
+ } | undefined;
863
+ } | undefined;
864
+ }, {
865
+ default?: {
866
+ provider?: string | undefined;
867
+ model?: string | undefined;
868
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
869
+ } | undefined;
870
+ phases?: {
871
+ specify?: {
872
+ provider?: string | undefined;
873
+ model?: string | undefined;
874
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
875
+ } | undefined;
876
+ clarify?: {
877
+ provider?: string | undefined;
878
+ model?: string | undefined;
879
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
880
+ } | undefined;
881
+ plan?: {
882
+ provider?: string | undefined;
883
+ model?: string | undefined;
884
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
885
+ } | undefined;
886
+ tasks?: {
887
+ provider?: string | undefined;
888
+ model?: string | undefined;
889
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
890
+ } | undefined;
891
+ implement?: {
892
+ provider?: string | undefined;
893
+ model?: string | undefined;
894
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
895
+ } | undefined;
896
+ validate?: {
897
+ provider?: string | undefined;
898
+ model?: string | undefined;
899
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
900
+ } | undefined;
901
+ } | undefined;
902
+ }>>>;
903
+ }, "strict", z.ZodTypeAny, {
904
+ default?: {
905
+ provider?: string | undefined;
906
+ model?: string | undefined;
907
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
908
+ } | undefined;
909
+ workflows?: Record<string, {
910
+ default?: {
911
+ provider?: string | undefined;
912
+ model?: string | undefined;
913
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
914
+ } | undefined;
915
+ phases?: {
916
+ specify?: {
917
+ provider?: string | undefined;
918
+ model?: string | undefined;
919
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
920
+ } | undefined;
921
+ clarify?: {
922
+ provider?: string | undefined;
923
+ model?: string | undefined;
924
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
925
+ } | undefined;
926
+ plan?: {
927
+ provider?: string | undefined;
928
+ model?: string | undefined;
929
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
930
+ } | undefined;
931
+ tasks?: {
932
+ provider?: string | undefined;
933
+ model?: string | undefined;
934
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
935
+ } | undefined;
936
+ implement?: {
937
+ provider?: string | undefined;
938
+ model?: string | undefined;
939
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
940
+ } | undefined;
941
+ validate?: {
942
+ provider?: string | undefined;
943
+ model?: string | undefined;
944
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
945
+ } | undefined;
946
+ } | undefined;
947
+ }> | undefined;
948
+ }, {
949
+ default?: {
950
+ provider?: string | undefined;
951
+ model?: string | undefined;
952
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
953
+ } | undefined;
954
+ workflows?: Record<string, {
955
+ default?: {
956
+ provider?: string | undefined;
957
+ model?: string | undefined;
958
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
959
+ } | undefined;
960
+ phases?: {
961
+ specify?: {
962
+ provider?: string | undefined;
963
+ model?: string | undefined;
964
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
965
+ } | undefined;
966
+ clarify?: {
967
+ provider?: string | undefined;
968
+ model?: string | undefined;
969
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
970
+ } | undefined;
971
+ plan?: {
972
+ provider?: string | undefined;
973
+ model?: string | undefined;
974
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
975
+ } | undefined;
976
+ tasks?: {
977
+ provider?: string | undefined;
978
+ model?: string | undefined;
979
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
980
+ } | undefined;
981
+ implement?: {
982
+ provider?: string | undefined;
983
+ model?: string | undefined;
984
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
985
+ } | undefined;
986
+ validate?: {
987
+ provider?: string | undefined;
988
+ model?: string | undefined;
989
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
990
+ } | undefined;
991
+ } | undefined;
992
+ }> | undefined;
993
+ }>>;
33
994
  }, "strip", z.ZodTypeAny, {
34
995
  labelMonitor?: boolean | undefined;
35
996
  webhookSetup?: boolean | undefined;
36
997
  smeeChannelUrl?: string | undefined;
37
998
  validateCommand?: string | undefined;
38
999
  preValidateCommand?: string | undefined;
1000
+ agents?: {
1001
+ default?: {
1002
+ provider?: string | undefined;
1003
+ model?: string | undefined;
1004
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1005
+ } | undefined;
1006
+ workflows?: Record<string, {
1007
+ default?: {
1008
+ provider?: string | undefined;
1009
+ model?: string | undefined;
1010
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1011
+ } | undefined;
1012
+ phases?: {
1013
+ specify?: {
1014
+ provider?: string | undefined;
1015
+ model?: string | undefined;
1016
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1017
+ } | undefined;
1018
+ clarify?: {
1019
+ provider?: string | undefined;
1020
+ model?: string | undefined;
1021
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1022
+ } | undefined;
1023
+ plan?: {
1024
+ provider?: string | undefined;
1025
+ model?: string | undefined;
1026
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1027
+ } | undefined;
1028
+ tasks?: {
1029
+ provider?: string | undefined;
1030
+ model?: string | undefined;
1031
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1032
+ } | undefined;
1033
+ implement?: {
1034
+ provider?: string | undefined;
1035
+ model?: string | undefined;
1036
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1037
+ } | undefined;
1038
+ validate?: {
1039
+ provider?: string | undefined;
1040
+ model?: string | undefined;
1041
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1042
+ } | undefined;
1043
+ } | undefined;
1044
+ }> | undefined;
1045
+ } | undefined;
39
1046
  }, {
40
1047
  labelMonitor?: boolean | undefined;
41
1048
  webhookSetup?: boolean | undefined;
42
1049
  smeeChannelUrl?: string | undefined;
43
1050
  validateCommand?: string | undefined;
44
1051
  preValidateCommand?: string | undefined;
1052
+ agents?: {
1053
+ default?: {
1054
+ provider?: string | undefined;
1055
+ model?: string | undefined;
1056
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1057
+ } | undefined;
1058
+ workflows?: Record<string, {
1059
+ default?: {
1060
+ provider?: string | undefined;
1061
+ model?: string | undefined;
1062
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1063
+ } | undefined;
1064
+ phases?: {
1065
+ specify?: {
1066
+ provider?: string | undefined;
1067
+ model?: string | undefined;
1068
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1069
+ } | undefined;
1070
+ clarify?: {
1071
+ provider?: string | undefined;
1072
+ model?: string | undefined;
1073
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1074
+ } | undefined;
1075
+ plan?: {
1076
+ provider?: string | undefined;
1077
+ model?: string | undefined;
1078
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1079
+ } | undefined;
1080
+ tasks?: {
1081
+ provider?: string | undefined;
1082
+ model?: string | undefined;
1083
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1084
+ } | undefined;
1085
+ implement?: {
1086
+ provider?: string | undefined;
1087
+ model?: string | undefined;
1088
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1089
+ } | undefined;
1090
+ validate?: {
1091
+ provider?: string | undefined;
1092
+ model?: string | undefined;
1093
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1094
+ } | undefined;
1095
+ } | undefined;
1096
+ }> | undefined;
1097
+ } | undefined;
45
1098
  }>;
46
1099
  export declare const TemplateConfigSchema: z.ZodObject<{
1100
+ /**
1101
+ * Target branch for every workspace repo. Omit for "no preference" — setup
1102
+ * then leaves existing checkouts on their current branch and clones new repos
1103
+ * on the remote default.
1104
+ */
1105
+ branch: z.ZodOptional<z.ZodString>;
47
1106
  project: z.ZodOptional<z.ZodObject<{
48
1107
  org_name: z.ZodOptional<z.ZodString>;
49
1108
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -82,18 +1141,452 @@ export declare const TemplateConfigSchema: z.ZodObject<{
82
1141
  * `preValidateCommand` for jobs in this repo.
83
1142
  */
84
1143
  preValidateCommand: z.ZodOptional<z.ZodString>;
1144
+ /**
1145
+ * Per-repo `{ provider, model }` selection for speckit workflow phases and
1146
+ * pr-feedback (bound to `implement`). See `AgentsConfigSchema`.
1147
+ */
1148
+ agents: z.ZodOptional<z.ZodObject<{
1149
+ default: z.ZodOptional<z.ZodObject<{
1150
+ provider: z.ZodOptional<z.ZodString>;
1151
+ model: z.ZodOptional<z.ZodString>;
1152
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1153
+ }, "strict", z.ZodTypeAny, {
1154
+ provider?: string | undefined;
1155
+ model?: string | undefined;
1156
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1157
+ }, {
1158
+ provider?: string | undefined;
1159
+ model?: string | undefined;
1160
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1161
+ }>>;
1162
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1163
+ default: z.ZodOptional<z.ZodObject<{
1164
+ provider: z.ZodOptional<z.ZodString>;
1165
+ model: z.ZodOptional<z.ZodString>;
1166
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1167
+ }, "strict", z.ZodTypeAny, {
1168
+ provider?: string | undefined;
1169
+ model?: string | undefined;
1170
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1171
+ }, {
1172
+ provider?: string | undefined;
1173
+ model?: string | undefined;
1174
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1175
+ }>>;
1176
+ phases: z.ZodOptional<z.ZodObject<{
1177
+ specify: z.ZodOptional<z.ZodObject<{
1178
+ provider: z.ZodOptional<z.ZodString>;
1179
+ model: z.ZodOptional<z.ZodString>;
1180
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1181
+ }, "strict", z.ZodTypeAny, {
1182
+ provider?: string | undefined;
1183
+ model?: string | undefined;
1184
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1185
+ }, {
1186
+ provider?: string | undefined;
1187
+ model?: string | undefined;
1188
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1189
+ }>>;
1190
+ clarify: z.ZodOptional<z.ZodObject<{
1191
+ provider: z.ZodOptional<z.ZodString>;
1192
+ model: z.ZodOptional<z.ZodString>;
1193
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1194
+ }, "strict", z.ZodTypeAny, {
1195
+ provider?: string | undefined;
1196
+ model?: string | undefined;
1197
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1198
+ }, {
1199
+ provider?: string | undefined;
1200
+ model?: string | undefined;
1201
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1202
+ }>>;
1203
+ plan: z.ZodOptional<z.ZodObject<{
1204
+ provider: z.ZodOptional<z.ZodString>;
1205
+ model: z.ZodOptional<z.ZodString>;
1206
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1207
+ }, "strict", z.ZodTypeAny, {
1208
+ provider?: string | undefined;
1209
+ model?: string | undefined;
1210
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1211
+ }, {
1212
+ provider?: string | undefined;
1213
+ model?: string | undefined;
1214
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1215
+ }>>;
1216
+ tasks: z.ZodOptional<z.ZodObject<{
1217
+ provider: z.ZodOptional<z.ZodString>;
1218
+ model: z.ZodOptional<z.ZodString>;
1219
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1220
+ }, "strict", z.ZodTypeAny, {
1221
+ provider?: string | undefined;
1222
+ model?: string | undefined;
1223
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1224
+ }, {
1225
+ provider?: string | undefined;
1226
+ model?: string | undefined;
1227
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1228
+ }>>;
1229
+ implement: z.ZodOptional<z.ZodObject<{
1230
+ provider: z.ZodOptional<z.ZodString>;
1231
+ model: z.ZodOptional<z.ZodString>;
1232
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1233
+ }, "strict", z.ZodTypeAny, {
1234
+ provider?: string | undefined;
1235
+ model?: string | undefined;
1236
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1237
+ }, {
1238
+ provider?: string | undefined;
1239
+ model?: string | undefined;
1240
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1241
+ }>>;
1242
+ validate: z.ZodOptional<z.ZodObject<{
1243
+ provider: z.ZodOptional<z.ZodString>;
1244
+ model: z.ZodOptional<z.ZodString>;
1245
+ effort: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "xhigh", "max"]>>;
1246
+ }, "strict", z.ZodTypeAny, {
1247
+ provider?: string | undefined;
1248
+ model?: string | undefined;
1249
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1250
+ }, {
1251
+ provider?: string | undefined;
1252
+ model?: string | undefined;
1253
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1254
+ }>>;
1255
+ }, "strict", z.ZodTypeAny, {
1256
+ specify?: {
1257
+ provider?: string | undefined;
1258
+ model?: string | undefined;
1259
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1260
+ } | undefined;
1261
+ clarify?: {
1262
+ provider?: string | undefined;
1263
+ model?: string | undefined;
1264
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1265
+ } | undefined;
1266
+ plan?: {
1267
+ provider?: string | undefined;
1268
+ model?: string | undefined;
1269
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1270
+ } | undefined;
1271
+ tasks?: {
1272
+ provider?: string | undefined;
1273
+ model?: string | undefined;
1274
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1275
+ } | undefined;
1276
+ implement?: {
1277
+ provider?: string | undefined;
1278
+ model?: string | undefined;
1279
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1280
+ } | undefined;
1281
+ validate?: {
1282
+ provider?: string | undefined;
1283
+ model?: string | undefined;
1284
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1285
+ } | undefined;
1286
+ }, {
1287
+ specify?: {
1288
+ provider?: string | undefined;
1289
+ model?: string | undefined;
1290
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1291
+ } | undefined;
1292
+ clarify?: {
1293
+ provider?: string | undefined;
1294
+ model?: string | undefined;
1295
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1296
+ } | undefined;
1297
+ plan?: {
1298
+ provider?: string | undefined;
1299
+ model?: string | undefined;
1300
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1301
+ } | undefined;
1302
+ tasks?: {
1303
+ provider?: string | undefined;
1304
+ model?: string | undefined;
1305
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1306
+ } | undefined;
1307
+ implement?: {
1308
+ provider?: string | undefined;
1309
+ model?: string | undefined;
1310
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1311
+ } | undefined;
1312
+ validate?: {
1313
+ provider?: string | undefined;
1314
+ model?: string | undefined;
1315
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1316
+ } | undefined;
1317
+ }>>;
1318
+ }, "strict", z.ZodTypeAny, {
1319
+ default?: {
1320
+ provider?: string | undefined;
1321
+ model?: string | undefined;
1322
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1323
+ } | undefined;
1324
+ phases?: {
1325
+ specify?: {
1326
+ provider?: string | undefined;
1327
+ model?: string | undefined;
1328
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1329
+ } | undefined;
1330
+ clarify?: {
1331
+ provider?: string | undefined;
1332
+ model?: string | undefined;
1333
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1334
+ } | undefined;
1335
+ plan?: {
1336
+ provider?: string | undefined;
1337
+ model?: string | undefined;
1338
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1339
+ } | undefined;
1340
+ tasks?: {
1341
+ provider?: string | undefined;
1342
+ model?: string | undefined;
1343
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1344
+ } | undefined;
1345
+ implement?: {
1346
+ provider?: string | undefined;
1347
+ model?: string | undefined;
1348
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1349
+ } | undefined;
1350
+ validate?: {
1351
+ provider?: string | undefined;
1352
+ model?: string | undefined;
1353
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1354
+ } | undefined;
1355
+ } | undefined;
1356
+ }, {
1357
+ default?: {
1358
+ provider?: string | undefined;
1359
+ model?: string | undefined;
1360
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1361
+ } | undefined;
1362
+ phases?: {
1363
+ specify?: {
1364
+ provider?: string | undefined;
1365
+ model?: string | undefined;
1366
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1367
+ } | undefined;
1368
+ clarify?: {
1369
+ provider?: string | undefined;
1370
+ model?: string | undefined;
1371
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1372
+ } | undefined;
1373
+ plan?: {
1374
+ provider?: string | undefined;
1375
+ model?: string | undefined;
1376
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1377
+ } | undefined;
1378
+ tasks?: {
1379
+ provider?: string | undefined;
1380
+ model?: string | undefined;
1381
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1382
+ } | undefined;
1383
+ implement?: {
1384
+ provider?: string | undefined;
1385
+ model?: string | undefined;
1386
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1387
+ } | undefined;
1388
+ validate?: {
1389
+ provider?: string | undefined;
1390
+ model?: string | undefined;
1391
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1392
+ } | undefined;
1393
+ } | undefined;
1394
+ }>>>;
1395
+ }, "strict", z.ZodTypeAny, {
1396
+ default?: {
1397
+ provider?: string | undefined;
1398
+ model?: string | undefined;
1399
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1400
+ } | undefined;
1401
+ workflows?: Record<string, {
1402
+ default?: {
1403
+ provider?: string | undefined;
1404
+ model?: string | undefined;
1405
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1406
+ } | undefined;
1407
+ phases?: {
1408
+ specify?: {
1409
+ provider?: string | undefined;
1410
+ model?: string | undefined;
1411
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1412
+ } | undefined;
1413
+ clarify?: {
1414
+ provider?: string | undefined;
1415
+ model?: string | undefined;
1416
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1417
+ } | undefined;
1418
+ plan?: {
1419
+ provider?: string | undefined;
1420
+ model?: string | undefined;
1421
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1422
+ } | undefined;
1423
+ tasks?: {
1424
+ provider?: string | undefined;
1425
+ model?: string | undefined;
1426
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1427
+ } | undefined;
1428
+ implement?: {
1429
+ provider?: string | undefined;
1430
+ model?: string | undefined;
1431
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1432
+ } | undefined;
1433
+ validate?: {
1434
+ provider?: string | undefined;
1435
+ model?: string | undefined;
1436
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1437
+ } | undefined;
1438
+ } | undefined;
1439
+ }> | undefined;
1440
+ }, {
1441
+ default?: {
1442
+ provider?: string | undefined;
1443
+ model?: string | undefined;
1444
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1445
+ } | undefined;
1446
+ workflows?: Record<string, {
1447
+ default?: {
1448
+ provider?: string | undefined;
1449
+ model?: string | undefined;
1450
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1451
+ } | undefined;
1452
+ phases?: {
1453
+ specify?: {
1454
+ provider?: string | undefined;
1455
+ model?: string | undefined;
1456
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1457
+ } | undefined;
1458
+ clarify?: {
1459
+ provider?: string | undefined;
1460
+ model?: string | undefined;
1461
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1462
+ } | undefined;
1463
+ plan?: {
1464
+ provider?: string | undefined;
1465
+ model?: string | undefined;
1466
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1467
+ } | undefined;
1468
+ tasks?: {
1469
+ provider?: string | undefined;
1470
+ model?: string | undefined;
1471
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1472
+ } | undefined;
1473
+ implement?: {
1474
+ provider?: string | undefined;
1475
+ model?: string | undefined;
1476
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1477
+ } | undefined;
1478
+ validate?: {
1479
+ provider?: string | undefined;
1480
+ model?: string | undefined;
1481
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1482
+ } | undefined;
1483
+ } | undefined;
1484
+ }> | undefined;
1485
+ }>>;
85
1486
  }, "strip", z.ZodTypeAny, {
86
1487
  labelMonitor?: boolean | undefined;
87
1488
  webhookSetup?: boolean | undefined;
88
1489
  smeeChannelUrl?: string | undefined;
89
1490
  validateCommand?: string | undefined;
90
1491
  preValidateCommand?: string | undefined;
1492
+ agents?: {
1493
+ default?: {
1494
+ provider?: string | undefined;
1495
+ model?: string | undefined;
1496
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1497
+ } | undefined;
1498
+ workflows?: Record<string, {
1499
+ default?: {
1500
+ provider?: string | undefined;
1501
+ model?: string | undefined;
1502
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1503
+ } | undefined;
1504
+ phases?: {
1505
+ specify?: {
1506
+ provider?: string | undefined;
1507
+ model?: string | undefined;
1508
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1509
+ } | undefined;
1510
+ clarify?: {
1511
+ provider?: string | undefined;
1512
+ model?: string | undefined;
1513
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1514
+ } | undefined;
1515
+ plan?: {
1516
+ provider?: string | undefined;
1517
+ model?: string | undefined;
1518
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1519
+ } | undefined;
1520
+ tasks?: {
1521
+ provider?: string | undefined;
1522
+ model?: string | undefined;
1523
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1524
+ } | undefined;
1525
+ implement?: {
1526
+ provider?: string | undefined;
1527
+ model?: string | undefined;
1528
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1529
+ } | undefined;
1530
+ validate?: {
1531
+ provider?: string | undefined;
1532
+ model?: string | undefined;
1533
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ }> | undefined;
1537
+ } | undefined;
91
1538
  }, {
92
1539
  labelMonitor?: boolean | undefined;
93
1540
  webhookSetup?: boolean | undefined;
94
1541
  smeeChannelUrl?: string | undefined;
95
1542
  validateCommand?: string | undefined;
96
1543
  preValidateCommand?: string | undefined;
1544
+ agents?: {
1545
+ default?: {
1546
+ provider?: string | undefined;
1547
+ model?: string | undefined;
1548
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1549
+ } | undefined;
1550
+ workflows?: Record<string, {
1551
+ default?: {
1552
+ provider?: string | undefined;
1553
+ model?: string | undefined;
1554
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1555
+ } | undefined;
1556
+ phases?: {
1557
+ specify?: {
1558
+ provider?: string | undefined;
1559
+ model?: string | undefined;
1560
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1561
+ } | undefined;
1562
+ clarify?: {
1563
+ provider?: string | undefined;
1564
+ model?: string | undefined;
1565
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1566
+ } | undefined;
1567
+ plan?: {
1568
+ provider?: string | undefined;
1569
+ model?: string | undefined;
1570
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1571
+ } | undefined;
1572
+ tasks?: {
1573
+ provider?: string | undefined;
1574
+ model?: string | undefined;
1575
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1576
+ } | undefined;
1577
+ implement?: {
1578
+ provider?: string | undefined;
1579
+ model?: string | undefined;
1580
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1581
+ } | undefined;
1582
+ validate?: {
1583
+ provider?: string | undefined;
1584
+ model?: string | undefined;
1585
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1586
+ } | undefined;
1587
+ } | undefined;
1588
+ }> | undefined;
1589
+ } | undefined;
97
1590
  }>>;
98
1591
  }, "strip", z.ZodTypeAny, {
99
1592
  repos: {
@@ -101,6 +1594,7 @@ export declare const TemplateConfigSchema: z.ZodObject<{
101
1594
  dev: string[];
102
1595
  clone: string[];
103
1596
  };
1597
+ branch?: string | undefined;
104
1598
  project?: z.objectOutputType<{
105
1599
  org_name: z.ZodOptional<z.ZodString>;
106
1600
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -110,6 +1604,52 @@ export declare const TemplateConfigSchema: z.ZodObject<{
110
1604
  smeeChannelUrl?: string | undefined;
111
1605
  validateCommand?: string | undefined;
112
1606
  preValidateCommand?: string | undefined;
1607
+ agents?: {
1608
+ default?: {
1609
+ provider?: string | undefined;
1610
+ model?: string | undefined;
1611
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1612
+ } | undefined;
1613
+ workflows?: Record<string, {
1614
+ default?: {
1615
+ provider?: string | undefined;
1616
+ model?: string | undefined;
1617
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1618
+ } | undefined;
1619
+ phases?: {
1620
+ specify?: {
1621
+ provider?: string | undefined;
1622
+ model?: string | undefined;
1623
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1624
+ } | undefined;
1625
+ clarify?: {
1626
+ provider?: string | undefined;
1627
+ model?: string | undefined;
1628
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1629
+ } | undefined;
1630
+ plan?: {
1631
+ provider?: string | undefined;
1632
+ model?: string | undefined;
1633
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1634
+ } | undefined;
1635
+ tasks?: {
1636
+ provider?: string | undefined;
1637
+ model?: string | undefined;
1638
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1639
+ } | undefined;
1640
+ implement?: {
1641
+ provider?: string | undefined;
1642
+ model?: string | undefined;
1643
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1644
+ } | undefined;
1645
+ validate?: {
1646
+ provider?: string | undefined;
1647
+ model?: string | undefined;
1648
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1649
+ } | undefined;
1650
+ } | undefined;
1651
+ }> | undefined;
1652
+ } | undefined;
113
1653
  } | undefined;
114
1654
  }, {
115
1655
  repos: {
@@ -117,6 +1657,7 @@ export declare const TemplateConfigSchema: z.ZodObject<{
117
1657
  dev?: string[] | null | undefined;
118
1658
  clone?: string[] | null | undefined;
119
1659
  };
1660
+ branch?: string | undefined;
120
1661
  project?: z.objectInputType<{
121
1662
  org_name: z.ZodOptional<z.ZodString>;
122
1663
  }, z.ZodTypeAny, "passthrough"> | undefined;
@@ -126,6 +1667,52 @@ export declare const TemplateConfigSchema: z.ZodObject<{
126
1667
  smeeChannelUrl?: string | undefined;
127
1668
  validateCommand?: string | undefined;
128
1669
  preValidateCommand?: string | undefined;
1670
+ agents?: {
1671
+ default?: {
1672
+ provider?: string | undefined;
1673
+ model?: string | undefined;
1674
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1675
+ } | undefined;
1676
+ workflows?: Record<string, {
1677
+ default?: {
1678
+ provider?: string | undefined;
1679
+ model?: string | undefined;
1680
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1681
+ } | undefined;
1682
+ phases?: {
1683
+ specify?: {
1684
+ provider?: string | undefined;
1685
+ model?: string | undefined;
1686
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1687
+ } | undefined;
1688
+ clarify?: {
1689
+ provider?: string | undefined;
1690
+ model?: string | undefined;
1691
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1692
+ } | undefined;
1693
+ plan?: {
1694
+ provider?: string | undefined;
1695
+ model?: string | undefined;
1696
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1697
+ } | undefined;
1698
+ tasks?: {
1699
+ provider?: string | undefined;
1700
+ model?: string | undefined;
1701
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1702
+ } | undefined;
1703
+ implement?: {
1704
+ provider?: string | undefined;
1705
+ model?: string | undefined;
1706
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1707
+ } | undefined;
1708
+ validate?: {
1709
+ provider?: string | undefined;
1710
+ model?: string | undefined;
1711
+ effort?: "low" | "medium" | "high" | "xhigh" | "max" | undefined;
1712
+ } | undefined;
1713
+ } | undefined;
1714
+ }> | undefined;
1715
+ } | undefined;
129
1716
  } | undefined;
130
1717
  }>;
131
1718
  export type TemplateConfig = z.infer<typeof TemplateConfigSchema>;