@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.
- package/README.md +5 -0
- package/dist/common.d.ts +621 -5
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +215 -2
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +222 -2
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/answer.js +24 -0
- package/dist/ops/answer.js.map +1 -1
- package/dist/ops/context.d.ts +340 -2
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/folder.d.ts +2 -0
- package/dist/ops/folder.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +13 -2
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/list.d.ts +2 -0
- package/dist/ops/list.d.ts.map +1 -1
- package/dist/ops/mutate.d.ts +13 -1
- package/dist/ops/mutate.d.ts.map +1 -1
- package/dist/ops/read.d.ts +188 -2
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +105 -1
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/retain.d.ts +21 -60
- package/dist/ops/retain.d.ts.map +1 -1
- package/dist/ops/retain.js +2 -106
- package/dist/ops/retain.js.map +1 -1
- package/dist/ops/timeline.d.ts +537 -1
- package/dist/ops/timeline.d.ts.map +1 -1
- package/dist/ops/timeline.js +143 -11
- package/dist/ops/timeline.js.map +1 -1
- package/dist/ops/write.d.ts +2 -0
- package/dist/ops/write.d.ts.map +1 -1
- package/dist/registry.d.ts +925 -12
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +3 -3
- package/dist/registry.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +3 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -17,6 +17,12 @@ export declare const RememberManagement: z.ZodEnum<{
|
|
|
17
17
|
integrate: "integrate";
|
|
18
18
|
}>;
|
|
19
19
|
export type RememberManagement = z.infer<typeof RememberManagement>;
|
|
20
|
+
/** Narrow authority for inserting Akno-owned level-two observation blocks. */
|
|
21
|
+
export declare const ObserveManagement: z.ZodEnum<{
|
|
22
|
+
deny: "deny";
|
|
23
|
+
integrate: "integrate";
|
|
24
|
+
}>;
|
|
25
|
+
export type ObserveManagement = z.infer<typeof ObserveManagement>;
|
|
20
26
|
export declare const DreamManagement: z.ZodEnum<{
|
|
21
27
|
none: "none";
|
|
22
28
|
hygiene: "hygiene";
|
|
@@ -28,6 +34,10 @@ export declare const PageManagement: z.ZodObject<{
|
|
|
28
34
|
deny: "deny";
|
|
29
35
|
integrate: "integrate";
|
|
30
36
|
}>>;
|
|
37
|
+
observe: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
deny: "deny";
|
|
39
|
+
integrate: "integrate";
|
|
40
|
+
}>>;
|
|
31
41
|
dream: z.ZodOptional<z.ZodEnum<{
|
|
32
42
|
none: "none";
|
|
33
43
|
hygiene: "hygiene";
|
|
@@ -65,6 +75,105 @@ export declare const ResultStatus: z.ZodEnum<{
|
|
|
65
75
|
unavailable: "unavailable";
|
|
66
76
|
}>;
|
|
67
77
|
export type ResultStatus = z.infer<typeof ResultStatus>;
|
|
78
|
+
export declare const TemporalPrecision: z.ZodEnum<{
|
|
79
|
+
instant: "instant";
|
|
80
|
+
day: "day";
|
|
81
|
+
month: "month";
|
|
82
|
+
year: "year";
|
|
83
|
+
unknown: "unknown";
|
|
84
|
+
}>;
|
|
85
|
+
export type TemporalPrecision = z.infer<typeof TemporalPrecision>;
|
|
86
|
+
export declare const TemporalRelation: z.ZodEnum<{
|
|
87
|
+
occurred: "occurred";
|
|
88
|
+
valid: "valid";
|
|
89
|
+
scheduled: "scheduled";
|
|
90
|
+
due: "due";
|
|
91
|
+
}>;
|
|
92
|
+
export type TemporalRelation = z.infer<typeof TemporalRelation>;
|
|
93
|
+
export declare const TemporalStatus: z.ZodEnum<{
|
|
94
|
+
scheduled: "scheduled";
|
|
95
|
+
actual: "actual";
|
|
96
|
+
planned: "planned";
|
|
97
|
+
tentative: "tentative";
|
|
98
|
+
}>;
|
|
99
|
+
export type TemporalStatus = z.infer<typeof TemporalStatus>;
|
|
100
|
+
export declare const IanaTimezone: z.ZodString;
|
|
101
|
+
export type IanaTimezone = z.infer<typeof IanaTimezone>;
|
|
102
|
+
export declare const TemporalRecurrence: z.ZodObject<{
|
|
103
|
+
frequency: z.ZodEnum<{
|
|
104
|
+
daily: "daily";
|
|
105
|
+
weekly: "weekly";
|
|
106
|
+
monthly: "monthly";
|
|
107
|
+
yearly: "yearly";
|
|
108
|
+
}>;
|
|
109
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
111
|
+
mo: "mo";
|
|
112
|
+
tu: "tu";
|
|
113
|
+
we: "we";
|
|
114
|
+
th: "th";
|
|
115
|
+
fr: "fr";
|
|
116
|
+
sa: "sa";
|
|
117
|
+
su: "su";
|
|
118
|
+
}>>>;
|
|
119
|
+
until: z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
export type TemporalRecurrence = z.infer<typeof TemporalRecurrence>;
|
|
122
|
+
export declare const RetainedTime: z.ZodObject<{
|
|
123
|
+
start: z.ZodOptional<z.ZodString>;
|
|
124
|
+
until: z.ZodOptional<z.ZodString>;
|
|
125
|
+
precision: z.ZodEnum<{
|
|
126
|
+
instant: "instant";
|
|
127
|
+
day: "day";
|
|
128
|
+
month: "month";
|
|
129
|
+
year: "year";
|
|
130
|
+
unknown: "unknown";
|
|
131
|
+
}>;
|
|
132
|
+
relation: z.ZodEnum<{
|
|
133
|
+
occurred: "occurred";
|
|
134
|
+
valid: "valid";
|
|
135
|
+
scheduled: "scheduled";
|
|
136
|
+
due: "due";
|
|
137
|
+
}>;
|
|
138
|
+
status: z.ZodEnum<{
|
|
139
|
+
scheduled: "scheduled";
|
|
140
|
+
actual: "actual";
|
|
141
|
+
planned: "planned";
|
|
142
|
+
tentative: "tentative";
|
|
143
|
+
}>;
|
|
144
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
145
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
146
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
frequency: z.ZodEnum<{
|
|
148
|
+
daily: "daily";
|
|
149
|
+
weekly: "weekly";
|
|
150
|
+
monthly: "monthly";
|
|
151
|
+
yearly: "yearly";
|
|
152
|
+
}>;
|
|
153
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
155
|
+
mo: "mo";
|
|
156
|
+
tu: "tu";
|
|
157
|
+
we: "we";
|
|
158
|
+
th: "th";
|
|
159
|
+
fr: "fr";
|
|
160
|
+
sa: "sa";
|
|
161
|
+
su: "su";
|
|
162
|
+
}>>>;
|
|
163
|
+
until: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
export type RetainedTime = z.infer<typeof RetainedTime>;
|
|
167
|
+
export declare const ClockRelation: z.ZodEnum<{
|
|
168
|
+
past: "past";
|
|
169
|
+
today: "today";
|
|
170
|
+
current_period: "current_period";
|
|
171
|
+
ongoing: "ongoing";
|
|
172
|
+
future: "future";
|
|
173
|
+
overdue: "overdue";
|
|
174
|
+
undated: "undated";
|
|
175
|
+
}>;
|
|
176
|
+
export type ClockRelation = z.infer<typeof ClockRelation>;
|
|
68
177
|
/**
|
|
69
178
|
* Semantic qualification for an Akno-managed level-one memory item.
|
|
70
179
|
*
|
|
@@ -95,8 +204,8 @@ export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
95
204
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
96
205
|
commitment: z.ZodEnum<{
|
|
97
206
|
none: "none";
|
|
98
|
-
asserted: "asserted";
|
|
99
207
|
tentative: "tentative";
|
|
208
|
+
asserted: "asserted";
|
|
100
209
|
hypothetical: "hypothetical";
|
|
101
210
|
counterfactual: "counterfactual";
|
|
102
211
|
}>;
|
|
@@ -121,12 +230,117 @@ export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
121
230
|
system_record: "system_record";
|
|
122
231
|
}>;
|
|
123
232
|
answer_eligible: z.ZodBoolean;
|
|
233
|
+
current_eligible: z.ZodBoolean;
|
|
234
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
time: z.ZodObject<{
|
|
236
|
+
start: z.ZodOptional<z.ZodString>;
|
|
237
|
+
until: z.ZodOptional<z.ZodString>;
|
|
238
|
+
precision: z.ZodEnum<{
|
|
239
|
+
instant: "instant";
|
|
240
|
+
day: "day";
|
|
241
|
+
month: "month";
|
|
242
|
+
year: "year";
|
|
243
|
+
unknown: "unknown";
|
|
244
|
+
}>;
|
|
245
|
+
relation: z.ZodEnum<{
|
|
246
|
+
occurred: "occurred";
|
|
247
|
+
valid: "valid";
|
|
248
|
+
scheduled: "scheduled";
|
|
249
|
+
due: "due";
|
|
250
|
+
}>;
|
|
251
|
+
status: z.ZodEnum<{
|
|
252
|
+
scheduled: "scheduled";
|
|
253
|
+
actual: "actual";
|
|
254
|
+
planned: "planned";
|
|
255
|
+
tentative: "tentative";
|
|
256
|
+
}>;
|
|
257
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
258
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
259
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
260
|
+
frequency: z.ZodEnum<{
|
|
261
|
+
daily: "daily";
|
|
262
|
+
weekly: "weekly";
|
|
263
|
+
monthly: "monthly";
|
|
264
|
+
yearly: "yearly";
|
|
265
|
+
}>;
|
|
266
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
268
|
+
mo: "mo";
|
|
269
|
+
tu: "tu";
|
|
270
|
+
we: "we";
|
|
271
|
+
th: "th";
|
|
272
|
+
fr: "fr";
|
|
273
|
+
sa: "sa";
|
|
274
|
+
su: "su";
|
|
275
|
+
}>>>;
|
|
276
|
+
until: z.ZodOptional<z.ZodString>;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
clock_relation: z.ZodEnum<{
|
|
280
|
+
past: "past";
|
|
281
|
+
today: "today";
|
|
282
|
+
current_period: "current_period";
|
|
283
|
+
ongoing: "ongoing";
|
|
284
|
+
future: "future";
|
|
285
|
+
overdue: "overdue";
|
|
286
|
+
undated: "undated";
|
|
287
|
+
}>;
|
|
288
|
+
actionable: z.ZodBoolean;
|
|
289
|
+
}, z.core.$strip>>;
|
|
124
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
125
291
|
status: z.ZodLiteral<"unavailable">;
|
|
126
292
|
id: z.ZodString;
|
|
127
293
|
answer_eligible: z.ZodLiteral<false>;
|
|
128
294
|
}, z.core.$strip>], "status">;
|
|
129
295
|
export type MemoryQualification = z.infer<typeof MemoryQualification>;
|
|
296
|
+
export declare const ObservationDisposition: z.ZodEnum<{
|
|
297
|
+
active: "active";
|
|
298
|
+
superseded: "superseded";
|
|
299
|
+
weakened: "weakened";
|
|
300
|
+
retracted: "retracted";
|
|
301
|
+
}>;
|
|
302
|
+
export type ObservationDisposition = z.infer<typeof ObservationDisposition>;
|
|
303
|
+
export declare const ObservationEvidence: z.ZodObject<{
|
|
304
|
+
fact: z.ZodString;
|
|
305
|
+
slug: z.ZodString;
|
|
306
|
+
line: z.ZodNumber;
|
|
307
|
+
line_hash: z.ZodString;
|
|
308
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
export type ObservationEvidence = z.infer<typeof ObservationEvidence>;
|
|
311
|
+
/** Present only on the readable payload owned by a valid level-two marker. */
|
|
312
|
+
export declare const ObservationQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
313
|
+
status: z.ZodLiteral<"eligible">;
|
|
314
|
+
id: z.ZodString;
|
|
315
|
+
level: z.ZodLiteral<2>;
|
|
316
|
+
subject: z.ZodString;
|
|
317
|
+
disposition: z.ZodEnum<{
|
|
318
|
+
active: "active";
|
|
319
|
+
superseded: "superseded";
|
|
320
|
+
weakened: "weakened";
|
|
321
|
+
retracted: "retracted";
|
|
322
|
+
}>;
|
|
323
|
+
proof_count: z.ZodNumber;
|
|
324
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
325
|
+
fact: z.ZodString;
|
|
326
|
+
slug: z.ZodString;
|
|
327
|
+
line: z.ZodNumber;
|
|
328
|
+
line_hash: z.ZodString;
|
|
329
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
status: z.ZodLiteral<"ineligible">;
|
|
333
|
+
id: z.ZodString;
|
|
334
|
+
level: z.ZodLiteral<2>;
|
|
335
|
+
disposition: z.ZodEnum<{
|
|
336
|
+
active: "active";
|
|
337
|
+
superseded: "superseded";
|
|
338
|
+
weakened: "weakened";
|
|
339
|
+
retracted: "retracted";
|
|
340
|
+
}>;
|
|
341
|
+
reason: z.ZodString;
|
|
342
|
+
}, z.core.$strip>], "status">;
|
|
343
|
+
export type ObservationQualification = z.infer<typeof ObservationQualification>;
|
|
130
344
|
/**
|
|
131
345
|
* Every line Akno returns carries the file and line it came from. `confidence`
|
|
132
346
|
* is present when a fact was derived from this line — how sure the deriver is
|
|
@@ -159,8 +373,8 @@ export declare const Line: z.ZodObject<{
|
|
|
159
373
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
160
374
|
commitment: z.ZodEnum<{
|
|
161
375
|
none: "none";
|
|
162
|
-
asserted: "asserted";
|
|
163
376
|
tentative: "tentative";
|
|
377
|
+
asserted: "asserted";
|
|
164
378
|
hypothetical: "hypothetical";
|
|
165
379
|
counterfactual: "counterfactual";
|
|
166
380
|
}>;
|
|
@@ -185,11 +399,99 @@ export declare const Line: z.ZodObject<{
|
|
|
185
399
|
system_record: "system_record";
|
|
186
400
|
}>;
|
|
187
401
|
answer_eligible: z.ZodBoolean;
|
|
402
|
+
current_eligible: z.ZodBoolean;
|
|
403
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
time: z.ZodObject<{
|
|
405
|
+
start: z.ZodOptional<z.ZodString>;
|
|
406
|
+
until: z.ZodOptional<z.ZodString>;
|
|
407
|
+
precision: z.ZodEnum<{
|
|
408
|
+
instant: "instant";
|
|
409
|
+
day: "day";
|
|
410
|
+
month: "month";
|
|
411
|
+
year: "year";
|
|
412
|
+
unknown: "unknown";
|
|
413
|
+
}>;
|
|
414
|
+
relation: z.ZodEnum<{
|
|
415
|
+
occurred: "occurred";
|
|
416
|
+
valid: "valid";
|
|
417
|
+
scheduled: "scheduled";
|
|
418
|
+
due: "due";
|
|
419
|
+
}>;
|
|
420
|
+
status: z.ZodEnum<{
|
|
421
|
+
scheduled: "scheduled";
|
|
422
|
+
actual: "actual";
|
|
423
|
+
planned: "planned";
|
|
424
|
+
tentative: "tentative";
|
|
425
|
+
}>;
|
|
426
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
427
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
428
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
frequency: z.ZodEnum<{
|
|
430
|
+
daily: "daily";
|
|
431
|
+
weekly: "weekly";
|
|
432
|
+
monthly: "monthly";
|
|
433
|
+
yearly: "yearly";
|
|
434
|
+
}>;
|
|
435
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
437
|
+
mo: "mo";
|
|
438
|
+
tu: "tu";
|
|
439
|
+
we: "we";
|
|
440
|
+
th: "th";
|
|
441
|
+
fr: "fr";
|
|
442
|
+
sa: "sa";
|
|
443
|
+
su: "su";
|
|
444
|
+
}>>>;
|
|
445
|
+
until: z.ZodOptional<z.ZodString>;
|
|
446
|
+
}, z.core.$strip>>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
clock_relation: z.ZodEnum<{
|
|
449
|
+
past: "past";
|
|
450
|
+
today: "today";
|
|
451
|
+
current_period: "current_period";
|
|
452
|
+
ongoing: "ongoing";
|
|
453
|
+
future: "future";
|
|
454
|
+
overdue: "overdue";
|
|
455
|
+
undated: "undated";
|
|
456
|
+
}>;
|
|
457
|
+
actionable: z.ZodBoolean;
|
|
458
|
+
}, z.core.$strip>>;
|
|
188
459
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
460
|
status: z.ZodLiteral<"unavailable">;
|
|
190
461
|
id: z.ZodString;
|
|
191
462
|
answer_eligible: z.ZodLiteral<false>;
|
|
192
463
|
}, z.core.$strip>], "status">>;
|
|
464
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
465
|
+
status: z.ZodLiteral<"eligible">;
|
|
466
|
+
id: z.ZodString;
|
|
467
|
+
level: z.ZodLiteral<2>;
|
|
468
|
+
subject: z.ZodString;
|
|
469
|
+
disposition: z.ZodEnum<{
|
|
470
|
+
active: "active";
|
|
471
|
+
superseded: "superseded";
|
|
472
|
+
weakened: "weakened";
|
|
473
|
+
retracted: "retracted";
|
|
474
|
+
}>;
|
|
475
|
+
proof_count: z.ZodNumber;
|
|
476
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
477
|
+
fact: z.ZodString;
|
|
478
|
+
slug: z.ZodString;
|
|
479
|
+
line: z.ZodNumber;
|
|
480
|
+
line_hash: z.ZodString;
|
|
481
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
482
|
+
}, z.core.$strip>>;
|
|
483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
484
|
+
status: z.ZodLiteral<"ineligible">;
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
level: z.ZodLiteral<2>;
|
|
487
|
+
disposition: z.ZodEnum<{
|
|
488
|
+
active: "active";
|
|
489
|
+
superseded: "superseded";
|
|
490
|
+
weakened: "weakened";
|
|
491
|
+
retracted: "retracted";
|
|
492
|
+
}>;
|
|
493
|
+
reason: z.ZodString;
|
|
494
|
+
}, z.core.$strip>], "status">>;
|
|
193
495
|
fact: z.ZodOptional<z.ZodString>;
|
|
194
496
|
}, z.core.$strip>;
|
|
195
497
|
export type Line = z.infer<typeof Line>;
|
|
@@ -235,11 +537,13 @@ export declare const GraphRelation: z.ZodEnum<{
|
|
|
235
537
|
related_entity: "related_entity";
|
|
236
538
|
owns_document: "owns_document";
|
|
237
539
|
participates_in: "participates_in";
|
|
540
|
+
derived_from: "derived_from";
|
|
238
541
|
}>;
|
|
239
542
|
export type GraphRelation = z.infer<typeof GraphRelation>;
|
|
240
543
|
export declare const GraphNodeKind: z.ZodEnum<{
|
|
241
544
|
event: "event";
|
|
242
545
|
fact: "fact";
|
|
546
|
+
observation: "observation";
|
|
243
547
|
entity: "entity";
|
|
244
548
|
page: "page";
|
|
245
549
|
document: "document";
|
|
@@ -251,6 +555,7 @@ export declare const GraphNodeRef: z.ZodObject<{
|
|
|
251
555
|
kind: z.ZodEnum<{
|
|
252
556
|
event: "event";
|
|
253
557
|
fact: "fact";
|
|
558
|
+
observation: "observation";
|
|
254
559
|
entity: "entity";
|
|
255
560
|
page: "page";
|
|
256
561
|
document: "document";
|
|
@@ -276,6 +581,7 @@ export declare const GraphNodeRef: z.ZodObject<{
|
|
|
276
581
|
document: z.ZodOptional<z.ZodString>;
|
|
277
582
|
fact: z.ZodOptional<z.ZodString>;
|
|
278
583
|
event: z.ZodOptional<z.ZodString>;
|
|
584
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
279
585
|
date: z.ZodOptional<z.ZodString>;
|
|
280
586
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
281
587
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -317,6 +623,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
317
623
|
kind: z.ZodEnum<{
|
|
318
624
|
event: "event";
|
|
319
625
|
fact: "fact";
|
|
626
|
+
observation: "observation";
|
|
320
627
|
entity: "entity";
|
|
321
628
|
page: "page";
|
|
322
629
|
document: "document";
|
|
@@ -342,6 +649,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
342
649
|
document: z.ZodOptional<z.ZodString>;
|
|
343
650
|
fact: z.ZodOptional<z.ZodString>;
|
|
344
651
|
event: z.ZodOptional<z.ZodString>;
|
|
652
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
345
653
|
date: z.ZodOptional<z.ZodString>;
|
|
346
654
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
347
655
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -356,6 +664,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
356
664
|
kind: z.ZodEnum<{
|
|
357
665
|
event: "event";
|
|
358
666
|
fact: "fact";
|
|
667
|
+
observation: "observation";
|
|
359
668
|
entity: "entity";
|
|
360
669
|
page: "page";
|
|
361
670
|
document: "document";
|
|
@@ -381,6 +690,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
381
690
|
document: z.ZodOptional<z.ZodString>;
|
|
382
691
|
fact: z.ZodOptional<z.ZodString>;
|
|
383
692
|
event: z.ZodOptional<z.ZodString>;
|
|
693
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
384
694
|
date: z.ZodOptional<z.ZodString>;
|
|
385
695
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
386
696
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -395,6 +705,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
395
705
|
kind: z.ZodEnum<{
|
|
396
706
|
event: "event";
|
|
397
707
|
fact: "fact";
|
|
708
|
+
observation: "observation";
|
|
398
709
|
entity: "entity";
|
|
399
710
|
page: "page";
|
|
400
711
|
document: "document";
|
|
@@ -420,6 +731,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
420
731
|
document: z.ZodOptional<z.ZodString>;
|
|
421
732
|
fact: z.ZodOptional<z.ZodString>;
|
|
422
733
|
event: z.ZodOptional<z.ZodString>;
|
|
734
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
423
735
|
date: z.ZodOptional<z.ZodString>;
|
|
424
736
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
425
737
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -438,6 +750,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
438
750
|
related_entity: "related_entity";
|
|
439
751
|
owns_document: "owns_document";
|
|
440
752
|
participates_in: "participates_in";
|
|
753
|
+
derived_from: "derived_from";
|
|
441
754
|
}>>;
|
|
442
755
|
hops: z.ZodNumber;
|
|
443
756
|
confidence: z.ZodNumber;
|
|
@@ -556,8 +869,8 @@ export declare const Card: z.ZodObject<{
|
|
|
556
869
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
557
870
|
commitment: z.ZodEnum<{
|
|
558
871
|
none: "none";
|
|
559
|
-
asserted: "asserted";
|
|
560
872
|
tentative: "tentative";
|
|
873
|
+
asserted: "asserted";
|
|
561
874
|
hypothetical: "hypothetical";
|
|
562
875
|
counterfactual: "counterfactual";
|
|
563
876
|
}>;
|
|
@@ -582,11 +895,99 @@ export declare const Card: z.ZodObject<{
|
|
|
582
895
|
system_record: "system_record";
|
|
583
896
|
}>;
|
|
584
897
|
answer_eligible: z.ZodBoolean;
|
|
898
|
+
current_eligible: z.ZodBoolean;
|
|
899
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
900
|
+
time: z.ZodObject<{
|
|
901
|
+
start: z.ZodOptional<z.ZodString>;
|
|
902
|
+
until: z.ZodOptional<z.ZodString>;
|
|
903
|
+
precision: z.ZodEnum<{
|
|
904
|
+
instant: "instant";
|
|
905
|
+
day: "day";
|
|
906
|
+
month: "month";
|
|
907
|
+
year: "year";
|
|
908
|
+
unknown: "unknown";
|
|
909
|
+
}>;
|
|
910
|
+
relation: z.ZodEnum<{
|
|
911
|
+
occurred: "occurred";
|
|
912
|
+
valid: "valid";
|
|
913
|
+
scheduled: "scheduled";
|
|
914
|
+
due: "due";
|
|
915
|
+
}>;
|
|
916
|
+
status: z.ZodEnum<{
|
|
917
|
+
scheduled: "scheduled";
|
|
918
|
+
actual: "actual";
|
|
919
|
+
planned: "planned";
|
|
920
|
+
tentative: "tentative";
|
|
921
|
+
}>;
|
|
922
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
923
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
924
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
925
|
+
frequency: z.ZodEnum<{
|
|
926
|
+
daily: "daily";
|
|
927
|
+
weekly: "weekly";
|
|
928
|
+
monthly: "monthly";
|
|
929
|
+
yearly: "yearly";
|
|
930
|
+
}>;
|
|
931
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
932
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
933
|
+
mo: "mo";
|
|
934
|
+
tu: "tu";
|
|
935
|
+
we: "we";
|
|
936
|
+
th: "th";
|
|
937
|
+
fr: "fr";
|
|
938
|
+
sa: "sa";
|
|
939
|
+
su: "su";
|
|
940
|
+
}>>>;
|
|
941
|
+
until: z.ZodOptional<z.ZodString>;
|
|
942
|
+
}, z.core.$strip>>;
|
|
943
|
+
}, z.core.$strip>;
|
|
944
|
+
clock_relation: z.ZodEnum<{
|
|
945
|
+
past: "past";
|
|
946
|
+
today: "today";
|
|
947
|
+
current_period: "current_period";
|
|
948
|
+
ongoing: "ongoing";
|
|
949
|
+
future: "future";
|
|
950
|
+
overdue: "overdue";
|
|
951
|
+
undated: "undated";
|
|
952
|
+
}>;
|
|
953
|
+
actionable: z.ZodBoolean;
|
|
954
|
+
}, z.core.$strip>>;
|
|
585
955
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
956
|
status: z.ZodLiteral<"unavailable">;
|
|
587
957
|
id: z.ZodString;
|
|
588
958
|
answer_eligible: z.ZodLiteral<false>;
|
|
589
959
|
}, z.core.$strip>], "status">>;
|
|
960
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
961
|
+
status: z.ZodLiteral<"eligible">;
|
|
962
|
+
id: z.ZodString;
|
|
963
|
+
level: z.ZodLiteral<2>;
|
|
964
|
+
subject: z.ZodString;
|
|
965
|
+
disposition: z.ZodEnum<{
|
|
966
|
+
active: "active";
|
|
967
|
+
superseded: "superseded";
|
|
968
|
+
weakened: "weakened";
|
|
969
|
+
retracted: "retracted";
|
|
970
|
+
}>;
|
|
971
|
+
proof_count: z.ZodNumber;
|
|
972
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
973
|
+
fact: z.ZodString;
|
|
974
|
+
slug: z.ZodString;
|
|
975
|
+
line: z.ZodNumber;
|
|
976
|
+
line_hash: z.ZodString;
|
|
977
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
978
|
+
}, z.core.$strip>>;
|
|
979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
980
|
+
status: z.ZodLiteral<"ineligible">;
|
|
981
|
+
id: z.ZodString;
|
|
982
|
+
level: z.ZodLiteral<2>;
|
|
983
|
+
disposition: z.ZodEnum<{
|
|
984
|
+
active: "active";
|
|
985
|
+
superseded: "superseded";
|
|
986
|
+
weakened: "weakened";
|
|
987
|
+
retracted: "retracted";
|
|
988
|
+
}>;
|
|
989
|
+
reason: z.ZodString;
|
|
990
|
+
}, z.core.$strip>], "status">>;
|
|
590
991
|
fact: z.ZodOptional<z.ZodString>;
|
|
591
992
|
}, z.core.$strip>>;
|
|
592
993
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -632,6 +1033,7 @@ export declare const Card: z.ZodObject<{
|
|
|
632
1033
|
kind: z.ZodEnum<{
|
|
633
1034
|
event: "event";
|
|
634
1035
|
fact: "fact";
|
|
1036
|
+
observation: "observation";
|
|
635
1037
|
entity: "entity";
|
|
636
1038
|
page: "page";
|
|
637
1039
|
document: "document";
|
|
@@ -657,6 +1059,7 @@ export declare const Card: z.ZodObject<{
|
|
|
657
1059
|
document: z.ZodOptional<z.ZodString>;
|
|
658
1060
|
fact: z.ZodOptional<z.ZodString>;
|
|
659
1061
|
event: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
660
1063
|
date: z.ZodOptional<z.ZodString>;
|
|
661
1064
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
662
1065
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -671,6 +1074,7 @@ export declare const Card: z.ZodObject<{
|
|
|
671
1074
|
kind: z.ZodEnum<{
|
|
672
1075
|
event: "event";
|
|
673
1076
|
fact: "fact";
|
|
1077
|
+
observation: "observation";
|
|
674
1078
|
entity: "entity";
|
|
675
1079
|
page: "page";
|
|
676
1080
|
document: "document";
|
|
@@ -696,6 +1100,7 @@ export declare const Card: z.ZodObject<{
|
|
|
696
1100
|
document: z.ZodOptional<z.ZodString>;
|
|
697
1101
|
fact: z.ZodOptional<z.ZodString>;
|
|
698
1102
|
event: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
699
1104
|
date: z.ZodOptional<z.ZodString>;
|
|
700
1105
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
701
1106
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -710,6 +1115,7 @@ export declare const Card: z.ZodObject<{
|
|
|
710
1115
|
kind: z.ZodEnum<{
|
|
711
1116
|
event: "event";
|
|
712
1117
|
fact: "fact";
|
|
1118
|
+
observation: "observation";
|
|
713
1119
|
entity: "entity";
|
|
714
1120
|
page: "page";
|
|
715
1121
|
document: "document";
|
|
@@ -735,6 +1141,7 @@ export declare const Card: z.ZodObject<{
|
|
|
735
1141
|
document: z.ZodOptional<z.ZodString>;
|
|
736
1142
|
fact: z.ZodOptional<z.ZodString>;
|
|
737
1143
|
event: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
738
1145
|
date: z.ZodOptional<z.ZodString>;
|
|
739
1146
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
740
1147
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -753,6 +1160,7 @@ export declare const Card: z.ZodObject<{
|
|
|
753
1160
|
related_entity: "related_entity";
|
|
754
1161
|
owns_document: "owns_document";
|
|
755
1162
|
participates_in: "participates_in";
|
|
1163
|
+
derived_from: "derived_from";
|
|
756
1164
|
}>>;
|
|
757
1165
|
hops: z.ZodNumber;
|
|
758
1166
|
confidence: z.ZodNumber;
|
|
@@ -815,8 +1223,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
815
1223
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
816
1224
|
commitment: z.ZodEnum<{
|
|
817
1225
|
none: "none";
|
|
818
|
-
asserted: "asserted";
|
|
819
1226
|
tentative: "tentative";
|
|
1227
|
+
asserted: "asserted";
|
|
820
1228
|
hypothetical: "hypothetical";
|
|
821
1229
|
counterfactual: "counterfactual";
|
|
822
1230
|
}>;
|
|
@@ -841,11 +1249,99 @@ export declare const PageCard: z.ZodObject<{
|
|
|
841
1249
|
system_record: "system_record";
|
|
842
1250
|
}>;
|
|
843
1251
|
answer_eligible: z.ZodBoolean;
|
|
1252
|
+
current_eligible: z.ZodBoolean;
|
|
1253
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1254
|
+
time: z.ZodObject<{
|
|
1255
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
precision: z.ZodEnum<{
|
|
1258
|
+
instant: "instant";
|
|
1259
|
+
day: "day";
|
|
1260
|
+
month: "month";
|
|
1261
|
+
year: "year";
|
|
1262
|
+
unknown: "unknown";
|
|
1263
|
+
}>;
|
|
1264
|
+
relation: z.ZodEnum<{
|
|
1265
|
+
occurred: "occurred";
|
|
1266
|
+
valid: "valid";
|
|
1267
|
+
scheduled: "scheduled";
|
|
1268
|
+
due: "due";
|
|
1269
|
+
}>;
|
|
1270
|
+
status: z.ZodEnum<{
|
|
1271
|
+
scheduled: "scheduled";
|
|
1272
|
+
actual: "actual";
|
|
1273
|
+
planned: "planned";
|
|
1274
|
+
tentative: "tentative";
|
|
1275
|
+
}>;
|
|
1276
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1279
|
+
frequency: z.ZodEnum<{
|
|
1280
|
+
daily: "daily";
|
|
1281
|
+
weekly: "weekly";
|
|
1282
|
+
monthly: "monthly";
|
|
1283
|
+
yearly: "yearly";
|
|
1284
|
+
}>;
|
|
1285
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1286
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1287
|
+
mo: "mo";
|
|
1288
|
+
tu: "tu";
|
|
1289
|
+
we: "we";
|
|
1290
|
+
th: "th";
|
|
1291
|
+
fr: "fr";
|
|
1292
|
+
sa: "sa";
|
|
1293
|
+
su: "su";
|
|
1294
|
+
}>>>;
|
|
1295
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
}, z.core.$strip>>;
|
|
1297
|
+
}, z.core.$strip>;
|
|
1298
|
+
clock_relation: z.ZodEnum<{
|
|
1299
|
+
past: "past";
|
|
1300
|
+
today: "today";
|
|
1301
|
+
current_period: "current_period";
|
|
1302
|
+
ongoing: "ongoing";
|
|
1303
|
+
future: "future";
|
|
1304
|
+
overdue: "overdue";
|
|
1305
|
+
undated: "undated";
|
|
1306
|
+
}>;
|
|
1307
|
+
actionable: z.ZodBoolean;
|
|
1308
|
+
}, z.core.$strip>>;
|
|
844
1309
|
}, z.core.$strip>, z.ZodObject<{
|
|
845
1310
|
status: z.ZodLiteral<"unavailable">;
|
|
846
1311
|
id: z.ZodString;
|
|
847
1312
|
answer_eligible: z.ZodLiteral<false>;
|
|
848
1313
|
}, z.core.$strip>], "status">>;
|
|
1314
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1315
|
+
status: z.ZodLiteral<"eligible">;
|
|
1316
|
+
id: z.ZodString;
|
|
1317
|
+
level: z.ZodLiteral<2>;
|
|
1318
|
+
subject: z.ZodString;
|
|
1319
|
+
disposition: z.ZodEnum<{
|
|
1320
|
+
active: "active";
|
|
1321
|
+
superseded: "superseded";
|
|
1322
|
+
weakened: "weakened";
|
|
1323
|
+
retracted: "retracted";
|
|
1324
|
+
}>;
|
|
1325
|
+
proof_count: z.ZodNumber;
|
|
1326
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1327
|
+
fact: z.ZodString;
|
|
1328
|
+
slug: z.ZodString;
|
|
1329
|
+
line: z.ZodNumber;
|
|
1330
|
+
line_hash: z.ZodString;
|
|
1331
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
1332
|
+
}, z.core.$strip>>;
|
|
1333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1334
|
+
status: z.ZodLiteral<"ineligible">;
|
|
1335
|
+
id: z.ZodString;
|
|
1336
|
+
level: z.ZodLiteral<2>;
|
|
1337
|
+
disposition: z.ZodEnum<{
|
|
1338
|
+
active: "active";
|
|
1339
|
+
superseded: "superseded";
|
|
1340
|
+
weakened: "weakened";
|
|
1341
|
+
retracted: "retracted";
|
|
1342
|
+
}>;
|
|
1343
|
+
reason: z.ZodString;
|
|
1344
|
+
}, z.core.$strip>], "status">>;
|
|
849
1345
|
fact: z.ZodOptional<z.ZodString>;
|
|
850
1346
|
}, z.core.$strip>>;
|
|
851
1347
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -891,6 +1387,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
891
1387
|
kind: z.ZodEnum<{
|
|
892
1388
|
event: "event";
|
|
893
1389
|
fact: "fact";
|
|
1390
|
+
observation: "observation";
|
|
894
1391
|
entity: "entity";
|
|
895
1392
|
page: "page";
|
|
896
1393
|
document: "document";
|
|
@@ -916,6 +1413,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
916
1413
|
document: z.ZodOptional<z.ZodString>;
|
|
917
1414
|
fact: z.ZodOptional<z.ZodString>;
|
|
918
1415
|
event: z.ZodOptional<z.ZodString>;
|
|
1416
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
919
1417
|
date: z.ZodOptional<z.ZodString>;
|
|
920
1418
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
921
1419
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -930,6 +1428,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
930
1428
|
kind: z.ZodEnum<{
|
|
931
1429
|
event: "event";
|
|
932
1430
|
fact: "fact";
|
|
1431
|
+
observation: "observation";
|
|
933
1432
|
entity: "entity";
|
|
934
1433
|
page: "page";
|
|
935
1434
|
document: "document";
|
|
@@ -955,6 +1454,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
955
1454
|
document: z.ZodOptional<z.ZodString>;
|
|
956
1455
|
fact: z.ZodOptional<z.ZodString>;
|
|
957
1456
|
event: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
958
1458
|
date: z.ZodOptional<z.ZodString>;
|
|
959
1459
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
960
1460
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -969,6 +1469,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
969
1469
|
kind: z.ZodEnum<{
|
|
970
1470
|
event: "event";
|
|
971
1471
|
fact: "fact";
|
|
1472
|
+
observation: "observation";
|
|
972
1473
|
entity: "entity";
|
|
973
1474
|
page: "page";
|
|
974
1475
|
document: "document";
|
|
@@ -994,6 +1495,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
994
1495
|
document: z.ZodOptional<z.ZodString>;
|
|
995
1496
|
fact: z.ZodOptional<z.ZodString>;
|
|
996
1497
|
event: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
997
1499
|
date: z.ZodOptional<z.ZodString>;
|
|
998
1500
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
999
1501
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1012,6 +1514,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1012
1514
|
related_entity: "related_entity";
|
|
1013
1515
|
owns_document: "owns_document";
|
|
1014
1516
|
participates_in: "participates_in";
|
|
1517
|
+
derived_from: "derived_from";
|
|
1015
1518
|
}>>;
|
|
1016
1519
|
hops: z.ZodNumber;
|
|
1017
1520
|
confidence: z.ZodNumber;
|
|
@@ -1104,6 +1607,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1104
1607
|
kind: z.ZodEnum<{
|
|
1105
1608
|
event: "event";
|
|
1106
1609
|
fact: "fact";
|
|
1610
|
+
observation: "observation";
|
|
1107
1611
|
entity: "entity";
|
|
1108
1612
|
page: "page";
|
|
1109
1613
|
document: "document";
|
|
@@ -1129,6 +1633,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1129
1633
|
document: z.ZodOptional<z.ZodString>;
|
|
1130
1634
|
fact: z.ZodOptional<z.ZodString>;
|
|
1131
1635
|
event: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1132
1637
|
date: z.ZodOptional<z.ZodString>;
|
|
1133
1638
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1134
1639
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1143,6 +1648,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1143
1648
|
kind: z.ZodEnum<{
|
|
1144
1649
|
event: "event";
|
|
1145
1650
|
fact: "fact";
|
|
1651
|
+
observation: "observation";
|
|
1146
1652
|
entity: "entity";
|
|
1147
1653
|
page: "page";
|
|
1148
1654
|
document: "document";
|
|
@@ -1168,6 +1674,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1168
1674
|
document: z.ZodOptional<z.ZodString>;
|
|
1169
1675
|
fact: z.ZodOptional<z.ZodString>;
|
|
1170
1676
|
event: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1171
1678
|
date: z.ZodOptional<z.ZodString>;
|
|
1172
1679
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1173
1680
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1182,6 +1689,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1182
1689
|
kind: z.ZodEnum<{
|
|
1183
1690
|
event: "event";
|
|
1184
1691
|
fact: "fact";
|
|
1692
|
+
observation: "observation";
|
|
1185
1693
|
entity: "entity";
|
|
1186
1694
|
page: "page";
|
|
1187
1695
|
document: "document";
|
|
@@ -1207,6 +1715,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1207
1715
|
document: z.ZodOptional<z.ZodString>;
|
|
1208
1716
|
fact: z.ZodOptional<z.ZodString>;
|
|
1209
1717
|
event: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1210
1719
|
date: z.ZodOptional<z.ZodString>;
|
|
1211
1720
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1212
1721
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1225,6 +1734,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1225
1734
|
related_entity: "related_entity";
|
|
1226
1735
|
owns_document: "owns_document";
|
|
1227
1736
|
participates_in: "participates_in";
|
|
1737
|
+
derived_from: "derived_from";
|
|
1228
1738
|
}>>;
|
|
1229
1739
|
hops: z.ZodNumber;
|
|
1230
1740
|
confidence: z.ZodNumber;
|
|
@@ -1286,8 +1796,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1286
1796
|
source_speaker: z.ZodOptional<z.ZodString>;
|
|
1287
1797
|
commitment: z.ZodEnum<{
|
|
1288
1798
|
none: "none";
|
|
1289
|
-
asserted: "asserted";
|
|
1290
1799
|
tentative: "tentative";
|
|
1800
|
+
asserted: "asserted";
|
|
1291
1801
|
hypothetical: "hypothetical";
|
|
1292
1802
|
counterfactual: "counterfactual";
|
|
1293
1803
|
}>;
|
|
@@ -1312,11 +1822,99 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1312
1822
|
system_record: "system_record";
|
|
1313
1823
|
}>;
|
|
1314
1824
|
answer_eligible: z.ZodBoolean;
|
|
1825
|
+
current_eligible: z.ZodBoolean;
|
|
1826
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1827
|
+
time: z.ZodObject<{
|
|
1828
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1829
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1830
|
+
precision: z.ZodEnum<{
|
|
1831
|
+
instant: "instant";
|
|
1832
|
+
day: "day";
|
|
1833
|
+
month: "month";
|
|
1834
|
+
year: "year";
|
|
1835
|
+
unknown: "unknown";
|
|
1836
|
+
}>;
|
|
1837
|
+
relation: z.ZodEnum<{
|
|
1838
|
+
occurred: "occurred";
|
|
1839
|
+
valid: "valid";
|
|
1840
|
+
scheduled: "scheduled";
|
|
1841
|
+
due: "due";
|
|
1842
|
+
}>;
|
|
1843
|
+
status: z.ZodEnum<{
|
|
1844
|
+
scheduled: "scheduled";
|
|
1845
|
+
actual: "actual";
|
|
1846
|
+
planned: "planned";
|
|
1847
|
+
tentative: "tentative";
|
|
1848
|
+
}>;
|
|
1849
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1851
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1852
|
+
frequency: z.ZodEnum<{
|
|
1853
|
+
daily: "daily";
|
|
1854
|
+
weekly: "weekly";
|
|
1855
|
+
monthly: "monthly";
|
|
1856
|
+
yearly: "yearly";
|
|
1857
|
+
}>;
|
|
1858
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1859
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1860
|
+
mo: "mo";
|
|
1861
|
+
tu: "tu";
|
|
1862
|
+
we: "we";
|
|
1863
|
+
th: "th";
|
|
1864
|
+
fr: "fr";
|
|
1865
|
+
sa: "sa";
|
|
1866
|
+
su: "su";
|
|
1867
|
+
}>>>;
|
|
1868
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
}, z.core.$strip>>;
|
|
1870
|
+
}, z.core.$strip>;
|
|
1871
|
+
clock_relation: z.ZodEnum<{
|
|
1872
|
+
past: "past";
|
|
1873
|
+
today: "today";
|
|
1874
|
+
current_period: "current_period";
|
|
1875
|
+
ongoing: "ongoing";
|
|
1876
|
+
future: "future";
|
|
1877
|
+
overdue: "overdue";
|
|
1878
|
+
undated: "undated";
|
|
1879
|
+
}>;
|
|
1880
|
+
actionable: z.ZodBoolean;
|
|
1881
|
+
}, z.core.$strip>>;
|
|
1315
1882
|
}, z.core.$strip>, z.ZodObject<{
|
|
1316
1883
|
status: z.ZodLiteral<"unavailable">;
|
|
1317
1884
|
id: z.ZodString;
|
|
1318
1885
|
answer_eligible: z.ZodLiteral<false>;
|
|
1319
1886
|
}, z.core.$strip>], "status">>;
|
|
1887
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1888
|
+
status: z.ZodLiteral<"eligible">;
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
level: z.ZodLiteral<2>;
|
|
1891
|
+
subject: z.ZodString;
|
|
1892
|
+
disposition: z.ZodEnum<{
|
|
1893
|
+
active: "active";
|
|
1894
|
+
superseded: "superseded";
|
|
1895
|
+
weakened: "weakened";
|
|
1896
|
+
retracted: "retracted";
|
|
1897
|
+
}>;
|
|
1898
|
+
proof_count: z.ZodNumber;
|
|
1899
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1900
|
+
fact: z.ZodString;
|
|
1901
|
+
slug: z.ZodString;
|
|
1902
|
+
line: z.ZodNumber;
|
|
1903
|
+
line_hash: z.ZodString;
|
|
1904
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
1905
|
+
}, z.core.$strip>>;
|
|
1906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1907
|
+
status: z.ZodLiteral<"ineligible">;
|
|
1908
|
+
id: z.ZodString;
|
|
1909
|
+
level: z.ZodLiteral<2>;
|
|
1910
|
+
disposition: z.ZodEnum<{
|
|
1911
|
+
active: "active";
|
|
1912
|
+
superseded: "superseded";
|
|
1913
|
+
weakened: "weakened";
|
|
1914
|
+
retracted: "retracted";
|
|
1915
|
+
}>;
|
|
1916
|
+
reason: z.ZodString;
|
|
1917
|
+
}, z.core.$strip>], "status">>;
|
|
1320
1918
|
fact: z.ZodOptional<z.ZodString>;
|
|
1321
1919
|
}, z.core.$strip>>;
|
|
1322
1920
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1362,6 +1960,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1362
1960
|
kind: z.ZodEnum<{
|
|
1363
1961
|
event: "event";
|
|
1364
1962
|
fact: "fact";
|
|
1963
|
+
observation: "observation";
|
|
1365
1964
|
entity: "entity";
|
|
1366
1965
|
page: "page";
|
|
1367
1966
|
document: "document";
|
|
@@ -1387,6 +1986,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1387
1986
|
document: z.ZodOptional<z.ZodString>;
|
|
1388
1987
|
fact: z.ZodOptional<z.ZodString>;
|
|
1389
1988
|
event: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1390
1990
|
date: z.ZodOptional<z.ZodString>;
|
|
1391
1991
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1392
1992
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1401,6 +2001,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1401
2001
|
kind: z.ZodEnum<{
|
|
1402
2002
|
event: "event";
|
|
1403
2003
|
fact: "fact";
|
|
2004
|
+
observation: "observation";
|
|
1404
2005
|
entity: "entity";
|
|
1405
2006
|
page: "page";
|
|
1406
2007
|
document: "document";
|
|
@@ -1426,6 +2027,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1426
2027
|
document: z.ZodOptional<z.ZodString>;
|
|
1427
2028
|
fact: z.ZodOptional<z.ZodString>;
|
|
1428
2029
|
event: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1429
2031
|
date: z.ZodOptional<z.ZodString>;
|
|
1430
2032
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1431
2033
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1440,6 +2042,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1440
2042
|
kind: z.ZodEnum<{
|
|
1441
2043
|
event: "event";
|
|
1442
2044
|
fact: "fact";
|
|
2045
|
+
observation: "observation";
|
|
1443
2046
|
entity: "entity";
|
|
1444
2047
|
page: "page";
|
|
1445
2048
|
document: "document";
|
|
@@ -1465,6 +2068,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1465
2068
|
document: z.ZodOptional<z.ZodString>;
|
|
1466
2069
|
fact: z.ZodOptional<z.ZodString>;
|
|
1467
2070
|
event: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1468
2072
|
date: z.ZodOptional<z.ZodString>;
|
|
1469
2073
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1470
2074
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1483,6 +2087,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1483
2087
|
related_entity: "related_entity";
|
|
1484
2088
|
owns_document: "owns_document";
|
|
1485
2089
|
participates_in: "participates_in";
|
|
2090
|
+
derived_from: "derived_from";
|
|
1486
2091
|
}>>;
|
|
1487
2092
|
hops: z.ZodNumber;
|
|
1488
2093
|
confidence: z.ZodNumber;
|
|
@@ -1572,6 +2177,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1572
2177
|
kind: z.ZodEnum<{
|
|
1573
2178
|
event: "event";
|
|
1574
2179
|
fact: "fact";
|
|
2180
|
+
observation: "observation";
|
|
1575
2181
|
entity: "entity";
|
|
1576
2182
|
page: "page";
|
|
1577
2183
|
document: "document";
|
|
@@ -1597,6 +2203,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1597
2203
|
document: z.ZodOptional<z.ZodString>;
|
|
1598
2204
|
fact: z.ZodOptional<z.ZodString>;
|
|
1599
2205
|
event: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1600
2207
|
date: z.ZodOptional<z.ZodString>;
|
|
1601
2208
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1602
2209
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1611,6 +2218,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1611
2218
|
kind: z.ZodEnum<{
|
|
1612
2219
|
event: "event";
|
|
1613
2220
|
fact: "fact";
|
|
2221
|
+
observation: "observation";
|
|
1614
2222
|
entity: "entity";
|
|
1615
2223
|
page: "page";
|
|
1616
2224
|
document: "document";
|
|
@@ -1636,6 +2244,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1636
2244
|
document: z.ZodOptional<z.ZodString>;
|
|
1637
2245
|
fact: z.ZodOptional<z.ZodString>;
|
|
1638
2246
|
event: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1639
2248
|
date: z.ZodOptional<z.ZodString>;
|
|
1640
2249
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1641
2250
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1650,6 +2259,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1650
2259
|
kind: z.ZodEnum<{
|
|
1651
2260
|
event: "event";
|
|
1652
2261
|
fact: "fact";
|
|
2262
|
+
observation: "observation";
|
|
1653
2263
|
entity: "entity";
|
|
1654
2264
|
page: "page";
|
|
1655
2265
|
document: "document";
|
|
@@ -1675,6 +2285,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1675
2285
|
document: z.ZodOptional<z.ZodString>;
|
|
1676
2286
|
fact: z.ZodOptional<z.ZodString>;
|
|
1677
2287
|
event: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1678
2289
|
date: z.ZodOptional<z.ZodString>;
|
|
1679
2290
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1680
2291
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1693,6 +2304,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1693
2304
|
related_entity: "related_entity";
|
|
1694
2305
|
owns_document: "owns_document";
|
|
1695
2306
|
participates_in: "participates_in";
|
|
2307
|
+
derived_from: "derived_from";
|
|
1696
2308
|
}>>;
|
|
1697
2309
|
hops: z.ZodNumber;
|
|
1698
2310
|
confidence: z.ZodNumber;
|
|
@@ -1730,6 +2342,8 @@ export declare const DegradedReason: z.ZodEnum<{
|
|
|
1730
2342
|
derive_failed: "derive_failed";
|
|
1731
2343
|
retain_verification_failed: "retain_verification_failed";
|
|
1732
2344
|
retain_apply_failed: "retain_apply_failed";
|
|
2345
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2346
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1733
2347
|
expansion_failed: "expansion_failed";
|
|
1734
2348
|
no_vector_index: "no_vector_index";
|
|
1735
2349
|
partial_index: "partial_index";
|
|
@@ -1764,6 +2378,8 @@ export declare const ResultEnvelope: z.ZodObject<{
|
|
|
1764
2378
|
derive_failed: "derive_failed";
|
|
1765
2379
|
retain_verification_failed: "retain_verification_failed";
|
|
1766
2380
|
retain_apply_failed: "retain_apply_failed";
|
|
2381
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2382
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1767
2383
|
expansion_failed: "expansion_failed";
|
|
1768
2384
|
no_vector_index: "no_vector_index";
|
|
1769
2385
|
partial_index: "partial_index";
|