@tenphi/akno-protocol 0.5.0 → 0.7.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.
Files changed (42) hide show
  1. package/README.md +5 -0
  2. package/dist/common.d.ts +621 -5
  3. package/dist/common.d.ts.map +1 -1
  4. package/dist/common.js +215 -2
  5. package/dist/common.js.map +1 -1
  6. package/dist/ops/answer.d.ts +222 -2
  7. package/dist/ops/answer.d.ts.map +1 -1
  8. package/dist/ops/answer.js +24 -0
  9. package/dist/ops/answer.js.map +1 -1
  10. package/dist/ops/context.d.ts +340 -2
  11. package/dist/ops/context.d.ts.map +1 -1
  12. package/dist/ops/folder.d.ts +2 -0
  13. package/dist/ops/folder.d.ts.map +1 -1
  14. package/dist/ops/graph.d.ts +13 -2
  15. package/dist/ops/graph.d.ts.map +1 -1
  16. package/dist/ops/list.d.ts +2 -0
  17. package/dist/ops/list.d.ts.map +1 -1
  18. package/dist/ops/mutate.d.ts +13 -1
  19. package/dist/ops/mutate.d.ts.map +1 -1
  20. package/dist/ops/read.d.ts +188 -2
  21. package/dist/ops/read.d.ts.map +1 -1
  22. package/dist/ops/recall.d.ts +105 -1
  23. package/dist/ops/recall.d.ts.map +1 -1
  24. package/dist/ops/retain.d.ts +21 -60
  25. package/dist/ops/retain.d.ts.map +1 -1
  26. package/dist/ops/retain.js +2 -106
  27. package/dist/ops/retain.js.map +1 -1
  28. package/dist/ops/timeline.d.ts +537 -1
  29. package/dist/ops/timeline.d.ts.map +1 -1
  30. package/dist/ops/timeline.js +143 -11
  31. package/dist/ops/timeline.js.map +1 -1
  32. package/dist/ops/write.d.ts +2 -0
  33. package/dist/ops/write.d.ts.map +1 -1
  34. package/dist/registry.d.ts +925 -12
  35. package/dist/registry.d.ts.map +1 -1
  36. package/dist/registry.js +3 -3
  37. package/dist/registry.js.map +1 -1
  38. package/dist/version.d.ts +1 -1
  39. package/dist/version.d.ts.map +1 -1
  40. package/dist/version.js +3 -1
  41. package/dist/version.js.map +1 -1
  42. package/package.json +1 -1
@@ -79,6 +79,8 @@ export declare const ListOutput: z.ZodObject<{
79
79
  derive_failed: "derive_failed";
80
80
  retain_verification_failed: "retain_verification_failed";
81
81
  retain_apply_failed: "retain_apply_failed";
82
+ partial_temporal_index: "partial_temporal_index";
83
+ timeline_range_limited: "timeline_range_limited";
82
84
  expansion_failed: "expansion_failed";
83
85
  no_vector_index: "no_vector_index";
84
86
  partial_index: "partial_index";
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/ops/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,0EAA0E;AAC1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;iBAWpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;iBASnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;iBAuBrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/ops/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,0EAA0E;AAC1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;iBAWpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;iBASnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;iBAuBrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -30,6 +30,8 @@ export declare const RememberOutput: z.ZodObject<{
30
30
  derive_failed: "derive_failed";
31
31
  retain_verification_failed: "retain_verification_failed";
32
32
  retain_apply_failed: "retain_apply_failed";
33
+ partial_temporal_index: "partial_temporal_index";
34
+ timeline_range_limited: "timeline_range_limited";
33
35
  expansion_failed: "expansion_failed";
34
36
  no_vector_index: "no_vector_index";
35
37
  partial_index: "partial_index";
@@ -141,6 +143,8 @@ export declare const ForgetOutput: z.ZodObject<{
141
143
  derive_failed: "derive_failed";
142
144
  retain_verification_failed: "retain_verification_failed";
143
145
  retain_apply_failed: "retain_apply_failed";
146
+ partial_temporal_index: "partial_temporal_index";
147
+ timeline_range_limited: "timeline_range_limited";
144
148
  expansion_failed: "expansion_failed";
145
149
  no_vector_index: "no_vector_index";
146
150
  partial_index: "partial_index";
@@ -184,6 +188,8 @@ export declare const UndoOutput: z.ZodObject<{
184
188
  derive_failed: "derive_failed";
185
189
  retain_verification_failed: "retain_verification_failed";
186
190
  retain_apply_failed: "retain_apply_failed";
191
+ partial_temporal_index: "partial_temporal_index";
192
+ timeline_range_limited: "timeline_range_limited";
187
193
  expansion_failed: "expansion_failed";
188
194
  no_vector_index: "no_vector_index";
189
195
  partial_index: "partial_index";
@@ -228,6 +234,8 @@ export declare const MoveOutput: z.ZodObject<{
228
234
  derive_failed: "derive_failed";
229
235
  retain_verification_failed: "retain_verification_failed";
230
236
  retain_apply_failed: "retain_apply_failed";
237
+ partial_temporal_index: "partial_temporal_index";
238
+ timeline_range_limited: "timeline_range_limited";
231
239
  expansion_failed: "expansion_failed";
232
240
  no_vector_index: "no_vector_index";
233
241
  partial_index: "partial_index";
@@ -287,6 +295,8 @@ export declare const IngestOutput: z.ZodObject<{
287
295
  derive_failed: "derive_failed";
288
296
  retain_verification_failed: "retain_verification_failed";
289
297
  retain_apply_failed: "retain_apply_failed";
298
+ partial_temporal_index: "partial_temporal_index";
299
+ timeline_range_limited: "timeline_range_limited";
290
300
  expansion_failed: "expansion_failed";
291
301
  no_vector_index: "no_vector_index";
292
302
  partial_index: "partial_index";
@@ -379,6 +389,8 @@ export declare const AdoptOutput: z.ZodObject<{
379
389
  derive_failed: "derive_failed";
380
390
  retain_verification_failed: "retain_verification_failed";
381
391
  retain_apply_failed: "retain_apply_failed";
392
+ partial_temporal_index: "partial_temporal_index";
393
+ timeline_range_limited: "timeline_range_limited";
382
394
  expansion_failed: "expansion_failed";
383
395
  no_vector_index: "no_vector_index";
384
396
  partial_index: "partial_index";
@@ -396,11 +408,11 @@ export declare const AdoptOutput: z.ZodObject<{
396
408
  }>>>;
397
409
  note: z.ZodOptional<z.ZodString>;
398
410
  outcome: z.ZodEnum<{
411
+ planned: "planned";
399
412
  rejected: "rejected";
400
413
  disabled: "disabled";
401
414
  created: "created";
402
415
  noop: "noop";
403
- planned: "planned";
404
416
  requires_review: "requires_review";
405
417
  verification_pending: "verification_pending";
406
418
  blocked: "blocked";
@@ -1 +1 @@
1
- {"version":3,"file":"mutate.d.ts","sourceRoot":"","sources":["../../src/ops/mutate.ts"],"names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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,8FAA8F;AAC9F,eAAO,MAAM,UAAU;;iBAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgDtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -25,6 +25,10 @@ export declare const PageBody: z.ZodObject<{
25
25
  deny: "deny";
26
26
  integrate: "integrate";
27
27
  }>>;
28
+ observe: z.ZodOptional<z.ZodEnum<{
29
+ deny: "deny";
30
+ integrate: "integrate";
31
+ }>>;
28
32
  dream: z.ZodOptional<z.ZodEnum<{
29
33
  none: "none";
30
34
  hygiene: "hygiene";
@@ -62,8 +66,8 @@ export declare const PageBody: z.ZodObject<{
62
66
  source_speaker: z.ZodOptional<z.ZodString>;
63
67
  commitment: z.ZodEnum<{
64
68
  none: "none";
65
- asserted: "asserted";
66
69
  tentative: "tentative";
70
+ asserted: "asserted";
67
71
  hypothetical: "hypothetical";
68
72
  counterfactual: "counterfactual";
69
73
  }>;
@@ -88,11 +92,99 @@ export declare const PageBody: z.ZodObject<{
88
92
  system_record: "system_record";
89
93
  }>;
90
94
  answer_eligible: z.ZodBoolean;
95
+ current_eligible: z.ZodBoolean;
96
+ temporal: z.ZodOptional<z.ZodObject<{
97
+ time: z.ZodObject<{
98
+ start: z.ZodOptional<z.ZodString>;
99
+ until: z.ZodOptional<z.ZodString>;
100
+ precision: z.ZodEnum<{
101
+ instant: "instant";
102
+ day: "day";
103
+ month: "month";
104
+ year: "year";
105
+ unknown: "unknown";
106
+ }>;
107
+ relation: z.ZodEnum<{
108
+ occurred: "occurred";
109
+ valid: "valid";
110
+ scheduled: "scheduled";
111
+ due: "due";
112
+ }>;
113
+ status: z.ZodEnum<{
114
+ scheduled: "scheduled";
115
+ actual: "actual";
116
+ planned: "planned";
117
+ tentative: "tentative";
118
+ }>;
119
+ timezone: z.ZodOptional<z.ZodString>;
120
+ mentioned_at: z.ZodOptional<z.ZodString>;
121
+ recurrence: z.ZodOptional<z.ZodObject<{
122
+ frequency: z.ZodEnum<{
123
+ daily: "daily";
124
+ weekly: "weekly";
125
+ monthly: "monthly";
126
+ yearly: "yearly";
127
+ }>;
128
+ interval: z.ZodOptional<z.ZodNumber>;
129
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
130
+ mo: "mo";
131
+ tu: "tu";
132
+ we: "we";
133
+ th: "th";
134
+ fr: "fr";
135
+ sa: "sa";
136
+ su: "su";
137
+ }>>>;
138
+ until: z.ZodOptional<z.ZodString>;
139
+ }, z.core.$strip>>;
140
+ }, z.core.$strip>;
141
+ clock_relation: z.ZodEnum<{
142
+ past: "past";
143
+ today: "today";
144
+ current_period: "current_period";
145
+ ongoing: "ongoing";
146
+ future: "future";
147
+ overdue: "overdue";
148
+ undated: "undated";
149
+ }>;
150
+ actionable: z.ZodBoolean;
151
+ }, z.core.$strip>>;
91
152
  }, z.core.$strip>, z.ZodObject<{
92
153
  status: z.ZodLiteral<"unavailable">;
93
154
  id: z.ZodString;
94
155
  answer_eligible: z.ZodLiteral<false>;
95
156
  }, z.core.$strip>], "status">>;
157
+ observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
158
+ status: z.ZodLiteral<"eligible">;
159
+ id: z.ZodString;
160
+ level: z.ZodLiteral<2>;
161
+ subject: z.ZodString;
162
+ disposition: z.ZodEnum<{
163
+ active: "active";
164
+ superseded: "superseded";
165
+ weakened: "weakened";
166
+ retracted: "retracted";
167
+ }>;
168
+ proof_count: z.ZodNumber;
169
+ evidence: z.ZodArray<z.ZodObject<{
170
+ fact: z.ZodString;
171
+ slug: z.ZodString;
172
+ line: z.ZodNumber;
173
+ line_hash: z.ZodString;
174
+ proof_groups: z.ZodArray<z.ZodString>;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>, z.ZodObject<{
177
+ status: z.ZodLiteral<"ineligible">;
178
+ id: z.ZodString;
179
+ level: z.ZodLiteral<2>;
180
+ disposition: z.ZodEnum<{
181
+ active: "active";
182
+ superseded: "superseded";
183
+ weakened: "weakened";
184
+ retracted: "retracted";
185
+ }>;
186
+ reason: z.ZodString;
187
+ }, z.core.$strip>], "status">>;
96
188
  fact: z.ZodOptional<z.ZodString>;
97
189
  }, z.core.$strip>>;
98
190
  source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -178,6 +270,8 @@ export declare const ReadOutput: z.ZodObject<{
178
270
  derive_failed: "derive_failed";
179
271
  retain_verification_failed: "retain_verification_failed";
180
272
  retain_apply_failed: "retain_apply_failed";
273
+ partial_temporal_index: "partial_temporal_index";
274
+ timeline_range_limited: "timeline_range_limited";
181
275
  expansion_failed: "expansion_failed";
182
276
  no_vector_index: "no_vector_index";
183
277
  partial_index: "partial_index";
@@ -211,6 +305,10 @@ export declare const ReadOutput: z.ZodObject<{
211
305
  deny: "deny";
212
306
  integrate: "integrate";
213
307
  }>>;
308
+ observe: z.ZodOptional<z.ZodEnum<{
309
+ deny: "deny";
310
+ integrate: "integrate";
311
+ }>>;
214
312
  dream: z.ZodOptional<z.ZodEnum<{
215
313
  none: "none";
216
314
  hygiene: "hygiene";
@@ -248,8 +346,8 @@ export declare const ReadOutput: z.ZodObject<{
248
346
  source_speaker: z.ZodOptional<z.ZodString>;
249
347
  commitment: z.ZodEnum<{
250
348
  none: "none";
251
- asserted: "asserted";
252
349
  tentative: "tentative";
350
+ asserted: "asserted";
253
351
  hypothetical: "hypothetical";
254
352
  counterfactual: "counterfactual";
255
353
  }>;
@@ -274,11 +372,99 @@ export declare const ReadOutput: z.ZodObject<{
274
372
  system_record: "system_record";
275
373
  }>;
276
374
  answer_eligible: z.ZodBoolean;
375
+ current_eligible: z.ZodBoolean;
376
+ temporal: z.ZodOptional<z.ZodObject<{
377
+ time: z.ZodObject<{
378
+ start: z.ZodOptional<z.ZodString>;
379
+ until: z.ZodOptional<z.ZodString>;
380
+ precision: z.ZodEnum<{
381
+ instant: "instant";
382
+ day: "day";
383
+ month: "month";
384
+ year: "year";
385
+ unknown: "unknown";
386
+ }>;
387
+ relation: z.ZodEnum<{
388
+ occurred: "occurred";
389
+ valid: "valid";
390
+ scheduled: "scheduled";
391
+ due: "due";
392
+ }>;
393
+ status: z.ZodEnum<{
394
+ scheduled: "scheduled";
395
+ actual: "actual";
396
+ planned: "planned";
397
+ tentative: "tentative";
398
+ }>;
399
+ timezone: z.ZodOptional<z.ZodString>;
400
+ mentioned_at: z.ZodOptional<z.ZodString>;
401
+ recurrence: z.ZodOptional<z.ZodObject<{
402
+ frequency: z.ZodEnum<{
403
+ daily: "daily";
404
+ weekly: "weekly";
405
+ monthly: "monthly";
406
+ yearly: "yearly";
407
+ }>;
408
+ interval: z.ZodOptional<z.ZodNumber>;
409
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
410
+ mo: "mo";
411
+ tu: "tu";
412
+ we: "we";
413
+ th: "th";
414
+ fr: "fr";
415
+ sa: "sa";
416
+ su: "su";
417
+ }>>>;
418
+ until: z.ZodOptional<z.ZodString>;
419
+ }, z.core.$strip>>;
420
+ }, z.core.$strip>;
421
+ clock_relation: z.ZodEnum<{
422
+ past: "past";
423
+ today: "today";
424
+ current_period: "current_period";
425
+ ongoing: "ongoing";
426
+ future: "future";
427
+ overdue: "overdue";
428
+ undated: "undated";
429
+ }>;
430
+ actionable: z.ZodBoolean;
431
+ }, z.core.$strip>>;
277
432
  }, z.core.$strip>, z.ZodObject<{
278
433
  status: z.ZodLiteral<"unavailable">;
279
434
  id: z.ZodString;
280
435
  answer_eligible: z.ZodLiteral<false>;
281
436
  }, z.core.$strip>], "status">>;
437
+ observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
438
+ status: z.ZodLiteral<"eligible">;
439
+ id: z.ZodString;
440
+ level: z.ZodLiteral<2>;
441
+ subject: z.ZodString;
442
+ disposition: z.ZodEnum<{
443
+ active: "active";
444
+ superseded: "superseded";
445
+ weakened: "weakened";
446
+ retracted: "retracted";
447
+ }>;
448
+ proof_count: z.ZodNumber;
449
+ evidence: z.ZodArray<z.ZodObject<{
450
+ fact: z.ZodString;
451
+ slug: z.ZodString;
452
+ line: z.ZodNumber;
453
+ line_hash: z.ZodString;
454
+ proof_groups: z.ZodArray<z.ZodString>;
455
+ }, z.core.$strip>>;
456
+ }, z.core.$strip>, z.ZodObject<{
457
+ status: z.ZodLiteral<"ineligible">;
458
+ id: z.ZodString;
459
+ level: z.ZodLiteral<2>;
460
+ disposition: z.ZodEnum<{
461
+ active: "active";
462
+ superseded: "superseded";
463
+ weakened: "weakened";
464
+ retracted: "retracted";
465
+ }>;
466
+ reason: z.ZodString;
467
+ }, z.core.$strip>], "status">>;
282
468
  fact: z.ZodOptional<z.ZodString>;
283
469
  }, z.core.$strip>>;
284
470
  source_fence_line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1 +1 @@
1
- {"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/ops/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,oFAAoF;AACpF,eAAO,MAAM,SAAS;;;;;;iBAelB,CAAC;AACL,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC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,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -64,6 +64,8 @@ export declare const RecallOutput: z.ZodObject<{
64
64
  derive_failed: "derive_failed";
65
65
  retain_verification_failed: "retain_verification_failed";
66
66
  retain_apply_failed: "retain_apply_failed";
67
+ partial_temporal_index: "partial_temporal_index";
68
+ timeline_range_limited: "timeline_range_limited";
67
69
  expansion_failed: "expansion_failed";
68
70
  no_vector_index: "no_vector_index";
69
71
  partial_index: "partial_index";
@@ -120,8 +122,8 @@ export declare const RecallOutput: z.ZodObject<{
120
122
  source_speaker: z.ZodOptional<z.ZodString>;
121
123
  commitment: z.ZodEnum<{
122
124
  none: "none";
123
- asserted: "asserted";
124
125
  tentative: "tentative";
126
+ asserted: "asserted";
125
127
  hypothetical: "hypothetical";
126
128
  counterfactual: "counterfactual";
127
129
  }>;
@@ -146,11 +148,99 @@ export declare const RecallOutput: z.ZodObject<{
146
148
  system_record: "system_record";
147
149
  }>;
148
150
  answer_eligible: z.ZodBoolean;
151
+ current_eligible: z.ZodBoolean;
152
+ temporal: z.ZodOptional<z.ZodObject<{
153
+ time: z.ZodObject<{
154
+ start: z.ZodOptional<z.ZodString>;
155
+ until: z.ZodOptional<z.ZodString>;
156
+ precision: z.ZodEnum<{
157
+ instant: "instant";
158
+ day: "day";
159
+ month: "month";
160
+ year: "year";
161
+ unknown: "unknown";
162
+ }>;
163
+ relation: z.ZodEnum<{
164
+ occurred: "occurred";
165
+ valid: "valid";
166
+ scheduled: "scheduled";
167
+ due: "due";
168
+ }>;
169
+ status: z.ZodEnum<{
170
+ scheduled: "scheduled";
171
+ actual: "actual";
172
+ planned: "planned";
173
+ tentative: "tentative";
174
+ }>;
175
+ timezone: z.ZodOptional<z.ZodString>;
176
+ mentioned_at: z.ZodOptional<z.ZodString>;
177
+ recurrence: z.ZodOptional<z.ZodObject<{
178
+ frequency: z.ZodEnum<{
179
+ daily: "daily";
180
+ weekly: "weekly";
181
+ monthly: "monthly";
182
+ yearly: "yearly";
183
+ }>;
184
+ interval: z.ZodOptional<z.ZodNumber>;
185
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
186
+ mo: "mo";
187
+ tu: "tu";
188
+ we: "we";
189
+ th: "th";
190
+ fr: "fr";
191
+ sa: "sa";
192
+ su: "su";
193
+ }>>>;
194
+ until: z.ZodOptional<z.ZodString>;
195
+ }, z.core.$strip>>;
196
+ }, z.core.$strip>;
197
+ clock_relation: z.ZodEnum<{
198
+ past: "past";
199
+ today: "today";
200
+ current_period: "current_period";
201
+ ongoing: "ongoing";
202
+ future: "future";
203
+ overdue: "overdue";
204
+ undated: "undated";
205
+ }>;
206
+ actionable: z.ZodBoolean;
207
+ }, z.core.$strip>>;
149
208
  }, z.core.$strip>, z.ZodObject<{
150
209
  status: z.ZodLiteral<"unavailable">;
151
210
  id: z.ZodString;
152
211
  answer_eligible: z.ZodLiteral<false>;
153
212
  }, z.core.$strip>], "status">>;
213
+ observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ status: z.ZodLiteral<"eligible">;
215
+ id: z.ZodString;
216
+ level: z.ZodLiteral<2>;
217
+ subject: z.ZodString;
218
+ disposition: z.ZodEnum<{
219
+ active: "active";
220
+ superseded: "superseded";
221
+ weakened: "weakened";
222
+ retracted: "retracted";
223
+ }>;
224
+ proof_count: z.ZodNumber;
225
+ evidence: z.ZodArray<z.ZodObject<{
226
+ fact: z.ZodString;
227
+ slug: z.ZodString;
228
+ line: z.ZodNumber;
229
+ line_hash: z.ZodString;
230
+ proof_groups: z.ZodArray<z.ZodString>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ status: z.ZodLiteral<"ineligible">;
234
+ id: z.ZodString;
235
+ level: z.ZodLiteral<2>;
236
+ disposition: z.ZodEnum<{
237
+ active: "active";
238
+ superseded: "superseded";
239
+ weakened: "weakened";
240
+ retracted: "retracted";
241
+ }>;
242
+ reason: z.ZodString;
243
+ }, z.core.$strip>], "status">>;
154
244
  fact: z.ZodOptional<z.ZodString>;
155
245
  }, z.core.$strip>>;
156
246
  superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -196,6 +286,7 @@ export declare const RecallOutput: z.ZodObject<{
196
286
  kind: z.ZodEnum<{
197
287
  event: "event";
198
288
  fact: "fact";
289
+ observation: "observation";
199
290
  entity: "entity";
200
291
  page: "page";
201
292
  document: "document";
@@ -221,6 +312,7 @@ export declare const RecallOutput: z.ZodObject<{
221
312
  document: z.ZodOptional<z.ZodString>;
222
313
  fact: z.ZodOptional<z.ZodString>;
223
314
  event: z.ZodOptional<z.ZodString>;
315
+ observation: z.ZodOptional<z.ZodString>;
224
316
  date: z.ZodOptional<z.ZodString>;
225
317
  line_start: z.ZodOptional<z.ZodNumber>;
226
318
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -235,6 +327,7 @@ export declare const RecallOutput: z.ZodObject<{
235
327
  kind: z.ZodEnum<{
236
328
  event: "event";
237
329
  fact: "fact";
330
+ observation: "observation";
238
331
  entity: "entity";
239
332
  page: "page";
240
333
  document: "document";
@@ -260,6 +353,7 @@ export declare const RecallOutput: z.ZodObject<{
260
353
  document: z.ZodOptional<z.ZodString>;
261
354
  fact: z.ZodOptional<z.ZodString>;
262
355
  event: z.ZodOptional<z.ZodString>;
356
+ observation: z.ZodOptional<z.ZodString>;
263
357
  date: z.ZodOptional<z.ZodString>;
264
358
  line_start: z.ZodOptional<z.ZodNumber>;
265
359
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -274,6 +368,7 @@ export declare const RecallOutput: z.ZodObject<{
274
368
  kind: z.ZodEnum<{
275
369
  event: "event";
276
370
  fact: "fact";
371
+ observation: "observation";
277
372
  entity: "entity";
278
373
  page: "page";
279
374
  document: "document";
@@ -299,6 +394,7 @@ export declare const RecallOutput: z.ZodObject<{
299
394
  document: z.ZodOptional<z.ZodString>;
300
395
  fact: z.ZodOptional<z.ZodString>;
301
396
  event: z.ZodOptional<z.ZodString>;
397
+ observation: z.ZodOptional<z.ZodString>;
302
398
  date: z.ZodOptional<z.ZodString>;
303
399
  line_start: z.ZodOptional<z.ZodNumber>;
304
400
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -317,6 +413,7 @@ export declare const RecallOutput: z.ZodObject<{
317
413
  related_entity: "related_entity";
318
414
  owns_document: "owns_document";
319
415
  participates_in: "participates_in";
416
+ derived_from: "derived_from";
320
417
  }>>;
321
418
  hops: z.ZodNumber;
322
419
  confidence: z.ZodNumber;
@@ -406,6 +503,7 @@ export declare const RecallOutput: z.ZodObject<{
406
503
  kind: z.ZodEnum<{
407
504
  event: "event";
408
505
  fact: "fact";
506
+ observation: "observation";
409
507
  entity: "entity";
410
508
  page: "page";
411
509
  document: "document";
@@ -431,6 +529,7 @@ export declare const RecallOutput: z.ZodObject<{
431
529
  document: z.ZodOptional<z.ZodString>;
432
530
  fact: z.ZodOptional<z.ZodString>;
433
531
  event: z.ZodOptional<z.ZodString>;
532
+ observation: z.ZodOptional<z.ZodString>;
434
533
  date: z.ZodOptional<z.ZodString>;
435
534
  line_start: z.ZodOptional<z.ZodNumber>;
436
535
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -445,6 +544,7 @@ export declare const RecallOutput: z.ZodObject<{
445
544
  kind: z.ZodEnum<{
446
545
  event: "event";
447
546
  fact: "fact";
547
+ observation: "observation";
448
548
  entity: "entity";
449
549
  page: "page";
450
550
  document: "document";
@@ -470,6 +570,7 @@ export declare const RecallOutput: z.ZodObject<{
470
570
  document: z.ZodOptional<z.ZodString>;
471
571
  fact: z.ZodOptional<z.ZodString>;
472
572
  event: z.ZodOptional<z.ZodString>;
573
+ observation: z.ZodOptional<z.ZodString>;
473
574
  date: z.ZodOptional<z.ZodString>;
474
575
  line_start: z.ZodOptional<z.ZodNumber>;
475
576
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -484,6 +585,7 @@ export declare const RecallOutput: z.ZodObject<{
484
585
  kind: z.ZodEnum<{
485
586
  event: "event";
486
587
  fact: "fact";
588
+ observation: "observation";
487
589
  entity: "entity";
488
590
  page: "page";
489
591
  document: "document";
@@ -509,6 +611,7 @@ export declare const RecallOutput: z.ZodObject<{
509
611
  document: z.ZodOptional<z.ZodString>;
510
612
  fact: z.ZodOptional<z.ZodString>;
511
613
  event: z.ZodOptional<z.ZodString>;
614
+ observation: z.ZodOptional<z.ZodString>;
512
615
  date: z.ZodOptional<z.ZodString>;
513
616
  line_start: z.ZodOptional<z.ZodNumber>;
514
617
  line_end: z.ZodOptional<z.ZodNumber>;
@@ -527,6 +630,7 @@ export declare const RecallOutput: z.ZodObject<{
527
630
  related_entity: "related_entity";
528
631
  owns_document: "owns_document";
529
632
  participates_in: "participates_in";
633
+ derived_from: "derived_from";
530
634
  }>>;
531
635
  hops: z.ZodNumber;
532
636
  confidence: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"recall.d.ts","sourceRoot":"","sources":["../../src/ops/recall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BtB,CAAC;AACH,MAAM,MAAM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