@peasant-labs/schema 0.1.0-rc6 → 0.1.0-rc9
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.
- package/README.md +13 -3
- package/dist/fixtures/timeline.d.ts +33 -2
- package/dist/internal/generated/contract/zod.gen.d.ts +803 -116
- package/dist/internal/generated/contract/zod.gen.js +470 -44
- package/dist/internal/generated/enums.gen.d.ts +91 -4
- package/dist/internal/generated/enums.gen.js +97 -1
- package/dist/internal/generated/local-api.d.ts +100 -1
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/timeline-fixtures.gen.js +1014 -2
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +66 -1
- package/package.json +5 -1
|
@@ -117,6 +117,49 @@ export declare const zAnnotatorSummary: z.ZodObject<{
|
|
|
117
117
|
status: z.ZodString;
|
|
118
118
|
}, z.core.$strip>;
|
|
119
119
|
export type AnnotatorSummary = z.infer<typeof zAnnotatorSummary>;
|
|
120
|
+
/**
|
|
121
|
+
* Association Conclusion
|
|
122
|
+
*
|
|
123
|
+
* Producer-supplied conclusion for a session-to-commit association: confirmed or candidate
|
|
124
|
+
*/
|
|
125
|
+
export declare const zAssociationConclusion: z.ZodEnum<{
|
|
126
|
+
candidate: "candidate";
|
|
127
|
+
confirmed: "confirmed";
|
|
128
|
+
}>;
|
|
129
|
+
export type AssociationConclusion = z.infer<typeof zAssociationConclusion>;
|
|
130
|
+
/**
|
|
131
|
+
* Association Evidence Kind
|
|
132
|
+
*
|
|
133
|
+
* Atomic observation supporting a session-to-commit association
|
|
134
|
+
*/
|
|
135
|
+
export declare const zAssociationEvidenceKind: z.ZodEnum<{
|
|
136
|
+
recorded_commit: "recorded_commit";
|
|
137
|
+
touched_file: "touched_file";
|
|
138
|
+
branch_membership: "branch_membership";
|
|
139
|
+
time_window: "time_window";
|
|
140
|
+
}>;
|
|
141
|
+
export type AssociationEvidenceKind = z.infer<typeof zAssociationEvidenceKind>;
|
|
142
|
+
export declare const zAssociationEvidenceObservation: z.ZodObject<{
|
|
143
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
kind: z.ZodEnum<{
|
|
145
|
+
recorded_commit: "recorded_commit";
|
|
146
|
+
touched_file: "touched_file";
|
|
147
|
+
branch_membership: "branch_membership";
|
|
148
|
+
time_window: "time_window";
|
|
149
|
+
}>;
|
|
150
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
153
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
export type AssociationEvidenceObservation = z.infer<typeof zAssociationEvidenceObservation>;
|
|
156
|
+
/**
|
|
157
|
+
* Association ID
|
|
158
|
+
*
|
|
159
|
+
* Opaque durable Peasant identifier for one session-to-commit association
|
|
160
|
+
*/
|
|
161
|
+
export declare const zAssociationID: z.ZodString;
|
|
162
|
+
export type AssociationID = z.infer<typeof zAssociationID>;
|
|
120
163
|
export declare const zBatchCreateAnnotationsErrorResponse: z.ZodObject<{
|
|
121
164
|
error: z.ZodString;
|
|
122
165
|
failingIndex: z.ZodInt;
|
|
@@ -242,6 +285,17 @@ export declare const zCommitInfo: z.ZodObject<{
|
|
|
242
285
|
message: z.ZodString;
|
|
243
286
|
}, z.core.$strip>;
|
|
244
287
|
export type CommitInfo = z.infer<typeof zCommitInfo>;
|
|
288
|
+
/**
|
|
289
|
+
* Confidence
|
|
290
|
+
*
|
|
291
|
+
* Strength of evidence behind a derived relationship: high, medium, or low
|
|
292
|
+
*/
|
|
293
|
+
export declare const zConfidence: z.ZodEnum<{
|
|
294
|
+
high: "high";
|
|
295
|
+
low: "low";
|
|
296
|
+
medium: "medium";
|
|
297
|
+
}>;
|
|
298
|
+
export type Confidence = z.infer<typeof zConfidence>;
|
|
245
299
|
/**
|
|
246
300
|
* Content Kind
|
|
247
301
|
*
|
|
@@ -494,21 +548,6 @@ export declare const zFrictionCluster: z.ZodObject<{
|
|
|
494
548
|
sessions: z.ZodInt;
|
|
495
549
|
}, z.core.$strip>;
|
|
496
550
|
export type FrictionCluster = z.infer<typeof zFrictionCluster>;
|
|
497
|
-
export declare const zGitContext: z.ZodObject<{
|
|
498
|
-
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
499
|
-
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
500
|
-
authorEmail: z.ZodString;
|
|
501
|
-
authorName: z.ZodString;
|
|
502
|
-
authorTime: z.ZodCoercedBigInt<unknown>;
|
|
503
|
-
commitTime: z.ZodCoercedBigInt<unknown>;
|
|
504
|
-
hash: z.ZodString;
|
|
505
|
-
message: z.ZodString;
|
|
506
|
-
}, z.core.$strip>>>;
|
|
507
|
-
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
508
|
-
tracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
-
worktree: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
-
}, z.core.$strip>;
|
|
511
|
-
export type GitContext = z.infer<typeof zGitContext>;
|
|
512
551
|
/**
|
|
513
552
|
* Harness
|
|
514
553
|
*
|
|
@@ -534,6 +573,36 @@ export type HealthResponse = z.infer<typeof zHealthResponse>;
|
|
|
534
573
|
*/
|
|
535
574
|
export declare const zHostSlug: z.ZodString;
|
|
536
575
|
export type HostSlug = z.infer<typeof zHostSlug>;
|
|
576
|
+
export declare const zInsightClassification: z.ZodObject<{
|
|
577
|
+
category: z.ZodString;
|
|
578
|
+
cause: z.ZodString;
|
|
579
|
+
resolution: z.ZodString;
|
|
580
|
+
severityLocus: z.ZodString;
|
|
581
|
+
severityScope: z.ZodString;
|
|
582
|
+
}, z.core.$strip>;
|
|
583
|
+
export type InsightClassification = z.infer<typeof zInsightClassification>;
|
|
584
|
+
/**
|
|
585
|
+
* Insight Kind
|
|
586
|
+
*
|
|
587
|
+
* What a SessionInsight observed: a decision, friction, an unusual rate elevation, or a retry loop
|
|
588
|
+
*/
|
|
589
|
+
export declare const zInsightKind: z.ZodEnum<{
|
|
590
|
+
decision: "decision";
|
|
591
|
+
friction: "friction";
|
|
592
|
+
unusual: "unusual";
|
|
593
|
+
retry_loop: "retry_loop";
|
|
594
|
+
}>;
|
|
595
|
+
export type InsightKind = z.infer<typeof zInsightKind>;
|
|
596
|
+
/**
|
|
597
|
+
* Insight Provenance
|
|
598
|
+
*
|
|
599
|
+
* How a SessionInsight was produced: mechanical (rule-derived) or mined
|
|
600
|
+
*/
|
|
601
|
+
export declare const zInsightProvenance: z.ZodEnum<{
|
|
602
|
+
mechanical: "mechanical";
|
|
603
|
+
mined: "mined";
|
|
604
|
+
}>;
|
|
605
|
+
export type InsightProvenance = z.infer<typeof zInsightProvenance>;
|
|
537
606
|
/**
|
|
538
607
|
* Interaction Type
|
|
539
608
|
*
|
|
@@ -574,58 +643,6 @@ export declare const zMapNodeKind: z.ZodEnum<{
|
|
|
574
643
|
package: "package";
|
|
575
644
|
}>;
|
|
576
645
|
export type MapNodeKind = z.infer<typeof zMapNodeKind>;
|
|
577
|
-
export declare const zMapNode: z.ZodObject<{
|
|
578
|
-
effortDensity: z.ZodNumber;
|
|
579
|
-
fileCount: z.ZodInt;
|
|
580
|
-
id: z.ZodString;
|
|
581
|
-
kind: z.ZodEnum<{
|
|
582
|
-
file: "file";
|
|
583
|
-
module: "module";
|
|
584
|
-
package: "package";
|
|
585
|
-
}>;
|
|
586
|
-
language: z.ZodOptional<z.ZodString>;
|
|
587
|
-
layer: z.ZodInt;
|
|
588
|
-
loc: z.ZodInt;
|
|
589
|
-
name: z.ZodString;
|
|
590
|
-
order: z.ZodInt;
|
|
591
|
-
parent: z.ZodOptional<z.ZodString>;
|
|
592
|
-
recordedFiles: z.ZodInt;
|
|
593
|
-
totalFiles: z.ZodInt;
|
|
594
|
-
touchCount: z.ZodInt;
|
|
595
|
-
}, z.core.$strip>;
|
|
596
|
-
export type MapNode = z.infer<typeof zMapNode>;
|
|
597
|
-
export declare const zMapSlice: z.ZodObject<{
|
|
598
|
-
activityEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
599
|
-
from: z.ZodString;
|
|
600
|
-
taskCount: z.ZodInt;
|
|
601
|
-
to: z.ZodString;
|
|
602
|
-
}, z.core.$strip>>>;
|
|
603
|
-
nodes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
604
|
-
effortDensity: z.ZodNumber;
|
|
605
|
-
fileCount: z.ZodInt;
|
|
606
|
-
id: z.ZodString;
|
|
607
|
-
kind: z.ZodEnum<{
|
|
608
|
-
file: "file";
|
|
609
|
-
module: "module";
|
|
610
|
-
package: "package";
|
|
611
|
-
}>;
|
|
612
|
-
language: z.ZodOptional<z.ZodString>;
|
|
613
|
-
layer: z.ZodInt;
|
|
614
|
-
loc: z.ZodInt;
|
|
615
|
-
name: z.ZodString;
|
|
616
|
-
order: z.ZodInt;
|
|
617
|
-
parent: z.ZodOptional<z.ZodString>;
|
|
618
|
-
recordedFiles: z.ZodInt;
|
|
619
|
-
totalFiles: z.ZodInt;
|
|
620
|
-
touchCount: z.ZodInt;
|
|
621
|
-
}, z.core.$strip>>>;
|
|
622
|
-
structureEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
623
|
-
count: z.ZodInt;
|
|
624
|
-
from: z.ZodString;
|
|
625
|
-
to: z.ZodString;
|
|
626
|
-
}, z.core.$strip>>>;
|
|
627
|
-
}, z.core.$strip>;
|
|
628
|
-
export type MapSlice = z.infer<typeof zMapSlice>;
|
|
629
646
|
/**
|
|
630
647
|
* Message Type
|
|
631
648
|
*
|
|
@@ -713,6 +730,138 @@ export type ModelInfo = z.infer<typeof zModelInfo>;
|
|
|
713
730
|
*/
|
|
714
731
|
export declare const zProjectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
715
732
|
export type ProjectHash = z.infer<typeof zProjectHash>;
|
|
733
|
+
export declare const zProjectContext: z.ZodObject<{
|
|
734
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
735
|
+
hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
736
|
+
name: z.ZodString;
|
|
737
|
+
}, z.core.$strip>;
|
|
738
|
+
export type ProjectContext = z.infer<typeof zProjectContext>;
|
|
739
|
+
export declare const zProjectResolutionPayload: z.ZodObject<{
|
|
740
|
+
project: z.ZodString;
|
|
741
|
+
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
742
|
+
}, z.core.$strip>;
|
|
743
|
+
export type ProjectResolutionPayload = z.infer<typeof zProjectResolutionPayload>;
|
|
744
|
+
export declare const zProjectSummary: z.ZodObject<{
|
|
745
|
+
lastWorkMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
746
|
+
openChanges: z.ZodInt;
|
|
747
|
+
project: z.ZodString;
|
|
748
|
+
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
749
|
+
recordedFiles: z.ZodInt;
|
|
750
|
+
sessions: z.ZodInt;
|
|
751
|
+
totalFiles: z.ZodInt;
|
|
752
|
+
}, z.core.$strip>;
|
|
753
|
+
export type ProjectSummary = z.infer<typeof zProjectSummary>;
|
|
754
|
+
export declare const zProjectSummariesPayload: z.ZodObject<{
|
|
755
|
+
projects: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
756
|
+
lastWorkMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
757
|
+
openChanges: z.ZodInt;
|
|
758
|
+
project: z.ZodString;
|
|
759
|
+
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
760
|
+
recordedFiles: z.ZodInt;
|
|
761
|
+
sessions: z.ZodInt;
|
|
762
|
+
totalFiles: z.ZodInt;
|
|
763
|
+
}, z.core.$strip>>>;
|
|
764
|
+
}, z.core.$strip>;
|
|
765
|
+
export type ProjectSummariesPayload = z.infer<typeof zProjectSummariesPayload>;
|
|
766
|
+
export declare const zProvenance: z.ZodObject<{
|
|
767
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
768
|
+
function: z.ZodOptional<z.ZodString>;
|
|
769
|
+
method: z.ZodString;
|
|
770
|
+
version: z.ZodOptional<z.ZodString>;
|
|
771
|
+
}, z.core.$strip>;
|
|
772
|
+
export type Provenance = z.infer<typeof zProvenance>;
|
|
773
|
+
export declare const zPublishResponse: z.ZodObject<{
|
|
774
|
+
blobKey: z.ZodString;
|
|
775
|
+
blobSizeBytes: z.ZodCoercedBigInt<unknown>;
|
|
776
|
+
created: z.ZodBoolean;
|
|
777
|
+
publishedAt: z.ZodCoercedBigInt<unknown>;
|
|
778
|
+
transcriptId: z.ZodString;
|
|
779
|
+
updatedAt: z.ZodCoercedBigInt<unknown>;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
export type PublishResponse = z.infer<typeof zPublishResponse>;
|
|
782
|
+
export declare const zPublishedAssociation: z.ZodObject<{
|
|
783
|
+
id: z.ZodString;
|
|
784
|
+
observedCommitHash: z.ZodString;
|
|
785
|
+
}, z.core.$strip>;
|
|
786
|
+
export type PublishedAssociation = z.infer<typeof zPublishedAssociation>;
|
|
787
|
+
export declare const zGitContext: z.ZodObject<{
|
|
788
|
+
associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
observedCommitHash: z.ZodString;
|
|
791
|
+
}, z.core.$strip>>>;
|
|
792
|
+
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
|
+
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
794
|
+
authorEmail: z.ZodString;
|
|
795
|
+
authorName: z.ZodString;
|
|
796
|
+
authorTime: z.ZodCoercedBigInt<unknown>;
|
|
797
|
+
commitTime: z.ZodCoercedBigInt<unknown>;
|
|
798
|
+
hash: z.ZodString;
|
|
799
|
+
message: z.ZodString;
|
|
800
|
+
}, z.core.$strip>>>;
|
|
801
|
+
remote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
802
|
+
tracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
|
+
worktree: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
}, z.core.$strip>;
|
|
805
|
+
export type GitContext = z.infer<typeof zGitContext>;
|
|
806
|
+
/**
|
|
807
|
+
* Read Attribution State
|
|
808
|
+
*
|
|
809
|
+
* Whether per-file read attribution is recoverable for a node's editing sessions: complete, partial, or unavailable
|
|
810
|
+
*/
|
|
811
|
+
export declare const zReadAttributionState: z.ZodEnum<{
|
|
812
|
+
complete: "complete";
|
|
813
|
+
partial: "partial";
|
|
814
|
+
unavailable: "unavailable";
|
|
815
|
+
}>;
|
|
816
|
+
export type ReadAttributionState = z.infer<typeof zReadAttributionState>;
|
|
817
|
+
/**
|
|
818
|
+
* Read State Grade
|
|
819
|
+
*
|
|
820
|
+
* Ordinal explicit read-state act: none, viewed, reviewed, or reviewed_in_detail
|
|
821
|
+
*/
|
|
822
|
+
export declare const zReadStateGrade: z.ZodEnum<{
|
|
823
|
+
none: "none";
|
|
824
|
+
viewed: "viewed";
|
|
825
|
+
reviewed: "reviewed";
|
|
826
|
+
reviewed_in_detail: "reviewed_in_detail";
|
|
827
|
+
}>;
|
|
828
|
+
export type ReadStateGrade = z.infer<typeof zReadStateGrade>;
|
|
829
|
+
export declare const zMapNode: z.ZodObject<{
|
|
830
|
+
agentEditedCount: z.ZodInt;
|
|
831
|
+
attributedRegionCount: z.ZodInt;
|
|
832
|
+
changedRegionCount: z.ZodInt;
|
|
833
|
+
effortDensity: z.ZodNumber;
|
|
834
|
+
fileCount: z.ZodInt;
|
|
835
|
+
id: z.ZodString;
|
|
836
|
+
kind: z.ZodEnum<{
|
|
837
|
+
file: "file";
|
|
838
|
+
module: "module";
|
|
839
|
+
package: "package";
|
|
840
|
+
}>;
|
|
841
|
+
language: z.ZodOptional<z.ZodString>;
|
|
842
|
+
layer: z.ZodInt;
|
|
843
|
+
loc: z.ZodInt;
|
|
844
|
+
name: z.ZodString;
|
|
845
|
+
order: z.ZodInt;
|
|
846
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
847
|
+
readAttribution: z.ZodEnum<{
|
|
848
|
+
complete: "complete";
|
|
849
|
+
partial: "partial";
|
|
850
|
+
unavailable: "unavailable";
|
|
851
|
+
}>;
|
|
852
|
+
readCount: z.ZodInt;
|
|
853
|
+
readState: z.ZodEnum<{
|
|
854
|
+
none: "none";
|
|
855
|
+
viewed: "viewed";
|
|
856
|
+
reviewed: "reviewed";
|
|
857
|
+
reviewed_in_detail: "reviewed_in_detail";
|
|
858
|
+
}>;
|
|
859
|
+
recordedFiles: z.ZodInt;
|
|
860
|
+
reviewedRegionCount: z.ZodInt;
|
|
861
|
+
totalFiles: z.ZodInt;
|
|
862
|
+
touchCount: z.ZodInt;
|
|
863
|
+
}, z.core.$strip>;
|
|
864
|
+
export type MapNode = z.infer<typeof zMapNode>;
|
|
716
865
|
export declare const zMapGraphPayload: z.ZodObject<{
|
|
717
866
|
activityEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
718
867
|
from: z.ZodString;
|
|
@@ -722,6 +871,9 @@ export declare const zMapGraphPayload: z.ZodObject<{
|
|
|
722
871
|
atCommit: z.ZodOptional<z.ZodString>;
|
|
723
872
|
generatedAtMs: z.ZodCoercedBigInt<unknown>;
|
|
724
873
|
nodes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
874
|
+
agentEditedCount: z.ZodInt;
|
|
875
|
+
attributedRegionCount: z.ZodInt;
|
|
876
|
+
changedRegionCount: z.ZodInt;
|
|
725
877
|
effortDensity: z.ZodNumber;
|
|
726
878
|
fileCount: z.ZodInt;
|
|
727
879
|
id: z.ZodString;
|
|
@@ -736,7 +888,20 @@ export declare const zMapGraphPayload: z.ZodObject<{
|
|
|
736
888
|
name: z.ZodString;
|
|
737
889
|
order: z.ZodInt;
|
|
738
890
|
parent: z.ZodOptional<z.ZodString>;
|
|
891
|
+
readAttribution: z.ZodEnum<{
|
|
892
|
+
complete: "complete";
|
|
893
|
+
partial: "partial";
|
|
894
|
+
unavailable: "unavailable";
|
|
895
|
+
}>;
|
|
896
|
+
readCount: z.ZodInt;
|
|
897
|
+
readState: z.ZodEnum<{
|
|
898
|
+
none: "none";
|
|
899
|
+
viewed: "viewed";
|
|
900
|
+
reviewed: "reviewed";
|
|
901
|
+
reviewed_in_detail: "reviewed_in_detail";
|
|
902
|
+
}>;
|
|
739
903
|
recordedFiles: z.ZodInt;
|
|
904
|
+
reviewedRegionCount: z.ZodInt;
|
|
740
905
|
totalFiles: z.ZodInt;
|
|
741
906
|
touchCount: z.ZodInt;
|
|
742
907
|
}, z.core.$strip>>>;
|
|
@@ -759,55 +924,54 @@ export declare const zMapGraphPayload: z.ZodObject<{
|
|
|
759
924
|
}, z.core.$strip>>>;
|
|
760
925
|
}, z.core.$strip>;
|
|
761
926
|
export type MapGraphPayload = z.infer<typeof zMapGraphPayload>;
|
|
762
|
-
export declare const
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
927
|
+
export declare const zMapSlice: z.ZodObject<{
|
|
928
|
+
activityEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
929
|
+
from: z.ZodString;
|
|
930
|
+
taskCount: z.ZodInt;
|
|
931
|
+
to: z.ZodString;
|
|
932
|
+
}, z.core.$strip>>>;
|
|
933
|
+
nodes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
934
|
+
agentEditedCount: z.ZodInt;
|
|
935
|
+
attributedRegionCount: z.ZodInt;
|
|
936
|
+
changedRegionCount: z.ZodInt;
|
|
937
|
+
effortDensity: z.ZodNumber;
|
|
938
|
+
fileCount: z.ZodInt;
|
|
939
|
+
id: z.ZodString;
|
|
940
|
+
kind: z.ZodEnum<{
|
|
941
|
+
file: "file";
|
|
942
|
+
module: "module";
|
|
943
|
+
package: "package";
|
|
944
|
+
}>;
|
|
945
|
+
language: z.ZodOptional<z.ZodString>;
|
|
946
|
+
layer: z.ZodInt;
|
|
947
|
+
loc: z.ZodInt;
|
|
948
|
+
name: z.ZodString;
|
|
949
|
+
order: z.ZodInt;
|
|
950
|
+
parent: z.ZodOptional<z.ZodString>;
|
|
951
|
+
readAttribution: z.ZodEnum<{
|
|
952
|
+
complete: "complete";
|
|
953
|
+
partial: "partial";
|
|
954
|
+
unavailable: "unavailable";
|
|
955
|
+
}>;
|
|
956
|
+
readCount: z.ZodInt;
|
|
957
|
+
readState: z.ZodEnum<{
|
|
958
|
+
none: "none";
|
|
959
|
+
viewed: "viewed";
|
|
960
|
+
reviewed: "reviewed";
|
|
961
|
+
reviewed_in_detail: "reviewed_in_detail";
|
|
962
|
+
}>;
|
|
789
963
|
recordedFiles: z.ZodInt;
|
|
790
|
-
|
|
964
|
+
reviewedRegionCount: z.ZodInt;
|
|
791
965
|
totalFiles: z.ZodInt;
|
|
966
|
+
touchCount: z.ZodInt;
|
|
967
|
+
}, z.core.$strip>>>;
|
|
968
|
+
structureEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
969
|
+
count: z.ZodInt;
|
|
970
|
+
from: z.ZodString;
|
|
971
|
+
to: z.ZodString;
|
|
792
972
|
}, z.core.$strip>>>;
|
|
793
973
|
}, z.core.$strip>;
|
|
794
|
-
export type
|
|
795
|
-
export declare const zProvenance: z.ZodObject<{
|
|
796
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
797
|
-
function: z.ZodOptional<z.ZodString>;
|
|
798
|
-
method: z.ZodString;
|
|
799
|
-
version: z.ZodOptional<z.ZodString>;
|
|
800
|
-
}, z.core.$strip>;
|
|
801
|
-
export type Provenance = z.infer<typeof zProvenance>;
|
|
802
|
-
export declare const zPublishResponse: z.ZodObject<{
|
|
803
|
-
blobKey: z.ZodString;
|
|
804
|
-
blobSizeBytes: z.ZodCoercedBigInt<unknown>;
|
|
805
|
-
created: z.ZodBoolean;
|
|
806
|
-
publishedAt: z.ZodCoercedBigInt<unknown>;
|
|
807
|
-
transcriptId: z.ZodString;
|
|
808
|
-
updatedAt: z.ZodCoercedBigInt<unknown>;
|
|
809
|
-
}, z.core.$strip>;
|
|
810
|
-
export type PublishResponse = z.infer<typeof zPublishResponse>;
|
|
974
|
+
export type MapSlice = z.infer<typeof zMapSlice>;
|
|
811
975
|
export declare const zRedactionInfo: z.ZodObject<{
|
|
812
976
|
applied: z.ZodBoolean;
|
|
813
977
|
content_hash_at_redact: z.ZodOptional<z.ZodString>;
|
|
@@ -823,6 +987,31 @@ export declare const zReviewSuggestion: z.ZodObject<{
|
|
|
823
987
|
suggestedPrompt: z.ZodString;
|
|
824
988
|
}, z.core.$strip>;
|
|
825
989
|
export type ReviewSuggestion = z.infer<typeof zReviewSuggestion>;
|
|
990
|
+
/**
|
|
991
|
+
* Rewrite Method
|
|
992
|
+
*
|
|
993
|
+
* Mechanism the resolver used to map a ghost commit to its successor
|
|
994
|
+
*/
|
|
995
|
+
export declare const zRewriteMethod: z.ZodEnum<{
|
|
996
|
+
none: "none";
|
|
997
|
+
hash: "hash";
|
|
998
|
+
patch_id: "patch_id";
|
|
999
|
+
author_identity: "author_identity";
|
|
1000
|
+
message_embedded: "message_embedded";
|
|
1001
|
+
temporal: "temporal";
|
|
1002
|
+
}>;
|
|
1003
|
+
export type RewriteMethod = z.infer<typeof zRewriteMethod>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Rewrite Resolution
|
|
1006
|
+
*
|
|
1007
|
+
* Whether a ledger-observed commit hash is live, was rewritten, or could not be resolved
|
|
1008
|
+
*/
|
|
1009
|
+
export declare const zRewriteResolution: z.ZodEnum<{
|
|
1010
|
+
live: "live";
|
|
1011
|
+
rewritten: "rewritten";
|
|
1012
|
+
unresolved: "unresolved";
|
|
1013
|
+
}>;
|
|
1014
|
+
export type RewriteResolution = z.infer<typeof zRewriteResolution>;
|
|
826
1015
|
/**
|
|
827
1016
|
* Role
|
|
828
1017
|
*
|
|
@@ -920,7 +1109,67 @@ export type ServerMessage = z.infer<typeof zServerMessage>;
|
|
|
920
1109
|
*/
|
|
921
1110
|
export declare const zSessionID: z.ZodString;
|
|
922
1111
|
export type SessionID = z.infer<typeof zSessionID>;
|
|
1112
|
+
export declare const zInsightEvidence: z.ZodObject<{
|
|
1113
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
entryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1115
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
sessionId: z.ZodString;
|
|
1117
|
+
}, z.core.$strip>;
|
|
1118
|
+
export type InsightEvidence = z.infer<typeof zInsightEvidence>;
|
|
1119
|
+
export declare const zSessionAssociation: z.ZodObject<{
|
|
1120
|
+
conclusion: z.ZodEnum<{
|
|
1121
|
+
candidate: "candidate";
|
|
1122
|
+
confirmed: "confirmed";
|
|
1123
|
+
}>;
|
|
1124
|
+
confidence: z.ZodEnum<{
|
|
1125
|
+
high: "high";
|
|
1126
|
+
low: "low";
|
|
1127
|
+
medium: "medium";
|
|
1128
|
+
}>;
|
|
1129
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1130
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1131
|
+
kind: z.ZodEnum<{
|
|
1132
|
+
recorded_commit: "recorded_commit";
|
|
1133
|
+
touched_file: "touched_file";
|
|
1134
|
+
branch_membership: "branch_membership";
|
|
1135
|
+
time_window: "time_window";
|
|
1136
|
+
}>;
|
|
1137
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1138
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1139
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1140
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1141
|
+
}, z.core.$strip>>;
|
|
1142
|
+
id: z.ZodString;
|
|
1143
|
+
sessionId: z.ZodString;
|
|
1144
|
+
}, z.core.$strip>;
|
|
1145
|
+
export type SessionAssociation = z.infer<typeof zSessionAssociation>;
|
|
923
1146
|
export declare const zCommitRef: z.ZodObject<{
|
|
1147
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
1148
|
+
conclusion: z.ZodEnum<{
|
|
1149
|
+
candidate: "candidate";
|
|
1150
|
+
confirmed: "confirmed";
|
|
1151
|
+
}>;
|
|
1152
|
+
confidence: z.ZodEnum<{
|
|
1153
|
+
high: "high";
|
|
1154
|
+
low: "low";
|
|
1155
|
+
medium: "medium";
|
|
1156
|
+
}>;
|
|
1157
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1158
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1159
|
+
kind: z.ZodEnum<{
|
|
1160
|
+
recorded_commit: "recorded_commit";
|
|
1161
|
+
touched_file: "touched_file";
|
|
1162
|
+
branch_membership: "branch_membership";
|
|
1163
|
+
time_window: "time_window";
|
|
1164
|
+
}>;
|
|
1165
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1168
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1169
|
+
}, z.core.$strip>>;
|
|
1170
|
+
id: z.ZodString;
|
|
1171
|
+
sessionId: z.ZodString;
|
|
1172
|
+
}, z.core.$strip>>;
|
|
924
1173
|
hasSession: z.ZodBoolean;
|
|
925
1174
|
hash: z.ZodString;
|
|
926
1175
|
sessionIds: z.ZodArray<z.ZodString>;
|
|
@@ -928,12 +1177,98 @@ export declare const zCommitRef: z.ZodObject<{
|
|
|
928
1177
|
timeMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
929
1178
|
}, z.core.$strip>;
|
|
930
1179
|
export type CommitRef = z.infer<typeof zCommitRef>;
|
|
1180
|
+
export declare const zRewrittenCommit: z.ZodObject<{
|
|
1181
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
1182
|
+
conclusion: z.ZodEnum<{
|
|
1183
|
+
candidate: "candidate";
|
|
1184
|
+
confirmed: "confirmed";
|
|
1185
|
+
}>;
|
|
1186
|
+
confidence: z.ZodEnum<{
|
|
1187
|
+
high: "high";
|
|
1188
|
+
low: "low";
|
|
1189
|
+
medium: "medium";
|
|
1190
|
+
}>;
|
|
1191
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1192
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
|
+
kind: z.ZodEnum<{
|
|
1194
|
+
recorded_commit: "recorded_commit";
|
|
1195
|
+
touched_file: "touched_file";
|
|
1196
|
+
branch_membership: "branch_membership";
|
|
1197
|
+
time_window: "time_window";
|
|
1198
|
+
}>;
|
|
1199
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1200
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1201
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1202
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1203
|
+
}, z.core.$strip>>;
|
|
1204
|
+
id: z.ZodString;
|
|
1205
|
+
sessionId: z.ZodString;
|
|
1206
|
+
}, z.core.$strip>>;
|
|
1207
|
+
authorTimeMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1208
|
+
confidence: z.ZodEnum<{
|
|
1209
|
+
high: "high";
|
|
1210
|
+
low: "low";
|
|
1211
|
+
medium: "medium";
|
|
1212
|
+
}>;
|
|
1213
|
+
ghostHash: z.ZodString;
|
|
1214
|
+
method: z.ZodEnum<{
|
|
1215
|
+
none: "none";
|
|
1216
|
+
hash: "hash";
|
|
1217
|
+
patch_id: "patch_id";
|
|
1218
|
+
author_identity: "author_identity";
|
|
1219
|
+
message_embedded: "message_embedded";
|
|
1220
|
+
temporal: "temporal";
|
|
1221
|
+
}>;
|
|
1222
|
+
resolution: z.ZodEnum<{
|
|
1223
|
+
live: "live";
|
|
1224
|
+
rewritten: "rewritten";
|
|
1225
|
+
unresolved: "unresolved";
|
|
1226
|
+
}>;
|
|
1227
|
+
sessionIds: z.ZodArray<z.ZodString>;
|
|
1228
|
+
subject: z.ZodString;
|
|
1229
|
+
successorHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1230
|
+
}, z.core.$strip>;
|
|
1231
|
+
export type RewrittenCommit = z.infer<typeof zRewrittenCommit>;
|
|
931
1232
|
export declare const zSessionIdentity: z.ZodObject<{
|
|
932
1233
|
parentUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
1234
|
schemaVersion: z.ZodInt;
|
|
934
1235
|
sessionId: z.ZodString;
|
|
935
1236
|
}, z.core.$strip>;
|
|
936
1237
|
export type SessionIdentity = z.infer<typeof zSessionIdentity>;
|
|
1238
|
+
export declare const zSessionInsight: z.ZodObject<{
|
|
1239
|
+
classification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1240
|
+
category: z.ZodString;
|
|
1241
|
+
cause: z.ZodString;
|
|
1242
|
+
resolution: z.ZodString;
|
|
1243
|
+
severityLocus: z.ZodString;
|
|
1244
|
+
severityScope: z.ZodString;
|
|
1245
|
+
}, z.core.$strip>>>;
|
|
1246
|
+
confidence: z.ZodEnum<{
|
|
1247
|
+
high: "high";
|
|
1248
|
+
low: "low";
|
|
1249
|
+
medium: "medium";
|
|
1250
|
+
}>;
|
|
1251
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1252
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
entryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1254
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
sessionId: z.ZodString;
|
|
1256
|
+
}, z.core.$strip>>;
|
|
1257
|
+
kind: z.ZodEnum<{
|
|
1258
|
+
decision: "decision";
|
|
1259
|
+
friction: "friction";
|
|
1260
|
+
unusual: "unusual";
|
|
1261
|
+
retry_loop: "retry_loop";
|
|
1262
|
+
}>;
|
|
1263
|
+
provenance: z.ZodEnum<{
|
|
1264
|
+
mechanical: "mechanical";
|
|
1265
|
+
mined: "mined";
|
|
1266
|
+
}>;
|
|
1267
|
+
subjects: z.ZodArray<z.ZodString>;
|
|
1268
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
title: z.ZodString;
|
|
1270
|
+
}, z.core.$strip>;
|
|
1271
|
+
export type SessionInsight = z.infer<typeof zSessionInsight>;
|
|
937
1272
|
/**
|
|
938
1273
|
* Session Outcome
|
|
939
1274
|
*
|
|
@@ -1115,16 +1450,37 @@ export type SubagentRef = z.infer<typeof zSubagentRef>;
|
|
|
1115
1450
|
/**
|
|
1116
1451
|
* Target Kind
|
|
1117
1452
|
*
|
|
1118
|
-
* What is being annotated: session-level, entry-level (turn/tool call), meta-annotation, or
|
|
1453
|
+
* What is being annotated: session-level, entry-level (turn/tool call), meta-annotation, project-level, a specific file version (content-hash keyed read-state receipt), or a durable session-to-commit association
|
|
1119
1454
|
*/
|
|
1120
1455
|
export declare const zTargetKind: z.ZodEnum<{
|
|
1121
1456
|
session: "session";
|
|
1122
1457
|
annotation: "annotation";
|
|
1123
1458
|
project: "project";
|
|
1124
1459
|
entry: "entry";
|
|
1460
|
+
file_version: "file_version";
|
|
1461
|
+
association: "association";
|
|
1125
1462
|
}>;
|
|
1126
1463
|
export type TargetKind = z.infer<typeof zTargetKind>;
|
|
1127
|
-
export declare const zAnnotationPushItem: z.ZodObject<{
|
|
1464
|
+
export declare const zAnnotationPushItem: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
1465
|
+
targetAssociationId: z.ZodString;
|
|
1466
|
+
targetKind: z.ZodLiteral<"association">;
|
|
1467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1468
|
+
sessionId: z.ZodString;
|
|
1469
|
+
targetKind: z.ZodLiteral<"session">;
|
|
1470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1471
|
+
entryTarget: z.ZodObject<{
|
|
1472
|
+
endIndex: z.ZodInt;
|
|
1473
|
+
entryIndex: z.ZodInt;
|
|
1474
|
+
sessionId: z.ZodString;
|
|
1475
|
+
}, z.core.$strip>;
|
|
1476
|
+
targetKind: z.ZodLiteral<"entry">;
|
|
1477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1478
|
+
annotationId: z.ZodString;
|
|
1479
|
+
targetKind: z.ZodLiteral<"annotation">;
|
|
1480
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1481
|
+
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
1482
|
+
targetKind: z.ZodLiteral<"project">;
|
|
1483
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
1128
1484
|
annotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1129
1485
|
annotatorName: z.ZodOptional<z.ZodString>;
|
|
1130
1486
|
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1144,18 +1500,40 @@ export declare const zAnnotationPushItem: z.ZodObject<{
|
|
|
1144
1500
|
}, z.core.$strip>>>;
|
|
1145
1501
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1146
1502
|
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1503
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1147
1504
|
targetKind: z.ZodEnum<{
|
|
1148
1505
|
session: "session";
|
|
1149
1506
|
annotation: "annotation";
|
|
1150
1507
|
project: "project";
|
|
1151
1508
|
entry: "entry";
|
|
1509
|
+
file_version: "file_version";
|
|
1510
|
+
association: "association";
|
|
1152
1511
|
}>;
|
|
1153
1512
|
typeId: z.ZodString;
|
|
1154
1513
|
value: z.ZodString;
|
|
1155
|
-
}, z.core.$strip
|
|
1514
|
+
}, z.core.$strip>>;
|
|
1156
1515
|
export type AnnotationPushItem = z.infer<typeof zAnnotationPushItem>;
|
|
1157
1516
|
export declare const zAnnotationPushRequest: z.ZodObject<{
|
|
1158
|
-
annotations: z.
|
|
1517
|
+
annotations: z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
1518
|
+
targetAssociationId: z.ZodString;
|
|
1519
|
+
targetKind: z.ZodLiteral<"association">;
|
|
1520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1521
|
+
sessionId: z.ZodString;
|
|
1522
|
+
targetKind: z.ZodLiteral<"session">;
|
|
1523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1524
|
+
entryTarget: z.ZodObject<{
|
|
1525
|
+
endIndex: z.ZodInt;
|
|
1526
|
+
entryIndex: z.ZodInt;
|
|
1527
|
+
sessionId: z.ZodString;
|
|
1528
|
+
}, z.core.$strip>;
|
|
1529
|
+
targetKind: z.ZodLiteral<"entry">;
|
|
1530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1531
|
+
annotationId: z.ZodString;
|
|
1532
|
+
targetKind: z.ZodLiteral<"annotation">;
|
|
1533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1534
|
+
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
1535
|
+
targetKind: z.ZodLiteral<"project">;
|
|
1536
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
1159
1537
|
annotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
1538
|
annotatorName: z.ZodOptional<z.ZodString>;
|
|
1161
1539
|
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1175,11 +1553,14 @@ export declare const zAnnotationPushRequest: z.ZodObject<{
|
|
|
1175
1553
|
}, z.core.$strip>>>;
|
|
1176
1554
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1177
1555
|
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1556
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1178
1557
|
targetKind: z.ZodEnum<{
|
|
1179
1558
|
session: "session";
|
|
1180
1559
|
annotation: "annotation";
|
|
1181
1560
|
project: "project";
|
|
1182
1561
|
entry: "entry";
|
|
1562
|
+
file_version: "file_version";
|
|
1563
|
+
association: "association";
|
|
1183
1564
|
}>;
|
|
1184
1565
|
typeId: z.ZodString;
|
|
1185
1566
|
value: z.ZodString;
|
|
@@ -1208,13 +1589,18 @@ export declare const zAnnotationSummary: z.ZodObject<{
|
|
|
1208
1589
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1209
1590
|
supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
1591
|
targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1592
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
+
targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
1594
|
targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1212
1595
|
targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1596
|
+
targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1213
1597
|
targetKind: z.ZodEnum<{
|
|
1214
1598
|
session: "session";
|
|
1215
1599
|
annotation: "annotation";
|
|
1216
1600
|
project: "project";
|
|
1217
1601
|
entry: "entry";
|
|
1602
|
+
file_version: "file_version";
|
|
1603
|
+
association: "association";
|
|
1218
1604
|
}>;
|
|
1219
1605
|
targetProjectHash: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>>;
|
|
1220
1606
|
targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1245,13 +1631,18 @@ export declare const zAnnotationsPayload: z.ZodObject<{
|
|
|
1245
1631
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1246
1632
|
supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1247
1633
|
targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1635
|
+
targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1248
1636
|
targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1249
1637
|
targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1638
|
+
targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1250
1639
|
targetKind: z.ZodEnum<{
|
|
1251
1640
|
session: "session";
|
|
1252
1641
|
annotation: "annotation";
|
|
1253
1642
|
project: "project";
|
|
1254
1643
|
entry: "entry";
|
|
1644
|
+
file_version: "file_version";
|
|
1645
|
+
association: "association";
|
|
1255
1646
|
}>;
|
|
1256
1647
|
targetProjectHash: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>>;
|
|
1257
1648
|
targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1290,13 +1681,18 @@ export declare const zPullAnnotation: z.ZodObject<{
|
|
|
1290
1681
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1291
1682
|
supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1292
1683
|
targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1684
|
+
targetAssociationId: z.ZodOptional<z.ZodString>;
|
|
1685
|
+
targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
1686
|
targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1294
1687
|
targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1688
|
+
targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
1689
|
targetKind: z.ZodOptional<z.ZodEnum<{
|
|
1296
1690
|
session: "session";
|
|
1297
1691
|
annotation: "annotation";
|
|
1298
1692
|
project: "project";
|
|
1299
1693
|
entry: "entry";
|
|
1694
|
+
file_version: "file_version";
|
|
1695
|
+
association: "association";
|
|
1300
1696
|
}>>;
|
|
1301
1697
|
targetProjectHash: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
|
|
1302
1698
|
targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1330,13 +1726,18 @@ export declare const zQualitySession: z.ZodObject<{
|
|
|
1330
1726
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1331
1727
|
supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
1728
|
targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
|
+
targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1333
1731
|
targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1334
1732
|
targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1733
|
+
targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
1734
|
targetKind: z.ZodEnum<{
|
|
1336
1735
|
session: "session";
|
|
1337
1736
|
annotation: "annotation";
|
|
1338
1737
|
project: "project";
|
|
1339
1738
|
entry: "entry";
|
|
1739
|
+
file_version: "file_version";
|
|
1740
|
+
association: "association";
|
|
1340
1741
|
}>;
|
|
1341
1742
|
targetProjectHash: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>>;
|
|
1342
1743
|
targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1391,13 +1792,18 @@ export declare const zQualityPayload: z.ZodObject<{
|
|
|
1391
1792
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1392
1793
|
supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1393
1794
|
targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1795
|
+
targetAssociationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1796
|
+
targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
1797
|
targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1395
1798
|
targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1799
|
+
targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1396
1800
|
targetKind: z.ZodEnum<{
|
|
1397
1801
|
session: "session";
|
|
1398
1802
|
annotation: "annotation";
|
|
1399
1803
|
project: "project";
|
|
1400
1804
|
entry: "entry";
|
|
1805
|
+
file_version: "file_version";
|
|
1806
|
+
association: "association";
|
|
1401
1807
|
}>;
|
|
1402
1808
|
targetProjectHash: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>>;
|
|
1403
1809
|
targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1433,6 +1839,7 @@ export declare const zTaskSummary: z.ZodObject<{
|
|
|
1433
1839
|
labels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1434
1840
|
outcome: z.ZodOptional<z.ZodString>;
|
|
1435
1841
|
readCount: z.ZodInt;
|
|
1842
|
+
readFiles: z.ZodArray<z.ZodString>;
|
|
1436
1843
|
retryLoop: z.ZodBoolean;
|
|
1437
1844
|
sessionId: z.ZodString;
|
|
1438
1845
|
startMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1453,6 +1860,7 @@ export declare const zChangeSession: z.ZodObject<{
|
|
|
1453
1860
|
labels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1454
1861
|
outcome: z.ZodOptional<z.ZodString>;
|
|
1455
1862
|
readCount: z.ZodInt;
|
|
1863
|
+
readFiles: z.ZodArray<z.ZodString>;
|
|
1456
1864
|
retryLoop: z.ZodBoolean;
|
|
1457
1865
|
sessionId: z.ZodString;
|
|
1458
1866
|
startMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1464,6 +1872,39 @@ export type ChangeSession = z.infer<typeof zChangeSession>;
|
|
|
1464
1872
|
export declare const zMapNodeDetailPayload: z.ZodObject<{
|
|
1465
1873
|
costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1466
1874
|
dependsOn: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1875
|
+
insights: z.ZodArray<z.ZodObject<{
|
|
1876
|
+
classification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1877
|
+
category: z.ZodString;
|
|
1878
|
+
cause: z.ZodString;
|
|
1879
|
+
resolution: z.ZodString;
|
|
1880
|
+
severityLocus: z.ZodString;
|
|
1881
|
+
severityScope: z.ZodString;
|
|
1882
|
+
}, z.core.$strip>>>;
|
|
1883
|
+
confidence: z.ZodEnum<{
|
|
1884
|
+
high: "high";
|
|
1885
|
+
low: "low";
|
|
1886
|
+
medium: "medium";
|
|
1887
|
+
}>;
|
|
1888
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1889
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
1890
|
+
entryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1891
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
sessionId: z.ZodString;
|
|
1893
|
+
}, z.core.$strip>>;
|
|
1894
|
+
kind: z.ZodEnum<{
|
|
1895
|
+
decision: "decision";
|
|
1896
|
+
friction: "friction";
|
|
1897
|
+
unusual: "unusual";
|
|
1898
|
+
retry_loop: "retry_loop";
|
|
1899
|
+
}>;
|
|
1900
|
+
provenance: z.ZodEnum<{
|
|
1901
|
+
mechanical: "mechanical";
|
|
1902
|
+
mined: "mined";
|
|
1903
|
+
}>;
|
|
1904
|
+
subjects: z.ZodArray<z.ZodString>;
|
|
1905
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
title: z.ZodString;
|
|
1907
|
+
}, z.core.$strip>>;
|
|
1467
1908
|
kind: z.ZodEnum<{
|
|
1468
1909
|
file: "file";
|
|
1469
1910
|
module: "module";
|
|
@@ -1475,6 +1916,32 @@ export declare const zMapNodeDetailPayload: z.ZodObject<{
|
|
|
1475
1916
|
path: z.ZodString;
|
|
1476
1917
|
reEdits: z.ZodInt;
|
|
1477
1918
|
recentCommits: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1919
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
1920
|
+
conclusion: z.ZodEnum<{
|
|
1921
|
+
candidate: "candidate";
|
|
1922
|
+
confirmed: "confirmed";
|
|
1923
|
+
}>;
|
|
1924
|
+
confidence: z.ZodEnum<{
|
|
1925
|
+
high: "high";
|
|
1926
|
+
low: "low";
|
|
1927
|
+
medium: "medium";
|
|
1928
|
+
}>;
|
|
1929
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1930
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1931
|
+
kind: z.ZodEnum<{
|
|
1932
|
+
recorded_commit: "recorded_commit";
|
|
1933
|
+
touched_file: "touched_file";
|
|
1934
|
+
branch_membership: "branch_membership";
|
|
1935
|
+
time_window: "time_window";
|
|
1936
|
+
}>;
|
|
1937
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1938
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1939
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1940
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1941
|
+
}, z.core.$strip>>;
|
|
1942
|
+
id: z.ZodString;
|
|
1943
|
+
sessionId: z.ZodString;
|
|
1944
|
+
}, z.core.$strip>>;
|
|
1478
1945
|
hasSession: z.ZodBoolean;
|
|
1479
1946
|
hash: z.ZodString;
|
|
1480
1947
|
sessionIds: z.ZodArray<z.ZodString>;
|
|
@@ -1483,6 +1950,57 @@ export declare const zMapNodeDetailPayload: z.ZodObject<{
|
|
|
1483
1950
|
}, z.core.$strip>>>;
|
|
1484
1951
|
recordedFiles: z.ZodInt;
|
|
1485
1952
|
retryLoops: z.ZodInt;
|
|
1953
|
+
rewrittenCommits: z.ZodArray<z.ZodObject<{
|
|
1954
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
1955
|
+
conclusion: z.ZodEnum<{
|
|
1956
|
+
candidate: "candidate";
|
|
1957
|
+
confirmed: "confirmed";
|
|
1958
|
+
}>;
|
|
1959
|
+
confidence: z.ZodEnum<{
|
|
1960
|
+
high: "high";
|
|
1961
|
+
low: "low";
|
|
1962
|
+
medium: "medium";
|
|
1963
|
+
}>;
|
|
1964
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1965
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1966
|
+
kind: z.ZodEnum<{
|
|
1967
|
+
recorded_commit: "recorded_commit";
|
|
1968
|
+
touched_file: "touched_file";
|
|
1969
|
+
branch_membership: "branch_membership";
|
|
1970
|
+
time_window: "time_window";
|
|
1971
|
+
}>;
|
|
1972
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1973
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1974
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1975
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1976
|
+
}, z.core.$strip>>;
|
|
1977
|
+
id: z.ZodString;
|
|
1978
|
+
sessionId: z.ZodString;
|
|
1979
|
+
}, z.core.$strip>>;
|
|
1980
|
+
authorTimeMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1981
|
+
confidence: z.ZodEnum<{
|
|
1982
|
+
high: "high";
|
|
1983
|
+
low: "low";
|
|
1984
|
+
medium: "medium";
|
|
1985
|
+
}>;
|
|
1986
|
+
ghostHash: z.ZodString;
|
|
1987
|
+
method: z.ZodEnum<{
|
|
1988
|
+
none: "none";
|
|
1989
|
+
hash: "hash";
|
|
1990
|
+
patch_id: "patch_id";
|
|
1991
|
+
author_identity: "author_identity";
|
|
1992
|
+
message_embedded: "message_embedded";
|
|
1993
|
+
temporal: "temporal";
|
|
1994
|
+
}>;
|
|
1995
|
+
resolution: z.ZodEnum<{
|
|
1996
|
+
live: "live";
|
|
1997
|
+
rewritten: "rewritten";
|
|
1998
|
+
unresolved: "unresolved";
|
|
1999
|
+
}>;
|
|
2000
|
+
sessionIds: z.ZodArray<z.ZodString>;
|
|
2001
|
+
subject: z.ZodString;
|
|
2002
|
+
successorHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
|
+
}, z.core.$strip>>;
|
|
1486
2004
|
sessionCount: z.ZodInt;
|
|
1487
2005
|
shapedBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1488
2006
|
editedFiles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
@@ -1490,6 +2008,7 @@ export declare const zMapNodeDetailPayload: z.ZodObject<{
|
|
|
1490
2008
|
labels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1491
2009
|
outcome: z.ZodOptional<z.ZodString>;
|
|
1492
2010
|
readCount: z.ZodInt;
|
|
2011
|
+
readFiles: z.ZodArray<z.ZodString>;
|
|
1493
2012
|
retryLoop: z.ZodBoolean;
|
|
1494
2013
|
sessionId: z.ZodString;
|
|
1495
2014
|
startMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1509,6 +2028,7 @@ export declare const zProjectTasksPayload: z.ZodObject<{
|
|
|
1509
2028
|
labels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1510
2029
|
outcome: z.ZodOptional<z.ZodString>;
|
|
1511
2030
|
readCount: z.ZodInt;
|
|
2031
|
+
readFiles: z.ZodArray<z.ZodString>;
|
|
1512
2032
|
retryLoop: z.ZodBoolean;
|
|
1513
2033
|
sessionId: z.ZodString;
|
|
1514
2034
|
startMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1553,6 +2073,32 @@ export declare const zReviewListPayload: z.ZodObject<{
|
|
|
1553
2073
|
defaultBranch: z.ZodOptional<z.ZodString>;
|
|
1554
2074
|
projectHash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
1555
2075
|
recentCommits: z.ZodArray<z.ZodObject<{
|
|
2076
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
2077
|
+
conclusion: z.ZodEnum<{
|
|
2078
|
+
candidate: "candidate";
|
|
2079
|
+
confirmed: "confirmed";
|
|
2080
|
+
}>;
|
|
2081
|
+
confidence: z.ZodEnum<{
|
|
2082
|
+
high: "high";
|
|
2083
|
+
low: "low";
|
|
2084
|
+
medium: "medium";
|
|
2085
|
+
}>;
|
|
2086
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
2087
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2088
|
+
kind: z.ZodEnum<{
|
|
2089
|
+
recorded_commit: "recorded_commit";
|
|
2090
|
+
touched_file: "touched_file";
|
|
2091
|
+
branch_membership: "branch_membership";
|
|
2092
|
+
time_window: "time_window";
|
|
2093
|
+
}>;
|
|
2094
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2095
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2096
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2097
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2098
|
+
}, z.core.$strip>>;
|
|
2099
|
+
id: z.ZodString;
|
|
2100
|
+
sessionId: z.ZodString;
|
|
2101
|
+
}, z.core.$strip>>;
|
|
1556
2102
|
hasSession: z.ZodBoolean;
|
|
1557
2103
|
hash: z.ZodString;
|
|
1558
2104
|
sessionIds: z.ZodArray<z.ZodString>;
|
|
@@ -1560,6 +2106,57 @@ export declare const zReviewListPayload: z.ZodObject<{
|
|
|
1560
2106
|
timeMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1561
2107
|
}, z.core.$strip>>;
|
|
1562
2108
|
repoFound: z.ZodBoolean;
|
|
2109
|
+
rewrittenCommits: z.ZodArray<z.ZodObject<{
|
|
2110
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
2111
|
+
conclusion: z.ZodEnum<{
|
|
2112
|
+
candidate: "candidate";
|
|
2113
|
+
confirmed: "confirmed";
|
|
2114
|
+
}>;
|
|
2115
|
+
confidence: z.ZodEnum<{
|
|
2116
|
+
high: "high";
|
|
2117
|
+
low: "low";
|
|
2118
|
+
medium: "medium";
|
|
2119
|
+
}>;
|
|
2120
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
2121
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2122
|
+
kind: z.ZodEnum<{
|
|
2123
|
+
recorded_commit: "recorded_commit";
|
|
2124
|
+
touched_file: "touched_file";
|
|
2125
|
+
branch_membership: "branch_membership";
|
|
2126
|
+
time_window: "time_window";
|
|
2127
|
+
}>;
|
|
2128
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2129
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2131
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2132
|
+
}, z.core.$strip>>;
|
|
2133
|
+
id: z.ZodString;
|
|
2134
|
+
sessionId: z.ZodString;
|
|
2135
|
+
}, z.core.$strip>>;
|
|
2136
|
+
authorTimeMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2137
|
+
confidence: z.ZodEnum<{
|
|
2138
|
+
high: "high";
|
|
2139
|
+
low: "low";
|
|
2140
|
+
medium: "medium";
|
|
2141
|
+
}>;
|
|
2142
|
+
ghostHash: z.ZodString;
|
|
2143
|
+
method: z.ZodEnum<{
|
|
2144
|
+
none: "none";
|
|
2145
|
+
hash: "hash";
|
|
2146
|
+
patch_id: "patch_id";
|
|
2147
|
+
author_identity: "author_identity";
|
|
2148
|
+
message_embedded: "message_embedded";
|
|
2149
|
+
temporal: "temporal";
|
|
2150
|
+
}>;
|
|
2151
|
+
resolution: z.ZodEnum<{
|
|
2152
|
+
live: "live";
|
|
2153
|
+
rewritten: "rewritten";
|
|
2154
|
+
unresolved: "unresolved";
|
|
2155
|
+
}>;
|
|
2156
|
+
sessionIds: z.ZodArray<z.ZodString>;
|
|
2157
|
+
subject: z.ZodString;
|
|
2158
|
+
successorHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2159
|
+
}, z.core.$strip>>;
|
|
1563
2160
|
sessions: z.ZodArray<z.ZodObject<{
|
|
1564
2161
|
harness: z.ZodEnum<{
|
|
1565
2162
|
cursor: "cursor";
|
|
@@ -1737,6 +2334,10 @@ export declare const zPublishRequest: z.ZodObject<{
|
|
|
1737
2334
|
toolOutput: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1738
2335
|
}, z.core.$strip>>>;
|
|
1739
2336
|
git: z.ZodObject<{
|
|
2337
|
+
associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2338
|
+
id: z.ZodString;
|
|
2339
|
+
observedCommitHash: z.ZodString;
|
|
2340
|
+
}, z.core.$strip>>>;
|
|
1740
2341
|
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1741
2342
|
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1742
2343
|
authorEmail: z.ZodString;
|
|
@@ -2230,6 +2831,10 @@ export declare const zUnifiedMetadata: z.ZodObject<{
|
|
|
2230
2831
|
}, z.core.$strip>>>;
|
|
2231
2832
|
}, z.core.$strip>;
|
|
2232
2833
|
git: z.ZodObject<{
|
|
2834
|
+
associations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2835
|
+
id: z.ZodString;
|
|
2836
|
+
observedCommitHash: z.ZodString;
|
|
2837
|
+
}, z.core.$strip>>>;
|
|
2233
2838
|
branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
2839
|
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2235
2840
|
authorEmail: z.ZodString;
|
|
@@ -2330,6 +2935,39 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
2330
2935
|
label: z.ZodString;
|
|
2331
2936
|
sessions: z.ZodInt;
|
|
2332
2937
|
}, z.core.$strip>>>;
|
|
2938
|
+
insights: z.ZodArray<z.ZodObject<{
|
|
2939
|
+
classification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2940
|
+
category: z.ZodString;
|
|
2941
|
+
cause: z.ZodString;
|
|
2942
|
+
resolution: z.ZodString;
|
|
2943
|
+
severityLocus: z.ZodString;
|
|
2944
|
+
severityScope: z.ZodString;
|
|
2945
|
+
}, z.core.$strip>>>;
|
|
2946
|
+
confidence: z.ZodEnum<{
|
|
2947
|
+
high: "high";
|
|
2948
|
+
low: "low";
|
|
2949
|
+
medium: "medium";
|
|
2950
|
+
}>;
|
|
2951
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
2952
|
+
commitHash: z.ZodOptional<z.ZodString>;
|
|
2953
|
+
entryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2954
|
+
file: z.ZodOptional<z.ZodString>;
|
|
2955
|
+
sessionId: z.ZodString;
|
|
2956
|
+
}, z.core.$strip>>;
|
|
2957
|
+
kind: z.ZodEnum<{
|
|
2958
|
+
decision: "decision";
|
|
2959
|
+
friction: "friction";
|
|
2960
|
+
unusual: "unusual";
|
|
2961
|
+
retry_loop: "retry_loop";
|
|
2962
|
+
}>;
|
|
2963
|
+
provenance: z.ZodEnum<{
|
|
2964
|
+
mechanical: "mechanical";
|
|
2965
|
+
mined: "mined";
|
|
2966
|
+
}>;
|
|
2967
|
+
subjects: z.ZodArray<z.ZodString>;
|
|
2968
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2969
|
+
title: z.ZodString;
|
|
2970
|
+
}, z.core.$strip>>;
|
|
2333
2971
|
linesAdded: z.ZodInt;
|
|
2334
2972
|
linesRemoved: z.ZodInt;
|
|
2335
2973
|
newEdges: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2352,6 +2990,9 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
2352
2990
|
to: z.ZodString;
|
|
2353
2991
|
}, z.core.$strip>>>;
|
|
2354
2992
|
nodes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2993
|
+
agentEditedCount: z.ZodInt;
|
|
2994
|
+
attributedRegionCount: z.ZodInt;
|
|
2995
|
+
changedRegionCount: z.ZodInt;
|
|
2355
2996
|
effortDensity: z.ZodNumber;
|
|
2356
2997
|
fileCount: z.ZodInt;
|
|
2357
2998
|
id: z.ZodString;
|
|
@@ -2366,7 +3007,20 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
2366
3007
|
name: z.ZodString;
|
|
2367
3008
|
order: z.ZodInt;
|
|
2368
3009
|
parent: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
readAttribution: z.ZodEnum<{
|
|
3011
|
+
complete: "complete";
|
|
3012
|
+
partial: "partial";
|
|
3013
|
+
unavailable: "unavailable";
|
|
3014
|
+
}>;
|
|
3015
|
+
readCount: z.ZodInt;
|
|
3016
|
+
readState: z.ZodEnum<{
|
|
3017
|
+
none: "none";
|
|
3018
|
+
viewed: "viewed";
|
|
3019
|
+
reviewed: "reviewed";
|
|
3020
|
+
reviewed_in_detail: "reviewed_in_detail";
|
|
3021
|
+
}>;
|
|
2369
3022
|
recordedFiles: z.ZodInt;
|
|
3023
|
+
reviewedRegionCount: z.ZodInt;
|
|
2370
3024
|
totalFiles: z.ZodInt;
|
|
2371
3025
|
touchCount: z.ZodInt;
|
|
2372
3026
|
}, z.core.$strip>>>;
|
|
@@ -2377,6 +3031,32 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
2377
3031
|
}, z.core.$strip>>>;
|
|
2378
3032
|
}, z.core.$strip>;
|
|
2379
3033
|
unrecordedCommits: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3034
|
+
associations: z.ZodArray<z.ZodObject<{
|
|
3035
|
+
conclusion: z.ZodEnum<{
|
|
3036
|
+
candidate: "candidate";
|
|
3037
|
+
confirmed: "confirmed";
|
|
3038
|
+
}>;
|
|
3039
|
+
confidence: z.ZodEnum<{
|
|
3040
|
+
high: "high";
|
|
3041
|
+
low: "low";
|
|
3042
|
+
medium: "medium";
|
|
3043
|
+
}>;
|
|
3044
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
3045
|
+
branchName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
+
kind: z.ZodEnum<{
|
|
3047
|
+
recorded_commit: "recorded_commit";
|
|
3048
|
+
touched_file: "touched_file";
|
|
3049
|
+
branch_membership: "branch_membership";
|
|
3050
|
+
time_window: "time_window";
|
|
3051
|
+
}>;
|
|
3052
|
+
recordedCommitHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3053
|
+
touchedFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3054
|
+
windowEndMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3055
|
+
windowStartMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3056
|
+
}, z.core.$strip>>;
|
|
3057
|
+
id: z.ZodString;
|
|
3058
|
+
sessionId: z.ZodString;
|
|
3059
|
+
}, z.core.$strip>>;
|
|
2380
3060
|
hasSession: z.ZodBoolean;
|
|
2381
3061
|
hash: z.ZodString;
|
|
2382
3062
|
sessionIds: z.ZodArray<z.ZodString>;
|
|
@@ -2411,6 +3091,7 @@ export declare const zChangeDetailPayload: z.ZodObject<{
|
|
|
2411
3091
|
labels: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2412
3092
|
outcome: z.ZodOptional<z.ZodString>;
|
|
2413
3093
|
readCount: z.ZodInt;
|
|
3094
|
+
readFiles: z.ZodArray<z.ZodString>;
|
|
2414
3095
|
retryLoop: z.ZodBoolean;
|
|
2415
3096
|
sessionId: z.ZodString;
|
|
2416
3097
|
startMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -2451,6 +3132,8 @@ export declare const zAnnotationTypeSummary: z.ZodObject<{
|
|
|
2451
3132
|
annotation: "annotation";
|
|
2452
3133
|
project: "project";
|
|
2453
3134
|
entry: "entry";
|
|
3135
|
+
file_version: "file_version";
|
|
3136
|
+
association: "association";
|
|
2454
3137
|
}>>>;
|
|
2455
3138
|
class: z.ZodString;
|
|
2456
3139
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2501,6 +3184,8 @@ export declare const zTaxonomyFamilyNode: z.ZodObject<{
|
|
|
2501
3184
|
annotation: "annotation";
|
|
2502
3185
|
project: "project";
|
|
2503
3186
|
entry: "entry";
|
|
3187
|
+
file_version: "file_version";
|
|
3188
|
+
association: "association";
|
|
2504
3189
|
}>>>;
|
|
2505
3190
|
class: z.ZodString;
|
|
2506
3191
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2554,6 +3239,8 @@ export declare const zTaxonomyNode: z.ZodObject<{
|
|
|
2554
3239
|
annotation: "annotation";
|
|
2555
3240
|
project: "project";
|
|
2556
3241
|
entry: "entry";
|
|
3242
|
+
file_version: "file_version";
|
|
3243
|
+
association: "association";
|
|
2557
3244
|
}>>>;
|
|
2558
3245
|
class: z.ZodString;
|
|
2559
3246
|
description: z.ZodOptional<z.ZodString>;
|