@omaikit/models 0.1.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 (42) hide show
  1. package/README.md +29 -0
  2. package/dist/code-generation.d.ts +18 -0
  3. package/dist/code-generation.d.ts.map +1 -0
  4. package/dist/code-generation.js +2 -0
  5. package/dist/code-generation.js.map +1 -0
  6. package/dist/index.d.ts +13 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +13 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/models/index.d.ts +7 -0
  11. package/dist/models/index.d.ts.map +1 -0
  12. package/dist/models/index.js +5 -0
  13. package/dist/models/index.js.map +1 -0
  14. package/dist/patterns.d.ts +8 -0
  15. package/dist/patterns.d.ts.map +1 -0
  16. package/dist/patterns.js +9 -0
  17. package/dist/patterns.js.map +1 -0
  18. package/dist/plan.d.ts +51 -0
  19. package/dist/plan.d.ts.map +1 -0
  20. package/dist/plan.js +2 -0
  21. package/dist/plan.js.map +1 -0
  22. package/dist/project.d.ts +20 -0
  23. package/dist/project.d.ts.map +1 -0
  24. package/dist/project.js +2 -0
  25. package/dist/project.js.map +1 -0
  26. package/dist/review.d.ts +21 -0
  27. package/dist/review.d.ts.map +1 -0
  28. package/dist/review.js +2 -0
  29. package/dist/review.js.map +1 -0
  30. package/dist/test-suite.d.ts +23 -0
  31. package/dist/test-suite.d.ts.map +1 -0
  32. package/dist/test-suite.js +2 -0
  33. package/dist/test-suite.js.map +1 -0
  34. package/dist/types/index.d.ts +8 -0
  35. package/dist/types/index.d.ts.map +1 -0
  36. package/dist/types/index.js +5 -0
  37. package/dist/types/index.js.map +1 -0
  38. package/dist/validators/index.d.ts +897 -0
  39. package/dist/validators/index.d.ts.map +1 -0
  40. package/dist/validators/index.js +121 -0
  41. package/dist/validators/index.js.map +1 -0
  42. package/package.json +30 -0
@@ -0,0 +1,897 @@
1
+ import { z } from 'zod';
2
+ export declare const RiskFactorSchema: z.ZodObject<{
3
+ description: z.ZodString;
4
+ likelihood: z.ZodEnum<["low", "medium", "high"]>;
5
+ impact: z.ZodEnum<["low", "medium", "high"]>;
6
+ mitigation: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ description: string;
9
+ likelihood: "low" | "medium" | "high";
10
+ impact: "low" | "medium" | "high";
11
+ mitigation: string;
12
+ }, {
13
+ description: string;
14
+ likelihood: "low" | "medium" | "high";
15
+ impact: "low" | "medium" | "high";
16
+ mitigation: string;
17
+ }>;
18
+ export declare const TaskSchema: z.ZodObject<{
19
+ id: z.ZodString;
20
+ title: z.ZodString;
21
+ description: z.ZodString;
22
+ type: z.ZodEnum<["feature", "refactor", "bugfix", "test", "documentation", "infrastructure"]>;
23
+ estimatedEffort: z.ZodNumber;
24
+ effortBreakdown: z.ZodOptional<z.ZodObject<{
25
+ analysis: z.ZodNumber;
26
+ implementation: z.ZodNumber;
27
+ testing: z.ZodNumber;
28
+ documentation: z.ZodNumber;
29
+ }, "strip", z.ZodTypeAny, {
30
+ documentation: number;
31
+ analysis: number;
32
+ implementation: number;
33
+ testing: number;
34
+ }, {
35
+ documentation: number;
36
+ analysis: number;
37
+ implementation: number;
38
+ testing: number;
39
+ }>>;
40
+ acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
41
+ inputDependencies: z.ZodArray<z.ZodString, "many">;
42
+ outputDependencies: z.ZodArray<z.ZodString, "many">;
43
+ targetModule: z.ZodOptional<z.ZodString>;
44
+ affectedModules: z.ZodArray<z.ZodString, "many">;
45
+ suggestedApproach: z.ZodOptional<z.ZodString>;
46
+ technicalNotes: z.ZodOptional<z.ZodString>;
47
+ riskFactors: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ description: z.ZodString;
49
+ likelihood: z.ZodEnum<["low", "medium", "high"]>;
50
+ impact: z.ZodEnum<["low", "medium", "high"]>;
51
+ mitigation: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ description: string;
54
+ likelihood: "low" | "medium" | "high";
55
+ impact: "low" | "medium" | "high";
56
+ mitigation: string;
57
+ }, {
58
+ description: string;
59
+ likelihood: "low" | "medium" | "high";
60
+ impact: "low" | "medium" | "high";
61
+ mitigation: string;
62
+ }>, "many">>;
63
+ status: z.ZodEnum<["planned", "in-progress", "blocked", "completed", "deferred"]>;
64
+ blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ description: string;
67
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
68
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
69
+ id: string;
70
+ title: string;
71
+ estimatedEffort: number;
72
+ acceptanceCriteria: string[];
73
+ inputDependencies: string[];
74
+ outputDependencies: string[];
75
+ affectedModules: string[];
76
+ effortBreakdown?: {
77
+ documentation: number;
78
+ analysis: number;
79
+ implementation: number;
80
+ testing: number;
81
+ } | undefined;
82
+ targetModule?: string | undefined;
83
+ suggestedApproach?: string | undefined;
84
+ technicalNotes?: string | undefined;
85
+ riskFactors?: {
86
+ description: string;
87
+ likelihood: "low" | "medium" | "high";
88
+ impact: "low" | "medium" | "high";
89
+ mitigation: string;
90
+ }[] | undefined;
91
+ blockers?: string[] | undefined;
92
+ }, {
93
+ description: string;
94
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
95
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
96
+ id: string;
97
+ title: string;
98
+ estimatedEffort: number;
99
+ acceptanceCriteria: string[];
100
+ inputDependencies: string[];
101
+ outputDependencies: string[];
102
+ affectedModules: string[];
103
+ effortBreakdown?: {
104
+ documentation: number;
105
+ analysis: number;
106
+ implementation: number;
107
+ testing: number;
108
+ } | undefined;
109
+ targetModule?: string | undefined;
110
+ suggestedApproach?: string | undefined;
111
+ technicalNotes?: string | undefined;
112
+ riskFactors?: {
113
+ description: string;
114
+ likelihood: "low" | "medium" | "high";
115
+ impact: "low" | "medium" | "high";
116
+ mitigation: string;
117
+ }[] | undefined;
118
+ blockers?: string[] | undefined;
119
+ }>;
120
+ export declare const MilestoneSchema: z.ZodObject<{
121
+ id: z.ZodString;
122
+ title: z.ZodString;
123
+ description: z.ZodString;
124
+ duration: z.ZodNumber;
125
+ tasks: z.ZodArray<z.ZodObject<{
126
+ id: z.ZodString;
127
+ title: z.ZodString;
128
+ description: z.ZodString;
129
+ type: z.ZodEnum<["feature", "refactor", "bugfix", "test", "documentation", "infrastructure"]>;
130
+ estimatedEffort: z.ZodNumber;
131
+ effortBreakdown: z.ZodOptional<z.ZodObject<{
132
+ analysis: z.ZodNumber;
133
+ implementation: z.ZodNumber;
134
+ testing: z.ZodNumber;
135
+ documentation: z.ZodNumber;
136
+ }, "strip", z.ZodTypeAny, {
137
+ documentation: number;
138
+ analysis: number;
139
+ implementation: number;
140
+ testing: number;
141
+ }, {
142
+ documentation: number;
143
+ analysis: number;
144
+ implementation: number;
145
+ testing: number;
146
+ }>>;
147
+ acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
148
+ inputDependencies: z.ZodArray<z.ZodString, "many">;
149
+ outputDependencies: z.ZodArray<z.ZodString, "many">;
150
+ targetModule: z.ZodOptional<z.ZodString>;
151
+ affectedModules: z.ZodArray<z.ZodString, "many">;
152
+ suggestedApproach: z.ZodOptional<z.ZodString>;
153
+ technicalNotes: z.ZodOptional<z.ZodString>;
154
+ riskFactors: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ description: z.ZodString;
156
+ likelihood: z.ZodEnum<["low", "medium", "high"]>;
157
+ impact: z.ZodEnum<["low", "medium", "high"]>;
158
+ mitigation: z.ZodString;
159
+ }, "strip", z.ZodTypeAny, {
160
+ description: string;
161
+ likelihood: "low" | "medium" | "high";
162
+ impact: "low" | "medium" | "high";
163
+ mitigation: string;
164
+ }, {
165
+ description: string;
166
+ likelihood: "low" | "medium" | "high";
167
+ impact: "low" | "medium" | "high";
168
+ mitigation: string;
169
+ }>, "many">>;
170
+ status: z.ZodEnum<["planned", "in-progress", "blocked", "completed", "deferred"]>;
171
+ blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ description: string;
174
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
175
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
176
+ id: string;
177
+ title: string;
178
+ estimatedEffort: number;
179
+ acceptanceCriteria: string[];
180
+ inputDependencies: string[];
181
+ outputDependencies: string[];
182
+ affectedModules: string[];
183
+ effortBreakdown?: {
184
+ documentation: number;
185
+ analysis: number;
186
+ implementation: number;
187
+ testing: number;
188
+ } | undefined;
189
+ targetModule?: string | undefined;
190
+ suggestedApproach?: string | undefined;
191
+ technicalNotes?: string | undefined;
192
+ riskFactors?: {
193
+ description: string;
194
+ likelihood: "low" | "medium" | "high";
195
+ impact: "low" | "medium" | "high";
196
+ mitigation: string;
197
+ }[] | undefined;
198
+ blockers?: string[] | undefined;
199
+ }, {
200
+ description: string;
201
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
202
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
203
+ id: string;
204
+ title: string;
205
+ estimatedEffort: number;
206
+ acceptanceCriteria: string[];
207
+ inputDependencies: string[];
208
+ outputDependencies: string[];
209
+ affectedModules: string[];
210
+ effortBreakdown?: {
211
+ documentation: number;
212
+ analysis: number;
213
+ implementation: number;
214
+ testing: number;
215
+ } | undefined;
216
+ targetModule?: string | undefined;
217
+ suggestedApproach?: string | undefined;
218
+ technicalNotes?: string | undefined;
219
+ riskFactors?: {
220
+ description: string;
221
+ likelihood: "low" | "medium" | "high";
222
+ impact: "low" | "medium" | "high";
223
+ mitigation: string;
224
+ }[] | undefined;
225
+ blockers?: string[] | undefined;
226
+ }>, "many">;
227
+ successCriteria: z.ZodArray<z.ZodString, "many">;
228
+ }, "strip", z.ZodTypeAny, {
229
+ description: string;
230
+ id: string;
231
+ title: string;
232
+ duration: number;
233
+ tasks: {
234
+ description: string;
235
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
236
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
237
+ id: string;
238
+ title: string;
239
+ estimatedEffort: number;
240
+ acceptanceCriteria: string[];
241
+ inputDependencies: string[];
242
+ outputDependencies: string[];
243
+ affectedModules: string[];
244
+ effortBreakdown?: {
245
+ documentation: number;
246
+ analysis: number;
247
+ implementation: number;
248
+ testing: number;
249
+ } | undefined;
250
+ targetModule?: string | undefined;
251
+ suggestedApproach?: string | undefined;
252
+ technicalNotes?: string | undefined;
253
+ riskFactors?: {
254
+ description: string;
255
+ likelihood: "low" | "medium" | "high";
256
+ impact: "low" | "medium" | "high";
257
+ mitigation: string;
258
+ }[] | undefined;
259
+ blockers?: string[] | undefined;
260
+ }[];
261
+ successCriteria: string[];
262
+ }, {
263
+ description: string;
264
+ id: string;
265
+ title: string;
266
+ duration: number;
267
+ tasks: {
268
+ description: string;
269
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
270
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
271
+ id: string;
272
+ title: string;
273
+ estimatedEffort: number;
274
+ acceptanceCriteria: string[];
275
+ inputDependencies: string[];
276
+ outputDependencies: string[];
277
+ affectedModules: string[];
278
+ effortBreakdown?: {
279
+ documentation: number;
280
+ analysis: number;
281
+ implementation: number;
282
+ testing: number;
283
+ } | undefined;
284
+ targetModule?: string | undefined;
285
+ suggestedApproach?: string | undefined;
286
+ technicalNotes?: string | undefined;
287
+ riskFactors?: {
288
+ description: string;
289
+ likelihood: "low" | "medium" | "high";
290
+ impact: "low" | "medium" | "high";
291
+ mitigation: string;
292
+ }[] | undefined;
293
+ blockers?: string[] | undefined;
294
+ }[];
295
+ successCriteria: string[];
296
+ }>;
297
+ export declare const PlanSchema: z.ZodObject<{
298
+ id: z.ZodString;
299
+ title: z.ZodString;
300
+ description: z.ZodString;
301
+ milestones: z.ZodArray<z.ZodObject<{
302
+ id: z.ZodString;
303
+ title: z.ZodString;
304
+ description: z.ZodString;
305
+ duration: z.ZodNumber;
306
+ tasks: z.ZodArray<z.ZodObject<{
307
+ id: z.ZodString;
308
+ title: z.ZodString;
309
+ description: z.ZodString;
310
+ type: z.ZodEnum<["feature", "refactor", "bugfix", "test", "documentation", "infrastructure"]>;
311
+ estimatedEffort: z.ZodNumber;
312
+ effortBreakdown: z.ZodOptional<z.ZodObject<{
313
+ analysis: z.ZodNumber;
314
+ implementation: z.ZodNumber;
315
+ testing: z.ZodNumber;
316
+ documentation: z.ZodNumber;
317
+ }, "strip", z.ZodTypeAny, {
318
+ documentation: number;
319
+ analysis: number;
320
+ implementation: number;
321
+ testing: number;
322
+ }, {
323
+ documentation: number;
324
+ analysis: number;
325
+ implementation: number;
326
+ testing: number;
327
+ }>>;
328
+ acceptanceCriteria: z.ZodArray<z.ZodString, "many">;
329
+ inputDependencies: z.ZodArray<z.ZodString, "many">;
330
+ outputDependencies: z.ZodArray<z.ZodString, "many">;
331
+ targetModule: z.ZodOptional<z.ZodString>;
332
+ affectedModules: z.ZodArray<z.ZodString, "many">;
333
+ suggestedApproach: z.ZodOptional<z.ZodString>;
334
+ technicalNotes: z.ZodOptional<z.ZodString>;
335
+ riskFactors: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
+ description: z.ZodString;
337
+ likelihood: z.ZodEnum<["low", "medium", "high"]>;
338
+ impact: z.ZodEnum<["low", "medium", "high"]>;
339
+ mitigation: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ description: string;
342
+ likelihood: "low" | "medium" | "high";
343
+ impact: "low" | "medium" | "high";
344
+ mitigation: string;
345
+ }, {
346
+ description: string;
347
+ likelihood: "low" | "medium" | "high";
348
+ impact: "low" | "medium" | "high";
349
+ mitigation: string;
350
+ }>, "many">>;
351
+ status: z.ZodEnum<["planned", "in-progress", "blocked", "completed", "deferred"]>;
352
+ blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ description: string;
355
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
356
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
357
+ id: string;
358
+ title: string;
359
+ estimatedEffort: number;
360
+ acceptanceCriteria: string[];
361
+ inputDependencies: string[];
362
+ outputDependencies: string[];
363
+ affectedModules: string[];
364
+ effortBreakdown?: {
365
+ documentation: number;
366
+ analysis: number;
367
+ implementation: number;
368
+ testing: number;
369
+ } | undefined;
370
+ targetModule?: string | undefined;
371
+ suggestedApproach?: string | undefined;
372
+ technicalNotes?: string | undefined;
373
+ riskFactors?: {
374
+ description: string;
375
+ likelihood: "low" | "medium" | "high";
376
+ impact: "low" | "medium" | "high";
377
+ mitigation: string;
378
+ }[] | undefined;
379
+ blockers?: string[] | undefined;
380
+ }, {
381
+ description: string;
382
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
383
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
384
+ id: string;
385
+ title: string;
386
+ estimatedEffort: number;
387
+ acceptanceCriteria: string[];
388
+ inputDependencies: string[];
389
+ outputDependencies: string[];
390
+ affectedModules: string[];
391
+ effortBreakdown?: {
392
+ documentation: number;
393
+ analysis: number;
394
+ implementation: number;
395
+ testing: number;
396
+ } | undefined;
397
+ targetModule?: string | undefined;
398
+ suggestedApproach?: string | undefined;
399
+ technicalNotes?: string | undefined;
400
+ riskFactors?: {
401
+ description: string;
402
+ likelihood: "low" | "medium" | "high";
403
+ impact: "low" | "medium" | "high";
404
+ mitigation: string;
405
+ }[] | undefined;
406
+ blockers?: string[] | undefined;
407
+ }>, "many">;
408
+ successCriteria: z.ZodArray<z.ZodString, "many">;
409
+ }, "strip", z.ZodTypeAny, {
410
+ description: string;
411
+ id: string;
412
+ title: string;
413
+ duration: number;
414
+ tasks: {
415
+ description: string;
416
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
417
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
418
+ id: string;
419
+ title: string;
420
+ estimatedEffort: number;
421
+ acceptanceCriteria: string[];
422
+ inputDependencies: string[];
423
+ outputDependencies: string[];
424
+ affectedModules: string[];
425
+ effortBreakdown?: {
426
+ documentation: number;
427
+ analysis: number;
428
+ implementation: number;
429
+ testing: number;
430
+ } | undefined;
431
+ targetModule?: string | undefined;
432
+ suggestedApproach?: string | undefined;
433
+ technicalNotes?: string | undefined;
434
+ riskFactors?: {
435
+ description: string;
436
+ likelihood: "low" | "medium" | "high";
437
+ impact: "low" | "medium" | "high";
438
+ mitigation: string;
439
+ }[] | undefined;
440
+ blockers?: string[] | undefined;
441
+ }[];
442
+ successCriteria: string[];
443
+ }, {
444
+ description: string;
445
+ id: string;
446
+ title: string;
447
+ duration: number;
448
+ tasks: {
449
+ description: string;
450
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
451
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
452
+ id: string;
453
+ title: string;
454
+ estimatedEffort: number;
455
+ acceptanceCriteria: string[];
456
+ inputDependencies: string[];
457
+ outputDependencies: string[];
458
+ affectedModules: string[];
459
+ effortBreakdown?: {
460
+ documentation: number;
461
+ analysis: number;
462
+ implementation: number;
463
+ testing: number;
464
+ } | undefined;
465
+ targetModule?: string | undefined;
466
+ suggestedApproach?: string | undefined;
467
+ technicalNotes?: string | undefined;
468
+ riskFactors?: {
469
+ description: string;
470
+ likelihood: "low" | "medium" | "high";
471
+ impact: "low" | "medium" | "high";
472
+ mitigation: string;
473
+ }[] | undefined;
474
+ blockers?: string[] | undefined;
475
+ }[];
476
+ successCriteria: string[];
477
+ }>, "many">;
478
+ clarifications: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
479
+ projectContext: z.ZodOptional<z.ZodAny>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ description: string;
482
+ id: string;
483
+ title: string;
484
+ milestones: {
485
+ description: string;
486
+ id: string;
487
+ title: string;
488
+ duration: number;
489
+ tasks: {
490
+ description: string;
491
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
492
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
493
+ id: string;
494
+ title: string;
495
+ estimatedEffort: number;
496
+ acceptanceCriteria: string[];
497
+ inputDependencies: string[];
498
+ outputDependencies: string[];
499
+ affectedModules: string[];
500
+ effortBreakdown?: {
501
+ documentation: number;
502
+ analysis: number;
503
+ implementation: number;
504
+ testing: number;
505
+ } | undefined;
506
+ targetModule?: string | undefined;
507
+ suggestedApproach?: string | undefined;
508
+ technicalNotes?: string | undefined;
509
+ riskFactors?: {
510
+ description: string;
511
+ likelihood: "low" | "medium" | "high";
512
+ impact: "low" | "medium" | "high";
513
+ mitigation: string;
514
+ }[] | undefined;
515
+ blockers?: string[] | undefined;
516
+ }[];
517
+ successCriteria: string[];
518
+ }[];
519
+ clarifications?: string[] | undefined;
520
+ projectContext?: any;
521
+ }, {
522
+ description: string;
523
+ id: string;
524
+ title: string;
525
+ milestones: {
526
+ description: string;
527
+ id: string;
528
+ title: string;
529
+ duration: number;
530
+ tasks: {
531
+ description: string;
532
+ status: "planned" | "in-progress" | "blocked" | "completed" | "deferred";
533
+ type: "feature" | "refactor" | "bugfix" | "test" | "documentation" | "infrastructure";
534
+ id: string;
535
+ title: string;
536
+ estimatedEffort: number;
537
+ acceptanceCriteria: string[];
538
+ inputDependencies: string[];
539
+ outputDependencies: string[];
540
+ affectedModules: string[];
541
+ effortBreakdown?: {
542
+ documentation: number;
543
+ analysis: number;
544
+ implementation: number;
545
+ testing: number;
546
+ } | undefined;
547
+ targetModule?: string | undefined;
548
+ suggestedApproach?: string | undefined;
549
+ technicalNotes?: string | undefined;
550
+ riskFactors?: {
551
+ description: string;
552
+ likelihood: "low" | "medium" | "high";
553
+ impact: "low" | "medium" | "high";
554
+ mitigation: string;
555
+ }[] | undefined;
556
+ blockers?: string[] | undefined;
557
+ }[];
558
+ successCriteria: string[];
559
+ }[];
560
+ clarifications?: string[] | undefined;
561
+ projectContext?: any;
562
+ }>;
563
+ export declare const PlanInputSchema: z.ZodObject<{
564
+ description: z.ZodString;
565
+ projectType: z.ZodOptional<z.ZodEnum<["backend", "frontend", "fullstack", "mobile", "monorepo", "tool", "web"]>>;
566
+ techStack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ description: string;
569
+ projectType?: "backend" | "frontend" | "fullstack" | "mobile" | "monorepo" | "tool" | "web" | undefined;
570
+ techStack?: string[] | undefined;
571
+ }, {
572
+ description: string;
573
+ projectType?: "backend" | "frontend" | "fullstack" | "mobile" | "monorepo" | "tool" | "web" | undefined;
574
+ techStack?: string[] | undefined;
575
+ }>;
576
+ export declare const CodeFileSchema: z.ZodObject<{
577
+ path: z.ZodString;
578
+ language: z.ZodString;
579
+ content: z.ZodString;
580
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ path: string;
583
+ language: string;
584
+ content: string;
585
+ dependencies?: string[] | undefined;
586
+ }, {
587
+ path: string;
588
+ language: string;
589
+ content: string;
590
+ dependencies?: string[] | undefined;
591
+ }>;
592
+ export declare const CodeGenerationSchema: z.ZodObject<{
593
+ id: z.ZodString;
594
+ taskId: z.ZodString;
595
+ prompt: z.ZodString;
596
+ files: z.ZodArray<z.ZodObject<{
597
+ path: z.ZodString;
598
+ language: z.ZodString;
599
+ content: z.ZodString;
600
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ path: string;
603
+ language: string;
604
+ content: string;
605
+ dependencies?: string[] | undefined;
606
+ }, {
607
+ path: string;
608
+ language: string;
609
+ content: string;
610
+ dependencies?: string[] | undefined;
611
+ }>, "many">;
612
+ metadata: z.ZodOptional<z.ZodObject<{
613
+ model: z.ZodOptional<z.ZodString>;
614
+ tokensUsed: z.ZodOptional<z.ZodNumber>;
615
+ generatedAt: z.ZodOptional<z.ZodString>;
616
+ }, "strip", z.ZodTypeAny, {
617
+ model?: string | undefined;
618
+ tokensUsed?: number | undefined;
619
+ generatedAt?: string | undefined;
620
+ }, {
621
+ model?: string | undefined;
622
+ tokensUsed?: number | undefined;
623
+ generatedAt?: string | undefined;
624
+ }>>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ id: string;
627
+ taskId: string;
628
+ prompt: string;
629
+ files: {
630
+ path: string;
631
+ language: string;
632
+ content: string;
633
+ dependencies?: string[] | undefined;
634
+ }[];
635
+ metadata?: {
636
+ model?: string | undefined;
637
+ tokensUsed?: number | undefined;
638
+ generatedAt?: string | undefined;
639
+ } | undefined;
640
+ }, {
641
+ id: string;
642
+ taskId: string;
643
+ prompt: string;
644
+ files: {
645
+ path: string;
646
+ language: string;
647
+ content: string;
648
+ dependencies?: string[] | undefined;
649
+ }[];
650
+ metadata?: {
651
+ model?: string | undefined;
652
+ tokensUsed?: number | undefined;
653
+ generatedAt?: string | undefined;
654
+ } | undefined;
655
+ }>;
656
+ export declare const TestCaseSchema: z.ZodObject<{
657
+ name: z.ZodString;
658
+ description: z.ZodOptional<z.ZodString>;
659
+ type: z.ZodEnum<["unit", "integration", "e2e"]>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ type: "unit" | "integration" | "e2e";
662
+ name: string;
663
+ description?: string | undefined;
664
+ }, {
665
+ type: "unit" | "integration" | "e2e";
666
+ name: string;
667
+ description?: string | undefined;
668
+ }>;
669
+ export declare const TestFileSchema: z.ZodObject<{
670
+ path: z.ZodString;
671
+ language: z.ZodString;
672
+ framework: z.ZodString;
673
+ testCases: z.ZodArray<z.ZodObject<{
674
+ name: z.ZodString;
675
+ description: z.ZodOptional<z.ZodString>;
676
+ type: z.ZodEnum<["unit", "integration", "e2e"]>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ type: "unit" | "integration" | "e2e";
679
+ name: string;
680
+ description?: string | undefined;
681
+ }, {
682
+ type: "unit" | "integration" | "e2e";
683
+ name: string;
684
+ description?: string | undefined;
685
+ }>, "many">;
686
+ content: z.ZodString;
687
+ }, "strip", z.ZodTypeAny, {
688
+ path: string;
689
+ language: string;
690
+ content: string;
691
+ framework: string;
692
+ testCases: {
693
+ type: "unit" | "integration" | "e2e";
694
+ name: string;
695
+ description?: string | undefined;
696
+ }[];
697
+ }, {
698
+ path: string;
699
+ language: string;
700
+ content: string;
701
+ framework: string;
702
+ testCases: {
703
+ type: "unit" | "integration" | "e2e";
704
+ name: string;
705
+ description?: string | undefined;
706
+ }[];
707
+ }>;
708
+ export declare const TestSuiteSchema: z.ZodObject<{
709
+ id: z.ZodString;
710
+ taskId: z.ZodString;
711
+ files: z.ZodArray<z.ZodObject<{
712
+ path: z.ZodString;
713
+ language: z.ZodString;
714
+ framework: z.ZodString;
715
+ testCases: z.ZodArray<z.ZodObject<{
716
+ name: z.ZodString;
717
+ description: z.ZodOptional<z.ZodString>;
718
+ type: z.ZodEnum<["unit", "integration", "e2e"]>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ type: "unit" | "integration" | "e2e";
721
+ name: string;
722
+ description?: string | undefined;
723
+ }, {
724
+ type: "unit" | "integration" | "e2e";
725
+ name: string;
726
+ description?: string | undefined;
727
+ }>, "many">;
728
+ content: z.ZodString;
729
+ }, "strip", z.ZodTypeAny, {
730
+ path: string;
731
+ language: string;
732
+ content: string;
733
+ framework: string;
734
+ testCases: {
735
+ type: "unit" | "integration" | "e2e";
736
+ name: string;
737
+ description?: string | undefined;
738
+ }[];
739
+ }, {
740
+ path: string;
741
+ language: string;
742
+ content: string;
743
+ framework: string;
744
+ testCases: {
745
+ type: "unit" | "integration" | "e2e";
746
+ name: string;
747
+ description?: string | undefined;
748
+ }[];
749
+ }>, "many">;
750
+ coverage: z.ZodOptional<z.ZodNumber>;
751
+ metadata: z.ZodOptional<z.ZodObject<{
752
+ generatedAt: z.ZodOptional<z.ZodString>;
753
+ model: z.ZodOptional<z.ZodString>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ model?: string | undefined;
756
+ generatedAt?: string | undefined;
757
+ }, {
758
+ model?: string | undefined;
759
+ generatedAt?: string | undefined;
760
+ }>>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ id: string;
763
+ taskId: string;
764
+ files: {
765
+ path: string;
766
+ language: string;
767
+ content: string;
768
+ framework: string;
769
+ testCases: {
770
+ type: "unit" | "integration" | "e2e";
771
+ name: string;
772
+ description?: string | undefined;
773
+ }[];
774
+ }[];
775
+ metadata?: {
776
+ model?: string | undefined;
777
+ generatedAt?: string | undefined;
778
+ } | undefined;
779
+ coverage?: number | undefined;
780
+ }, {
781
+ id: string;
782
+ taskId: string;
783
+ files: {
784
+ path: string;
785
+ language: string;
786
+ content: string;
787
+ framework: string;
788
+ testCases: {
789
+ type: "unit" | "integration" | "e2e";
790
+ name: string;
791
+ description?: string | undefined;
792
+ }[];
793
+ }[];
794
+ metadata?: {
795
+ model?: string | undefined;
796
+ generatedAt?: string | undefined;
797
+ } | undefined;
798
+ coverage?: number | undefined;
799
+ }>;
800
+ export declare const ReviewFindingSchema: z.ZodObject<{
801
+ id: z.ZodString;
802
+ severity: z.ZodEnum<["info", "warn", "error"]>;
803
+ code: z.ZodString;
804
+ message: z.ZodString;
805
+ line: z.ZodOptional<z.ZodNumber>;
806
+ suggestion: z.ZodOptional<z.ZodString>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ code: string;
809
+ message: string;
810
+ id: string;
811
+ severity: "info" | "warn" | "error";
812
+ line?: number | undefined;
813
+ suggestion?: string | undefined;
814
+ }, {
815
+ code: string;
816
+ message: string;
817
+ id: string;
818
+ severity: "info" | "warn" | "error";
819
+ line?: number | undefined;
820
+ suggestion?: string | undefined;
821
+ }>;
822
+ export declare const CodeReviewSchema: z.ZodObject<{
823
+ id: z.ZodString;
824
+ taskId: z.ZodString;
825
+ codeId: z.ZodString;
826
+ findings: z.ZodArray<z.ZodObject<{
827
+ id: z.ZodString;
828
+ severity: z.ZodEnum<["info", "warn", "error"]>;
829
+ code: z.ZodString;
830
+ message: z.ZodString;
831
+ line: z.ZodOptional<z.ZodNumber>;
832
+ suggestion: z.ZodOptional<z.ZodString>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ code: string;
835
+ message: string;
836
+ id: string;
837
+ severity: "info" | "warn" | "error";
838
+ line?: number | undefined;
839
+ suggestion?: string | undefined;
840
+ }, {
841
+ code: string;
842
+ message: string;
843
+ id: string;
844
+ severity: "info" | "warn" | "error";
845
+ line?: number | undefined;
846
+ suggestion?: string | undefined;
847
+ }>, "many">;
848
+ score: z.ZodNumber;
849
+ approved: z.ZodBoolean;
850
+ metadata: z.ZodOptional<z.ZodObject<{
851
+ reviewedAt: z.ZodOptional<z.ZodString>;
852
+ model: z.ZodOptional<z.ZodString>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ model?: string | undefined;
855
+ reviewedAt?: string | undefined;
856
+ }, {
857
+ model?: string | undefined;
858
+ reviewedAt?: string | undefined;
859
+ }>>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ id: string;
862
+ taskId: string;
863
+ codeId: string;
864
+ findings: {
865
+ code: string;
866
+ message: string;
867
+ id: string;
868
+ severity: "info" | "warn" | "error";
869
+ line?: number | undefined;
870
+ suggestion?: string | undefined;
871
+ }[];
872
+ score: number;
873
+ approved: boolean;
874
+ metadata?: {
875
+ model?: string | undefined;
876
+ reviewedAt?: string | undefined;
877
+ } | undefined;
878
+ }, {
879
+ id: string;
880
+ taskId: string;
881
+ codeId: string;
882
+ findings: {
883
+ code: string;
884
+ message: string;
885
+ id: string;
886
+ severity: "info" | "warn" | "error";
887
+ line?: number | undefined;
888
+ suggestion?: string | undefined;
889
+ }[];
890
+ score: number;
891
+ approved: boolean;
892
+ metadata?: {
893
+ model?: string | undefined;
894
+ reviewedAt?: string | undefined;
895
+ } | undefined;
896
+ }>;
897
+ //# sourceMappingURL=index.d.ts.map