@lore-co/core 0.2.13 → 0.2.15
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/builtin-skills.d.ts +3 -0
- package/dist/builtin-skills.d.ts.map +1 -0
- package/dist/builtin-skills.js +4 -0
- package/dist/builtin-skills.js.map +1 -0
- package/dist/engine.d.ts +6 -1
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +44 -11
- package/dist/engine.js.map +1 -1
- package/dist/guard-evaluation.d.ts +24 -1
- package/dist/guard-evaluation.d.ts.map +1 -1
- package/dist/guard-evaluation.js +250 -25
- package/dist/guard-evaluation.js.map +1 -1
- package/dist/guard-schemas.d.ts +45 -12
- package/dist/guard-schemas.d.ts.map +1 -1
- package/dist/guard-schemas.js +3 -1
- package/dist/guard-schemas.js.map +1 -1
- package/dist/in-memory-repository.d.ts.map +1 -1
- package/dist/in-memory-repository.js +3 -1
- package/dist/in-memory-repository.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/injected-context.d.ts +2 -0
- package/dist/injected-context.d.ts.map +1 -1
- package/dist/injected-context.js +4 -0
- package/dist/injected-context.js.map +1 -1
- package/dist/integration-contract.d.ts +16 -16
- package/dist/knowledge-quality.d.ts.map +1 -1
- package/dist/knowledge-quality.js +3 -0
- package/dist/knowledge-quality.js.map +1 -1
- package/dist/learning-drafts.d.ts +8 -0
- package/dist/learning-drafts.d.ts.map +1 -1
- package/dist/learning-drafts.js +1 -0
- package/dist/learning-drafts.js.map +1 -1
- package/dist/local-scope.d.ts +2 -0
- package/dist/local-scope.d.ts.map +1 -1
- package/dist/local-scope.js +4 -1
- package/dist/local-scope.js.map +1 -1
- package/dist/pilot-schemas.d.ts +197 -1
- package/dist/pilot-schemas.d.ts.map +1 -1
- package/dist/pilot-schemas.js +7 -0
- package/dist/pilot-schemas.js.map +1 -1
- package/dist/prepared-context.d.ts +1 -0
- package/dist/prepared-context.d.ts.map +1 -1
- package/dist/prepared-context.js +7 -2
- package/dist/prepared-context.js.map +1 -1
- package/dist/product-usage.d.ts +2 -2
- package/dist/reliability-schemas.d.ts +3 -3
- package/dist/repository-location.d.ts +2 -0
- package/dist/repository-location.d.ts.map +1 -1
- package/dist/repository-location.js +76 -0
- package/dist/repository-location.js.map +1 -1
- package/dist/schemas.d.ts +596 -4
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +10 -1
- package/dist/schemas.js.map +1 -1
- package/dist/session-purpose.d.ts +2 -0
- package/dist/session-purpose.d.ts.map +1 -1
- package/dist/session-purpose.js +12 -0
- package/dist/session-purpose.js.map +1 -1
- package/dist/session-schemas.d.ts +83 -12
- package/dist/session-schemas.d.ts.map +1 -1
- package/dist/session-schemas.js +5 -0
- package/dist/session-schemas.js.map +1 -1
- package/dist/skill-context.d.ts +7 -0
- package/dist/skill-context.d.ts.map +1 -0
- package/dist/skill-context.js +35 -0
- package/dist/skill-context.js.map +1 -0
- package/dist/skills.d.ts +206 -0
- package/dist/skills.d.ts.map +1 -0
- package/dist/skills.js +129 -0
- package/dist/skills.js.map +1 -0
- package/dist/snapshot-schemas.d.ts +350 -2
- package/dist/snapshot-schemas.d.ts.map +1 -1
- package/dist/snapshot-schemas.js +4 -1
- package/dist/snapshot-schemas.js.map +1 -1
- package/package.json +7 -2
|
@@ -75,7 +75,7 @@ export declare const SignedContextPayloadSchema: z.ZodObject<{
|
|
|
75
75
|
organization: z.ZodOptional<z.ZodString>;
|
|
76
76
|
project: z.ZodOptional<z.ZodString>;
|
|
77
77
|
repo: z.ZodOptional<z.ZodString>;
|
|
78
|
-
path: z.ZodOptional<z.ZodString
|
|
78
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
79
79
|
component: z.ZodOptional<z.ZodString>;
|
|
80
80
|
task: z.ZodString;
|
|
81
81
|
diff: z.ZodOptional<z.ZodString>;
|
|
@@ -89,6 +89,8 @@ export declare const SignedContextPayloadSchema: z.ZodObject<{
|
|
|
89
89
|
receiptId: z.ZodUUID;
|
|
90
90
|
deliveredAt: z.ZodISODateTime;
|
|
91
91
|
context: z.ZodString;
|
|
92
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
93
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
92
94
|
memories: z.ZodArray<z.ZodObject<{
|
|
93
95
|
id: z.ZodUUID;
|
|
94
96
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -138,6 +140,22 @@ export declare const SignedContextPayloadSchema: z.ZodObject<{
|
|
|
138
140
|
required: "required";
|
|
139
141
|
advisory: "advisory";
|
|
140
142
|
}>>;
|
|
143
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
144
|
+
version: z.ZodLiteral<1>;
|
|
145
|
+
action: z.ZodLiteral<"push">;
|
|
146
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
+
version: z.ZodLiteral<1>;
|
|
149
|
+
action: z.ZodLiteral<"edit">;
|
|
150
|
+
path: z.ZodString;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
version: z.ZodLiteral<1>;
|
|
153
|
+
action: z.ZodEnum<{
|
|
154
|
+
shell: "shell";
|
|
155
|
+
deploy: "deploy";
|
|
156
|
+
commit: "commit";
|
|
157
|
+
}>;
|
|
158
|
+
}, z.core.$strict>], "action">>>;
|
|
141
159
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
142
160
|
fingerprint: z.ZodString;
|
|
143
161
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -196,6 +214,22 @@ export declare const SignedContextPayloadSchema: z.ZodObject<{
|
|
|
196
214
|
required: "required";
|
|
197
215
|
advisory: "advisory";
|
|
198
216
|
}>>;
|
|
217
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
218
|
+
version: z.ZodLiteral<1>;
|
|
219
|
+
action: z.ZodLiteral<"push">;
|
|
220
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
222
|
+
version: z.ZodLiteral<1>;
|
|
223
|
+
action: z.ZodLiteral<"edit">;
|
|
224
|
+
path: z.ZodString;
|
|
225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
226
|
+
version: z.ZodLiteral<1>;
|
|
227
|
+
action: z.ZodEnum<{
|
|
228
|
+
shell: "shell";
|
|
229
|
+
deploy: "deploy";
|
|
230
|
+
commit: "commit";
|
|
231
|
+
}>;
|
|
232
|
+
}, z.core.$strict>], "action">>>;
|
|
199
233
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
200
234
|
fingerprint: z.ZodString;
|
|
201
235
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -307,6 +341,22 @@ export declare const SnapshotRuleProvenanceSchema: z.ZodObject<{
|
|
|
307
341
|
}, z.core.$strict>;
|
|
308
342
|
export type SnapshotRuleProvenance = z.infer<typeof SnapshotRuleProvenanceSchema>;
|
|
309
343
|
export declare const SnapshotRequiredRuleSchema: z.ZodObject<{
|
|
344
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
345
|
+
version: z.ZodLiteral<1>;
|
|
346
|
+
action: z.ZodLiteral<"push">;
|
|
347
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
349
|
+
version: z.ZodLiteral<1>;
|
|
350
|
+
action: z.ZodLiteral<"edit">;
|
|
351
|
+
path: z.ZodString;
|
|
352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
+
version: z.ZodLiteral<1>;
|
|
354
|
+
action: z.ZodEnum<{
|
|
355
|
+
shell: "shell";
|
|
356
|
+
deploy: "deploy";
|
|
357
|
+
commit: "commit";
|
|
358
|
+
}>;
|
|
359
|
+
}, z.core.$strict>], "action">>>;
|
|
310
360
|
id: z.ZodUUID;
|
|
311
361
|
fingerprint: z.ZodString;
|
|
312
362
|
content: z.ZodString;
|
|
@@ -360,6 +410,22 @@ export declare const SignedGuardPolicyPayloadSchema: z.ZodObject<{
|
|
|
360
410
|
updatedAt: z.ZodISODateTime;
|
|
361
411
|
}, z.core.$strict>>;
|
|
362
412
|
requiredRules: z.ZodArray<z.ZodObject<{
|
|
413
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
414
|
+
version: z.ZodLiteral<1>;
|
|
415
|
+
action: z.ZodLiteral<"push">;
|
|
416
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
418
|
+
version: z.ZodLiteral<1>;
|
|
419
|
+
action: z.ZodLiteral<"edit">;
|
|
420
|
+
path: z.ZodString;
|
|
421
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
422
|
+
version: z.ZodLiteral<1>;
|
|
423
|
+
action: z.ZodEnum<{
|
|
424
|
+
shell: "shell";
|
|
425
|
+
deploy: "deploy";
|
|
426
|
+
commit: "commit";
|
|
427
|
+
}>;
|
|
428
|
+
}, z.core.$strict>], "action">>>;
|
|
363
429
|
id: z.ZodUUID;
|
|
364
430
|
fingerprint: z.ZodString;
|
|
365
431
|
content: z.ZodString;
|
|
@@ -425,7 +491,7 @@ export declare const SignedSnapshotPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
425
491
|
organization: z.ZodOptional<z.ZodString>;
|
|
426
492
|
project: z.ZodOptional<z.ZodString>;
|
|
427
493
|
repo: z.ZodOptional<z.ZodString>;
|
|
428
|
-
path: z.ZodOptional<z.ZodString
|
|
494
|
+
path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
|
|
429
495
|
component: z.ZodOptional<z.ZodString>;
|
|
430
496
|
task: z.ZodString;
|
|
431
497
|
diff: z.ZodOptional<z.ZodString>;
|
|
@@ -439,6 +505,8 @@ export declare const SignedSnapshotPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
439
505
|
receiptId: z.ZodUUID;
|
|
440
506
|
deliveredAt: z.ZodISODateTime;
|
|
441
507
|
context: z.ZodString;
|
|
508
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
509
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
442
510
|
memories: z.ZodArray<z.ZodObject<{
|
|
443
511
|
id: z.ZodUUID;
|
|
444
512
|
workspaceId: z.ZodOptional<z.ZodUUID>;
|
|
@@ -488,6 +556,22 @@ export declare const SignedSnapshotPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
488
556
|
required: "required";
|
|
489
557
|
advisory: "advisory";
|
|
490
558
|
}>>;
|
|
559
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
560
|
+
version: z.ZodLiteral<1>;
|
|
561
|
+
action: z.ZodLiteral<"push">;
|
|
562
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
563
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
564
|
+
version: z.ZodLiteral<1>;
|
|
565
|
+
action: z.ZodLiteral<"edit">;
|
|
566
|
+
path: z.ZodString;
|
|
567
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
568
|
+
version: z.ZodLiteral<1>;
|
|
569
|
+
action: z.ZodEnum<{
|
|
570
|
+
shell: "shell";
|
|
571
|
+
deploy: "deploy";
|
|
572
|
+
commit: "commit";
|
|
573
|
+
}>;
|
|
574
|
+
}, z.core.$strict>], "action">>>;
|
|
491
575
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
492
576
|
fingerprint: z.ZodString;
|
|
493
577
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -546,6 +630,22 @@ export declare const SignedSnapshotPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
546
630
|
required: "required";
|
|
547
631
|
advisory: "advisory";
|
|
548
632
|
}>>;
|
|
633
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
634
|
+
version: z.ZodLiteral<1>;
|
|
635
|
+
action: z.ZodLiteral<"push">;
|
|
636
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
637
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
638
|
+
version: z.ZodLiteral<1>;
|
|
639
|
+
action: z.ZodLiteral<"edit">;
|
|
640
|
+
path: z.ZodString;
|
|
641
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
642
|
+
version: z.ZodLiteral<1>;
|
|
643
|
+
action: z.ZodEnum<{
|
|
644
|
+
shell: "shell";
|
|
645
|
+
deploy: "deploy";
|
|
646
|
+
commit: "commit";
|
|
647
|
+
}>;
|
|
648
|
+
}, z.core.$strict>], "action">>>;
|
|
549
649
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
550
650
|
fingerprint: z.ZodString;
|
|
551
651
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -659,6 +759,22 @@ export declare const SignedSnapshotPayloadSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
659
759
|
updatedAt: z.ZodISODateTime;
|
|
660
760
|
}, z.core.$strict>>;
|
|
661
761
|
requiredRules: z.ZodArray<z.ZodObject<{
|
|
762
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
763
|
+
version: z.ZodLiteral<1>;
|
|
764
|
+
action: z.ZodLiteral<"push">;
|
|
765
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
767
|
+
version: z.ZodLiteral<1>;
|
|
768
|
+
action: z.ZodLiteral<"edit">;
|
|
769
|
+
path: z.ZodString;
|
|
770
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
771
|
+
version: z.ZodLiteral<1>;
|
|
772
|
+
action: z.ZodEnum<{
|
|
773
|
+
shell: "shell";
|
|
774
|
+
deploy: "deploy";
|
|
775
|
+
commit: "commit";
|
|
776
|
+
}>;
|
|
777
|
+
}, z.core.$strict>], "action">>>;
|
|
662
778
|
id: z.ZodUUID;
|
|
663
779
|
fingerprint: z.ZodString;
|
|
664
780
|
content: z.ZodString;
|
|
@@ -754,6 +870,22 @@ export declare const ReliableObservationResponseSchema: z.ZodObject<{
|
|
|
754
870
|
required: "required";
|
|
755
871
|
advisory: "advisory";
|
|
756
872
|
}>>;
|
|
873
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
874
|
+
version: z.ZodLiteral<1>;
|
|
875
|
+
action: z.ZodLiteral<"push">;
|
|
876
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
878
|
+
version: z.ZodLiteral<1>;
|
|
879
|
+
action: z.ZodLiteral<"edit">;
|
|
880
|
+
path: z.ZodString;
|
|
881
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
882
|
+
version: z.ZodLiteral<1>;
|
|
883
|
+
action: z.ZodEnum<{
|
|
884
|
+
shell: "shell";
|
|
885
|
+
deploy: "deploy";
|
|
886
|
+
commit: "commit";
|
|
887
|
+
}>;
|
|
888
|
+
}, z.core.$strict>], "action">>>;
|
|
757
889
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
758
890
|
fingerprint: z.ZodString;
|
|
759
891
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -974,6 +1106,22 @@ export declare const ReliableTurnResponseSchema: z.ZodObject<{
|
|
|
974
1106
|
required: "required";
|
|
975
1107
|
advisory: "advisory";
|
|
976
1108
|
}>>;
|
|
1109
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1110
|
+
version: z.ZodLiteral<1>;
|
|
1111
|
+
action: z.ZodLiteral<"push">;
|
|
1112
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1114
|
+
version: z.ZodLiteral<1>;
|
|
1115
|
+
action: z.ZodLiteral<"edit">;
|
|
1116
|
+
path: z.ZodString;
|
|
1117
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1118
|
+
version: z.ZodLiteral<1>;
|
|
1119
|
+
action: z.ZodEnum<{
|
|
1120
|
+
shell: "shell";
|
|
1121
|
+
deploy: "deploy";
|
|
1122
|
+
commit: "commit";
|
|
1123
|
+
}>;
|
|
1124
|
+
}, z.core.$strict>], "action">>>;
|
|
977
1125
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
978
1126
|
fingerprint: z.ZodString;
|
|
979
1127
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1037,6 +1185,22 @@ export declare const ReliableTurnResponseSchema: z.ZodObject<{
|
|
|
1037
1185
|
required: "required";
|
|
1038
1186
|
advisory: "advisory";
|
|
1039
1187
|
}>>;
|
|
1188
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1189
|
+
version: z.ZodLiteral<1>;
|
|
1190
|
+
action: z.ZodLiteral<"push">;
|
|
1191
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1193
|
+
version: z.ZodLiteral<1>;
|
|
1194
|
+
action: z.ZodLiteral<"edit">;
|
|
1195
|
+
path: z.ZodString;
|
|
1196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1197
|
+
version: z.ZodLiteral<1>;
|
|
1198
|
+
action: z.ZodEnum<{
|
|
1199
|
+
shell: "shell";
|
|
1200
|
+
deploy: "deploy";
|
|
1201
|
+
commit: "commit";
|
|
1202
|
+
}>;
|
|
1203
|
+
}, z.core.$strict>], "action">>>;
|
|
1040
1204
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1041
1205
|
fingerprint: z.ZodString;
|
|
1042
1206
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1095,6 +1259,22 @@ export declare const ReliableTurnResponseSchema: z.ZodObject<{
|
|
|
1095
1259
|
required: "required";
|
|
1096
1260
|
advisory: "advisory";
|
|
1097
1261
|
}>>;
|
|
1262
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1263
|
+
version: z.ZodLiteral<1>;
|
|
1264
|
+
action: z.ZodLiteral<"push">;
|
|
1265
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1267
|
+
version: z.ZodLiteral<1>;
|
|
1268
|
+
action: z.ZodLiteral<"edit">;
|
|
1269
|
+
path: z.ZodString;
|
|
1270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1271
|
+
version: z.ZodLiteral<1>;
|
|
1272
|
+
action: z.ZodEnum<{
|
|
1273
|
+
shell: "shell";
|
|
1274
|
+
deploy: "deploy";
|
|
1275
|
+
commit: "commit";
|
|
1276
|
+
}>;
|
|
1277
|
+
}, z.core.$strict>], "action">>>;
|
|
1098
1278
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1099
1279
|
fingerprint: z.ZodString;
|
|
1100
1280
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1157,6 +1337,8 @@ export declare const ReliableTurnResponseSchema: z.ZodObject<{
|
|
|
1157
1337
|
}, z.core.$strict>>;
|
|
1158
1338
|
}, z.core.$strict>>>;
|
|
1159
1339
|
text: z.ZodString;
|
|
1340
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
1160
1342
|
packing: z.ZodOptional<z.ZodObject<{
|
|
1161
1343
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
1162
1344
|
estimator: z.ZodLiteral<"utf8-bytes-div-3-v1">;
|
|
@@ -1557,6 +1739,22 @@ export declare const ReliableContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1557
1739
|
required: "required";
|
|
1558
1740
|
advisory: "advisory";
|
|
1559
1741
|
}>>;
|
|
1742
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1743
|
+
version: z.ZodLiteral<1>;
|
|
1744
|
+
action: z.ZodLiteral<"push">;
|
|
1745
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1747
|
+
version: z.ZodLiteral<1>;
|
|
1748
|
+
action: z.ZodLiteral<"edit">;
|
|
1749
|
+
path: z.ZodString;
|
|
1750
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1751
|
+
version: z.ZodLiteral<1>;
|
|
1752
|
+
action: z.ZodEnum<{
|
|
1753
|
+
shell: "shell";
|
|
1754
|
+
deploy: "deploy";
|
|
1755
|
+
commit: "commit";
|
|
1756
|
+
}>;
|
|
1757
|
+
}, z.core.$strict>], "action">>>;
|
|
1560
1758
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1561
1759
|
fingerprint: z.ZodString;
|
|
1562
1760
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1615,6 +1813,22 @@ export declare const ReliableContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1615
1813
|
required: "required";
|
|
1616
1814
|
advisory: "advisory";
|
|
1617
1815
|
}>>;
|
|
1816
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1817
|
+
version: z.ZodLiteral<1>;
|
|
1818
|
+
action: z.ZodLiteral<"push">;
|
|
1819
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1821
|
+
version: z.ZodLiteral<1>;
|
|
1822
|
+
action: z.ZodLiteral<"edit">;
|
|
1823
|
+
path: z.ZodString;
|
|
1824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1825
|
+
version: z.ZodLiteral<1>;
|
|
1826
|
+
action: z.ZodEnum<{
|
|
1827
|
+
shell: "shell";
|
|
1828
|
+
deploy: "deploy";
|
|
1829
|
+
commit: "commit";
|
|
1830
|
+
}>;
|
|
1831
|
+
}, z.core.$strict>], "action">>>;
|
|
1618
1832
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
1619
1833
|
fingerprint: z.ZodString;
|
|
1620
1834
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -1677,6 +1891,8 @@ export declare const ReliableContextDeliveryResponseSchema: z.ZodObject<{
|
|
|
1677
1891
|
}, z.core.$strict>>;
|
|
1678
1892
|
}, z.core.$strict>>>;
|
|
1679
1893
|
context: z.ZodString;
|
|
1894
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
1680
1896
|
packing: z.ZodObject<{
|
|
1681
1897
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
1682
1898
|
estimator: z.ZodLiteral<"utf8-bytes-div-3-v1">;
|
|
@@ -1906,6 +2122,22 @@ export declare const ReliableGuardCheckResponseSchema: z.ZodObject<{
|
|
|
1906
2122
|
}>;
|
|
1907
2123
|
relevant: z.ZodBoolean;
|
|
1908
2124
|
items: z.ZodArray<z.ZodObject<{
|
|
2125
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2126
|
+
version: z.ZodLiteral<1>;
|
|
2127
|
+
action: z.ZodLiteral<"push">;
|
|
2128
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2130
|
+
version: z.ZodLiteral<1>;
|
|
2131
|
+
action: z.ZodLiteral<"edit">;
|
|
2132
|
+
path: z.ZodString;
|
|
2133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2134
|
+
version: z.ZodLiteral<1>;
|
|
2135
|
+
action: z.ZodEnum<{
|
|
2136
|
+
shell: "shell";
|
|
2137
|
+
deploy: "deploy";
|
|
2138
|
+
commit: "commit";
|
|
2139
|
+
}>;
|
|
2140
|
+
}, z.core.$strict>], "action">>>;
|
|
1909
2141
|
memoryId: z.ZodUUID;
|
|
1910
2142
|
content: z.ZodString;
|
|
1911
2143
|
category: z.ZodEnum<{
|
|
@@ -2162,6 +2394,22 @@ export declare const ObservationReliabilityResponseSchema: z.ZodObject<{
|
|
|
2162
2394
|
required: "required";
|
|
2163
2395
|
advisory: "advisory";
|
|
2164
2396
|
}>>;
|
|
2397
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2398
|
+
version: z.ZodLiteral<1>;
|
|
2399
|
+
action: z.ZodLiteral<"push">;
|
|
2400
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2402
|
+
version: z.ZodLiteral<1>;
|
|
2403
|
+
action: z.ZodLiteral<"edit">;
|
|
2404
|
+
path: z.ZodString;
|
|
2405
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2406
|
+
version: z.ZodLiteral<1>;
|
|
2407
|
+
action: z.ZodEnum<{
|
|
2408
|
+
shell: "shell";
|
|
2409
|
+
deploy: "deploy";
|
|
2410
|
+
commit: "commit";
|
|
2411
|
+
}>;
|
|
2412
|
+
}, z.core.$strict>], "action">>>;
|
|
2165
2413
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2166
2414
|
fingerprint: z.ZodString;
|
|
2167
2415
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2381,6 +2629,22 @@ export declare const TurnReliabilityResponseSchema: z.ZodObject<{
|
|
|
2381
2629
|
required: "required";
|
|
2382
2630
|
advisory: "advisory";
|
|
2383
2631
|
}>>;
|
|
2632
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2633
|
+
version: z.ZodLiteral<1>;
|
|
2634
|
+
action: z.ZodLiteral<"push">;
|
|
2635
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2636
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2637
|
+
version: z.ZodLiteral<1>;
|
|
2638
|
+
action: z.ZodLiteral<"edit">;
|
|
2639
|
+
path: z.ZodString;
|
|
2640
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2641
|
+
version: z.ZodLiteral<1>;
|
|
2642
|
+
action: z.ZodEnum<{
|
|
2643
|
+
shell: "shell";
|
|
2644
|
+
deploy: "deploy";
|
|
2645
|
+
commit: "commit";
|
|
2646
|
+
}>;
|
|
2647
|
+
}, z.core.$strict>], "action">>>;
|
|
2384
2648
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2385
2649
|
fingerprint: z.ZodString;
|
|
2386
2650
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2444,6 +2708,22 @@ export declare const TurnReliabilityResponseSchema: z.ZodObject<{
|
|
|
2444
2708
|
required: "required";
|
|
2445
2709
|
advisory: "advisory";
|
|
2446
2710
|
}>>;
|
|
2711
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2712
|
+
version: z.ZodLiteral<1>;
|
|
2713
|
+
action: z.ZodLiteral<"push">;
|
|
2714
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2715
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2716
|
+
version: z.ZodLiteral<1>;
|
|
2717
|
+
action: z.ZodLiteral<"edit">;
|
|
2718
|
+
path: z.ZodString;
|
|
2719
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2720
|
+
version: z.ZodLiteral<1>;
|
|
2721
|
+
action: z.ZodEnum<{
|
|
2722
|
+
shell: "shell";
|
|
2723
|
+
deploy: "deploy";
|
|
2724
|
+
commit: "commit";
|
|
2725
|
+
}>;
|
|
2726
|
+
}, z.core.$strict>], "action">>>;
|
|
2447
2727
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2448
2728
|
fingerprint: z.ZodString;
|
|
2449
2729
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2502,6 +2782,22 @@ export declare const TurnReliabilityResponseSchema: z.ZodObject<{
|
|
|
2502
2782
|
required: "required";
|
|
2503
2783
|
advisory: "advisory";
|
|
2504
2784
|
}>>;
|
|
2785
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2786
|
+
version: z.ZodLiteral<1>;
|
|
2787
|
+
action: z.ZodLiteral<"push">;
|
|
2788
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2789
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2790
|
+
version: z.ZodLiteral<1>;
|
|
2791
|
+
action: z.ZodLiteral<"edit">;
|
|
2792
|
+
path: z.ZodString;
|
|
2793
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2794
|
+
version: z.ZodLiteral<1>;
|
|
2795
|
+
action: z.ZodEnum<{
|
|
2796
|
+
shell: "shell";
|
|
2797
|
+
deploy: "deploy";
|
|
2798
|
+
commit: "commit";
|
|
2799
|
+
}>;
|
|
2800
|
+
}, z.core.$strict>], "action">>>;
|
|
2505
2801
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2506
2802
|
fingerprint: z.ZodString;
|
|
2507
2803
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -2564,6 +2860,8 @@ export declare const TurnReliabilityResponseSchema: z.ZodObject<{
|
|
|
2564
2860
|
}, z.core.$strict>>;
|
|
2565
2861
|
}, z.core.$strict>>>;
|
|
2566
2862
|
text: z.ZodString;
|
|
2863
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
2864
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
2567
2865
|
packing: z.ZodOptional<z.ZodObject<{
|
|
2568
2866
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
2569
2867
|
estimator: z.ZodLiteral<"utf8-bytes-div-3-v1">;
|
|
@@ -2963,6 +3261,22 @@ export declare const ContextDeliveryReliabilityResponseSchema: z.ZodObject<{
|
|
|
2963
3261
|
required: "required";
|
|
2964
3262
|
advisory: "advisory";
|
|
2965
3263
|
}>>;
|
|
3264
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3265
|
+
version: z.ZodLiteral<1>;
|
|
3266
|
+
action: z.ZodLiteral<"push">;
|
|
3267
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3269
|
+
version: z.ZodLiteral<1>;
|
|
3270
|
+
action: z.ZodLiteral<"edit">;
|
|
3271
|
+
path: z.ZodString;
|
|
3272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3273
|
+
version: z.ZodLiteral<1>;
|
|
3274
|
+
action: z.ZodEnum<{
|
|
3275
|
+
shell: "shell";
|
|
3276
|
+
deploy: "deploy";
|
|
3277
|
+
commit: "commit";
|
|
3278
|
+
}>;
|
|
3279
|
+
}, z.core.$strict>], "action">>>;
|
|
2966
3280
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
2967
3281
|
fingerprint: z.ZodString;
|
|
2968
3282
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -3021,6 +3335,22 @@ export declare const ContextDeliveryReliabilityResponseSchema: z.ZodObject<{
|
|
|
3021
3335
|
required: "required";
|
|
3022
3336
|
advisory: "advisory";
|
|
3023
3337
|
}>>;
|
|
3338
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3339
|
+
version: z.ZodLiteral<1>;
|
|
3340
|
+
action: z.ZodLiteral<"push">;
|
|
3341
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3343
|
+
version: z.ZodLiteral<1>;
|
|
3344
|
+
action: z.ZodLiteral<"edit">;
|
|
3345
|
+
path: z.ZodString;
|
|
3346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3347
|
+
version: z.ZodLiteral<1>;
|
|
3348
|
+
action: z.ZodEnum<{
|
|
3349
|
+
shell: "shell";
|
|
3350
|
+
deploy: "deploy";
|
|
3351
|
+
commit: "commit";
|
|
3352
|
+
}>;
|
|
3353
|
+
}, z.core.$strict>], "action">>>;
|
|
3024
3354
|
reconciliationKey: z.ZodOptional<z.ZodString>;
|
|
3025
3355
|
fingerprint: z.ZodString;
|
|
3026
3356
|
supersedesMemoryId: z.ZodNullable<z.ZodUUID>;
|
|
@@ -3083,6 +3413,8 @@ export declare const ContextDeliveryReliabilityResponseSchema: z.ZodObject<{
|
|
|
3083
3413
|
}, z.core.$strict>>;
|
|
3084
3414
|
}, z.core.$strict>>>;
|
|
3085
3415
|
context: z.ZodString;
|
|
3416
|
+
relatedContext: z.ZodOptional<z.ZodString>;
|
|
3417
|
+
skillContext: z.ZodOptional<z.ZodString>;
|
|
3086
3418
|
packing: z.ZodObject<{
|
|
3087
3419
|
policyVersion: z.ZodLiteral<"context-pack-v1">;
|
|
3088
3420
|
estimator: z.ZodLiteral<"utf8-bytes-div-3-v1">;
|
|
@@ -3310,6 +3642,22 @@ export declare const GuardCheckReliabilityResponseSchema: z.ZodObject<{
|
|
|
3310
3642
|
}>;
|
|
3311
3643
|
relevant: z.ZodBoolean;
|
|
3312
3644
|
items: z.ZodArray<z.ZodObject<{
|
|
3645
|
+
guardRule: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3646
|
+
version: z.ZodLiteral<1>;
|
|
3647
|
+
action: z.ZodLiteral<"push">;
|
|
3648
|
+
branches: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3650
|
+
version: z.ZodLiteral<1>;
|
|
3651
|
+
action: z.ZodLiteral<"edit">;
|
|
3652
|
+
path: z.ZodString;
|
|
3653
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3654
|
+
version: z.ZodLiteral<1>;
|
|
3655
|
+
action: z.ZodEnum<{
|
|
3656
|
+
shell: "shell";
|
|
3657
|
+
deploy: "deploy";
|
|
3658
|
+
commit: "commit";
|
|
3659
|
+
}>;
|
|
3660
|
+
}, z.core.$strict>], "action">>>;
|
|
3313
3661
|
memoryId: z.ZodUUID;
|
|
3314
3662
|
content: z.ZodString;
|
|
3315
3663
|
category: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot-schemas.d.ts","sourceRoot":"","sources":["../src/snapshot-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"snapshot-schemas.d.ts","sourceRoot":"","sources":["../src/snapshot-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiCxB,eAAO,MAAM,wBAAwB,EAAG,qBAA8B,CAAC;AACvE,eAAO,MAAM,6BAA6B,EACxC,0BAAmC,CAAC;AAatC,eAAO,MAAM,uBAAuB,aAOjC,CAAC;AACJ,MAAM,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACd,CAAC;AACxC,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACd,CAAC;AACpC,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACd,CAAC"}
|
package/dist/snapshot-schemas.js
CHANGED
|
@@ -3,7 +3,7 @@ import { MAX_COMPACT_JWS_BYTES, createCanonicalJsonSha256, } from "./canonical-j
|
|
|
3
3
|
import { GuardCheckResponseSchema, GuardModeSchema, GuardRepoOverrideSchema, WorkspaceGuardPolicySchema, } from "./guard-schemas.js";
|
|
4
4
|
import { ContextDeliveryRequestSchema, ContextDeliveryResponseSchema, ObservationResponseSchema, PairedTurnResponseSchema, } from "./pilot-schemas.js";
|
|
5
5
|
import { CaptureReliabilityResultSchema, GuardReliabilityResultSchema, ReliabilityContractVersionSchema, ReliabilityMetadataSchema, } from "./reliability-schemas.js";
|
|
6
|
-
import { ContextPackingSchema, MemoryCategorySchema, MemoryScopeSchema, MemorySourceSchema, RetrievalHitSchema, } from "./schemas.js";
|
|
6
|
+
import { ContextPackingSchema, GuardRuleSchema, MemoryCategorySchema, MemoryScopeSchema, MemorySourceSchema, RetrievalHitSchema, } from "./schemas.js";
|
|
7
7
|
export const CONTEXT_SNAPSHOT_VERSION = "context-snapshot-v1";
|
|
8
8
|
export const GUARD_POLICY_SNAPSHOT_VERSION = "guard-policy-snapshot-v1";
|
|
9
9
|
const Base64UrlSchema = z.string().regex(/^[A-Za-z0-9_-]+$/u);
|
|
@@ -142,6 +142,8 @@ export const SignedContextPayloadSchema = z
|
|
|
142
142
|
receiptId: z.uuid(),
|
|
143
143
|
deliveredAt: SnapshotTimestampSchema,
|
|
144
144
|
context: z.string(),
|
|
145
|
+
relatedContext: z.string().max(2_500).optional(),
|
|
146
|
+
skillContext: ContextDeliveryResponseSchema.shape.skillContext,
|
|
145
147
|
memories: ContextDeliveryResponseSchema.shape.memories,
|
|
146
148
|
hits: z.array(RetrievalHitSchema),
|
|
147
149
|
packing: ContextPackingSchema,
|
|
@@ -199,6 +201,7 @@ export const SnapshotRuleProvenanceSchema = MemorySourceSchema.omit({
|
|
|
199
201
|
.strict();
|
|
200
202
|
export const SnapshotRequiredRuleSchema = z
|
|
201
203
|
.object({
|
|
204
|
+
guardRule: GuardRuleSchema.nullable().optional(),
|
|
202
205
|
id: z.uuid(),
|
|
203
206
|
fingerprint: Sha256HexSchema,
|
|
204
207
|
content: z.string().trim().min(1),
|