@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.
- package/README.md +5 -0
- package/dist/common.d.ts +686 -20
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +224 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +224 -0
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/context.d.ts +374 -11
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/folder.d.ts +4 -0
- package/dist/ops/folder.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +7 -3
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/list.d.ts +4 -0
- package/dist/ops/list.d.ts.map +1 -1
- package/dist/ops/mutate.d.ts +28 -4
- package/dist/ops/mutate.d.ts.map +1 -1
- package/dist/ops/read.d.ts +224 -0
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +120 -6
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/retain.d.ts +258 -81
- package/dist/ops/retain.d.ts.map +1 -1
- package/dist/ops/retain.js +72 -119
- package/dist/ops/retain.js.map +1 -1
- package/dist/ops/timeline.d.ts +540 -2
- 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 +4 -0
- package/dist/ops/write.d.ts.map +1 -1
- package/dist/registry.d.ts +1113 -36
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +9 -8
- 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
|
@@ -65,6 +65,224 @@ export declare const ResultStatus: z.ZodEnum<{
|
|
|
65
65
|
unavailable: "unavailable";
|
|
66
66
|
}>;
|
|
67
67
|
export type ResultStatus = z.infer<typeof ResultStatus>;
|
|
68
|
+
export declare const TemporalPrecision: z.ZodEnum<{
|
|
69
|
+
instant: "instant";
|
|
70
|
+
day: "day";
|
|
71
|
+
month: "month";
|
|
72
|
+
year: "year";
|
|
73
|
+
unknown: "unknown";
|
|
74
|
+
}>;
|
|
75
|
+
export type TemporalPrecision = z.infer<typeof TemporalPrecision>;
|
|
76
|
+
export declare const TemporalRelation: z.ZodEnum<{
|
|
77
|
+
occurred: "occurred";
|
|
78
|
+
valid: "valid";
|
|
79
|
+
scheduled: "scheduled";
|
|
80
|
+
due: "due";
|
|
81
|
+
}>;
|
|
82
|
+
export type TemporalRelation = z.infer<typeof TemporalRelation>;
|
|
83
|
+
export declare const TemporalStatus: z.ZodEnum<{
|
|
84
|
+
scheduled: "scheduled";
|
|
85
|
+
actual: "actual";
|
|
86
|
+
planned: "planned";
|
|
87
|
+
tentative: "tentative";
|
|
88
|
+
}>;
|
|
89
|
+
export type TemporalStatus = z.infer<typeof TemporalStatus>;
|
|
90
|
+
export declare const IanaTimezone: z.ZodString;
|
|
91
|
+
export type IanaTimezone = z.infer<typeof IanaTimezone>;
|
|
92
|
+
export declare const TemporalRecurrence: z.ZodObject<{
|
|
93
|
+
frequency: z.ZodEnum<{
|
|
94
|
+
daily: "daily";
|
|
95
|
+
weekly: "weekly";
|
|
96
|
+
monthly: "monthly";
|
|
97
|
+
yearly: "yearly";
|
|
98
|
+
}>;
|
|
99
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
101
|
+
mo: "mo";
|
|
102
|
+
tu: "tu";
|
|
103
|
+
we: "we";
|
|
104
|
+
th: "th";
|
|
105
|
+
fr: "fr";
|
|
106
|
+
sa: "sa";
|
|
107
|
+
su: "su";
|
|
108
|
+
}>>>;
|
|
109
|
+
until: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
export type TemporalRecurrence = z.infer<typeof TemporalRecurrence>;
|
|
112
|
+
export declare const RetainedTime: z.ZodObject<{
|
|
113
|
+
start: z.ZodOptional<z.ZodString>;
|
|
114
|
+
until: z.ZodOptional<z.ZodString>;
|
|
115
|
+
precision: z.ZodEnum<{
|
|
116
|
+
instant: "instant";
|
|
117
|
+
day: "day";
|
|
118
|
+
month: "month";
|
|
119
|
+
year: "year";
|
|
120
|
+
unknown: "unknown";
|
|
121
|
+
}>;
|
|
122
|
+
relation: z.ZodEnum<{
|
|
123
|
+
occurred: "occurred";
|
|
124
|
+
valid: "valid";
|
|
125
|
+
scheduled: "scheduled";
|
|
126
|
+
due: "due";
|
|
127
|
+
}>;
|
|
128
|
+
status: z.ZodEnum<{
|
|
129
|
+
scheduled: "scheduled";
|
|
130
|
+
actual: "actual";
|
|
131
|
+
planned: "planned";
|
|
132
|
+
tentative: "tentative";
|
|
133
|
+
}>;
|
|
134
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
135
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
136
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
frequency: z.ZodEnum<{
|
|
138
|
+
daily: "daily";
|
|
139
|
+
weekly: "weekly";
|
|
140
|
+
monthly: "monthly";
|
|
141
|
+
yearly: "yearly";
|
|
142
|
+
}>;
|
|
143
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
145
|
+
mo: "mo";
|
|
146
|
+
tu: "tu";
|
|
147
|
+
we: "we";
|
|
148
|
+
th: "th";
|
|
149
|
+
fr: "fr";
|
|
150
|
+
sa: "sa";
|
|
151
|
+
su: "su";
|
|
152
|
+
}>>>;
|
|
153
|
+
until: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export type RetainedTime = z.infer<typeof RetainedTime>;
|
|
157
|
+
export declare const ClockRelation: z.ZodEnum<{
|
|
158
|
+
past: "past";
|
|
159
|
+
today: "today";
|
|
160
|
+
current_period: "current_period";
|
|
161
|
+
ongoing: "ongoing";
|
|
162
|
+
future: "future";
|
|
163
|
+
overdue: "overdue";
|
|
164
|
+
undated: "undated";
|
|
165
|
+
}>;
|
|
166
|
+
export type ClockRelation = z.infer<typeof ClockRelation>;
|
|
167
|
+
/**
|
|
168
|
+
* Semantic qualification for an Akno-managed level-one memory item.
|
|
169
|
+
*
|
|
170
|
+
* The payload stays searchable even when it is a report, proposal, hypothesis,
|
|
171
|
+
* or rejection. `answer_eligible` is the deterministic boundary that prevents
|
|
172
|
+
* those useful-but-noncanonical memories from becoming ordinary factual answer
|
|
173
|
+
* evidence.
|
|
174
|
+
*/
|
|
175
|
+
export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
176
|
+
status: z.ZodLiteral<"qualified">;
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
level: z.ZodLiteral<1>;
|
|
179
|
+
kind: z.ZodEnum<{
|
|
180
|
+
question: "question";
|
|
181
|
+
claim: "claim";
|
|
182
|
+
decision: "decision";
|
|
183
|
+
preference: "preference";
|
|
184
|
+
plan: "plan";
|
|
185
|
+
event: "event";
|
|
186
|
+
}>;
|
|
187
|
+
subject: z.ZodString;
|
|
188
|
+
source_role: z.ZodEnum<{
|
|
189
|
+
unknown: "unknown";
|
|
190
|
+
user: "user";
|
|
191
|
+
assistant: "assistant";
|
|
192
|
+
external: "external";
|
|
193
|
+
}>;
|
|
194
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
195
|
+
commitment: z.ZodEnum<{
|
|
196
|
+
none: "none";
|
|
197
|
+
tentative: "tentative";
|
|
198
|
+
asserted: "asserted";
|
|
199
|
+
hypothetical: "hypothetical";
|
|
200
|
+
counterfactual: "counterfactual";
|
|
201
|
+
}>;
|
|
202
|
+
disposition: z.ZodEnum<{
|
|
203
|
+
active: "active";
|
|
204
|
+
proposed: "proposed";
|
|
205
|
+
accepted: "accepted";
|
|
206
|
+
rejected: "rejected";
|
|
207
|
+
resolved: "resolved";
|
|
208
|
+
cancelled: "cancelled";
|
|
209
|
+
completed: "completed";
|
|
210
|
+
superseded: "superseded";
|
|
211
|
+
}>;
|
|
212
|
+
polarity: z.ZodEnum<{
|
|
213
|
+
affirmed: "affirmed";
|
|
214
|
+
negated: "negated";
|
|
215
|
+
}>;
|
|
216
|
+
basis: z.ZodEnum<{
|
|
217
|
+
self_attested: "self_attested";
|
|
218
|
+
source_report: "source_report";
|
|
219
|
+
cited_evidence: "cited_evidence";
|
|
220
|
+
system_record: "system_record";
|
|
221
|
+
}>;
|
|
222
|
+
answer_eligible: z.ZodBoolean;
|
|
223
|
+
current_eligible: z.ZodBoolean;
|
|
224
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
time: z.ZodObject<{
|
|
226
|
+
start: z.ZodOptional<z.ZodString>;
|
|
227
|
+
until: z.ZodOptional<z.ZodString>;
|
|
228
|
+
precision: z.ZodEnum<{
|
|
229
|
+
instant: "instant";
|
|
230
|
+
day: "day";
|
|
231
|
+
month: "month";
|
|
232
|
+
year: "year";
|
|
233
|
+
unknown: "unknown";
|
|
234
|
+
}>;
|
|
235
|
+
relation: z.ZodEnum<{
|
|
236
|
+
occurred: "occurred";
|
|
237
|
+
valid: "valid";
|
|
238
|
+
scheduled: "scheduled";
|
|
239
|
+
due: "due";
|
|
240
|
+
}>;
|
|
241
|
+
status: z.ZodEnum<{
|
|
242
|
+
scheduled: "scheduled";
|
|
243
|
+
actual: "actual";
|
|
244
|
+
planned: "planned";
|
|
245
|
+
tentative: "tentative";
|
|
246
|
+
}>;
|
|
247
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
248
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
249
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
250
|
+
frequency: z.ZodEnum<{
|
|
251
|
+
daily: "daily";
|
|
252
|
+
weekly: "weekly";
|
|
253
|
+
monthly: "monthly";
|
|
254
|
+
yearly: "yearly";
|
|
255
|
+
}>;
|
|
256
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
257
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
258
|
+
mo: "mo";
|
|
259
|
+
tu: "tu";
|
|
260
|
+
we: "we";
|
|
261
|
+
th: "th";
|
|
262
|
+
fr: "fr";
|
|
263
|
+
sa: "sa";
|
|
264
|
+
su: "su";
|
|
265
|
+
}>>>;
|
|
266
|
+
until: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
clock_relation: z.ZodEnum<{
|
|
270
|
+
past: "past";
|
|
271
|
+
today: "today";
|
|
272
|
+
current_period: "current_period";
|
|
273
|
+
ongoing: "ongoing";
|
|
274
|
+
future: "future";
|
|
275
|
+
overdue: "overdue";
|
|
276
|
+
undated: "undated";
|
|
277
|
+
}>;
|
|
278
|
+
actionable: z.ZodBoolean;
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
status: z.ZodLiteral<"unavailable">;
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
284
|
+
}, z.core.$strip>], "status">;
|
|
285
|
+
export type MemoryQualification = z.infer<typeof MemoryQualification>;
|
|
68
286
|
/**
|
|
69
287
|
* Every line Akno returns carries the file and line it came from. `confidence`
|
|
70
288
|
* is present when a fact was derived from this line — how sure the deriver is
|
|
@@ -75,6 +293,116 @@ export declare const Line: z.ZodObject<{
|
|
|
75
293
|
n: z.ZodNumber;
|
|
76
294
|
text: z.ZodString;
|
|
77
295
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
297
|
+
status: z.ZodLiteral<"qualified">;
|
|
298
|
+
id: z.ZodString;
|
|
299
|
+
level: z.ZodLiteral<1>;
|
|
300
|
+
kind: z.ZodEnum<{
|
|
301
|
+
question: "question";
|
|
302
|
+
claim: "claim";
|
|
303
|
+
decision: "decision";
|
|
304
|
+
preference: "preference";
|
|
305
|
+
plan: "plan";
|
|
306
|
+
event: "event";
|
|
307
|
+
}>;
|
|
308
|
+
subject: z.ZodString;
|
|
309
|
+
source_role: z.ZodEnum<{
|
|
310
|
+
unknown: "unknown";
|
|
311
|
+
user: "user";
|
|
312
|
+
assistant: "assistant";
|
|
313
|
+
external: "external";
|
|
314
|
+
}>;
|
|
315
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
316
|
+
commitment: z.ZodEnum<{
|
|
317
|
+
none: "none";
|
|
318
|
+
tentative: "tentative";
|
|
319
|
+
asserted: "asserted";
|
|
320
|
+
hypothetical: "hypothetical";
|
|
321
|
+
counterfactual: "counterfactual";
|
|
322
|
+
}>;
|
|
323
|
+
disposition: z.ZodEnum<{
|
|
324
|
+
active: "active";
|
|
325
|
+
proposed: "proposed";
|
|
326
|
+
accepted: "accepted";
|
|
327
|
+
rejected: "rejected";
|
|
328
|
+
resolved: "resolved";
|
|
329
|
+
cancelled: "cancelled";
|
|
330
|
+
completed: "completed";
|
|
331
|
+
superseded: "superseded";
|
|
332
|
+
}>;
|
|
333
|
+
polarity: z.ZodEnum<{
|
|
334
|
+
affirmed: "affirmed";
|
|
335
|
+
negated: "negated";
|
|
336
|
+
}>;
|
|
337
|
+
basis: z.ZodEnum<{
|
|
338
|
+
self_attested: "self_attested";
|
|
339
|
+
source_report: "source_report";
|
|
340
|
+
cited_evidence: "cited_evidence";
|
|
341
|
+
system_record: "system_record";
|
|
342
|
+
}>;
|
|
343
|
+
answer_eligible: z.ZodBoolean;
|
|
344
|
+
current_eligible: z.ZodBoolean;
|
|
345
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
time: z.ZodObject<{
|
|
347
|
+
start: z.ZodOptional<z.ZodString>;
|
|
348
|
+
until: z.ZodOptional<z.ZodString>;
|
|
349
|
+
precision: z.ZodEnum<{
|
|
350
|
+
instant: "instant";
|
|
351
|
+
day: "day";
|
|
352
|
+
month: "month";
|
|
353
|
+
year: "year";
|
|
354
|
+
unknown: "unknown";
|
|
355
|
+
}>;
|
|
356
|
+
relation: z.ZodEnum<{
|
|
357
|
+
occurred: "occurred";
|
|
358
|
+
valid: "valid";
|
|
359
|
+
scheduled: "scheduled";
|
|
360
|
+
due: "due";
|
|
361
|
+
}>;
|
|
362
|
+
status: z.ZodEnum<{
|
|
363
|
+
scheduled: "scheduled";
|
|
364
|
+
actual: "actual";
|
|
365
|
+
planned: "planned";
|
|
366
|
+
tentative: "tentative";
|
|
367
|
+
}>;
|
|
368
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
369
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
370
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
frequency: z.ZodEnum<{
|
|
372
|
+
daily: "daily";
|
|
373
|
+
weekly: "weekly";
|
|
374
|
+
monthly: "monthly";
|
|
375
|
+
yearly: "yearly";
|
|
376
|
+
}>;
|
|
377
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
379
|
+
mo: "mo";
|
|
380
|
+
tu: "tu";
|
|
381
|
+
we: "we";
|
|
382
|
+
th: "th";
|
|
383
|
+
fr: "fr";
|
|
384
|
+
sa: "sa";
|
|
385
|
+
su: "su";
|
|
386
|
+
}>>>;
|
|
387
|
+
until: z.ZodOptional<z.ZodString>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
}, z.core.$strip>;
|
|
390
|
+
clock_relation: z.ZodEnum<{
|
|
391
|
+
past: "past";
|
|
392
|
+
today: "today";
|
|
393
|
+
current_period: "current_period";
|
|
394
|
+
ongoing: "ongoing";
|
|
395
|
+
future: "future";
|
|
396
|
+
overdue: "overdue";
|
|
397
|
+
undated: "undated";
|
|
398
|
+
}>;
|
|
399
|
+
actionable: z.ZodBoolean;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
402
|
+
status: z.ZodLiteral<"unavailable">;
|
|
403
|
+
id: z.ZodString;
|
|
404
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
405
|
+
}, z.core.$strip>], "status">>;
|
|
78
406
|
fact: z.ZodOptional<z.ZodString>;
|
|
79
407
|
}, z.core.$strip>;
|
|
80
408
|
export type Line = z.infer<typeof Line>;
|
|
@@ -123,22 +451,22 @@ export declare const GraphRelation: z.ZodEnum<{
|
|
|
123
451
|
}>;
|
|
124
452
|
export type GraphRelation = z.infer<typeof GraphRelation>;
|
|
125
453
|
export declare const GraphNodeKind: z.ZodEnum<{
|
|
454
|
+
event: "event";
|
|
126
455
|
fact: "fact";
|
|
127
456
|
entity: "entity";
|
|
128
457
|
page: "page";
|
|
129
458
|
document: "document";
|
|
130
|
-
event: "event";
|
|
131
459
|
}>;
|
|
132
460
|
export type GraphNodeKind = z.infer<typeof GraphNodeKind>;
|
|
133
461
|
/** Compact identity only. Read the referenced page or document for content. */
|
|
134
462
|
export declare const GraphNodeRef: z.ZodObject<{
|
|
135
463
|
id: z.ZodString;
|
|
136
464
|
kind: z.ZodEnum<{
|
|
465
|
+
event: "event";
|
|
137
466
|
fact: "fact";
|
|
138
467
|
entity: "entity";
|
|
139
468
|
page: "page";
|
|
140
469
|
document: "document";
|
|
141
|
-
event: "event";
|
|
142
470
|
}>;
|
|
143
471
|
slug: z.ZodOptional<z.ZodString>;
|
|
144
472
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -200,11 +528,11 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
200
528
|
seed: z.ZodObject<{
|
|
201
529
|
id: z.ZodString;
|
|
202
530
|
kind: z.ZodEnum<{
|
|
531
|
+
event: "event";
|
|
203
532
|
fact: "fact";
|
|
204
533
|
entity: "entity";
|
|
205
534
|
page: "page";
|
|
206
535
|
document: "document";
|
|
207
|
-
event: "event";
|
|
208
536
|
}>;
|
|
209
537
|
slug: z.ZodOptional<z.ZodString>;
|
|
210
538
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -239,11 +567,11 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
239
567
|
target: z.ZodObject<{
|
|
240
568
|
id: z.ZodString;
|
|
241
569
|
kind: z.ZodEnum<{
|
|
570
|
+
event: "event";
|
|
242
571
|
fact: "fact";
|
|
243
572
|
entity: "entity";
|
|
244
573
|
page: "page";
|
|
245
574
|
document: "document";
|
|
246
|
-
event: "event";
|
|
247
575
|
}>;
|
|
248
576
|
slug: z.ZodOptional<z.ZodString>;
|
|
249
577
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -278,11 +606,11 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
278
606
|
nodes: z.ZodArray<z.ZodObject<{
|
|
279
607
|
id: z.ZodString;
|
|
280
608
|
kind: z.ZodEnum<{
|
|
609
|
+
event: "event";
|
|
281
610
|
fact: "fact";
|
|
282
611
|
entity: "entity";
|
|
283
612
|
page: "page";
|
|
284
613
|
document: "document";
|
|
285
|
-
event: "event";
|
|
286
614
|
}>;
|
|
287
615
|
slug: z.ZodOptional<z.ZodString>;
|
|
288
616
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -419,6 +747,116 @@ export declare const Card: z.ZodObject<{
|
|
|
419
747
|
n: z.ZodNumber;
|
|
420
748
|
text: z.ZodString;
|
|
421
749
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
750
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
751
|
+
status: z.ZodLiteral<"qualified">;
|
|
752
|
+
id: z.ZodString;
|
|
753
|
+
level: z.ZodLiteral<1>;
|
|
754
|
+
kind: z.ZodEnum<{
|
|
755
|
+
question: "question";
|
|
756
|
+
claim: "claim";
|
|
757
|
+
decision: "decision";
|
|
758
|
+
preference: "preference";
|
|
759
|
+
plan: "plan";
|
|
760
|
+
event: "event";
|
|
761
|
+
}>;
|
|
762
|
+
subject: z.ZodString;
|
|
763
|
+
source_role: z.ZodEnum<{
|
|
764
|
+
unknown: "unknown";
|
|
765
|
+
user: "user";
|
|
766
|
+
assistant: "assistant";
|
|
767
|
+
external: "external";
|
|
768
|
+
}>;
|
|
769
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
770
|
+
commitment: z.ZodEnum<{
|
|
771
|
+
none: "none";
|
|
772
|
+
tentative: "tentative";
|
|
773
|
+
asserted: "asserted";
|
|
774
|
+
hypothetical: "hypothetical";
|
|
775
|
+
counterfactual: "counterfactual";
|
|
776
|
+
}>;
|
|
777
|
+
disposition: z.ZodEnum<{
|
|
778
|
+
active: "active";
|
|
779
|
+
proposed: "proposed";
|
|
780
|
+
accepted: "accepted";
|
|
781
|
+
rejected: "rejected";
|
|
782
|
+
resolved: "resolved";
|
|
783
|
+
cancelled: "cancelled";
|
|
784
|
+
completed: "completed";
|
|
785
|
+
superseded: "superseded";
|
|
786
|
+
}>;
|
|
787
|
+
polarity: z.ZodEnum<{
|
|
788
|
+
affirmed: "affirmed";
|
|
789
|
+
negated: "negated";
|
|
790
|
+
}>;
|
|
791
|
+
basis: z.ZodEnum<{
|
|
792
|
+
self_attested: "self_attested";
|
|
793
|
+
source_report: "source_report";
|
|
794
|
+
cited_evidence: "cited_evidence";
|
|
795
|
+
system_record: "system_record";
|
|
796
|
+
}>;
|
|
797
|
+
answer_eligible: z.ZodBoolean;
|
|
798
|
+
current_eligible: z.ZodBoolean;
|
|
799
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
time: z.ZodObject<{
|
|
801
|
+
start: z.ZodOptional<z.ZodString>;
|
|
802
|
+
until: z.ZodOptional<z.ZodString>;
|
|
803
|
+
precision: z.ZodEnum<{
|
|
804
|
+
instant: "instant";
|
|
805
|
+
day: "day";
|
|
806
|
+
month: "month";
|
|
807
|
+
year: "year";
|
|
808
|
+
unknown: "unknown";
|
|
809
|
+
}>;
|
|
810
|
+
relation: z.ZodEnum<{
|
|
811
|
+
occurred: "occurred";
|
|
812
|
+
valid: "valid";
|
|
813
|
+
scheduled: "scheduled";
|
|
814
|
+
due: "due";
|
|
815
|
+
}>;
|
|
816
|
+
status: z.ZodEnum<{
|
|
817
|
+
scheduled: "scheduled";
|
|
818
|
+
actual: "actual";
|
|
819
|
+
planned: "planned";
|
|
820
|
+
tentative: "tentative";
|
|
821
|
+
}>;
|
|
822
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
823
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
824
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
825
|
+
frequency: z.ZodEnum<{
|
|
826
|
+
daily: "daily";
|
|
827
|
+
weekly: "weekly";
|
|
828
|
+
monthly: "monthly";
|
|
829
|
+
yearly: "yearly";
|
|
830
|
+
}>;
|
|
831
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
832
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
833
|
+
mo: "mo";
|
|
834
|
+
tu: "tu";
|
|
835
|
+
we: "we";
|
|
836
|
+
th: "th";
|
|
837
|
+
fr: "fr";
|
|
838
|
+
sa: "sa";
|
|
839
|
+
su: "su";
|
|
840
|
+
}>>>;
|
|
841
|
+
until: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, z.core.$strip>>;
|
|
843
|
+
}, z.core.$strip>;
|
|
844
|
+
clock_relation: z.ZodEnum<{
|
|
845
|
+
past: "past";
|
|
846
|
+
today: "today";
|
|
847
|
+
current_period: "current_period";
|
|
848
|
+
ongoing: "ongoing";
|
|
849
|
+
future: "future";
|
|
850
|
+
overdue: "overdue";
|
|
851
|
+
undated: "undated";
|
|
852
|
+
}>;
|
|
853
|
+
actionable: z.ZodBoolean;
|
|
854
|
+
}, z.core.$strip>>;
|
|
855
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
856
|
+
status: z.ZodLiteral<"unavailable">;
|
|
857
|
+
id: z.ZodString;
|
|
858
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
859
|
+
}, z.core.$strip>], "status">>;
|
|
422
860
|
fact: z.ZodOptional<z.ZodString>;
|
|
423
861
|
}, z.core.$strip>>;
|
|
424
862
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -462,11 +900,11 @@ export declare const Card: z.ZodObject<{
|
|
|
462
900
|
seed: z.ZodObject<{
|
|
463
901
|
id: z.ZodString;
|
|
464
902
|
kind: z.ZodEnum<{
|
|
903
|
+
event: "event";
|
|
465
904
|
fact: "fact";
|
|
466
905
|
entity: "entity";
|
|
467
906
|
page: "page";
|
|
468
907
|
document: "document";
|
|
469
|
-
event: "event";
|
|
470
908
|
}>;
|
|
471
909
|
slug: z.ZodOptional<z.ZodString>;
|
|
472
910
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -501,11 +939,11 @@ export declare const Card: z.ZodObject<{
|
|
|
501
939
|
target: z.ZodObject<{
|
|
502
940
|
id: z.ZodString;
|
|
503
941
|
kind: z.ZodEnum<{
|
|
942
|
+
event: "event";
|
|
504
943
|
fact: "fact";
|
|
505
944
|
entity: "entity";
|
|
506
945
|
page: "page";
|
|
507
946
|
document: "document";
|
|
508
|
-
event: "event";
|
|
509
947
|
}>;
|
|
510
948
|
slug: z.ZodOptional<z.ZodString>;
|
|
511
949
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -540,11 +978,11 @@ export declare const Card: z.ZodObject<{
|
|
|
540
978
|
nodes: z.ZodArray<z.ZodObject<{
|
|
541
979
|
id: z.ZodString;
|
|
542
980
|
kind: z.ZodEnum<{
|
|
981
|
+
event: "event";
|
|
543
982
|
fact: "fact";
|
|
544
983
|
entity: "entity";
|
|
545
984
|
page: "page";
|
|
546
985
|
document: "document";
|
|
547
|
-
event: "event";
|
|
548
986
|
}>;
|
|
549
987
|
slug: z.ZodOptional<z.ZodString>;
|
|
550
988
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -625,6 +1063,116 @@ export declare const PageCard: z.ZodObject<{
|
|
|
625
1063
|
n: z.ZodNumber;
|
|
626
1064
|
text: z.ZodString;
|
|
627
1065
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1067
|
+
status: z.ZodLiteral<"qualified">;
|
|
1068
|
+
id: z.ZodString;
|
|
1069
|
+
level: z.ZodLiteral<1>;
|
|
1070
|
+
kind: z.ZodEnum<{
|
|
1071
|
+
question: "question";
|
|
1072
|
+
claim: "claim";
|
|
1073
|
+
decision: "decision";
|
|
1074
|
+
preference: "preference";
|
|
1075
|
+
plan: "plan";
|
|
1076
|
+
event: "event";
|
|
1077
|
+
}>;
|
|
1078
|
+
subject: z.ZodString;
|
|
1079
|
+
source_role: z.ZodEnum<{
|
|
1080
|
+
unknown: "unknown";
|
|
1081
|
+
user: "user";
|
|
1082
|
+
assistant: "assistant";
|
|
1083
|
+
external: "external";
|
|
1084
|
+
}>;
|
|
1085
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
commitment: z.ZodEnum<{
|
|
1087
|
+
none: "none";
|
|
1088
|
+
tentative: "tentative";
|
|
1089
|
+
asserted: "asserted";
|
|
1090
|
+
hypothetical: "hypothetical";
|
|
1091
|
+
counterfactual: "counterfactual";
|
|
1092
|
+
}>;
|
|
1093
|
+
disposition: z.ZodEnum<{
|
|
1094
|
+
active: "active";
|
|
1095
|
+
proposed: "proposed";
|
|
1096
|
+
accepted: "accepted";
|
|
1097
|
+
rejected: "rejected";
|
|
1098
|
+
resolved: "resolved";
|
|
1099
|
+
cancelled: "cancelled";
|
|
1100
|
+
completed: "completed";
|
|
1101
|
+
superseded: "superseded";
|
|
1102
|
+
}>;
|
|
1103
|
+
polarity: z.ZodEnum<{
|
|
1104
|
+
affirmed: "affirmed";
|
|
1105
|
+
negated: "negated";
|
|
1106
|
+
}>;
|
|
1107
|
+
basis: z.ZodEnum<{
|
|
1108
|
+
self_attested: "self_attested";
|
|
1109
|
+
source_report: "source_report";
|
|
1110
|
+
cited_evidence: "cited_evidence";
|
|
1111
|
+
system_record: "system_record";
|
|
1112
|
+
}>;
|
|
1113
|
+
answer_eligible: z.ZodBoolean;
|
|
1114
|
+
current_eligible: z.ZodBoolean;
|
|
1115
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1116
|
+
time: z.ZodObject<{
|
|
1117
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
precision: z.ZodEnum<{
|
|
1120
|
+
instant: "instant";
|
|
1121
|
+
day: "day";
|
|
1122
|
+
month: "month";
|
|
1123
|
+
year: "year";
|
|
1124
|
+
unknown: "unknown";
|
|
1125
|
+
}>;
|
|
1126
|
+
relation: z.ZodEnum<{
|
|
1127
|
+
occurred: "occurred";
|
|
1128
|
+
valid: "valid";
|
|
1129
|
+
scheduled: "scheduled";
|
|
1130
|
+
due: "due";
|
|
1131
|
+
}>;
|
|
1132
|
+
status: z.ZodEnum<{
|
|
1133
|
+
scheduled: "scheduled";
|
|
1134
|
+
actual: "actual";
|
|
1135
|
+
planned: "planned";
|
|
1136
|
+
tentative: "tentative";
|
|
1137
|
+
}>;
|
|
1138
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
frequency: z.ZodEnum<{
|
|
1142
|
+
daily: "daily";
|
|
1143
|
+
weekly: "weekly";
|
|
1144
|
+
monthly: "monthly";
|
|
1145
|
+
yearly: "yearly";
|
|
1146
|
+
}>;
|
|
1147
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1149
|
+
mo: "mo";
|
|
1150
|
+
tu: "tu";
|
|
1151
|
+
we: "we";
|
|
1152
|
+
th: "th";
|
|
1153
|
+
fr: "fr";
|
|
1154
|
+
sa: "sa";
|
|
1155
|
+
su: "su";
|
|
1156
|
+
}>>>;
|
|
1157
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
}, z.core.$strip>>;
|
|
1159
|
+
}, z.core.$strip>;
|
|
1160
|
+
clock_relation: z.ZodEnum<{
|
|
1161
|
+
past: "past";
|
|
1162
|
+
today: "today";
|
|
1163
|
+
current_period: "current_period";
|
|
1164
|
+
ongoing: "ongoing";
|
|
1165
|
+
future: "future";
|
|
1166
|
+
overdue: "overdue";
|
|
1167
|
+
undated: "undated";
|
|
1168
|
+
}>;
|
|
1169
|
+
actionable: z.ZodBoolean;
|
|
1170
|
+
}, z.core.$strip>>;
|
|
1171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1172
|
+
status: z.ZodLiteral<"unavailable">;
|
|
1173
|
+
id: z.ZodString;
|
|
1174
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
1175
|
+
}, z.core.$strip>], "status">>;
|
|
628
1176
|
fact: z.ZodOptional<z.ZodString>;
|
|
629
1177
|
}, z.core.$strip>>;
|
|
630
1178
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -668,11 +1216,11 @@ export declare const PageCard: z.ZodObject<{
|
|
|
668
1216
|
seed: z.ZodObject<{
|
|
669
1217
|
id: z.ZodString;
|
|
670
1218
|
kind: z.ZodEnum<{
|
|
1219
|
+
event: "event";
|
|
671
1220
|
fact: "fact";
|
|
672
1221
|
entity: "entity";
|
|
673
1222
|
page: "page";
|
|
674
1223
|
document: "document";
|
|
675
|
-
event: "event";
|
|
676
1224
|
}>;
|
|
677
1225
|
slug: z.ZodOptional<z.ZodString>;
|
|
678
1226
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -707,11 +1255,11 @@ export declare const PageCard: z.ZodObject<{
|
|
|
707
1255
|
target: z.ZodObject<{
|
|
708
1256
|
id: z.ZodString;
|
|
709
1257
|
kind: z.ZodEnum<{
|
|
1258
|
+
event: "event";
|
|
710
1259
|
fact: "fact";
|
|
711
1260
|
entity: "entity";
|
|
712
1261
|
page: "page";
|
|
713
1262
|
document: "document";
|
|
714
|
-
event: "event";
|
|
715
1263
|
}>;
|
|
716
1264
|
slug: z.ZodOptional<z.ZodString>;
|
|
717
1265
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -746,11 +1294,11 @@ export declare const PageCard: z.ZodObject<{
|
|
|
746
1294
|
nodes: z.ZodArray<z.ZodObject<{
|
|
747
1295
|
id: z.ZodString;
|
|
748
1296
|
kind: z.ZodEnum<{
|
|
1297
|
+
event: "event";
|
|
749
1298
|
fact: "fact";
|
|
750
1299
|
entity: "entity";
|
|
751
1300
|
page: "page";
|
|
752
1301
|
document: "document";
|
|
753
|
-
event: "event";
|
|
754
1302
|
}>;
|
|
755
1303
|
slug: z.ZodOptional<z.ZodString>;
|
|
756
1304
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -881,11 +1429,11 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
881
1429
|
seed: z.ZodObject<{
|
|
882
1430
|
id: z.ZodString;
|
|
883
1431
|
kind: z.ZodEnum<{
|
|
1432
|
+
event: "event";
|
|
884
1433
|
fact: "fact";
|
|
885
1434
|
entity: "entity";
|
|
886
1435
|
page: "page";
|
|
887
1436
|
document: "document";
|
|
888
|
-
event: "event";
|
|
889
1437
|
}>;
|
|
890
1438
|
slug: z.ZodOptional<z.ZodString>;
|
|
891
1439
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -920,11 +1468,11 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
920
1468
|
target: z.ZodObject<{
|
|
921
1469
|
id: z.ZodString;
|
|
922
1470
|
kind: z.ZodEnum<{
|
|
1471
|
+
event: "event";
|
|
923
1472
|
fact: "fact";
|
|
924
1473
|
entity: "entity";
|
|
925
1474
|
page: "page";
|
|
926
1475
|
document: "document";
|
|
927
|
-
event: "event";
|
|
928
1476
|
}>;
|
|
929
1477
|
slug: z.ZodOptional<z.ZodString>;
|
|
930
1478
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -959,11 +1507,11 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
959
1507
|
nodes: z.ZodArray<z.ZodObject<{
|
|
960
1508
|
id: z.ZodString;
|
|
961
1509
|
kind: z.ZodEnum<{
|
|
1510
|
+
event: "event";
|
|
962
1511
|
fact: "fact";
|
|
963
1512
|
entity: "entity";
|
|
964
1513
|
page: "page";
|
|
965
1514
|
document: "document";
|
|
966
|
-
event: "event";
|
|
967
1515
|
}>;
|
|
968
1516
|
slug: z.ZodOptional<z.ZodString>;
|
|
969
1517
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1043,6 +1591,116 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1043
1591
|
n: z.ZodNumber;
|
|
1044
1592
|
text: z.ZodString;
|
|
1045
1593
|
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1594
|
+
memory: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1595
|
+
status: z.ZodLiteral<"qualified">;
|
|
1596
|
+
id: z.ZodString;
|
|
1597
|
+
level: z.ZodLiteral<1>;
|
|
1598
|
+
kind: z.ZodEnum<{
|
|
1599
|
+
question: "question";
|
|
1600
|
+
claim: "claim";
|
|
1601
|
+
decision: "decision";
|
|
1602
|
+
preference: "preference";
|
|
1603
|
+
plan: "plan";
|
|
1604
|
+
event: "event";
|
|
1605
|
+
}>;
|
|
1606
|
+
subject: z.ZodString;
|
|
1607
|
+
source_role: z.ZodEnum<{
|
|
1608
|
+
unknown: "unknown";
|
|
1609
|
+
user: "user";
|
|
1610
|
+
assistant: "assistant";
|
|
1611
|
+
external: "external";
|
|
1612
|
+
}>;
|
|
1613
|
+
source_speaker: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
commitment: z.ZodEnum<{
|
|
1615
|
+
none: "none";
|
|
1616
|
+
tentative: "tentative";
|
|
1617
|
+
asserted: "asserted";
|
|
1618
|
+
hypothetical: "hypothetical";
|
|
1619
|
+
counterfactual: "counterfactual";
|
|
1620
|
+
}>;
|
|
1621
|
+
disposition: z.ZodEnum<{
|
|
1622
|
+
active: "active";
|
|
1623
|
+
proposed: "proposed";
|
|
1624
|
+
accepted: "accepted";
|
|
1625
|
+
rejected: "rejected";
|
|
1626
|
+
resolved: "resolved";
|
|
1627
|
+
cancelled: "cancelled";
|
|
1628
|
+
completed: "completed";
|
|
1629
|
+
superseded: "superseded";
|
|
1630
|
+
}>;
|
|
1631
|
+
polarity: z.ZodEnum<{
|
|
1632
|
+
affirmed: "affirmed";
|
|
1633
|
+
negated: "negated";
|
|
1634
|
+
}>;
|
|
1635
|
+
basis: z.ZodEnum<{
|
|
1636
|
+
self_attested: "self_attested";
|
|
1637
|
+
source_report: "source_report";
|
|
1638
|
+
cited_evidence: "cited_evidence";
|
|
1639
|
+
system_record: "system_record";
|
|
1640
|
+
}>;
|
|
1641
|
+
answer_eligible: z.ZodBoolean;
|
|
1642
|
+
current_eligible: z.ZodBoolean;
|
|
1643
|
+
temporal: z.ZodOptional<z.ZodObject<{
|
|
1644
|
+
time: z.ZodObject<{
|
|
1645
|
+
start: z.ZodOptional<z.ZodString>;
|
|
1646
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1647
|
+
precision: z.ZodEnum<{
|
|
1648
|
+
instant: "instant";
|
|
1649
|
+
day: "day";
|
|
1650
|
+
month: "month";
|
|
1651
|
+
year: "year";
|
|
1652
|
+
unknown: "unknown";
|
|
1653
|
+
}>;
|
|
1654
|
+
relation: z.ZodEnum<{
|
|
1655
|
+
occurred: "occurred";
|
|
1656
|
+
valid: "valid";
|
|
1657
|
+
scheduled: "scheduled";
|
|
1658
|
+
due: "due";
|
|
1659
|
+
}>;
|
|
1660
|
+
status: z.ZodEnum<{
|
|
1661
|
+
scheduled: "scheduled";
|
|
1662
|
+
actual: "actual";
|
|
1663
|
+
planned: "planned";
|
|
1664
|
+
tentative: "tentative";
|
|
1665
|
+
}>;
|
|
1666
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
mentioned_at: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
1669
|
+
frequency: z.ZodEnum<{
|
|
1670
|
+
daily: "daily";
|
|
1671
|
+
weekly: "weekly";
|
|
1672
|
+
monthly: "monthly";
|
|
1673
|
+
yearly: "yearly";
|
|
1674
|
+
}>;
|
|
1675
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
1676
|
+
weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1677
|
+
mo: "mo";
|
|
1678
|
+
tu: "tu";
|
|
1679
|
+
we: "we";
|
|
1680
|
+
th: "th";
|
|
1681
|
+
fr: "fr";
|
|
1682
|
+
sa: "sa";
|
|
1683
|
+
su: "su";
|
|
1684
|
+
}>>>;
|
|
1685
|
+
until: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
}, z.core.$strip>>;
|
|
1687
|
+
}, z.core.$strip>;
|
|
1688
|
+
clock_relation: z.ZodEnum<{
|
|
1689
|
+
past: "past";
|
|
1690
|
+
today: "today";
|
|
1691
|
+
current_period: "current_period";
|
|
1692
|
+
ongoing: "ongoing";
|
|
1693
|
+
future: "future";
|
|
1694
|
+
overdue: "overdue";
|
|
1695
|
+
undated: "undated";
|
|
1696
|
+
}>;
|
|
1697
|
+
actionable: z.ZodBoolean;
|
|
1698
|
+
}, z.core.$strip>>;
|
|
1699
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1700
|
+
status: z.ZodLiteral<"unavailable">;
|
|
1701
|
+
id: z.ZodString;
|
|
1702
|
+
answer_eligible: z.ZodLiteral<false>;
|
|
1703
|
+
}, z.core.$strip>], "status">>;
|
|
1046
1704
|
fact: z.ZodOptional<z.ZodString>;
|
|
1047
1705
|
}, z.core.$strip>>;
|
|
1048
1706
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1086,11 +1744,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1086
1744
|
seed: z.ZodObject<{
|
|
1087
1745
|
id: z.ZodString;
|
|
1088
1746
|
kind: z.ZodEnum<{
|
|
1747
|
+
event: "event";
|
|
1089
1748
|
fact: "fact";
|
|
1090
1749
|
entity: "entity";
|
|
1091
1750
|
page: "page";
|
|
1092
1751
|
document: "document";
|
|
1093
|
-
event: "event";
|
|
1094
1752
|
}>;
|
|
1095
1753
|
slug: z.ZodOptional<z.ZodString>;
|
|
1096
1754
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1125,11 +1783,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1125
1783
|
target: z.ZodObject<{
|
|
1126
1784
|
id: z.ZodString;
|
|
1127
1785
|
kind: z.ZodEnum<{
|
|
1786
|
+
event: "event";
|
|
1128
1787
|
fact: "fact";
|
|
1129
1788
|
entity: "entity";
|
|
1130
1789
|
page: "page";
|
|
1131
1790
|
document: "document";
|
|
1132
|
-
event: "event";
|
|
1133
1791
|
}>;
|
|
1134
1792
|
slug: z.ZodOptional<z.ZodString>;
|
|
1135
1793
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1164,11 +1822,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1164
1822
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1165
1823
|
id: z.ZodString;
|
|
1166
1824
|
kind: z.ZodEnum<{
|
|
1825
|
+
event: "event";
|
|
1167
1826
|
fact: "fact";
|
|
1168
1827
|
entity: "entity";
|
|
1169
1828
|
page: "page";
|
|
1170
1829
|
document: "document";
|
|
1171
|
-
event: "event";
|
|
1172
1830
|
}>;
|
|
1173
1831
|
slug: z.ZodOptional<z.ZodString>;
|
|
1174
1832
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1296,11 +1954,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1296
1954
|
seed: z.ZodObject<{
|
|
1297
1955
|
id: z.ZodString;
|
|
1298
1956
|
kind: z.ZodEnum<{
|
|
1957
|
+
event: "event";
|
|
1299
1958
|
fact: "fact";
|
|
1300
1959
|
entity: "entity";
|
|
1301
1960
|
page: "page";
|
|
1302
1961
|
document: "document";
|
|
1303
|
-
event: "event";
|
|
1304
1962
|
}>;
|
|
1305
1963
|
slug: z.ZodOptional<z.ZodString>;
|
|
1306
1964
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1335,11 +1993,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1335
1993
|
target: z.ZodObject<{
|
|
1336
1994
|
id: z.ZodString;
|
|
1337
1995
|
kind: z.ZodEnum<{
|
|
1996
|
+
event: "event";
|
|
1338
1997
|
fact: "fact";
|
|
1339
1998
|
entity: "entity";
|
|
1340
1999
|
page: "page";
|
|
1341
2000
|
document: "document";
|
|
1342
|
-
event: "event";
|
|
1343
2001
|
}>;
|
|
1344
2002
|
slug: z.ZodOptional<z.ZodString>;
|
|
1345
2003
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1374,11 +2032,11 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1374
2032
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1375
2033
|
id: z.ZodString;
|
|
1376
2034
|
kind: z.ZodEnum<{
|
|
2035
|
+
event: "event";
|
|
1377
2036
|
fact: "fact";
|
|
1378
2037
|
entity: "entity";
|
|
1379
2038
|
page: "page";
|
|
1380
2039
|
document: "document";
|
|
1381
|
-
event: "event";
|
|
1382
2040
|
}>;
|
|
1383
2041
|
slug: z.ZodOptional<z.ZodString>;
|
|
1384
2042
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1454,6 +2112,10 @@ export declare const DegradedReason: z.ZodEnum<{
|
|
|
1454
2112
|
embedding_failed: "embedding_failed";
|
|
1455
2113
|
rerank_failed: "rerank_failed";
|
|
1456
2114
|
derive_failed: "derive_failed";
|
|
2115
|
+
retain_verification_failed: "retain_verification_failed";
|
|
2116
|
+
retain_apply_failed: "retain_apply_failed";
|
|
2117
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2118
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1457
2119
|
expansion_failed: "expansion_failed";
|
|
1458
2120
|
no_vector_index: "no_vector_index";
|
|
1459
2121
|
partial_index: "partial_index";
|
|
@@ -1486,6 +2148,10 @@ export declare const ResultEnvelope: z.ZodObject<{
|
|
|
1486
2148
|
embedding_failed: "embedding_failed";
|
|
1487
2149
|
rerank_failed: "rerank_failed";
|
|
1488
2150
|
derive_failed: "derive_failed";
|
|
2151
|
+
retain_verification_failed: "retain_verification_failed";
|
|
2152
|
+
retain_apply_failed: "retain_apply_failed";
|
|
2153
|
+
partial_temporal_index: "partial_temporal_index";
|
|
2154
|
+
timeline_range_limited: "timeline_range_limited";
|
|
1489
2155
|
expansion_failed: "expansion_failed";
|
|
1490
2156
|
no_vector_index: "no_vector_index";
|
|
1491
2157
|
partial_index: "partial_index";
|