@tenphi/akno-protocol 0.7.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 +109 -0
- package/dist/common.d.ts.map +1 -1
- package/dist/common.js +29 -1
- package/dist/common.js.map +1 -1
- package/dist/ops/answer.d.ts +19 -0
- package/dist/ops/answer.d.ts.map +1 -1
- package/dist/ops/answer.js +4 -1
- package/dist/ops/answer.js.map +1 -1
- package/dist/ops/context.d.ts +58 -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 +49 -0
- 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 +1 -0
- package/dist/ops/read.d.ts.map +1 -1
- package/dist/ops/recall.d.ts +45 -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 +3 -0
- 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 +176 -3
- 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 +3 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/dist/registry.d.ts
CHANGED
|
@@ -27,6 +27,15 @@ export declare const OPS: {
|
|
|
27
27
|
question: "question";
|
|
28
28
|
explore: "explore";
|
|
29
29
|
}>>;
|
|
30
|
+
memory_view: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
factual: "factual";
|
|
32
|
+
history: "history";
|
|
33
|
+
planning: "planning";
|
|
34
|
+
reports: "reports";
|
|
35
|
+
questions: "questions";
|
|
36
|
+
discussion: "discussion";
|
|
37
|
+
all: "all";
|
|
38
|
+
}>>;
|
|
30
39
|
depth: z.ZodOptional<z.ZodEnum<{
|
|
31
40
|
summary: "summary";
|
|
32
41
|
lines: "lines";
|
|
@@ -84,6 +93,7 @@ export declare const OPS: {
|
|
|
84
93
|
retain_verification_failed: "retain_verification_failed";
|
|
85
94
|
retain_apply_failed: "retain_apply_failed";
|
|
86
95
|
partial_temporal_index: "partial_temporal_index";
|
|
96
|
+
partial_memory_index: "partial_memory_index";
|
|
87
97
|
timeline_range_limited: "timeline_range_limited";
|
|
88
98
|
expansion_failed: "expansion_failed";
|
|
89
99
|
no_vector_index: "no_vector_index";
|
|
@@ -305,6 +315,7 @@ export declare const OPS: {
|
|
|
305
315
|
kind: z.ZodEnum<{
|
|
306
316
|
event: "event";
|
|
307
317
|
fact: "fact";
|
|
318
|
+
memory: "memory";
|
|
308
319
|
observation: "observation";
|
|
309
320
|
entity: "entity";
|
|
310
321
|
page: "page";
|
|
@@ -331,6 +342,7 @@ export declare const OPS: {
|
|
|
331
342
|
document: z.ZodOptional<z.ZodString>;
|
|
332
343
|
fact: z.ZodOptional<z.ZodString>;
|
|
333
344
|
event: z.ZodOptional<z.ZodString>;
|
|
345
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
334
346
|
observation: z.ZodOptional<z.ZodString>;
|
|
335
347
|
date: z.ZodOptional<z.ZodString>;
|
|
336
348
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -346,6 +358,7 @@ export declare const OPS: {
|
|
|
346
358
|
kind: z.ZodEnum<{
|
|
347
359
|
event: "event";
|
|
348
360
|
fact: "fact";
|
|
361
|
+
memory: "memory";
|
|
349
362
|
observation: "observation";
|
|
350
363
|
entity: "entity";
|
|
351
364
|
page: "page";
|
|
@@ -372,6 +385,7 @@ export declare const OPS: {
|
|
|
372
385
|
document: z.ZodOptional<z.ZodString>;
|
|
373
386
|
fact: z.ZodOptional<z.ZodString>;
|
|
374
387
|
event: z.ZodOptional<z.ZodString>;
|
|
388
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
375
389
|
observation: z.ZodOptional<z.ZodString>;
|
|
376
390
|
date: z.ZodOptional<z.ZodString>;
|
|
377
391
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -387,6 +401,7 @@ export declare const OPS: {
|
|
|
387
401
|
kind: z.ZodEnum<{
|
|
388
402
|
event: "event";
|
|
389
403
|
fact: "fact";
|
|
404
|
+
memory: "memory";
|
|
390
405
|
observation: "observation";
|
|
391
406
|
entity: "entity";
|
|
392
407
|
page: "page";
|
|
@@ -413,6 +428,7 @@ export declare const OPS: {
|
|
|
413
428
|
document: z.ZodOptional<z.ZodString>;
|
|
414
429
|
fact: z.ZodOptional<z.ZodString>;
|
|
415
430
|
event: z.ZodOptional<z.ZodString>;
|
|
431
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
416
432
|
observation: z.ZodOptional<z.ZodString>;
|
|
417
433
|
date: z.ZodOptional<z.ZodString>;
|
|
418
434
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -433,6 +449,12 @@ export declare const OPS: {
|
|
|
433
449
|
owns_document: "owns_document";
|
|
434
450
|
participates_in: "participates_in";
|
|
435
451
|
derived_from: "derived_from";
|
|
452
|
+
corrects: "corrects";
|
|
453
|
+
supersedes: "supersedes";
|
|
454
|
+
contradicts: "contradicts";
|
|
455
|
+
fulfills: "fulfills";
|
|
456
|
+
answers: "answers";
|
|
457
|
+
caused_by: "caused_by";
|
|
436
458
|
}>>;
|
|
437
459
|
hops: z.ZodNumber;
|
|
438
460
|
confidence: z.ZodNumber;
|
|
@@ -447,6 +469,7 @@ export declare const OPS: {
|
|
|
447
469
|
document: z.ZodOptional<z.ZodString>;
|
|
448
470
|
event: z.ZodOptional<z.ZodString>;
|
|
449
471
|
fact: z.ZodOptional<z.ZodString>;
|
|
472
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
450
473
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
451
474
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
452
475
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -522,6 +545,7 @@ export declare const OPS: {
|
|
|
522
545
|
kind: z.ZodEnum<{
|
|
523
546
|
event: "event";
|
|
524
547
|
fact: "fact";
|
|
548
|
+
memory: "memory";
|
|
525
549
|
observation: "observation";
|
|
526
550
|
entity: "entity";
|
|
527
551
|
page: "page";
|
|
@@ -548,6 +572,7 @@ export declare const OPS: {
|
|
|
548
572
|
document: z.ZodOptional<z.ZodString>;
|
|
549
573
|
fact: z.ZodOptional<z.ZodString>;
|
|
550
574
|
event: z.ZodOptional<z.ZodString>;
|
|
575
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
551
576
|
observation: z.ZodOptional<z.ZodString>;
|
|
552
577
|
date: z.ZodOptional<z.ZodString>;
|
|
553
578
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -563,6 +588,7 @@ export declare const OPS: {
|
|
|
563
588
|
kind: z.ZodEnum<{
|
|
564
589
|
event: "event";
|
|
565
590
|
fact: "fact";
|
|
591
|
+
memory: "memory";
|
|
566
592
|
observation: "observation";
|
|
567
593
|
entity: "entity";
|
|
568
594
|
page: "page";
|
|
@@ -589,6 +615,7 @@ export declare const OPS: {
|
|
|
589
615
|
document: z.ZodOptional<z.ZodString>;
|
|
590
616
|
fact: z.ZodOptional<z.ZodString>;
|
|
591
617
|
event: z.ZodOptional<z.ZodString>;
|
|
618
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
592
619
|
observation: z.ZodOptional<z.ZodString>;
|
|
593
620
|
date: z.ZodOptional<z.ZodString>;
|
|
594
621
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -604,6 +631,7 @@ export declare const OPS: {
|
|
|
604
631
|
kind: z.ZodEnum<{
|
|
605
632
|
event: "event";
|
|
606
633
|
fact: "fact";
|
|
634
|
+
memory: "memory";
|
|
607
635
|
observation: "observation";
|
|
608
636
|
entity: "entity";
|
|
609
637
|
page: "page";
|
|
@@ -630,6 +658,7 @@ export declare const OPS: {
|
|
|
630
658
|
document: z.ZodOptional<z.ZodString>;
|
|
631
659
|
fact: z.ZodOptional<z.ZodString>;
|
|
632
660
|
event: z.ZodOptional<z.ZodString>;
|
|
661
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
633
662
|
observation: z.ZodOptional<z.ZodString>;
|
|
634
663
|
date: z.ZodOptional<z.ZodString>;
|
|
635
664
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -650,6 +679,12 @@ export declare const OPS: {
|
|
|
650
679
|
owns_document: "owns_document";
|
|
651
680
|
participates_in: "participates_in";
|
|
652
681
|
derived_from: "derived_from";
|
|
682
|
+
corrects: "corrects";
|
|
683
|
+
supersedes: "supersedes";
|
|
684
|
+
contradicts: "contradicts";
|
|
685
|
+
fulfills: "fulfills";
|
|
686
|
+
answers: "answers";
|
|
687
|
+
caused_by: "caused_by";
|
|
653
688
|
}>>;
|
|
654
689
|
hops: z.ZodNumber;
|
|
655
690
|
confidence: z.ZodNumber;
|
|
@@ -664,6 +699,7 @@ export declare const OPS: {
|
|
|
664
699
|
document: z.ZodOptional<z.ZodString>;
|
|
665
700
|
event: z.ZodOptional<z.ZodString>;
|
|
666
701
|
fact: z.ZodOptional<z.ZodString>;
|
|
702
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
667
703
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
668
704
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
669
705
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -705,9 +741,27 @@ export declare const OPS: {
|
|
|
705
741
|
question: "question";
|
|
706
742
|
explore: "explore";
|
|
707
743
|
}>;
|
|
744
|
+
memory_view: z.ZodEnum<{
|
|
745
|
+
factual: "factual";
|
|
746
|
+
history: "history";
|
|
747
|
+
planning: "planning";
|
|
748
|
+
reports: "reports";
|
|
749
|
+
questions: "questions";
|
|
750
|
+
discussion: "discussion";
|
|
751
|
+
all: "all";
|
|
752
|
+
}>;
|
|
708
753
|
}, z.core.$strip>>;
|
|
709
754
|
readonly answer: OpDefinition<z.ZodObject<{
|
|
710
755
|
question: z.ZodString;
|
|
756
|
+
memory_view: z.ZodOptional<z.ZodEnum<{
|
|
757
|
+
factual: "factual";
|
|
758
|
+
history: "history";
|
|
759
|
+
planning: "planning";
|
|
760
|
+
reports: "reports";
|
|
761
|
+
questions: "questions";
|
|
762
|
+
discussion: "discussion";
|
|
763
|
+
all: "all";
|
|
764
|
+
}>>;
|
|
711
765
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
712
766
|
retrieval_budget: z.ZodOptional<z.ZodNumber>;
|
|
713
767
|
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -762,6 +816,7 @@ export declare const OPS: {
|
|
|
762
816
|
retain_verification_failed: "retain_verification_failed";
|
|
763
817
|
retain_apply_failed: "retain_apply_failed";
|
|
764
818
|
partial_temporal_index: "partial_temporal_index";
|
|
819
|
+
partial_memory_index: "partial_memory_index";
|
|
765
820
|
timeline_range_limited: "timeline_range_limited";
|
|
766
821
|
expansion_failed: "expansion_failed";
|
|
767
822
|
no_vector_index: "no_vector_index";
|
|
@@ -986,6 +1041,15 @@ export declare const OPS: {
|
|
|
986
1041
|
owner_slug: z.ZodOptional<z.ZodString>;
|
|
987
1042
|
}, z.core.$strip>>;
|
|
988
1043
|
searched: z.ZodArray<z.ZodString>;
|
|
1044
|
+
memory_view: z.ZodEnum<{
|
|
1045
|
+
factual: "factual";
|
|
1046
|
+
history: "history";
|
|
1047
|
+
planning: "planning";
|
|
1048
|
+
reports: "reports";
|
|
1049
|
+
questions: "questions";
|
|
1050
|
+
discussion: "discussion";
|
|
1051
|
+
all: "all";
|
|
1052
|
+
}>;
|
|
989
1053
|
qualification: z.ZodOptional<z.ZodObject<{
|
|
990
1054
|
model: z.ZodEnum<{
|
|
991
1055
|
llm: "llm";
|
|
@@ -1055,6 +1119,7 @@ export declare const OPS: {
|
|
|
1055
1119
|
retain_verification_failed: "retain_verification_failed";
|
|
1056
1120
|
retain_apply_failed: "retain_apply_failed";
|
|
1057
1121
|
partial_temporal_index: "partial_temporal_index";
|
|
1122
|
+
partial_memory_index: "partial_memory_index";
|
|
1058
1123
|
timeline_range_limited: "timeline_range_limited";
|
|
1059
1124
|
expansion_failed: "expansion_failed";
|
|
1060
1125
|
no_vector_index: "no_vector_index";
|
|
@@ -1356,6 +1421,7 @@ export declare const OPS: {
|
|
|
1356
1421
|
retain_verification_failed: "retain_verification_failed";
|
|
1357
1422
|
retain_apply_failed: "retain_apply_failed";
|
|
1358
1423
|
partial_temporal_index: "partial_temporal_index";
|
|
1424
|
+
partial_memory_index: "partial_memory_index";
|
|
1359
1425
|
timeline_range_limited: "timeline_range_limited";
|
|
1360
1426
|
expansion_failed: "expansion_failed";
|
|
1361
1427
|
no_vector_index: "no_vector_index";
|
|
@@ -1418,6 +1484,7 @@ export declare const OPS: {
|
|
|
1418
1484
|
match: z.ZodOptional<z.ZodString>;
|
|
1419
1485
|
subject: z.ZodOptional<z.ZodString>;
|
|
1420
1486
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1487
|
+
all: "all";
|
|
1421
1488
|
plan: "plan";
|
|
1422
1489
|
event: "event";
|
|
1423
1490
|
document: "document";
|
|
@@ -1425,13 +1492,12 @@ export declare const OPS: {
|
|
|
1425
1492
|
state: "state";
|
|
1426
1493
|
deadline: "deadline";
|
|
1427
1494
|
document_evidence: "document_evidence";
|
|
1428
|
-
all: "all";
|
|
1429
1495
|
}>>;
|
|
1430
1496
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
1497
|
+
all: "all";
|
|
1431
1498
|
past: "past";
|
|
1432
1499
|
today: "today";
|
|
1433
1500
|
future: "future";
|
|
1434
|
-
all: "all";
|
|
1435
1501
|
}>>;
|
|
1436
1502
|
clock_relation: z.ZodOptional<z.ZodEnum<{
|
|
1437
1503
|
past: "past";
|
|
@@ -1459,8 +1525,8 @@ export declare const OPS: {
|
|
|
1459
1525
|
superseded: "superseded";
|
|
1460
1526
|
}>>;
|
|
1461
1527
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1462
|
-
actionable: "actionable";
|
|
1463
1528
|
history: "history";
|
|
1529
|
+
actionable: "actionable";
|
|
1464
1530
|
}>>;
|
|
1465
1531
|
as_of: z.ZodOptional<z.ZodString>;
|
|
1466
1532
|
timezone: z.ZodOptional<z.ZodString>;
|
|
@@ -1488,6 +1554,7 @@ export declare const OPS: {
|
|
|
1488
1554
|
retain_verification_failed: "retain_verification_failed";
|
|
1489
1555
|
retain_apply_failed: "retain_apply_failed";
|
|
1490
1556
|
partial_temporal_index: "partial_temporal_index";
|
|
1557
|
+
partial_memory_index: "partial_memory_index";
|
|
1491
1558
|
timeline_range_limited: "timeline_range_limited";
|
|
1492
1559
|
expansion_failed: "expansion_failed";
|
|
1493
1560
|
no_vector_index: "no_vector_index";
|
|
@@ -1787,6 +1854,15 @@ export declare const OPS: {
|
|
|
1787
1854
|
question: "question";
|
|
1788
1855
|
explore: "explore";
|
|
1789
1856
|
}>>;
|
|
1857
|
+
memory_view: z.ZodOptional<z.ZodEnum<{
|
|
1858
|
+
factual: "factual";
|
|
1859
|
+
history: "history";
|
|
1860
|
+
planning: "planning";
|
|
1861
|
+
reports: "reports";
|
|
1862
|
+
questions: "questions";
|
|
1863
|
+
discussion: "discussion";
|
|
1864
|
+
all: "all";
|
|
1865
|
+
}>>;
|
|
1790
1866
|
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1791
1867
|
knowledge: "knowledge";
|
|
1792
1868
|
source: "source";
|
|
@@ -1832,6 +1908,7 @@ export declare const OPS: {
|
|
|
1832
1908
|
retain_verification_failed: "retain_verification_failed";
|
|
1833
1909
|
retain_apply_failed: "retain_apply_failed";
|
|
1834
1910
|
partial_temporal_index: "partial_temporal_index";
|
|
1911
|
+
partial_memory_index: "partial_memory_index";
|
|
1835
1912
|
timeline_range_limited: "timeline_range_limited";
|
|
1836
1913
|
expansion_failed: "expansion_failed";
|
|
1837
1914
|
no_vector_index: "no_vector_index";
|
|
@@ -2069,6 +2146,7 @@ export declare const OPS: {
|
|
|
2069
2146
|
kind: z.ZodEnum<{
|
|
2070
2147
|
event: "event";
|
|
2071
2148
|
fact: "fact";
|
|
2149
|
+
memory: "memory";
|
|
2072
2150
|
observation: "observation";
|
|
2073
2151
|
entity: "entity";
|
|
2074
2152
|
page: "page";
|
|
@@ -2095,6 +2173,7 @@ export declare const OPS: {
|
|
|
2095
2173
|
document: z.ZodOptional<z.ZodString>;
|
|
2096
2174
|
fact: z.ZodOptional<z.ZodString>;
|
|
2097
2175
|
event: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2098
2177
|
observation: z.ZodOptional<z.ZodString>;
|
|
2099
2178
|
date: z.ZodOptional<z.ZodString>;
|
|
2100
2179
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2110,6 +2189,7 @@ export declare const OPS: {
|
|
|
2110
2189
|
kind: z.ZodEnum<{
|
|
2111
2190
|
event: "event";
|
|
2112
2191
|
fact: "fact";
|
|
2192
|
+
memory: "memory";
|
|
2113
2193
|
observation: "observation";
|
|
2114
2194
|
entity: "entity";
|
|
2115
2195
|
page: "page";
|
|
@@ -2136,6 +2216,7 @@ export declare const OPS: {
|
|
|
2136
2216
|
document: z.ZodOptional<z.ZodString>;
|
|
2137
2217
|
fact: z.ZodOptional<z.ZodString>;
|
|
2138
2218
|
event: z.ZodOptional<z.ZodString>;
|
|
2219
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2139
2220
|
observation: z.ZodOptional<z.ZodString>;
|
|
2140
2221
|
date: z.ZodOptional<z.ZodString>;
|
|
2141
2222
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2151,6 +2232,7 @@ export declare const OPS: {
|
|
|
2151
2232
|
kind: z.ZodEnum<{
|
|
2152
2233
|
event: "event";
|
|
2153
2234
|
fact: "fact";
|
|
2235
|
+
memory: "memory";
|
|
2154
2236
|
observation: "observation";
|
|
2155
2237
|
entity: "entity";
|
|
2156
2238
|
page: "page";
|
|
@@ -2177,6 +2259,7 @@ export declare const OPS: {
|
|
|
2177
2259
|
document: z.ZodOptional<z.ZodString>;
|
|
2178
2260
|
fact: z.ZodOptional<z.ZodString>;
|
|
2179
2261
|
event: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2180
2263
|
observation: z.ZodOptional<z.ZodString>;
|
|
2181
2264
|
date: z.ZodOptional<z.ZodString>;
|
|
2182
2265
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2197,6 +2280,12 @@ export declare const OPS: {
|
|
|
2197
2280
|
owns_document: "owns_document";
|
|
2198
2281
|
participates_in: "participates_in";
|
|
2199
2282
|
derived_from: "derived_from";
|
|
2283
|
+
corrects: "corrects";
|
|
2284
|
+
supersedes: "supersedes";
|
|
2285
|
+
contradicts: "contradicts";
|
|
2286
|
+
fulfills: "fulfills";
|
|
2287
|
+
answers: "answers";
|
|
2288
|
+
caused_by: "caused_by";
|
|
2200
2289
|
}>>;
|
|
2201
2290
|
hops: z.ZodNumber;
|
|
2202
2291
|
confidence: z.ZodNumber;
|
|
@@ -2211,6 +2300,7 @@ export declare const OPS: {
|
|
|
2211
2300
|
document: z.ZodOptional<z.ZodString>;
|
|
2212
2301
|
event: z.ZodOptional<z.ZodString>;
|
|
2213
2302
|
fact: z.ZodOptional<z.ZodString>;
|
|
2303
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2214
2304
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2215
2305
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
2216
2306
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -2421,6 +2511,7 @@ export declare const OPS: {
|
|
|
2421
2511
|
kind: z.ZodEnum<{
|
|
2422
2512
|
event: "event";
|
|
2423
2513
|
fact: "fact";
|
|
2514
|
+
memory: "memory";
|
|
2424
2515
|
observation: "observation";
|
|
2425
2516
|
entity: "entity";
|
|
2426
2517
|
page: "page";
|
|
@@ -2447,6 +2538,7 @@ export declare const OPS: {
|
|
|
2447
2538
|
document: z.ZodOptional<z.ZodString>;
|
|
2448
2539
|
fact: z.ZodOptional<z.ZodString>;
|
|
2449
2540
|
event: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2450
2542
|
observation: z.ZodOptional<z.ZodString>;
|
|
2451
2543
|
date: z.ZodOptional<z.ZodString>;
|
|
2452
2544
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2462,6 +2554,7 @@ export declare const OPS: {
|
|
|
2462
2554
|
kind: z.ZodEnum<{
|
|
2463
2555
|
event: "event";
|
|
2464
2556
|
fact: "fact";
|
|
2557
|
+
memory: "memory";
|
|
2465
2558
|
observation: "observation";
|
|
2466
2559
|
entity: "entity";
|
|
2467
2560
|
page: "page";
|
|
@@ -2488,6 +2581,7 @@ export declare const OPS: {
|
|
|
2488
2581
|
document: z.ZodOptional<z.ZodString>;
|
|
2489
2582
|
fact: z.ZodOptional<z.ZodString>;
|
|
2490
2583
|
event: z.ZodOptional<z.ZodString>;
|
|
2584
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2491
2585
|
observation: z.ZodOptional<z.ZodString>;
|
|
2492
2586
|
date: z.ZodOptional<z.ZodString>;
|
|
2493
2587
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2503,6 +2597,7 @@ export declare const OPS: {
|
|
|
2503
2597
|
kind: z.ZodEnum<{
|
|
2504
2598
|
event: "event";
|
|
2505
2599
|
fact: "fact";
|
|
2600
|
+
memory: "memory";
|
|
2506
2601
|
observation: "observation";
|
|
2507
2602
|
entity: "entity";
|
|
2508
2603
|
page: "page";
|
|
@@ -2529,6 +2624,7 @@ export declare const OPS: {
|
|
|
2529
2624
|
document: z.ZodOptional<z.ZodString>;
|
|
2530
2625
|
fact: z.ZodOptional<z.ZodString>;
|
|
2531
2626
|
event: z.ZodOptional<z.ZodString>;
|
|
2627
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2532
2628
|
observation: z.ZodOptional<z.ZodString>;
|
|
2533
2629
|
date: z.ZodOptional<z.ZodString>;
|
|
2534
2630
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2549,6 +2645,12 @@ export declare const OPS: {
|
|
|
2549
2645
|
owns_document: "owns_document";
|
|
2550
2646
|
participates_in: "participates_in";
|
|
2551
2647
|
derived_from: "derived_from";
|
|
2648
|
+
corrects: "corrects";
|
|
2649
|
+
supersedes: "supersedes";
|
|
2650
|
+
contradicts: "contradicts";
|
|
2651
|
+
fulfills: "fulfills";
|
|
2652
|
+
answers: "answers";
|
|
2653
|
+
caused_by: "caused_by";
|
|
2552
2654
|
}>>;
|
|
2553
2655
|
hops: z.ZodNumber;
|
|
2554
2656
|
confidence: z.ZodNumber;
|
|
@@ -2563,6 +2665,7 @@ export declare const OPS: {
|
|
|
2563
2665
|
document: z.ZodOptional<z.ZodString>;
|
|
2564
2666
|
event: z.ZodOptional<z.ZodString>;
|
|
2565
2667
|
fact: z.ZodOptional<z.ZodString>;
|
|
2668
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2566
2669
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2567
2670
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
2568
2671
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -2638,6 +2741,7 @@ export declare const OPS: {
|
|
|
2638
2741
|
kind: z.ZodEnum<{
|
|
2639
2742
|
event: "event";
|
|
2640
2743
|
fact: "fact";
|
|
2744
|
+
memory: "memory";
|
|
2641
2745
|
observation: "observation";
|
|
2642
2746
|
entity: "entity";
|
|
2643
2747
|
page: "page";
|
|
@@ -2664,6 +2768,7 @@ export declare const OPS: {
|
|
|
2664
2768
|
document: z.ZodOptional<z.ZodString>;
|
|
2665
2769
|
fact: z.ZodOptional<z.ZodString>;
|
|
2666
2770
|
event: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2667
2772
|
observation: z.ZodOptional<z.ZodString>;
|
|
2668
2773
|
date: z.ZodOptional<z.ZodString>;
|
|
2669
2774
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2679,6 +2784,7 @@ export declare const OPS: {
|
|
|
2679
2784
|
kind: z.ZodEnum<{
|
|
2680
2785
|
event: "event";
|
|
2681
2786
|
fact: "fact";
|
|
2787
|
+
memory: "memory";
|
|
2682
2788
|
observation: "observation";
|
|
2683
2789
|
entity: "entity";
|
|
2684
2790
|
page: "page";
|
|
@@ -2705,6 +2811,7 @@ export declare const OPS: {
|
|
|
2705
2811
|
document: z.ZodOptional<z.ZodString>;
|
|
2706
2812
|
fact: z.ZodOptional<z.ZodString>;
|
|
2707
2813
|
event: z.ZodOptional<z.ZodString>;
|
|
2814
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2708
2815
|
observation: z.ZodOptional<z.ZodString>;
|
|
2709
2816
|
date: z.ZodOptional<z.ZodString>;
|
|
2710
2817
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2720,6 +2827,7 @@ export declare const OPS: {
|
|
|
2720
2827
|
kind: z.ZodEnum<{
|
|
2721
2828
|
event: "event";
|
|
2722
2829
|
fact: "fact";
|
|
2830
|
+
memory: "memory";
|
|
2723
2831
|
observation: "observation";
|
|
2724
2832
|
entity: "entity";
|
|
2725
2833
|
page: "page";
|
|
@@ -2746,6 +2854,7 @@ export declare const OPS: {
|
|
|
2746
2854
|
document: z.ZodOptional<z.ZodString>;
|
|
2747
2855
|
fact: z.ZodOptional<z.ZodString>;
|
|
2748
2856
|
event: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2749
2858
|
observation: z.ZodOptional<z.ZodString>;
|
|
2750
2859
|
date: z.ZodOptional<z.ZodString>;
|
|
2751
2860
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2766,6 +2875,12 @@ export declare const OPS: {
|
|
|
2766
2875
|
owns_document: "owns_document";
|
|
2767
2876
|
participates_in: "participates_in";
|
|
2768
2877
|
derived_from: "derived_from";
|
|
2878
|
+
corrects: "corrects";
|
|
2879
|
+
supersedes: "supersedes";
|
|
2880
|
+
contradicts: "contradicts";
|
|
2881
|
+
fulfills: "fulfills";
|
|
2882
|
+
answers: "answers";
|
|
2883
|
+
caused_by: "caused_by";
|
|
2769
2884
|
}>>;
|
|
2770
2885
|
hops: z.ZodNumber;
|
|
2771
2886
|
confidence: z.ZodNumber;
|
|
@@ -2780,6 +2895,7 @@ export declare const OPS: {
|
|
|
2780
2895
|
document: z.ZodOptional<z.ZodString>;
|
|
2781
2896
|
event: z.ZodOptional<z.ZodString>;
|
|
2782
2897
|
fact: z.ZodOptional<z.ZodString>;
|
|
2898
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
2783
2899
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
2784
2900
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
2785
2901
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -2990,6 +3106,15 @@ export declare const OPS: {
|
|
|
2990
3106
|
}, z.core.$strip>], "type">>;
|
|
2991
3107
|
structure: z.ZodOptional<z.ZodString>;
|
|
2992
3108
|
searched: z.ZodArray<z.ZodString>;
|
|
3109
|
+
memory_view: z.ZodOptional<z.ZodEnum<{
|
|
3110
|
+
factual: "factual";
|
|
3111
|
+
history: "history";
|
|
3112
|
+
planning: "planning";
|
|
3113
|
+
reports: "reports";
|
|
3114
|
+
questions: "questions";
|
|
3115
|
+
discussion: "discussion";
|
|
3116
|
+
all: "all";
|
|
3117
|
+
}>>;
|
|
2993
3118
|
coverage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
2994
3119
|
qualification: z.ZodOptional<z.ZodObject<{
|
|
2995
3120
|
model: z.ZodEnum<{
|
|
@@ -3040,10 +3165,25 @@ export declare const OPS: {
|
|
|
3040
3165
|
owns_document: "owns_document";
|
|
3041
3166
|
participates_in: "participates_in";
|
|
3042
3167
|
derived_from: "derived_from";
|
|
3168
|
+
corrects: "corrects";
|
|
3169
|
+
supersedes: "supersedes";
|
|
3170
|
+
contradicts: "contradicts";
|
|
3171
|
+
fulfills: "fulfills";
|
|
3172
|
+
answers: "answers";
|
|
3173
|
+
caused_by: "caused_by";
|
|
3043
3174
|
}>>>;
|
|
3044
3175
|
max_hops: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
3045
3176
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
3046
3177
|
include_history: z.ZodOptional<z.ZodBoolean>;
|
|
3178
|
+
memory_view: z.ZodOptional<z.ZodEnum<{
|
|
3179
|
+
factual: "factual";
|
|
3180
|
+
history: "history";
|
|
3181
|
+
planning: "planning";
|
|
3182
|
+
reports: "reports";
|
|
3183
|
+
questions: "questions";
|
|
3184
|
+
discussion: "discussion";
|
|
3185
|
+
all: "all";
|
|
3186
|
+
}>>;
|
|
3047
3187
|
}, z.core.$strip>, z.ZodObject<{
|
|
3048
3188
|
status: z.ZodEnum<{
|
|
3049
3189
|
ok: "ok";
|
|
@@ -3062,6 +3202,7 @@ export declare const OPS: {
|
|
|
3062
3202
|
retain_verification_failed: "retain_verification_failed";
|
|
3063
3203
|
retain_apply_failed: "retain_apply_failed";
|
|
3064
3204
|
partial_temporal_index: "partial_temporal_index";
|
|
3205
|
+
partial_memory_index: "partial_memory_index";
|
|
3065
3206
|
timeline_range_limited: "timeline_range_limited";
|
|
3066
3207
|
expansion_failed: "expansion_failed";
|
|
3067
3208
|
no_vector_index: "no_vector_index";
|
|
@@ -3093,6 +3234,7 @@ export declare const OPS: {
|
|
|
3093
3234
|
kind: z.ZodEnum<{
|
|
3094
3235
|
event: "event";
|
|
3095
3236
|
fact: "fact";
|
|
3237
|
+
memory: "memory";
|
|
3096
3238
|
observation: "observation";
|
|
3097
3239
|
entity: "entity";
|
|
3098
3240
|
page: "page";
|
|
@@ -3119,6 +3261,7 @@ export declare const OPS: {
|
|
|
3119
3261
|
document: z.ZodOptional<z.ZodString>;
|
|
3120
3262
|
fact: z.ZodOptional<z.ZodString>;
|
|
3121
3263
|
event: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
3122
3265
|
observation: z.ZodOptional<z.ZodString>;
|
|
3123
3266
|
date: z.ZodOptional<z.ZodString>;
|
|
3124
3267
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3143,11 +3286,18 @@ export declare const OPS: {
|
|
|
3143
3286
|
owns_document: "owns_document";
|
|
3144
3287
|
participates_in: "participates_in";
|
|
3145
3288
|
derived_from: "derived_from";
|
|
3289
|
+
corrects: "corrects";
|
|
3290
|
+
supersedes: "supersedes";
|
|
3291
|
+
contradicts: "contradicts";
|
|
3292
|
+
fulfills: "fulfills";
|
|
3293
|
+
answers: "answers";
|
|
3294
|
+
caused_by: "caused_by";
|
|
3146
3295
|
}>;
|
|
3147
3296
|
predicate: z.ZodOptional<z.ZodString>;
|
|
3148
3297
|
confidence: z.ZodNumber;
|
|
3149
3298
|
derivation: z.ZodEnum<{
|
|
3150
3299
|
fact: "fact";
|
|
3300
|
+
memory: "memory";
|
|
3151
3301
|
structural: "structural";
|
|
3152
3302
|
}>;
|
|
3153
3303
|
resolution: z.ZodEnum<{
|
|
@@ -3165,6 +3315,7 @@ export declare const OPS: {
|
|
|
3165
3315
|
document: z.ZodOptional<z.ZodString>;
|
|
3166
3316
|
event: z.ZodOptional<z.ZodString>;
|
|
3167
3317
|
fact: z.ZodOptional<z.ZodString>;
|
|
3318
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
3168
3319
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
3169
3320
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
3170
3321
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -3190,6 +3341,7 @@ export declare const OPS: {
|
|
|
3190
3341
|
document: z.ZodOptional<z.ZodString>;
|
|
3191
3342
|
event: z.ZodOptional<z.ZodString>;
|
|
3192
3343
|
fact: z.ZodOptional<z.ZodString>;
|
|
3344
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
3193
3345
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
3194
3346
|
line_end: z.ZodOptional<z.ZodNumber>;
|
|
3195
3347
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -3203,6 +3355,7 @@ export declare const OPS: {
|
|
|
3203
3355
|
kind: z.ZodEnum<{
|
|
3204
3356
|
event: "event";
|
|
3205
3357
|
fact: "fact";
|
|
3358
|
+
memory: "memory";
|
|
3206
3359
|
observation: "observation";
|
|
3207
3360
|
entity: "entity";
|
|
3208
3361
|
page: "page";
|
|
@@ -3229,6 +3382,7 @@ export declare const OPS: {
|
|
|
3229
3382
|
document: z.ZodOptional<z.ZodString>;
|
|
3230
3383
|
fact: z.ZodOptional<z.ZodString>;
|
|
3231
3384
|
event: z.ZodOptional<z.ZodString>;
|
|
3385
|
+
memory: z.ZodOptional<z.ZodString>;
|
|
3232
3386
|
observation: z.ZodOptional<z.ZodString>;
|
|
3233
3387
|
date: z.ZodOptional<z.ZodString>;
|
|
3234
3388
|
line_start: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3247,6 +3401,15 @@ export declare const OPS: {
|
|
|
3247
3401
|
no_paths: "no_paths";
|
|
3248
3402
|
graph_index_unreadable: "graph_index_unreadable";
|
|
3249
3403
|
}>>;
|
|
3404
|
+
memory_view: z.ZodEnum<{
|
|
3405
|
+
factual: "factual";
|
|
3406
|
+
history: "history";
|
|
3407
|
+
planning: "planning";
|
|
3408
|
+
reports: "reports";
|
|
3409
|
+
questions: "questions";
|
|
3410
|
+
discussion: "discussion";
|
|
3411
|
+
all: "all";
|
|
3412
|
+
}>;
|
|
3250
3413
|
}, z.core.$strip>>;
|
|
3251
3414
|
readonly write: OpDefinition<z.ZodObject<{
|
|
3252
3415
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -3291,6 +3454,7 @@ export declare const OPS: {
|
|
|
3291
3454
|
retain_verification_failed: "retain_verification_failed";
|
|
3292
3455
|
retain_apply_failed: "retain_apply_failed";
|
|
3293
3456
|
partial_temporal_index: "partial_temporal_index";
|
|
3457
|
+
partial_memory_index: "partial_memory_index";
|
|
3294
3458
|
timeline_range_limited: "timeline_range_limited";
|
|
3295
3459
|
expansion_failed: "expansion_failed";
|
|
3296
3460
|
no_vector_index: "no_vector_index";
|
|
@@ -3404,6 +3568,7 @@ export declare const OPS: {
|
|
|
3404
3568
|
retain_verification_failed: "retain_verification_failed";
|
|
3405
3569
|
retain_apply_failed: "retain_apply_failed";
|
|
3406
3570
|
partial_temporal_index: "partial_temporal_index";
|
|
3571
|
+
partial_memory_index: "partial_memory_index";
|
|
3407
3572
|
timeline_range_limited: "timeline_range_limited";
|
|
3408
3573
|
expansion_failed: "expansion_failed";
|
|
3409
3574
|
no_vector_index: "no_vector_index";
|
|
@@ -3456,6 +3621,7 @@ export declare const OPS: {
|
|
|
3456
3621
|
retain_verification_failed: "retain_verification_failed";
|
|
3457
3622
|
retain_apply_failed: "retain_apply_failed";
|
|
3458
3623
|
partial_temporal_index: "partial_temporal_index";
|
|
3624
|
+
partial_memory_index: "partial_memory_index";
|
|
3459
3625
|
timeline_range_limited: "timeline_range_limited";
|
|
3460
3626
|
expansion_failed: "expansion_failed";
|
|
3461
3627
|
no_vector_index: "no_vector_index";
|
|
@@ -3766,6 +3932,7 @@ export declare const OPS: {
|
|
|
3766
3932
|
retain_verification_failed: "retain_verification_failed";
|
|
3767
3933
|
retain_apply_failed: "retain_apply_failed";
|
|
3768
3934
|
partial_temporal_index: "partial_temporal_index";
|
|
3935
|
+
partial_memory_index: "partial_memory_index";
|
|
3769
3936
|
timeline_range_limited: "timeline_range_limited";
|
|
3770
3937
|
expansion_failed: "expansion_failed";
|
|
3771
3938
|
no_vector_index: "no_vector_index";
|
|
@@ -3858,6 +4025,7 @@ export declare const OPS: {
|
|
|
3858
4025
|
retain_verification_failed: "retain_verification_failed";
|
|
3859
4026
|
retain_apply_failed: "retain_apply_failed";
|
|
3860
4027
|
partial_temporal_index: "partial_temporal_index";
|
|
4028
|
+
partial_memory_index: "partial_memory_index";
|
|
3861
4029
|
timeline_range_limited: "timeline_range_limited";
|
|
3862
4030
|
expansion_failed: "expansion_failed";
|
|
3863
4031
|
no_vector_index: "no_vector_index";
|
|
@@ -3922,6 +4090,7 @@ export declare const OPS: {
|
|
|
3922
4090
|
retain_verification_failed: "retain_verification_failed";
|
|
3923
4091
|
retain_apply_failed: "retain_apply_failed";
|
|
3924
4092
|
partial_temporal_index: "partial_temporal_index";
|
|
4093
|
+
partial_memory_index: "partial_memory_index";
|
|
3925
4094
|
timeline_range_limited: "timeline_range_limited";
|
|
3926
4095
|
expansion_failed: "expansion_failed";
|
|
3927
4096
|
no_vector_index: "no_vector_index";
|
|
@@ -3964,6 +4133,7 @@ export declare const OPS: {
|
|
|
3964
4133
|
retain_verification_failed: "retain_verification_failed";
|
|
3965
4134
|
retain_apply_failed: "retain_apply_failed";
|
|
3966
4135
|
partial_temporal_index: "partial_temporal_index";
|
|
4136
|
+
partial_memory_index: "partial_memory_index";
|
|
3967
4137
|
timeline_range_limited: "timeline_range_limited";
|
|
3968
4138
|
expansion_failed: "expansion_failed";
|
|
3969
4139
|
no_vector_index: "no_vector_index";
|
|
@@ -4006,6 +4176,7 @@ export declare const OPS: {
|
|
|
4006
4176
|
retain_verification_failed: "retain_verification_failed";
|
|
4007
4177
|
retain_apply_failed: "retain_apply_failed";
|
|
4008
4178
|
partial_temporal_index: "partial_temporal_index";
|
|
4179
|
+
partial_memory_index: "partial_memory_index";
|
|
4009
4180
|
timeline_range_limited: "timeline_range_limited";
|
|
4010
4181
|
expansion_failed: "expansion_failed";
|
|
4011
4182
|
no_vector_index: "no_vector_index";
|
|
@@ -4060,6 +4231,7 @@ export declare const OPS: {
|
|
|
4060
4231
|
retain_verification_failed: "retain_verification_failed";
|
|
4061
4232
|
retain_apply_failed: "retain_apply_failed";
|
|
4062
4233
|
partial_temporal_index: "partial_temporal_index";
|
|
4234
|
+
partial_memory_index: "partial_memory_index";
|
|
4063
4235
|
timeline_range_limited: "timeline_range_limited";
|
|
4064
4236
|
expansion_failed: "expansion_failed";
|
|
4065
4237
|
no_vector_index: "no_vector_index";
|
|
@@ -4150,6 +4322,7 @@ export declare const OPS: {
|
|
|
4150
4322
|
retain_verification_failed: "retain_verification_failed";
|
|
4151
4323
|
retain_apply_failed: "retain_apply_failed";
|
|
4152
4324
|
partial_temporal_index: "partial_temporal_index";
|
|
4325
|
+
partial_memory_index: "partial_memory_index";
|
|
4153
4326
|
timeline_range_limited: "timeline_range_limited";
|
|
4154
4327
|
expansion_failed: "expansion_failed";
|
|
4155
4328
|
no_vector_index: "no_vector_index";
|