@lore-co/core 0.1.3 → 0.1.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.
@@ -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
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
44
45
  project: z.ZodOptional<z.ZodString>;
45
46
  repo: 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>;
@@ -89,15 +89,15 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
89
89
  }>>>;
90
90
  currentUserPrompt: z.ZodOptional<z.ZodString>;
91
91
  scope: z.ZodOptional<z.ZodObject<{
92
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
92
93
  project: z.ZodOptional<z.ZodString>;
93
94
  repo: 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
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
98
99
  project: z.ZodOptional<z.ZodString>;
99
100
  repo: 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>;
@@ -120,9 +120,9 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
120
120
  diff?: string;
121
121
  task?: string;
122
122
  learningScope?: {
123
+ path?: string | undefined;
123
124
  project?: string | undefined;
124
125
  repo?: string | undefined;
125
- path?: string | undefined;
126
126
  component?: string | undefined;
127
127
  };
128
128
  previousAssistant: {
@@ -165,15 +165,15 @@ export declare const PairedTurnRequestSchema: z.ZodPipe<z.ZodObject<{
165
165
  } | undefined;
166
166
  currentUserPrompt?: string | undefined;
167
167
  scope?: {
168
+ path?: string | undefined;
168
169
  project?: string | undefined;
169
170
  repo?: string | undefined;
170
- path?: string | undefined;
171
171
  component?: string | undefined;
172
172
  } | undefined;
173
173
  learningScope?: {
174
+ path?: string | undefined;
174
175
  project?: string | undefined;
175
176
  repo?: string | undefined;
176
- path?: string | undefined;
177
177
  component?: string | undefined;
178
178
  } | undefined;
179
179
  project?: string | undefined;
@@ -224,15 +224,15 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
224
224
  }>>>;
225
225
  currentUserPrompt: z.ZodOptional<z.ZodString>;
226
226
  scope: z.ZodOptional<z.ZodObject<{
227
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
227
228
  project: z.ZodOptional<z.ZodString>;
228
229
  repo: z.ZodOptional<z.ZodString>;
229
- path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
230
230
  component: z.ZodOptional<z.ZodString>;
231
231
  }, z.core.$strict>>;
232
232
  learningScope: z.ZodOptional<z.ZodObject<{
233
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
233
234
  project: z.ZodOptional<z.ZodString>;
234
235
  repo: z.ZodOptional<z.ZodString>;
235
- path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
236
236
  component: z.ZodOptional<z.ZodString>;
237
237
  }, z.core.$strict>>;
238
238
  project: z.ZodOptional<z.ZodString>;
@@ -255,9 +255,9 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
255
255
  diff?: string;
256
256
  task?: string;
257
257
  learningScope?: {
258
+ path?: string | undefined;
258
259
  project?: string | undefined;
259
260
  repo?: string | undefined;
260
- path?: string | undefined;
261
261
  component?: string | undefined;
262
262
  };
263
263
  previousAssistant: {
@@ -300,15 +300,15 @@ export declare const PairedTurnSchema: z.ZodPipe<z.ZodObject<{
300
300
  } | undefined;
301
301
  currentUserPrompt?: string | undefined;
302
302
  scope?: {
303
+ path?: string | undefined;
303
304
  project?: string | undefined;
304
305
  repo?: string | undefined;
305
- path?: string | undefined;
306
306
  component?: string | undefined;
307
307
  } | undefined;
308
308
  learningScope?: {
309
+ path?: string | undefined;
309
310
  project?: string | undefined;
310
311
  repo?: string | undefined;
311
- path?: string | undefined;
312
312
  component?: string | undefined;
313
313
  } | undefined;
314
314
  project?: string | undefined;
@@ -332,15 +332,15 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
332
332
  sessionId: z.ZodString;
333
333
  conversationId: z.ZodOptional<z.ZodString>;
334
334
  scope: z.ZodOptional<z.ZodObject<{
335
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
335
336
  project: z.ZodOptional<z.ZodString>;
336
337
  repo: z.ZodOptional<z.ZodString>;
337
- path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
338
338
  component: z.ZodOptional<z.ZodString>;
339
339
  }, z.core.$strict>>;
340
340
  learningScope: z.ZodOptional<z.ZodObject<{
341
+ path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
341
342
  project: z.ZodOptional<z.ZodString>;
342
343
  repo: z.ZodOptional<z.ZodString>;
343
- path: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>>;
344
344
  component: z.ZodOptional<z.ZodString>;
345
345
  }, z.core.$strict>>;
346
346
  task: z.ZodOptional<z.ZodString>;
@@ -362,9 +362,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
362
362
  }, z.core.$strict>, z.ZodTransform<{
363
363
  eventId: string;
364
364
  learningScope: {
365
+ path?: string | undefined;
365
366
  project?: string | undefined;
366
367
  repo?: string | undefined;
367
- path?: string | undefined;
368
368
  component?: string | undefined;
369
369
  };
370
370
  connector: string;
@@ -379,9 +379,9 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
379
379
  occurredAt: string;
380
380
  conversationId?: string | undefined;
381
381
  scope?: {
382
+ path?: string | undefined;
382
383
  project?: string | undefined;
383
384
  repo?: string | undefined;
384
- path?: string | undefined;
385
385
  component?: string | undefined;
386
386
  } | undefined;
387
387
  task?: string | undefined;
@@ -403,15 +403,15 @@ export declare const ObservationRequestSchema: z.ZodPipe<z.ZodObject<{
403
403
  externalEventId?: string | undefined;
404
404
  conversationId?: string | undefined;
405
405
  scope?: {
406
+ path?: string | undefined;
406
407
  project?: string | undefined;
407
408
  repo?: string | undefined;
408
- path?: string | undefined;
409
409
  component?: string | undefined;
410
410
  } | undefined;
411
411
  learningScope?: {
412
+ path?: string | undefined;
412
413
  project?: string | undefined;
413
414
  repo?: string | undefined;
414
- path?: string | undefined;
415
415
  component?: string | undefined;
416
416
  } | undefined;
417
417
  task?: string | undefined;
@@ -581,6 +581,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
581
581
  }>;
582
582
  status: z.ZodEnum<{
583
583
  active: "active";
584
+ proposed: "proposed";
584
585
  suppressed: "suppressed";
585
586
  superseded: "superseded";
586
587
  deleted: "deleted";
@@ -693,6 +694,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
693
694
  }>;
694
695
  status: z.ZodEnum<{
695
696
  active: "active";
697
+ proposed: "proposed";
696
698
  suppressed: "suppressed";
697
699
  superseded: "superseded";
698
700
  deleted: "deleted";
@@ -744,6 +746,7 @@ export declare const LearningInspectionResponseSchema: z.ZodObject<{
744
746
  }>;
745
747
  status: z.ZodEnum<{
746
748
  active: "active";
749
+ proposed: "proposed";
747
750
  suppressed: "suppressed";
748
751
  superseded: "superseded";
749
752
  deleted: "deleted";
@@ -817,10 +820,10 @@ export declare const DeliveryReceiptSchema: z.ZodObject<{
817
820
  reasons: z.ZodArray<z.ZodEnum<{
818
821
  symbol: "symbol";
819
822
  path: "path";
820
- component: "component";
821
- repository: "repository";
822
823
  lexical: "lexical";
823
824
  semantic: "semantic";
825
+ component: "component";
826
+ repository: "repository";
824
827
  }>>;
825
828
  matchedTerms: z.ZodArray<z.ZodString>;
826
829
  }, z.core.$strict>>>;
@@ -900,10 +903,10 @@ export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
900
903
  reasons: z.ZodArray<z.ZodEnum<{
901
904
  symbol: "symbol";
902
905
  path: "path";
903
- component: "component";
904
- repository: "repository";
905
906
  lexical: "lexical";
906
907
  semantic: "semantic";
908
+ component: "component";
909
+ repository: "repository";
907
910
  }>>;
908
911
  matchedTerms: z.ZodArray<z.ZodString>;
909
912
  }, z.core.$strict>>>;
@@ -952,6 +955,7 @@ export declare const DeliveryReceiptDetailSchema: z.ZodObject<{
952
955
  }>;
953
956
  status: z.ZodEnum<{
954
957
  active: "active";
958
+ proposed: "proposed";
955
959
  suppressed: "suppressed";
956
960
  superseded: "superseded";
957
961
  deleted: "deleted";
@@ -1032,6 +1036,7 @@ export declare const DeliveryFeedbackResponseSchema: z.ZodObject<{
1032
1036
  }>;
1033
1037
  status: z.ZodEnum<{
1034
1038
  active: "active";
1039
+ proposed: "proposed";
1035
1040
  suppressed: "suppressed";
1036
1041
  superseded: "superseded";
1037
1042
  deleted: "deleted";
@@ -1125,10 +1130,10 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
1125
1130
  reasons: z.ZodArray<z.ZodEnum<{
1126
1131
  symbol: "symbol";
1127
1132
  path: "path";
1128
- component: "component";
1129
- repository: "repository";
1130
1133
  lexical: "lexical";
1131
1134
  semantic: "semantic";
1135
+ component: "component";
1136
+ repository: "repository";
1132
1137
  }>>;
1133
1138
  matchedTerms: z.ZodArray<z.ZodString>;
1134
1139
  }, z.core.$strict>>>;
@@ -1159,6 +1164,7 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
1159
1164
  }>;
1160
1165
  status: z.ZodEnum<{
1161
1166
  active: "active";
1167
+ proposed: "proposed";
1162
1168
  suppressed: "suppressed";
1163
1169
  superseded: "superseded";
1164
1170
  deleted: "deleted";
@@ -1211,6 +1217,7 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
1211
1217
  }>;
1212
1218
  status: z.ZodEnum<{
1213
1219
  active: "active";
1220
+ proposed: "proposed";
1214
1221
  suppressed: "suppressed";
1215
1222
  superseded: "superseded";
1216
1223
  deleted: "deleted";
@@ -1242,10 +1249,10 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
1242
1249
  reasons: z.ZodArray<z.ZodEnum<{
1243
1250
  symbol: "symbol";
1244
1251
  path: "path";
1245
- component: "component";
1246
- repository: "repository";
1247
1252
  lexical: "lexical";
1248
1253
  semantic: "semantic";
1254
+ component: "component";
1255
+ repository: "repository";
1249
1256
  }>>;
1250
1257
  matchedTerms: z.ZodDefault<z.ZodArray<z.ZodString>>;
1251
1258
  lexicalRank: z.ZodNullable<z.ZodNumber>;
@@ -1283,8 +1290,8 @@ export declare const ContextDeliveryResponseSchema: z.ZodObject<{
1283
1290
  }, z.core.$strict>;
1284
1291
  export type ContextDeliveryResponse = z.infer<typeof ContextDeliveryResponseSchema>;
1285
1292
  export declare const ActivityMemorySchema: z.ZodObject<{
1286
- content: z.ZodString;
1287
1293
  id: z.ZodUUID;
1294
+ content: z.ZodString;
1288
1295
  category: z.ZodEnum<{
1289
1296
  architecture: "architecture";
1290
1297
  convention: "convention";
@@ -1298,6 +1305,7 @@ export declare const ActivityMemorySchema: z.ZodObject<{
1298
1305
  }>;
1299
1306
  status: z.ZodEnum<{
1300
1307
  active: "active";
1308
+ proposed: "proposed";
1301
1309
  suppressed: "suppressed";
1302
1310
  superseded: "superseded";
1303
1311
  deleted: "deleted";
@@ -1326,8 +1334,8 @@ export declare const ActivityItemSchema: z.ZodObject<{
1326
1334
  }, z.core.$strict>;
1327
1335
  correction: z.ZodString;
1328
1336
  learnedMemories: z.ZodArray<z.ZodObject<{
1329
- content: z.ZodString;
1330
1337
  id: z.ZodUUID;
1338
+ content: z.ZodString;
1331
1339
  category: z.ZodEnum<{
1332
1340
  architecture: "architecture";
1333
1341
  convention: "convention";
@@ -1341,14 +1349,15 @@ export declare const ActivityItemSchema: z.ZodObject<{
1341
1349
  }>;
1342
1350
  status: z.ZodEnum<{
1343
1351
  active: "active";
1352
+ proposed: "proposed";
1344
1353
  suppressed: "suppressed";
1345
1354
  superseded: "superseded";
1346
1355
  deleted: "deleted";
1347
1356
  }>;
1348
1357
  }, z.core.$strict>>;
1349
1358
  deliveredMemories: z.ZodArray<z.ZodObject<{
1350
- content: z.ZodString;
1351
1359
  id: z.ZodUUID;
1360
+ content: z.ZodString;
1352
1361
  category: z.ZodEnum<{
1353
1362
  architecture: "architecture";
1354
1363
  convention: "convention";
@@ -1362,6 +1371,7 @@ export declare const ActivityItemSchema: z.ZodObject<{
1362
1371
  }>;
1363
1372
  status: z.ZodEnum<{
1364
1373
  active: "active";
1374
+ proposed: "proposed";
1365
1375
  suppressed: "suppressed";
1366
1376
  superseded: "superseded";
1367
1377
  deleted: "deleted";
@@ -1411,10 +1421,10 @@ export declare const ActivityItemSchema: z.ZodObject<{
1411
1421
  reasons: z.ZodArray<z.ZodEnum<{
1412
1422
  symbol: "symbol";
1413
1423
  path: "path";
1414
- component: "component";
1415
- repository: "repository";
1416
1424
  lexical: "lexical";
1417
1425
  semantic: "semantic";
1426
+ component: "component";
1427
+ repository: "repository";
1418
1428
  }>>;
1419
1429
  matchedTerms: z.ZodArray<z.ZodString>;
1420
1430
  }, z.core.$strict>>>;
@@ -1459,8 +1469,8 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1459
1469
  }, z.core.$strict>;
1460
1470
  correction: z.ZodString;
1461
1471
  learnedMemories: z.ZodArray<z.ZodObject<{
1462
- content: z.ZodString;
1463
1472
  id: z.ZodUUID;
1473
+ content: z.ZodString;
1464
1474
  category: z.ZodEnum<{
1465
1475
  architecture: "architecture";
1466
1476
  convention: "convention";
@@ -1474,14 +1484,15 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1474
1484
  }>;
1475
1485
  status: z.ZodEnum<{
1476
1486
  active: "active";
1487
+ proposed: "proposed";
1477
1488
  suppressed: "suppressed";
1478
1489
  superseded: "superseded";
1479
1490
  deleted: "deleted";
1480
1491
  }>;
1481
1492
  }, z.core.$strict>>;
1482
1493
  deliveredMemories: z.ZodArray<z.ZodObject<{
1483
- content: z.ZodString;
1484
1494
  id: z.ZodUUID;
1495
+ content: z.ZodString;
1485
1496
  category: z.ZodEnum<{
1486
1497
  architecture: "architecture";
1487
1498
  convention: "convention";
@@ -1495,6 +1506,7 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1495
1506
  }>;
1496
1507
  status: z.ZodEnum<{
1497
1508
  active: "active";
1509
+ proposed: "proposed";
1498
1510
  suppressed: "suppressed";
1499
1511
  superseded: "superseded";
1500
1512
  deleted: "deleted";
@@ -1544,10 +1556,10 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1544
1556
  reasons: z.ZodArray<z.ZodEnum<{
1545
1557
  symbol: "symbol";
1546
1558
  path: "path";
1547
- component: "component";
1548
- repository: "repository";
1549
1559
  lexical: "lexical";
1550
1560
  semantic: "semantic";
1561
+ component: "component";
1562
+ repository: "repository";
1551
1563
  }>>;
1552
1564
  matchedTerms: z.ZodArray<z.ZodString>;
1553
1565
  }, z.core.$strict>>>;
@@ -1585,6 +1597,7 @@ export declare const TurnObservationSchema: z.ZodObject<{
1585
1597
  }>;
1586
1598
  status: z.ZodEnum<{
1587
1599
  active: "active";
1600
+ proposed: "proposed";
1588
1601
  suppressed: "suppressed";
1589
1602
  superseded: "superseded";
1590
1603
  deleted: "deleted";
@@ -1643,6 +1656,7 @@ export declare const ObservationResponseSchema: z.ZodObject<{
1643
1656
  }>;
1644
1657
  status: z.ZodEnum<{
1645
1658
  active: "active";
1659
+ proposed: "proposed";
1646
1660
  suppressed: "suppressed";
1647
1661
  superseded: "superseded";
1648
1662
  deleted: "deleted";
@@ -1743,6 +1757,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
1743
1757
  }>;
1744
1758
  status: z.ZodEnum<{
1745
1759
  active: "active";
1760
+ proposed: "proposed";
1746
1761
  suppressed: "suppressed";
1747
1762
  superseded: "superseded";
1748
1763
  deleted: "deleted";
@@ -1800,6 +1815,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
1800
1815
  }>;
1801
1816
  status: z.ZodEnum<{
1802
1817
  active: "active";
1818
+ proposed: "proposed";
1803
1819
  suppressed: "suppressed";
1804
1820
  superseded: "superseded";
1805
1821
  deleted: "deleted";
@@ -1852,6 +1868,7 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
1852
1868
  }>;
1853
1869
  status: z.ZodEnum<{
1854
1870
  active: "active";
1871
+ proposed: "proposed";
1855
1872
  suppressed: "suppressed";
1856
1873
  superseded: "superseded";
1857
1874
  deleted: "deleted";
@@ -1883,10 +1900,10 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
1883
1900
  reasons: z.ZodArray<z.ZodEnum<{
1884
1901
  symbol: "symbol";
1885
1902
  path: "path";
1886
- component: "component";
1887
- repository: "repository";
1888
1903
  lexical: "lexical";
1889
1904
  semantic: "semantic";
1905
+ component: "component";
1906
+ repository: "repository";
1890
1907
  }>>;
1891
1908
  matchedTerms: z.ZodDefault<z.ZodArray<z.ZodString>>;
1892
1909
  lexicalRank: z.ZodNullable<z.ZodNumber>;
@@ -1966,10 +1983,10 @@ export declare const PairedTurnResponseSchema: z.ZodObject<{
1966
1983
  reasons: z.ZodArray<z.ZodEnum<{
1967
1984
  symbol: "symbol";
1968
1985
  path: "path";
1969
- component: "component";
1970
- repository: "repository";
1971
1986
  lexical: "lexical";
1972
1987
  semantic: "semantic";
1988
+ component: "component";
1989
+ repository: "repository";
1973
1990
  }>>;
1974
1991
  matchedTerms: z.ZodArray<z.ZodString>;
1975
1992
  }, z.core.$strict>>>;
@@ -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;AAaxB,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;;;;;kBAE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;;;;;;;;;;;;;kBAQ5B,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,0BAA0B,CAClC,CAAC;AAEF,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/ports.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AgentInteraction, AgentTask, CandidateMemory, InsertMemoryResult, ListMemoriesDto, ListMemoriesResponse, Memory, MemoryScope, MemoryUpdate, ObserveResponse, RetrievalHit } from "./schemas.js";
1
+ import type { AgentInteraction, AgentTask, CandidateMemory, DetectedMemoryConflict, InsertMemoryResult, ListMemoriesDto, ListMemoriesResponse, Memory, MemoryConflictAnalysis, MemoryConflict, MemoryScope, MemoryUpdate, ObserveResponse, ProposalMetadata, ProposalRecord, ProposeMemoryResult, ReviewProposalDto, ReviewProposalResponse, RetrievalHit, UpdateWorkspaceLearningPolicy, WorkspaceLearningPolicy } from "./schemas.js";
2
2
  export interface FindActiveCandidatesOptions {
3
3
  workspaceId?: string;
4
4
  keywords?: readonly string[];
@@ -14,9 +14,36 @@ export interface SupersedeMemoryResult {
14
14
  export interface RepositoryContext {
15
15
  workspaceId?: string;
16
16
  }
17
+ export interface WorkspaceRepositoryContext {
18
+ workspaceId: string;
19
+ }
20
+ export interface MemoryConflictDetectionInput {
21
+ proposal: Memory;
22
+ deterministicTarget?: Memory;
23
+ policy: WorkspaceLearningPolicy;
24
+ }
25
+ export interface MemoryConflictDetector {
26
+ detect(input: MemoryConflictDetectionInput, context: WorkspaceRepositoryContext): Promise<readonly DetectedMemoryConflict[]>;
27
+ }
28
+ export interface MemoryConflictAnalyzer {
29
+ analyze(input: {
30
+ proposal: Memory;
31
+ target: Memory;
32
+ }): Promise<MemoryConflictAnalysis>;
33
+ }
34
+ export interface InsertMemoryConflictResult {
35
+ conflict: MemoryConflict;
36
+ inserted: boolean;
37
+ }
17
38
  export interface MemoryRepository {
18
39
  insert(memory: Memory): Promise<InsertMemoryResult>;
40
+ propose(memory: Memory, metadata: ProposalMetadata, conflicts?: readonly MemoryConflict[]): Promise<ProposeMemoryResult>;
19
41
  get(id: string, context?: RepositoryContext): Promise<Memory | null>;
42
+ getProposal(memoryId: string, context?: RepositoryContext): Promise<ProposalRecord | null>;
43
+ addProposalConflict(conflict: MemoryConflict, context: WorkspaceRepositoryContext): Promise<InsertMemoryConflictResult>;
44
+ reviewProposal(input: ReviewProposalDto, context: WorkspaceRepositoryContext): Promise<ReviewProposalResponse>;
45
+ getWorkspaceLearningPolicy(workspaceId: string): Promise<WorkspaceLearningPolicy>;
46
+ updateWorkspaceLearningPolicy(workspaceId: string, update: UpdateWorkspaceLearningPolicy): Promise<WorkspaceLearningPolicy>;
20
47
  list(input?: ListMemoriesDto, context?: RepositoryContext): Promise<ListMemoriesResponse>;
21
48
  update(id: string, update: MemoryUpdate, context?: RepositoryContext): Promise<Memory | null>;
22
49
  softDelete(id: string, deletedAt?: string, context?: RepositoryContext): Promise<Memory | null>;
@@ -1 +1 @@
1
- {"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../src/ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,MAAM,EACN,WAAW,EACX,YAAY,EACZ,eAAe,EACf,YAAY,EACb,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,2BAA2B;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACpD,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACrE,IAAI,CACF,KAAK,CAAC,EAAE,eAAe,EACvB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,oBAAoB,CAA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Ae;CAAG;AAE7D,MAAM,WAAW,YAAY,CAC3B,YAAY,GAAG,OAAO,EACtB,KAAK,GAAG,OAAO,EACf,aAAa,GAAG,OAAO;IAEvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACvD,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5C,aAAa,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrE,WAAW,CAAC,CACV,KAAK,EAAE,KAAK,GACX,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1C,aAAa,CAAC,CACZ,KAAK,EAAE,YAAY,GAClB,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;CACvD"}
package/dist/redaction.js CHANGED
@@ -26,8 +26,8 @@ const RULES = [
26
26
  },
27
27
  {
28
28
  kind: "credential",
29
- pattern: /\b(api[_-]?key|access[_-]?token|auth[_-]?token|client[_-]?secret|password|passwd|secret)\b(\s*[:=]\s*)(["']?)([^\s,"'};]{8,})\3/giu,
30
- replacement: (_match, name, separator, quote) => `${name}${separator}${quote}[REDACTED:CREDENTIAL]${quote}`,
29
+ pattern: /(["']?)\b(api[_-]?key|access[_-]?token|auth[_-]?token|client[_-]?secret|password|passwd|secret)\b\1(\s*[:=]\s*)(["']?)([^\s,"'};]{8,})\4/giu,
30
+ replacement: (_match, keyQuote, name, separator, valueQuote) => `${keyQuote}${name}${keyQuote}${separator}${valueQuote}[REDACTED:CREDENTIAL]${valueQuote}`,
31
31
  },
32
32
  ];
33
33
  const SENSITIVE_KEY_PATTERN = /^(?:api[_-]?key|access[_-]?token|auth[_-]?token|client[_-]?secret|password|passwd|secret|token)$/iu;
@@ -1 +1 @@
1
- {"version":3,"file":"redaction.js","sourceRoot":"","sources":["../src/redaction.ts"],"names":[],"mappings":"AAyBA,MAAM,KAAK,GAA6B;IACtC;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EACL,sHAAsH;QACxH,WAAW,EAAE,wBAAwB;KACtC;IACD;QACE,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,8CAA8C;QACvD,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,MAAM,2BAA2B;KACtE;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,OAAO,EACL,kFAAkF;QACpF,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,MAAM,sBAAsB;KACjE;IACD;QACE,IAAI,EAAE,KAAK;QACX,OAAO,EACL,kEAAkE;QACpE,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,OAAO,EACL,qHAAqH;QACvH,WAAW,EAAE,oBAAoB;KAClC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EACL,oIAAoI;QACtI,WAAW,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,CAC9C,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,wBAAwB,KAAK,EAAE;KAC7D;CACF,CAAC;AAEF,MAAM,qBAAqB,GACzB,oGAAoG,CAAC;AAEvG,MAAM,UAAU,mBAAmB,CAAC,KAAa;IAC/C,IAAI,IAAI,GAAG,KAAK,CAAC;IACjB,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,GAAG,IAAe,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