@tenphi/akno-protocol 0.6.0 → 0.8.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 +1 -1
- package/dist/common.d.ts +337 -0
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +63 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +123 -0
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/answer.js +28 -1
- package/dist/ops/answer.js.map +1 -1
- package/dist/ops/context.d.ts +141 -0
- package/dist/ops/context.d.ts.map +1 -1
- package/dist/ops/context.js +5 -1
- package/dist/ops/context.js.map +1 -1
- package/dist/ops/folder.d.ts +1 -0
- package/dist/ops/folder.d.ts.map +1 -1
- package/dist/ops/graph.d.ts +60 -2
- package/dist/ops/graph.d.ts.map +1 -1
- package/dist/ops/graph.js +5 -2
- package/dist/ops/graph.js.map +1 -1
- package/dist/ops/list.d.ts +1 -0
- package/dist/ops/list.d.ts.map +1 -1
- package/dist/ops/mutate.d.ts +6 -0
- package/dist/ops/mutate.d.ts.map +1 -1
- package/dist/ops/read.d.ts +71 -0
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +90 -0
- package/dist/ops/recall.d.ts.map +1 -1
- package/dist/ops/recall.js +4 -1
- package/dist/ops/recall.js.map +1 -1
- package/dist/ops/retain.d.ts +6 -3
- package/dist/ops/retain.d.ts.map +1 -1
- package/dist/ops/timeline.d.ts +4 -3
- package/dist/ops/timeline.d.ts.map +1 -1
- package/dist/ops/write.d.ts +1 -0
- package/dist/ops/write.d.ts.map +1 -1
- package/dist/registry.d.ts +399 -5
- package/dist/registry.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +5 -3
- 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";
|
|
@@ -46,6 +56,25 @@ export declare const RecallMode: z.ZodEnum<{
|
|
|
46
56
|
explore: "explore";
|
|
47
57
|
}>;
|
|
48
58
|
export type RecallMode = z.infer<typeof RecallMode>;
|
|
59
|
+
/**
|
|
60
|
+
* Which semantic form of retained memory is useful for this read.
|
|
61
|
+
*
|
|
62
|
+
* This is deliberately separate from `RecallMode`: lookup/question/explore controls how Akno
|
|
63
|
+
* searches, while this value controls whether a matching retained sentence may be used as a
|
|
64
|
+
* current fact, attributed report, plan, historical record, unresolved question, or explicitly
|
|
65
|
+
* noncanonical discussion. When omitted, the query is resolved conservatively and ordinary
|
|
66
|
+
* factual memory wins.
|
|
67
|
+
*/
|
|
68
|
+
export declare const MemoryView: z.ZodEnum<{
|
|
69
|
+
factual: "factual";
|
|
70
|
+
history: "history";
|
|
71
|
+
planning: "planning";
|
|
72
|
+
reports: "reports";
|
|
73
|
+
questions: "questions";
|
|
74
|
+
discussion: "discussion";
|
|
75
|
+
all: "all";
|
|
76
|
+
}>;
|
|
77
|
+
export type MemoryView = z.infer<typeof MemoryView>;
|
|
49
78
|
/** How much of a page body a card carries back. */
|
|
50
79
|
export declare const Depth: z.ZodEnum<{
|
|
51
80
|
summary: "summary";
|
|
@@ -283,6 +312,54 @@ export declare const MemoryQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
283
312
|
answer_eligible: z.ZodLiteral<false>;
|
|
284
313
|
}, z.core.$strip>], "status">;
|
|
285
314
|
export type MemoryQualification = z.infer<typeof MemoryQualification>;
|
|
315
|
+
export declare const ObservationDisposition: z.ZodEnum<{
|
|
316
|
+
active: "active";
|
|
317
|
+
superseded: "superseded";
|
|
318
|
+
weakened: "weakened";
|
|
319
|
+
retracted: "retracted";
|
|
320
|
+
}>;
|
|
321
|
+
export type ObservationDisposition = z.infer<typeof ObservationDisposition>;
|
|
322
|
+
export declare const ObservationEvidence: z.ZodObject<{
|
|
323
|
+
fact: z.ZodString;
|
|
324
|
+
slug: z.ZodString;
|
|
325
|
+
line: z.ZodNumber;
|
|
326
|
+
line_hash: z.ZodString;
|
|
327
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
328
|
+
}, z.core.$strip>;
|
|
329
|
+
export type ObservationEvidence = z.infer<typeof ObservationEvidence>;
|
|
330
|
+
/** Present only on the readable payload owned by a valid level-two marker. */
|
|
331
|
+
export declare const ObservationQualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
332
|
+
status: z.ZodLiteral<"eligible">;
|
|
333
|
+
id: z.ZodString;
|
|
334
|
+
level: z.ZodLiteral<2>;
|
|
335
|
+
subject: z.ZodString;
|
|
336
|
+
disposition: z.ZodEnum<{
|
|
337
|
+
active: "active";
|
|
338
|
+
superseded: "superseded";
|
|
339
|
+
weakened: "weakened";
|
|
340
|
+
retracted: "retracted";
|
|
341
|
+
}>;
|
|
342
|
+
proof_count: z.ZodNumber;
|
|
343
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
344
|
+
fact: z.ZodString;
|
|
345
|
+
slug: z.ZodString;
|
|
346
|
+
line: z.ZodNumber;
|
|
347
|
+
line_hash: z.ZodString;
|
|
348
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
+
status: z.ZodLiteral<"ineligible">;
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
level: z.ZodLiteral<2>;
|
|
354
|
+
disposition: z.ZodEnum<{
|
|
355
|
+
active: "active";
|
|
356
|
+
superseded: "superseded";
|
|
357
|
+
weakened: "weakened";
|
|
358
|
+
retracted: "retracted";
|
|
359
|
+
}>;
|
|
360
|
+
reason: z.ZodString;
|
|
361
|
+
}, z.core.$strip>], "status">;
|
|
362
|
+
export type ObservationQualification = z.infer<typeof ObservationQualification>;
|
|
286
363
|
/**
|
|
287
364
|
* Every line Akno returns carries the file and line it came from. `confidence`
|
|
288
365
|
* is present when a fact was derived from this line — how sure the deriver is
|
|
@@ -403,6 +480,37 @@ export declare const Line: z.ZodObject<{
|
|
|
403
480
|
id: z.ZodString;
|
|
404
481
|
answer_eligible: z.ZodLiteral<false>;
|
|
405
482
|
}, z.core.$strip>], "status">>;
|
|
483
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
484
|
+
status: z.ZodLiteral<"eligible">;
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
level: z.ZodLiteral<2>;
|
|
487
|
+
subject: z.ZodString;
|
|
488
|
+
disposition: z.ZodEnum<{
|
|
489
|
+
active: "active";
|
|
490
|
+
superseded: "superseded";
|
|
491
|
+
weakened: "weakened";
|
|
492
|
+
retracted: "retracted";
|
|
493
|
+
}>;
|
|
494
|
+
proof_count: z.ZodNumber;
|
|
495
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
496
|
+
fact: z.ZodString;
|
|
497
|
+
slug: z.ZodString;
|
|
498
|
+
line: z.ZodNumber;
|
|
499
|
+
line_hash: z.ZodString;
|
|
500
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
503
|
+
status: z.ZodLiteral<"ineligible">;
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
level: z.ZodLiteral<2>;
|
|
506
|
+
disposition: z.ZodEnum<{
|
|
507
|
+
active: "active";
|
|
508
|
+
superseded: "superseded";
|
|
509
|
+
weakened: "weakened";
|
|
510
|
+
retracted: "retracted";
|
|
511
|
+
}>;
|
|
512
|
+
reason: z.ZodString;
|
|
513
|
+
}, z.core.$strip>], "status">>;
|
|
406
514
|
fact: z.ZodOptional<z.ZodString>;
|
|
407
515
|
}, z.core.$strip>;
|
|
408
516
|
export type Line = z.infer<typeof Line>;
|
|
@@ -448,11 +556,20 @@ export declare const GraphRelation: z.ZodEnum<{
|
|
|
448
556
|
related_entity: "related_entity";
|
|
449
557
|
owns_document: "owns_document";
|
|
450
558
|
participates_in: "participates_in";
|
|
559
|
+
derived_from: "derived_from";
|
|
560
|
+
corrects: "corrects";
|
|
561
|
+
supersedes: "supersedes";
|
|
562
|
+
contradicts: "contradicts";
|
|
563
|
+
fulfills: "fulfills";
|
|
564
|
+
answers: "answers";
|
|
565
|
+
caused_by: "caused_by";
|
|
451
566
|
}>;
|
|
452
567
|
export type GraphRelation = z.infer<typeof GraphRelation>;
|
|
453
568
|
export declare const GraphNodeKind: z.ZodEnum<{
|
|
454
569
|
event: "event";
|
|
455
570
|
fact: "fact";
|
|
571
|
+
memory: "memory";
|
|
572
|
+
observation: "observation";
|
|
456
573
|
entity: "entity";
|
|
457
574
|
page: "page";
|
|
458
575
|
document: "document";
|
|
@@ -464,6 +581,8 @@ export declare const GraphNodeRef: z.ZodObject<{
|
|
|
464
581
|
kind: z.ZodEnum<{
|
|
465
582
|
event: "event";
|
|
466
583
|
fact: "fact";
|
|
584
|
+
memory: "memory";
|
|
585
|
+
observation: "observation";
|
|
467
586
|
entity: "entity";
|
|
468
587
|
page: "page";
|
|
469
588
|
document: "document";
|
|
@@ -489,6 +608,8 @@ export declare const GraphNodeRef: z.ZodObject<{
|
|
|
489
608
|
document: z.ZodOptional<z.ZodString>;
|
|
490
609
|
fact: z.ZodOptional<z.ZodString>;
|
|
491
610
|
event: z.ZodOptional<z.ZodString>;
|
|
611
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
612
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
492
613
|
date: z.ZodOptional<z.ZodString>;
|
|
493
614
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
494
615
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -511,6 +632,7 @@ export declare const GraphEvidenceLocator: z.ZodObject<{
|
|
|
511
632
|
document: z.ZodOptional<z.ZodString>;
|
|
512
633
|
event: z.ZodOptional<z.ZodString>;
|
|
513
634
|
fact: z.ZodOptional<z.ZodString>;
|
|
635
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
514
636
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
515
637
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
516
638
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -530,6 +652,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
530
652
|
kind: z.ZodEnum<{
|
|
531
653
|
event: "event";
|
|
532
654
|
fact: "fact";
|
|
655
|
+
memory: "memory";
|
|
656
|
+
observation: "observation";
|
|
533
657
|
entity: "entity";
|
|
534
658
|
page: "page";
|
|
535
659
|
document: "document";
|
|
@@ -555,6 +679,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
555
679
|
document: z.ZodOptional<z.ZodString>;
|
|
556
680
|
fact: z.ZodOptional<z.ZodString>;
|
|
557
681
|
event: z.ZodOptional<z.ZodString>;
|
|
682
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
683
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
558
684
|
date: z.ZodOptional<z.ZodString>;
|
|
559
685
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
560
686
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -569,6 +695,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
569
695
|
kind: z.ZodEnum<{
|
|
570
696
|
event: "event";
|
|
571
697
|
fact: "fact";
|
|
698
|
+
memory: "memory";
|
|
699
|
+
observation: "observation";
|
|
572
700
|
entity: "entity";
|
|
573
701
|
page: "page";
|
|
574
702
|
document: "document";
|
|
@@ -594,6 +722,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
594
722
|
document: z.ZodOptional<z.ZodString>;
|
|
595
723
|
fact: z.ZodOptional<z.ZodString>;
|
|
596
724
|
event: z.ZodOptional<z.ZodString>;
|
|
725
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
726
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
597
727
|
date: z.ZodOptional<z.ZodString>;
|
|
598
728
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
599
729
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -608,6 +738,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
608
738
|
kind: z.ZodEnum<{
|
|
609
739
|
event: "event";
|
|
610
740
|
fact: "fact";
|
|
741
|
+
memory: "memory";
|
|
742
|
+
observation: "observation";
|
|
611
743
|
entity: "entity";
|
|
612
744
|
page: "page";
|
|
613
745
|
document: "document";
|
|
@@ -633,6 +765,8 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
633
765
|
document: z.ZodOptional<z.ZodString>;
|
|
634
766
|
fact: z.ZodOptional<z.ZodString>;
|
|
635
767
|
event: z.ZodOptional<z.ZodString>;
|
|
768
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
769
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
636
770
|
date: z.ZodOptional<z.ZodString>;
|
|
637
771
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
638
772
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -651,6 +785,13 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
651
785
|
related_entity: "related_entity";
|
|
652
786
|
owns_document: "owns_document";
|
|
653
787
|
participates_in: "participates_in";
|
|
788
|
+
derived_from: "derived_from";
|
|
789
|
+
corrects: "corrects";
|
|
790
|
+
supersedes: "supersedes";
|
|
791
|
+
contradicts: "contradicts";
|
|
792
|
+
fulfills: "fulfills";
|
|
793
|
+
answers: "answers";
|
|
794
|
+
caused_by: "caused_by";
|
|
654
795
|
}>>;
|
|
655
796
|
hops: z.ZodNumber;
|
|
656
797
|
confidence: z.ZodNumber;
|
|
@@ -665,6 +806,7 @@ export declare const RecallGraphPath: z.ZodObject<{
|
|
|
665
806
|
document: z.ZodOptional<z.ZodString>;
|
|
666
807
|
event: z.ZodOptional<z.ZodString>;
|
|
667
808
|
fact: z.ZodOptional<z.ZodString>;
|
|
809
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
668
810
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
669
811
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
670
812
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -857,6 +999,37 @@ export declare const Card: z.ZodObject<{
|
|
|
857
999
|
id: z.ZodString;
|
|
858
1000
|
answer_eligible: z.ZodLiteral<false>;
|
|
859
1001
|
}, z.core.$strip>], "status">>;
|
|
1002
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1003
|
+
status: z.ZodLiteral<"eligible">;
|
|
1004
|
+
id: z.ZodString;
|
|
1005
|
+
level: z.ZodLiteral<2>;
|
|
1006
|
+
subject: z.ZodString;
|
|
1007
|
+
disposition: z.ZodEnum<{
|
|
1008
|
+
active: "active";
|
|
1009
|
+
superseded: "superseded";
|
|
1010
|
+
weakened: "weakened";
|
|
1011
|
+
retracted: "retracted";
|
|
1012
|
+
}>;
|
|
1013
|
+
proof_count: z.ZodNumber;
|
|
1014
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1015
|
+
fact: z.ZodString;
|
|
1016
|
+
slug: z.ZodString;
|
|
1017
|
+
line: z.ZodNumber;
|
|
1018
|
+
line_hash: z.ZodString;
|
|
1019
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
1020
|
+
}, z.core.$strip>>;
|
|
1021
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1022
|
+
status: z.ZodLiteral<"ineligible">;
|
|
1023
|
+
id: z.ZodString;
|
|
1024
|
+
level: z.ZodLiteral<2>;
|
|
1025
|
+
disposition: z.ZodEnum<{
|
|
1026
|
+
active: "active";
|
|
1027
|
+
superseded: "superseded";
|
|
1028
|
+
weakened: "weakened";
|
|
1029
|
+
retracted: "retracted";
|
|
1030
|
+
}>;
|
|
1031
|
+
reason: z.ZodString;
|
|
1032
|
+
}, z.core.$strip>], "status">>;
|
|
860
1033
|
fact: z.ZodOptional<z.ZodString>;
|
|
861
1034
|
}, z.core.$strip>>;
|
|
862
1035
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -902,6 +1075,8 @@ export declare const Card: z.ZodObject<{
|
|
|
902
1075
|
kind: z.ZodEnum<{
|
|
903
1076
|
event: "event";
|
|
904
1077
|
fact: "fact";
|
|
1078
|
+
memory: "memory";
|
|
1079
|
+
observation: "observation";
|
|
905
1080
|
entity: "entity";
|
|
906
1081
|
page: "page";
|
|
907
1082
|
document: "document";
|
|
@@ -927,6 +1102,8 @@ export declare const Card: z.ZodObject<{
|
|
|
927
1102
|
document: z.ZodOptional<z.ZodString>;
|
|
928
1103
|
fact: z.ZodOptional<z.ZodString>;
|
|
929
1104
|
event: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
930
1107
|
date: z.ZodOptional<z.ZodString>;
|
|
931
1108
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
932
1109
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -941,6 +1118,8 @@ export declare const Card: z.ZodObject<{
|
|
|
941
1118
|
kind: z.ZodEnum<{
|
|
942
1119
|
event: "event";
|
|
943
1120
|
fact: "fact";
|
|
1121
|
+
memory: "memory";
|
|
1122
|
+
observation: "observation";
|
|
944
1123
|
entity: "entity";
|
|
945
1124
|
page: "page";
|
|
946
1125
|
document: "document";
|
|
@@ -966,6 +1145,8 @@ export declare const Card: z.ZodObject<{
|
|
|
966
1145
|
document: z.ZodOptional<z.ZodString>;
|
|
967
1146
|
fact: z.ZodOptional<z.ZodString>;
|
|
968
1147
|
event: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
969
1150
|
date: z.ZodOptional<z.ZodString>;
|
|
970
1151
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
971
1152
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -980,6 +1161,8 @@ export declare const Card: z.ZodObject<{
|
|
|
980
1161
|
kind: z.ZodEnum<{
|
|
981
1162
|
event: "event";
|
|
982
1163
|
fact: "fact";
|
|
1164
|
+
memory: "memory";
|
|
1165
|
+
observation: "observation";
|
|
983
1166
|
entity: "entity";
|
|
984
1167
|
page: "page";
|
|
985
1168
|
document: "document";
|
|
@@ -1005,6 +1188,8 @@ export declare const Card: z.ZodObject<{
|
|
|
1005
1188
|
document: z.ZodOptional<z.ZodString>;
|
|
1006
1189
|
fact: z.ZodOptional<z.ZodString>;
|
|
1007
1190
|
event: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1008
1193
|
date: z.ZodOptional<z.ZodString>;
|
|
1009
1194
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1010
1195
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1023,6 +1208,13 @@ export declare const Card: z.ZodObject<{
|
|
|
1023
1208
|
related_entity: "related_entity";
|
|
1024
1209
|
owns_document: "owns_document";
|
|
1025
1210
|
participates_in: "participates_in";
|
|
1211
|
+
derived_from: "derived_from";
|
|
1212
|
+
corrects: "corrects";
|
|
1213
|
+
supersedes: "supersedes";
|
|
1214
|
+
contradicts: "contradicts";
|
|
1215
|
+
fulfills: "fulfills";
|
|
1216
|
+
answers: "answers";
|
|
1217
|
+
caused_by: "caused_by";
|
|
1026
1218
|
}>>;
|
|
1027
1219
|
hops: z.ZodNumber;
|
|
1028
1220
|
confidence: z.ZodNumber;
|
|
@@ -1037,6 +1229,7 @@ export declare const Card: z.ZodObject<{
|
|
|
1037
1229
|
document: z.ZodOptional<z.ZodString>;
|
|
1038
1230
|
event: z.ZodOptional<z.ZodString>;
|
|
1039
1231
|
fact: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1040
1233
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1041
1234
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
1042
1235
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1173,6 +1366,37 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1173
1366
|
id: z.ZodString;
|
|
1174
1367
|
answer_eligible: z.ZodLiteral<false>;
|
|
1175
1368
|
}, z.core.$strip>], "status">>;
|
|
1369
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1370
|
+
status: z.ZodLiteral<"eligible">;
|
|
1371
|
+
id: z.ZodString;
|
|
1372
|
+
level: z.ZodLiteral<2>;
|
|
1373
|
+
subject: z.ZodString;
|
|
1374
|
+
disposition: z.ZodEnum<{
|
|
1375
|
+
active: "active";
|
|
1376
|
+
superseded: "superseded";
|
|
1377
|
+
weakened: "weakened";
|
|
1378
|
+
retracted: "retracted";
|
|
1379
|
+
}>;
|
|
1380
|
+
proof_count: z.ZodNumber;
|
|
1381
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1382
|
+
fact: z.ZodString;
|
|
1383
|
+
slug: z.ZodString;
|
|
1384
|
+
line: z.ZodNumber;
|
|
1385
|
+
line_hash: z.ZodString;
|
|
1386
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
1387
|
+
}, z.core.$strip>>;
|
|
1388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1389
|
+
status: z.ZodLiteral<"ineligible">;
|
|
1390
|
+
id: z.ZodString;
|
|
1391
|
+
level: z.ZodLiteral<2>;
|
|
1392
|
+
disposition: z.ZodEnum<{
|
|
1393
|
+
active: "active";
|
|
1394
|
+
superseded: "superseded";
|
|
1395
|
+
weakened: "weakened";
|
|
1396
|
+
retracted: "retracted";
|
|
1397
|
+
}>;
|
|
1398
|
+
reason: z.ZodString;
|
|
1399
|
+
}, z.core.$strip>], "status">>;
|
|
1176
1400
|
fact: z.ZodOptional<z.ZodString>;
|
|
1177
1401
|
}, z.core.$strip>>;
|
|
1178
1402
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1218,6 +1442,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1218
1442
|
kind: z.ZodEnum<{
|
|
1219
1443
|
event: "event";
|
|
1220
1444
|
fact: "fact";
|
|
1445
|
+
memory: "memory";
|
|
1446
|
+
observation: "observation";
|
|
1221
1447
|
entity: "entity";
|
|
1222
1448
|
page: "page";
|
|
1223
1449
|
document: "document";
|
|
@@ -1243,6 +1469,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1243
1469
|
document: z.ZodOptional<z.ZodString>;
|
|
1244
1470
|
fact: z.ZodOptional<z.ZodString>;
|
|
1245
1471
|
event: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1246
1474
|
date: z.ZodOptional<z.ZodString>;
|
|
1247
1475
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1248
1476
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1257,6 +1485,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1257
1485
|
kind: z.ZodEnum<{
|
|
1258
1486
|
event: "event";
|
|
1259
1487
|
fact: "fact";
|
|
1488
|
+
memory: "memory";
|
|
1489
|
+
observation: "observation";
|
|
1260
1490
|
entity: "entity";
|
|
1261
1491
|
page: "page";
|
|
1262
1492
|
document: "document";
|
|
@@ -1282,6 +1512,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1282
1512
|
document: z.ZodOptional<z.ZodString>;
|
|
1283
1513
|
fact: z.ZodOptional<z.ZodString>;
|
|
1284
1514
|
event: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1285
1517
|
date: z.ZodOptional<z.ZodString>;
|
|
1286
1518
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1287
1519
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1296,6 +1528,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1296
1528
|
kind: z.ZodEnum<{
|
|
1297
1529
|
event: "event";
|
|
1298
1530
|
fact: "fact";
|
|
1531
|
+
memory: "memory";
|
|
1532
|
+
observation: "observation";
|
|
1299
1533
|
entity: "entity";
|
|
1300
1534
|
page: "page";
|
|
1301
1535
|
document: "document";
|
|
@@ -1321,6 +1555,8 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1321
1555
|
document: z.ZodOptional<z.ZodString>;
|
|
1322
1556
|
fact: z.ZodOptional<z.ZodString>;
|
|
1323
1557
|
event: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1324
1560
|
date: z.ZodOptional<z.ZodString>;
|
|
1325
1561
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1326
1562
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1339,6 +1575,13 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1339
1575
|
related_entity: "related_entity";
|
|
1340
1576
|
owns_document: "owns_document";
|
|
1341
1577
|
participates_in: "participates_in";
|
|
1578
|
+
derived_from: "derived_from";
|
|
1579
|
+
corrects: "corrects";
|
|
1580
|
+
supersedes: "supersedes";
|
|
1581
|
+
contradicts: "contradicts";
|
|
1582
|
+
fulfills: "fulfills";
|
|
1583
|
+
answers: "answers";
|
|
1584
|
+
caused_by: "caused_by";
|
|
1342
1585
|
}>>;
|
|
1343
1586
|
hops: z.ZodNumber;
|
|
1344
1587
|
confidence: z.ZodNumber;
|
|
@@ -1353,6 +1596,7 @@ export declare const PageCard: z.ZodObject<{
|
|
|
1353
1596
|
document: z.ZodOptional<z.ZodString>;
|
|
1354
1597
|
event: z.ZodOptional<z.ZodString>;
|
|
1355
1598
|
fact: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1356
1600
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1357
1601
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
1358
1602
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1431,6 +1675,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1431
1675
|
kind: z.ZodEnum<{
|
|
1432
1676
|
event: "event";
|
|
1433
1677
|
fact: "fact";
|
|
1678
|
+
memory: "memory";
|
|
1679
|
+
observation: "observation";
|
|
1434
1680
|
entity: "entity";
|
|
1435
1681
|
page: "page";
|
|
1436
1682
|
document: "document";
|
|
@@ -1456,6 +1702,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1456
1702
|
document: z.ZodOptional<z.ZodString>;
|
|
1457
1703
|
fact: z.ZodOptional<z.ZodString>;
|
|
1458
1704
|
event: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1459
1707
|
date: z.ZodOptional<z.ZodString>;
|
|
1460
1708
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1461
1709
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1470,6 +1718,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1470
1718
|
kind: z.ZodEnum<{
|
|
1471
1719
|
event: "event";
|
|
1472
1720
|
fact: "fact";
|
|
1721
|
+
memory: "memory";
|
|
1722
|
+
observation: "observation";
|
|
1473
1723
|
entity: "entity";
|
|
1474
1724
|
page: "page";
|
|
1475
1725
|
document: "document";
|
|
@@ -1495,6 +1745,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1495
1745
|
document: z.ZodOptional<z.ZodString>;
|
|
1496
1746
|
fact: z.ZodOptional<z.ZodString>;
|
|
1497
1747
|
event: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1498
1750
|
date: z.ZodOptional<z.ZodString>;
|
|
1499
1751
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1500
1752
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1509,6 +1761,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1509
1761
|
kind: z.ZodEnum<{
|
|
1510
1762
|
event: "event";
|
|
1511
1763
|
fact: "fact";
|
|
1764
|
+
memory: "memory";
|
|
1765
|
+
observation: "observation";
|
|
1512
1766
|
entity: "entity";
|
|
1513
1767
|
page: "page";
|
|
1514
1768
|
document: "document";
|
|
@@ -1534,6 +1788,8 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1534
1788
|
document: z.ZodOptional<z.ZodString>;
|
|
1535
1789
|
fact: z.ZodOptional<z.ZodString>;
|
|
1536
1790
|
event: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1537
1793
|
date: z.ZodOptional<z.ZodString>;
|
|
1538
1794
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1539
1795
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1552,6 +1808,13 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1552
1808
|
related_entity: "related_entity";
|
|
1553
1809
|
owns_document: "owns_document";
|
|
1554
1810
|
participates_in: "participates_in";
|
|
1811
|
+
derived_from: "derived_from";
|
|
1812
|
+
corrects: "corrects";
|
|
1813
|
+
supersedes: "supersedes";
|
|
1814
|
+
contradicts: "contradicts";
|
|
1815
|
+
fulfills: "fulfills";
|
|
1816
|
+
answers: "answers";
|
|
1817
|
+
caused_by: "caused_by";
|
|
1555
1818
|
}>>;
|
|
1556
1819
|
hops: z.ZodNumber;
|
|
1557
1820
|
confidence: z.ZodNumber;
|
|
@@ -1566,6 +1829,7 @@ export declare const DocumentCard: z.ZodObject<{
|
|
|
1566
1829
|
document: z.ZodOptional<z.ZodString>;
|
|
1567
1830
|
event: z.ZodOptional<z.ZodString>;
|
|
1568
1831
|
fact: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1569
1833
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1570
1834
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
1571
1835
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1701,6 +1965,37 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1701
1965
|
id: z.ZodString;
|
|
1702
1966
|
answer_eligible: z.ZodLiteral<false>;
|
|
1703
1967
|
}, z.core.$strip>], "status">>;
|
|
1968
|
+
observation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1969
|
+
status: z.ZodLiteral<"eligible">;
|
|
1970
|
+
id: z.ZodString;
|
|
1971
|
+
level: z.ZodLiteral<2>;
|
|
1972
|
+
subject: z.ZodString;
|
|
1973
|
+
disposition: z.ZodEnum<{
|
|
1974
|
+
active: "active";
|
|
1975
|
+
superseded: "superseded";
|
|
1976
|
+
weakened: "weakened";
|
|
1977
|
+
retracted: "retracted";
|
|
1978
|
+
}>;
|
|
1979
|
+
proof_count: z.ZodNumber;
|
|
1980
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1981
|
+
fact: z.ZodString;
|
|
1982
|
+
slug: z.ZodString;
|
|
1983
|
+
line: z.ZodNumber;
|
|
1984
|
+
line_hash: z.ZodString;
|
|
1985
|
+
proof_groups: z.ZodArray<z.ZodString>;
|
|
1986
|
+
}, z.core.$strip>>;
|
|
1987
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1988
|
+
status: z.ZodLiteral<"ineligible">;
|
|
1989
|
+
id: z.ZodString;
|
|
1990
|
+
level: z.ZodLiteral<2>;
|
|
1991
|
+
disposition: z.ZodEnum<{
|
|
1992
|
+
active: "active";
|
|
1993
|
+
superseded: "superseded";
|
|
1994
|
+
weakened: "weakened";
|
|
1995
|
+
retracted: "retracted";
|
|
1996
|
+
}>;
|
|
1997
|
+
reason: z.ZodString;
|
|
1998
|
+
}, z.core.$strip>], "status">>;
|
|
1704
1999
|
fact: z.ZodOptional<z.ZodString>;
|
|
1705
2000
|
}, z.core.$strip>>;
|
|
1706
2001
|
superseded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1746,6 +2041,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1746
2041
|
kind: z.ZodEnum<{
|
|
1747
2042
|
event: "event";
|
|
1748
2043
|
fact: "fact";
|
|
2044
|
+
memory: "memory";
|
|
2045
|
+
observation: "observation";
|
|
1749
2046
|
entity: "entity";
|
|
1750
2047
|
page: "page";
|
|
1751
2048
|
document: "document";
|
|
@@ -1771,6 +2068,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1771
2068
|
document: z.ZodOptional<z.ZodString>;
|
|
1772
2069
|
fact: z.ZodOptional<z.ZodString>;
|
|
1773
2070
|
event: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1774
2073
|
date: z.ZodOptional<z.ZodString>;
|
|
1775
2074
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1776
2075
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1785,6 +2084,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1785
2084
|
kind: z.ZodEnum<{
|
|
1786
2085
|
event: "event";
|
|
1787
2086
|
fact: "fact";
|
|
2087
|
+
memory: "memory";
|
|
2088
|
+
observation: "observation";
|
|
1788
2089
|
entity: "entity";
|
|
1789
2090
|
page: "page";
|
|
1790
2091
|
document: "document";
|
|
@@ -1810,6 +2111,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1810
2111
|
document: z.ZodOptional<z.ZodString>;
|
|
1811
2112
|
fact: z.ZodOptional<z.ZodString>;
|
|
1812
2113
|
event: z.ZodOptional<z.ZodString>;
|
|
2114
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1813
2116
|
date: z.ZodOptional<z.ZodString>;
|
|
1814
2117
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1815
2118
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1824,6 +2127,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1824
2127
|
kind: z.ZodEnum<{
|
|
1825
2128
|
event: "event";
|
|
1826
2129
|
fact: "fact";
|
|
2130
|
+
memory: "memory";
|
|
2131
|
+
observation: "observation";
|
|
1827
2132
|
entity: "entity";
|
|
1828
2133
|
page: "page";
|
|
1829
2134
|
document: "document";
|
|
@@ -1849,6 +2154,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1849
2154
|
document: z.ZodOptional<z.ZodString>;
|
|
1850
2155
|
fact: z.ZodOptional<z.ZodString>;
|
|
1851
2156
|
event: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1852
2159
|
date: z.ZodOptional<z.ZodString>;
|
|
1853
2160
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1854
2161
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1867,6 +2174,13 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1867
2174
|
related_entity: "related_entity";
|
|
1868
2175
|
owns_document: "owns_document";
|
|
1869
2176
|
participates_in: "participates_in";
|
|
2177
|
+
derived_from: "derived_from";
|
|
2178
|
+
corrects: "corrects";
|
|
2179
|
+
supersedes: "supersedes";
|
|
2180
|
+
contradicts: "contradicts";
|
|
2181
|
+
fulfills: "fulfills";
|
|
2182
|
+
answers: "answers";
|
|
2183
|
+
caused_by: "caused_by";
|
|
1870
2184
|
}>>;
|
|
1871
2185
|
hops: z.ZodNumber;
|
|
1872
2186
|
confidence: z.ZodNumber;
|
|
@@ -1881,6 +2195,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1881
2195
|
document: z.ZodOptional<z.ZodString>;
|
|
1882
2196
|
event: z.ZodOptional<z.ZodString>;
|
|
1883
2197
|
fact: z.ZodOptional<z.ZodString>;
|
|
2198
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
1884
2199
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1885
2200
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
1886
2201
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1956,6 +2271,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1956
2271
|
kind: z.ZodEnum<{
|
|
1957
2272
|
event: "event";
|
|
1958
2273
|
fact: "fact";
|
|
2274
|
+
memory: "memory";
|
|
2275
|
+
observation: "observation";
|
|
1959
2276
|
entity: "entity";
|
|
1960
2277
|
page: "page";
|
|
1961
2278
|
document: "document";
|
|
@@ -1981,6 +2298,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1981
2298
|
document: z.ZodOptional<z.ZodString>;
|
|
1982
2299
|
fact: z.ZodOptional<z.ZodString>;
|
|
1983
2300
|
event: z.ZodOptional<z.ZodString>;
|
|
2301
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
1984
2303
|
date: z.ZodOptional<z.ZodString>;
|
|
1985
2304
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
1986
2305
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1995,6 +2314,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1995
2314
|
kind: z.ZodEnum<{
|
|
1996
2315
|
event: "event";
|
|
1997
2316
|
fact: "fact";
|
|
2317
|
+
memory: "memory";
|
|
2318
|
+
observation: "observation";
|
|
1998
2319
|
entity: "entity";
|
|
1999
2320
|
page: "page";
|
|
2000
2321
|
document: "document";
|
|
@@ -2020,6 +2341,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2020
2341
|
document: z.ZodOptional<z.ZodString>;
|
|
2021
2342
|
fact: z.ZodOptional<z.ZodString>;
|
|
2022
2343
|
event: z.ZodOptional<z.ZodString>;
|
|
2344
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
2023
2346
|
date: z.ZodOptional<z.ZodString>;
|
|
2024
2347
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2025
2348
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2034,6 +2357,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2034
2357
|
kind: z.ZodEnum<{
|
|
2035
2358
|
event: "event";
|
|
2036
2359
|
fact: "fact";
|
|
2360
|
+
memory: "memory";
|
|
2361
|
+
observation: "observation";
|
|
2037
2362
|
entity: "entity";
|
|
2038
2363
|
page: "page";
|
|
2039
2364
|
document: "document";
|
|
@@ -2059,6 +2384,8 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2059
2384
|
document: z.ZodOptional<z.ZodString>;
|
|
2060
2385
|
fact: z.ZodOptional<z.ZodString>;
|
|
2061
2386
|
event: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2388
|
+
observation: z.ZodOptional<z.ZodString>;
|
|
2062
2389
|
date: z.ZodOptional<z.ZodString>;
|
|
2063
2390
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2064
2391
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2077,6 +2404,13 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2077
2404
|
related_entity: "related_entity";
|
|
2078
2405
|
owns_document: "owns_document";
|
|
2079
2406
|
participates_in: "participates_in";
|
|
2407
|
+
derived_from: "derived_from";
|
|
2408
|
+
corrects: "corrects";
|
|
2409
|
+
supersedes: "supersedes";
|
|
2410
|
+
contradicts: "contradicts";
|
|
2411
|
+
fulfills: "fulfills";
|
|
2412
|
+
answers: "answers";
|
|
2413
|
+
caused_by: "caused_by";
|
|
2080
2414
|
}>>;
|
|
2081
2415
|
hops: z.ZodNumber;
|
|
2082
2416
|
confidence: z.ZodNumber;
|
|
@@ -2091,6 +2425,7 @@ export declare const RecallResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2091
2425
|
document: z.ZodOptional<z.ZodString>;
|
|
2092
2426
|
event: z.ZodOptional<z.ZodString>;
|
|
2093
2427
|
fact: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2094
2429
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2095
2430
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
2096
2431
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -2115,6 +2450,7 @@ export declare const DegradedReason: z.ZodEnum<{
|
|
|
2115
2450
|
retain_verification_failed: "retain_verification_failed";
|
|
2116
2451
|
retain_apply_failed: "retain_apply_failed";
|
|
2117
2452
|
partial_temporal_index: "partial_temporal_index";
|
|
2453
|
+
partial_memory_index: "partial_memory_index";
|
|
2118
2454
|
timeline_range_limited: "timeline_range_limited";
|
|
2119
2455
|
expansion_failed: "expansion_failed";
|
|
2120
2456
|
no_vector_index: "no_vector_index";
|
|
@@ -2151,6 +2487,7 @@ export declare const ResultEnvelope: z.ZodObject<{
|
|
|
2151
2487
|
retain_verification_failed: "retain_verification_failed";
|
|
2152
2488
|
retain_apply_failed: "retain_apply_failed";
|
|
2153
2489
|
partial_temporal_index: "partial_temporal_index";
|
|
2490
|
+
partial_memory_index: "partial_memory_index";
|
|
2154
2491
|
timeline_range_limited: "timeline_range_limited";
|
|
2155
2492
|
expansion_failed: "expansion_failed";
|
|
2156
2493
|
no_vector_index: "no_vector_index";
|