@skyramp/mcp 0.4.4-rc.1 → 0.4.4

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 (148) hide show
  1. package/build/index.js +239 -210
  2. package/build/playwright/PlaywrightTraceService.d.ts +1 -1
  3. package/build/playwright/blueprintDigestStore.d.ts +1 -1
  4. package/build/playwright/registerPlaywrightTools.d.ts +1 -1
  5. package/build/playwright/traceRecordingPrompt.d.ts +1 -1
  6. package/build/playwright/traceRecordingPrompt.js +2 -2
  7. package/build/prompts/local-dev/local-dev-prompts.d.ts +1 -1
  8. package/build/prompts/local-dev/local-dev-prompts.js +2 -2
  9. package/build/prompts/startTraceCollectionPrompts.d.ts +1 -1
  10. package/build/prompts/startTraceCollectionPrompts.js +2 -3
  11. package/build/prompts/test-recommendation/registerRecommendTestsPrompt.d.ts +1 -1
  12. package/build/prompts/test-recommendation/registerRecommendTestsPrompt.js +2 -2
  13. package/build/prompts/testbot/testbot-prompts.d.ts +1 -1
  14. package/build/prompts/testbot/testbot-prompts.js +4 -7
  15. package/build/recommendation/answers.d.ts +17 -52
  16. package/build/recommendation/answers.js +29 -99
  17. package/build/recommendation/pullRequestText.d.ts +0 -2
  18. package/build/recommendation/pullRequestText.js +0 -16
  19. package/build/recommendation/registerPlan.d.ts +4 -7
  20. package/build/recommendation/registerPlan.js +11 -37
  21. package/build/recommendation/types.d.ts +4 -21
  22. package/build/recommendation/verifierContracts.d.ts +4 -4
  23. package/build/recommendation/verifierContracts.js +4 -4
  24. package/build/recommendation/verifiers/citedPath.d.ts +2 -2
  25. package/build/recommendation/verifiers/citedPath.js +2 -2
  26. package/build/recommendation/verifiers/issueTraceability.d.ts +5 -1
  27. package/build/recommendation/verifiers/issueTraceability.js +35 -4
  28. package/build/resources/analysisResources.d.ts +1 -1
  29. package/build/resources/analysisResources.js +1 -1
  30. package/build/resources/progressResource.d.ts +1 -1
  31. package/build/resources/sutSetupResource.d.ts +1 -1
  32. package/build/resources/sutSetupResource.js +1 -1
  33. package/build/resources/testbotResource.d.ts +1 -1
  34. package/build/resources/testbotResource.js +1 -1
  35. package/build/services/AnalyticsService.d.ts +1 -1
  36. package/build/services/FleetExecutionService.d.ts +130 -0
  37. package/build/services/FleetExecutionService.js +391 -0
  38. package/build/services/ModularizationService.d.ts +1 -1
  39. package/build/services/TestExecutionService.d.ts +7 -0
  40. package/build/services/TestExecutionService.js +21 -0
  41. package/build/services/TestGenerationService.d.ts +1 -1
  42. package/build/tool-phases.js +2 -0
  43. package/build/tools/auth/loginTool.d.ts +1 -1
  44. package/build/tools/auth/loginTool.js +2 -2
  45. package/build/tools/auth/logoutTool.d.ts +1 -1
  46. package/build/tools/auth/logoutTool.js +2 -2
  47. package/build/tools/code-refactor/alignAssertionsTool.d.ts +1 -1
  48. package/build/tools/code-refactor/alignAssertionsTool.js +1 -1
  49. package/build/tools/code-refactor/assertionSkillTools.d.ts +1 -1
  50. package/build/tools/code-refactor/assertionSkillTools.js +2 -2
  51. package/build/tools/code-refactor/codeReuseTool.d.ts +1 -1
  52. package/build/tools/code-refactor/codeReuseTool.js +2 -2
  53. package/build/tools/code-refactor/enhanceAssertionsTool.d.ts +1 -1
  54. package/build/tools/code-refactor/enhanceAssertionsTool.js +1 -1
  55. package/build/tools/code-refactor/modularizationTool.d.ts +1 -1
  56. package/build/tools/code-refactor/modularizationTool.js +2 -2
  57. package/build/tools/enrichTestWithMocksTool.d.ts +1 -1
  58. package/build/tools/enrichTestWithMocksTool.js +2 -2
  59. package/build/tools/executeFleetTool.d.ts +28 -0
  60. package/build/tools/executeFleetTool.js +107 -0
  61. package/build/tools/executeSkyrampTestTool.d.ts +8 -5
  62. package/build/tools/executeSkyrampTestTool.js +5 -5
  63. package/build/tools/fixErrorTool.d.ts +1 -1
  64. package/build/tools/fixErrorTool.js +1 -1
  65. package/build/tools/generate-tests/batchMockGenerationTool.d.ts +6 -57
  66. package/build/tools/generate-tests/batchMockGenerationTool.js +3 -3
  67. package/build/tools/generate-tests/generateBatchScenarioRestTool.d.ts +9 -45
  68. package/build/tools/generate-tests/generateBatchScenarioRestTool.js +29 -11
  69. package/build/tools/generate-tests/generateContractRestTool.d.ts +1 -2
  70. package/build/tools/generate-tests/generateContractRestTool.js +1 -1
  71. package/build/tools/generate-tests/generateE2ERestTool.d.ts +1 -2
  72. package/build/tools/generate-tests/generateE2ERestTool.js +1 -1
  73. package/build/tools/generate-tests/generateFuzzRestTool.d.ts +1 -1
  74. package/build/tools/generate-tests/generateFuzzRestTool.js +1 -1
  75. package/build/tools/generate-tests/generateIntegrationRestTool.d.ts +1 -2
  76. package/build/tools/generate-tests/generateIntegrationRestTool.js +1 -1
  77. package/build/tools/generate-tests/generateLoadRestTool.d.ts +1 -2
  78. package/build/tools/generate-tests/generateLoadRestTool.js +2 -1
  79. package/build/tools/generate-tests/generateMockRestTool.d.ts +1 -2
  80. package/build/tools/generate-tests/generateMockRestTool.js +3 -3
  81. package/build/tools/generate-tests/generateSmokeRestTool.d.ts +1 -1
  82. package/build/tools/generate-tests/generateSmokeRestTool.js +1 -1
  83. package/build/tools/generate-tests/generateUILoadRestTool.d.ts +64 -0
  84. package/build/tools/generate-tests/generateUILoadRestTool.js +512 -0
  85. package/build/tools/generate-tests/generateUIRestTool.d.ts +6 -7
  86. package/build/tools/generate-tests/generateUIRestTool.js +1 -1
  87. package/build/tools/generate-tests/loadTestSchema.d.ts +15 -15
  88. package/build/tools/generate-tests/trace-reuse-guard.d.ts +1 -1
  89. package/build/tools/generateEnrichedIntegrationTestTool.d.ts +1 -2
  90. package/build/tools/generateEnrichedIntegrationTestTool.js +1 -1
  91. package/build/tools/localDevWorkerComposeTool.d.ts +1 -1
  92. package/build/tools/localDevWorkerComposeTool.js +2 -2
  93. package/build/tools/one-click/oneClickTool.d.ts +1 -1
  94. package/build/tools/one-click/oneClickTool.js +1 -1
  95. package/build/tools/preflightMockCheckTool.d.ts +1 -1
  96. package/build/tools/preflightMockCheckTool.js +3 -3
  97. package/build/tools/queryProxyMocksTool.d.ts +1 -1
  98. package/build/tools/queryProxyMocksTool.js +3 -3
  99. package/build/tools/submitReportTool.d.ts +111 -414
  100. package/build/tools/submitReportTool.js +154 -138
  101. package/build/tools/test-management/actionsTool.d.ts +1 -1
  102. package/build/tools/test-management/actionsTool.js +7 -7
  103. package/build/tools/test-management/analyzeChangesTool.d.ts +22 -118
  104. package/build/tools/test-management/analyzeChangesTool.js +4 -4
  105. package/build/tools/test-management/analyzeTestHealthTool.d.ts +1 -1
  106. package/build/tools/test-management/analyzeTestHealthTool.js +4 -4
  107. package/build/tools/test-management/registerTestPlanTool.d.ts +111 -743
  108. package/build/tools/test-management/registerTestPlanTool.js +20 -36
  109. package/build/tools/test-management/resolveScreenTool.d.ts +1 -1
  110. package/build/tools/test-management/resolveScreenTool.js +6 -2
  111. package/build/tools/trace/startTraceCollectionTool.d.ts +1 -1
  112. package/build/tools/trace/startTraceCollectionTool.js +4 -4
  113. package/build/tools/trace/stopTraceCollectionTool.d.ts +1 -1
  114. package/build/tools/trace/stopTraceCollectionTool.js +2 -2
  115. package/build/tools/verifyTestDependenciesTool.d.ts +1 -1
  116. package/build/tools/verifyTestDependenciesTool.js +1 -1
  117. package/build/tools/workspace/initScanWorkspaceTool.d.ts +1 -1
  118. package/build/tools/workspace/initScanWorkspaceTool.js +1 -1
  119. package/build/tools/workspace/initializeWorkspaceTool.d.ts +1 -1
  120. package/build/tools/workspace/initializeWorkspaceTool.js +1 -1
  121. package/build/types/RepositoryAnalysis.d.ts +164 -1170
  122. package/build/types/RepositoryAnalysis.js +12 -10
  123. package/build/types/StepMethod.d.ts +24 -1
  124. package/build/types/StepMethod.js +1 -1
  125. package/build/types/TestTypes.d.ts +34 -133
  126. package/build/types/TestTypes.js +3 -3
  127. package/build/types/TestbotReport.d.ts +37 -0
  128. package/build/types/TestbotReport.js +22 -0
  129. package/build/types/index.d.ts +1 -1
  130. package/build/types/index.js +1 -1
  131. package/build/utils/docker.d.ts +29 -7
  132. package/build/utils/docker.js +83 -27
  133. package/build/utils/initAgent.d.ts +3 -3
  134. package/build/utils/initAgent.js +58 -26
  135. package/build/utils/progress.d.ts +3 -4
  136. package/build/utils/progress.js +4 -4
  137. package/build/utils/utils.d.ts +1 -1
  138. package/build/utils/versions.d.ts +3 -3
  139. package/build/utils/versions.js +1 -1
  140. package/build/workspace/workspace.d.ts +117 -538
  141. package/build/workspace/workspace.js +2 -2
  142. package/package.json +6 -5
  143. package/plugin/prompts/testbot-task1.md +1 -1
  144. package/plugin/skills/repair-staged-files/SKILL.md +17 -0
  145. package/build/recommendation/blockerProbes.d.ts +0 -13
  146. package/build/recommendation/blockerProbes.js +0 -91
  147. package/build/recommendation/blockers.d.ts +0 -65
  148. package/build/recommendation/blockers.js +0 -135
@@ -203,64 +203,34 @@ export interface ExistingTestInfo {
203
203
  */
204
204
  relevantExternalTestPaths?: string[];
205
205
  }
206
- export declare const analysisScopeSchema: z.ZodNativeEnum<typeof AnalysisScope>;
206
+ export declare const analysisScopeSchema: z.ZodEnum<typeof AnalysisScope>;
207
207
  export declare const paramInfoSchema: z.ZodObject<{
208
208
  name: z.ZodString;
209
209
  type: z.ZodString;
210
210
  required: z.ZodBoolean;
211
211
  description: z.ZodOptional<z.ZodString>;
212
212
  constraints: z.ZodOptional<z.ZodString>;
213
- }, "strip", z.ZodTypeAny, {
214
- type: string;
215
- name: string;
216
- required: boolean;
217
- description?: string | undefined;
218
- constraints?: string | undefined;
219
- }, {
220
- type: string;
221
- name: string;
222
- required: boolean;
223
- description?: string | undefined;
224
- constraints?: string | undefined;
225
- }>;
213
+ }, z.core.$strip>;
226
214
  export declare const cookieInfoSchema: z.ZodObject<{
227
215
  name: z.ZodString;
228
216
  sampleValue: z.ZodString;
229
217
  purpose: z.ZodString;
230
218
  httpOnly: z.ZodBoolean;
231
219
  secure: z.ZodBoolean;
232
- }, "strip", z.ZodTypeAny, {
233
- name: string;
234
- sampleValue: string;
235
- purpose: string;
236
- httpOnly: boolean;
237
- secure: boolean;
238
- }, {
239
- name: string;
240
- sampleValue: string;
241
- purpose: string;
242
- httpOnly: boolean;
243
- secure: boolean;
244
- }>;
220
+ }, z.core.$strip>;
245
221
  export declare const endpointInteractionSchema: z.ZodObject<{
246
222
  description: z.ZodString;
247
- type: z.ZodEnum<["success", "error", "edge-case"]>;
223
+ type: z.ZodEnum<{
224
+ success: "success";
225
+ error: "error";
226
+ "edge-case": "edge-case";
227
+ }>;
248
228
  request: z.ZodObject<{
249
229
  contentType: z.ZodOptional<z.ZodString>;
250
230
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
251
231
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
252
232
  queryParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
253
- }, "strip", z.ZodTypeAny, {
254
- queryParams?: Record<string, any> | undefined;
255
- body?: Record<string, any> | undefined;
256
- contentType?: string | undefined;
257
- headers?: Record<string, string> | undefined;
258
- }, {
259
- queryParams?: Record<string, any> | undefined;
260
- body?: Record<string, any> | undefined;
261
- contentType?: string | undefined;
262
- headers?: Record<string, string> | undefined;
263
- }>;
233
+ }, z.core.$strip>;
264
234
  response: z.ZodObject<{
265
235
  statusCode: z.ZodNumber;
266
236
  description: z.ZodString;
@@ -272,89 +242,9 @@ export declare const endpointInteractionSchema: z.ZodObject<{
272
242
  purpose: z.ZodString;
273
243
  httpOnly: z.ZodBoolean;
274
244
  secure: z.ZodBoolean;
275
- }, "strip", z.ZodTypeAny, {
276
- name: string;
277
- sampleValue: string;
278
- purpose: string;
279
- httpOnly: boolean;
280
- secure: boolean;
281
- }, {
282
- name: string;
283
- sampleValue: string;
284
- purpose: string;
285
- httpOnly: boolean;
286
- secure: boolean;
287
- }>, "many">>;
288
- }, "strip", z.ZodTypeAny, {
289
- description: string;
290
- statusCode: number;
291
- body?: Record<string, any> | undefined;
292
- headers?: Record<string, string> | undefined;
293
- cookies?: {
294
- name: string;
295
- sampleValue: string;
296
- purpose: string;
297
- httpOnly: boolean;
298
- secure: boolean;
299
- }[] | undefined;
300
- }, {
301
- description: string;
302
- statusCode: number;
303
- body?: Record<string, any> | undefined;
304
- headers?: Record<string, string> | undefined;
305
- cookies?: {
306
- name: string;
307
- sampleValue: string;
308
- purpose: string;
309
- httpOnly: boolean;
310
- secure: boolean;
311
- }[] | undefined;
312
- }>;
313
- }, "strip", z.ZodTypeAny, {
314
- type: "error" | "success" | "edge-case";
315
- description: string;
316
- request: {
317
- queryParams?: Record<string, any> | undefined;
318
- body?: Record<string, any> | undefined;
319
- contentType?: string | undefined;
320
- headers?: Record<string, string> | undefined;
321
- };
322
- response: {
323
- description: string;
324
- statusCode: number;
325
- body?: Record<string, any> | undefined;
326
- headers?: Record<string, string> | undefined;
327
- cookies?: {
328
- name: string;
329
- sampleValue: string;
330
- purpose: string;
331
- httpOnly: boolean;
332
- secure: boolean;
333
- }[] | undefined;
334
- };
335
- }, {
336
- type: "error" | "success" | "edge-case";
337
- description: string;
338
- request: {
339
- queryParams?: Record<string, any> | undefined;
340
- body?: Record<string, any> | undefined;
341
- contentType?: string | undefined;
342
- headers?: Record<string, string> | undefined;
343
- };
344
- response: {
345
- description: string;
346
- statusCode: number;
347
- body?: Record<string, any> | undefined;
348
- headers?: Record<string, string> | undefined;
349
- cookies?: {
350
- name: string;
351
- sampleValue: string;
352
- purpose: string;
353
- httpOnly: boolean;
354
- secure: boolean;
355
- }[] | undefined;
356
- };
357
- }>;
245
+ }, z.core.$strip>>>;
246
+ }, z.core.$strip>;
247
+ }, z.core.$strip>;
358
248
  export declare const endpointMethodSchema: z.ZodObject<{
359
249
  method: z.ZodString;
360
250
  description: z.ZodString;
@@ -364,42 +254,24 @@ export declare const endpointMethodSchema: z.ZodObject<{
364
254
  required: z.ZodBoolean;
365
255
  description: z.ZodOptional<z.ZodString>;
366
256
  constraints: z.ZodOptional<z.ZodString>;
367
- }, "strip", z.ZodTypeAny, {
368
- type: string;
369
- name: string;
370
- required: boolean;
371
- description?: string | undefined;
372
- constraints?: string | undefined;
373
- }, {
374
- type: string;
375
- name: string;
376
- required: boolean;
377
- description?: string | undefined;
378
- constraints?: string | undefined;
379
- }>, "many">;
257
+ }, z.core.$strip>>;
380
258
  authRequired: z.ZodBoolean;
381
259
  authType: z.ZodOptional<z.ZodString>;
382
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
260
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
383
261
  sourceFile: z.ZodString;
384
262
  interactions: z.ZodArray<z.ZodObject<{
385
263
  description: z.ZodString;
386
- type: z.ZodEnum<["success", "error", "edge-case"]>;
264
+ type: z.ZodEnum<{
265
+ success: "success";
266
+ error: "error";
267
+ "edge-case": "edge-case";
268
+ }>;
387
269
  request: z.ZodObject<{
388
270
  contentType: z.ZodOptional<z.ZodString>;
389
271
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
390
272
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
391
273
  queryParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
392
- }, "strip", z.ZodTypeAny, {
393
- queryParams?: Record<string, any> | undefined;
394
- body?: Record<string, any> | undefined;
395
- contentType?: string | undefined;
396
- headers?: Record<string, string> | undefined;
397
- }, {
398
- queryParams?: Record<string, any> | undefined;
399
- body?: Record<string, any> | undefined;
400
- contentType?: string | undefined;
401
- headers?: Record<string, string> | undefined;
402
- }>;
274
+ }, z.core.$strip>;
403
275
  response: z.ZodObject<{
404
276
  statusCode: z.ZodNumber;
405
277
  description: z.ZodString;
@@ -411,170 +283,12 @@ export declare const endpointMethodSchema: z.ZodObject<{
411
283
  purpose: z.ZodString;
412
284
  httpOnly: z.ZodBoolean;
413
285
  secure: z.ZodBoolean;
414
- }, "strip", z.ZodTypeAny, {
415
- name: string;
416
- sampleValue: string;
417
- purpose: string;
418
- httpOnly: boolean;
419
- secure: boolean;
420
- }, {
421
- name: string;
422
- sampleValue: string;
423
- purpose: string;
424
- httpOnly: boolean;
425
- secure: boolean;
426
- }>, "many">>;
427
- }, "strip", z.ZodTypeAny, {
428
- description: string;
429
- statusCode: number;
430
- body?: Record<string, any> | undefined;
431
- headers?: Record<string, string> | undefined;
432
- cookies?: {
433
- name: string;
434
- sampleValue: string;
435
- purpose: string;
436
- httpOnly: boolean;
437
- secure: boolean;
438
- }[] | undefined;
439
- }, {
440
- description: string;
441
- statusCode: number;
442
- body?: Record<string, any> | undefined;
443
- headers?: Record<string, string> | undefined;
444
- cookies?: {
445
- name: string;
446
- sampleValue: string;
447
- purpose: string;
448
- httpOnly: boolean;
449
- secure: boolean;
450
- }[] | undefined;
451
- }>;
452
- }, "strip", z.ZodTypeAny, {
453
- type: "error" | "success" | "edge-case";
454
- description: string;
455
- request: {
456
- queryParams?: Record<string, any> | undefined;
457
- body?: Record<string, any> | undefined;
458
- contentType?: string | undefined;
459
- headers?: Record<string, string> | undefined;
460
- };
461
- response: {
462
- description: string;
463
- statusCode: number;
464
- body?: Record<string, any> | undefined;
465
- headers?: Record<string, string> | undefined;
466
- cookies?: {
467
- name: string;
468
- sampleValue: string;
469
- purpose: string;
470
- httpOnly: boolean;
471
- secure: boolean;
472
- }[] | undefined;
473
- };
474
- }, {
475
- type: "error" | "success" | "edge-case";
476
- description: string;
477
- request: {
478
- queryParams?: Record<string, any> | undefined;
479
- body?: Record<string, any> | undefined;
480
- contentType?: string | undefined;
481
- headers?: Record<string, string> | undefined;
482
- };
483
- response: {
484
- description: string;
485
- statusCode: number;
486
- body?: Record<string, any> | undefined;
487
- headers?: Record<string, string> | undefined;
488
- cookies?: {
489
- name: string;
490
- sampleValue: string;
491
- purpose: string;
492
- httpOnly: boolean;
493
- secure: boolean;
494
- }[] | undefined;
495
- };
496
- }>, "many">;
497
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
286
+ }, z.core.$strip>>>;
287
+ }, z.core.$strip>;
288
+ }, z.core.$strip>>;
289
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
498
290
  createsResource: z.ZodOptional<z.ZodString>;
499
- }, "strip", z.ZodTypeAny, {
500
- method: string;
501
- description: string;
502
- sourceFile: string;
503
- queryParams: {
504
- type: string;
505
- name: string;
506
- required: boolean;
507
- description?: string | undefined;
508
- constraints?: string | undefined;
509
- }[];
510
- authRequired: boolean;
511
- interactions: {
512
- type: "error" | "success" | "edge-case";
513
- description: string;
514
- request: {
515
- queryParams?: Record<string, any> | undefined;
516
- body?: Record<string, any> | undefined;
517
- contentType?: string | undefined;
518
- headers?: Record<string, string> | undefined;
519
- };
520
- response: {
521
- description: string;
522
- statusCode: number;
523
- body?: Record<string, any> | undefined;
524
- headers?: Record<string, string> | undefined;
525
- cookies?: {
526
- name: string;
527
- sampleValue: string;
528
- purpose: string;
529
- httpOnly: boolean;
530
- secure: boolean;
531
- }[] | undefined;
532
- };
533
- }[];
534
- authType?: string | undefined;
535
- scopes?: string[] | undefined;
536
- dependsOn?: string[] | undefined;
537
- createsResource?: string | undefined;
538
- }, {
539
- method: string;
540
- description: string;
541
- sourceFile: string;
542
- queryParams: {
543
- type: string;
544
- name: string;
545
- required: boolean;
546
- description?: string | undefined;
547
- constraints?: string | undefined;
548
- }[];
549
- authRequired: boolean;
550
- interactions: {
551
- type: "error" | "success" | "edge-case";
552
- description: string;
553
- request: {
554
- queryParams?: Record<string, any> | undefined;
555
- body?: Record<string, any> | undefined;
556
- contentType?: string | undefined;
557
- headers?: Record<string, string> | undefined;
558
- };
559
- response: {
560
- description: string;
561
- statusCode: number;
562
- body?: Record<string, any> | undefined;
563
- headers?: Record<string, string> | undefined;
564
- cookies?: {
565
- name: string;
566
- sampleValue: string;
567
- purpose: string;
568
- httpOnly: boolean;
569
- secure: boolean;
570
- }[] | undefined;
571
- };
572
- }[];
573
- authType?: string | undefined;
574
- scopes?: string[] | undefined;
575
- dependsOn?: string[] | undefined;
576
- createsResource?: string | undefined;
577
- }>;
291
+ }, z.core.$strip>;
578
292
  export declare const enrichedEndpointSchema: z.ZodObject<{
579
293
  path: z.ZodString;
580
294
  resourceGroup: z.ZodString;
@@ -584,19 +298,7 @@ export declare const enrichedEndpointSchema: z.ZodObject<{
584
298
  required: z.ZodBoolean;
585
299
  description: z.ZodOptional<z.ZodString>;
586
300
  constraints: z.ZodOptional<z.ZodString>;
587
- }, "strip", z.ZodTypeAny, {
588
- type: string;
589
- name: string;
590
- required: boolean;
591
- description?: string | undefined;
592
- constraints?: string | undefined;
593
- }, {
594
- type: string;
595
- name: string;
596
- required: boolean;
597
- description?: string | undefined;
598
- constraints?: string | undefined;
599
- }>, "many">;
301
+ }, z.core.$strip>>;
600
302
  methods: z.ZodArray<z.ZodObject<{
601
303
  method: z.ZodString;
602
304
  description: z.ZodString;
@@ -606,42 +308,24 @@ export declare const enrichedEndpointSchema: z.ZodObject<{
606
308
  required: z.ZodBoolean;
607
309
  description: z.ZodOptional<z.ZodString>;
608
310
  constraints: z.ZodOptional<z.ZodString>;
609
- }, "strip", z.ZodTypeAny, {
610
- type: string;
611
- name: string;
612
- required: boolean;
613
- description?: string | undefined;
614
- constraints?: string | undefined;
615
- }, {
616
- type: string;
617
- name: string;
618
- required: boolean;
619
- description?: string | undefined;
620
- constraints?: string | undefined;
621
- }>, "many">;
311
+ }, z.core.$strip>>;
622
312
  authRequired: z.ZodBoolean;
623
313
  authType: z.ZodOptional<z.ZodString>;
624
- scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
314
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
625
315
  sourceFile: z.ZodString;
626
316
  interactions: z.ZodArray<z.ZodObject<{
627
317
  description: z.ZodString;
628
- type: z.ZodEnum<["success", "error", "edge-case"]>;
318
+ type: z.ZodEnum<{
319
+ success: "success";
320
+ error: "error";
321
+ "edge-case": "edge-case";
322
+ }>;
629
323
  request: z.ZodObject<{
630
324
  contentType: z.ZodOptional<z.ZodString>;
631
325
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
632
326
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
633
327
  queryParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
634
- }, "strip", z.ZodTypeAny, {
635
- queryParams?: Record<string, any> | undefined;
636
- body?: Record<string, any> | undefined;
637
- contentType?: string | undefined;
638
- headers?: Record<string, string> | undefined;
639
- }, {
640
- queryParams?: Record<string, any> | undefined;
641
- body?: Record<string, any> | undefined;
642
- contentType?: string | undefined;
643
- headers?: Record<string, string> | undefined;
644
- }>;
328
+ }, z.core.$strip>;
645
329
  response: z.ZodObject<{
646
330
  statusCode: z.ZodNumber;
647
331
  description: z.ZodString;
@@ -653,526 +337,162 @@ export declare const enrichedEndpointSchema: z.ZodObject<{
653
337
  purpose: z.ZodString;
654
338
  httpOnly: z.ZodBoolean;
655
339
  secure: z.ZodBoolean;
656
- }, "strip", z.ZodTypeAny, {
657
- name: string;
658
- sampleValue: string;
659
- purpose: string;
660
- httpOnly: boolean;
661
- secure: boolean;
662
- }, {
663
- name: string;
664
- sampleValue: string;
665
- purpose: string;
666
- httpOnly: boolean;
667
- secure: boolean;
668
- }>, "many">>;
669
- }, "strip", z.ZodTypeAny, {
670
- description: string;
671
- statusCode: number;
672
- body?: Record<string, any> | undefined;
673
- headers?: Record<string, string> | undefined;
674
- cookies?: {
675
- name: string;
676
- sampleValue: string;
677
- purpose: string;
678
- httpOnly: boolean;
679
- secure: boolean;
680
- }[] | undefined;
681
- }, {
682
- description: string;
683
- statusCode: number;
684
- body?: Record<string, any> | undefined;
685
- headers?: Record<string, string> | undefined;
686
- cookies?: {
687
- name: string;
688
- sampleValue: string;
689
- purpose: string;
690
- httpOnly: boolean;
691
- secure: boolean;
692
- }[] | undefined;
693
- }>;
694
- }, "strip", z.ZodTypeAny, {
695
- type: "error" | "success" | "edge-case";
696
- description: string;
697
- request: {
698
- queryParams?: Record<string, any> | undefined;
699
- body?: Record<string, any> | undefined;
700
- contentType?: string | undefined;
701
- headers?: Record<string, string> | undefined;
702
- };
703
- response: {
704
- description: string;
705
- statusCode: number;
706
- body?: Record<string, any> | undefined;
707
- headers?: Record<string, string> | undefined;
708
- cookies?: {
709
- name: string;
710
- sampleValue: string;
711
- purpose: string;
712
- httpOnly: boolean;
713
- secure: boolean;
714
- }[] | undefined;
715
- };
716
- }, {
717
- type: "error" | "success" | "edge-case";
718
- description: string;
719
- request: {
720
- queryParams?: Record<string, any> | undefined;
721
- body?: Record<string, any> | undefined;
722
- contentType?: string | undefined;
723
- headers?: Record<string, string> | undefined;
724
- };
725
- response: {
726
- description: string;
727
- statusCode: number;
728
- body?: Record<string, any> | undefined;
729
- headers?: Record<string, string> | undefined;
730
- cookies?: {
731
- name: string;
732
- sampleValue: string;
733
- purpose: string;
734
- httpOnly: boolean;
735
- secure: boolean;
736
- }[] | undefined;
737
- };
738
- }>, "many">;
739
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
340
+ }, z.core.$strip>>>;
341
+ }, z.core.$strip>;
342
+ }, z.core.$strip>>;
343
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
740
344
  createsResource: z.ZodOptional<z.ZodString>;
741
- }, "strip", z.ZodTypeAny, {
742
- method: string;
743
- description: string;
744
- sourceFile: string;
745
- queryParams: {
746
- type: string;
747
- name: string;
748
- required: boolean;
749
- description?: string | undefined;
750
- constraints?: string | undefined;
751
- }[];
752
- authRequired: boolean;
753
- interactions: {
754
- type: "error" | "success" | "edge-case";
755
- description: string;
756
- request: {
757
- queryParams?: Record<string, any> | undefined;
758
- body?: Record<string, any> | undefined;
759
- contentType?: string | undefined;
760
- headers?: Record<string, string> | undefined;
761
- };
762
- response: {
763
- description: string;
764
- statusCode: number;
765
- body?: Record<string, any> | undefined;
766
- headers?: Record<string, string> | undefined;
767
- cookies?: {
768
- name: string;
769
- sampleValue: string;
770
- purpose: string;
771
- httpOnly: boolean;
772
- secure: boolean;
773
- }[] | undefined;
774
- };
775
- }[];
776
- authType?: string | undefined;
777
- scopes?: string[] | undefined;
778
- dependsOn?: string[] | undefined;
779
- createsResource?: string | undefined;
780
- }, {
781
- method: string;
782
- description: string;
783
- sourceFile: string;
784
- queryParams: {
785
- type: string;
786
- name: string;
787
- required: boolean;
788
- description?: string | undefined;
789
- constraints?: string | undefined;
790
- }[];
791
- authRequired: boolean;
792
- interactions: {
793
- type: "error" | "success" | "edge-case";
794
- description: string;
795
- request: {
796
- queryParams?: Record<string, any> | undefined;
797
- body?: Record<string, any> | undefined;
798
- contentType?: string | undefined;
799
- headers?: Record<string, string> | undefined;
800
- };
801
- response: {
802
- description: string;
803
- statusCode: number;
804
- body?: Record<string, any> | undefined;
805
- headers?: Record<string, string> | undefined;
806
- cookies?: {
807
- name: string;
808
- sampleValue: string;
809
- purpose: string;
810
- httpOnly: boolean;
811
- secure: boolean;
812
- }[] | undefined;
813
- };
814
- }[];
815
- authType?: string | undefined;
816
- scopes?: string[] | undefined;
817
- dependsOn?: string[] | undefined;
818
- createsResource?: string | undefined;
819
- }>, "many">;
820
- }, "strip", z.ZodTypeAny, {
821
- path: string;
822
- pathParams: {
823
- type: string;
824
- name: string;
825
- required: boolean;
826
- description?: string | undefined;
827
- constraints?: string | undefined;
828
- }[];
829
- resourceGroup: string;
830
- methods: {
831
- method: string;
832
- description: string;
833
- sourceFile: string;
834
- queryParams: {
835
- type: string;
836
- name: string;
837
- required: boolean;
838
- description?: string | undefined;
839
- constraints?: string | undefined;
840
- }[];
841
- authRequired: boolean;
842
- interactions: {
843
- type: "error" | "success" | "edge-case";
844
- description: string;
845
- request: {
846
- queryParams?: Record<string, any> | undefined;
847
- body?: Record<string, any> | undefined;
848
- contentType?: string | undefined;
849
- headers?: Record<string, string> | undefined;
850
- };
851
- response: {
852
- description: string;
853
- statusCode: number;
854
- body?: Record<string, any> | undefined;
855
- headers?: Record<string, string> | undefined;
856
- cookies?: {
857
- name: string;
858
- sampleValue: string;
859
- purpose: string;
860
- httpOnly: boolean;
861
- secure: boolean;
862
- }[] | undefined;
863
- };
864
- }[];
865
- authType?: string | undefined;
866
- scopes?: string[] | undefined;
867
- dependsOn?: string[] | undefined;
868
- createsResource?: string | undefined;
869
- }[];
870
- }, {
871
- path: string;
872
- pathParams: {
873
- type: string;
874
- name: string;
875
- required: boolean;
876
- description?: string | undefined;
877
- constraints?: string | undefined;
878
- }[];
879
- resourceGroup: string;
880
- methods: {
881
- method: string;
882
- description: string;
883
- sourceFile: string;
884
- queryParams: {
885
- type: string;
886
- name: string;
887
- required: boolean;
888
- description?: string | undefined;
889
- constraints?: string | undefined;
890
- }[];
891
- authRequired: boolean;
892
- interactions: {
893
- type: "error" | "success" | "edge-case";
894
- description: string;
895
- request: {
896
- queryParams?: Record<string, any> | undefined;
897
- body?: Record<string, any> | undefined;
898
- contentType?: string | undefined;
899
- headers?: Record<string, string> | undefined;
900
- };
901
- response: {
902
- description: string;
903
- statusCode: number;
904
- body?: Record<string, any> | undefined;
905
- headers?: Record<string, string> | undefined;
906
- cookies?: {
907
- name: string;
908
- sampleValue: string;
909
- purpose: string;
910
- httpOnly: boolean;
911
- secure: boolean;
912
- }[] | undefined;
913
- };
914
- }[];
915
- authType?: string | undefined;
916
- scopes?: string[] | undefined;
917
- dependsOn?: string[] | undefined;
918
- createsResource?: string | undefined;
919
- }[];
920
- }>;
345
+ }, z.core.$strip>>;
346
+ }, z.core.$strip>;
921
347
  export declare const chainingRefSchema: z.ZodObject<{
922
348
  sourceStep: z.ZodNumber;
923
349
  sourceField: z.ZodString;
924
- sourceLocation: z.ZodEnum<["body", "header", "cookie"]>;
350
+ sourceLocation: z.ZodEnum<{
351
+ cookie: "cookie";
352
+ body: "body";
353
+ header: "header";
354
+ }>;
925
355
  targetParam: z.ZodString;
926
- targetLocation: z.ZodEnum<["path", "body", "query", "header", "cookie"]>;
927
- }, "strip", z.ZodTypeAny, {
928
- sourceStep: number;
929
- sourceField: string;
930
- sourceLocation: "cookie" | "body" | "header";
931
- targetParam: string;
932
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
933
- }, {
934
- sourceStep: number;
935
- sourceField: string;
936
- sourceLocation: "cookie" | "body" | "header";
937
- targetParam: string;
938
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
939
- }>;
356
+ targetLocation: z.ZodEnum<{
357
+ path: "path";
358
+ cookie: "cookie";
359
+ body: "body";
360
+ header: "header";
361
+ query: "query";
362
+ }>;
363
+ }, z.core.$strip>;
940
364
  export declare const scenarioStepSchema: z.ZodObject<{
941
365
  order: z.ZodNumber;
942
366
  method: z.ZodString;
943
367
  path: z.ZodString;
944
368
  description: z.ZodString;
945
- interactionType: z.ZodEnum<["success", "error", "edge-case"]>;
369
+ interactionType: z.ZodEnum<{
370
+ success: "success";
371
+ error: "error";
372
+ "edge-case": "edge-case";
373
+ }>;
946
374
  requestBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
947
375
  queryParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
948
- responseBody: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
376
+ responseBody: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
949
377
  expectedStatusCode: z.ZodNumber;
950
- expectedResponseFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
951
- chainsFrom: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
378
+ expectedResponseFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
379
+ chainsFrom: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
952
380
  sourceStep: z.ZodNumber;
953
381
  sourceField: z.ZodString;
954
- sourceLocation: z.ZodEnum<["body", "header", "cookie"]>;
382
+ sourceLocation: z.ZodEnum<{
383
+ cookie: "cookie";
384
+ body: "body";
385
+ header: "header";
386
+ }>;
955
387
  targetParam: z.ZodString;
956
- targetLocation: z.ZodEnum<["path", "body", "query", "header", "cookie"]>;
957
- }, "strip", z.ZodTypeAny, {
958
- sourceStep: number;
959
- sourceField: string;
960
- sourceLocation: "cookie" | "body" | "header";
961
- targetParam: string;
962
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
963
- }, {
964
- sourceStep: number;
965
- sourceField: string;
966
- sourceLocation: "cookie" | "body" | "header";
967
- targetParam: string;
968
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
969
- }>, z.ZodArray<z.ZodObject<{
388
+ targetLocation: z.ZodEnum<{
389
+ path: "path";
390
+ cookie: "cookie";
391
+ body: "body";
392
+ header: "header";
393
+ query: "query";
394
+ }>;
395
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
970
396
  sourceStep: z.ZodNumber;
971
397
  sourceField: z.ZodString;
972
- sourceLocation: z.ZodEnum<["body", "header", "cookie"]>;
398
+ sourceLocation: z.ZodEnum<{
399
+ cookie: "cookie";
400
+ body: "body";
401
+ header: "header";
402
+ }>;
973
403
  targetParam: z.ZodString;
974
- targetLocation: z.ZodEnum<["path", "body", "query", "header", "cookie"]>;
975
- }, "strip", z.ZodTypeAny, {
976
- sourceStep: number;
977
- sourceField: string;
978
- sourceLocation: "cookie" | "body" | "header";
979
- targetParam: string;
980
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
981
- }, {
982
- sourceStep: number;
983
- sourceField: string;
984
- sourceLocation: "cookie" | "body" | "header";
985
- targetParam: string;
986
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
987
- }>, "many">]>>;
988
- bodyMustInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
989
- }, "strip", z.ZodTypeAny, {
990
- path: string;
991
- method: string;
992
- description: string;
993
- order: number;
994
- interactionType: "error" | "success" | "edge-case";
995
- expectedStatusCode: number;
996
- queryParams?: Record<string, any> | undefined;
997
- requestBody?: Record<string, any> | undefined;
998
- responseBody?: any[] | Record<string, any> | undefined;
999
- expectedResponseFields?: string[] | undefined;
1000
- chainsFrom?: {
1001
- sourceStep: number;
1002
- sourceField: string;
1003
- sourceLocation: "cookie" | "body" | "header";
1004
- targetParam: string;
1005
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
1006
- } | {
1007
- sourceStep: number;
1008
- sourceField: string;
1009
- sourceLocation: "cookie" | "body" | "header";
1010
- targetParam: string;
1011
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
1012
- }[] | undefined;
1013
- bodyMustInclude?: string[] | undefined;
1014
- }, {
1015
- path: string;
1016
- method: string;
1017
- description: string;
1018
- order: number;
1019
- interactionType: "error" | "success" | "edge-case";
1020
- expectedStatusCode: number;
1021
- queryParams?: Record<string, any> | undefined;
1022
- requestBody?: Record<string, any> | undefined;
1023
- responseBody?: any[] | Record<string, any> | undefined;
1024
- expectedResponseFields?: string[] | undefined;
1025
- chainsFrom?: {
1026
- sourceStep: number;
1027
- sourceField: string;
1028
- sourceLocation: "cookie" | "body" | "header";
1029
- targetParam: string;
1030
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
1031
- } | {
1032
- sourceStep: number;
1033
- sourceField: string;
1034
- sourceLocation: "cookie" | "body" | "header";
1035
- targetParam: string;
1036
- targetLocation: "path" | "cookie" | "body" | "header" | "query";
1037
- }[] | undefined;
1038
- bodyMustInclude?: string[] | undefined;
1039
- }>;
404
+ targetLocation: z.ZodEnum<{
405
+ path: "path";
406
+ cookie: "cookie";
407
+ body: "body";
408
+ header: "header";
409
+ query: "query";
410
+ }>;
411
+ }, z.core.$strip>>]>>;
412
+ bodyMustInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
413
+ }, z.core.$strip>;
1040
414
  export declare const branchDiffContextSchema: z.ZodObject<{
1041
415
  currentBranch: z.ZodString;
1042
416
  baseBranch: z.ZodString;
1043
- changedFiles: z.ZodArray<z.ZodString, "many">;
1044
- affectedServices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
417
+ changedFiles: z.ZodArray<z.ZodString>;
418
+ affectedServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1045
419
  summary: z.ZodOptional<z.ZodString>;
1046
- }, "strip", z.ZodTypeAny, {
1047
- currentBranch: string;
1048
- baseBranch: string;
1049
- changedFiles: string[];
1050
- affectedServices?: string[] | undefined;
1051
- summary?: string | undefined;
1052
- }, {
1053
- currentBranch: string;
1054
- baseBranch: string;
1055
- changedFiles: string[];
1056
- affectedServices?: string[] | undefined;
1057
- summary?: string | undefined;
1058
- }>;
420
+ }, z.core.$strip>;
1059
421
  export declare const analysisMetadataSchema: z.ZodObject<{
1060
422
  repositoryName: z.ZodString;
1061
423
  analysisDate: z.ZodString;
1062
- scanDepth: z.ZodEnum<["quick", "full"]>;
1063
- analysisScope: z.ZodOptional<z.ZodNativeEnum<typeof AnalysisScope>>;
1064
- }, "strip", z.ZodTypeAny, {
1065
- repositoryName: string;
1066
- analysisDate: string;
1067
- scanDepth: "quick" | "full";
1068
- analysisScope?: AnalysisScope | undefined;
1069
- }, {
1070
- repositoryName: string;
1071
- analysisDate: string;
1072
- scanDepth: "quick" | "full";
1073
- analysisScope?: AnalysisScope | undefined;
1074
- }>;
424
+ scanDepth: z.ZodEnum<{
425
+ quick: "quick";
426
+ full: "full";
427
+ }>;
428
+ analysisScope: z.ZodOptional<z.ZodEnum<typeof AnalysisScope>>;
429
+ }, z.core.$strip>;
1075
430
  export declare const projectClassificationSchema: z.ZodObject<{
1076
- projectType: z.ZodEnum<["rest-api", "frontend", "full-stack", "microservices", "library", "cli", "other"]>;
431
+ projectType: z.ZodEnum<{
432
+ "rest-api": "rest-api";
433
+ frontend: "frontend";
434
+ "full-stack": "full-stack";
435
+ microservices: "microservices";
436
+ library: "library";
437
+ cli: "cli";
438
+ other: "other";
439
+ }>;
1077
440
  primaryLanguage: z.ZodString;
1078
441
  primaryFramework: z.ZodString;
1079
- deploymentPattern: z.ZodEnum<["microservices", "full-stack", "containerized-monolith", "traditional", "unknown"]>;
1080
- }, "strip", z.ZodTypeAny, {
1081
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1082
- primaryLanguage: string;
1083
- primaryFramework: string;
1084
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1085
- }, {
1086
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1087
- primaryLanguage: string;
1088
- primaryFramework: string;
1089
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1090
- }>;
442
+ deploymentPattern: z.ZodEnum<{
443
+ unknown: "unknown";
444
+ "full-stack": "full-stack";
445
+ microservices: "microservices";
446
+ "containerized-monolith": "containerized-monolith";
447
+ traditional: "traditional";
448
+ }>;
449
+ }, z.core.$strip>;
1091
450
  export declare const repositoryAnalysisSchema: z.ZodObject<{
1092
451
  metadata: z.ZodObject<{
1093
452
  repositoryName: z.ZodString;
1094
453
  analysisDate: z.ZodString;
1095
- scanDepth: z.ZodEnum<["quick", "full"]>;
1096
- analysisScope: z.ZodOptional<z.ZodNativeEnum<typeof AnalysisScope>>;
1097
- }, "strip", z.ZodTypeAny, {
1098
- repositoryName: string;
1099
- analysisDate: string;
1100
- scanDepth: "quick" | "full";
1101
- analysisScope?: AnalysisScope | undefined;
1102
- }, {
1103
- repositoryName: string;
1104
- analysisDate: string;
1105
- scanDepth: "quick" | "full";
1106
- analysisScope?: AnalysisScope | undefined;
1107
- }>;
454
+ scanDepth: z.ZodEnum<{
455
+ quick: "quick";
456
+ full: "full";
457
+ }>;
458
+ analysisScope: z.ZodOptional<z.ZodEnum<typeof AnalysisScope>>;
459
+ }, z.core.$strip>;
1108
460
  projectClassification: z.ZodObject<{
1109
- projectType: z.ZodEnum<["rest-api", "frontend", "full-stack", "microservices", "library", "cli", "other"]>;
461
+ projectType: z.ZodEnum<{
462
+ "rest-api": "rest-api";
463
+ frontend: "frontend";
464
+ "full-stack": "full-stack";
465
+ microservices: "microservices";
466
+ library: "library";
467
+ cli: "cli";
468
+ other: "other";
469
+ }>;
1110
470
  primaryLanguage: z.ZodString;
1111
471
  primaryFramework: z.ZodString;
1112
- deploymentPattern: z.ZodEnum<["microservices", "full-stack", "containerized-monolith", "traditional", "unknown"]>;
1113
- }, "strip", z.ZodTypeAny, {
1114
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1115
- primaryLanguage: string;
1116
- primaryFramework: string;
1117
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1118
- }, {
1119
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1120
- primaryLanguage: string;
1121
- primaryFramework: string;
1122
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1123
- }>;
472
+ deploymentPattern: z.ZodEnum<{
473
+ unknown: "unknown";
474
+ "full-stack": "full-stack";
475
+ microservices: "microservices";
476
+ "containerized-monolith": "containerized-monolith";
477
+ traditional: "traditional";
478
+ }>;
479
+ }, z.core.$strip>;
1124
480
  technologyStack: z.ZodObject<{
1125
- languages: z.ZodArray<z.ZodString, "many">;
1126
- frameworks: z.ZodArray<z.ZodString, "many">;
481
+ languages: z.ZodArray<z.ZodString>;
482
+ frameworks: z.ZodArray<z.ZodString>;
1127
483
  runtime: z.ZodString;
1128
484
  keyDependencies: z.ZodArray<z.ZodObject<{
1129
485
  name: z.ZodString;
1130
486
  version: z.ZodString;
1131
487
  purpose: z.ZodString;
1132
- }, "strip", z.ZodTypeAny, {
1133
- version: string;
1134
- name: string;
1135
- purpose: string;
1136
- }, {
1137
- version: string;
1138
- name: string;
1139
- purpose: string;
1140
- }>, "many">;
1141
- }, "strip", z.ZodTypeAny, {
1142
- runtime: string;
1143
- languages: string[];
1144
- frameworks: string[];
1145
- keyDependencies: {
1146
- version: string;
1147
- name: string;
1148
- purpose: string;
1149
- }[];
1150
- }, {
1151
- runtime: string;
1152
- languages: string[];
1153
- frameworks: string[];
1154
- keyDependencies: {
1155
- version: string;
1156
- name: string;
1157
- purpose: string;
1158
- }[];
1159
- }>;
488
+ }, z.core.$strip>>;
489
+ }, z.core.$strip>;
1160
490
  businessContext: z.ZodObject<{
1161
491
  mainPurpose: z.ZodString;
1162
- userFlows: z.ZodArray<z.ZodString, "many">;
1163
- dataFlows: z.ZodArray<z.ZodString, "many">;
1164
- integrationPatterns: z.ZodArray<z.ZodString, "many">;
1165
- }, "strip", z.ZodTypeAny, {
1166
- mainPurpose: string;
1167
- userFlows: string[];
1168
- dataFlows: string[];
1169
- integrationPatterns: string[];
1170
- }, {
1171
- mainPurpose: string;
1172
- userFlows: string[];
1173
- dataFlows: string[];
1174
- integrationPatterns: string[];
1175
- }>;
492
+ userFlows: z.ZodArray<z.ZodString>;
493
+ dataFlows: z.ZodArray<z.ZodString>;
494
+ integrationPatterns: z.ZodArray<z.ZodString>;
495
+ }, z.core.$strip>;
1176
496
  artifacts: z.ZodObject<{
1177
497
  openApiSpecs: z.ZodArray<z.ZodObject<{
1178
498
  path: z.ZodString;
@@ -1180,129 +500,37 @@ export declare const repositoryAnalysisSchema: z.ZodObject<{
1180
500
  endpointCount: z.ZodNumber;
1181
501
  baseUrl: z.ZodString;
1182
502
  authType: z.ZodString;
1183
- }, "strip", z.ZodTypeAny, {
1184
- path: string;
1185
- version: string;
1186
- authType: string;
1187
- baseUrl: string;
1188
- endpointCount: number;
1189
- }, {
1190
- path: string;
1191
- version: string;
1192
- authType: string;
1193
- baseUrl: string;
1194
- endpointCount: number;
1195
- }>, "many">;
503
+ }, z.core.$strip>>;
1196
504
  playwrightRecordings: z.ZodArray<z.ZodObject<{
1197
505
  path: z.ZodString;
1198
506
  description: z.ZodString;
1199
- }, "strip", z.ZodTypeAny, {
1200
- path: string;
1201
- description: string;
1202
- }, {
1203
- path: string;
1204
- description: string;
1205
- }>, "many">;
507
+ }, z.core.$strip>>;
1206
508
  traceFiles: z.ZodArray<z.ZodObject<{
1207
509
  path: z.ZodString;
1208
510
  format: z.ZodString;
1209
511
  analyzed: z.ZodOptional<z.ZodBoolean>;
1210
- userFlows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1211
- }, "strip", z.ZodTypeAny, {
1212
- path: string;
1213
- format: string;
1214
- userFlows?: string[] | undefined;
1215
- analyzed?: boolean | undefined;
1216
- }, {
1217
- path: string;
1218
- format: string;
1219
- userFlows?: string[] | undefined;
1220
- analyzed?: boolean | undefined;
1221
- }>, "many">;
1222
- notFound: z.ZodArray<z.ZodString, "many">;
1223
- }, "strip", z.ZodTypeAny, {
1224
- openApiSpecs: {
1225
- path: string;
1226
- version: string;
1227
- authType: string;
1228
- baseUrl: string;
1229
- endpointCount: number;
1230
- }[];
1231
- playwrightRecordings: {
1232
- path: string;
1233
- description: string;
1234
- }[];
1235
- traceFiles: {
1236
- path: string;
1237
- format: string;
1238
- userFlows?: string[] | undefined;
1239
- analyzed?: boolean | undefined;
1240
- }[];
1241
- notFound: string[];
1242
- }, {
1243
- openApiSpecs: {
1244
- path: string;
1245
- version: string;
1246
- authType: string;
1247
- baseUrl: string;
1248
- endpointCount: number;
1249
- }[];
1250
- playwrightRecordings: {
1251
- path: string;
1252
- description: string;
1253
- }[];
1254
- traceFiles: {
1255
- path: string;
1256
- format: string;
1257
- userFlows?: string[] | undefined;
1258
- analyzed?: boolean | undefined;
1259
- }[];
1260
- notFound: string[];
1261
- }>;
512
+ userFlows: z.ZodOptional<z.ZodArray<z.ZodString>>;
513
+ }, z.core.$strip>>;
514
+ notFound: z.ZodArray<z.ZodString>;
515
+ }, z.core.$strip>;
1262
516
  workspace: z.ZodObject<{
1263
517
  baseUrl: z.ZodString;
1264
- }, "strip", z.ZodTypeAny, {
1265
- baseUrl: string;
1266
- }, {
1267
- baseUrl: string;
1268
- }>;
518
+ }, z.core.$strip>;
1269
519
  authentication: z.ZodObject<{
1270
520
  method: z.ZodString;
1271
521
  configLocation: z.ZodString;
1272
- envVarsRequired: z.ZodArray<z.ZodString, "many">;
522
+ envVarsRequired: z.ZodArray<z.ZodString>;
1273
523
  setupExample: z.ZodString;
1274
- }, "strip", z.ZodTypeAny, {
1275
- method: string;
1276
- configLocation: string;
1277
- envVarsRequired: string[];
1278
- setupExample: string;
1279
- }, {
1280
- method: string;
1281
- configLocation: string;
1282
- envVarsRequired: string[];
1283
- setupExample: string;
1284
- }>;
524
+ }, z.core.$strip>;
1285
525
  infrastructure: z.ZodObject<{
1286
526
  isContainerized: z.ZodBoolean;
1287
527
  hasDockerCompose: z.ZodBoolean;
1288
528
  hasKubernetes: z.ZodBoolean;
1289
529
  hasCiCd: z.ZodBoolean;
1290
530
  ciCdPlatform: z.ZodOptional<z.ZodString>;
1291
- }, "strip", z.ZodTypeAny, {
1292
- isContainerized: boolean;
1293
- hasDockerCompose: boolean;
1294
- hasKubernetes: boolean;
1295
- hasCiCd: boolean;
1296
- ciCdPlatform?: string | undefined;
1297
- }, {
1298
- isContainerized: boolean;
1299
- hasDockerCompose: boolean;
1300
- hasKubernetes: boolean;
1301
- hasCiCd: boolean;
1302
- ciCdPlatform?: string | undefined;
1303
- }>;
531
+ }, z.core.$strip>;
1304
532
  existingTests: z.ZodObject<{
1305
- frameworks: z.ZodArray<z.ZodString, "many">;
533
+ frameworks: z.ZodArray<z.ZodString>;
1306
534
  coverage: z.ZodObject<{
1307
535
  unit: z.ZodNumber;
1308
536
  integration: z.ZodNumber;
@@ -1311,251 +539,17 @@ export declare const repositoryAnalysisSchema: z.ZodObject<{
1311
539
  load: z.ZodNumber;
1312
540
  contract: z.ZodNumber;
1313
541
  smoke: z.ZodNumber;
1314
- }, "strip", z.ZodTypeAny, {
1315
- smoke: number;
1316
- contract: number;
1317
- load: number;
1318
- integration: number;
1319
- e2e: number;
1320
- ui: number;
1321
- unit: number;
1322
- }, {
1323
- smoke: number;
1324
- contract: number;
1325
- load: number;
1326
- integration: number;
1327
- e2e: number;
1328
- ui: number;
1329
- unit: number;
1330
- }>;
542
+ }, z.core.$strip>;
1331
543
  testLocations: z.ZodRecord<z.ZodString, z.ZodString>;
1332
544
  hasCoverageReports: z.ZodBoolean;
1333
545
  estimatedCoverage: z.ZodOptional<z.ZodNumber>;
1334
- relevantExternalTestPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1335
- }, "strip", z.ZodTypeAny, {
1336
- coverage: {
1337
- smoke: number;
1338
- contract: number;
1339
- load: number;
1340
- integration: number;
1341
- e2e: number;
1342
- ui: number;
1343
- unit: number;
1344
- };
1345
- frameworks: string[];
1346
- testLocations: Record<string, string>;
1347
- hasCoverageReports: boolean;
1348
- estimatedCoverage?: number | undefined;
1349
- relevantExternalTestPaths?: string[] | undefined;
1350
- }, {
1351
- coverage: {
1352
- smoke: number;
1353
- contract: number;
1354
- load: number;
1355
- integration: number;
1356
- e2e: number;
1357
- ui: number;
1358
- unit: number;
1359
- };
1360
- frameworks: string[];
1361
- testLocations: Record<string, string>;
1362
- hasCoverageReports: boolean;
1363
- estimatedCoverage?: number | undefined;
1364
- relevantExternalTestPaths?: string[] | undefined;
1365
- }>;
546
+ relevantExternalTestPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
547
+ }, z.core.$strip>;
1366
548
  branchDiffContext: z.ZodOptional<z.ZodObject<{
1367
549
  currentBranch: z.ZodString;
1368
550
  baseBranch: z.ZodString;
1369
- changedFiles: z.ZodArray<z.ZodString, "many">;
1370
- affectedServices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
551
+ changedFiles: z.ZodArray<z.ZodString>;
552
+ affectedServices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1371
553
  summary: z.ZodOptional<z.ZodString>;
1372
- }, "strip", z.ZodTypeAny, {
1373
- currentBranch: string;
1374
- baseBranch: string;
1375
- changedFiles: string[];
1376
- affectedServices?: string[] | undefined;
1377
- summary?: string | undefined;
1378
- }, {
1379
- currentBranch: string;
1380
- baseBranch: string;
1381
- changedFiles: string[];
1382
- affectedServices?: string[] | undefined;
1383
- summary?: string | undefined;
1384
- }>>;
1385
- }, "strip", z.ZodTypeAny, {
1386
- metadata: {
1387
- repositoryName: string;
1388
- analysisDate: string;
1389
- scanDepth: "quick" | "full";
1390
- analysisScope?: AnalysisScope | undefined;
1391
- };
1392
- workspace: {
1393
- baseUrl: string;
1394
- };
1395
- projectClassification: {
1396
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1397
- primaryLanguage: string;
1398
- primaryFramework: string;
1399
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1400
- };
1401
- technologyStack: {
1402
- runtime: string;
1403
- languages: string[];
1404
- frameworks: string[];
1405
- keyDependencies: {
1406
- version: string;
1407
- name: string;
1408
- purpose: string;
1409
- }[];
1410
- };
1411
- businessContext: {
1412
- mainPurpose: string;
1413
- userFlows: string[];
1414
- dataFlows: string[];
1415
- integrationPatterns: string[];
1416
- };
1417
- artifacts: {
1418
- openApiSpecs: {
1419
- path: string;
1420
- version: string;
1421
- authType: string;
1422
- baseUrl: string;
1423
- endpointCount: number;
1424
- }[];
1425
- playwrightRecordings: {
1426
- path: string;
1427
- description: string;
1428
- }[];
1429
- traceFiles: {
1430
- path: string;
1431
- format: string;
1432
- userFlows?: string[] | undefined;
1433
- analyzed?: boolean | undefined;
1434
- }[];
1435
- notFound: string[];
1436
- };
1437
- authentication: {
1438
- method: string;
1439
- configLocation: string;
1440
- envVarsRequired: string[];
1441
- setupExample: string;
1442
- };
1443
- infrastructure: {
1444
- isContainerized: boolean;
1445
- hasDockerCompose: boolean;
1446
- hasKubernetes: boolean;
1447
- hasCiCd: boolean;
1448
- ciCdPlatform?: string | undefined;
1449
- };
1450
- existingTests: {
1451
- coverage: {
1452
- smoke: number;
1453
- contract: number;
1454
- load: number;
1455
- integration: number;
1456
- e2e: number;
1457
- ui: number;
1458
- unit: number;
1459
- };
1460
- frameworks: string[];
1461
- testLocations: Record<string, string>;
1462
- hasCoverageReports: boolean;
1463
- estimatedCoverage?: number | undefined;
1464
- relevantExternalTestPaths?: string[] | undefined;
1465
- };
1466
- branchDiffContext?: {
1467
- currentBranch: string;
1468
- baseBranch: string;
1469
- changedFiles: string[];
1470
- affectedServices?: string[] | undefined;
1471
- summary?: string | undefined;
1472
- } | undefined;
1473
- }, {
1474
- metadata: {
1475
- repositoryName: string;
1476
- analysisDate: string;
1477
- scanDepth: "quick" | "full";
1478
- analysisScope?: AnalysisScope | undefined;
1479
- };
1480
- workspace: {
1481
- baseUrl: string;
1482
- };
1483
- projectClassification: {
1484
- projectType: "rest-api" | "frontend" | "full-stack" | "microservices" | "library" | "cli" | "other";
1485
- primaryLanguage: string;
1486
- primaryFramework: string;
1487
- deploymentPattern: "unknown" | "full-stack" | "microservices" | "containerized-monolith" | "traditional";
1488
- };
1489
- technologyStack: {
1490
- runtime: string;
1491
- languages: string[];
1492
- frameworks: string[];
1493
- keyDependencies: {
1494
- version: string;
1495
- name: string;
1496
- purpose: string;
1497
- }[];
1498
- };
1499
- businessContext: {
1500
- mainPurpose: string;
1501
- userFlows: string[];
1502
- dataFlows: string[];
1503
- integrationPatterns: string[];
1504
- };
1505
- artifacts: {
1506
- openApiSpecs: {
1507
- path: string;
1508
- version: string;
1509
- authType: string;
1510
- baseUrl: string;
1511
- endpointCount: number;
1512
- }[];
1513
- playwrightRecordings: {
1514
- path: string;
1515
- description: string;
1516
- }[];
1517
- traceFiles: {
1518
- path: string;
1519
- format: string;
1520
- userFlows?: string[] | undefined;
1521
- analyzed?: boolean | undefined;
1522
- }[];
1523
- notFound: string[];
1524
- };
1525
- authentication: {
1526
- method: string;
1527
- configLocation: string;
1528
- envVarsRequired: string[];
1529
- setupExample: string;
1530
- };
1531
- infrastructure: {
1532
- isContainerized: boolean;
1533
- hasDockerCompose: boolean;
1534
- hasKubernetes: boolean;
1535
- hasCiCd: boolean;
1536
- ciCdPlatform?: string | undefined;
1537
- };
1538
- existingTests: {
1539
- coverage: {
1540
- smoke: number;
1541
- contract: number;
1542
- load: number;
1543
- integration: number;
1544
- e2e: number;
1545
- ui: number;
1546
- unit: number;
1547
- };
1548
- frameworks: string[];
1549
- testLocations: Record<string, string>;
1550
- hasCoverageReports: boolean;
1551
- estimatedCoverage?: number | undefined;
1552
- relevantExternalTestPaths?: string[] | undefined;
1553
- };
1554
- branchDiffContext?: {
1555
- currentBranch: string;
1556
- baseBranch: string;
1557
- changedFiles: string[];
1558
- affectedServices?: string[] | undefined;
1559
- summary?: string | undefined;
1560
- } | undefined;
1561
- }>;
554
+ }, z.core.$strip>>;
555
+ }, z.core.$strip>;