@lore-co/core 0.2.7 → 0.2.8
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/approaches.d.ts +498 -0
- package/dist/approaches.d.ts.map +1 -0
- package/dist/approaches.js +95 -0
- package/dist/approaches.js.map +1 -0
- package/dist/cloud-recovery-schemas.d.ts +5 -5
- package/dist/guard-schemas.d.ts +6 -6
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/integration-contract.d.ts +42 -42
- package/dist/knowledge-quality.d.ts +2 -0
- package/dist/knowledge-quality.d.ts.map +1 -1
- package/dist/knowledge-quality.js +25 -7
- package/dist/knowledge-quality.js.map +1 -1
- package/dist/learning-drafts.d.ts +75 -0
- package/dist/learning-drafts.d.ts.map +1 -0
- package/dist/learning-drafts.js +16 -0
- package/dist/learning-drafts.js.map +1 -0
- package/dist/pilot-schemas.d.ts +81 -72
- package/dist/pilot-schemas.d.ts.map +1 -1
- package/dist/pilot-schemas.js +5 -0
- package/dist/pilot-schemas.js.map +1 -1
- package/dist/product-usage.d.ts +2 -2
- package/dist/reliability-schemas.d.ts +11 -11
- package/dist/schemas.d.ts +83 -83
- package/dist/search-schemas.d.ts +2 -2
- package/dist/session-schemas.d.ts +309 -14
- package/dist/session-schemas.d.ts.map +1 -1
- package/dist/session-schemas.js +11 -2
- package/dist/session-schemas.js.map +1 -1
- package/dist/snapshot-schemas.d.ts +76 -74
- package/dist/snapshot-schemas.d.ts.map +1 -1
- package/package.json +9 -1
package/dist/pilot-schemas.d.ts
CHANGED
|
@@ -41,9 +41,9 @@ export declare const ConfirmationLevelSchema: z.ZodEnum<{
|
|
|
41
41
|
}>;
|
|
42
42
|
export type ConfirmationLevel = z.infer<typeof ConfirmationLevelSchema>;
|
|
43
43
|
export declare const TurnScopeSchema: z.ZodObject<{
|
|
44
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
44
45
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
45
46
|
project: z.ZodOptional<z.ZodString>;
|
|
46
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
47
47
|
component: z.ZodOptional<z.ZodString>;
|
|
48
48
|
}, z.core.$strict>;
|
|
49
49
|
export type TurnScope = z.infer<typeof TurnScopeSchema>;
|
|
@@ -54,6 +54,8 @@ export declare const PairedTurnMessageSchema: z.ZodObject<{
|
|
|
54
54
|
timestamp: z.ZodOptional<z.ZodISODateTime>;
|
|
55
55
|
}, z.core.$strict>;
|
|
56
56
|
export type PairedTurnMessage = z.infer<typeof PairedTurnMessageSchema>;
|
|
57
|
+
/** Receipts whose context the host confirms is still present in this conversation. */
|
|
58
|
+
export declare const RetainedReceiptIdsSchema: z.ZodArray<z.ZodUUID>;
|
|
57
59
|
export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
58
60
|
connector: z.ZodString;
|
|
59
61
|
eventId: z.ZodOptional<z.ZodString>;
|
|
@@ -61,6 +63,7 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
61
63
|
agent: z.ZodString;
|
|
62
64
|
sessionId: z.ZodString;
|
|
63
65
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
retainedReceiptIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
64
67
|
previousAssistant: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
65
68
|
id: z.ZodOptional<z.ZodString>;
|
|
66
69
|
content: z.ZodString;
|
|
@@ -89,15 +92,15 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
89
92
|
}>>>;
|
|
90
93
|
currentUserPrompt: z.ZodOptional<z.ZodString>;
|
|
91
94
|
scope: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
92
96
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
93
97
|
project: z.ZodOptional<z.ZodString>;
|
|
94
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
95
98
|
component: z.ZodOptional<z.ZodString>;
|
|
96
99
|
}, z.core.$strict>>;
|
|
97
100
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
101
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
98
102
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
99
103
|
project: z.ZodOptional<z.ZodString>;
|
|
100
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
101
104
|
component: z.ZodOptional<z.ZodString>;
|
|
102
105
|
}, z.core.$strict>>;
|
|
103
106
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -120,9 +123,9 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
120
123
|
diff?: string;
|
|
121
124
|
task?: string;
|
|
122
125
|
learningScope?: {
|
|
126
|
+
repo?: string | undefined;
|
|
123
127
|
path?: string | undefined;
|
|
124
128
|
project?: string | undefined;
|
|
125
|
-
repo?: string | undefined;
|
|
126
129
|
component?: string | undefined;
|
|
127
130
|
};
|
|
128
131
|
previousAssistant: {
|
|
@@ -142,6 +145,7 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
142
145
|
project?: string | undefined;
|
|
143
146
|
};
|
|
144
147
|
conversationId?: string;
|
|
148
|
+
retainedReceiptIds?: string[];
|
|
145
149
|
connector: string;
|
|
146
150
|
eventId: string;
|
|
147
151
|
agent: string;
|
|
@@ -158,6 +162,7 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
158
162
|
eventId?: string | undefined;
|
|
159
163
|
externalEventId?: string | undefined;
|
|
160
164
|
conversationId?: string | undefined;
|
|
165
|
+
retainedReceiptIds?: string[] | undefined;
|
|
161
166
|
currentUser?: {
|
|
162
167
|
content: string;
|
|
163
168
|
id?: string | undefined;
|
|
@@ -165,15 +170,15 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
165
170
|
} | undefined;
|
|
166
171
|
currentUserPrompt?: string | undefined;
|
|
167
172
|
scope?: {
|
|
173
|
+
repo?: string | undefined;
|
|
168
174
|
path?: string | undefined;
|
|
169
175
|
project?: string | undefined;
|
|
170
|
-
repo?: string | undefined;
|
|
171
176
|
component?: string | undefined;
|
|
172
177
|
} | undefined;
|
|
173
178
|
learningScope?: {
|
|
179
|
+
repo?: string | undefined;
|
|
174
180
|
path?: string | undefined;
|
|
175
181
|
project?: string | undefined;
|
|
176
|
-
repo?: string | undefined;
|
|
177
182
|
component?: string | undefined;
|
|
178
183
|
} | undefined;
|
|
179
184
|
project?: string | undefined;
|
|
@@ -196,6 +201,7 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
196
201
|
agent: z.ZodString;
|
|
197
202
|
sessionId: z.ZodString;
|
|
198
203
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
204
|
+
retainedReceiptIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
199
205
|
previousAssistant: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
200
206
|
id: z.ZodOptional<z.ZodString>;
|
|
201
207
|
content: z.ZodString;
|
|
@@ -224,15 +230,15 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
224
230
|
}>>>;
|
|
225
231
|
currentUserPrompt: z.ZodOptional<z.ZodString>;
|
|
226
232
|
scope: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
227
234
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
228
235
|
project: z.ZodOptional<z.ZodString>;
|
|
229
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
230
236
|
component: z.ZodOptional<z.ZodString>;
|
|
231
237
|
}, z.core.$strict>>;
|
|
232
238
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
233
240
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
234
241
|
project: z.ZodOptional<z.ZodString>;
|
|
235
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
236
242
|
component: z.ZodOptional<z.ZodString>;
|
|
237
243
|
}, z.core.$strict>>;
|
|
238
244
|
project: z.ZodOptional<z.ZodString>;
|
|
@@ -255,9 +261,9 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
255
261
|
diff?: string;
|
|
256
262
|
task?: string;
|
|
257
263
|
learningScope?: {
|
|
264
|
+
repo?: string | undefined;
|
|
258
265
|
path?: string | undefined;
|
|
259
266
|
project?: string | undefined;
|
|
260
|
-
repo?: string | undefined;
|
|
261
267
|
component?: string | undefined;
|
|
262
268
|
};
|
|
263
269
|
previousAssistant: {
|
|
@@ -277,6 +283,7 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
277
283
|
project?: string | undefined;
|
|
278
284
|
};
|
|
279
285
|
conversationId?: string;
|
|
286
|
+
retainedReceiptIds?: string[];
|
|
280
287
|
connector: string;
|
|
281
288
|
eventId: string;
|
|
282
289
|
agent: string;
|
|
@@ -293,6 +300,7 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
293
300
|
eventId?: string | undefined;
|
|
294
301
|
externalEventId?: string | undefined;
|
|
295
302
|
conversationId?: string | undefined;
|
|
303
|
+
retainedReceiptIds?: string[] | undefined;
|
|
296
304
|
currentUser?: {
|
|
297
305
|
content: string;
|
|
298
306
|
id?: string | undefined;
|
|
@@ -300,15 +308,15 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
|
|
|
300
308
|
} | undefined;
|
|
301
309
|
currentUserPrompt?: string | undefined;
|
|
302
310
|
scope?: {
|
|
311
|
+
repo?: string | undefined;
|
|
303
312
|
path?: string | undefined;
|
|
304
313
|
project?: string | undefined;
|
|
305
|
-
repo?: string | undefined;
|
|
306
314
|
component?: string | undefined;
|
|
307
315
|
} | undefined;
|
|
308
316
|
learningScope?: {
|
|
317
|
+
repo?: string | undefined;
|
|
309
318
|
path?: string | undefined;
|
|
310
319
|
project?: string | undefined;
|
|
311
|
-
repo?: string | undefined;
|
|
312
320
|
component?: string | undefined;
|
|
313
321
|
} | undefined;
|
|
314
322
|
project?: string | undefined;
|
|
@@ -332,15 +340,15 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
332
340
|
sessionId: z.ZodString;
|
|
333
341
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
334
342
|
scope: z.ZodOptional<z.ZodObject<{
|
|
343
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
335
344
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
336
345
|
project: z.ZodOptional<z.ZodString>;
|
|
337
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
338
346
|
component: z.ZodOptional<z.ZodString>;
|
|
339
347
|
}, z.core.$strict>>;
|
|
340
348
|
learningScope: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
341
350
|
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
342
351
|
project: z.ZodOptional<z.ZodString>;
|
|
343
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
344
352
|
component: z.ZodOptional<z.ZodString>;
|
|
345
353
|
}, z.core.$strict>>;
|
|
346
354
|
task: z.ZodOptional<z.ZodString>;
|
|
@@ -362,9 +370,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
362
370
|
}, z.core.$strict>, z.ZodTransform<{
|
|
363
371
|
eventId: string;
|
|
364
372
|
learningScope: {
|
|
373
|
+
repo?: string | undefined;
|
|
365
374
|
path?: string | undefined;
|
|
366
375
|
project?: string | undefined;
|
|
367
|
-
repo?: string | undefined;
|
|
368
376
|
component?: string | undefined;
|
|
369
377
|
};
|
|
370
378
|
connector: string;
|
|
@@ -379,9 +387,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
379
387
|
occurredAt: string;
|
|
380
388
|
conversationId?: string | undefined;
|
|
381
389
|
scope?: {
|
|
390
|
+
repo?: string | undefined;
|
|
382
391
|
path?: string | undefined;
|
|
383
392
|
project?: string | undefined;
|
|
384
|
-
repo?: string | undefined;
|
|
385
393
|
component?: string | undefined;
|
|
386
394
|
} | undefined;
|
|
387
395
|
task?: string | undefined;
|
|
@@ -403,15 +411,15 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
|
403
411
|
externalEventId?: string | undefined;
|
|
404
412
|
conversationId?: string | undefined;
|
|
405
413
|
scope?: {
|
|
414
|
+
repo?: string | undefined;
|
|
406
415
|
path?: string | undefined;
|
|
407
416
|
project?: string | undefined;
|
|
408
|
-
repo?: string | undefined;
|
|
409
417
|
component?: string | undefined;
|
|
410
418
|
} | undefined;
|
|
411
419
|
learningScope?: {
|
|
420
|
+
repo?: string | undefined;
|
|
412
421
|
path?: string | undefined;
|
|
413
422
|
project?: string | undefined;
|
|
414
|
-
repo?: string | undefined;
|
|
415
423
|
component?: string | undefined;
|
|
416
424
|
} | undefined;
|
|
417
425
|
task?: string | undefined;
|
|
@@ -442,6 +450,7 @@ export declare const ContextDeliveryRequestSchema: z.ZodObject<{
|
|
|
442
450
|
connector: z.ZodString;
|
|
443
451
|
eventId: z.ZodString;
|
|
444
452
|
sessionId: z.ZodString;
|
|
453
|
+
retainedReceiptIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
445
454
|
task: z.ZodObject<{
|
|
446
455
|
agent: z.ZodString;
|
|
447
456
|
scope: z.ZodOptional<z.ZodObject<{
|
|
@@ -615,8 +624,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
615
624
|
other: "other";
|
|
616
625
|
}>;
|
|
617
626
|
status: z.ZodEnum<{
|
|
618
|
-
active: "active";
|
|
619
627
|
proposed: "proposed";
|
|
628
|
+
active: "active";
|
|
620
629
|
suppressed: "suppressed";
|
|
621
630
|
superseded: "superseded";
|
|
622
631
|
deleted: "deleted";
|
|
@@ -638,8 +647,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
638
647
|
explicit: "explicit";
|
|
639
648
|
}>>;
|
|
640
649
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
641
|
-
advisory: "advisory";
|
|
642
650
|
required: "required";
|
|
651
|
+
advisory: "advisory";
|
|
643
652
|
}>>;
|
|
644
653
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
645
654
|
fingerprint: z.ZodString;
|
|
@@ -737,8 +746,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
737
746
|
other: "other";
|
|
738
747
|
}>;
|
|
739
748
|
status: z.ZodEnum<{
|
|
740
|
-
active: "active";
|
|
741
749
|
proposed: "proposed";
|
|
750
|
+
active: "active";
|
|
742
751
|
suppressed: "suppressed";
|
|
743
752
|
superseded: "superseded";
|
|
744
753
|
deleted: "deleted";
|
|
@@ -760,8 +769,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
760
769
|
explicit: "explicit";
|
|
761
770
|
}>>;
|
|
762
771
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
763
|
-
advisory: "advisory";
|
|
764
772
|
required: "required";
|
|
773
|
+
advisory: "advisory";
|
|
765
774
|
}>>;
|
|
766
775
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
767
776
|
fingerprint: z.ZodString;
|
|
@@ -794,8 +803,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
794
803
|
other: "other";
|
|
795
804
|
}>;
|
|
796
805
|
status: z.ZodEnum<{
|
|
797
|
-
active: "active";
|
|
798
806
|
proposed: "proposed";
|
|
807
|
+
active: "active";
|
|
799
808
|
suppressed: "suppressed";
|
|
800
809
|
superseded: "superseded";
|
|
801
810
|
deleted: "deleted";
|
|
@@ -817,8 +826,8 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
|
|
|
817
826
|
explicit: "explicit";
|
|
818
827
|
}>>;
|
|
819
828
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
820
|
-
advisory: "advisory";
|
|
821
829
|
required: "required";
|
|
830
|
+
advisory: "advisory";
|
|
822
831
|
}>>;
|
|
823
832
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
824
833
|
fingerprint: z.ZodString;
|
|
@@ -1045,8 +1054,8 @@ export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
|
|
|
1045
1054
|
other: "other";
|
|
1046
1055
|
}>;
|
|
1047
1056
|
status: z.ZodEnum<{
|
|
1048
|
-
active: "active";
|
|
1049
1057
|
proposed: "proposed";
|
|
1058
|
+
active: "active";
|
|
1050
1059
|
suppressed: "suppressed";
|
|
1051
1060
|
superseded: "superseded";
|
|
1052
1061
|
deleted: "deleted";
|
|
@@ -1068,8 +1077,8 @@ export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
|
|
|
1068
1077
|
explicit: "explicit";
|
|
1069
1078
|
}>>;
|
|
1070
1079
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1071
|
-
advisory: "advisory";
|
|
1072
1080
|
required: "required";
|
|
1081
|
+
advisory: "advisory";
|
|
1073
1082
|
}>>;
|
|
1074
1083
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1075
1084
|
fingerprint: z.ZodString;
|
|
@@ -1131,8 +1140,8 @@ export declare const DeliveryFeedbackResponseSchema: z.ZodObject<{
|
|
|
1131
1140
|
other: "other";
|
|
1132
1141
|
}>;
|
|
1133
1142
|
status: z.ZodEnum<{
|
|
1134
|
-
active: "active";
|
|
1135
1143
|
proposed: "proposed";
|
|
1144
|
+
active: "active";
|
|
1136
1145
|
suppressed: "suppressed";
|
|
1137
1146
|
superseded: "superseded";
|
|
1138
1147
|
deleted: "deleted";
|
|
@@ -1154,8 +1163,8 @@ export declare const DeliveryFeedbackResponseSchema: z.ZodObject<{
|
|
|
1154
1163
|
explicit: "explicit";
|
|
1155
1164
|
}>>;
|
|
1156
1165
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1157
|
-
advisory: "advisory";
|
|
1158
1166
|
required: "required";
|
|
1167
|
+
advisory: "advisory";
|
|
1159
1168
|
}>>;
|
|
1160
1169
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1161
1170
|
fingerprint: z.ZodString;
|
|
@@ -1266,8 +1275,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1266
1275
|
other: "other";
|
|
1267
1276
|
}>;
|
|
1268
1277
|
status: z.ZodEnum<{
|
|
1269
|
-
active: "active";
|
|
1270
1278
|
proposed: "proposed";
|
|
1279
|
+
active: "active";
|
|
1271
1280
|
suppressed: "suppressed";
|
|
1272
1281
|
superseded: "superseded";
|
|
1273
1282
|
deleted: "deleted";
|
|
@@ -1289,8 +1298,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1289
1298
|
explicit: "explicit";
|
|
1290
1299
|
}>>;
|
|
1291
1300
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1292
|
-
advisory: "advisory";
|
|
1293
1301
|
required: "required";
|
|
1302
|
+
advisory: "advisory";
|
|
1294
1303
|
}>>;
|
|
1295
1304
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1296
1305
|
fingerprint: z.ZodString;
|
|
@@ -1324,8 +1333,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1324
1333
|
other: "other";
|
|
1325
1334
|
}>;
|
|
1326
1335
|
status: z.ZodEnum<{
|
|
1327
|
-
active: "active";
|
|
1328
1336
|
proposed: "proposed";
|
|
1337
|
+
active: "active";
|
|
1329
1338
|
suppressed: "suppressed";
|
|
1330
1339
|
superseded: "superseded";
|
|
1331
1340
|
deleted: "deleted";
|
|
@@ -1347,8 +1356,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1347
1356
|
explicit: "explicit";
|
|
1348
1357
|
}>>;
|
|
1349
1358
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1350
|
-
advisory: "advisory";
|
|
1351
1359
|
required: "required";
|
|
1360
|
+
advisory: "advisory";
|
|
1352
1361
|
}>>;
|
|
1353
1362
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1354
1363
|
fingerprint: z.ZodString;
|
|
@@ -1383,17 +1392,17 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1383
1392
|
}>>;
|
|
1384
1393
|
matchedTerms: z.ZodArray<z.ZodString>;
|
|
1385
1394
|
provenance: z.ZodObject<{
|
|
1386
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1387
1395
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
1388
1396
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
1389
1397
|
agent: z.ZodString;
|
|
1398
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
1390
1399
|
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1391
1400
|
userId: z.ZodOptional<z.ZodUUID>;
|
|
1392
1401
|
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
1393
1402
|
}, z.core.$strict>;
|
|
1394
1403
|
status: z.ZodEnum<{
|
|
1395
|
-
active: "active";
|
|
1396
1404
|
proposed: "proposed";
|
|
1405
|
+
active: "active";
|
|
1397
1406
|
suppressed: "suppressed";
|
|
1398
1407
|
superseded: "superseded";
|
|
1399
1408
|
deleted: "deleted";
|
|
@@ -1443,6 +1452,13 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1443
1452
|
}, z.core.$strict>;
|
|
1444
1453
|
export type ContextDeliveryResponse = z.infer<typeof ContextDeliveryResponseSchema>;
|
|
1445
1454
|
export declare const ActivityMemorySchema: z.ZodObject<{
|
|
1455
|
+
status: z.ZodEnum<{
|
|
1456
|
+
proposed: "proposed";
|
|
1457
|
+
active: "active";
|
|
1458
|
+
suppressed: "suppressed";
|
|
1459
|
+
superseded: "superseded";
|
|
1460
|
+
deleted: "deleted";
|
|
1461
|
+
}>;
|
|
1446
1462
|
id: z.ZodUUID;
|
|
1447
1463
|
content: z.ZodString;
|
|
1448
1464
|
category: z.ZodEnum<{
|
|
@@ -1456,13 +1472,6 @@ export declare const ActivityMemorySchema: z.ZodObject<{
|
|
|
1456
1472
|
review_feedback: "review_feedback";
|
|
1457
1473
|
other: "other";
|
|
1458
1474
|
}>;
|
|
1459
|
-
status: z.ZodEnum<{
|
|
1460
|
-
active: "active";
|
|
1461
|
-
proposed: "proposed";
|
|
1462
|
-
suppressed: "suppressed";
|
|
1463
|
-
superseded: "superseded";
|
|
1464
|
-
deleted: "deleted";
|
|
1465
|
-
}>;
|
|
1466
1475
|
}, z.core.$strict>;
|
|
1467
1476
|
export type ActivityMemory = z.infer<typeof ActivityMemorySchema>;
|
|
1468
1477
|
/** The workspace member a contribution is attributed to. */
|
|
@@ -1501,6 +1510,13 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1501
1510
|
}, z.core.$strict>>;
|
|
1502
1511
|
correction: z.ZodString;
|
|
1503
1512
|
learnedMemories: z.ZodArray<z.ZodObject<{
|
|
1513
|
+
status: z.ZodEnum<{
|
|
1514
|
+
proposed: "proposed";
|
|
1515
|
+
active: "active";
|
|
1516
|
+
suppressed: "suppressed";
|
|
1517
|
+
superseded: "superseded";
|
|
1518
|
+
deleted: "deleted";
|
|
1519
|
+
}>;
|
|
1504
1520
|
id: z.ZodUUID;
|
|
1505
1521
|
content: z.ZodString;
|
|
1506
1522
|
category: z.ZodEnum<{
|
|
@@ -1514,15 +1530,15 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1514
1530
|
review_feedback: "review_feedback";
|
|
1515
1531
|
other: "other";
|
|
1516
1532
|
}>;
|
|
1533
|
+
}, z.core.$strict>>;
|
|
1534
|
+
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1517
1535
|
status: z.ZodEnum<{
|
|
1518
|
-
active: "active";
|
|
1519
1536
|
proposed: "proposed";
|
|
1537
|
+
active: "active";
|
|
1520
1538
|
suppressed: "suppressed";
|
|
1521
1539
|
superseded: "superseded";
|
|
1522
1540
|
deleted: "deleted";
|
|
1523
1541
|
}>;
|
|
1524
|
-
}, z.core.$strict>>;
|
|
1525
|
-
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1526
1542
|
id: z.ZodUUID;
|
|
1527
1543
|
content: z.ZodString;
|
|
1528
1544
|
category: z.ZodEnum<{
|
|
@@ -1536,13 +1552,6 @@ export declare const ActivityItemSchema: z.ZodObject<{
|
|
|
1536
1552
|
review_feedback: "review_feedback";
|
|
1537
1553
|
other: "other";
|
|
1538
1554
|
}>;
|
|
1539
|
-
status: z.ZodEnum<{
|
|
1540
|
-
active: "active";
|
|
1541
|
-
proposed: "proposed";
|
|
1542
|
-
suppressed: "suppressed";
|
|
1543
|
-
superseded: "superseded";
|
|
1544
|
-
deleted: "deleted";
|
|
1545
|
-
}>;
|
|
1546
1555
|
}, z.core.$strict>>;
|
|
1547
1556
|
receipt: z.ZodNullable<z.ZodObject<{
|
|
1548
1557
|
id: z.ZodUUID;
|
|
@@ -1662,6 +1671,13 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1662
1671
|
}, z.core.$strict>>;
|
|
1663
1672
|
correction: z.ZodString;
|
|
1664
1673
|
learnedMemories: z.ZodArray<z.ZodObject<{
|
|
1674
|
+
status: z.ZodEnum<{
|
|
1675
|
+
proposed: "proposed";
|
|
1676
|
+
active: "active";
|
|
1677
|
+
suppressed: "suppressed";
|
|
1678
|
+
superseded: "superseded";
|
|
1679
|
+
deleted: "deleted";
|
|
1680
|
+
}>;
|
|
1665
1681
|
id: z.ZodUUID;
|
|
1666
1682
|
content: z.ZodString;
|
|
1667
1683
|
category: z.ZodEnum<{
|
|
@@ -1675,15 +1691,15 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1675
1691
|
review_feedback: "review_feedback";
|
|
1676
1692
|
other: "other";
|
|
1677
1693
|
}>;
|
|
1694
|
+
}, z.core.$strict>>;
|
|
1695
|
+
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1678
1696
|
status: z.ZodEnum<{
|
|
1679
|
-
active: "active";
|
|
1680
1697
|
proposed: "proposed";
|
|
1698
|
+
active: "active";
|
|
1681
1699
|
suppressed: "suppressed";
|
|
1682
1700
|
superseded: "superseded";
|
|
1683
1701
|
deleted: "deleted";
|
|
1684
1702
|
}>;
|
|
1685
|
-
}, z.core.$strict>>;
|
|
1686
|
-
deliveredMemories: z.ZodArray<z.ZodObject<{
|
|
1687
1703
|
id: z.ZodUUID;
|
|
1688
1704
|
content: z.ZodString;
|
|
1689
1705
|
category: z.ZodEnum<{
|
|
@@ -1697,13 +1713,6 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
|
|
|
1697
1713
|
review_feedback: "review_feedback";
|
|
1698
1714
|
other: "other";
|
|
1699
1715
|
}>;
|
|
1700
|
-
status: z.ZodEnum<{
|
|
1701
|
-
active: "active";
|
|
1702
|
-
proposed: "proposed";
|
|
1703
|
-
suppressed: "suppressed";
|
|
1704
|
-
superseded: "superseded";
|
|
1705
|
-
deleted: "deleted";
|
|
1706
|
-
}>;
|
|
1707
1716
|
}, z.core.$strict>>;
|
|
1708
1717
|
receipt: z.ZodNullable<z.ZodObject<{
|
|
1709
1718
|
id: z.ZodUUID;
|
|
@@ -1803,8 +1812,8 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1803
1812
|
other: "other";
|
|
1804
1813
|
}>;
|
|
1805
1814
|
status: z.ZodEnum<{
|
|
1806
|
-
active: "active";
|
|
1807
1815
|
proposed: "proposed";
|
|
1816
|
+
active: "active";
|
|
1808
1817
|
suppressed: "suppressed";
|
|
1809
1818
|
superseded: "superseded";
|
|
1810
1819
|
deleted: "deleted";
|
|
@@ -1826,8 +1835,8 @@ export declare const TurnObservationSchema: z.ZodObject<{
|
|
|
1826
1835
|
explicit: "explicit";
|
|
1827
1836
|
}>>;
|
|
1828
1837
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1829
|
-
advisory: "advisory";
|
|
1830
1838
|
required: "required";
|
|
1839
|
+
advisory: "advisory";
|
|
1831
1840
|
}>>;
|
|
1832
1841
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1833
1842
|
fingerprint: z.ZodString;
|
|
@@ -1867,8 +1876,8 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
1867
1876
|
other: "other";
|
|
1868
1877
|
}>;
|
|
1869
1878
|
status: z.ZodEnum<{
|
|
1870
|
-
active: "active";
|
|
1871
1879
|
proposed: "proposed";
|
|
1880
|
+
active: "active";
|
|
1872
1881
|
suppressed: "suppressed";
|
|
1873
1882
|
superseded: "superseded";
|
|
1874
1883
|
deleted: "deleted";
|
|
@@ -1890,8 +1899,8 @@ export declare const ObservationResponseSchema: z.ZodObject<{
|
|
|
1890
1899
|
explicit: "explicit";
|
|
1891
1900
|
}>>;
|
|
1892
1901
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
1893
|
-
advisory: "advisory";
|
|
1894
1902
|
required: "required";
|
|
1903
|
+
advisory: "advisory";
|
|
1895
1904
|
}>>;
|
|
1896
1905
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1897
1906
|
fingerprint: z.ZodString;
|
|
@@ -1977,8 +1986,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
1977
1986
|
other: "other";
|
|
1978
1987
|
}>;
|
|
1979
1988
|
status: z.ZodEnum<{
|
|
1980
|
-
active: "active";
|
|
1981
1989
|
proposed: "proposed";
|
|
1990
|
+
active: "active";
|
|
1982
1991
|
suppressed: "suppressed";
|
|
1983
1992
|
superseded: "superseded";
|
|
1984
1993
|
deleted: "deleted";
|
|
@@ -2000,8 +2009,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2000
2009
|
explicit: "explicit";
|
|
2001
2010
|
}>>;
|
|
2002
2011
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2003
|
-
advisory: "advisory";
|
|
2004
2012
|
required: "required";
|
|
2013
|
+
advisory: "advisory";
|
|
2005
2014
|
}>>;
|
|
2006
2015
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2007
2016
|
fingerprint: z.ZodString;
|
|
@@ -2040,8 +2049,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2040
2049
|
other: "other";
|
|
2041
2050
|
}>;
|
|
2042
2051
|
status: z.ZodEnum<{
|
|
2043
|
-
active: "active";
|
|
2044
2052
|
proposed: "proposed";
|
|
2053
|
+
active: "active";
|
|
2045
2054
|
suppressed: "suppressed";
|
|
2046
2055
|
superseded: "superseded";
|
|
2047
2056
|
deleted: "deleted";
|
|
@@ -2063,8 +2072,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2063
2072
|
explicit: "explicit";
|
|
2064
2073
|
}>>;
|
|
2065
2074
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2066
|
-
advisory: "advisory";
|
|
2067
2075
|
required: "required";
|
|
2076
|
+
advisory: "advisory";
|
|
2068
2077
|
}>>;
|
|
2069
2078
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2070
2079
|
fingerprint: z.ZodString;
|
|
@@ -2098,8 +2107,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2098
2107
|
other: "other";
|
|
2099
2108
|
}>;
|
|
2100
2109
|
status: z.ZodEnum<{
|
|
2101
|
-
active: "active";
|
|
2102
2110
|
proposed: "proposed";
|
|
2111
|
+
active: "active";
|
|
2103
2112
|
suppressed: "suppressed";
|
|
2104
2113
|
superseded: "superseded";
|
|
2105
2114
|
deleted: "deleted";
|
|
@@ -2121,8 +2130,8 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2121
2130
|
explicit: "explicit";
|
|
2122
2131
|
}>>;
|
|
2123
2132
|
enforcement: z.ZodOptional<z.ZodEnum<{
|
|
2124
|
-
advisory: "advisory";
|
|
2125
2133
|
required: "required";
|
|
2134
|
+
advisory: "advisory";
|
|
2126
2135
|
}>>;
|
|
2127
2136
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2128
2137
|
fingerprint: z.ZodString;
|
|
@@ -2157,17 +2166,17 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
|
|
|
2157
2166
|
}>>;
|
|
2158
2167
|
matchedTerms: z.ZodArray<z.ZodString>;
|
|
2159
2168
|
provenance: z.ZodObject<{
|
|
2160
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
2161
2169
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2162
2170
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
2163
2171
|
agent: z.ZodString;
|
|
2172
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
2164
2173
|
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2165
2174
|
userId: z.ZodOptional<z.ZodUUID>;
|
|
2166
2175
|
redacted: z.ZodOptional<z.ZodBoolean>;
|
|
2167
2176
|
}, z.core.$strict>;
|
|
2168
2177
|
status: z.ZodEnum<{
|
|
2169
|
-
active: "active";
|
|
2170
2178
|
proposed: "proposed";
|
|
2179
|
+
active: "active";
|
|
2171
2180
|
suppressed: "suppressed";
|
|
2172
2181
|
superseded: "superseded";
|
|
2173
2182
|
deleted: "deleted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pilot-schemas.d.ts","sourceRoot":"","sources":["../src/pilot-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,qBAAqB;;;EAAiC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe;;;;;;;;;;;kBAUjB,CAAC;AACZ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,0BAA0B;;;;;;;;;kBAW5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,0BAA0B,CAClC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;kBAM9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;EAIlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,eAAe;;;;;kBAE1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,mBAAmB,aAKI,CAAC;AAErC,eAAO,MAAM,uBAAuB;;;;kBAMzB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"pilot-schemas.d.ts","sourceRoot":"","sources":["../src/pilot-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,qBAAqB;;;EAA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B;;;;;;kBAMvB,CAAC;AACZ,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgB1B,CAAC;AACZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/pilot-schemas.js
CHANGED
|
@@ -52,6 +52,8 @@ export const PairedTurnMessageSchema = z
|
|
|
52
52
|
timestamp: z.iso.datetime({ offset: true }).optional(),
|
|
53
53
|
})
|
|
54
54
|
.strict();
|
|
55
|
+
/** Receipts whose context the host confirms is still present in this conversation. */
|
|
56
|
+
export const RetainedReceiptIdsSchema = z.array(z.uuid()).max(100);
|
|
55
57
|
const PairedTurnMessageInputSchema = z
|
|
56
58
|
.union([z.string().trim().min(1).max(100_000), PairedTurnMessageSchema])
|
|
57
59
|
.transform((value) => typeof value === "string" ? { content: value } : value);
|
|
@@ -63,6 +65,7 @@ const RawPairedTurnRequestSchema = z
|
|
|
63
65
|
agent: z.string().trim().min(1).max(100),
|
|
64
66
|
sessionId: z.string().trim().min(1).max(500),
|
|
65
67
|
conversationId: z.string().trim().min(1).max(500).optional(),
|
|
68
|
+
retainedReceiptIds: RetainedReceiptIdsSchema.optional(),
|
|
66
69
|
previousAssistant: PairedTurnMessageInputSchema,
|
|
67
70
|
currentUser: PairedTurnMessageInputSchema.optional(),
|
|
68
71
|
currentUserPrompt: z.string().trim().min(1).max(100_000).optional(),
|
|
@@ -132,6 +135,7 @@ export const PairedTurnRequestSchema = RawPairedTurnRequestSchema.transform((inp
|
|
|
132
135
|
eventId,
|
|
133
136
|
agent: input.agent,
|
|
134
137
|
sessionId: input.sessionId,
|
|
138
|
+
...(input.retainedReceiptIds === undefined ? {} : { retainedReceiptIds: input.retainedReceiptIds }),
|
|
135
139
|
...(input.conversationId === undefined
|
|
136
140
|
? {}
|
|
137
141
|
: { conversationId: input.conversationId }),
|
|
@@ -232,6 +236,7 @@ export const ContextDeliveryRequestSchema = z
|
|
|
232
236
|
connector: ConnectorNameSchema,
|
|
233
237
|
eventId: z.string().trim().min(1).max(500),
|
|
234
238
|
sessionId: z.string().trim().min(1).max(500),
|
|
239
|
+
retainedReceiptIds: RetainedReceiptIdsSchema.optional(),
|
|
235
240
|
task: AgentTaskSchema,
|
|
236
241
|
})
|
|
237
242
|
.strict();
|