@tenphi/akno-protocol 0.4.0 → 0.5.0

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.
@@ -81,6 +81,8 @@ export declare const OPS: {
81
81
  embedding_failed: "embedding_failed";
82
82
  rerank_failed: "rerank_failed";
83
83
  derive_failed: "derive_failed";
84
+ retain_verification_failed: "retain_verification_failed";
85
+ retain_apply_failed: "retain_apply_failed";
84
86
  expansion_failed: "expansion_failed";
85
87
  no_vector_index: "no_vector_index";
86
88
  partial_index: "partial_index";
@@ -115,6 +117,59 @@ export declare const OPS: {
115
117
  n: z.ZodNumber;
116
118
  text: z.ZodString;
117
119
  confidence: z.ZodOptional<z.ZodNumber>;
120
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
121
+ status: z.ZodLiteral<"qualified">;
122
+ id: z.ZodString;
123
+ level: z.ZodLiteral<1>;
124
+ kind: z.ZodEnum<{
125
+ question: "question";
126
+ claim: "claim";
127
+ decision: "decision";
128
+ preference: "preference";
129
+ plan: "plan";
130
+ event: "event";
131
+ }>;
132
+ subject: z.ZodString;
133
+ source_role: z.ZodEnum<{
134
+ unknown: "unknown";
135
+ user: "user";
136
+ assistant: "assistant";
137
+ external: "external";
138
+ }>;
139
+ source_speaker: z.ZodOptional<z.ZodString>;
140
+ commitment: z.ZodEnum<{
141
+ none: "none";
142
+ asserted: "asserted";
143
+ tentative: "tentative";
144
+ hypothetical: "hypothetical";
145
+ counterfactual: "counterfactual";
146
+ }>;
147
+ disposition: z.ZodEnum<{
148
+ active: "active";
149
+ proposed: "proposed";
150
+ accepted: "accepted";
151
+ rejected: "rejected";
152
+ resolved: "resolved";
153
+ cancelled: "cancelled";
154
+ completed: "completed";
155
+ superseded: "superseded";
156
+ }>;
157
+ polarity: z.ZodEnum<{
158
+ affirmed: "affirmed";
159
+ negated: "negated";
160
+ }>;
161
+ basis: z.ZodEnum<{
162
+ self_attested: "self_attested";
163
+ source_report: "source_report";
164
+ cited_evidence: "cited_evidence";
165
+ system_record: "system_record";
166
+ }>;
167
+ answer_eligible: z.ZodBoolean;
168
+ }, z.core.$strip>, z.ZodObject<{
169
+ status: z.ZodLiteral<"unavailable">;
170
+ id: z.ZodString;
171
+ answer_eligible: z.ZodLiteral<false>;
172
+ }, z.core.$strip>], "status">>;
118
173
  fact: z.ZodOptional<z.ZodString>;
119
174
  }, z.core.$strip>>;
120
175
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -158,11 +213,11 @@ export declare const OPS: {
158
213
  seed: z.ZodObject<{
159
214
  id: z.ZodString;
160
215
  kind: z.ZodEnum<{
216
+ event: "event";
161
217
  fact: "fact";
162
218
  entity: "entity";
163
219
  page: "page";
164
220
  document: "document";
165
- event: "event";
166
221
  }>;
167
222
  slug: z.ZodOptional<z.ZodString>;
168
223
  label: z.ZodOptional<z.ZodString>;
@@ -197,11 +252,11 @@ export declare const OPS: {
197
252
  target: z.ZodObject<{
198
253
  id: z.ZodString;
199
254
  kind: z.ZodEnum<{
255
+ event: "event";
200
256
  fact: "fact";
201
257
  entity: "entity";
202
258
  page: "page";
203
259
  document: "document";
204
- event: "event";
205
260
  }>;
206
261
  slug: z.ZodOptional<z.ZodString>;
207
262
  label: z.ZodOptional<z.ZodString>;
@@ -236,11 +291,11 @@ export declare const OPS: {
236
291
  nodes: z.ZodArray<z.ZodObject<{
237
292
  id: z.ZodString;
238
293
  kind: z.ZodEnum<{
294
+ event: "event";
239
295
  fact: "fact";
240
296
  entity: "entity";
241
297
  page: "page";
242
298
  document: "document";
243
- event: "event";
244
299
  }>;
245
300
  slug: z.ZodOptional<z.ZodString>;
246
301
  label: z.ZodOptional<z.ZodString>;
@@ -368,11 +423,11 @@ export declare const OPS: {
368
423
  seed: z.ZodObject<{
369
424
  id: z.ZodString;
370
425
  kind: z.ZodEnum<{
426
+ event: "event";
371
427
  fact: "fact";
372
428
  entity: "entity";
373
429
  page: "page";
374
430
  document: "document";
375
- event: "event";
376
431
  }>;
377
432
  slug: z.ZodOptional<z.ZodString>;
378
433
  label: z.ZodOptional<z.ZodString>;
@@ -407,11 +462,11 @@ export declare const OPS: {
407
462
  target: z.ZodObject<{
408
463
  id: z.ZodString;
409
464
  kind: z.ZodEnum<{
465
+ event: "event";
410
466
  fact: "fact";
411
467
  entity: "entity";
412
468
  page: "page";
413
469
  document: "document";
414
- event: "event";
415
470
  }>;
416
471
  slug: z.ZodOptional<z.ZodString>;
417
472
  label: z.ZodOptional<z.ZodString>;
@@ -446,11 +501,11 @@ export declare const OPS: {
446
501
  nodes: z.ZodArray<z.ZodObject<{
447
502
  id: z.ZodString;
448
503
  kind: z.ZodEnum<{
504
+ event: "event";
449
505
  fact: "fact";
450
506
  entity: "entity";
451
507
  page: "page";
452
508
  document: "document";
453
- event: "event";
454
509
  }>;
455
510
  slug: z.ZodOptional<z.ZodString>;
456
511
  label: z.ZodOptional<z.ZodString>;
@@ -600,6 +655,8 @@ export declare const OPS: {
600
655
  embedding_failed: "embedding_failed";
601
656
  rerank_failed: "rerank_failed";
602
657
  derive_failed: "derive_failed";
658
+ retain_verification_failed: "retain_verification_failed";
659
+ retain_apply_failed: "retain_apply_failed";
603
660
  expansion_failed: "expansion_failed";
604
661
  no_vector_index: "no_vector_index";
605
662
  partial_index: "partial_index";
@@ -645,6 +702,59 @@ export declare const OPS: {
645
702
  n: z.ZodNumber;
646
703
  text: z.ZodString;
647
704
  confidence: z.ZodOptional<z.ZodNumber>;
705
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
706
+ status: z.ZodLiteral<"qualified">;
707
+ id: z.ZodString;
708
+ level: z.ZodLiteral<1>;
709
+ kind: z.ZodEnum<{
710
+ question: "question";
711
+ claim: "claim";
712
+ decision: "decision";
713
+ preference: "preference";
714
+ plan: "plan";
715
+ event: "event";
716
+ }>;
717
+ subject: z.ZodString;
718
+ source_role: z.ZodEnum<{
719
+ unknown: "unknown";
720
+ user: "user";
721
+ assistant: "assistant";
722
+ external: "external";
723
+ }>;
724
+ source_speaker: z.ZodOptional<z.ZodString>;
725
+ commitment: z.ZodEnum<{
726
+ none: "none";
727
+ asserted: "asserted";
728
+ tentative: "tentative";
729
+ hypothetical: "hypothetical";
730
+ counterfactual: "counterfactual";
731
+ }>;
732
+ disposition: z.ZodEnum<{
733
+ active: "active";
734
+ proposed: "proposed";
735
+ accepted: "accepted";
736
+ rejected: "rejected";
737
+ resolved: "resolved";
738
+ cancelled: "cancelled";
739
+ completed: "completed";
740
+ superseded: "superseded";
741
+ }>;
742
+ polarity: z.ZodEnum<{
743
+ affirmed: "affirmed";
744
+ negated: "negated";
745
+ }>;
746
+ basis: z.ZodEnum<{
747
+ self_attested: "self_attested";
748
+ source_report: "source_report";
749
+ cited_evidence: "cited_evidence";
750
+ system_record: "system_record";
751
+ }>;
752
+ answer_eligible: z.ZodBoolean;
753
+ }, z.core.$strip>, z.ZodObject<{
754
+ status: z.ZodLiteral<"unavailable">;
755
+ id: z.ZodString;
756
+ answer_eligible: z.ZodLiteral<false>;
757
+ }, z.core.$strip>], "status">>;
648
758
  fact: z.ZodOptional<z.ZodString>;
649
759
  }, z.core.$strip>>;
650
760
  }, z.core.$strip>, z.ZodObject<{
@@ -727,6 +837,8 @@ export declare const OPS: {
727
837
  embedding_failed: "embedding_failed";
728
838
  rerank_failed: "rerank_failed";
729
839
  derive_failed: "derive_failed";
840
+ retain_verification_failed: "retain_verification_failed";
841
+ retain_apply_failed: "retain_apply_failed";
730
842
  expansion_failed: "expansion_failed";
731
843
  no_vector_index: "no_vector_index";
732
844
  partial_index: "partial_index";
@@ -775,6 +887,59 @@ export declare const OPS: {
775
887
  n: z.ZodNumber;
776
888
  text: z.ZodString;
777
889
  confidence: z.ZodOptional<z.ZodNumber>;
890
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
891
+ status: z.ZodLiteral<"qualified">;
892
+ id: z.ZodString;
893
+ level: z.ZodLiteral<1>;
894
+ kind: z.ZodEnum<{
895
+ question: "question";
896
+ claim: "claim";
897
+ decision: "decision";
898
+ preference: "preference";
899
+ plan: "plan";
900
+ event: "event";
901
+ }>;
902
+ subject: z.ZodString;
903
+ source_role: z.ZodEnum<{
904
+ unknown: "unknown";
905
+ user: "user";
906
+ assistant: "assistant";
907
+ external: "external";
908
+ }>;
909
+ source_speaker: z.ZodOptional<z.ZodString>;
910
+ commitment: z.ZodEnum<{
911
+ none: "none";
912
+ asserted: "asserted";
913
+ tentative: "tentative";
914
+ hypothetical: "hypothetical";
915
+ counterfactual: "counterfactual";
916
+ }>;
917
+ disposition: z.ZodEnum<{
918
+ active: "active";
919
+ proposed: "proposed";
920
+ accepted: "accepted";
921
+ rejected: "rejected";
922
+ resolved: "resolved";
923
+ cancelled: "cancelled";
924
+ completed: "completed";
925
+ superseded: "superseded";
926
+ }>;
927
+ polarity: z.ZodEnum<{
928
+ affirmed: "affirmed";
929
+ negated: "negated";
930
+ }>;
931
+ basis: z.ZodEnum<{
932
+ self_attested: "self_attested";
933
+ source_report: "source_report";
934
+ cited_evidence: "cited_evidence";
935
+ system_record: "system_record";
936
+ }>;
937
+ answer_eligible: z.ZodBoolean;
938
+ }, z.core.$strip>, z.ZodObject<{
939
+ status: z.ZodLiteral<"unavailable">;
940
+ id: z.ZodString;
941
+ answer_eligible: z.ZodLiteral<false>;
942
+ }, z.core.$strip>], "status">>;
778
943
  fact: z.ZodOptional<z.ZodString>;
779
944
  }, z.core.$strip>>;
780
945
  source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -879,6 +1044,8 @@ export declare const OPS: {
879
1044
  embedding_failed: "embedding_failed";
880
1045
  rerank_failed: "rerank_failed";
881
1046
  derive_failed: "derive_failed";
1047
+ retain_verification_failed: "retain_verification_failed";
1048
+ retain_apply_failed: "retain_apply_failed";
882
1049
  expansion_failed: "expansion_failed";
883
1050
  no_vector_index: "no_vector_index";
884
1051
  partial_index: "partial_index";
@@ -940,8 +1107,8 @@ export declare const OPS: {
940
1107
  match: z.ZodOptional<z.ZodString>;
941
1108
  subject: z.ZodOptional<z.ZodString>;
942
1109
  source: z.ZodOptional<z.ZodEnum<{
943
- document: "document";
944
1110
  event: "event";
1111
+ document: "document";
945
1112
  both: "both";
946
1113
  }>>;
947
1114
  limit: z.ZodOptional<z.ZodNumber>;
@@ -964,6 +1131,8 @@ export declare const OPS: {
964
1131
  embedding_failed: "embedding_failed";
965
1132
  rerank_failed: "rerank_failed";
966
1133
  derive_failed: "derive_failed";
1134
+ retain_verification_failed: "retain_verification_failed";
1135
+ retain_apply_failed: "retain_apply_failed";
967
1136
  expansion_failed: "expansion_failed";
968
1137
  no_vector_index: "no_vector_index";
969
1138
  partial_index: "partial_index";
@@ -1113,6 +1282,8 @@ export declare const OPS: {
1113
1282
  embedding_failed: "embedding_failed";
1114
1283
  rerank_failed: "rerank_failed";
1115
1284
  derive_failed: "derive_failed";
1285
+ retain_verification_failed: "retain_verification_failed";
1286
+ retain_apply_failed: "retain_apply_failed";
1116
1287
  expansion_failed: "expansion_failed";
1117
1288
  no_vector_index: "no_vector_index";
1118
1289
  partial_index: "partial_index";
@@ -1137,9 +1308,9 @@ export declare const OPS: {
1137
1308
  activated: z.ZodBoolean;
1138
1309
  basis: z.ZodEnum<{
1139
1310
  none: "none";
1311
+ qualified: "qualified";
1140
1312
  exact: "exact";
1141
1313
  semantic: "semantic";
1142
- qualified: "qualified";
1143
1314
  }>;
1144
1315
  candidates: z.ZodNumber;
1145
1316
  selected: z.ZodNumber;
@@ -1163,6 +1334,59 @@ export declare const OPS: {
1163
1334
  n: z.ZodNumber;
1164
1335
  text: z.ZodString;
1165
1336
  confidence: z.ZodOptional<z.ZodNumber>;
1337
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1338
+ status: z.ZodLiteral<"qualified">;
1339
+ id: z.ZodString;
1340
+ level: z.ZodLiteral<1>;
1341
+ kind: z.ZodEnum<{
1342
+ question: "question";
1343
+ claim: "claim";
1344
+ decision: "decision";
1345
+ preference: "preference";
1346
+ plan: "plan";
1347
+ event: "event";
1348
+ }>;
1349
+ subject: z.ZodString;
1350
+ source_role: z.ZodEnum<{
1351
+ unknown: "unknown";
1352
+ user: "user";
1353
+ assistant: "assistant";
1354
+ external: "external";
1355
+ }>;
1356
+ source_speaker: z.ZodOptional<z.ZodString>;
1357
+ commitment: z.ZodEnum<{
1358
+ none: "none";
1359
+ asserted: "asserted";
1360
+ tentative: "tentative";
1361
+ hypothetical: "hypothetical";
1362
+ counterfactual: "counterfactual";
1363
+ }>;
1364
+ disposition: z.ZodEnum<{
1365
+ active: "active";
1366
+ proposed: "proposed";
1367
+ accepted: "accepted";
1368
+ rejected: "rejected";
1369
+ resolved: "resolved";
1370
+ cancelled: "cancelled";
1371
+ completed: "completed";
1372
+ superseded: "superseded";
1373
+ }>;
1374
+ polarity: z.ZodEnum<{
1375
+ affirmed: "affirmed";
1376
+ negated: "negated";
1377
+ }>;
1378
+ basis: z.ZodEnum<{
1379
+ self_attested: "self_attested";
1380
+ source_report: "source_report";
1381
+ cited_evidence: "cited_evidence";
1382
+ system_record: "system_record";
1383
+ }>;
1384
+ answer_eligible: z.ZodBoolean;
1385
+ }, z.core.$strip>, z.ZodObject<{
1386
+ status: z.ZodLiteral<"unavailable">;
1387
+ id: z.ZodString;
1388
+ answer_eligible: z.ZodLiteral<false>;
1389
+ }, z.core.$strip>], "status">>;
1166
1390
  fact: z.ZodOptional<z.ZodString>;
1167
1391
  }, z.core.$strip>>;
1168
1392
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1206,11 +1430,11 @@ export declare const OPS: {
1206
1430
  seed: z.ZodObject<{
1207
1431
  id: z.ZodString;
1208
1432
  kind: z.ZodEnum<{
1433
+ event: "event";
1209
1434
  fact: "fact";
1210
1435
  entity: "entity";
1211
1436
  page: "page";
1212
1437
  document: "document";
1213
- event: "event";
1214
1438
  }>;
1215
1439
  slug: z.ZodOptional<z.ZodString>;
1216
1440
  label: z.ZodOptional<z.ZodString>;
@@ -1245,11 +1469,11 @@ export declare const OPS: {
1245
1469
  target: z.ZodObject<{
1246
1470
  id: z.ZodString;
1247
1471
  kind: z.ZodEnum<{
1472
+ event: "event";
1248
1473
  fact: "fact";
1249
1474
  entity: "entity";
1250
1475
  page: "page";
1251
1476
  document: "document";
1252
- event: "event";
1253
1477
  }>;
1254
1478
  slug: z.ZodOptional<z.ZodString>;
1255
1479
  label: z.ZodOptional<z.ZodString>;
@@ -1284,11 +1508,11 @@ export declare const OPS: {
1284
1508
  nodes: z.ZodArray<z.ZodObject<{
1285
1509
  id: z.ZodString;
1286
1510
  kind: z.ZodEnum<{
1511
+ event: "event";
1287
1512
  fact: "fact";
1288
1513
  entity: "entity";
1289
1514
  page: "page";
1290
1515
  document: "document";
1291
- event: "event";
1292
1516
  }>;
1293
1517
  slug: z.ZodOptional<z.ZodString>;
1294
1518
  label: z.ZodOptional<z.ZodString>;
@@ -1367,6 +1591,59 @@ export declare const OPS: {
1367
1591
  n: z.ZodNumber;
1368
1592
  text: z.ZodString;
1369
1593
  confidence: z.ZodOptional<z.ZodNumber>;
1594
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1595
+ status: z.ZodLiteral<"qualified">;
1596
+ id: z.ZodString;
1597
+ level: z.ZodLiteral<1>;
1598
+ kind: z.ZodEnum<{
1599
+ question: "question";
1600
+ claim: "claim";
1601
+ decision: "decision";
1602
+ preference: "preference";
1603
+ plan: "plan";
1604
+ event: "event";
1605
+ }>;
1606
+ subject: z.ZodString;
1607
+ source_role: z.ZodEnum<{
1608
+ unknown: "unknown";
1609
+ user: "user";
1610
+ assistant: "assistant";
1611
+ external: "external";
1612
+ }>;
1613
+ source_speaker: z.ZodOptional<z.ZodString>;
1614
+ commitment: z.ZodEnum<{
1615
+ none: "none";
1616
+ asserted: "asserted";
1617
+ tentative: "tentative";
1618
+ hypothetical: "hypothetical";
1619
+ counterfactual: "counterfactual";
1620
+ }>;
1621
+ disposition: z.ZodEnum<{
1622
+ active: "active";
1623
+ proposed: "proposed";
1624
+ accepted: "accepted";
1625
+ rejected: "rejected";
1626
+ resolved: "resolved";
1627
+ cancelled: "cancelled";
1628
+ completed: "completed";
1629
+ superseded: "superseded";
1630
+ }>;
1631
+ polarity: z.ZodEnum<{
1632
+ affirmed: "affirmed";
1633
+ negated: "negated";
1634
+ }>;
1635
+ basis: z.ZodEnum<{
1636
+ self_attested: "self_attested";
1637
+ source_report: "source_report";
1638
+ cited_evidence: "cited_evidence";
1639
+ system_record: "system_record";
1640
+ }>;
1641
+ answer_eligible: z.ZodBoolean;
1642
+ }, z.core.$strip>, z.ZodObject<{
1643
+ status: z.ZodLiteral<"unavailable">;
1644
+ id: z.ZodString;
1645
+ answer_eligible: z.ZodLiteral<false>;
1646
+ }, z.core.$strip>], "status">>;
1370
1647
  fact: z.ZodOptional<z.ZodString>;
1371
1648
  }, z.core.$strip>>;
1372
1649
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1410,11 +1687,11 @@ export declare const OPS: {
1410
1687
  seed: z.ZodObject<{
1411
1688
  id: z.ZodString;
1412
1689
  kind: z.ZodEnum<{
1690
+ event: "event";
1413
1691
  fact: "fact";
1414
1692
  entity: "entity";
1415
1693
  page: "page";
1416
1694
  document: "document";
1417
- event: "event";
1418
1695
  }>;
1419
1696
  slug: z.ZodOptional<z.ZodString>;
1420
1697
  label: z.ZodOptional<z.ZodString>;
@@ -1449,11 +1726,11 @@ export declare const OPS: {
1449
1726
  target: z.ZodObject<{
1450
1727
  id: z.ZodString;
1451
1728
  kind: z.ZodEnum<{
1729
+ event: "event";
1452
1730
  fact: "fact";
1453
1731
  entity: "entity";
1454
1732
  page: "page";
1455
1733
  document: "document";
1456
- event: "event";
1457
1734
  }>;
1458
1735
  slug: z.ZodOptional<z.ZodString>;
1459
1736
  label: z.ZodOptional<z.ZodString>;
@@ -1488,11 +1765,11 @@ export declare const OPS: {
1488
1765
  nodes: z.ZodArray<z.ZodObject<{
1489
1766
  id: z.ZodString;
1490
1767
  kind: z.ZodEnum<{
1768
+ event: "event";
1491
1769
  fact: "fact";
1492
1770
  entity: "entity";
1493
1771
  page: "page";
1494
1772
  document: "document";
1495
- event: "event";
1496
1773
  }>;
1497
1774
  slug: z.ZodOptional<z.ZodString>;
1498
1775
  label: z.ZodOptional<z.ZodString>;
@@ -1620,11 +1897,11 @@ export declare const OPS: {
1620
1897
  seed: z.ZodObject<{
1621
1898
  id: z.ZodString;
1622
1899
  kind: z.ZodEnum<{
1900
+ event: "event";
1623
1901
  fact: "fact";
1624
1902
  entity: "entity";
1625
1903
  page: "page";
1626
1904
  document: "document";
1627
- event: "event";
1628
1905
  }>;
1629
1906
  slug: z.ZodOptional<z.ZodString>;
1630
1907
  label: z.ZodOptional<z.ZodString>;
@@ -1659,11 +1936,11 @@ export declare const OPS: {
1659
1936
  target: z.ZodObject<{
1660
1937
  id: z.ZodString;
1661
1938
  kind: z.ZodEnum<{
1939
+ event: "event";
1662
1940
  fact: "fact";
1663
1941
  entity: "entity";
1664
1942
  page: "page";
1665
1943
  document: "document";
1666
- event: "event";
1667
1944
  }>;
1668
1945
  slug: z.ZodOptional<z.ZodString>;
1669
1946
  label: z.ZodOptional<z.ZodString>;
@@ -1698,11 +1975,11 @@ export declare const OPS: {
1698
1975
  nodes: z.ZodArray<z.ZodObject<{
1699
1976
  id: z.ZodString;
1700
1977
  kind: z.ZodEnum<{
1978
+ event: "event";
1701
1979
  fact: "fact";
1702
1980
  entity: "entity";
1703
1981
  page: "page";
1704
1982
  document: "document";
1705
- event: "event";
1706
1983
  }>;
1707
1984
  slug: z.ZodOptional<z.ZodString>;
1708
1985
  label: z.ZodOptional<z.ZodString>;
@@ -1896,6 +2173,8 @@ export declare const OPS: {
1896
2173
  embedding_failed: "embedding_failed";
1897
2174
  rerank_failed: "rerank_failed";
1898
2175
  derive_failed: "derive_failed";
2176
+ retain_verification_failed: "retain_verification_failed";
2177
+ retain_apply_failed: "retain_apply_failed";
1899
2178
  expansion_failed: "expansion_failed";
1900
2179
  no_vector_index: "no_vector_index";
1901
2180
  partial_index: "partial_index";
@@ -1924,11 +2203,11 @@ export declare const OPS: {
1924
2203
  nodes: z.ZodArray<z.ZodObject<{
1925
2204
  id: z.ZodString;
1926
2205
  kind: z.ZodEnum<{
2206
+ event: "event";
1927
2207
  fact: "fact";
1928
2208
  entity: "entity";
1929
2209
  page: "page";
1930
2210
  document: "document";
1931
- event: "event";
1932
2211
  }>;
1933
2212
  slug: z.ZodOptional<z.ZodString>;
1934
2213
  label: z.ZodOptional<z.ZodString>;
@@ -2031,11 +2310,11 @@ export declare const OPS: {
2031
2310
  candidates: z.ZodArray<z.ZodObject<{
2032
2311
  id: z.ZodString;
2033
2312
  kind: z.ZodEnum<{
2313
+ event: "event";
2034
2314
  fact: "fact";
2035
2315
  entity: "entity";
2036
2316
  page: "page";
2037
2317
  document: "document";
2038
- event: "event";
2039
2318
  }>;
2040
2319
  slug: z.ZodOptional<z.ZodString>;
2041
2320
  label: z.ZodOptional<z.ZodString>;
@@ -2116,6 +2395,8 @@ export declare const OPS: {
2116
2395
  embedding_failed: "embedding_failed";
2117
2396
  rerank_failed: "rerank_failed";
2118
2397
  derive_failed: "derive_failed";
2398
+ retain_verification_failed: "retain_verification_failed";
2399
+ retain_apply_failed: "retain_apply_failed";
2119
2400
  expansion_failed: "expansion_failed";
2120
2401
  no_vector_index: "no_vector_index";
2121
2402
  partial_index: "partial_index";
@@ -2225,6 +2506,8 @@ export declare const OPS: {
2225
2506
  embedding_failed: "embedding_failed";
2226
2507
  rerank_failed: "rerank_failed";
2227
2508
  derive_failed: "derive_failed";
2509
+ retain_verification_failed: "retain_verification_failed";
2510
+ retain_apply_failed: "retain_apply_failed";
2228
2511
  expansion_failed: "expansion_failed";
2229
2512
  no_vector_index: "no_vector_index";
2230
2513
  partial_index: "partial_index";
@@ -2273,6 +2556,8 @@ export declare const OPS: {
2273
2556
  embedding_failed: "embedding_failed";
2274
2557
  rerank_failed: "rerank_failed";
2275
2558
  derive_failed: "derive_failed";
2559
+ retain_verification_failed: "retain_verification_failed";
2560
+ retain_apply_failed: "retain_apply_failed";
2276
2561
  expansion_failed: "expansion_failed";
2277
2562
  no_vector_index: "no_vector_index";
2278
2563
  partial_index: "partial_index";
@@ -2385,18 +2670,21 @@ export declare const OPS: {
2385
2670
  mentioned_at: z.ZodOptional<z.ZodString>;
2386
2671
  }, z.core.$strip>>;
2387
2672
  }, z.core.$strip>]>;
2388
- retention: z.ZodObject<{
2673
+ retention: z.ZodUnion<readonly [z.ZodObject<{
2389
2674
  mode: z.ZodLiteral<"provided">;
2390
- placement: z.ZodLiteral<"exact">;
2675
+ placement: z.ZodEnum<{
2676
+ exact: "exact";
2677
+ automatic: "automatic";
2678
+ }>;
2391
2679
  candidates: z.ZodArray<z.ZodObject<{
2392
2680
  candidate_id: z.ZodString;
2393
2681
  kind: z.ZodEnum<{
2394
2682
  question: "question";
2395
2683
  claim: "claim";
2396
- event: "event";
2397
- plan: "plan";
2398
2684
  decision: "decision";
2399
2685
  preference: "preference";
2686
+ plan: "plan";
2687
+ event: "event";
2400
2688
  }>;
2401
2689
  text: z.ZodString;
2402
2690
  subject: z.ZodString;
@@ -2424,20 +2712,20 @@ export declare const OPS: {
2424
2712
  discourse: z.ZodObject<{
2425
2713
  commitment: z.ZodEnum<{
2426
2714
  none: "none";
2427
- tentative: "tentative";
2428
2715
  asserted: "asserted";
2716
+ tentative: "tentative";
2429
2717
  hypothetical: "hypothetical";
2430
2718
  counterfactual: "counterfactual";
2431
2719
  }>;
2432
2720
  disposition: z.ZodEnum<{
2433
- superseded: "superseded";
2434
- rejected: "rejected";
2435
- completed: "completed";
2436
- proposed: "proposed";
2437
2721
  active: "active";
2722
+ proposed: "proposed";
2438
2723
  accepted: "accepted";
2724
+ rejected: "rejected";
2439
2725
  resolved: "resolved";
2440
2726
  cancelled: "cancelled";
2727
+ completed: "completed";
2728
+ superseded: "superseded";
2441
2729
  }>;
2442
2730
  }, z.core.$strip>;
2443
2731
  epistemic: z.ZodObject<{
@@ -2508,10 +2796,10 @@ export declare const OPS: {
2508
2796
  due: "due";
2509
2797
  }>;
2510
2798
  status: z.ZodEnum<{
2799
+ tentative: "tentative";
2511
2800
  planned: "planned";
2512
2801
  scheduled: "scheduled";
2513
2802
  actual: "actual";
2514
- tentative: "tentative";
2515
2803
  }>;
2516
2804
  timezone: z.ZodOptional<z.ZodString>;
2517
2805
  mentioned_at: z.ZodOptional<z.ZodString>;
@@ -2535,12 +2823,15 @@ export declare const OPS: {
2535
2823
  until: z.ZodOptional<z.ZodString>;
2536
2824
  }, z.core.$strip>>;
2537
2825
  }, z.core.$strip>>;
2538
- destination: z.ZodObject<{
2826
+ destination: z.ZodOptional<z.ZodObject<{
2539
2827
  slug: z.ZodString;
2540
2828
  section: z.ZodOptional<z.ZodString>;
2541
- }, z.core.$strip>;
2829
+ }, z.core.$strip>>;
2542
2830
  }, z.core.$strip>>;
2543
- }, z.core.$strip>;
2831
+ }, z.core.$strip>, z.ZodObject<{
2832
+ mode: z.ZodLiteral<"extract">;
2833
+ mission: z.ZodOptional<z.ZodString>;
2834
+ }, z.core.$strip>]>;
2544
2835
  source_id: z.ZodString;
2545
2836
  revision: z.ZodString;
2546
2837
  }, z.core.$strip>, z.ZodObject<{
@@ -2573,6 +2864,8 @@ export declare const OPS: {
2573
2864
  embedding_failed: "embedding_failed";
2574
2865
  rerank_failed: "rerank_failed";
2575
2866
  derive_failed: "derive_failed";
2867
+ retain_verification_failed: "retain_verification_failed";
2868
+ retain_apply_failed: "retain_apply_failed";
2576
2869
  expansion_failed: "expansion_failed";
2577
2870
  no_vector_index: "no_vector_index";
2578
2871
  partial_index: "partial_index";
@@ -2617,8 +2910,90 @@ export declare const OPS: {
2617
2910
  }>;
2618
2911
  memory_id: z.ZodOptional<z.ZodString>;
2619
2912
  slug: z.ZodOptional<z.ZodString>;
2913
+ reason_code: z.ZodOptional<z.ZodEnum<{
2914
+ conflict: "conflict";
2915
+ routing_uncertain: "routing_uncertain";
2916
+ no_writable_destination: "no_writable_destination";
2917
+ source_unavailable: "source_unavailable";
2918
+ discourse_uncertain: "discourse_uncertain";
2919
+ context_too_large: "context_too_large";
2920
+ time_unresolved: "time_unresolved";
2921
+ noncanonical_without_context: "noncanonical_without_context";
2922
+ support_limit: "support_limit";
2923
+ placement_degraded: "placement_degraded";
2924
+ apply_failed: "apply_failed";
2925
+ validation_failed: "validation_failed";
2926
+ }>>;
2620
2927
  reason: z.ZodOptional<z.ZodString>;
2621
2928
  }, z.core.$strip>>;
2929
+ reason_code: z.ZodOptional<z.ZodEnum<{
2930
+ conflict: "conflict";
2931
+ routing_uncertain: "routing_uncertain";
2932
+ no_writable_destination: "no_writable_destination";
2933
+ source_unavailable: "source_unavailable";
2934
+ discourse_uncertain: "discourse_uncertain";
2935
+ context_too_large: "context_too_large";
2936
+ time_unresolved: "time_unresolved";
2937
+ noncanonical_without_context: "noncanonical_without_context";
2938
+ support_limit: "support_limit";
2939
+ placement_degraded: "placement_degraded";
2940
+ apply_failed: "apply_failed";
2941
+ validation_failed: "validation_failed";
2942
+ }>>;
2943
+ status: z.ZodOptional<z.ZodEnum<{
2944
+ ok: "ok";
2945
+ empty: "empty";
2946
+ degraded: "degraded";
2947
+ unavailable: "unavailable";
2948
+ }>>;
2949
+ degraded: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2950
+ no_embedding_model: "no_embedding_model";
2951
+ no_reranker: "no_reranker";
2952
+ no_derive_model: "no_derive_model";
2953
+ no_expansion_model: "no_expansion_model";
2954
+ embedding_failed: "embedding_failed";
2955
+ rerank_failed: "rerank_failed";
2956
+ derive_failed: "derive_failed";
2957
+ retain_verification_failed: "retain_verification_failed";
2958
+ retain_apply_failed: "retain_apply_failed";
2959
+ expansion_failed: "expansion_failed";
2960
+ no_vector_index: "no_vector_index";
2961
+ partial_index: "partial_index";
2962
+ no_document_text: "no_document_text";
2963
+ document_source_missing: "document_source_missing";
2964
+ no_graph_index: "no_graph_index";
2965
+ no_entity_index: "no_entity_index";
2966
+ entity_resolution_failed: "entity_resolution_failed";
2967
+ partial_graph_index: "partial_graph_index";
2968
+ graph_traversal_limited: "graph_traversal_limited";
2969
+ no_answer_model: "no_answer_model";
2970
+ answer_failed: "answer_failed";
2971
+ answer_verification_failed: "answer_verification_failed";
2972
+ answer_truncated: "answer_truncated";
2973
+ }>>>;
2974
+ model_usage: z.ZodOptional<z.ZodObject<{
2975
+ extraction: z.ZodNullable<z.ZodObject<{
2976
+ model: z.ZodString;
2977
+ latency_ms: z.ZodNumber;
2978
+ input_tokens: z.ZodNullable<z.ZodNumber>;
2979
+ output_tokens: z.ZodNullable<z.ZodNumber>;
2980
+ total_tokens: z.ZodNullable<z.ZodNumber>;
2981
+ }, z.core.$strip>>;
2982
+ verification: z.ZodNullable<z.ZodObject<{
2983
+ model: z.ZodString;
2984
+ latency_ms: z.ZodNumber;
2985
+ input_tokens: z.ZodNullable<z.ZodNumber>;
2986
+ output_tokens: z.ZodNullable<z.ZodNumber>;
2987
+ total_tokens: z.ZodNullable<z.ZodNumber>;
2988
+ }, z.core.$strip>>;
2989
+ placement: z.ZodArray<z.ZodObject<{
2990
+ model: z.ZodString;
2991
+ latency_ms: z.ZodNumber;
2992
+ input_tokens: z.ZodNullable<z.ZodNumber>;
2993
+ output_tokens: z.ZodNullable<z.ZodNumber>;
2994
+ total_tokens: z.ZodNullable<z.ZodNumber>;
2995
+ }, z.core.$strip>>;
2996
+ }, z.core.$strip>>;
2622
2997
  note: z.ZodOptional<z.ZodString>;
2623
2998
  }, z.core.$strip>>;
2624
2999
  }, z.core.$strip>>;
@@ -2641,6 +3016,8 @@ export declare const OPS: {
2641
3016
  embedding_failed: "embedding_failed";
2642
3017
  rerank_failed: "rerank_failed";
2643
3018
  derive_failed: "derive_failed";
3019
+ retain_verification_failed: "retain_verification_failed";
3020
+ retain_apply_failed: "retain_apply_failed";
2644
3021
  expansion_failed: "expansion_failed";
2645
3022
  no_vector_index: "no_vector_index";
2646
3023
  partial_index: "partial_index";
@@ -2679,6 +3056,8 @@ export declare const OPS: {
2679
3056
  embedding_failed: "embedding_failed";
2680
3057
  rerank_failed: "rerank_failed";
2681
3058
  derive_failed: "derive_failed";
3059
+ retain_verification_failed: "retain_verification_failed";
3060
+ retain_apply_failed: "retain_apply_failed";
2682
3061
  expansion_failed: "expansion_failed";
2683
3062
  no_vector_index: "no_vector_index";
2684
3063
  partial_index: "partial_index";
@@ -2717,6 +3096,8 @@ export declare const OPS: {
2717
3096
  embedding_failed: "embedding_failed";
2718
3097
  rerank_failed: "rerank_failed";
2719
3098
  derive_failed: "derive_failed";
3099
+ retain_verification_failed: "retain_verification_failed";
3100
+ retain_apply_failed: "retain_apply_failed";
2720
3101
  expansion_failed: "expansion_failed";
2721
3102
  no_vector_index: "no_vector_index";
2722
3103
  partial_index: "partial_index";
@@ -2767,6 +3148,8 @@ export declare const OPS: {
2767
3148
  embedding_failed: "embedding_failed";
2768
3149
  rerank_failed: "rerank_failed";
2769
3150
  derive_failed: "derive_failed";
3151
+ retain_verification_failed: "retain_verification_failed";
3152
+ retain_apply_failed: "retain_apply_failed";
2770
3153
  expansion_failed: "expansion_failed";
2771
3154
  no_vector_index: "no_vector_index";
2772
3155
  partial_index: "partial_index";
@@ -2853,6 +3236,8 @@ export declare const OPS: {
2853
3236
  embedding_failed: "embedding_failed";
2854
3237
  rerank_failed: "rerank_failed";
2855
3238
  derive_failed: "derive_failed";
3239
+ retain_verification_failed: "retain_verification_failed";
3240
+ retain_apply_failed: "retain_apply_failed";
2856
3241
  expansion_failed: "expansion_failed";
2857
3242
  no_vector_index: "no_vector_index";
2858
3243
  partial_index: "partial_index";
@@ -2893,25 +3278,25 @@ export declare const OPS: {
2893
3278
  review: "review";
2894
3279
  }>;
2895
3280
  status: z.ZodEnum<{
3281
+ completed: "completed";
2896
3282
  superseded: "superseded";
2897
3283
  ready: "ready";
2898
3284
  awaiting_review: "awaiting_review";
2899
3285
  deciding: "deciding";
2900
3286
  approved: "approved";
2901
3287
  applying: "applying";
2902
- completed: "completed";
2903
3288
  partially_completed: "partially_completed";
2904
3289
  failed: "failed";
2905
3290
  }>;
2906
3291
  item_id: z.ZodString;
2907
3292
  item_status: z.ZodEnum<{
2908
- applied: "applied";
3293
+ proposed: "proposed";
2909
3294
  rejected: "rejected";
3295
+ applied: "applied";
2910
3296
  verification_pending: "verification_pending";
2911
3297
  blocked: "blocked";
2912
3298
  approved: "approved";
2913
3299
  applying: "applying";
2914
- proposed: "proposed";
2915
3300
  stale: "stale";
2916
3301
  verification_failed: "verification_failed";
2917
3302
  }>;