@generacy-ai/generacy 0.4.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.
Files changed (61) hide show
  1. package/dist/cli/commands/cockpit/index.d.ts.map +1 -1
  2. package/dist/cli/commands/cockpit/index.js +2 -0
  3. package/dist/cli/commands/cockpit/index.js.map +1 -1
  4. package/dist/cli/commands/cockpit/mcp/errors.d.ts +1 -1
  5. package/dist/cli/commands/cockpit/mcp/errors.d.ts.map +1 -1
  6. package/dist/cli/commands/cockpit/mcp/errors.js.map +1 -1
  7. package/dist/cli/commands/cockpit/mcp/schemas.d.ts +136 -1
  8. package/dist/cli/commands/cockpit/mcp/schemas.d.ts.map +1 -1
  9. package/dist/cli/commands/cockpit/mcp/schemas.js +15 -2
  10. package/dist/cli/commands/cockpit/mcp/schemas.js.map +1 -1
  11. package/dist/cli/commands/cockpit/mcp/server.d.ts.map +1 -1
  12. package/dist/cli/commands/cockpit/mcp/server.js +11 -1
  13. package/dist/cli/commands/cockpit/mcp/server.js.map +1 -1
  14. package/dist/cli/commands/cockpit/mcp/tools/cockpit_queue.d.ts +19 -3
  15. package/dist/cli/commands/cockpit/mcp/tools/cockpit_queue.d.ts.map +1 -1
  16. package/dist/cli/commands/cockpit/mcp/tools/cockpit_queue.js +40 -2
  17. package/dist/cli/commands/cockpit/mcp/tools/cockpit_queue.js.map +1 -1
  18. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_add.d.ts +31 -0
  19. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_add.d.ts.map +1 -0
  20. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_add.js +81 -0
  21. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_add.js.map +1 -0
  22. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_remove.d.ts +30 -0
  23. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_remove.d.ts.map +1 -0
  24. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_remove.js +80 -0
  25. package/dist/cli/commands/cockpit/mcp/tools/cockpit_scope_remove.js.map +1 -0
  26. package/dist/cli/commands/cockpit/queue.d.ts +15 -0
  27. package/dist/cli/commands/cockpit/queue.d.ts.map +1 -1
  28. package/dist/cli/commands/cockpit/queue.js +142 -29
  29. package/dist/cli/commands/cockpit/queue.js.map +1 -1
  30. package/dist/cli/commands/cockpit/scope/errors.d.ts +21 -0
  31. package/dist/cli/commands/cockpit/scope/errors.d.ts.map +1 -0
  32. package/dist/cli/commands/cockpit/scope/errors.js +17 -0
  33. package/dist/cli/commands/cockpit/scope/errors.js.map +1 -0
  34. package/dist/cli/commands/cockpit/scope/retry.d.ts +24 -0
  35. package/dist/cli/commands/cockpit/scope/retry.d.ts.map +1 -0
  36. package/dist/cli/commands/cockpit/scope/retry.js +52 -0
  37. package/dist/cli/commands/cockpit/scope/retry.js.map +1 -0
  38. package/dist/cli/commands/cockpit/scope/writer.d.ts +21 -0
  39. package/dist/cli/commands/cockpit/scope/writer.d.ts.map +1 -0
  40. package/dist/cli/commands/cockpit/scope/writer.js +141 -0
  41. package/dist/cli/commands/cockpit/scope/writer.js.map +1 -0
  42. package/dist/cli/commands/cockpit/scope.d.ts +22 -0
  43. package/dist/cli/commands/cockpit/scope.d.ts.map +1 -0
  44. package/dist/cli/commands/cockpit/scope.js +110 -0
  45. package/dist/cli/commands/cockpit/scope.js.map +1 -0
  46. package/dist/cli/commands/cockpit/status/group.d.ts +4 -2
  47. package/dist/cli/commands/cockpit/status/group.d.ts.map +1 -1
  48. package/dist/cli/commands/cockpit/status/group.js +17 -2
  49. package/dist/cli/commands/cockpit/status/group.js.map +1 -1
  50. package/dist/cli/commands/cockpit/status.d.ts.map +1 -1
  51. package/dist/cli/commands/cockpit/status.js +17 -2
  52. package/dist/cli/commands/cockpit/status.js.map +1 -1
  53. package/dist/cli/commands/cockpit/watch/diff.d.ts +6 -2
  54. package/dist/cli/commands/cockpit/watch/diff.d.ts.map +1 -1
  55. package/dist/cli/commands/cockpit/watch/diff.js +11 -3
  56. package/dist/cli/commands/cockpit/watch/diff.js.map +1 -1
  57. package/dist/config/schema.d.ts +788 -0
  58. package/dist/config/schema.d.ts.map +1 -1
  59. package/dist/config/schema.js +12 -1
  60. package/dist/config/schema.js.map +1 -1
  61. package/package.json +6 -6
@@ -1,4 +1,12 @@
1
1
  import { z } from 'zod';
2
+ import { AgentEntrySchema, WorkflowAgentEntriesSchema, AgentsConfigSchema } from '@generacy-ai/config';
3
+ /**
4
+ * Re-export the agent selector schemas + types from `@generacy-ai/config`.
5
+ * The CLI-facing shape stays structurally identical to the target-repo shape;
6
+ * we do NOT redefine.
7
+ */
8
+ export { AgentEntrySchema, WorkflowAgentEntriesSchema, AgentsConfigSchema };
9
+ export type { AgentEntry, WorkflowAgentEntries, AgentsConfig, } from '@generacy-ai/config';
2
10
  /**
3
11
  * Project configuration schema
4
12
  * Defines project metadata and link to generacy.ai
@@ -100,12 +108,364 @@ export declare const OrchestratorSettingsSchema: z.ZodObject<{
100
108
  * Range: 1-20
101
109
  */
102
110
  workerCount: z.ZodOptional<z.ZodNumber>;
111
+ /**
112
+ * Per-repo `{ provider, model }` selection for speckit workflow phases and
113
+ * pr-feedback (bound to `implement`). See `AgentsConfigSchema`.
114
+ */
115
+ agents: z.ZodOptional<z.ZodObject<{
116
+ default: z.ZodOptional<z.ZodObject<{
117
+ provider: z.ZodOptional<z.ZodString>;
118
+ model: z.ZodOptional<z.ZodString>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ provider?: string | undefined;
121
+ model?: string | undefined;
122
+ }, {
123
+ provider?: string | undefined;
124
+ model?: string | undefined;
125
+ }>>;
126
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
127
+ default: z.ZodOptional<z.ZodObject<{
128
+ provider: z.ZodOptional<z.ZodString>;
129
+ model: z.ZodOptional<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ provider?: string | undefined;
132
+ model?: string | undefined;
133
+ }, {
134
+ provider?: string | undefined;
135
+ model?: string | undefined;
136
+ }>>;
137
+ phases: z.ZodOptional<z.ZodObject<{
138
+ specify: z.ZodOptional<z.ZodObject<{
139
+ provider: z.ZodOptional<z.ZodString>;
140
+ model: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ provider?: string | undefined;
143
+ model?: string | undefined;
144
+ }, {
145
+ provider?: string | undefined;
146
+ model?: string | undefined;
147
+ }>>;
148
+ clarify: z.ZodOptional<z.ZodObject<{
149
+ provider: z.ZodOptional<z.ZodString>;
150
+ model: z.ZodOptional<z.ZodString>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ provider?: string | undefined;
153
+ model?: string | undefined;
154
+ }, {
155
+ provider?: string | undefined;
156
+ model?: string | undefined;
157
+ }>>;
158
+ plan: z.ZodOptional<z.ZodObject<{
159
+ provider: z.ZodOptional<z.ZodString>;
160
+ model: z.ZodOptional<z.ZodString>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ provider?: string | undefined;
163
+ model?: string | undefined;
164
+ }, {
165
+ provider?: string | undefined;
166
+ model?: string | undefined;
167
+ }>>;
168
+ tasks: z.ZodOptional<z.ZodObject<{
169
+ provider: z.ZodOptional<z.ZodString>;
170
+ model: z.ZodOptional<z.ZodString>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ provider?: string | undefined;
173
+ model?: string | undefined;
174
+ }, {
175
+ provider?: string | undefined;
176
+ model?: string | undefined;
177
+ }>>;
178
+ implement: z.ZodOptional<z.ZodObject<{
179
+ provider: z.ZodOptional<z.ZodString>;
180
+ model: z.ZodOptional<z.ZodString>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ provider?: string | undefined;
183
+ model?: string | undefined;
184
+ }, {
185
+ provider?: string | undefined;
186
+ model?: string | undefined;
187
+ }>>;
188
+ validate: z.ZodOptional<z.ZodObject<{
189
+ provider: z.ZodOptional<z.ZodString>;
190
+ model: z.ZodOptional<z.ZodString>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ provider?: string | undefined;
193
+ model?: string | undefined;
194
+ }, {
195
+ provider?: string | undefined;
196
+ model?: string | undefined;
197
+ }>>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ specify?: {
200
+ provider?: string | undefined;
201
+ model?: string | undefined;
202
+ } | undefined;
203
+ clarify?: {
204
+ provider?: string | undefined;
205
+ model?: string | undefined;
206
+ } | undefined;
207
+ plan?: {
208
+ provider?: string | undefined;
209
+ model?: string | undefined;
210
+ } | undefined;
211
+ tasks?: {
212
+ provider?: string | undefined;
213
+ model?: string | undefined;
214
+ } | undefined;
215
+ implement?: {
216
+ provider?: string | undefined;
217
+ model?: string | undefined;
218
+ } | undefined;
219
+ validate?: {
220
+ provider?: string | undefined;
221
+ model?: string | undefined;
222
+ } | undefined;
223
+ }, {
224
+ specify?: {
225
+ provider?: string | undefined;
226
+ model?: string | undefined;
227
+ } | undefined;
228
+ clarify?: {
229
+ provider?: string | undefined;
230
+ model?: string | undefined;
231
+ } | undefined;
232
+ plan?: {
233
+ provider?: string | undefined;
234
+ model?: string | undefined;
235
+ } | undefined;
236
+ tasks?: {
237
+ provider?: string | undefined;
238
+ model?: string | undefined;
239
+ } | undefined;
240
+ implement?: {
241
+ provider?: string | undefined;
242
+ model?: string | undefined;
243
+ } | undefined;
244
+ validate?: {
245
+ provider?: string | undefined;
246
+ model?: string | undefined;
247
+ } | undefined;
248
+ }>>;
249
+ }, "strip", z.ZodTypeAny, {
250
+ default?: {
251
+ provider?: string | undefined;
252
+ model?: string | undefined;
253
+ } | undefined;
254
+ phases?: {
255
+ specify?: {
256
+ provider?: string | undefined;
257
+ model?: string | undefined;
258
+ } | undefined;
259
+ clarify?: {
260
+ provider?: string | undefined;
261
+ model?: string | undefined;
262
+ } | undefined;
263
+ plan?: {
264
+ provider?: string | undefined;
265
+ model?: string | undefined;
266
+ } | undefined;
267
+ tasks?: {
268
+ provider?: string | undefined;
269
+ model?: string | undefined;
270
+ } | undefined;
271
+ implement?: {
272
+ provider?: string | undefined;
273
+ model?: string | undefined;
274
+ } | undefined;
275
+ validate?: {
276
+ provider?: string | undefined;
277
+ model?: string | undefined;
278
+ } | undefined;
279
+ } | undefined;
280
+ }, {
281
+ default?: {
282
+ provider?: string | undefined;
283
+ model?: string | undefined;
284
+ } | undefined;
285
+ phases?: {
286
+ specify?: {
287
+ provider?: string | undefined;
288
+ model?: string | undefined;
289
+ } | undefined;
290
+ clarify?: {
291
+ provider?: string | undefined;
292
+ model?: string | undefined;
293
+ } | undefined;
294
+ plan?: {
295
+ provider?: string | undefined;
296
+ model?: string | undefined;
297
+ } | undefined;
298
+ tasks?: {
299
+ provider?: string | undefined;
300
+ model?: string | undefined;
301
+ } | undefined;
302
+ implement?: {
303
+ provider?: string | undefined;
304
+ model?: string | undefined;
305
+ } | undefined;
306
+ validate?: {
307
+ provider?: string | undefined;
308
+ model?: string | undefined;
309
+ } | undefined;
310
+ } | undefined;
311
+ }>>>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ default?: {
314
+ provider?: string | undefined;
315
+ model?: string | undefined;
316
+ } | undefined;
317
+ workflows?: Record<string, {
318
+ default?: {
319
+ provider?: string | undefined;
320
+ model?: string | undefined;
321
+ } | undefined;
322
+ phases?: {
323
+ specify?: {
324
+ provider?: string | undefined;
325
+ model?: string | undefined;
326
+ } | undefined;
327
+ clarify?: {
328
+ provider?: string | undefined;
329
+ model?: string | undefined;
330
+ } | undefined;
331
+ plan?: {
332
+ provider?: string | undefined;
333
+ model?: string | undefined;
334
+ } | undefined;
335
+ tasks?: {
336
+ provider?: string | undefined;
337
+ model?: string | undefined;
338
+ } | undefined;
339
+ implement?: {
340
+ provider?: string | undefined;
341
+ model?: string | undefined;
342
+ } | undefined;
343
+ validate?: {
344
+ provider?: string | undefined;
345
+ model?: string | undefined;
346
+ } | undefined;
347
+ } | undefined;
348
+ }> | undefined;
349
+ }, {
350
+ default?: {
351
+ provider?: string | undefined;
352
+ model?: string | undefined;
353
+ } | undefined;
354
+ workflows?: Record<string, {
355
+ default?: {
356
+ provider?: string | undefined;
357
+ model?: string | undefined;
358
+ } | undefined;
359
+ phases?: {
360
+ specify?: {
361
+ provider?: string | undefined;
362
+ model?: string | undefined;
363
+ } | undefined;
364
+ clarify?: {
365
+ provider?: string | undefined;
366
+ model?: string | undefined;
367
+ } | undefined;
368
+ plan?: {
369
+ provider?: string | undefined;
370
+ model?: string | undefined;
371
+ } | undefined;
372
+ tasks?: {
373
+ provider?: string | undefined;
374
+ model?: string | undefined;
375
+ } | undefined;
376
+ implement?: {
377
+ provider?: string | undefined;
378
+ model?: string | undefined;
379
+ } | undefined;
380
+ validate?: {
381
+ provider?: string | undefined;
382
+ model?: string | undefined;
383
+ } | undefined;
384
+ } | undefined;
385
+ }> | undefined;
386
+ }>>;
103
387
  }, "strip", z.ZodTypeAny, {
104
388
  pollIntervalMs?: number | undefined;
105
389
  workerCount?: number | undefined;
390
+ agents?: {
391
+ default?: {
392
+ provider?: string | undefined;
393
+ model?: string | undefined;
394
+ } | undefined;
395
+ workflows?: Record<string, {
396
+ default?: {
397
+ provider?: string | undefined;
398
+ model?: string | undefined;
399
+ } | undefined;
400
+ phases?: {
401
+ specify?: {
402
+ provider?: string | undefined;
403
+ model?: string | undefined;
404
+ } | undefined;
405
+ clarify?: {
406
+ provider?: string | undefined;
407
+ model?: string | undefined;
408
+ } | undefined;
409
+ plan?: {
410
+ provider?: string | undefined;
411
+ model?: string | undefined;
412
+ } | undefined;
413
+ tasks?: {
414
+ provider?: string | undefined;
415
+ model?: string | undefined;
416
+ } | undefined;
417
+ implement?: {
418
+ provider?: string | undefined;
419
+ model?: string | undefined;
420
+ } | undefined;
421
+ validate?: {
422
+ provider?: string | undefined;
423
+ model?: string | undefined;
424
+ } | undefined;
425
+ } | undefined;
426
+ }> | undefined;
427
+ } | undefined;
106
428
  }, {
107
429
  pollIntervalMs?: number | undefined;
108
430
  workerCount?: number | undefined;
431
+ agents?: {
432
+ default?: {
433
+ provider?: string | undefined;
434
+ model?: string | undefined;
435
+ } | undefined;
436
+ workflows?: Record<string, {
437
+ default?: {
438
+ provider?: string | undefined;
439
+ model?: string | undefined;
440
+ } | undefined;
441
+ phases?: {
442
+ specify?: {
443
+ provider?: string | undefined;
444
+ model?: string | undefined;
445
+ } | undefined;
446
+ clarify?: {
447
+ provider?: string | undefined;
448
+ model?: string | undefined;
449
+ } | undefined;
450
+ plan?: {
451
+ provider?: string | undefined;
452
+ model?: string | undefined;
453
+ } | undefined;
454
+ tasks?: {
455
+ provider?: string | undefined;
456
+ model?: string | undefined;
457
+ } | undefined;
458
+ implement?: {
459
+ provider?: string | undefined;
460
+ model?: string | undefined;
461
+ } | undefined;
462
+ validate?: {
463
+ provider?: string | undefined;
464
+ model?: string | undefined;
465
+ } | undefined;
466
+ } | undefined;
467
+ }> | undefined;
468
+ } | undefined;
109
469
  }>;
110
470
  export type OrchestratorSettings = z.infer<typeof OrchestratorSettingsSchema>;
111
471
  /**
@@ -451,12 +811,364 @@ export declare const GeneracyConfigSchema: z.ZodObject<{
451
811
  * Range: 1-20
452
812
  */
453
813
  workerCount: z.ZodOptional<z.ZodNumber>;
814
+ /**
815
+ * Per-repo `{ provider, model }` selection for speckit workflow phases and
816
+ * pr-feedback (bound to `implement`). See `AgentsConfigSchema`.
817
+ */
818
+ agents: z.ZodOptional<z.ZodObject<{
819
+ default: z.ZodOptional<z.ZodObject<{
820
+ provider: z.ZodOptional<z.ZodString>;
821
+ model: z.ZodOptional<z.ZodString>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ provider?: string | undefined;
824
+ model?: string | undefined;
825
+ }, {
826
+ provider?: string | undefined;
827
+ model?: string | undefined;
828
+ }>>;
829
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
830
+ default: z.ZodOptional<z.ZodObject<{
831
+ provider: z.ZodOptional<z.ZodString>;
832
+ model: z.ZodOptional<z.ZodString>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ provider?: string | undefined;
835
+ model?: string | undefined;
836
+ }, {
837
+ provider?: string | undefined;
838
+ model?: string | undefined;
839
+ }>>;
840
+ phases: z.ZodOptional<z.ZodObject<{
841
+ specify: z.ZodOptional<z.ZodObject<{
842
+ provider: z.ZodOptional<z.ZodString>;
843
+ model: z.ZodOptional<z.ZodString>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ provider?: string | undefined;
846
+ model?: string | undefined;
847
+ }, {
848
+ provider?: string | undefined;
849
+ model?: string | undefined;
850
+ }>>;
851
+ clarify: z.ZodOptional<z.ZodObject<{
852
+ provider: z.ZodOptional<z.ZodString>;
853
+ model: z.ZodOptional<z.ZodString>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ provider?: string | undefined;
856
+ model?: string | undefined;
857
+ }, {
858
+ provider?: string | undefined;
859
+ model?: string | undefined;
860
+ }>>;
861
+ plan: z.ZodOptional<z.ZodObject<{
862
+ provider: z.ZodOptional<z.ZodString>;
863
+ model: z.ZodOptional<z.ZodString>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ provider?: string | undefined;
866
+ model?: string | undefined;
867
+ }, {
868
+ provider?: string | undefined;
869
+ model?: string | undefined;
870
+ }>>;
871
+ tasks: z.ZodOptional<z.ZodObject<{
872
+ provider: z.ZodOptional<z.ZodString>;
873
+ model: z.ZodOptional<z.ZodString>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ provider?: string | undefined;
876
+ model?: string | undefined;
877
+ }, {
878
+ provider?: string | undefined;
879
+ model?: string | undefined;
880
+ }>>;
881
+ implement: z.ZodOptional<z.ZodObject<{
882
+ provider: z.ZodOptional<z.ZodString>;
883
+ model: z.ZodOptional<z.ZodString>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ provider?: string | undefined;
886
+ model?: string | undefined;
887
+ }, {
888
+ provider?: string | undefined;
889
+ model?: string | undefined;
890
+ }>>;
891
+ validate: z.ZodOptional<z.ZodObject<{
892
+ provider: z.ZodOptional<z.ZodString>;
893
+ model: z.ZodOptional<z.ZodString>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ provider?: string | undefined;
896
+ model?: string | undefined;
897
+ }, {
898
+ provider?: string | undefined;
899
+ model?: string | undefined;
900
+ }>>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ specify?: {
903
+ provider?: string | undefined;
904
+ model?: string | undefined;
905
+ } | undefined;
906
+ clarify?: {
907
+ provider?: string | undefined;
908
+ model?: string | undefined;
909
+ } | undefined;
910
+ plan?: {
911
+ provider?: string | undefined;
912
+ model?: string | undefined;
913
+ } | undefined;
914
+ tasks?: {
915
+ provider?: string | undefined;
916
+ model?: string | undefined;
917
+ } | undefined;
918
+ implement?: {
919
+ provider?: string | undefined;
920
+ model?: string | undefined;
921
+ } | undefined;
922
+ validate?: {
923
+ provider?: string | undefined;
924
+ model?: string | undefined;
925
+ } | undefined;
926
+ }, {
927
+ specify?: {
928
+ provider?: string | undefined;
929
+ model?: string | undefined;
930
+ } | undefined;
931
+ clarify?: {
932
+ provider?: string | undefined;
933
+ model?: string | undefined;
934
+ } | undefined;
935
+ plan?: {
936
+ provider?: string | undefined;
937
+ model?: string | undefined;
938
+ } | undefined;
939
+ tasks?: {
940
+ provider?: string | undefined;
941
+ model?: string | undefined;
942
+ } | undefined;
943
+ implement?: {
944
+ provider?: string | undefined;
945
+ model?: string | undefined;
946
+ } | undefined;
947
+ validate?: {
948
+ provider?: string | undefined;
949
+ model?: string | undefined;
950
+ } | undefined;
951
+ }>>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ default?: {
954
+ provider?: string | undefined;
955
+ model?: string | undefined;
956
+ } | undefined;
957
+ phases?: {
958
+ specify?: {
959
+ provider?: string | undefined;
960
+ model?: string | undefined;
961
+ } | undefined;
962
+ clarify?: {
963
+ provider?: string | undefined;
964
+ model?: string | undefined;
965
+ } | undefined;
966
+ plan?: {
967
+ provider?: string | undefined;
968
+ model?: string | undefined;
969
+ } | undefined;
970
+ tasks?: {
971
+ provider?: string | undefined;
972
+ model?: string | undefined;
973
+ } | undefined;
974
+ implement?: {
975
+ provider?: string | undefined;
976
+ model?: string | undefined;
977
+ } | undefined;
978
+ validate?: {
979
+ provider?: string | undefined;
980
+ model?: string | undefined;
981
+ } | undefined;
982
+ } | undefined;
983
+ }, {
984
+ default?: {
985
+ provider?: string | undefined;
986
+ model?: string | undefined;
987
+ } | undefined;
988
+ phases?: {
989
+ specify?: {
990
+ provider?: string | undefined;
991
+ model?: string | undefined;
992
+ } | undefined;
993
+ clarify?: {
994
+ provider?: string | undefined;
995
+ model?: string | undefined;
996
+ } | undefined;
997
+ plan?: {
998
+ provider?: string | undefined;
999
+ model?: string | undefined;
1000
+ } | undefined;
1001
+ tasks?: {
1002
+ provider?: string | undefined;
1003
+ model?: string | undefined;
1004
+ } | undefined;
1005
+ implement?: {
1006
+ provider?: string | undefined;
1007
+ model?: string | undefined;
1008
+ } | undefined;
1009
+ validate?: {
1010
+ provider?: string | undefined;
1011
+ model?: string | undefined;
1012
+ } | undefined;
1013
+ } | undefined;
1014
+ }>>>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ default?: {
1017
+ provider?: string | undefined;
1018
+ model?: string | undefined;
1019
+ } | undefined;
1020
+ workflows?: Record<string, {
1021
+ default?: {
1022
+ provider?: string | undefined;
1023
+ model?: string | undefined;
1024
+ } | undefined;
1025
+ phases?: {
1026
+ specify?: {
1027
+ provider?: string | undefined;
1028
+ model?: string | undefined;
1029
+ } | undefined;
1030
+ clarify?: {
1031
+ provider?: string | undefined;
1032
+ model?: string | undefined;
1033
+ } | undefined;
1034
+ plan?: {
1035
+ provider?: string | undefined;
1036
+ model?: string | undefined;
1037
+ } | undefined;
1038
+ tasks?: {
1039
+ provider?: string | undefined;
1040
+ model?: string | undefined;
1041
+ } | undefined;
1042
+ implement?: {
1043
+ provider?: string | undefined;
1044
+ model?: string | undefined;
1045
+ } | undefined;
1046
+ validate?: {
1047
+ provider?: string | undefined;
1048
+ model?: string | undefined;
1049
+ } | undefined;
1050
+ } | undefined;
1051
+ }> | undefined;
1052
+ }, {
1053
+ default?: {
1054
+ provider?: string | undefined;
1055
+ model?: string | undefined;
1056
+ } | undefined;
1057
+ workflows?: Record<string, {
1058
+ default?: {
1059
+ provider?: string | undefined;
1060
+ model?: string | undefined;
1061
+ } | undefined;
1062
+ phases?: {
1063
+ specify?: {
1064
+ provider?: string | undefined;
1065
+ model?: string | undefined;
1066
+ } | undefined;
1067
+ clarify?: {
1068
+ provider?: string | undefined;
1069
+ model?: string | undefined;
1070
+ } | undefined;
1071
+ plan?: {
1072
+ provider?: string | undefined;
1073
+ model?: string | undefined;
1074
+ } | undefined;
1075
+ tasks?: {
1076
+ provider?: string | undefined;
1077
+ model?: string | undefined;
1078
+ } | undefined;
1079
+ implement?: {
1080
+ provider?: string | undefined;
1081
+ model?: string | undefined;
1082
+ } | undefined;
1083
+ validate?: {
1084
+ provider?: string | undefined;
1085
+ model?: string | undefined;
1086
+ } | undefined;
1087
+ } | undefined;
1088
+ }> | undefined;
1089
+ }>>;
454
1090
  }, "strip", z.ZodTypeAny, {
455
1091
  pollIntervalMs?: number | undefined;
456
1092
  workerCount?: number | undefined;
1093
+ agents?: {
1094
+ default?: {
1095
+ provider?: string | undefined;
1096
+ model?: string | undefined;
1097
+ } | undefined;
1098
+ workflows?: Record<string, {
1099
+ default?: {
1100
+ provider?: string | undefined;
1101
+ model?: string | undefined;
1102
+ } | undefined;
1103
+ phases?: {
1104
+ specify?: {
1105
+ provider?: string | undefined;
1106
+ model?: string | undefined;
1107
+ } | undefined;
1108
+ clarify?: {
1109
+ provider?: string | undefined;
1110
+ model?: string | undefined;
1111
+ } | undefined;
1112
+ plan?: {
1113
+ provider?: string | undefined;
1114
+ model?: string | undefined;
1115
+ } | undefined;
1116
+ tasks?: {
1117
+ provider?: string | undefined;
1118
+ model?: string | undefined;
1119
+ } | undefined;
1120
+ implement?: {
1121
+ provider?: string | undefined;
1122
+ model?: string | undefined;
1123
+ } | undefined;
1124
+ validate?: {
1125
+ provider?: string | undefined;
1126
+ model?: string | undefined;
1127
+ } | undefined;
1128
+ } | undefined;
1129
+ }> | undefined;
1130
+ } | undefined;
457
1131
  }, {
458
1132
  pollIntervalMs?: number | undefined;
459
1133
  workerCount?: number | undefined;
1134
+ agents?: {
1135
+ default?: {
1136
+ provider?: string | undefined;
1137
+ model?: string | undefined;
1138
+ } | undefined;
1139
+ workflows?: Record<string, {
1140
+ default?: {
1141
+ provider?: string | undefined;
1142
+ model?: string | undefined;
1143
+ } | undefined;
1144
+ phases?: {
1145
+ specify?: {
1146
+ provider?: string | undefined;
1147
+ model?: string | undefined;
1148
+ } | undefined;
1149
+ clarify?: {
1150
+ provider?: string | undefined;
1151
+ model?: string | undefined;
1152
+ } | undefined;
1153
+ plan?: {
1154
+ provider?: string | undefined;
1155
+ model?: string | undefined;
1156
+ } | undefined;
1157
+ tasks?: {
1158
+ provider?: string | undefined;
1159
+ model?: string | undefined;
1160
+ } | undefined;
1161
+ implement?: {
1162
+ provider?: string | undefined;
1163
+ model?: string | undefined;
1164
+ } | undefined;
1165
+ validate?: {
1166
+ provider?: string | undefined;
1167
+ model?: string | undefined;
1168
+ } | undefined;
1169
+ } | undefined;
1170
+ }> | undefined;
1171
+ } | undefined;
460
1172
  }>>;
461
1173
  /**
462
1174
  * Cluster configuration (optional)
@@ -642,6 +1354,44 @@ export declare const GeneracyConfigSchema: z.ZodObject<{
642
1354
  orchestrator?: {
643
1355
  pollIntervalMs?: number | undefined;
644
1356
  workerCount?: number | undefined;
1357
+ agents?: {
1358
+ default?: {
1359
+ provider?: string | undefined;
1360
+ model?: string | undefined;
1361
+ } | undefined;
1362
+ workflows?: Record<string, {
1363
+ default?: {
1364
+ provider?: string | undefined;
1365
+ model?: string | undefined;
1366
+ } | undefined;
1367
+ phases?: {
1368
+ specify?: {
1369
+ provider?: string | undefined;
1370
+ model?: string | undefined;
1371
+ } | undefined;
1372
+ clarify?: {
1373
+ provider?: string | undefined;
1374
+ model?: string | undefined;
1375
+ } | undefined;
1376
+ plan?: {
1377
+ provider?: string | undefined;
1378
+ model?: string | undefined;
1379
+ } | undefined;
1380
+ tasks?: {
1381
+ provider?: string | undefined;
1382
+ model?: string | undefined;
1383
+ } | undefined;
1384
+ implement?: {
1385
+ provider?: string | undefined;
1386
+ model?: string | undefined;
1387
+ } | undefined;
1388
+ validate?: {
1389
+ provider?: string | undefined;
1390
+ model?: string | undefined;
1391
+ } | undefined;
1392
+ } | undefined;
1393
+ }> | undefined;
1394
+ } | undefined;
645
1395
  } | undefined;
646
1396
  workspace?: {
647
1397
  org: string;
@@ -696,6 +1446,44 @@ export declare const GeneracyConfigSchema: z.ZodObject<{
696
1446
  orchestrator?: {
697
1447
  pollIntervalMs?: number | undefined;
698
1448
  workerCount?: number | undefined;
1449
+ agents?: {
1450
+ default?: {
1451
+ provider?: string | undefined;
1452
+ model?: string | undefined;
1453
+ } | undefined;
1454
+ workflows?: Record<string, {
1455
+ default?: {
1456
+ provider?: string | undefined;
1457
+ model?: string | undefined;
1458
+ } | undefined;
1459
+ phases?: {
1460
+ specify?: {
1461
+ provider?: string | undefined;
1462
+ model?: string | undefined;
1463
+ } | undefined;
1464
+ clarify?: {
1465
+ provider?: string | undefined;
1466
+ model?: string | undefined;
1467
+ } | undefined;
1468
+ plan?: {
1469
+ provider?: string | undefined;
1470
+ model?: string | undefined;
1471
+ } | undefined;
1472
+ tasks?: {
1473
+ provider?: string | undefined;
1474
+ model?: string | undefined;
1475
+ } | undefined;
1476
+ implement?: {
1477
+ provider?: string | undefined;
1478
+ model?: string | undefined;
1479
+ } | undefined;
1480
+ validate?: {
1481
+ provider?: string | undefined;
1482
+ model?: string | undefined;
1483
+ } | undefined;
1484
+ } | undefined;
1485
+ }> | undefined;
1486
+ } | undefined;
699
1487
  } | undefined;
700
1488
  workspace?: {
701
1489
  org: string;