@tenphi/akno-protocol 0.4.0 → 0.6.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,10 @@ 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";
86
+ partial_temporal_index: "partial_temporal_index";
87
+ timeline_range_limited: "timeline_range_limited";
84
88
  expansion_failed: "expansion_failed";
85
89
  no_vector_index: "no_vector_index";
86
90
  partial_index: "partial_index";
@@ -115,6 +119,116 @@ export declare const OPS: {
115
119
  n: z.ZodNumber;
116
120
  text: z.ZodString;
117
121
  confidence: z.ZodOptional<z.ZodNumber>;
122
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
123
+ status: z.ZodLiteral<"qualified">;
124
+ id: z.ZodString;
125
+ level: z.ZodLiteral<1>;
126
+ kind: z.ZodEnum<{
127
+ question: "question";
128
+ claim: "claim";
129
+ decision: "decision";
130
+ preference: "preference";
131
+ plan: "plan";
132
+ event: "event";
133
+ }>;
134
+ subject: z.ZodString;
135
+ source_role: z.ZodEnum<{
136
+ unknown: "unknown";
137
+ user: "user";
138
+ assistant: "assistant";
139
+ external: "external";
140
+ }>;
141
+ source_speaker: z.ZodOptional<z.ZodString>;
142
+ commitment: z.ZodEnum<{
143
+ none: "none";
144
+ tentative: "tentative";
145
+ asserted: "asserted";
146
+ hypothetical: "hypothetical";
147
+ counterfactual: "counterfactual";
148
+ }>;
149
+ disposition: z.ZodEnum<{
150
+ active: "active";
151
+ proposed: "proposed";
152
+ accepted: "accepted";
153
+ rejected: "rejected";
154
+ resolved: "resolved";
155
+ cancelled: "cancelled";
156
+ completed: "completed";
157
+ superseded: "superseded";
158
+ }>;
159
+ polarity: z.ZodEnum<{
160
+ affirmed: "affirmed";
161
+ negated: "negated";
162
+ }>;
163
+ basis: z.ZodEnum<{
164
+ self_attested: "self_attested";
165
+ source_report: "source_report";
166
+ cited_evidence: "cited_evidence";
167
+ system_record: "system_record";
168
+ }>;
169
+ answer_eligible: z.ZodBoolean;
170
+ current_eligible: z.ZodBoolean;
171
+ temporal: z.ZodOptional<z.ZodObject<{
172
+ time: z.ZodObject<{
173
+ start: z.ZodOptional<z.ZodString>;
174
+ until: z.ZodOptional<z.ZodString>;
175
+ precision: z.ZodEnum<{
176
+ instant: "instant";
177
+ day: "day";
178
+ month: "month";
179
+ year: "year";
180
+ unknown: "unknown";
181
+ }>;
182
+ relation: z.ZodEnum<{
183
+ occurred: "occurred";
184
+ valid: "valid";
185
+ scheduled: "scheduled";
186
+ due: "due";
187
+ }>;
188
+ status: z.ZodEnum<{
189
+ scheduled: "scheduled";
190
+ actual: "actual";
191
+ planned: "planned";
192
+ tentative: "tentative";
193
+ }>;
194
+ timezone: z.ZodOptional<z.ZodString>;
195
+ mentioned_at: z.ZodOptional<z.ZodString>;
196
+ recurrence: z.ZodOptional<z.ZodObject<{
197
+ frequency: z.ZodEnum<{
198
+ daily: "daily";
199
+ weekly: "weekly";
200
+ monthly: "monthly";
201
+ yearly: "yearly";
202
+ }>;
203
+ interval: z.ZodOptional<z.ZodNumber>;
204
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
205
+ mo: "mo";
206
+ tu: "tu";
207
+ we: "we";
208
+ th: "th";
209
+ fr: "fr";
210
+ sa: "sa";
211
+ su: "su";
212
+ }>>>;
213
+ until: z.ZodOptional<z.ZodString>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>;
216
+ clock_relation: z.ZodEnum<{
217
+ past: "past";
218
+ today: "today";
219
+ current_period: "current_period";
220
+ ongoing: "ongoing";
221
+ future: "future";
222
+ overdue: "overdue";
223
+ undated: "undated";
224
+ }>;
225
+ actionable: z.ZodBoolean;
226
+ }, z.core.$strip>>;
227
+ }, z.core.$strip>, z.ZodObject<{
228
+ status: z.ZodLiteral<"unavailable">;
229
+ id: z.ZodString;
230
+ answer_eligible: z.ZodLiteral<false>;
231
+ }, z.core.$strip>], "status">>;
118
232
  fact: z.ZodOptional<z.ZodString>;
119
233
  }, z.core.$strip>>;
120
234
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -158,11 +272,11 @@ export declare const OPS: {
158
272
  seed: z.ZodObject<{
159
273
  id: z.ZodString;
160
274
  kind: z.ZodEnum<{
275
+ event: "event";
161
276
  fact: "fact";
162
277
  entity: "entity";
163
278
  page: "page";
164
279
  document: "document";
165
- event: "event";
166
280
  }>;
167
281
  slug: z.ZodOptional<z.ZodString>;
168
282
  label: z.ZodOptional<z.ZodString>;
@@ -197,11 +311,11 @@ export declare const OPS: {
197
311
  target: z.ZodObject<{
198
312
  id: z.ZodString;
199
313
  kind: z.ZodEnum<{
314
+ event: "event";
200
315
  fact: "fact";
201
316
  entity: "entity";
202
317
  page: "page";
203
318
  document: "document";
204
- event: "event";
205
319
  }>;
206
320
  slug: z.ZodOptional<z.ZodString>;
207
321
  label: z.ZodOptional<z.ZodString>;
@@ -236,11 +350,11 @@ export declare const OPS: {
236
350
  nodes: z.ZodArray<z.ZodObject<{
237
351
  id: z.ZodString;
238
352
  kind: z.ZodEnum<{
353
+ event: "event";
239
354
  fact: "fact";
240
355
  entity: "entity";
241
356
  page: "page";
242
357
  document: "document";
243
- event: "event";
244
358
  }>;
245
359
  slug: z.ZodOptional<z.ZodString>;
246
360
  label: z.ZodOptional<z.ZodString>;
@@ -368,11 +482,11 @@ export declare const OPS: {
368
482
  seed: z.ZodObject<{
369
483
  id: z.ZodString;
370
484
  kind: z.ZodEnum<{
485
+ event: "event";
371
486
  fact: "fact";
372
487
  entity: "entity";
373
488
  page: "page";
374
489
  document: "document";
375
- event: "event";
376
490
  }>;
377
491
  slug: z.ZodOptional<z.ZodString>;
378
492
  label: z.ZodOptional<z.ZodString>;
@@ -407,11 +521,11 @@ export declare const OPS: {
407
521
  target: z.ZodObject<{
408
522
  id: z.ZodString;
409
523
  kind: z.ZodEnum<{
524
+ event: "event";
410
525
  fact: "fact";
411
526
  entity: "entity";
412
527
  page: "page";
413
528
  document: "document";
414
- event: "event";
415
529
  }>;
416
530
  slug: z.ZodOptional<z.ZodString>;
417
531
  label: z.ZodOptional<z.ZodString>;
@@ -446,11 +560,11 @@ export declare const OPS: {
446
560
  nodes: z.ZodArray<z.ZodObject<{
447
561
  id: z.ZodString;
448
562
  kind: z.ZodEnum<{
563
+ event: "event";
449
564
  fact: "fact";
450
565
  entity: "entity";
451
566
  page: "page";
452
567
  document: "document";
453
- event: "event";
454
568
  }>;
455
569
  slug: z.ZodOptional<z.ZodString>;
456
570
  label: z.ZodOptional<z.ZodString>;
@@ -600,6 +714,10 @@ export declare const OPS: {
600
714
  embedding_failed: "embedding_failed";
601
715
  rerank_failed: "rerank_failed";
602
716
  derive_failed: "derive_failed";
717
+ retain_verification_failed: "retain_verification_failed";
718
+ retain_apply_failed: "retain_apply_failed";
719
+ partial_temporal_index: "partial_temporal_index";
720
+ timeline_range_limited: "timeline_range_limited";
603
721
  expansion_failed: "expansion_failed";
604
722
  no_vector_index: "no_vector_index";
605
723
  partial_index: "partial_index";
@@ -645,6 +763,116 @@ export declare const OPS: {
645
763
  n: z.ZodNumber;
646
764
  text: z.ZodString;
647
765
  confidence: z.ZodOptional<z.ZodNumber>;
766
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
767
+ status: z.ZodLiteral<"qualified">;
768
+ id: z.ZodString;
769
+ level: z.ZodLiteral<1>;
770
+ kind: z.ZodEnum<{
771
+ question: "question";
772
+ claim: "claim";
773
+ decision: "decision";
774
+ preference: "preference";
775
+ plan: "plan";
776
+ event: "event";
777
+ }>;
778
+ subject: z.ZodString;
779
+ source_role: z.ZodEnum<{
780
+ unknown: "unknown";
781
+ user: "user";
782
+ assistant: "assistant";
783
+ external: "external";
784
+ }>;
785
+ source_speaker: z.ZodOptional<z.ZodString>;
786
+ commitment: z.ZodEnum<{
787
+ none: "none";
788
+ tentative: "tentative";
789
+ asserted: "asserted";
790
+ hypothetical: "hypothetical";
791
+ counterfactual: "counterfactual";
792
+ }>;
793
+ disposition: z.ZodEnum<{
794
+ active: "active";
795
+ proposed: "proposed";
796
+ accepted: "accepted";
797
+ rejected: "rejected";
798
+ resolved: "resolved";
799
+ cancelled: "cancelled";
800
+ completed: "completed";
801
+ superseded: "superseded";
802
+ }>;
803
+ polarity: z.ZodEnum<{
804
+ affirmed: "affirmed";
805
+ negated: "negated";
806
+ }>;
807
+ basis: z.ZodEnum<{
808
+ self_attested: "self_attested";
809
+ source_report: "source_report";
810
+ cited_evidence: "cited_evidence";
811
+ system_record: "system_record";
812
+ }>;
813
+ answer_eligible: z.ZodBoolean;
814
+ current_eligible: z.ZodBoolean;
815
+ temporal: z.ZodOptional<z.ZodObject<{
816
+ time: z.ZodObject<{
817
+ start: z.ZodOptional<z.ZodString>;
818
+ until: z.ZodOptional<z.ZodString>;
819
+ precision: z.ZodEnum<{
820
+ instant: "instant";
821
+ day: "day";
822
+ month: "month";
823
+ year: "year";
824
+ unknown: "unknown";
825
+ }>;
826
+ relation: z.ZodEnum<{
827
+ occurred: "occurred";
828
+ valid: "valid";
829
+ scheduled: "scheduled";
830
+ due: "due";
831
+ }>;
832
+ status: z.ZodEnum<{
833
+ scheduled: "scheduled";
834
+ actual: "actual";
835
+ planned: "planned";
836
+ tentative: "tentative";
837
+ }>;
838
+ timezone: z.ZodOptional<z.ZodString>;
839
+ mentioned_at: z.ZodOptional<z.ZodString>;
840
+ recurrence: z.ZodOptional<z.ZodObject<{
841
+ frequency: z.ZodEnum<{
842
+ daily: "daily";
843
+ weekly: "weekly";
844
+ monthly: "monthly";
845
+ yearly: "yearly";
846
+ }>;
847
+ interval: z.ZodOptional<z.ZodNumber>;
848
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
849
+ mo: "mo";
850
+ tu: "tu";
851
+ we: "we";
852
+ th: "th";
853
+ fr: "fr";
854
+ sa: "sa";
855
+ su: "su";
856
+ }>>>;
857
+ until: z.ZodOptional<z.ZodString>;
858
+ }, z.core.$strip>>;
859
+ }, z.core.$strip>;
860
+ clock_relation: z.ZodEnum<{
861
+ past: "past";
862
+ today: "today";
863
+ current_period: "current_period";
864
+ ongoing: "ongoing";
865
+ future: "future";
866
+ overdue: "overdue";
867
+ undated: "undated";
868
+ }>;
869
+ actionable: z.ZodBoolean;
870
+ }, z.core.$strip>>;
871
+ }, z.core.$strip>, z.ZodObject<{
872
+ status: z.ZodLiteral<"unavailable">;
873
+ id: z.ZodString;
874
+ answer_eligible: z.ZodLiteral<false>;
875
+ }, z.core.$strip>], "status">>;
648
876
  fact: z.ZodOptional<z.ZodString>;
649
877
  }, z.core.$strip>>;
650
878
  }, z.core.$strip>, z.ZodObject<{
@@ -727,6 +955,10 @@ export declare const OPS: {
727
955
  embedding_failed: "embedding_failed";
728
956
  rerank_failed: "rerank_failed";
729
957
  derive_failed: "derive_failed";
958
+ retain_verification_failed: "retain_verification_failed";
959
+ retain_apply_failed: "retain_apply_failed";
960
+ partial_temporal_index: "partial_temporal_index";
961
+ timeline_range_limited: "timeline_range_limited";
730
962
  expansion_failed: "expansion_failed";
731
963
  no_vector_index: "no_vector_index";
732
964
  partial_index: "partial_index";
@@ -775,6 +1007,116 @@ export declare const OPS: {
775
1007
  n: z.ZodNumber;
776
1008
  text: z.ZodString;
777
1009
  confidence: z.ZodOptional<z.ZodNumber>;
1010
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1011
+ status: z.ZodLiteral<"qualified">;
1012
+ id: z.ZodString;
1013
+ level: z.ZodLiteral<1>;
1014
+ kind: z.ZodEnum<{
1015
+ question: "question";
1016
+ claim: "claim";
1017
+ decision: "decision";
1018
+ preference: "preference";
1019
+ plan: "plan";
1020
+ event: "event";
1021
+ }>;
1022
+ subject: z.ZodString;
1023
+ source_role: z.ZodEnum<{
1024
+ unknown: "unknown";
1025
+ user: "user";
1026
+ assistant: "assistant";
1027
+ external: "external";
1028
+ }>;
1029
+ source_speaker: z.ZodOptional<z.ZodString>;
1030
+ commitment: z.ZodEnum<{
1031
+ none: "none";
1032
+ tentative: "tentative";
1033
+ asserted: "asserted";
1034
+ hypothetical: "hypothetical";
1035
+ counterfactual: "counterfactual";
1036
+ }>;
1037
+ disposition: z.ZodEnum<{
1038
+ active: "active";
1039
+ proposed: "proposed";
1040
+ accepted: "accepted";
1041
+ rejected: "rejected";
1042
+ resolved: "resolved";
1043
+ cancelled: "cancelled";
1044
+ completed: "completed";
1045
+ superseded: "superseded";
1046
+ }>;
1047
+ polarity: z.ZodEnum<{
1048
+ affirmed: "affirmed";
1049
+ negated: "negated";
1050
+ }>;
1051
+ basis: z.ZodEnum<{
1052
+ self_attested: "self_attested";
1053
+ source_report: "source_report";
1054
+ cited_evidence: "cited_evidence";
1055
+ system_record: "system_record";
1056
+ }>;
1057
+ answer_eligible: z.ZodBoolean;
1058
+ current_eligible: z.ZodBoolean;
1059
+ temporal: z.ZodOptional<z.ZodObject<{
1060
+ time: z.ZodObject<{
1061
+ start: z.ZodOptional<z.ZodString>;
1062
+ until: z.ZodOptional<z.ZodString>;
1063
+ precision: z.ZodEnum<{
1064
+ instant: "instant";
1065
+ day: "day";
1066
+ month: "month";
1067
+ year: "year";
1068
+ unknown: "unknown";
1069
+ }>;
1070
+ relation: z.ZodEnum<{
1071
+ occurred: "occurred";
1072
+ valid: "valid";
1073
+ scheduled: "scheduled";
1074
+ due: "due";
1075
+ }>;
1076
+ status: z.ZodEnum<{
1077
+ scheduled: "scheduled";
1078
+ actual: "actual";
1079
+ planned: "planned";
1080
+ tentative: "tentative";
1081
+ }>;
1082
+ timezone: z.ZodOptional<z.ZodString>;
1083
+ mentioned_at: z.ZodOptional<z.ZodString>;
1084
+ recurrence: z.ZodOptional<z.ZodObject<{
1085
+ frequency: z.ZodEnum<{
1086
+ daily: "daily";
1087
+ weekly: "weekly";
1088
+ monthly: "monthly";
1089
+ yearly: "yearly";
1090
+ }>;
1091
+ interval: z.ZodOptional<z.ZodNumber>;
1092
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1093
+ mo: "mo";
1094
+ tu: "tu";
1095
+ we: "we";
1096
+ th: "th";
1097
+ fr: "fr";
1098
+ sa: "sa";
1099
+ su: "su";
1100
+ }>>>;
1101
+ until: z.ZodOptional<z.ZodString>;
1102
+ }, z.core.$strip>>;
1103
+ }, z.core.$strip>;
1104
+ clock_relation: z.ZodEnum<{
1105
+ past: "past";
1106
+ today: "today";
1107
+ current_period: "current_period";
1108
+ ongoing: "ongoing";
1109
+ future: "future";
1110
+ overdue: "overdue";
1111
+ undated: "undated";
1112
+ }>;
1113
+ actionable: z.ZodBoolean;
1114
+ }, z.core.$strip>>;
1115
+ }, z.core.$strip>, z.ZodObject<{
1116
+ status: z.ZodLiteral<"unavailable">;
1117
+ id: z.ZodString;
1118
+ answer_eligible: z.ZodLiteral<false>;
1119
+ }, z.core.$strip>], "status">>;
778
1120
  fact: z.ZodOptional<z.ZodString>;
779
1121
  }, z.core.$strip>>;
780
1122
  source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -879,6 +1221,10 @@ export declare const OPS: {
879
1221
  embedding_failed: "embedding_failed";
880
1222
  rerank_failed: "rerank_failed";
881
1223
  derive_failed: "derive_failed";
1224
+ retain_verification_failed: "retain_verification_failed";
1225
+ retain_apply_failed: "retain_apply_failed";
1226
+ partial_temporal_index: "partial_temporal_index";
1227
+ timeline_range_limited: "timeline_range_limited";
882
1228
  expansion_failed: "expansion_failed";
883
1229
  no_vector_index: "no_vector_index";
884
1230
  partial_index: "partial_index";
@@ -940,14 +1286,57 @@ export declare const OPS: {
940
1286
  match: z.ZodOptional<z.ZodString>;
941
1287
  subject: z.ZodOptional<z.ZodString>;
942
1288
  source: z.ZodOptional<z.ZodEnum<{
943
- document: "document";
1289
+ plan: "plan";
944
1290
  event: "event";
1291
+ document: "document";
945
1292
  both: "both";
1293
+ state: "state";
1294
+ deadline: "deadline";
1295
+ document_evidence: "document_evidence";
1296
+ all: "all";
1297
+ }>>;
1298
+ scope: z.ZodOptional<z.ZodEnum<{
1299
+ past: "past";
1300
+ today: "today";
1301
+ future: "future";
1302
+ all: "all";
1303
+ }>>;
1304
+ clock_relation: z.ZodOptional<z.ZodEnum<{
1305
+ past: "past";
1306
+ today: "today";
1307
+ current_period: "current_period";
1308
+ ongoing: "ongoing";
1309
+ future: "future";
1310
+ overdue: "overdue";
1311
+ undated: "undated";
1312
+ }>>;
1313
+ temporal_status: z.ZodOptional<z.ZodEnum<{
1314
+ scheduled: "scheduled";
1315
+ actual: "actual";
1316
+ planned: "planned";
1317
+ tentative: "tentative";
1318
+ }>>;
1319
+ disposition: z.ZodOptional<z.ZodEnum<{
1320
+ active: "active";
1321
+ proposed: "proposed";
1322
+ accepted: "accepted";
1323
+ rejected: "rejected";
1324
+ resolved: "resolved";
1325
+ cancelled: "cancelled";
1326
+ completed: "completed";
1327
+ superseded: "superseded";
946
1328
  }>>;
1329
+ view: z.ZodOptional<z.ZodEnum<{
1330
+ actionable: "actionable";
1331
+ history: "history";
1332
+ }>>;
1333
+ as_of: z.ZodOptional<z.ZodString>;
1334
+ timezone: z.ZodOptional<z.ZodString>;
947
1335
  limit: z.ZodOptional<z.ZodNumber>;
948
1336
  order: z.ZodOptional<z.ZodEnum<{
949
1337
  newest: "newest";
950
1338
  oldest: "oldest";
1339
+ nearest: "nearest";
951
1340
  }>>;
952
1341
  }, z.core.$strip>, z.ZodObject<{
953
1342
  status: z.ZodEnum<{
@@ -964,6 +1353,10 @@ export declare const OPS: {
964
1353
  embedding_failed: "embedding_failed";
965
1354
  rerank_failed: "rerank_failed";
966
1355
  derive_failed: "derive_failed";
1356
+ retain_verification_failed: "retain_verification_failed";
1357
+ retain_apply_failed: "retain_apply_failed";
1358
+ partial_temporal_index: "partial_temporal_index";
1359
+ timeline_range_limited: "timeline_range_limited";
967
1360
  expansion_failed: "expansion_failed";
968
1361
  no_vector_index: "no_vector_index";
969
1362
  partial_index: "partial_index";
@@ -987,9 +1380,148 @@ export declare const OPS: {
987
1380
  slug: z.ZodNullable<z.ZodString>;
988
1381
  source: z.ZodString;
989
1382
  line: z.ZodNullable<z.ZodNumber>;
1383
+ relation: z.ZodLiteral<"occurred">;
1384
+ temporal_status: z.ZodLiteral<"actual">;
1385
+ disposition: z.ZodLiteral<"active">;
1386
+ actionable: z.ZodLiteral<false>;
1387
+ start: z.ZodNullable<z.ZodString>;
1388
+ until: z.ZodNullable<z.ZodString>;
1389
+ precision: z.ZodEnum<{
1390
+ instant: "instant";
1391
+ day: "day";
1392
+ month: "month";
1393
+ year: "year";
1394
+ unknown: "unknown";
1395
+ }>;
1396
+ clock_relation: z.ZodEnum<{
1397
+ past: "past";
1398
+ today: "today";
1399
+ current_period: "current_period";
1400
+ ongoing: "ongoing";
1401
+ future: "future";
1402
+ overdue: "overdue";
1403
+ undated: "undated";
1404
+ }>;
1405
+ timezone: z.ZodNullable<z.ZodString>;
1406
+ mentioned_at: z.ZodNullable<z.ZodString>;
990
1407
  type: z.ZodLiteral<"event">;
1408
+ origin: z.ZodLiteral<"authored">;
1409
+ source_kind: z.ZodLiteral<"event">;
991
1410
  }, z.core.$strip>, z.ZodObject<{
1411
+ relation: z.ZodEnum<{
1412
+ occurred: "occurred";
1413
+ valid: "valid";
1414
+ scheduled: "scheduled";
1415
+ due: "due";
1416
+ }>;
1417
+ temporal_status: z.ZodEnum<{
1418
+ scheduled: "scheduled";
1419
+ actual: "actual";
1420
+ planned: "planned";
1421
+ tentative: "tentative";
1422
+ }>;
1423
+ disposition: z.ZodEnum<{
1424
+ active: "active";
1425
+ proposed: "proposed";
1426
+ accepted: "accepted";
1427
+ rejected: "rejected";
1428
+ resolved: "resolved";
1429
+ cancelled: "cancelled";
1430
+ completed: "completed";
1431
+ superseded: "superseded";
1432
+ }>;
1433
+ actionable: z.ZodBoolean;
1434
+ recurrence: z.ZodOptional<z.ZodObject<{
1435
+ frequency: z.ZodEnum<{
1436
+ daily: "daily";
1437
+ weekly: "weekly";
1438
+ monthly: "monthly";
1439
+ yearly: "yearly";
1440
+ }>;
1441
+ interval: z.ZodOptional<z.ZodNumber>;
1442
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1443
+ mo: "mo";
1444
+ tu: "tu";
1445
+ we: "we";
1446
+ th: "th";
1447
+ fr: "fr";
1448
+ sa: "sa";
1449
+ su: "su";
1450
+ }>>>;
1451
+ until: z.ZodOptional<z.ZodString>;
1452
+ }, z.core.$strip>>;
1453
+ occurrence: z.ZodOptional<z.ZodNumber>;
1454
+ start: z.ZodNullable<z.ZodString>;
1455
+ until: z.ZodNullable<z.ZodString>;
1456
+ precision: z.ZodEnum<{
1457
+ instant: "instant";
1458
+ day: "day";
1459
+ month: "month";
1460
+ year: "year";
1461
+ unknown: "unknown";
1462
+ }>;
1463
+ clock_relation: z.ZodEnum<{
1464
+ past: "past";
1465
+ today: "today";
1466
+ current_period: "current_period";
1467
+ ongoing: "ongoing";
1468
+ future: "future";
1469
+ overdue: "overdue";
1470
+ undated: "undated";
1471
+ }>;
1472
+ timezone: z.ZodNullable<z.ZodString>;
1473
+ mentioned_at: z.ZodNullable<z.ZodString>;
1474
+ type: z.ZodLiteral<"memory">;
1475
+ origin: z.ZodLiteral<"retained">;
1476
+ source_kind: z.ZodEnum<{
1477
+ plan: "plan";
1478
+ event: "event";
1479
+ state: "state";
1480
+ deadline: "deadline";
1481
+ }>;
1482
+ id: z.ZodString;
1483
+ memory_id: z.ZodString;
1484
+ summary: z.ZodString;
1485
+ slug: z.ZodString;
1486
+ line: z.ZodNumber;
1487
+ kind: z.ZodEnum<{
1488
+ question: "question";
1489
+ claim: "claim";
1490
+ decision: "decision";
1491
+ preference: "preference";
1492
+ plan: "plan";
1493
+ event: "event";
1494
+ }>;
1495
+ subject: z.ZodString;
1496
+ evidence: z.ZodArray<z.ZodString>;
1497
+ }, z.core.$strip>, z.ZodObject<{
1498
+ relation: z.ZodLiteral<"evidenced">;
1499
+ temporal_status: z.ZodLiteral<"evidence">;
1500
+ disposition: z.ZodNull;
1501
+ actionable: z.ZodLiteral<false>;
1502
+ start: z.ZodNullable<z.ZodString>;
1503
+ until: z.ZodNullable<z.ZodString>;
1504
+ precision: z.ZodEnum<{
1505
+ instant: "instant";
1506
+ day: "day";
1507
+ month: "month";
1508
+ year: "year";
1509
+ unknown: "unknown";
1510
+ }>;
1511
+ clock_relation: z.ZodEnum<{
1512
+ past: "past";
1513
+ today: "today";
1514
+ current_period: "current_period";
1515
+ ongoing: "ongoing";
1516
+ future: "future";
1517
+ overdue: "overdue";
1518
+ undated: "undated";
1519
+ }>;
1520
+ timezone: z.ZodNullable<z.ZodString>;
1521
+ mentioned_at: z.ZodNullable<z.ZodString>;
992
1522
  type: z.ZodLiteral<"document_evidence">;
1523
+ origin: z.ZodLiteral<"document">;
1524
+ source_kind: z.ZodLiteral<"document_evidence">;
993
1525
  id: z.ZodString;
994
1526
  date: z.ZodString;
995
1527
  date_basis: z.ZodEnum<{
@@ -1044,10 +1576,62 @@ export declare const OPS: {
1044
1576
  }, z.core.$strip>>>;
1045
1577
  }, z.core.$strip>], "type">>;
1046
1578
  total: z.ZodNumber;
1579
+ truncated: z.ZodOptional<z.ZodBoolean>;
1047
1580
  range: z.ZodObject<{
1048
1581
  since: z.ZodNullable<z.ZodString>;
1049
1582
  until: z.ZodNullable<z.ZodString>;
1050
1583
  }, z.core.$strip>;
1584
+ clock: z.ZodObject<{
1585
+ as_of: z.ZodString;
1586
+ timezone: z.ZodString;
1587
+ local_date: z.ZodString;
1588
+ }, z.core.$strip>;
1589
+ groups: z.ZodObject<{
1590
+ clock_relation: z.ZodArray<z.ZodObject<{
1591
+ value: z.ZodEnum<{
1592
+ past: "past";
1593
+ today: "today";
1594
+ current_period: "current_period";
1595
+ ongoing: "ongoing";
1596
+ future: "future";
1597
+ overdue: "overdue";
1598
+ undated: "undated";
1599
+ }>;
1600
+ count: z.ZodNumber;
1601
+ }, z.core.$strip>>;
1602
+ source_kind: z.ZodArray<z.ZodObject<{
1603
+ value: z.ZodEnum<{
1604
+ plan: "plan";
1605
+ event: "event";
1606
+ state: "state";
1607
+ deadline: "deadline";
1608
+ document_evidence: "document_evidence";
1609
+ }>;
1610
+ count: z.ZodNumber;
1611
+ }, z.core.$strip>>;
1612
+ temporal_status: z.ZodArray<z.ZodObject<{
1613
+ value: z.ZodUnion<readonly [z.ZodEnum<{
1614
+ scheduled: "scheduled";
1615
+ actual: "actual";
1616
+ planned: "planned";
1617
+ tentative: "tentative";
1618
+ }>, z.ZodLiteral<"evidence">]>;
1619
+ count: z.ZodNumber;
1620
+ }, z.core.$strip>>;
1621
+ disposition: z.ZodArray<z.ZodObject<{
1622
+ value: z.ZodUnion<readonly [z.ZodEnum<{
1623
+ active: "active";
1624
+ proposed: "proposed";
1625
+ accepted: "accepted";
1626
+ rejected: "rejected";
1627
+ resolved: "resolved";
1628
+ cancelled: "cancelled";
1629
+ completed: "completed";
1630
+ superseded: "superseded";
1631
+ }>, z.ZodLiteral<"none">]>;
1632
+ count: z.ZodNumber;
1633
+ }, z.core.$strip>>;
1634
+ }, z.core.$strip>;
1051
1635
  }, z.core.$strip>>;
1052
1636
  readonly context: OpDefinition<z.ZodObject<{
1053
1637
  query: z.ZodOptional<z.ZodString>;
@@ -1113,6 +1697,10 @@ export declare const OPS: {
1113
1697
  embedding_failed: "embedding_failed";
1114
1698
  rerank_failed: "rerank_failed";
1115
1699
  derive_failed: "derive_failed";
1700
+ retain_verification_failed: "retain_verification_failed";
1701
+ retain_apply_failed: "retain_apply_failed";
1702
+ partial_temporal_index: "partial_temporal_index";
1703
+ timeline_range_limited: "timeline_range_limited";
1116
1704
  expansion_failed: "expansion_failed";
1117
1705
  no_vector_index: "no_vector_index";
1118
1706
  partial_index: "partial_index";
@@ -1137,9 +1725,9 @@ export declare const OPS: {
1137
1725
  activated: z.ZodBoolean;
1138
1726
  basis: z.ZodEnum<{
1139
1727
  none: "none";
1728
+ qualified: "qualified";
1140
1729
  exact: "exact";
1141
1730
  semantic: "semantic";
1142
- qualified: "qualified";
1143
1731
  }>;
1144
1732
  candidates: z.ZodNumber;
1145
1733
  selected: z.ZodNumber;
@@ -1163,6 +1751,116 @@ export declare const OPS: {
1163
1751
  n: z.ZodNumber;
1164
1752
  text: z.ZodString;
1165
1753
  confidence: z.ZodOptional<z.ZodNumber>;
1754
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1755
+ status: z.ZodLiteral<"qualified">;
1756
+ id: z.ZodString;
1757
+ level: z.ZodLiteral<1>;
1758
+ kind: z.ZodEnum<{
1759
+ question: "question";
1760
+ claim: "claim";
1761
+ decision: "decision";
1762
+ preference: "preference";
1763
+ plan: "plan";
1764
+ event: "event";
1765
+ }>;
1766
+ subject: z.ZodString;
1767
+ source_role: z.ZodEnum<{
1768
+ unknown: "unknown";
1769
+ user: "user";
1770
+ assistant: "assistant";
1771
+ external: "external";
1772
+ }>;
1773
+ source_speaker: z.ZodOptional<z.ZodString>;
1774
+ commitment: z.ZodEnum<{
1775
+ none: "none";
1776
+ tentative: "tentative";
1777
+ asserted: "asserted";
1778
+ hypothetical: "hypothetical";
1779
+ counterfactual: "counterfactual";
1780
+ }>;
1781
+ disposition: z.ZodEnum<{
1782
+ active: "active";
1783
+ proposed: "proposed";
1784
+ accepted: "accepted";
1785
+ rejected: "rejected";
1786
+ resolved: "resolved";
1787
+ cancelled: "cancelled";
1788
+ completed: "completed";
1789
+ superseded: "superseded";
1790
+ }>;
1791
+ polarity: z.ZodEnum<{
1792
+ affirmed: "affirmed";
1793
+ negated: "negated";
1794
+ }>;
1795
+ basis: z.ZodEnum<{
1796
+ self_attested: "self_attested";
1797
+ source_report: "source_report";
1798
+ cited_evidence: "cited_evidence";
1799
+ system_record: "system_record";
1800
+ }>;
1801
+ answer_eligible: z.ZodBoolean;
1802
+ current_eligible: z.ZodBoolean;
1803
+ temporal: z.ZodOptional<z.ZodObject<{
1804
+ time: z.ZodObject<{
1805
+ start: z.ZodOptional<z.ZodString>;
1806
+ until: z.ZodOptional<z.ZodString>;
1807
+ precision: z.ZodEnum<{
1808
+ instant: "instant";
1809
+ day: "day";
1810
+ month: "month";
1811
+ year: "year";
1812
+ unknown: "unknown";
1813
+ }>;
1814
+ relation: z.ZodEnum<{
1815
+ occurred: "occurred";
1816
+ valid: "valid";
1817
+ scheduled: "scheduled";
1818
+ due: "due";
1819
+ }>;
1820
+ status: z.ZodEnum<{
1821
+ scheduled: "scheduled";
1822
+ actual: "actual";
1823
+ planned: "planned";
1824
+ tentative: "tentative";
1825
+ }>;
1826
+ timezone: z.ZodOptional<z.ZodString>;
1827
+ mentioned_at: z.ZodOptional<z.ZodString>;
1828
+ recurrence: z.ZodOptional<z.ZodObject<{
1829
+ frequency: z.ZodEnum<{
1830
+ daily: "daily";
1831
+ weekly: "weekly";
1832
+ monthly: "monthly";
1833
+ yearly: "yearly";
1834
+ }>;
1835
+ interval: z.ZodOptional<z.ZodNumber>;
1836
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1837
+ mo: "mo";
1838
+ tu: "tu";
1839
+ we: "we";
1840
+ th: "th";
1841
+ fr: "fr";
1842
+ sa: "sa";
1843
+ su: "su";
1844
+ }>>>;
1845
+ until: z.ZodOptional<z.ZodString>;
1846
+ }, z.core.$strip>>;
1847
+ }, z.core.$strip>;
1848
+ clock_relation: z.ZodEnum<{
1849
+ past: "past";
1850
+ today: "today";
1851
+ current_period: "current_period";
1852
+ ongoing: "ongoing";
1853
+ future: "future";
1854
+ overdue: "overdue";
1855
+ undated: "undated";
1856
+ }>;
1857
+ actionable: z.ZodBoolean;
1858
+ }, z.core.$strip>>;
1859
+ }, z.core.$strip>, z.ZodObject<{
1860
+ status: z.ZodLiteral<"unavailable">;
1861
+ id: z.ZodString;
1862
+ answer_eligible: z.ZodLiteral<false>;
1863
+ }, z.core.$strip>], "status">>;
1166
1864
  fact: z.ZodOptional<z.ZodString>;
1167
1865
  }, z.core.$strip>>;
1168
1866
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1206,11 +1904,11 @@ export declare const OPS: {
1206
1904
  seed: z.ZodObject<{
1207
1905
  id: z.ZodString;
1208
1906
  kind: z.ZodEnum<{
1907
+ event: "event";
1209
1908
  fact: "fact";
1210
1909
  entity: "entity";
1211
1910
  page: "page";
1212
1911
  document: "document";
1213
- event: "event";
1214
1912
  }>;
1215
1913
  slug: z.ZodOptional<z.ZodString>;
1216
1914
  label: z.ZodOptional<z.ZodString>;
@@ -1245,11 +1943,11 @@ export declare const OPS: {
1245
1943
  target: z.ZodObject<{
1246
1944
  id: z.ZodString;
1247
1945
  kind: z.ZodEnum<{
1946
+ event: "event";
1248
1947
  fact: "fact";
1249
1948
  entity: "entity";
1250
1949
  page: "page";
1251
1950
  document: "document";
1252
- event: "event";
1253
1951
  }>;
1254
1952
  slug: z.ZodOptional<z.ZodString>;
1255
1953
  label: z.ZodOptional<z.ZodString>;
@@ -1284,11 +1982,11 @@ export declare const OPS: {
1284
1982
  nodes: z.ZodArray<z.ZodObject<{
1285
1983
  id: z.ZodString;
1286
1984
  kind: z.ZodEnum<{
1985
+ event: "event";
1287
1986
  fact: "fact";
1288
1987
  entity: "entity";
1289
1988
  page: "page";
1290
1989
  document: "document";
1291
- event: "event";
1292
1990
  }>;
1293
1991
  slug: z.ZodOptional<z.ZodString>;
1294
1992
  label: z.ZodOptional<z.ZodString>;
@@ -1367,6 +2065,116 @@ export declare const OPS: {
1367
2065
  n: z.ZodNumber;
1368
2066
  text: z.ZodString;
1369
2067
  confidence: z.ZodOptional<z.ZodNumber>;
2068
+ memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2069
+ status: z.ZodLiteral<"qualified">;
2070
+ id: z.ZodString;
2071
+ level: z.ZodLiteral<1>;
2072
+ kind: z.ZodEnum<{
2073
+ question: "question";
2074
+ claim: "claim";
2075
+ decision: "decision";
2076
+ preference: "preference";
2077
+ plan: "plan";
2078
+ event: "event";
2079
+ }>;
2080
+ subject: z.ZodString;
2081
+ source_role: z.ZodEnum<{
2082
+ unknown: "unknown";
2083
+ user: "user";
2084
+ assistant: "assistant";
2085
+ external: "external";
2086
+ }>;
2087
+ source_speaker: z.ZodOptional<z.ZodString>;
2088
+ commitment: z.ZodEnum<{
2089
+ none: "none";
2090
+ tentative: "tentative";
2091
+ asserted: "asserted";
2092
+ hypothetical: "hypothetical";
2093
+ counterfactual: "counterfactual";
2094
+ }>;
2095
+ disposition: z.ZodEnum<{
2096
+ active: "active";
2097
+ proposed: "proposed";
2098
+ accepted: "accepted";
2099
+ rejected: "rejected";
2100
+ resolved: "resolved";
2101
+ cancelled: "cancelled";
2102
+ completed: "completed";
2103
+ superseded: "superseded";
2104
+ }>;
2105
+ polarity: z.ZodEnum<{
2106
+ affirmed: "affirmed";
2107
+ negated: "negated";
2108
+ }>;
2109
+ basis: z.ZodEnum<{
2110
+ self_attested: "self_attested";
2111
+ source_report: "source_report";
2112
+ cited_evidence: "cited_evidence";
2113
+ system_record: "system_record";
2114
+ }>;
2115
+ answer_eligible: z.ZodBoolean;
2116
+ current_eligible: z.ZodBoolean;
2117
+ temporal: z.ZodOptional<z.ZodObject<{
2118
+ time: z.ZodObject<{
2119
+ start: z.ZodOptional<z.ZodString>;
2120
+ until: z.ZodOptional<z.ZodString>;
2121
+ precision: z.ZodEnum<{
2122
+ instant: "instant";
2123
+ day: "day";
2124
+ month: "month";
2125
+ year: "year";
2126
+ unknown: "unknown";
2127
+ }>;
2128
+ relation: z.ZodEnum<{
2129
+ occurred: "occurred";
2130
+ valid: "valid";
2131
+ scheduled: "scheduled";
2132
+ due: "due";
2133
+ }>;
2134
+ status: z.ZodEnum<{
2135
+ scheduled: "scheduled";
2136
+ actual: "actual";
2137
+ planned: "planned";
2138
+ tentative: "tentative";
2139
+ }>;
2140
+ timezone: z.ZodOptional<z.ZodString>;
2141
+ mentioned_at: z.ZodOptional<z.ZodString>;
2142
+ recurrence: z.ZodOptional<z.ZodObject<{
2143
+ frequency: z.ZodEnum<{
2144
+ daily: "daily";
2145
+ weekly: "weekly";
2146
+ monthly: "monthly";
2147
+ yearly: "yearly";
2148
+ }>;
2149
+ interval: z.ZodOptional<z.ZodNumber>;
2150
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2151
+ mo: "mo";
2152
+ tu: "tu";
2153
+ we: "we";
2154
+ th: "th";
2155
+ fr: "fr";
2156
+ sa: "sa";
2157
+ su: "su";
2158
+ }>>>;
2159
+ until: z.ZodOptional<z.ZodString>;
2160
+ }, z.core.$strip>>;
2161
+ }, z.core.$strip>;
2162
+ clock_relation: z.ZodEnum<{
2163
+ past: "past";
2164
+ today: "today";
2165
+ current_period: "current_period";
2166
+ ongoing: "ongoing";
2167
+ future: "future";
2168
+ overdue: "overdue";
2169
+ undated: "undated";
2170
+ }>;
2171
+ actionable: z.ZodBoolean;
2172
+ }, z.core.$strip>>;
2173
+ }, z.core.$strip>, z.ZodObject<{
2174
+ status: z.ZodLiteral<"unavailable">;
2175
+ id: z.ZodString;
2176
+ answer_eligible: z.ZodLiteral<false>;
2177
+ }, z.core.$strip>], "status">>;
1370
2178
  fact: z.ZodOptional<z.ZodString>;
1371
2179
  }, z.core.$strip>>;
1372
2180
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1410,11 +2218,11 @@ export declare const OPS: {
1410
2218
  seed: z.ZodObject<{
1411
2219
  id: z.ZodString;
1412
2220
  kind: z.ZodEnum<{
2221
+ event: "event";
1413
2222
  fact: "fact";
1414
2223
  entity: "entity";
1415
2224
  page: "page";
1416
2225
  document: "document";
1417
- event: "event";
1418
2226
  }>;
1419
2227
  slug: z.ZodOptional<z.ZodString>;
1420
2228
  label: z.ZodOptional<z.ZodString>;
@@ -1449,11 +2257,11 @@ export declare const OPS: {
1449
2257
  target: z.ZodObject<{
1450
2258
  id: z.ZodString;
1451
2259
  kind: z.ZodEnum<{
2260
+ event: "event";
1452
2261
  fact: "fact";
1453
2262
  entity: "entity";
1454
2263
  page: "page";
1455
2264
  document: "document";
1456
- event: "event";
1457
2265
  }>;
1458
2266
  slug: z.ZodOptional<z.ZodString>;
1459
2267
  label: z.ZodOptional<z.ZodString>;
@@ -1488,11 +2296,11 @@ export declare const OPS: {
1488
2296
  nodes: z.ZodArray<z.ZodObject<{
1489
2297
  id: z.ZodString;
1490
2298
  kind: z.ZodEnum<{
2299
+ event: "event";
1491
2300
  fact: "fact";
1492
2301
  entity: "entity";
1493
2302
  page: "page";
1494
2303
  document: "document";
1495
- event: "event";
1496
2304
  }>;
1497
2305
  slug: z.ZodOptional<z.ZodString>;
1498
2306
  label: z.ZodOptional<z.ZodString>;
@@ -1620,11 +2428,11 @@ export declare const OPS: {
1620
2428
  seed: z.ZodObject<{
1621
2429
  id: z.ZodString;
1622
2430
  kind: z.ZodEnum<{
2431
+ event: "event";
1623
2432
  fact: "fact";
1624
2433
  entity: "entity";
1625
2434
  page: "page";
1626
2435
  document: "document";
1627
- event: "event";
1628
2436
  }>;
1629
2437
  slug: z.ZodOptional<z.ZodString>;
1630
2438
  label: z.ZodOptional<z.ZodString>;
@@ -1659,11 +2467,11 @@ export declare const OPS: {
1659
2467
  target: z.ZodObject<{
1660
2468
  id: z.ZodString;
1661
2469
  kind: z.ZodEnum<{
2470
+ event: "event";
1662
2471
  fact: "fact";
1663
2472
  entity: "entity";
1664
2473
  page: "page";
1665
2474
  document: "document";
1666
- event: "event";
1667
2475
  }>;
1668
2476
  slug: z.ZodOptional<z.ZodString>;
1669
2477
  label: z.ZodOptional<z.ZodString>;
@@ -1698,11 +2506,11 @@ export declare const OPS: {
1698
2506
  nodes: z.ZodArray<z.ZodObject<{
1699
2507
  id: z.ZodString;
1700
2508
  kind: z.ZodEnum<{
2509
+ event: "event";
1701
2510
  fact: "fact";
1702
2511
  entity: "entity";
1703
2512
  page: "page";
1704
2513
  document: "document";
1705
- event: "event";
1706
2514
  }>;
1707
2515
  slug: z.ZodOptional<z.ZodString>;
1708
2516
  label: z.ZodOptional<z.ZodString>;
@@ -1770,9 +2578,148 @@ export declare const OPS: {
1770
2578
  slug: z.ZodNullable<z.ZodString>;
1771
2579
  source: z.ZodString;
1772
2580
  line: z.ZodNullable<z.ZodNumber>;
2581
+ relation: z.ZodLiteral<"occurred">;
2582
+ temporal_status: z.ZodLiteral<"actual">;
2583
+ disposition: z.ZodLiteral<"active">;
2584
+ actionable: z.ZodLiteral<false>;
2585
+ start: z.ZodNullable<z.ZodString>;
2586
+ until: z.ZodNullable<z.ZodString>;
2587
+ precision: z.ZodEnum<{
2588
+ instant: "instant";
2589
+ day: "day";
2590
+ month: "month";
2591
+ year: "year";
2592
+ unknown: "unknown";
2593
+ }>;
2594
+ clock_relation: z.ZodEnum<{
2595
+ past: "past";
2596
+ today: "today";
2597
+ current_period: "current_period";
2598
+ ongoing: "ongoing";
2599
+ future: "future";
2600
+ overdue: "overdue";
2601
+ undated: "undated";
2602
+ }>;
2603
+ timezone: z.ZodNullable<z.ZodString>;
2604
+ mentioned_at: z.ZodNullable<z.ZodString>;
1773
2605
  type: z.ZodLiteral<"event">;
2606
+ origin: z.ZodLiteral<"authored">;
2607
+ source_kind: z.ZodLiteral<"event">;
1774
2608
  }, z.core.$strip>, z.ZodObject<{
2609
+ relation: z.ZodEnum<{
2610
+ occurred: "occurred";
2611
+ valid: "valid";
2612
+ scheduled: "scheduled";
2613
+ due: "due";
2614
+ }>;
2615
+ temporal_status: z.ZodEnum<{
2616
+ scheduled: "scheduled";
2617
+ actual: "actual";
2618
+ planned: "planned";
2619
+ tentative: "tentative";
2620
+ }>;
2621
+ disposition: z.ZodEnum<{
2622
+ active: "active";
2623
+ proposed: "proposed";
2624
+ accepted: "accepted";
2625
+ rejected: "rejected";
2626
+ resolved: "resolved";
2627
+ cancelled: "cancelled";
2628
+ completed: "completed";
2629
+ superseded: "superseded";
2630
+ }>;
2631
+ actionable: z.ZodBoolean;
2632
+ recurrence: z.ZodOptional<z.ZodObject<{
2633
+ frequency: z.ZodEnum<{
2634
+ daily: "daily";
2635
+ weekly: "weekly";
2636
+ monthly: "monthly";
2637
+ yearly: "yearly";
2638
+ }>;
2639
+ interval: z.ZodOptional<z.ZodNumber>;
2640
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2641
+ mo: "mo";
2642
+ tu: "tu";
2643
+ we: "we";
2644
+ th: "th";
2645
+ fr: "fr";
2646
+ sa: "sa";
2647
+ su: "su";
2648
+ }>>>;
2649
+ until: z.ZodOptional<z.ZodString>;
2650
+ }, z.core.$strip>>;
2651
+ occurrence: z.ZodOptional<z.ZodNumber>;
2652
+ start: z.ZodNullable<z.ZodString>;
2653
+ until: z.ZodNullable<z.ZodString>;
2654
+ precision: z.ZodEnum<{
2655
+ instant: "instant";
2656
+ day: "day";
2657
+ month: "month";
2658
+ year: "year";
2659
+ unknown: "unknown";
2660
+ }>;
2661
+ clock_relation: z.ZodEnum<{
2662
+ past: "past";
2663
+ today: "today";
2664
+ current_period: "current_period";
2665
+ ongoing: "ongoing";
2666
+ future: "future";
2667
+ overdue: "overdue";
2668
+ undated: "undated";
2669
+ }>;
2670
+ timezone: z.ZodNullable<z.ZodString>;
2671
+ mentioned_at: z.ZodNullable<z.ZodString>;
2672
+ type: z.ZodLiteral<"memory">;
2673
+ origin: z.ZodLiteral<"retained">;
2674
+ source_kind: z.ZodEnum<{
2675
+ plan: "plan";
2676
+ event: "event";
2677
+ state: "state";
2678
+ deadline: "deadline";
2679
+ }>;
2680
+ id: z.ZodString;
2681
+ memory_id: z.ZodString;
2682
+ summary: z.ZodString;
2683
+ slug: z.ZodString;
2684
+ line: z.ZodNumber;
2685
+ kind: z.ZodEnum<{
2686
+ question: "question";
2687
+ claim: "claim";
2688
+ decision: "decision";
2689
+ preference: "preference";
2690
+ plan: "plan";
2691
+ event: "event";
2692
+ }>;
2693
+ subject: z.ZodString;
2694
+ evidence: z.ZodArray<z.ZodString>;
2695
+ }, z.core.$strip>, z.ZodObject<{
2696
+ relation: z.ZodLiteral<"evidenced">;
2697
+ temporal_status: z.ZodLiteral<"evidence">;
2698
+ disposition: z.ZodNull;
2699
+ actionable: z.ZodLiteral<false>;
2700
+ start: z.ZodNullable<z.ZodString>;
2701
+ until: z.ZodNullable<z.ZodString>;
2702
+ precision: z.ZodEnum<{
2703
+ instant: "instant";
2704
+ day: "day";
2705
+ month: "month";
2706
+ year: "year";
2707
+ unknown: "unknown";
2708
+ }>;
2709
+ clock_relation: z.ZodEnum<{
2710
+ past: "past";
2711
+ today: "today";
2712
+ current_period: "current_period";
2713
+ ongoing: "ongoing";
2714
+ future: "future";
2715
+ overdue: "overdue";
2716
+ undated: "undated";
2717
+ }>;
2718
+ timezone: z.ZodNullable<z.ZodString>;
2719
+ mentioned_at: z.ZodNullable<z.ZodString>;
1775
2720
  type: z.ZodLiteral<"document_evidence">;
2721
+ origin: z.ZodLiteral<"document">;
2722
+ source_kind: z.ZodLiteral<"document_evidence">;
1776
2723
  id: z.ZodString;
1777
2724
  date: z.ZodString;
1778
2725
  date_basis: z.ZodEnum<{
@@ -1896,6 +2843,10 @@ export declare const OPS: {
1896
2843
  embedding_failed: "embedding_failed";
1897
2844
  rerank_failed: "rerank_failed";
1898
2845
  derive_failed: "derive_failed";
2846
+ retain_verification_failed: "retain_verification_failed";
2847
+ retain_apply_failed: "retain_apply_failed";
2848
+ partial_temporal_index: "partial_temporal_index";
2849
+ timeline_range_limited: "timeline_range_limited";
1899
2850
  expansion_failed: "expansion_failed";
1900
2851
  no_vector_index: "no_vector_index";
1901
2852
  partial_index: "partial_index";
@@ -1924,11 +2875,11 @@ export declare const OPS: {
1924
2875
  nodes: z.ZodArray<z.ZodObject<{
1925
2876
  id: z.ZodString;
1926
2877
  kind: z.ZodEnum<{
2878
+ event: "event";
1927
2879
  fact: "fact";
1928
2880
  entity: "entity";
1929
2881
  page: "page";
1930
2882
  document: "document";
1931
- event: "event";
1932
2883
  }>;
1933
2884
  slug: z.ZodOptional<z.ZodString>;
1934
2885
  label: z.ZodOptional<z.ZodString>;
@@ -2031,11 +2982,11 @@ export declare const OPS: {
2031
2982
  candidates: z.ZodArray<z.ZodObject<{
2032
2983
  id: z.ZodString;
2033
2984
  kind: z.ZodEnum<{
2985
+ event: "event";
2034
2986
  fact: "fact";
2035
2987
  entity: "entity";
2036
2988
  page: "page";
2037
2989
  document: "document";
2038
- event: "event";
2039
2990
  }>;
2040
2991
  slug: z.ZodOptional<z.ZodString>;
2041
2992
  label: z.ZodOptional<z.ZodString>;
@@ -2116,6 +3067,10 @@ export declare const OPS: {
2116
3067
  embedding_failed: "embedding_failed";
2117
3068
  rerank_failed: "rerank_failed";
2118
3069
  derive_failed: "derive_failed";
3070
+ retain_verification_failed: "retain_verification_failed";
3071
+ retain_apply_failed: "retain_apply_failed";
3072
+ partial_temporal_index: "partial_temporal_index";
3073
+ timeline_range_limited: "timeline_range_limited";
2119
3074
  expansion_failed: "expansion_failed";
2120
3075
  no_vector_index: "no_vector_index";
2121
3076
  partial_index: "partial_index";
@@ -2225,6 +3180,10 @@ export declare const OPS: {
2225
3180
  embedding_failed: "embedding_failed";
2226
3181
  rerank_failed: "rerank_failed";
2227
3182
  derive_failed: "derive_failed";
3183
+ retain_verification_failed: "retain_verification_failed";
3184
+ retain_apply_failed: "retain_apply_failed";
3185
+ partial_temporal_index: "partial_temporal_index";
3186
+ timeline_range_limited: "timeline_range_limited";
2228
3187
  expansion_failed: "expansion_failed";
2229
3188
  no_vector_index: "no_vector_index";
2230
3189
  partial_index: "partial_index";
@@ -2273,6 +3232,10 @@ export declare const OPS: {
2273
3232
  embedding_failed: "embedding_failed";
2274
3233
  rerank_failed: "rerank_failed";
2275
3234
  derive_failed: "derive_failed";
3235
+ retain_verification_failed: "retain_verification_failed";
3236
+ retain_apply_failed: "retain_apply_failed";
3237
+ partial_temporal_index: "partial_temporal_index";
3238
+ timeline_range_limited: "timeline_range_limited";
2276
3239
  expansion_failed: "expansion_failed";
2277
3240
  no_vector_index: "no_vector_index";
2278
3241
  partial_index: "partial_index";
@@ -2385,18 +3348,21 @@ export declare const OPS: {
2385
3348
  mentioned_at: z.ZodOptional<z.ZodString>;
2386
3349
  }, z.core.$strip>>;
2387
3350
  }, z.core.$strip>]>;
2388
- retention: z.ZodObject<{
3351
+ retention: z.ZodUnion<readonly [z.ZodObject<{
2389
3352
  mode: z.ZodLiteral<"provided">;
2390
- placement: z.ZodLiteral<"exact">;
3353
+ placement: z.ZodEnum<{
3354
+ exact: "exact";
3355
+ automatic: "automatic";
3356
+ }>;
2391
3357
  candidates: z.ZodArray<z.ZodObject<{
2392
3358
  candidate_id: z.ZodString;
2393
3359
  kind: z.ZodEnum<{
2394
3360
  question: "question";
2395
3361
  claim: "claim";
2396
- event: "event";
2397
- plan: "plan";
2398
3362
  decision: "decision";
2399
3363
  preference: "preference";
3364
+ plan: "plan";
3365
+ event: "event";
2400
3366
  }>;
2401
3367
  text: z.ZodString;
2402
3368
  subject: z.ZodString;
@@ -2430,14 +3396,14 @@ export declare const OPS: {
2430
3396
  counterfactual: "counterfactual";
2431
3397
  }>;
2432
3398
  disposition: z.ZodEnum<{
2433
- superseded: "superseded";
2434
- rejected: "rejected";
2435
- completed: "completed";
2436
- proposed: "proposed";
2437
3399
  active: "active";
3400
+ proposed: "proposed";
2438
3401
  accepted: "accepted";
3402
+ rejected: "rejected";
2439
3403
  resolved: "resolved";
2440
3404
  cancelled: "cancelled";
3405
+ completed: "completed";
3406
+ superseded: "superseded";
2441
3407
  }>;
2442
3408
  }, z.core.$strip>;
2443
3409
  epistemic: z.ZodObject<{
@@ -2495,11 +3461,11 @@ export declare const OPS: {
2495
3461
  start: z.ZodOptional<z.ZodString>;
2496
3462
  until: z.ZodOptional<z.ZodString>;
2497
3463
  precision: z.ZodEnum<{
2498
- unknown: "unknown";
2499
3464
  instant: "instant";
2500
3465
  day: "day";
2501
3466
  month: "month";
2502
3467
  year: "year";
3468
+ unknown: "unknown";
2503
3469
  }>;
2504
3470
  relation: z.ZodEnum<{
2505
3471
  occurred: "occurred";
@@ -2508,9 +3474,9 @@ export declare const OPS: {
2508
3474
  due: "due";
2509
3475
  }>;
2510
3476
  status: z.ZodEnum<{
2511
- planned: "planned";
2512
3477
  scheduled: "scheduled";
2513
3478
  actual: "actual";
3479
+ planned: "planned";
2514
3480
  tentative: "tentative";
2515
3481
  }>;
2516
3482
  timezone: z.ZodOptional<z.ZodString>;
@@ -2535,12 +3501,15 @@ export declare const OPS: {
2535
3501
  until: z.ZodOptional<z.ZodString>;
2536
3502
  }, z.core.$strip>>;
2537
3503
  }, z.core.$strip>>;
2538
- destination: z.ZodObject<{
3504
+ destination: z.ZodOptional<z.ZodObject<{
2539
3505
  slug: z.ZodString;
2540
3506
  section: z.ZodOptional<z.ZodString>;
2541
- }, z.core.$strip>;
3507
+ }, z.core.$strip>>;
2542
3508
  }, z.core.$strip>>;
2543
- }, z.core.$strip>;
3509
+ }, z.core.$strip>, z.ZodObject<{
3510
+ mode: z.ZodLiteral<"extract">;
3511
+ mission: z.ZodOptional<z.ZodString>;
3512
+ }, z.core.$strip>]>;
2544
3513
  source_id: z.ZodString;
2545
3514
  revision: z.ZodString;
2546
3515
  }, z.core.$strip>, z.ZodObject<{
@@ -2573,6 +3542,10 @@ export declare const OPS: {
2573
3542
  embedding_failed: "embedding_failed";
2574
3543
  rerank_failed: "rerank_failed";
2575
3544
  derive_failed: "derive_failed";
3545
+ retain_verification_failed: "retain_verification_failed";
3546
+ retain_apply_failed: "retain_apply_failed";
3547
+ partial_temporal_index: "partial_temporal_index";
3548
+ timeline_range_limited: "timeline_range_limited";
2576
3549
  expansion_failed: "expansion_failed";
2577
3550
  no_vector_index: "no_vector_index";
2578
3551
  partial_index: "partial_index";
@@ -2617,8 +3590,92 @@ export declare const OPS: {
2617
3590
  }>;
2618
3591
  memory_id: z.ZodOptional<z.ZodString>;
2619
3592
  slug: z.ZodOptional<z.ZodString>;
3593
+ reason_code: z.ZodOptional<z.ZodEnum<{
3594
+ conflict: "conflict";
3595
+ routing_uncertain: "routing_uncertain";
3596
+ no_writable_destination: "no_writable_destination";
3597
+ source_unavailable: "source_unavailable";
3598
+ discourse_uncertain: "discourse_uncertain";
3599
+ context_too_large: "context_too_large";
3600
+ time_unresolved: "time_unresolved";
3601
+ noncanonical_without_context: "noncanonical_without_context";
3602
+ support_limit: "support_limit";
3603
+ placement_degraded: "placement_degraded";
3604
+ apply_failed: "apply_failed";
3605
+ validation_failed: "validation_failed";
3606
+ }>>;
2620
3607
  reason: z.ZodOptional<z.ZodString>;
2621
3608
  }, z.core.$strip>>;
3609
+ reason_code: z.ZodOptional<z.ZodEnum<{
3610
+ conflict: "conflict";
3611
+ routing_uncertain: "routing_uncertain";
3612
+ no_writable_destination: "no_writable_destination";
3613
+ source_unavailable: "source_unavailable";
3614
+ discourse_uncertain: "discourse_uncertain";
3615
+ context_too_large: "context_too_large";
3616
+ time_unresolved: "time_unresolved";
3617
+ noncanonical_without_context: "noncanonical_without_context";
3618
+ support_limit: "support_limit";
3619
+ placement_degraded: "placement_degraded";
3620
+ apply_failed: "apply_failed";
3621
+ validation_failed: "validation_failed";
3622
+ }>>;
3623
+ status: z.ZodOptional<z.ZodEnum<{
3624
+ ok: "ok";
3625
+ empty: "empty";
3626
+ degraded: "degraded";
3627
+ unavailable: "unavailable";
3628
+ }>>;
3629
+ degraded: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3630
+ no_embedding_model: "no_embedding_model";
3631
+ no_reranker: "no_reranker";
3632
+ no_derive_model: "no_derive_model";
3633
+ no_expansion_model: "no_expansion_model";
3634
+ embedding_failed: "embedding_failed";
3635
+ rerank_failed: "rerank_failed";
3636
+ derive_failed: "derive_failed";
3637
+ retain_verification_failed: "retain_verification_failed";
3638
+ retain_apply_failed: "retain_apply_failed";
3639
+ partial_temporal_index: "partial_temporal_index";
3640
+ timeline_range_limited: "timeline_range_limited";
3641
+ expansion_failed: "expansion_failed";
3642
+ no_vector_index: "no_vector_index";
3643
+ partial_index: "partial_index";
3644
+ no_document_text: "no_document_text";
3645
+ document_source_missing: "document_source_missing";
3646
+ no_graph_index: "no_graph_index";
3647
+ no_entity_index: "no_entity_index";
3648
+ entity_resolution_failed: "entity_resolution_failed";
3649
+ partial_graph_index: "partial_graph_index";
3650
+ graph_traversal_limited: "graph_traversal_limited";
3651
+ no_answer_model: "no_answer_model";
3652
+ answer_failed: "answer_failed";
3653
+ answer_verification_failed: "answer_verification_failed";
3654
+ answer_truncated: "answer_truncated";
3655
+ }>>>;
3656
+ model_usage: z.ZodOptional<z.ZodObject<{
3657
+ extraction: z.ZodNullable<z.ZodObject<{
3658
+ model: z.ZodString;
3659
+ latency_ms: z.ZodNumber;
3660
+ input_tokens: z.ZodNullable<z.ZodNumber>;
3661
+ output_tokens: z.ZodNullable<z.ZodNumber>;
3662
+ total_tokens: z.ZodNullable<z.ZodNumber>;
3663
+ }, z.core.$strip>>;
3664
+ verification: z.ZodNullable<z.ZodObject<{
3665
+ model: z.ZodString;
3666
+ latency_ms: z.ZodNumber;
3667
+ input_tokens: z.ZodNullable<z.ZodNumber>;
3668
+ output_tokens: z.ZodNullable<z.ZodNumber>;
3669
+ total_tokens: z.ZodNullable<z.ZodNumber>;
3670
+ }, z.core.$strip>>;
3671
+ placement: z.ZodArray<z.ZodObject<{
3672
+ model: z.ZodString;
3673
+ latency_ms: z.ZodNumber;
3674
+ input_tokens: z.ZodNullable<z.ZodNumber>;
3675
+ output_tokens: z.ZodNullable<z.ZodNumber>;
3676
+ total_tokens: z.ZodNullable<z.ZodNumber>;
3677
+ }, z.core.$strip>>;
3678
+ }, z.core.$strip>>;
2622
3679
  note: z.ZodOptional<z.ZodString>;
2623
3680
  }, z.core.$strip>>;
2624
3681
  }, z.core.$strip>>;
@@ -2641,6 +3698,10 @@ export declare const OPS: {
2641
3698
  embedding_failed: "embedding_failed";
2642
3699
  rerank_failed: "rerank_failed";
2643
3700
  derive_failed: "derive_failed";
3701
+ retain_verification_failed: "retain_verification_failed";
3702
+ retain_apply_failed: "retain_apply_failed";
3703
+ partial_temporal_index: "partial_temporal_index";
3704
+ timeline_range_limited: "timeline_range_limited";
2644
3705
  expansion_failed: "expansion_failed";
2645
3706
  no_vector_index: "no_vector_index";
2646
3707
  partial_index: "partial_index";
@@ -2679,6 +3740,10 @@ export declare const OPS: {
2679
3740
  embedding_failed: "embedding_failed";
2680
3741
  rerank_failed: "rerank_failed";
2681
3742
  derive_failed: "derive_failed";
3743
+ retain_verification_failed: "retain_verification_failed";
3744
+ retain_apply_failed: "retain_apply_failed";
3745
+ partial_temporal_index: "partial_temporal_index";
3746
+ timeline_range_limited: "timeline_range_limited";
2682
3747
  expansion_failed: "expansion_failed";
2683
3748
  no_vector_index: "no_vector_index";
2684
3749
  partial_index: "partial_index";
@@ -2717,6 +3782,10 @@ export declare const OPS: {
2717
3782
  embedding_failed: "embedding_failed";
2718
3783
  rerank_failed: "rerank_failed";
2719
3784
  derive_failed: "derive_failed";
3785
+ retain_verification_failed: "retain_verification_failed";
3786
+ retain_apply_failed: "retain_apply_failed";
3787
+ partial_temporal_index: "partial_temporal_index";
3788
+ timeline_range_limited: "timeline_range_limited";
2720
3789
  expansion_failed: "expansion_failed";
2721
3790
  no_vector_index: "no_vector_index";
2722
3791
  partial_index: "partial_index";
@@ -2767,6 +3836,10 @@ export declare const OPS: {
2767
3836
  embedding_failed: "embedding_failed";
2768
3837
  rerank_failed: "rerank_failed";
2769
3838
  derive_failed: "derive_failed";
3839
+ retain_verification_failed: "retain_verification_failed";
3840
+ retain_apply_failed: "retain_apply_failed";
3841
+ partial_temporal_index: "partial_temporal_index";
3842
+ timeline_range_limited: "timeline_range_limited";
2770
3843
  expansion_failed: "expansion_failed";
2771
3844
  no_vector_index: "no_vector_index";
2772
3845
  partial_index: "partial_index";
@@ -2853,6 +3926,10 @@ export declare const OPS: {
2853
3926
  embedding_failed: "embedding_failed";
2854
3927
  rerank_failed: "rerank_failed";
2855
3928
  derive_failed: "derive_failed";
3929
+ retain_verification_failed: "retain_verification_failed";
3930
+ retain_apply_failed: "retain_apply_failed";
3931
+ partial_temporal_index: "partial_temporal_index";
3932
+ timeline_range_limited: "timeline_range_limited";
2856
3933
  expansion_failed: "expansion_failed";
2857
3934
  no_vector_index: "no_vector_index";
2858
3935
  partial_index: "partial_index";
@@ -2870,11 +3947,11 @@ export declare const OPS: {
2870
3947
  }>>>;
2871
3948
  note: z.ZodOptional<z.ZodString>;
2872
3949
  outcome: z.ZodEnum<{
3950
+ planned: "planned";
2873
3951
  rejected: "rejected";
2874
3952
  disabled: "disabled";
2875
3953
  created: "created";
2876
3954
  noop: "noop";
2877
- planned: "planned";
2878
3955
  requires_review: "requires_review";
2879
3956
  verification_pending: "verification_pending";
2880
3957
  blocked: "blocked";
@@ -2893,25 +3970,25 @@ export declare const OPS: {
2893
3970
  review: "review";
2894
3971
  }>;
2895
3972
  status: z.ZodEnum<{
3973
+ completed: "completed";
2896
3974
  superseded: "superseded";
2897
3975
  ready: "ready";
2898
3976
  awaiting_review: "awaiting_review";
2899
3977
  deciding: "deciding";
2900
3978
  approved: "approved";
2901
3979
  applying: "applying";
2902
- completed: "completed";
2903
3980
  partially_completed: "partially_completed";
2904
3981
  failed: "failed";
2905
3982
  }>;
2906
3983
  item_id: z.ZodString;
2907
3984
  item_status: z.ZodEnum<{
2908
- applied: "applied";
3985
+ proposed: "proposed";
2909
3986
  rejected: "rejected";
3987
+ applied: "applied";
2910
3988
  verification_pending: "verification_pending";
2911
3989
  blocked: "blocked";
2912
3990
  approved: "approved";
2913
3991
  applying: "applying";
2914
- proposed: "proposed";
2915
3992
  stale: "stale";
2916
3993
  verification_failed: "verification_failed";
2917
3994
  }>;