@uluops/ops-sdk 0.7.0 → 0.8.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.
@@ -254,10 +254,11 @@ export declare const PaginationResponseSchema: z.ZodObject<{
254
254
  export declare const ProjectResponseSchema: z.ZodObject<{
255
255
  id: z.ZodString;
256
256
  name: z.ZodString;
257
- ownerId: z.ZodOptional<z.ZodString>;
257
+ domain: z.ZodOptional<z.ZodString>;
258
+ ownerId: z.ZodString;
259
+ orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
260
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
259
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
260
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
261
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
261
262
  }, z.core.$strip>;
262
263
  export declare const ProjectSummaryStatsResponseSchema: z.ZodObject<{
263
264
  totalIssues: z.ZodNumber;
@@ -273,10 +274,11 @@ export declare const ProjectSummaryResponseSchema: z.ZodObject<{
273
274
  project: z.ZodObject<{
274
275
  id: z.ZodString;
275
276
  name: z.ZodString;
276
- ownerId: z.ZodOptional<z.ZodString>;
277
+ domain: z.ZodOptional<z.ZodString>;
278
+ ownerId: z.ZodString;
279
+ orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
280
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
278
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
279
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
281
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
280
282
  }, z.core.$strip>;
281
283
  stats: z.ZodObject<{
282
284
  totalIssues: z.ZodNumber;
@@ -299,17 +301,17 @@ export declare const TrendDataPointResponseSchema: z.ZodObject<{
299
301
  }, z.core.$strip>;
300
302
  export declare const IssueResponseSchema: z.ZodObject<{
301
303
  id: z.ZodString;
302
- projectId: z.ZodOptional<z.ZodString>;
303
- fingerprint: z.ZodOptional<z.ZodString>;
304
+ projectId: z.ZodString;
305
+ fingerprint: z.ZodString;
304
306
  title: z.ZodString;
305
- status: z.ZodOptional<z.ZodEnum<{
307
+ status: z.ZodEnum<{
306
308
  open: "open";
307
309
  completed: "completed";
308
310
  deferred: "deferred";
309
311
  wontfix: "wontfix";
310
312
  merged: "merged";
311
313
  "false-positive": "false-positive";
312
- }>>;
314
+ }>;
313
315
  priority: z.ZodEnum<{
314
316
  critical: "critical";
315
317
  suggested: "suggested";
@@ -354,14 +356,14 @@ export declare const IssueResponseSchema: z.ZodObject<{
354
356
  }>>>;
355
357
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
358
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
357
- timesSeen: z.ZodOptional<z.ZodNumber>;
358
- firstSeenRunId: z.ZodOptional<z.ZodString>;
359
- lastSeenRunId: z.ZodOptional<z.ZodString>;
359
+ timesSeen: z.ZodNumber;
360
+ firstSeenRunId: z.ZodString;
361
+ lastSeenRunId: z.ZodString;
360
362
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
361
363
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
364
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
363
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
364
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
365
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
366
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
365
367
  }, z.core.$strip>;
366
368
  export declare const OccurrenceResponseSchema: z.ZodObject<{
367
369
  id: z.ZodOptional<z.ZodString>;
@@ -438,17 +440,17 @@ export declare const StatusHistoryResponseSchema: z.ZodObject<{
438
440
  export declare const IssueDetailsResponseSchema: z.ZodObject<{
439
441
  issue: z.ZodObject<{
440
442
  id: z.ZodString;
441
- projectId: z.ZodOptional<z.ZodString>;
442
- fingerprint: z.ZodOptional<z.ZodString>;
443
+ projectId: z.ZodString;
444
+ fingerprint: z.ZodString;
443
445
  title: z.ZodString;
444
- status: z.ZodOptional<z.ZodEnum<{
446
+ status: z.ZodEnum<{
445
447
  open: "open";
446
448
  completed: "completed";
447
449
  deferred: "deferred";
448
450
  wontfix: "wontfix";
449
451
  merged: "merged";
450
452
  "false-positive": "false-positive";
451
- }>>;
453
+ }>;
452
454
  priority: z.ZodEnum<{
453
455
  critical: "critical";
454
456
  suggested: "suggested";
@@ -493,14 +495,14 @@ export declare const IssueDetailsResponseSchema: z.ZodObject<{
493
495
  }>>>;
494
496
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
497
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
496
- timesSeen: z.ZodOptional<z.ZodNumber>;
497
- firstSeenRunId: z.ZodOptional<z.ZodString>;
498
- lastSeenRunId: z.ZodOptional<z.ZodString>;
498
+ timesSeen: z.ZodNumber;
499
+ firstSeenRunId: z.ZodString;
500
+ lastSeenRunId: z.ZodString;
499
501
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
500
502
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
503
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
502
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
503
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
504
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
505
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
504
506
  }, z.core.$strip>;
505
507
  occurrences: z.ZodArray<z.ZodObject<{
506
508
  id: z.ZodOptional<z.ZodString>;
@@ -600,35 +602,58 @@ export declare const StatusUpdateResultResponseSchema: z.ZodObject<{
600
602
  }, z.core.$strip>;
601
603
  export declare const RunResponseSchema: z.ZodObject<{
602
604
  id: z.ZodString;
603
- projectId: z.ZodOptional<z.ZodString>;
605
+ projectId: z.ZodString;
606
+ runNumber: z.ZodNumber;
607
+ workflowType: z.ZodString;
608
+ timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
609
+ allGatesPassed: z.ZodBoolean;
610
+ averageScore: z.ZodNullable<z.ZodNumber>;
611
+ rawMarkdown: z.ZodNullable<z.ZodString>;
612
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
613
+ archiveReason: z.ZodNullable<z.ZodString>;
614
+ idempotencyKey: z.ZodNullable<z.ZodString>;
615
+ definitionType: z.ZodNullable<z.ZodString>;
616
+ definitionName: z.ZodNullable<z.ZodString>;
617
+ definitionVersion: z.ZodNullable<z.ZodString>;
618
+ definitionHash: z.ZodNullable<z.ZodString>;
619
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
620
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
621
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
622
+ }, z.core.$strip>;
623
+ /** Run summary schema for list endpoints — enriched with aggregate fields, omits detail-only fields */
624
+ export declare const RunSummaryResponseSchema: z.ZodObject<{
625
+ id: z.ZodString;
626
+ projectId: z.ZodString;
604
627
  runNumber: z.ZodNumber;
605
628
  workflowType: z.ZodString;
606
629
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
607
630
  allGatesPassed: z.ZodBoolean;
608
631
  averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
609
- rawMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
610
632
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
611
633
  archiveReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
613
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
614
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
634
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
635
+ totalRecommendations: z.ZodNumber;
636
+ criticalCount: z.ZodNumber;
637
+ suggestedCount: z.ZodNumber;
638
+ backlogCount: z.ZodNumber;
639
+ agentScores: z.ZodRecord<z.ZodString, z.ZodNumber>;
615
640
  }, z.core.$strip>;
616
641
  export declare const AgentSnapshotResponseSchema: z.ZodObject<{
617
- id: z.ZodOptional<z.ZodString>;
618
- runId: z.ZodOptional<z.ZodString>;
642
+ id: z.ZodString;
643
+ runId: z.ZodString;
619
644
  name: z.ZodString;
620
645
  score: z.ZodNumber;
621
- maxScore: z.ZodOptional<z.ZodNumber>;
622
- status: z.ZodString;
623
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
624
- inputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
625
- outputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
626
- cacheCreationTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
627
- cacheReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
628
- totalEffectiveTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
629
- durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
630
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
631
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
646
+ maxScore: z.ZodNumber;
647
+ decision: z.ZodString;
648
+ model: z.ZodNullable<z.ZodString>;
649
+ inputTokens: z.ZodNullable<z.ZodNumber>;
650
+ outputTokens: z.ZodNullable<z.ZodNumber>;
651
+ cacheCreationTokens: z.ZodNullable<z.ZodNumber>;
652
+ cacheReadTokens: z.ZodNullable<z.ZodNumber>;
653
+ totalEffectiveTokens: z.ZodNullable<z.ZodNumber>;
654
+ durationMs: z.ZodNullable<z.ZodNumber>;
655
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
656
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
632
657
  }, z.core.$strip>;
633
658
  export declare const CorrelationResultResponseSchema: z.ZodObject<{
634
659
  newIssues: z.ZodNumber;
@@ -638,35 +663,40 @@ export declare const CorrelationResultResponseSchema: z.ZodObject<{
638
663
  export declare const SaveRunResponseSchema: z.ZodObject<{
639
664
  run: z.ZodObject<{
640
665
  id: z.ZodString;
641
- projectId: z.ZodOptional<z.ZodString>;
666
+ projectId: z.ZodString;
642
667
  runNumber: z.ZodNumber;
643
668
  workflowType: z.ZodString;
644
669
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
645
670
  allGatesPassed: z.ZodBoolean;
646
- averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
647
- rawMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
649
- archiveReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
650
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
652
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
671
+ averageScore: z.ZodNullable<z.ZodNumber>;
672
+ rawMarkdown: z.ZodNullable<z.ZodString>;
673
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
674
+ archiveReason: z.ZodNullable<z.ZodString>;
675
+ idempotencyKey: z.ZodNullable<z.ZodString>;
676
+ definitionType: z.ZodNullable<z.ZodString>;
677
+ definitionName: z.ZodNullable<z.ZodString>;
678
+ definitionVersion: z.ZodNullable<z.ZodString>;
679
+ definitionHash: z.ZodNullable<z.ZodString>;
680
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
681
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
682
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
653
683
  }, z.core.$strip>;
654
684
  agents: z.ZodArray<z.ZodObject<{
655
- id: z.ZodOptional<z.ZodString>;
656
- runId: z.ZodOptional<z.ZodString>;
685
+ id: z.ZodString;
686
+ runId: z.ZodString;
657
687
  name: z.ZodString;
658
688
  score: z.ZodNumber;
659
- maxScore: z.ZodOptional<z.ZodNumber>;
660
- status: z.ZodString;
661
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
662
- inputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
663
- outputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
664
- cacheCreationTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
665
- cacheReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
666
- totalEffectiveTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
667
- durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
668
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
669
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
689
+ maxScore: z.ZodNumber;
690
+ decision: z.ZodString;
691
+ model: z.ZodNullable<z.ZodString>;
692
+ inputTokens: z.ZodNullable<z.ZodNumber>;
693
+ outputTokens: z.ZodNullable<z.ZodNumber>;
694
+ cacheCreationTokens: z.ZodNullable<z.ZodNumber>;
695
+ cacheReadTokens: z.ZodNullable<z.ZodNumber>;
696
+ totalEffectiveTokens: z.ZodNullable<z.ZodNumber>;
697
+ durationMs: z.ZodNullable<z.ZodNumber>;
698
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
699
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
670
700
  }, z.core.$strip>>;
671
701
  correlation: z.ZodObject<{
672
702
  newIssues: z.ZodNumber;
@@ -674,6 +704,37 @@ export declare const SaveRunResponseSchema: z.ZodObject<{
674
704
  regressions: z.ZodNumber;
675
705
  }, z.core.$strip>;
676
706
  deduplicated: z.ZodBoolean;
707
+ analysisRecords: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
708
+ id: z.ZodString;
709
+ runId: z.ZodString;
710
+ agentName: z.ZodString;
711
+ agentType: z.ZodString;
712
+ recordType: z.ZodString;
713
+ recordId: z.ZodString;
714
+ title: z.ZodString;
715
+ classification: z.ZodNullable<z.ZodString>;
716
+ severity: z.ZodNullable<z.ZodString>;
717
+ recordData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
718
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
719
+ }, z.core.$strip>>>>;
720
+ analysisSummary: z.ZodOptional<z.ZodLazy<z.ZodObject<{
721
+ id: z.ZodString;
722
+ runId: z.ZodString;
723
+ agentName: z.ZodString;
724
+ agentType: z.ZodString;
725
+ decision: z.ZodString;
726
+ score: z.ZodNumber;
727
+ decisionVocabulary: z.ZodNullable<z.ZodString>;
728
+ systemMetrics: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
729
+ categoryScores: z.ZodNullable<z.ZodArray<z.ZodObject<{
730
+ name: z.ZodString;
731
+ weight: z.ZodNumber;
732
+ score: z.ZodNumber;
733
+ }, z.core.$strip>>>;
734
+ epistemicAssessment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
735
+ auditImplications: z.ZodNullable<z.ZodArray<z.ZodString>>;
736
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
737
+ }, z.core.$strip>>>;
677
738
  }, z.core.$strip>;
678
739
  export declare const DiffIssueRefResponseSchema: z.ZodObject<{
679
740
  issueId: z.ZodString;
@@ -688,33 +749,43 @@ export declare const AgentChangeResponseSchema: z.ZodObject<{
688
749
  export declare const RunDiffResultResponseSchema: z.ZodObject<{
689
750
  baseRun: z.ZodObject<{
690
751
  id: z.ZodString;
691
- projectId: z.ZodOptional<z.ZodString>;
752
+ projectId: z.ZodString;
692
753
  runNumber: z.ZodNumber;
693
754
  workflowType: z.ZodString;
694
755
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
695
756
  allGatesPassed: z.ZodBoolean;
696
- averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
697
- rawMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
698
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
699
- archiveReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
700
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
702
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
757
+ averageScore: z.ZodNullable<z.ZodNumber>;
758
+ rawMarkdown: z.ZodNullable<z.ZodString>;
759
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
760
+ archiveReason: z.ZodNullable<z.ZodString>;
761
+ idempotencyKey: z.ZodNullable<z.ZodString>;
762
+ definitionType: z.ZodNullable<z.ZodString>;
763
+ definitionName: z.ZodNullable<z.ZodString>;
764
+ definitionVersion: z.ZodNullable<z.ZodString>;
765
+ definitionHash: z.ZodNullable<z.ZodString>;
766
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
767
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
768
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
703
769
  }, z.core.$strip>;
704
770
  compareRun: z.ZodObject<{
705
771
  id: z.ZodString;
706
- projectId: z.ZodOptional<z.ZodString>;
772
+ projectId: z.ZodString;
707
773
  runNumber: z.ZodNumber;
708
774
  workflowType: z.ZodString;
709
775
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
710
776
  allGatesPassed: z.ZodBoolean;
711
- averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
712
- rawMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
714
- archiveReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
717
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
777
+ averageScore: z.ZodNullable<z.ZodNumber>;
778
+ rawMarkdown: z.ZodNullable<z.ZodString>;
779
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
780
+ archiveReason: z.ZodNullable<z.ZodString>;
781
+ idempotencyKey: z.ZodNullable<z.ZodString>;
782
+ definitionType: z.ZodNullable<z.ZodString>;
783
+ definitionName: z.ZodNullable<z.ZodString>;
784
+ definitionVersion: z.ZodNullable<z.ZodString>;
785
+ definitionHash: z.ZodNullable<z.ZodString>;
786
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
787
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
788
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
718
789
  }, z.core.$strip>;
719
790
  fixed: z.ZodArray<z.ZodObject<{
720
791
  issueId: z.ZodString;
@@ -738,35 +809,40 @@ export declare const RunDiffResultResponseSchema: z.ZodObject<{
738
809
  export declare const RunDetailsResponseSchema: z.ZodObject<{
739
810
  run: z.ZodObject<{
740
811
  id: z.ZodString;
741
- projectId: z.ZodOptional<z.ZodString>;
812
+ projectId: z.ZodString;
742
813
  runNumber: z.ZodNumber;
743
814
  workflowType: z.ZodString;
744
815
  timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
745
816
  allGatesPassed: z.ZodBoolean;
746
- averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
747
- rawMarkdown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
748
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
749
- archiveReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
750
- idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
752
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
817
+ averageScore: z.ZodNullable<z.ZodNumber>;
818
+ rawMarkdown: z.ZodNullable<z.ZodString>;
819
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
820
+ archiveReason: z.ZodNullable<z.ZodString>;
821
+ idempotencyKey: z.ZodNullable<z.ZodString>;
822
+ definitionType: z.ZodNullable<z.ZodString>;
823
+ definitionName: z.ZodNullable<z.ZodString>;
824
+ definitionVersion: z.ZodNullable<z.ZodString>;
825
+ definitionHash: z.ZodNullable<z.ZodString>;
826
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
827
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
828
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
753
829
  }, z.core.$strip>;
754
830
  agents: z.ZodArray<z.ZodObject<{
755
- id: z.ZodOptional<z.ZodString>;
756
- runId: z.ZodOptional<z.ZodString>;
831
+ id: z.ZodString;
832
+ runId: z.ZodString;
757
833
  name: z.ZodString;
758
834
  score: z.ZodNumber;
759
- maxScore: z.ZodOptional<z.ZodNumber>;
760
- status: z.ZodString;
761
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
- inputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
763
- outputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
764
- cacheCreationTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
765
- cacheReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
766
- totalEffectiveTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
767
- durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
768
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
769
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
835
+ maxScore: z.ZodNumber;
836
+ decision: z.ZodString;
837
+ model: z.ZodNullable<z.ZodString>;
838
+ inputTokens: z.ZodNullable<z.ZodNumber>;
839
+ outputTokens: z.ZodNullable<z.ZodNumber>;
840
+ cacheCreationTokens: z.ZodNullable<z.ZodNumber>;
841
+ cacheReadTokens: z.ZodNullable<z.ZodNumber>;
842
+ totalEffectiveTokens: z.ZodNullable<z.ZodNumber>;
843
+ durationMs: z.ZodNullable<z.ZodNumber>;
844
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
845
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
770
846
  }, z.core.$strip>>;
771
847
  recommendations: z.ZodArray<z.ZodObject<{
772
848
  id: z.ZodString;
@@ -792,20 +868,178 @@ export declare const RunDetailsResponseSchema: z.ZodObject<{
792
868
  }>;
793
869
  }, z.core.$strip>>;
794
870
  }, z.core.$strip>;
871
+ export declare const ValidateRunResponseSchema: z.ZodObject<{
872
+ wouldCreate: z.ZodNumber;
873
+ wouldUpdate: z.ZodNumber;
874
+ wouldRegress: z.ZodNumber;
875
+ validationErrors: z.ZodArray<z.ZodString>;
876
+ preview: z.ZodOptional<z.ZodObject<{
877
+ run: z.ZodObject<{
878
+ id: z.ZodString;
879
+ projectId: z.ZodString;
880
+ runNumber: z.ZodNumber;
881
+ workflowType: z.ZodString;
882
+ timestamp: z.ZodUnion<[z.ZodString, z.ZodString]>;
883
+ allGatesPassed: z.ZodBoolean;
884
+ averageScore: z.ZodNullable<z.ZodNumber>;
885
+ rawMarkdown: z.ZodNullable<z.ZodString>;
886
+ archivedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
887
+ archiveReason: z.ZodNullable<z.ZodString>;
888
+ idempotencyKey: z.ZodNullable<z.ZodString>;
889
+ definitionType: z.ZodNullable<z.ZodString>;
890
+ definitionName: z.ZodNullable<z.ZodString>;
891
+ definitionVersion: z.ZodNullable<z.ZodString>;
892
+ definitionHash: z.ZodNullable<z.ZodString>;
893
+ registrySyncedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
894
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
895
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
896
+ }, z.core.$strip>;
897
+ agents: z.ZodArray<z.ZodObject<{
898
+ id: z.ZodString;
899
+ runId: z.ZodString;
900
+ name: z.ZodString;
901
+ score: z.ZodNumber;
902
+ maxScore: z.ZodNumber;
903
+ decision: z.ZodString;
904
+ model: z.ZodNullable<z.ZodString>;
905
+ inputTokens: z.ZodNullable<z.ZodNumber>;
906
+ outputTokens: z.ZodNullable<z.ZodNumber>;
907
+ cacheCreationTokens: z.ZodNullable<z.ZodNumber>;
908
+ cacheReadTokens: z.ZodNullable<z.ZodNumber>;
909
+ totalEffectiveTokens: z.ZodNullable<z.ZodNumber>;
910
+ durationMs: z.ZodNullable<z.ZodNumber>;
911
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
912
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
913
+ }, z.core.$strip>>;
914
+ }, z.core.$strip>>;
915
+ }, z.core.$strip>;
916
+ export declare const ArchiveRunsResultResponseSchema: z.ZodObject<{
917
+ archivedCount: z.ZodNumber;
918
+ }, z.core.$strip>;
919
+ export declare const DeleteResultResponseSchema: z.ZodObject<{
920
+ deleted: z.ZodLiteral<true>;
921
+ }, z.core.$strip>;
922
+ /** Analysis record returned by getAnalysis / queryAnalysisRecords */
923
+ export declare const AnalysisRecordResponseSchema: z.ZodObject<{
924
+ id: z.ZodString;
925
+ runId: z.ZodString;
926
+ agentName: z.ZodString;
927
+ agentType: z.ZodString;
928
+ recordType: z.ZodString;
929
+ recordId: z.ZodString;
930
+ title: z.ZodString;
931
+ classification: z.ZodNullable<z.ZodString>;
932
+ severity: z.ZodNullable<z.ZodString>;
933
+ recordData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
934
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
935
+ }, z.core.$strip>;
936
+ /** Analysis summary returned by getProjectAnalysis */
937
+ export declare const AnalysisSummaryResponseSchema: z.ZodObject<{
938
+ id: z.ZodString;
939
+ runId: z.ZodString;
940
+ agentName: z.ZodString;
941
+ agentType: z.ZodString;
942
+ decision: z.ZodString;
943
+ score: z.ZodNumber;
944
+ decisionVocabulary: z.ZodNullable<z.ZodString>;
945
+ systemMetrics: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
946
+ categoryScores: z.ZodNullable<z.ZodArray<z.ZodObject<{
947
+ name: z.ZodString;
948
+ weight: z.ZodNumber;
949
+ score: z.ZodNumber;
950
+ }, z.core.$strip>>>;
951
+ epistemicAssessment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
952
+ auditImplications: z.ZodNullable<z.ZodArray<z.ZodString>>;
953
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
954
+ }, z.core.$strip>;
955
+ /** Full analysis response for a single run */
956
+ export declare const RunAnalysisResponseSchema: z.ZodObject<{
957
+ records: z.ZodArray<z.ZodObject<{
958
+ id: z.ZodString;
959
+ runId: z.ZodString;
960
+ agentName: z.ZodString;
961
+ agentType: z.ZodString;
962
+ recordType: z.ZodString;
963
+ recordId: z.ZodString;
964
+ title: z.ZodString;
965
+ classification: z.ZodNullable<z.ZodString>;
966
+ severity: z.ZodNullable<z.ZodString>;
967
+ recordData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
968
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
969
+ }, z.core.$strip>>;
970
+ summaries: z.ZodArray<z.ZodObject<{
971
+ id: z.ZodString;
972
+ runId: z.ZodString;
973
+ agentName: z.ZodString;
974
+ agentType: z.ZodString;
975
+ decision: z.ZodString;
976
+ score: z.ZodNumber;
977
+ decisionVocabulary: z.ZodNullable<z.ZodString>;
978
+ systemMetrics: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
979
+ categoryScores: z.ZodNullable<z.ZodArray<z.ZodObject<{
980
+ name: z.ZodString;
981
+ weight: z.ZodNumber;
982
+ score: z.ZodNumber;
983
+ }, z.core.$strip>>>;
984
+ epistemicAssessment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
985
+ auditImplications: z.ZodNullable<z.ZodArray<z.ZodString>>;
986
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
987
+ }, z.core.$strip>>;
988
+ total: z.ZodNumber;
989
+ }, z.core.$strip>;
990
+ /** Paginated analysis summaries response (getProjectAnalysis) */
991
+ export declare const ProjectAnalysisListResponseSchema: z.ZodObject<{
992
+ data: z.ZodArray<z.ZodObject<{
993
+ id: z.ZodString;
994
+ runId: z.ZodString;
995
+ agentName: z.ZodString;
996
+ agentType: z.ZodString;
997
+ decision: z.ZodString;
998
+ score: z.ZodNumber;
999
+ decisionVocabulary: z.ZodNullable<z.ZodString>;
1000
+ systemMetrics: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1001
+ categoryScores: z.ZodNullable<z.ZodArray<z.ZodObject<{
1002
+ name: z.ZodString;
1003
+ weight: z.ZodNumber;
1004
+ score: z.ZodNumber;
1005
+ }, z.core.$strip>>>;
1006
+ epistemicAssessment: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1007
+ auditImplications: z.ZodNullable<z.ZodArray<z.ZodString>>;
1008
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1009
+ }, z.core.$strip>>;
1010
+ total: z.ZodNumber;
1011
+ }, z.core.$strip>;
1012
+ /** Paginated analysis records response (queryAnalysisRecords) */
1013
+ export declare const AnalysisRecordsListResponseSchema: z.ZodObject<{
1014
+ data: z.ZodArray<z.ZodObject<{
1015
+ id: z.ZodString;
1016
+ runId: z.ZodString;
1017
+ agentName: z.ZodString;
1018
+ agentType: z.ZodString;
1019
+ recordType: z.ZodString;
1020
+ recordId: z.ZodString;
1021
+ title: z.ZodString;
1022
+ classification: z.ZodNullable<z.ZodString>;
1023
+ severity: z.ZodNullable<z.ZodString>;
1024
+ recordData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1025
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1026
+ }, z.core.$strip>>;
1027
+ total: z.ZodNumber;
1028
+ }, z.core.$strip>;
795
1029
  export declare const MergeIssuesResultResponseSchema: z.ZodObject<{
796
1030
  targetIssue: z.ZodOptional<z.ZodObject<{
797
1031
  id: z.ZodString;
798
- projectId: z.ZodOptional<z.ZodString>;
799
- fingerprint: z.ZodOptional<z.ZodString>;
1032
+ projectId: z.ZodString;
1033
+ fingerprint: z.ZodString;
800
1034
  title: z.ZodString;
801
- status: z.ZodOptional<z.ZodEnum<{
1035
+ status: z.ZodEnum<{
802
1036
  open: "open";
803
1037
  completed: "completed";
804
1038
  deferred: "deferred";
805
1039
  wontfix: "wontfix";
806
1040
  merged: "merged";
807
1041
  "false-positive": "false-positive";
808
- }>>;
1042
+ }>;
809
1043
  priority: z.ZodEnum<{
810
1044
  critical: "critical";
811
1045
  suggested: "suggested";
@@ -850,14 +1084,14 @@ export declare const MergeIssuesResultResponseSchema: z.ZodObject<{
850
1084
  }>>>;
851
1085
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
1086
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
853
- timesSeen: z.ZodOptional<z.ZodNumber>;
854
- firstSeenRunId: z.ZodOptional<z.ZodString>;
855
- lastSeenRunId: z.ZodOptional<z.ZodString>;
1087
+ timesSeen: z.ZodNumber;
1088
+ firstSeenRunId: z.ZodString;
1089
+ lastSeenRunId: z.ZodString;
856
1090
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
857
1091
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
1092
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
859
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
860
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1093
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1094
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
861
1095
  }, z.core.$strip>>;
862
1096
  targetIssueId: z.ZodOptional<z.ZodString>;
863
1097
  mergedCount: z.ZodNumber;
@@ -910,27 +1144,28 @@ export declare const ProjectListResponseSchema: z.ZodObject<{
910
1144
  data: z.ZodArray<z.ZodObject<{
911
1145
  id: z.ZodString;
912
1146
  name: z.ZodString;
913
- ownerId: z.ZodOptional<z.ZodString>;
1147
+ domain: z.ZodOptional<z.ZodString>;
1148
+ ownerId: z.ZodString;
1149
+ orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
914
1150
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
915
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
916
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1151
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
917
1152
  }, z.core.$strip>>;
918
1153
  count: z.ZodOptional<z.ZodNumber>;
919
1154
  }, z.core.$strip>;
920
1155
  export declare const IssueListResponseSchema: z.ZodObject<{
921
1156
  data: z.ZodArray<z.ZodObject<{
922
1157
  id: z.ZodString;
923
- projectId: z.ZodOptional<z.ZodString>;
924
- fingerprint: z.ZodOptional<z.ZodString>;
1158
+ projectId: z.ZodString;
1159
+ fingerprint: z.ZodString;
925
1160
  title: z.ZodString;
926
- status: z.ZodOptional<z.ZodEnum<{
1161
+ status: z.ZodEnum<{
927
1162
  open: "open";
928
1163
  completed: "completed";
929
1164
  deferred: "deferred";
930
1165
  wontfix: "wontfix";
931
1166
  merged: "merged";
932
1167
  "false-positive": "false-positive";
933
- }>>;
1168
+ }>;
934
1169
  priority: z.ZodEnum<{
935
1170
  critical: "critical";
936
1171
  suggested: "suggested";
@@ -975,14 +1210,14 @@ export declare const IssueListResponseSchema: z.ZodObject<{
975
1210
  }>>>;
976
1211
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
977
1212
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
978
- timesSeen: z.ZodOptional<z.ZodNumber>;
979
- firstSeenRunId: z.ZodOptional<z.ZodString>;
980
- lastSeenRunId: z.ZodOptional<z.ZodString>;
1213
+ timesSeen: z.ZodNumber;
1214
+ firstSeenRunId: z.ZodString;
1215
+ lastSeenRunId: z.ZodString;
981
1216
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
982
1217
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
1218
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
984
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
985
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1219
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1220
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
986
1221
  }, z.core.$strip>>;
987
1222
  count: z.ZodOptional<z.ZodNumber>;
988
1223
  }, z.core.$strip>;
@@ -1067,27 +1302,28 @@ export declare const ProjectApiResponseSchema: z.ZodObject<{
1067
1302
  data: z.ZodObject<{
1068
1303
  id: z.ZodString;
1069
1304
  name: z.ZodString;
1070
- ownerId: z.ZodOptional<z.ZodString>;
1305
+ domain: z.ZodOptional<z.ZodString>;
1306
+ ownerId: z.ZodString;
1307
+ orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
1308
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1072
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1073
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1309
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1074
1310
  }, z.core.$strip>;
1075
1311
  message: z.ZodOptional<z.ZodString>;
1076
1312
  }, z.core.$strip>;
1077
1313
  export declare const IssueApiResponseSchema: z.ZodObject<{
1078
1314
  data: z.ZodObject<{
1079
1315
  id: z.ZodString;
1080
- projectId: z.ZodOptional<z.ZodString>;
1081
- fingerprint: z.ZodOptional<z.ZodString>;
1316
+ projectId: z.ZodString;
1317
+ fingerprint: z.ZodString;
1082
1318
  title: z.ZodString;
1083
- status: z.ZodOptional<z.ZodEnum<{
1319
+ status: z.ZodEnum<{
1084
1320
  open: "open";
1085
1321
  completed: "completed";
1086
1322
  deferred: "deferred";
1087
1323
  wontfix: "wontfix";
1088
1324
  merged: "merged";
1089
1325
  "false-positive": "false-positive";
1090
- }>>;
1326
+ }>;
1091
1327
  priority: z.ZodEnum<{
1092
1328
  critical: "critical";
1093
1329
  suggested: "suggested";
@@ -1132,14 +1368,14 @@ export declare const IssueApiResponseSchema: z.ZodObject<{
1132
1368
  }>>>;
1133
1369
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1134
1370
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1135
- timesSeen: z.ZodOptional<z.ZodNumber>;
1136
- firstSeenRunId: z.ZodOptional<z.ZodString>;
1137
- lastSeenRunId: z.ZodOptional<z.ZodString>;
1371
+ timesSeen: z.ZodNumber;
1372
+ firstSeenRunId: z.ZodString;
1373
+ lastSeenRunId: z.ZodString;
1138
1374
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1139
1375
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1140
1376
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1141
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1142
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1377
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1378
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1143
1379
  }, z.core.$strip>;
1144
1380
  message: z.ZodOptional<z.ZodString>;
1145
1381
  }, z.core.$strip>;
@@ -1147,17 +1383,17 @@ export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
1147
1383
  data: z.ZodObject<{
1148
1384
  issue: z.ZodObject<{
1149
1385
  id: z.ZodString;
1150
- projectId: z.ZodOptional<z.ZodString>;
1151
- fingerprint: z.ZodOptional<z.ZodString>;
1386
+ projectId: z.ZodString;
1387
+ fingerprint: z.ZodString;
1152
1388
  title: z.ZodString;
1153
- status: z.ZodOptional<z.ZodEnum<{
1389
+ status: z.ZodEnum<{
1154
1390
  open: "open";
1155
1391
  completed: "completed";
1156
1392
  deferred: "deferred";
1157
1393
  wontfix: "wontfix";
1158
1394
  merged: "merged";
1159
1395
  "false-positive": "false-positive";
1160
- }>>;
1396
+ }>;
1161
1397
  priority: z.ZodEnum<{
1162
1398
  critical: "critical";
1163
1399
  suggested: "suggested";
@@ -1202,14 +1438,14 @@ export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
1202
1438
  }>>>;
1203
1439
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1204
1440
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1205
- timesSeen: z.ZodOptional<z.ZodNumber>;
1206
- firstSeenRunId: z.ZodOptional<z.ZodString>;
1207
- lastSeenRunId: z.ZodOptional<z.ZodString>;
1441
+ timesSeen: z.ZodNumber;
1442
+ firstSeenRunId: z.ZodString;
1443
+ lastSeenRunId: z.ZodString;
1208
1444
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1209
1445
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1210
1446
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1211
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1212
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1447
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1448
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1213
1449
  }, z.core.$strip>;
1214
1450
  occurrences: z.ZodArray<z.ZodObject<{
1215
1451
  id: z.ZodOptional<z.ZodString>;
@@ -1306,10 +1542,11 @@ export declare const ProjectSummaryApiResponseSchema: z.ZodObject<{
1306
1542
  project: z.ZodObject<{
1307
1543
  id: z.ZodString;
1308
1544
  name: z.ZodString;
1309
- ownerId: z.ZodOptional<z.ZodString>;
1545
+ domain: z.ZodOptional<z.ZodString>;
1546
+ ownerId: z.ZodString;
1547
+ orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
1548
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1311
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1312
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1549
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1313
1550
  }, z.core.$strip>;
1314
1551
  stats: z.ZodObject<{
1315
1552
  totalIssues: z.ZodNumber;
@@ -1328,17 +1565,17 @@ export declare const MergeIssuesApiResponseSchema: z.ZodObject<{
1328
1565
  data: z.ZodObject<{
1329
1566
  targetIssue: z.ZodOptional<z.ZodObject<{
1330
1567
  id: z.ZodString;
1331
- projectId: z.ZodOptional<z.ZodString>;
1332
- fingerprint: z.ZodOptional<z.ZodString>;
1568
+ projectId: z.ZodString;
1569
+ fingerprint: z.ZodString;
1333
1570
  title: z.ZodString;
1334
- status: z.ZodOptional<z.ZodEnum<{
1571
+ status: z.ZodEnum<{
1335
1572
  open: "open";
1336
1573
  completed: "completed";
1337
1574
  deferred: "deferred";
1338
1575
  wontfix: "wontfix";
1339
1576
  merged: "merged";
1340
1577
  "false-positive": "false-positive";
1341
- }>>;
1578
+ }>;
1342
1579
  priority: z.ZodEnum<{
1343
1580
  critical: "critical";
1344
1581
  suggested: "suggested";
@@ -1383,14 +1620,14 @@ export declare const MergeIssuesApiResponseSchema: z.ZodObject<{
1383
1620
  }>>>;
1384
1621
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1385
1622
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1386
- timesSeen: z.ZodOptional<z.ZodNumber>;
1387
- firstSeenRunId: z.ZodOptional<z.ZodString>;
1388
- lastSeenRunId: z.ZodOptional<z.ZodString>;
1623
+ timesSeen: z.ZodNumber;
1624
+ firstSeenRunId: z.ZodString;
1625
+ lastSeenRunId: z.ZodString;
1389
1626
  resolvedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1390
1627
  resolutionRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
1628
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1392
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1393
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1629
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1630
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1394
1631
  }, z.core.$strip>>;
1395
1632
  targetIssueId: z.ZodOptional<z.ZodString>;
1396
1633
  mergedCount: z.ZodNumber;
@@ -1433,21 +1670,21 @@ export type AgentSnapshotResponse = z.infer<typeof AgentSnapshotResponseSchema>;
1433
1670
  export type ValidatorSnapshotResponse = AgentSnapshotResponse;
1434
1671
  /** @deprecated Use AgentSnapshotResponseSchema instead */
1435
1672
  export declare const ValidatorSnapshotResponseSchema: z.ZodObject<{
1436
- id: z.ZodOptional<z.ZodString>;
1437
- runId: z.ZodOptional<z.ZodString>;
1673
+ id: z.ZodString;
1674
+ runId: z.ZodString;
1438
1675
  name: z.ZodString;
1439
1676
  score: z.ZodNumber;
1440
- maxScore: z.ZodOptional<z.ZodNumber>;
1441
- status: z.ZodString;
1442
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
- inputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
- outputTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1445
- cacheCreationTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1446
- cacheReadTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1447
- totalEffectiveTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1448
- durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1449
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1450
- updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1677
+ maxScore: z.ZodNumber;
1678
+ decision: z.ZodString;
1679
+ model: z.ZodNullable<z.ZodString>;
1680
+ inputTokens: z.ZodNullable<z.ZodNumber>;
1681
+ outputTokens: z.ZodNullable<z.ZodNumber>;
1682
+ cacheCreationTokens: z.ZodNullable<z.ZodNumber>;
1683
+ cacheReadTokens: z.ZodNullable<z.ZodNumber>;
1684
+ totalEffectiveTokens: z.ZodNullable<z.ZodNumber>;
1685
+ durationMs: z.ZodNullable<z.ZodNumber>;
1686
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1687
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
1451
1688
  }, z.core.$strip>;
1452
1689
  /** @deprecated Use AgentChangeResponseSchema instead */
1453
1690
  export declare const ValidatorChangeResponseSchema: z.ZodObject<{