tpmkms_4wp 9.1.1 → 9.2.0-beta.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/common/animals.instance.json +13 -0
- package/common/articles.js +3 -0
- package/common/asking.test.json +193 -72
- package/common/avatar.js +0 -6
- package/common/colors.instance.json +42 -0
- package/common/comparable.instance.json +3 -0
- package/common/comparable.js +6 -0
- package/common/concept.js +1 -1
- package/common/crew.instance.json +26 -39
- package/common/crew.js +0 -7
- package/common/dialogues.js +2 -1
- package/common/dimension.instance.json +1 -0
- package/common/edible.instance.json +92 -0
- package/common/emotions.instance.json +1 -0
- package/common/events.js +3 -3
- package/common/events.test.json +107 -36
- package/common/fastfood.instance.json +1053 -12554
- package/common/fastfood.js +2 -1
- package/common/formulas.instance.json +1 -0
- package/common/formulas.js +3 -1
- package/common/formulas.test.json +643 -711
- package/common/helpers/concept.js +6 -2
- package/common/helpers/dialogues.js +1 -1
- package/common/helpers/menus.js +154 -0
- package/common/helpers.js +16 -0
- package/common/kirk.instance.json +1 -0
- package/common/length.instance.json +15 -0
- package/common/math.instance.json +1 -0
- package/common/menus.instance.json +10097 -0
- package/common/menus.js +260 -0
- package/common/menus.test.json +26163 -0
- package/common/negation.js +5 -0
- package/common/ordering.instance.json +2 -0
- package/common/people.instance.json +96 -8
- package/common/pipboy.instance.json +105 -123
- package/common/pipboy.js +0 -7
- package/common/pokemon.instance.json +13 -8
- package/common/pressure.instance.json +4 -0
- package/common/properties.instance.json +1 -0
- package/common/properties.js +1 -0
- package/common/reports.instance.json +18 -23
- package/common/reports.js +12 -3
- package/common/sdefaults.js +28 -3
- package/common/spock.instance.json +1 -0
- package/common/stm.js +2 -1
- package/common/temperature.instance.json +4 -0
- package/common/tester.js +24 -2
- package/common/ui.instance.json +446 -0
- package/common/ui.js +9 -4
- package/common/ui.test.json +6794 -0
- package/common/weight.instance.json +14 -0
- package/common/wp.instance.json +6262 -2
- package/main.js +2 -0
- package/package.json +8 -3
@@ -610,6 +610,7 @@
|
|
610
610
|
"level": 2,
|
611
611
|
"context_index": 1,
|
612
612
|
"topLevel": true,
|
613
|
+
"context_id": 2,
|
613
614
|
"touchedBy": [
|
614
615
|
"edible#call2"
|
615
616
|
]
|
@@ -1536,6 +1537,7 @@
|
|
1536
1537
|
"level": 1,
|
1537
1538
|
"context_index": 1,
|
1538
1539
|
"topLevel": true,
|
1540
|
+
"context_id": 2,
|
1539
1541
|
"touchedBy": [
|
1540
1542
|
"edible#call2"
|
1541
1543
|
]
|
@@ -2414,6 +2416,7 @@
|
|
2414
2416
|
"level": 1,
|
2415
2417
|
"context_index": 1,
|
2416
2418
|
"topLevel": true,
|
2419
|
+
"context_id": 2,
|
2417
2420
|
"touchedBy": [
|
2418
2421
|
"edible#call2"
|
2419
2422
|
]
|
@@ -3562,6 +3565,8 @@
|
|
3562
3565
|
"end": 51
|
3563
3566
|
},
|
3564
3567
|
"types": [
|
3568
|
+
"chicken_nugget",
|
3569
|
+
"chicken_strip",
|
3565
3570
|
"list",
|
3566
3571
|
"nugget"
|
3567
3572
|
],
|
@@ -3692,6 +3697,7 @@
|
|
3692
3697
|
"level": 2,
|
3693
3698
|
"context_index": 1,
|
3694
3699
|
"topLevel": true,
|
3700
|
+
"context_id": 2,
|
3695
3701
|
"touchedBy": [
|
3696
3702
|
"edible#call2"
|
3697
3703
|
]
|
@@ -5221,6 +5227,7 @@
|
|
5221
5227
|
"level": 2,
|
5222
5228
|
"context_index": 1,
|
5223
5229
|
"topLevel": true,
|
5230
|
+
"context_id": 2,
|
5224
5231
|
"touchedBy": [
|
5225
5232
|
"edible#call2"
|
5226
5233
|
]
|
@@ -6456,6 +6463,7 @@
|
|
6456
6463
|
"level": 2,
|
6457
6464
|
"context_index": 1,
|
6458
6465
|
"topLevel": true,
|
6466
|
+
"context_id": 2,
|
6459
6467
|
"touchedBy": [
|
6460
6468
|
"edible#call2"
|
6461
6469
|
]
|
@@ -6487,6 +6495,20 @@
|
|
6487
6495
|
0
|
6488
6496
|
]
|
6489
6497
|
],
|
6498
|
+
[
|
6499
|
+
[
|
6500
|
+
"is",
|
6501
|
+
0
|
6502
|
+
],
|
6503
|
+
[
|
6504
|
+
"list",
|
6505
|
+
1
|
6506
|
+
],
|
6507
|
+
[
|
6508
|
+
"unknown",
|
6509
|
+
0
|
6510
|
+
]
|
6511
|
+
],
|
6490
6512
|
[
|
6491
6513
|
[
|
6492
6514
|
"is",
|
@@ -7977,6 +7999,7 @@
|
|
7977
7999
|
"level": 1,
|
7978
8000
|
"context_index": 1,
|
7979
8001
|
"topLevel": true,
|
8002
|
+
"context_id": 2,
|
7980
8003
|
"touchedBy": [
|
7981
8004
|
"edible#call2"
|
7982
8005
|
]
|
@@ -9353,6 +9376,7 @@
|
|
9353
9376
|
"level": 2,
|
9354
9377
|
"context_index": 1,
|
9355
9378
|
"topLevel": true,
|
9379
|
+
"context_id": 2,
|
9356
9380
|
"touchedBy": [
|
9357
9381
|
"edible#call2"
|
9358
9382
|
]
|
@@ -10786,6 +10810,7 @@
|
|
10786
10810
|
"level": 2,
|
10787
10811
|
"context_index": 1,
|
10788
10812
|
"topLevel": true,
|
10813
|
+
"context_id": 2,
|
10789
10814
|
"touchedBy": [
|
10790
10815
|
"edible#call2"
|
10791
10816
|
]
|
@@ -12218,6 +12243,7 @@
|
|
12218
12243
|
"level": 1,
|
12219
12244
|
"context_index": 1,
|
12220
12245
|
"topLevel": true,
|
12246
|
+
"context_id": 2,
|
12221
12247
|
"touchedBy": [
|
12222
12248
|
"edible#call2"
|
12223
12249
|
]
|
@@ -13773,6 +13799,7 @@
|
|
13773
13799
|
"level": 2,
|
13774
13800
|
"context_index": 1,
|
13775
13801
|
"topLevel": true,
|
13802
|
+
"context_id": 2,
|
13776
13803
|
"touchedBy": [
|
13777
13804
|
"edible#call2"
|
13778
13805
|
]
|
@@ -15362,6 +15389,7 @@
|
|
15362
15389
|
"level": 2,
|
15363
15390
|
"context_index": 1,
|
15364
15391
|
"topLevel": true,
|
15392
|
+
"context_id": 2,
|
15365
15393
|
"touchedBy": [
|
15366
15394
|
"edible#call2"
|
15367
15395
|
]
|
@@ -16956,6 +16984,7 @@
|
|
16956
16984
|
"level": 2,
|
16957
16985
|
"context_index": 1,
|
16958
16986
|
"topLevel": true,
|
16987
|
+
"context_id": 2,
|
16959
16988
|
"touchedBy": [
|
16960
16989
|
"edible#call2"
|
16961
16990
|
]
|
@@ -18645,6 +18674,7 @@
|
|
18645
18674
|
"level": 2,
|
18646
18675
|
"context_index": 1,
|
18647
18676
|
"topLevel": true,
|
18677
|
+
"context_id": 2,
|
18648
18678
|
"touchedBy": [
|
18649
18679
|
"edible#call2"
|
18650
18680
|
]
|
@@ -20455,6 +20485,7 @@
|
|
20455
20485
|
"level": 1,
|
20456
20486
|
"context_index": 1,
|
20457
20487
|
"topLevel": true,
|
20488
|
+
"context_id": 2,
|
20458
20489
|
"touchedBy": [
|
20459
20490
|
"edible#call2"
|
20460
20491
|
]
|
@@ -22185,6 +22216,7 @@
|
|
22185
22216
|
"level": 2,
|
22186
22217
|
"context_index": 1,
|
22187
22218
|
"topLevel": true,
|
22219
|
+
"context_id": 2,
|
22188
22220
|
"touchedBy": [
|
22189
22221
|
"edible#call2"
|
22190
22222
|
]
|
@@ -24461,6 +24493,7 @@
|
|
24461
24493
|
"level": 2,
|
24462
24494
|
"context_index": 1,
|
24463
24495
|
"topLevel": true,
|
24496
|
+
"context_id": 2,
|
24464
24497
|
"touchedBy": [
|
24465
24498
|
"edible#call2"
|
24466
24499
|
]
|
@@ -24514,6 +24547,20 @@
|
|
24514
24547
|
0
|
24515
24548
|
]
|
24516
24549
|
],
|
24550
|
+
[
|
24551
|
+
[
|
24552
|
+
"is",
|
24553
|
+
0
|
24554
|
+
],
|
24555
|
+
[
|
24556
|
+
"list",
|
24557
|
+
1
|
24558
|
+
],
|
24559
|
+
[
|
24560
|
+
"unknown",
|
24561
|
+
0
|
24562
|
+
]
|
24563
|
+
],
|
24517
24564
|
[
|
24518
24565
|
[
|
24519
24566
|
"is",
|
@@ -27690,6 +27737,7 @@
|
|
27690
27737
|
},
|
27691
27738
|
"types": [
|
27692
27739
|
"list",
|
27740
|
+
"unknown",
|
27693
27741
|
"vegetable"
|
27694
27742
|
],
|
27695
27743
|
"listable": true,
|
@@ -27745,6 +27793,7 @@
|
|
27745
27793
|
"level": 2,
|
27746
27794
|
"context_index": 1,
|
27747
27795
|
"topLevel": true,
|
27796
|
+
"context_id": 2,
|
27748
27797
|
"touchedBy": [
|
27749
27798
|
"edible#call2"
|
27750
27799
|
]
|
@@ -29962,6 +30011,7 @@
|
|
29962
30011
|
"level": 1,
|
29963
30012
|
"context_index": 1,
|
29964
30013
|
"topLevel": true,
|
30014
|
+
"context_id": 2,
|
29965
30015
|
"touchedBy": [
|
29966
30016
|
"edible#call2"
|
29967
30017
|
]
|
@@ -32262,6 +32312,7 @@
|
|
32262
32312
|
"end": 43
|
32263
32313
|
},
|
32264
32314
|
"types": [
|
32315
|
+
"french_toast",
|
32265
32316
|
"list",
|
32266
32317
|
"unknown"
|
32267
32318
|
],
|
@@ -32372,6 +32423,7 @@
|
|
32372
32423
|
"level": 2,
|
32373
32424
|
"context_index": 1,
|
32374
32425
|
"topLevel": true,
|
32426
|
+
"context_id": 2,
|
32375
32427
|
"touchedBy": [
|
32376
32428
|
"edible#call2"
|
32377
32429
|
]
|
@@ -35161,6 +35213,7 @@
|
|
35161
35213
|
"level": 2,
|
35162
35214
|
"context_index": 1,
|
35163
35215
|
"topLevel": true,
|
35216
|
+
"context_id": 2,
|
35164
35217
|
"touchedBy": [
|
35165
35218
|
"edible#call2"
|
35166
35219
|
]
|
@@ -37516,6 +37569,7 @@
|
|
37516
37569
|
"level": 1,
|
37517
37570
|
"context_index": 1,
|
37518
37571
|
"topLevel": true,
|
37572
|
+
"context_id": 2,
|
37519
37573
|
"touchedBy": [
|
37520
37574
|
"edible#call2"
|
37521
37575
|
]
|
@@ -39967,6 +40021,7 @@
|
|
39967
40021
|
"level": 2,
|
39968
40022
|
"context_index": 1,
|
39969
40023
|
"topLevel": true,
|
40024
|
+
"context_id": 2,
|
39970
40025
|
"touchedBy": [
|
39971
40026
|
"edible#call2"
|
39972
40027
|
]
|
@@ -42545,6 +42600,7 @@
|
|
42545
42600
|
"level": 2,
|
42546
42601
|
"context_index": 1,
|
42547
42602
|
"topLevel": true,
|
42603
|
+
"context_id": 2,
|
42548
42604
|
"touchedBy": [
|
42549
42605
|
"edible#call2"
|
42550
42606
|
]
|
@@ -45147,6 +45203,7 @@
|
|
45147
45203
|
"level": 2,
|
45148
45204
|
"context_index": 1,
|
45149
45205
|
"topLevel": true,
|
45206
|
+
"context_id": 2,
|
45150
45207
|
"touchedBy": [
|
45151
45208
|
"edible#call2"
|
45152
45209
|
]
|
@@ -47864,6 +47921,7 @@
|
|
47864
47921
|
"level": 2,
|
47865
47922
|
"context_index": 1,
|
47866
47923
|
"topLevel": true,
|
47924
|
+
"context_id": 2,
|
47867
47925
|
"touchedBy": [
|
47868
47926
|
"edible#call2"
|
47869
47927
|
]
|
@@ -50574,6 +50632,7 @@
|
|
50574
50632
|
"level": 2,
|
50575
50633
|
"context_index": 1,
|
50576
50634
|
"topLevel": true,
|
50635
|
+
"context_id": 2,
|
50577
50636
|
"touchedBy": [
|
50578
50637
|
"edible#call2"
|
50579
50638
|
]
|
@@ -53249,6 +53308,7 @@
|
|
53249
53308
|
"level": 2,
|
53250
53309
|
"context_index": 1,
|
53251
53310
|
"topLevel": true,
|
53311
|
+
"context_id": 2,
|
53252
53312
|
"touchedBy": [
|
53253
53313
|
"edible#call2"
|
53254
53314
|
]
|
@@ -56781,6 +56841,7 @@
|
|
56781
56841
|
"level": 2,
|
56782
56842
|
"context_index": 1,
|
56783
56843
|
"topLevel": true,
|
56844
|
+
"context_id": 2,
|
56784
56845
|
"touchedBy": [
|
56785
56846
|
"edible#call2"
|
56786
56847
|
]
|
@@ -61800,6 +61861,7 @@
|
|
61800
61861
|
"level": 1,
|
61801
61862
|
"context_index": 1,
|
61802
61863
|
"topLevel": true,
|
61864
|
+
"context_id": 2,
|
61803
61865
|
"touchedBy": [
|
61804
61866
|
"edible#call2"
|
61805
61867
|
]
|
@@ -64702,6 +64764,7 @@
|
|
64702
64764
|
"level": 1,
|
64703
64765
|
"context_index": 1,
|
64704
64766
|
"topLevel": true,
|
64767
|
+
"context_id": 2,
|
64705
64768
|
"touchedBy": [
|
64706
64769
|
"edible#call2"
|
64707
64770
|
]
|
@@ -67764,6 +67827,7 @@
|
|
67764
67827
|
"level": 2,
|
67765
67828
|
"context_index": 1,
|
67766
67829
|
"topLevel": true,
|
67830
|
+
"context_id": 2,
|
67767
67831
|
"touchedBy": [
|
67768
67832
|
"edible#call2"
|
67769
67833
|
]
|
@@ -69064,6 +69128,34 @@
|
|
69064
69128
|
0
|
69065
69129
|
]
|
69066
69130
|
],
|
69131
|
+
[
|
69132
|
+
[
|
69133
|
+
"is",
|
69134
|
+
0
|
69135
|
+
],
|
69136
|
+
[
|
69137
|
+
"list",
|
69138
|
+
1
|
69139
|
+
],
|
69140
|
+
[
|
69141
|
+
"unknown",
|
69142
|
+
0
|
69143
|
+
]
|
69144
|
+
],
|
69145
|
+
[
|
69146
|
+
[
|
69147
|
+
"is",
|
69148
|
+
0
|
69149
|
+
],
|
69150
|
+
[
|
69151
|
+
"list",
|
69152
|
+
1
|
69153
|
+
],
|
69154
|
+
[
|
69155
|
+
"unknown",
|
69156
|
+
0
|
69157
|
+
]
|
69158
|
+
],
|
69067
69159
|
[
|
69068
69160
|
[
|
69069
69161
|
"is",
|
@@ -913,6 +913,7 @@
|
|
913
913
|
"level": 1,
|
914
914
|
"context_index": 1,
|
915
915
|
"topLevel": true,
|
916
|
+
"context_id": 2,
|
916
917
|
"metaInfo": "The mapping from from the expression being defined \"sentientbeing1 feels emotion1\" to the definition phrase \"the emotion of sentientbeing1 is emotion1\" is [{\"from\":[\"sentientBeing\"],\"to\":[\"one\",\"object\"]},{\"from\":[\"emotion\"],\"to\":[\"two\"]},{\"from\":[\"number\"],\"to\":[\"number\"]}]",
|
917
918
|
"touchedBy": [
|
918
919
|
"emotions#call2"
|
package/common/events.js
CHANGED
@@ -58,7 +58,7 @@ const config = {
|
|
58
58
|
notes: 'paraphrase for events',
|
59
59
|
where: where(),
|
60
60
|
match: ({context, isA}) => isA(context.marker, 'event') && context.event,
|
61
|
-
apply: ({context}) => `event happened: ${
|
61
|
+
apply: ({context}) => `event happened: ${context.marker}`
|
62
62
|
}
|
63
63
|
]
|
64
64
|
},
|
@@ -131,8 +131,8 @@ knowledgeModule({
|
|
131
131
|
words: true,
|
132
132
|
},
|
133
133
|
checks: {
|
134
|
-
|
135
|
-
|
134
|
+
context: defaultContextCheck(),
|
135
|
+
},
|
136
136
|
|
137
137
|
},
|
138
138
|
})
|