@lore-co/core 0.1.1 → 0.1.3
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/dist/engine.d.ts +5 -5
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +35 -15
- package/dist/engine.js.map +1 -1
- package/dist/in-memory-repository.d.ts +6 -6
- package/dist/in-memory-repository.d.ts.map +1 -1
- package/dist/in-memory-repository.js +55 -27
- package/dist/in-memory-repository.js.map +1 -1
- package/dist/pilot-schemas.d.ts +501 -19
- package/dist/pilot-schemas.d.ts.map +1 -1
- package/dist/pilot-schemas.js +58 -2
- package/dist/pilot-schemas.js.map +1 -1
- package/dist/ports.d.ts +11 -7
- package/dist/ports.d.ts.map +1 -1
- package/dist/redaction.d.ts.map +1 -1
- package/dist/redaction.js +10 -1
- package/dist/redaction.js.map +1 -1
- package/dist/schemas.d.ts +367 -43
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +49 -3
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
package/dist/pilot-schemas.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export type ConfirmationLevel = z.infer<typeof ConfirmationLevelSchema>;
|
|
|
43
43
|
export declare const TurnScopeSchema: z.ZodObject<{
|
|
44
44
|
project: z.ZodOptional<z.ZodString>;
|
|
45
45
|
repo: z.ZodOptional<z.ZodString>;
|
|
46
|
-
path: z.ZodOptional<z.ZodString
|
|
46
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
47
47
|
component: z.ZodOptional<z.ZodString>;
|
|
48
48
|
}, z.core.$strict>;
|
|
49
49
|
export type TurnScope = z.infer<typeof TurnScopeSchema>;
|
|
@@ -91,13 +91,13 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
91
91
|
scope: z.ZodOptional<z.ZodObject<{
|
|
92
92
|
project: z.ZodOptional<z.ZodString>;
|
|
93
93
|
repo: z.ZodOptional<z.ZodString>;
|
|
94
|
-
path: z.ZodOptional<z.ZodString
|
|
94
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
95
95
|
component: z.ZodOptional<z.ZodString>;
|
|
96
96
|
}, z.core.$strict>>;
|
|
97
97
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
98
98
|
project: z.ZodOptional<z.ZodString>;
|
|
99
99
|
repo: z.ZodOptional<z.ZodString>;
|
|
100
|
-
path: z.ZodOptional<z.ZodString
|
|
100
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
101
101
|
component: z.ZodOptional<z.ZodString>;
|
|
102
102
|
}, z.core.$strict>>;
|
|
103
103
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -105,7 +105,8 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
105
105
|
path: z.ZodOptional<z.ZodString>;
|
|
106
106
|
component: z.ZodOptional<z.ZodString>;
|
|
107
107
|
task: z.ZodOptional<z.ZodString>;
|
|
108
|
-
|
|
108
|
+
diff: z.ZodOptional<z.ZodString>;
|
|
109
|
+
files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
109
110
|
components: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
111
|
symbols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
112
|
occurredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -116,6 +117,7 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
116
117
|
symbols?: string[];
|
|
117
118
|
components?: string[];
|
|
118
119
|
files?: string[];
|
|
120
|
+
diff?: string;
|
|
119
121
|
task?: string;
|
|
120
122
|
learningScope?: {
|
|
121
123
|
project?: string | undefined;
|
|
@@ -179,6 +181,7 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
179
181
|
path?: string | undefined;
|
|
180
182
|
component?: string | undefined;
|
|
181
183
|
task?: string | undefined;
|
|
184
|
+
diff?: string | undefined;
|
|
182
185
|
files?: string[] | undefined;
|
|
183
186
|
components?: string[] | undefined;
|
|
184
187
|
symbols?: string[] | undefined;
|
|
@@ -223,13 +226,13 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
223
226
|
scope: z.ZodOptional<z.ZodObject<{
|
|
224
227
|
project: z.ZodOptional<z.ZodString>;
|
|
225
228
|
repo: z.ZodOptional<z.ZodString>;
|
|
226
|
-
path: z.ZodOptional<z.ZodString
|
|
229
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
227
230
|
component: z.ZodOptional<z.ZodString>;
|
|
228
231
|
}, z.core.$strict>>;
|
|
229
232
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
230
233
|
project: z.ZodOptional<z.ZodString>;
|
|
231
234
|
repo: z.ZodOptional<z.ZodString>;
|
|
232
|
-
path: z.ZodOptional<z.ZodString
|
|
235
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
233
236
|
component: z.ZodOptional<z.ZodString>;
|
|
234
237
|
}, z.core.$strict>>;
|
|
235
238
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -237,7 +240,8 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
237
240
|
path: z.ZodOptional<z.ZodString>;
|
|
238
241
|
component: z.ZodOptional<z.ZodString>;
|
|
239
242
|
task: z.ZodOptional<z.ZodString>;
|
|
240
|
-
|
|
243
|
+
diff: z.ZodOptional<z.ZodString>;
|
|
244
|
+
files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
241
245
|
components: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
242
246
|
symbols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
243
247
|
occurredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -248,6 +252,7 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
248
252
|
symbols?: string[];
|
|
249
253
|
components?: string[];
|
|
250
254
|
files?: string[];
|
|
255
|
+
diff?: string;
|
|
251
256
|
task?: string;
|
|
252
257
|
learningScope?: {
|
|
253
258
|
project?: string | undefined;
|
|
@@ -311,6 +316,7 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
311
316
|
path?: string | undefined;
|
|
312
317
|
component?: string | undefined;
|
|
313
318
|
task?: string | undefined;
|
|
319
|
+
diff?: string | undefined;
|
|
314
320
|
files?: string[] | undefined;
|
|
315
321
|
components?: string[] | undefined;
|
|
316
322
|
symbols?: string[] | undefined;
|
|
@@ -328,16 +334,18 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
328
334
|
scope: z.ZodOptional<z.ZodObject<{
|
|
329
335
|
project: z.ZodOptional<z.ZodString>;
|
|
330
336
|
repo: z.ZodOptional<z.ZodString>;
|
|
331
|
-
path: z.ZodOptional<z.ZodString
|
|
337
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
332
338
|
component: z.ZodOptional<z.ZodString>;
|
|
333
339
|
}, z.core.$strict>>;
|
|
334
340
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
335
341
|
project: z.ZodOptional<z.ZodString>;
|
|
336
342
|
repo: z.ZodOptional<z.ZodString>;
|
|
337
|
-
path: z.ZodOptional<z.ZodString
|
|
343
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
338
344
|
component: z.ZodOptional<z.ZodString>;
|
|
339
345
|
}, z.core.$strict>>;
|
|
340
346
|
task: z.ZodOptional<z.ZodString>;
|
|
347
|
+
diff: z.ZodOptional<z.ZodString>;
|
|
348
|
+
files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
341
349
|
messages: z.ZodArray<z.ZodObject<{
|
|
342
350
|
role: z.ZodEnum<{
|
|
343
351
|
system: "system";
|
|
@@ -377,6 +385,8 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
377
385
|
component?: string | undefined;
|
|
378
386
|
} | undefined;
|
|
379
387
|
task?: string | undefined;
|
|
388
|
+
diff?: string | undefined;
|
|
389
|
+
files?: string[] | undefined;
|
|
380
390
|
metadata?: Record<string, unknown> | undefined;
|
|
381
391
|
}, {
|
|
382
392
|
connector: string;
|
|
@@ -405,6 +415,8 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
405
415
|
component?: string | undefined;
|
|
406
416
|
} | undefined;
|
|
407
417
|
task?: string | undefined;
|
|
418
|
+
diff?: string | undefined;
|
|
419
|
+
files?: string[] | undefined;
|
|
408
420
|
metadata?: Record<string, unknown> | undefined;
|
|
409
421
|
}>>;
|
|
410
422
|
export type ObservationRequestInput = z.input<typeof ObservationRequestSchema>;
|
|
@@ -436,7 +448,7 @@ export declare const ContextDeliveryRequestSchema: z.ZodObject<{
|
|
|
436
448
|
organization: z.ZodOptional<z.ZodString>;
|
|
437
449
|
project: z.ZodOptional<z.ZodString>;
|
|
438
450
|
repo: z.ZodOptional<z.ZodString>;
|
|
439
|
-
path: z.ZodOptional<z.ZodString
|
|
451
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
440
452
|
component: z.ZodOptional<z.ZodString>;
|
|
441
453
|
}, z.core.$strict>>;
|
|
442
454
|
organization: z.ZodOptional<z.ZodString>;
|
|
@@ -446,7 +458,7 @@ export declare const ContextDeliveryRequestSchema: z.ZodObject<{
|
|
|
446
458
|
component: z.ZodOptional<z.ZodString>;
|
|
447
459
|
task: z.ZodString;
|
|
448
460
|
diff: z.ZodOptional<z.ZodString>;
|
|
449
|
-
files: z.ZodOptional<z.ZodArray<z.ZodString
|
|
461
|
+
files: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>>;
|
|
450
462
|
components: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
451
463
|
symbols: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
464
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -553,7 +565,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
553
565
|
organization: z.ZodOptional<z.ZodString>;
|
|
554
566
|
project: z.ZodOptional<z.ZodString>;
|
|
555
567
|
repo: z.ZodOptional<z.ZodString>;
|
|
556
|
-
path: z.ZodOptional<z.ZodString
|
|
568
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
557
569
|
component: z.ZodOptional<z.ZodString>;
|
|
558
570
|
}, z.core.$strict>;
|
|
559
571
|
category: z.ZodEnum<{
|
|
@@ -569,6 +581,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
569
581
|
}>;
|
|
570
582
|
status: z.ZodEnum<{
|
|
571
583
|
active: "active";
|
|
584
|
+
suppressed: "suppressed";
|
|
572
585
|
superseded: "superseded";
|
|
573
586
|
deleted: "deleted";
|
|
574
587
|
}>;
|
|
@@ -592,6 +605,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
592
605
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
593
606
|
createdAt: z.ZodISODateTime;
|
|
594
607
|
updatedAt: z.ZodISODateTime;
|
|
608
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
595
609
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
596
610
|
}, z.core.$strict>;
|
|
597
611
|
sourceEvent: z.ZodNullable<z.ZodObject<{
|
|
@@ -663,7 +677,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
663
677
|
organization: z.ZodOptional<z.ZodString>;
|
|
664
678
|
project: z.ZodOptional<z.ZodString>;
|
|
665
679
|
repo: z.ZodOptional<z.ZodString>;
|
|
666
|
-
path: z.ZodOptional<z.ZodString
|
|
680
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
667
681
|
component: z.ZodOptional<z.ZodString>;
|
|
668
682
|
}, z.core.$strict>;
|
|
669
683
|
category: z.ZodEnum<{
|
|
@@ -679,6 +693,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
679
693
|
}>;
|
|
680
694
|
status: z.ZodEnum<{
|
|
681
695
|
active: "active";
|
|
696
|
+
suppressed: "suppressed";
|
|
682
697
|
superseded: "superseded";
|
|
683
698
|
deleted: "deleted";
|
|
684
699
|
}>;
|
|
@@ -702,6 +717,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
702
717
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
703
718
|
createdAt: z.ZodISODateTime;
|
|
704
719
|
updatedAt: z.ZodISODateTime;
|
|
720
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
705
721
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
706
722
|
}, z.core.$strict>>;
|
|
707
723
|
successor: z.ZodNullable<z.ZodObject<{
|
|
@@ -712,7 +728,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
712
728
|
organization: z.ZodOptional<z.ZodString>;
|
|
713
729
|
project: z.ZodOptional<z.ZodString>;
|
|
714
730
|
repo: z.ZodOptional<z.ZodString>;
|
|
715
|
-
path: z.ZodOptional<z.ZodString
|
|
731
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
716
732
|
component: z.ZodOptional<z.ZodString>;
|
|
717
733
|
}, z.core.$strict>;
|
|
718
734
|
category: z.ZodEnum<{
|
|
@@ -728,6 +744,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
728
744
|
}>;
|
|
729
745
|
status: z.ZodEnum<{
|
|
730
746
|
active: "active";
|
|
747
|
+
suppressed: "suppressed";
|
|
731
748
|
superseded: "superseded";
|
|
732
749
|
deleted: "deleted";
|
|
733
750
|
}>;
|
|
@@ -751,6 +768,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
751
768
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
752
769
|
createdAt: z.ZodISODateTime;
|
|
753
770
|
updatedAt: z.ZodISODateTime;
|
|
771
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
754
772
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
755
773
|
}, z.core.$strict>>;
|
|
756
774
|
}, z.core.$strict>;
|
|
@@ -789,9 +807,260 @@ export declare const DeliveryReceiptSchema: z.ZodObject<{
|
|
|
789
807
|
}, z.core.$strict>>;
|
|
790
808
|
contextSha256: z.ZodString;
|
|
791
809
|
}, z.core.$strict>>;
|
|
810
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
811
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
812
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
813
|
+
memoryId: z.ZodUUID;
|
|
814
|
+
fingerprint: z.ZodString;
|
|
815
|
+
content: z.ZodString;
|
|
816
|
+
score: z.ZodNumber;
|
|
817
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
818
|
+
symbol: "symbol";
|
|
819
|
+
path: "path";
|
|
820
|
+
component: "component";
|
|
821
|
+
repository: "repository";
|
|
822
|
+
lexical: "lexical";
|
|
823
|
+
semantic: "semantic";
|
|
824
|
+
}>>;
|
|
825
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
826
|
+
}, z.core.$strict>>>;
|
|
792
827
|
deliveredAt: z.ZodISODateTime;
|
|
793
828
|
}, z.core.$strict>;
|
|
794
829
|
export type DeliveryReceipt = z.infer<typeof DeliveryReceiptSchema>;
|
|
830
|
+
export declare const DeliveryFeedbackActionSchema: z.ZodEnum<{
|
|
831
|
+
wrong: "wrong";
|
|
832
|
+
forget: "forget";
|
|
833
|
+
}>;
|
|
834
|
+
export type DeliveryFeedbackAction = z.infer<typeof DeliveryFeedbackActionSchema>;
|
|
835
|
+
export declare const DeliveryFeedbackRequestSchema: z.ZodObject<{
|
|
836
|
+
memoryId: z.ZodUUID;
|
|
837
|
+
action: z.ZodEnum<{
|
|
838
|
+
wrong: "wrong";
|
|
839
|
+
forget: "forget";
|
|
840
|
+
}>;
|
|
841
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, z.core.$strict>;
|
|
843
|
+
export type DeliveryFeedbackRequest = z.infer<typeof DeliveryFeedbackRequestSchema>;
|
|
844
|
+
export declare const DeliveryFeedbackSchema: z.ZodObject<{
|
|
845
|
+
id: z.ZodUUID;
|
|
846
|
+
workspaceId: z.ZodUUID;
|
|
847
|
+
receiptId: z.ZodUUID;
|
|
848
|
+
memoryId: z.ZodUUID;
|
|
849
|
+
action: z.ZodEnum<{
|
|
850
|
+
wrong: "wrong";
|
|
851
|
+
forget: "forget";
|
|
852
|
+
}>;
|
|
853
|
+
reason: z.ZodString;
|
|
854
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
855
|
+
createdAt: z.ZodISODateTime;
|
|
856
|
+
}, z.core.$strict>;
|
|
857
|
+
export type DeliveryFeedback = z.infer<typeof DeliveryFeedbackSchema>;
|
|
858
|
+
export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
|
|
859
|
+
receipt: z.ZodObject<{
|
|
860
|
+
id: z.ZodUUID;
|
|
861
|
+
workspaceId: z.ZodUUID;
|
|
862
|
+
eventId: z.ZodUUID;
|
|
863
|
+
requestId: z.ZodString;
|
|
864
|
+
memoryIds: z.ZodArray<z.ZodUUID>;
|
|
865
|
+
packing: z.ZodNullable<z.ZodObject<{
|
|
866
|
+
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
867
|
+
estimator: z.ZodLiteral<"utf8-bytes-div-3-v1">;
|
|
868
|
+
limits: z.ZodObject<{
|
|
869
|
+
requestedItems: z.ZodNullable<z.ZodNumber>;
|
|
870
|
+
effectiveItems: z.ZodNumber;
|
|
871
|
+
maxCharacters: z.ZodNumber;
|
|
872
|
+
maxEstimatedTokens: z.ZodNumber;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
usage: z.ZodObject<{
|
|
875
|
+
retrievedItems: z.ZodNumber;
|
|
876
|
+
includedItems: z.ZodNumber;
|
|
877
|
+
omittedItems: z.ZodNumber;
|
|
878
|
+
characters: z.ZodNumber;
|
|
879
|
+
utf8Bytes: z.ZodNumber;
|
|
880
|
+
estimatedTokens: z.ZodNumber;
|
|
881
|
+
}, z.core.$strict>;
|
|
882
|
+
includedMemoryIds: z.ZodArray<z.ZodUUID>;
|
|
883
|
+
omitted: z.ZodArray<z.ZodObject<{
|
|
884
|
+
memoryId: z.ZodUUID;
|
|
885
|
+
reason: z.ZodEnum<{
|
|
886
|
+
characters: "characters";
|
|
887
|
+
items: "items";
|
|
888
|
+
estimated_tokens: "estimated_tokens";
|
|
889
|
+
}>;
|
|
890
|
+
}, z.core.$strict>>;
|
|
891
|
+
contextSha256: z.ZodString;
|
|
892
|
+
}, z.core.$strict>>;
|
|
893
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
894
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
895
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
896
|
+
memoryId: z.ZodUUID;
|
|
897
|
+
fingerprint: z.ZodString;
|
|
898
|
+
content: z.ZodString;
|
|
899
|
+
score: z.ZodNumber;
|
|
900
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
901
|
+
symbol: "symbol";
|
|
902
|
+
path: "path";
|
|
903
|
+
component: "component";
|
|
904
|
+
repository: "repository";
|
|
905
|
+
lexical: "lexical";
|
|
906
|
+
semantic: "semantic";
|
|
907
|
+
}>>;
|
|
908
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
909
|
+
}, z.core.$strict>>>;
|
|
910
|
+
deliveredAt: z.ZodISODateTime;
|
|
911
|
+
}, z.core.$strict>;
|
|
912
|
+
event: z.ZodObject<{
|
|
913
|
+
id: z.ZodUUID;
|
|
914
|
+
workspaceId: z.ZodUUID;
|
|
915
|
+
connector: z.ZodString;
|
|
916
|
+
externalEventId: z.ZodString;
|
|
917
|
+
type: z.ZodEnum<{
|
|
918
|
+
observation: "observation";
|
|
919
|
+
paired_turn: "paired_turn";
|
|
920
|
+
context_delivery: "context_delivery";
|
|
921
|
+
}>;
|
|
922
|
+
agent: z.ZodString;
|
|
923
|
+
sessionId: z.ZodString;
|
|
924
|
+
conversationId: z.ZodNullable<z.ZodString>;
|
|
925
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
926
|
+
redacted: z.ZodBoolean;
|
|
927
|
+
requestId: z.ZodString;
|
|
928
|
+
occurredAt: z.ZodISODateTime;
|
|
929
|
+
receivedAt: z.ZodISODateTime;
|
|
930
|
+
}, z.core.$strict>;
|
|
931
|
+
memories: z.ZodArray<z.ZodObject<{
|
|
932
|
+
id: z.ZodUUID;
|
|
933
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
934
|
+
content: z.ZodString;
|
|
935
|
+
scope: z.ZodObject<{
|
|
936
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
937
|
+
project: z.ZodOptional<z.ZodString>;
|
|
938
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
939
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
940
|
+
component: z.ZodOptional<z.ZodString>;
|
|
941
|
+
}, z.core.$strict>;
|
|
942
|
+
category: z.ZodEnum<{
|
|
943
|
+
architecture: "architecture";
|
|
944
|
+
convention: "convention";
|
|
945
|
+
correction: "correction";
|
|
946
|
+
gotcha: "gotcha";
|
|
947
|
+
known_gotcha: "known_gotcha";
|
|
948
|
+
deprecated: "deprecated";
|
|
949
|
+
behavior: "behavior";
|
|
950
|
+
review_feedback: "review_feedback";
|
|
951
|
+
other: "other";
|
|
952
|
+
}>;
|
|
953
|
+
status: z.ZodEnum<{
|
|
954
|
+
active: "active";
|
|
955
|
+
suppressed: "suppressed";
|
|
956
|
+
superseded: "superseded";
|
|
957
|
+
deleted: "deleted";
|
|
958
|
+
}>;
|
|
959
|
+
source: z.ZodObject<{
|
|
960
|
+
agent: z.ZodString;
|
|
961
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
962
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
|
+
rawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
964
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
965
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
966
|
+
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
967
|
+
}, z.core.$strict>;
|
|
968
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
confirmation: z.ZodOptional<z.ZodEnum<{
|
|
970
|
+
unconfirmed: "unconfirmed";
|
|
971
|
+
implicit: "implicit";
|
|
972
|
+
explicit: "explicit";
|
|
973
|
+
}>>;
|
|
974
|
+
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
975
|
+
fingerprint: z.ZodString;
|
|
976
|
+
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
977
|
+
createdAt: z.ZodISODateTime;
|
|
978
|
+
updatedAt: z.ZodISODateTime;
|
|
979
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
980
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
981
|
+
}, z.core.$strict>>;
|
|
982
|
+
feedback: z.ZodArray<z.ZodObject<{
|
|
983
|
+
id: z.ZodUUID;
|
|
984
|
+
workspaceId: z.ZodUUID;
|
|
985
|
+
receiptId: z.ZodUUID;
|
|
986
|
+
memoryId: z.ZodUUID;
|
|
987
|
+
action: z.ZodEnum<{
|
|
988
|
+
wrong: "wrong";
|
|
989
|
+
forget: "forget";
|
|
990
|
+
}>;
|
|
991
|
+
reason: z.ZodString;
|
|
992
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
993
|
+
createdAt: z.ZodISODateTime;
|
|
994
|
+
}, z.core.$strict>>;
|
|
995
|
+
}, z.core.$strict>;
|
|
996
|
+
export type DeliveryReceiptDetail = z.infer<typeof DeliveryReceiptDetailSchema>;
|
|
997
|
+
export declare const DeliveryFeedbackResponseSchema: z.ZodObject<{
|
|
998
|
+
feedback: z.ZodObject<{
|
|
999
|
+
id: z.ZodUUID;
|
|
1000
|
+
workspaceId: z.ZodUUID;
|
|
1001
|
+
receiptId: z.ZodUUID;
|
|
1002
|
+
memoryId: z.ZodUUID;
|
|
1003
|
+
action: z.ZodEnum<{
|
|
1004
|
+
wrong: "wrong";
|
|
1005
|
+
forget: "forget";
|
|
1006
|
+
}>;
|
|
1007
|
+
reason: z.ZodString;
|
|
1008
|
+
actorId: z.ZodNullable<z.ZodString>;
|
|
1009
|
+
createdAt: z.ZodISODateTime;
|
|
1010
|
+
}, z.core.$strict>;
|
|
1011
|
+
memory: z.ZodObject<{
|
|
1012
|
+
id: z.ZodUUID;
|
|
1013
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1014
|
+
content: z.ZodString;
|
|
1015
|
+
scope: z.ZodObject<{
|
|
1016
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1020
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
}, z.core.$strict>;
|
|
1022
|
+
category: z.ZodEnum<{
|
|
1023
|
+
architecture: "architecture";
|
|
1024
|
+
convention: "convention";
|
|
1025
|
+
correction: "correction";
|
|
1026
|
+
gotcha: "gotcha";
|
|
1027
|
+
known_gotcha: "known_gotcha";
|
|
1028
|
+
deprecated: "deprecated";
|
|
1029
|
+
behavior: "behavior";
|
|
1030
|
+
review_feedback: "review_feedback";
|
|
1031
|
+
other: "other";
|
|
1032
|
+
}>;
|
|
1033
|
+
status: z.ZodEnum<{
|
|
1034
|
+
active: "active";
|
|
1035
|
+
suppressed: "suppressed";
|
|
1036
|
+
superseded: "superseded";
|
|
1037
|
+
deleted: "deleted";
|
|
1038
|
+
}>;
|
|
1039
|
+
source: z.ZodObject<{
|
|
1040
|
+
agent: z.ZodString;
|
|
1041
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
|
+
rawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1044
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1045
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1046
|
+
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
1047
|
+
}, z.core.$strict>;
|
|
1048
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1049
|
+
confirmation: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
unconfirmed: "unconfirmed";
|
|
1051
|
+
implicit: "implicit";
|
|
1052
|
+
explicit: "explicit";
|
|
1053
|
+
}>>;
|
|
1054
|
+
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
fingerprint: z.ZodString;
|
|
1056
|
+
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1057
|
+
createdAt: z.ZodISODateTime;
|
|
1058
|
+
updatedAt: z.ZodISODateTime;
|
|
1059
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1060
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1061
|
+
}, z.core.$strict>;
|
|
1062
|
+
}, z.core.$strict>;
|
|
1063
|
+
export type DeliveryFeedbackResponse = z.infer<typeof DeliveryFeedbackResponseSchema>;
|
|
795
1064
|
export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
796
1065
|
event: z.ZodObject<{
|
|
797
1066
|
id: z.ZodUUID;
|
|
@@ -846,6 +1115,23 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
846
1115
|
}, z.core.$strict>>;
|
|
847
1116
|
contextSha256: z.ZodString;
|
|
848
1117
|
}, z.core.$strict>>;
|
|
1118
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1119
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
1120
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1121
|
+
memoryId: z.ZodUUID;
|
|
1122
|
+
fingerprint: z.ZodString;
|
|
1123
|
+
content: z.ZodString;
|
|
1124
|
+
score: z.ZodNumber;
|
|
1125
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1126
|
+
symbol: "symbol";
|
|
1127
|
+
path: "path";
|
|
1128
|
+
component: "component";
|
|
1129
|
+
repository: "repository";
|
|
1130
|
+
lexical: "lexical";
|
|
1131
|
+
semantic: "semantic";
|
|
1132
|
+
}>>;
|
|
1133
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
1134
|
+
}, z.core.$strict>>>;
|
|
849
1135
|
deliveredAt: z.ZodISODateTime;
|
|
850
1136
|
}, z.core.$strict>;
|
|
851
1137
|
replayed: z.ZodBoolean;
|
|
@@ -857,7 +1143,7 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
857
1143
|
organization: z.ZodOptional<z.ZodString>;
|
|
858
1144
|
project: z.ZodOptional<z.ZodString>;
|
|
859
1145
|
repo: z.ZodOptional<z.ZodString>;
|
|
860
|
-
path: z.ZodOptional<z.ZodString
|
|
1146
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
861
1147
|
component: z.ZodOptional<z.ZodString>;
|
|
862
1148
|
}, z.core.$strict>;
|
|
863
1149
|
category: z.ZodEnum<{
|
|
@@ -873,6 +1159,7 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
873
1159
|
}>;
|
|
874
1160
|
status: z.ZodEnum<{
|
|
875
1161
|
active: "active";
|
|
1162
|
+
suppressed: "suppressed";
|
|
876
1163
|
superseded: "superseded";
|
|
877
1164
|
deleted: "deleted";
|
|
878
1165
|
}>;
|
|
@@ -896,8 +1183,74 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
896
1183
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
897
1184
|
createdAt: z.ZodISODateTime;
|
|
898
1185
|
updatedAt: z.ZodISODateTime;
|
|
1186
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
899
1187
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
900
1188
|
}, z.core.$strict>>;
|
|
1189
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1190
|
+
memory: z.ZodObject<{
|
|
1191
|
+
id: z.ZodUUID;
|
|
1192
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1193
|
+
content: z.ZodString;
|
|
1194
|
+
scope: z.ZodObject<{
|
|
1195
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1199
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
}, z.core.$strict>;
|
|
1201
|
+
category: z.ZodEnum<{
|
|
1202
|
+
architecture: "architecture";
|
|
1203
|
+
convention: "convention";
|
|
1204
|
+
correction: "correction";
|
|
1205
|
+
gotcha: "gotcha";
|
|
1206
|
+
known_gotcha: "known_gotcha";
|
|
1207
|
+
deprecated: "deprecated";
|
|
1208
|
+
behavior: "behavior";
|
|
1209
|
+
review_feedback: "review_feedback";
|
|
1210
|
+
other: "other";
|
|
1211
|
+
}>;
|
|
1212
|
+
status: z.ZodEnum<{
|
|
1213
|
+
active: "active";
|
|
1214
|
+
suppressed: "suppressed";
|
|
1215
|
+
superseded: "superseded";
|
|
1216
|
+
deleted: "deleted";
|
|
1217
|
+
}>;
|
|
1218
|
+
source: z.ZodObject<{
|
|
1219
|
+
agent: z.ZodString;
|
|
1220
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1222
|
+
rawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1223
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1224
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1225
|
+
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
1226
|
+
}, z.core.$strict>;
|
|
1227
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1228
|
+
confirmation: z.ZodOptional<z.ZodEnum<{
|
|
1229
|
+
unconfirmed: "unconfirmed";
|
|
1230
|
+
implicit: "implicit";
|
|
1231
|
+
explicit: "explicit";
|
|
1232
|
+
}>>;
|
|
1233
|
+
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
fingerprint: z.ZodString;
|
|
1235
|
+
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1236
|
+
createdAt: z.ZodISODateTime;
|
|
1237
|
+
updatedAt: z.ZodISODateTime;
|
|
1238
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1239
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1240
|
+
}, z.core.$strict>;
|
|
1241
|
+
score: z.ZodNumber;
|
|
1242
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1243
|
+
symbol: "symbol";
|
|
1244
|
+
path: "path";
|
|
1245
|
+
component: "component";
|
|
1246
|
+
repository: "repository";
|
|
1247
|
+
lexical: "lexical";
|
|
1248
|
+
semantic: "semantic";
|
|
1249
|
+
}>>;
|
|
1250
|
+
matchedTerms: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
lexicalRank: z.ZodNullable<z.ZodNumber>;
|
|
1252
|
+
semanticRank: z.ZodNullable<z.ZodNumber>;
|
|
1253
|
+
}, z.core.$strict>>>;
|
|
901
1254
|
context: z.ZodString;
|
|
902
1255
|
packing: z.ZodObject<{
|
|
903
1256
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
@@ -945,6 +1298,7 @@ export declare const ActivityMemorySchema: z.ZodObject<{
|
|
|
945
1298
|
}>;
|
|
946
1299
|
status: z.ZodEnum<{
|
|
947
1300
|
active: "active";
|
|
1301
|
+
suppressed: "suppressed";
|
|
948
1302
|
superseded: "superseded";
|
|
949
1303
|
deleted: "deleted";
|
|
950
1304
|
}>;
|
|
@@ -987,6 +1341,7 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
987
1341
|
}>;
|
|
988
1342
|
status: z.ZodEnum<{
|
|
989
1343
|
active: "active";
|
|
1344
|
+
suppressed: "suppressed";
|
|
990
1345
|
superseded: "superseded";
|
|
991
1346
|
deleted: "deleted";
|
|
992
1347
|
}>;
|
|
@@ -1007,6 +1362,7 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1007
1362
|
}>;
|
|
1008
1363
|
status: z.ZodEnum<{
|
|
1009
1364
|
active: "active";
|
|
1365
|
+
suppressed: "suppressed";
|
|
1010
1366
|
superseded: "superseded";
|
|
1011
1367
|
deleted: "deleted";
|
|
1012
1368
|
}>;
|
|
@@ -1045,6 +1401,23 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1045
1401
|
}, z.core.$strict>>;
|
|
1046
1402
|
contextSha256: z.ZodString;
|
|
1047
1403
|
}, z.core.$strict>>;
|
|
1404
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1405
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
1406
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1407
|
+
memoryId: z.ZodUUID;
|
|
1408
|
+
fingerprint: z.ZodString;
|
|
1409
|
+
content: z.ZodString;
|
|
1410
|
+
score: z.ZodNumber;
|
|
1411
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1412
|
+
symbol: "symbol";
|
|
1413
|
+
path: "path";
|
|
1414
|
+
component: "component";
|
|
1415
|
+
repository: "repository";
|
|
1416
|
+
lexical: "lexical";
|
|
1417
|
+
semantic: "semantic";
|
|
1418
|
+
}>>;
|
|
1419
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
1420
|
+
}, z.core.$strict>>>;
|
|
1048
1421
|
deliveredAt: z.ZodISODateTime;
|
|
1049
1422
|
}, z.core.$strict>>;
|
|
1050
1423
|
}, z.core.$strict>;
|
|
@@ -1101,6 +1474,7 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1101
1474
|
}>;
|
|
1102
1475
|
status: z.ZodEnum<{
|
|
1103
1476
|
active: "active";
|
|
1477
|
+
suppressed: "suppressed";
|
|
1104
1478
|
superseded: "superseded";
|
|
1105
1479
|
deleted: "deleted";
|
|
1106
1480
|
}>;
|
|
@@ -1121,6 +1495,7 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1121
1495
|
}>;
|
|
1122
1496
|
status: z.ZodEnum<{
|
|
1123
1497
|
active: "active";
|
|
1498
|
+
suppressed: "suppressed";
|
|
1124
1499
|
superseded: "superseded";
|
|
1125
1500
|
deleted: "deleted";
|
|
1126
1501
|
}>;
|
|
@@ -1159,6 +1534,23 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1159
1534
|
}, z.core.$strict>>;
|
|
1160
1535
|
contextSha256: z.ZodString;
|
|
1161
1536
|
}, z.core.$strict>>;
|
|
1537
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1538
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
1539
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1540
|
+
memoryId: z.ZodUUID;
|
|
1541
|
+
fingerprint: z.ZodString;
|
|
1542
|
+
content: z.ZodString;
|
|
1543
|
+
score: z.ZodNumber;
|
|
1544
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1545
|
+
symbol: "symbol";
|
|
1546
|
+
path: "path";
|
|
1547
|
+
component: "component";
|
|
1548
|
+
repository: "repository";
|
|
1549
|
+
lexical: "lexical";
|
|
1550
|
+
semantic: "semantic";
|
|
1551
|
+
}>>;
|
|
1552
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
1553
|
+
}, z.core.$strict>>>;
|
|
1162
1554
|
deliveredAt: z.ZodISODateTime;
|
|
1163
1555
|
}, z.core.$strict>>;
|
|
1164
1556
|
}, z.core.$strict>>;
|
|
@@ -1177,7 +1569,7 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1177
1569
|
organization: z.ZodOptional<z.ZodString>;
|
|
1178
1570
|
project: z.ZodOptional<z.ZodString>;
|
|
1179
1571
|
repo: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
path: z.ZodOptional<z.ZodString
|
|
1572
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1181
1573
|
component: z.ZodOptional<z.ZodString>;
|
|
1182
1574
|
}, z.core.$strict>;
|
|
1183
1575
|
category: z.ZodEnum<{
|
|
@@ -1193,6 +1585,7 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1193
1585
|
}>;
|
|
1194
1586
|
status: z.ZodEnum<{
|
|
1195
1587
|
active: "active";
|
|
1588
|
+
suppressed: "suppressed";
|
|
1196
1589
|
superseded: "superseded";
|
|
1197
1590
|
deleted: "deleted";
|
|
1198
1591
|
}>;
|
|
@@ -1216,6 +1609,7 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1216
1609
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1217
1610
|
createdAt: z.ZodISODateTime;
|
|
1218
1611
|
updatedAt: z.ZodISODateTime;
|
|
1612
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1219
1613
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1220
1614
|
}, z.core.$strict>>;
|
|
1221
1615
|
created: z.ZodNumber;
|
|
@@ -1233,7 +1627,7 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
1233
1627
|
organization: z.ZodOptional<z.ZodString>;
|
|
1234
1628
|
project: z.ZodOptional<z.ZodString>;
|
|
1235
1629
|
repo: z.ZodOptional<z.ZodString>;
|
|
1236
|
-
path: z.ZodOptional<z.ZodString
|
|
1630
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1237
1631
|
component: z.ZodOptional<z.ZodString>;
|
|
1238
1632
|
}, z.core.$strict>;
|
|
1239
1633
|
category: z.ZodEnum<{
|
|
@@ -1249,6 +1643,7 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
1249
1643
|
}>;
|
|
1250
1644
|
status: z.ZodEnum<{
|
|
1251
1645
|
active: "active";
|
|
1646
|
+
suppressed: "suppressed";
|
|
1252
1647
|
superseded: "superseded";
|
|
1253
1648
|
deleted: "deleted";
|
|
1254
1649
|
}>;
|
|
@@ -1272,6 +1667,7 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
1272
1667
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1273
1668
|
createdAt: z.ZodISODateTime;
|
|
1274
1669
|
updatedAt: z.ZodISODateTime;
|
|
1670
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1275
1671
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1276
1672
|
}, z.core.$strict>>;
|
|
1277
1673
|
created: z.ZodNumber;
|
|
@@ -1331,7 +1727,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1331
1727
|
organization: z.ZodOptional<z.ZodString>;
|
|
1332
1728
|
project: z.ZodOptional<z.ZodString>;
|
|
1333
1729
|
repo: z.ZodOptional<z.ZodString>;
|
|
1334
|
-
path: z.ZodOptional<z.ZodString
|
|
1730
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1335
1731
|
component: z.ZodOptional<z.ZodString>;
|
|
1336
1732
|
}, z.core.$strict>;
|
|
1337
1733
|
category: z.ZodEnum<{
|
|
@@ -1347,6 +1743,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1347
1743
|
}>;
|
|
1348
1744
|
status: z.ZodEnum<{
|
|
1349
1745
|
active: "active";
|
|
1746
|
+
suppressed: "suppressed";
|
|
1350
1747
|
superseded: "superseded";
|
|
1351
1748
|
deleted: "deleted";
|
|
1352
1749
|
}>;
|
|
@@ -1370,6 +1767,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1370
1767
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1371
1768
|
createdAt: z.ZodISODateTime;
|
|
1372
1769
|
updatedAt: z.ZodISODateTime;
|
|
1770
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1373
1771
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1374
1772
|
}, z.core.$strict>>;
|
|
1375
1773
|
created: z.ZodNumber;
|
|
@@ -1386,7 +1784,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1386
1784
|
organization: z.ZodOptional<z.ZodString>;
|
|
1387
1785
|
project: z.ZodOptional<z.ZodString>;
|
|
1388
1786
|
repo: z.ZodOptional<z.ZodString>;
|
|
1389
|
-
path: z.ZodOptional<z.ZodString
|
|
1787
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1390
1788
|
component: z.ZodOptional<z.ZodString>;
|
|
1391
1789
|
}, z.core.$strict>;
|
|
1392
1790
|
category: z.ZodEnum<{
|
|
@@ -1402,6 +1800,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1402
1800
|
}>;
|
|
1403
1801
|
status: z.ZodEnum<{
|
|
1404
1802
|
active: "active";
|
|
1803
|
+
suppressed: "suppressed";
|
|
1405
1804
|
superseded: "superseded";
|
|
1406
1805
|
deleted: "deleted";
|
|
1407
1806
|
}>;
|
|
@@ -1425,8 +1824,74 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1425
1824
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1426
1825
|
createdAt: z.ZodISODateTime;
|
|
1427
1826
|
updatedAt: z.ZodISODateTime;
|
|
1827
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1428
1828
|
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1429
1829
|
}, z.core.$strict>>;
|
|
1830
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1831
|
+
memory: z.ZodObject<{
|
|
1832
|
+
id: z.ZodUUID;
|
|
1833
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1834
|
+
content: z.ZodString;
|
|
1835
|
+
scope: z.ZodObject<{
|
|
1836
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
1840
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1841
|
+
}, z.core.$strict>;
|
|
1842
|
+
category: z.ZodEnum<{
|
|
1843
|
+
architecture: "architecture";
|
|
1844
|
+
convention: "convention";
|
|
1845
|
+
correction: "correction";
|
|
1846
|
+
gotcha: "gotcha";
|
|
1847
|
+
known_gotcha: "known_gotcha";
|
|
1848
|
+
deprecated: "deprecated";
|
|
1849
|
+
behavior: "behavior";
|
|
1850
|
+
review_feedback: "review_feedback";
|
|
1851
|
+
other: "other";
|
|
1852
|
+
}>;
|
|
1853
|
+
status: z.ZodEnum<{
|
|
1854
|
+
active: "active";
|
|
1855
|
+
suppressed: "suppressed";
|
|
1856
|
+
superseded: "superseded";
|
|
1857
|
+
deleted: "deleted";
|
|
1858
|
+
}>;
|
|
1859
|
+
source: z.ZodObject<{
|
|
1860
|
+
agent: z.ZodString;
|
|
1861
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1863
|
+
rawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1864
|
+
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1865
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1866
|
+
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
1867
|
+
}, z.core.$strict>;
|
|
1868
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1869
|
+
confirmation: z.ZodOptional<z.ZodEnum<{
|
|
1870
|
+
unconfirmed: "unconfirmed";
|
|
1871
|
+
implicit: "implicit";
|
|
1872
|
+
explicit: "explicit";
|
|
1873
|
+
}>>;
|
|
1874
|
+
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
fingerprint: z.ZodString;
|
|
1876
|
+
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
1877
|
+
createdAt: z.ZodISODateTime;
|
|
1878
|
+
updatedAt: z.ZodISODateTime;
|
|
1879
|
+
suppressedAt: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
|
|
1880
|
+
deletedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1881
|
+
}, z.core.$strict>;
|
|
1882
|
+
score: z.ZodNumber;
|
|
1883
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1884
|
+
symbol: "symbol";
|
|
1885
|
+
path: "path";
|
|
1886
|
+
component: "component";
|
|
1887
|
+
repository: "repository";
|
|
1888
|
+
lexical: "lexical";
|
|
1889
|
+
semantic: "semantic";
|
|
1890
|
+
}>>;
|
|
1891
|
+
matchedTerms: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1892
|
+
lexicalRank: z.ZodNullable<z.ZodNumber>;
|
|
1893
|
+
semanticRank: z.ZodNullable<z.ZodNumber>;
|
|
1894
|
+
}, z.core.$strict>>>;
|
|
1430
1895
|
text: z.ZodString;
|
|
1431
1896
|
packing: z.ZodOptional<z.ZodObject<{
|
|
1432
1897
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
@@ -1491,6 +1956,23 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1491
1956
|
}, z.core.$strict>>;
|
|
1492
1957
|
contextSha256: z.ZodString;
|
|
1493
1958
|
}, z.core.$strict>>;
|
|
1959
|
+
querySha256: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1960
|
+
retrievalPolicyVersion: z.ZodDefault<z.ZodString>;
|
|
1961
|
+
hits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1962
|
+
memoryId: z.ZodUUID;
|
|
1963
|
+
fingerprint: z.ZodString;
|
|
1964
|
+
content: z.ZodString;
|
|
1965
|
+
score: z.ZodNumber;
|
|
1966
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1967
|
+
symbol: "symbol";
|
|
1968
|
+
path: "path";
|
|
1969
|
+
component: "component";
|
|
1970
|
+
repository: "repository";
|
|
1971
|
+
lexical: "lexical";
|
|
1972
|
+
semantic: "semantic";
|
|
1973
|
+
}>>;
|
|
1974
|
+
matchedTerms: z.ZodArray<z.ZodString>;
|
|
1975
|
+
}, z.core.$strict>>>;
|
|
1494
1976
|
deliveredAt: z.ZodISODateTime;
|
|
1495
1977
|
}, z.core.$strict>;
|
|
1496
1978
|
}, z.core.$strict>;
|