tpmkms_4wp 9.1.1-beta.0 → 9.1.1-beta.10

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.
Files changed (43) hide show
  1. package/common/animals.instance.json +13 -0
  2. package/common/articles.js +1 -0
  3. package/common/asking.test.json +193 -72
  4. package/common/colors.instance.json +14 -28
  5. package/common/comparable.instance.json +3 -0
  6. package/common/concept.js +1 -1
  7. package/common/crew.instance.json +26 -0
  8. package/common/dialogues.js +2 -1
  9. package/common/dimension.instance.json +1 -0
  10. package/common/edible.instance.json +36 -56
  11. package/common/emotions.instance.json +1 -0
  12. package/common/events.js +3 -3
  13. package/common/events.test.json +107 -36
  14. package/common/fastfood.instance.json +1938 -13407
  15. package/common/fastfood.js +2 -1
  16. package/common/formulas.instance.json +1 -0
  17. package/common/formulas.js +3 -1
  18. package/common/formulas.test.json +643 -711
  19. package/common/helpers/concept.js +6 -2
  20. package/common/helpers/dialogues.js +1 -1
  21. package/common/helpers/menus.js +132 -0
  22. package/common/kirk.instance.json +1 -0
  23. package/common/length.instance.json +15 -0
  24. package/common/math.instance.json +1 -0
  25. package/common/menus.instance.json +6264 -1
  26. package/common/menus.js +148 -5
  27. package/common/menus.test.json +12297 -1
  28. package/common/ordering.instance.json +2 -0
  29. package/common/people.instance.json +96 -8
  30. package/common/pipboy.instance.json +21 -57
  31. package/common/pokemon.instance.json +13 -8
  32. package/common/pressure.instance.json +4 -0
  33. package/common/properties.instance.json +1 -0
  34. package/common/reports.instance.json +18 -23
  35. package/common/reports.js +12 -3
  36. package/common/sdefaults.js +25 -0
  37. package/common/spock.instance.json +1 -0
  38. package/common/temperature.instance.json +4 -112
  39. package/common/ui.instance.json +1 -0
  40. package/common/ui.js +3 -1
  41. package/common/weight.instance.json +14 -0
  42. package/common/wp.instance.json +28 -58
  43. package/package.json +3 -2
@@ -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,20 +6495,6 @@
6487
6495
  0
6488
6496
  ]
6489
6497
  ],
6490
- [
6491
- [
6492
- "is",
6493
- 0
6494
- ],
6495
- [
6496
- "list",
6497
- 1
6498
- ],
6499
- [
6500
- "unknown",
6501
- 0
6502
- ]
6503
- ],
6504
6498
  [
6505
6499
  [
6506
6500
  "is",
@@ -7991,6 +7985,7 @@
7991
7985
  "level": 1,
7992
7986
  "context_index": 1,
7993
7987
  "topLevel": true,
7988
+ "context_id": 2,
7994
7989
  "touchedBy": [
7995
7990
  "edible#call2"
7996
7991
  ]
@@ -9367,6 +9362,7 @@
9367
9362
  "level": 2,
9368
9363
  "context_index": 1,
9369
9364
  "topLevel": true,
9365
+ "context_id": 2,
9370
9366
  "touchedBy": [
9371
9367
  "edible#call2"
9372
9368
  ]
@@ -10800,6 +10796,7 @@
10800
10796
  "level": 2,
10801
10797
  "context_index": 1,
10802
10798
  "topLevel": true,
10799
+ "context_id": 2,
10803
10800
  "touchedBy": [
10804
10801
  "edible#call2"
10805
10802
  ]
@@ -12232,6 +12229,7 @@
12232
12229
  "level": 1,
12233
12230
  "context_index": 1,
12234
12231
  "topLevel": true,
12232
+ "context_id": 2,
12235
12233
  "touchedBy": [
12236
12234
  "edible#call2"
12237
12235
  ]
@@ -13787,6 +13785,7 @@
13787
13785
  "level": 2,
13788
13786
  "context_index": 1,
13789
13787
  "topLevel": true,
13788
+ "context_id": 2,
13790
13789
  "touchedBy": [
13791
13790
  "edible#call2"
13792
13791
  ]
@@ -15376,6 +15375,7 @@
15376
15375
  "level": 2,
15377
15376
  "context_index": 1,
15378
15377
  "topLevel": true,
15378
+ "context_id": 2,
15379
15379
  "touchedBy": [
15380
15380
  "edible#call2"
15381
15381
  ]
@@ -16970,6 +16970,7 @@
16970
16970
  "level": 2,
16971
16971
  "context_index": 1,
16972
16972
  "topLevel": true,
16973
+ "context_id": 2,
16973
16974
  "touchedBy": [
16974
16975
  "edible#call2"
16975
16976
  ]
@@ -18659,6 +18660,7 @@
18659
18660
  "level": 2,
18660
18661
  "context_index": 1,
18661
18662
  "topLevel": true,
18663
+ "context_id": 2,
18662
18664
  "touchedBy": [
18663
18665
  "edible#call2"
18664
18666
  ]
@@ -20469,6 +20471,7 @@
20469
20471
  "level": 1,
20470
20472
  "context_index": 1,
20471
20473
  "topLevel": true,
20474
+ "context_id": 2,
20472
20475
  "touchedBy": [
20473
20476
  "edible#call2"
20474
20477
  ]
@@ -22199,6 +22202,7 @@
22199
22202
  "level": 2,
22200
22203
  "context_index": 1,
22201
22204
  "topLevel": true,
22205
+ "context_id": 2,
22202
22206
  "touchedBy": [
22203
22207
  "edible#call2"
22204
22208
  ]
@@ -24475,6 +24479,7 @@
24475
24479
  "level": 2,
24476
24480
  "context_index": 1,
24477
24481
  "topLevel": true,
24482
+ "context_id": 2,
24478
24483
  "touchedBy": [
24479
24484
  "edible#call2"
24480
24485
  ]
@@ -24528,20 +24533,6 @@
24528
24533
  0
24529
24534
  ]
24530
24535
  ],
24531
- [
24532
- [
24533
- "is",
24534
- 0
24535
- ],
24536
- [
24537
- "list",
24538
- 1
24539
- ],
24540
- [
24541
- "unknown",
24542
- 0
24543
- ]
24544
- ],
24545
24536
  [
24546
24537
  [
24547
24538
  "is",
@@ -27718,6 +27709,7 @@
27718
27709
  },
27719
27710
  "types": [
27720
27711
  "list",
27712
+ "unknown",
27721
27713
  "vegetable"
27722
27714
  ],
27723
27715
  "listable": true,
@@ -27773,6 +27765,7 @@
27773
27765
  "level": 2,
27774
27766
  "context_index": 1,
27775
27767
  "topLevel": true,
27768
+ "context_id": 2,
27776
27769
  "touchedBy": [
27777
27770
  "edible#call2"
27778
27771
  ]
@@ -29990,6 +29983,7 @@
29990
29983
  "level": 1,
29991
29984
  "context_index": 1,
29992
29985
  "topLevel": true,
29986
+ "context_id": 2,
29993
29987
  "touchedBy": [
29994
29988
  "edible#call2"
29995
29989
  ]
@@ -32290,6 +32284,7 @@
32290
32284
  "end": 43
32291
32285
  },
32292
32286
  "types": [
32287
+ "french_toast",
32293
32288
  "list",
32294
32289
  "unknown"
32295
32290
  ],
@@ -32400,6 +32395,7 @@
32400
32395
  "level": 2,
32401
32396
  "context_index": 1,
32402
32397
  "topLevel": true,
32398
+ "context_id": 2,
32403
32399
  "touchedBy": [
32404
32400
  "edible#call2"
32405
32401
  ]
@@ -35189,6 +35185,7 @@
35189
35185
  "level": 2,
35190
35186
  "context_index": 1,
35191
35187
  "topLevel": true,
35188
+ "context_id": 2,
35192
35189
  "touchedBy": [
35193
35190
  "edible#call2"
35194
35191
  ]
@@ -37544,6 +37541,7 @@
37544
37541
  "level": 1,
37545
37542
  "context_index": 1,
37546
37543
  "topLevel": true,
37544
+ "context_id": 2,
37547
37545
  "touchedBy": [
37548
37546
  "edible#call2"
37549
37547
  ]
@@ -39995,6 +39993,7 @@
39995
39993
  "level": 2,
39996
39994
  "context_index": 1,
39997
39995
  "topLevel": true,
39996
+ "context_id": 2,
39998
39997
  "touchedBy": [
39999
39998
  "edible#call2"
40000
39999
  ]
@@ -42573,6 +42572,7 @@
42573
42572
  "level": 2,
42574
42573
  "context_index": 1,
42575
42574
  "topLevel": true,
42575
+ "context_id": 2,
42576
42576
  "touchedBy": [
42577
42577
  "edible#call2"
42578
42578
  ]
@@ -45175,6 +45175,7 @@
45175
45175
  "level": 2,
45176
45176
  "context_index": 1,
45177
45177
  "topLevel": true,
45178
+ "context_id": 2,
45178
45179
  "touchedBy": [
45179
45180
  "edible#call2"
45180
45181
  ]
@@ -47892,6 +47893,7 @@
47892
47893
  "level": 2,
47893
47894
  "context_index": 1,
47894
47895
  "topLevel": true,
47896
+ "context_id": 2,
47895
47897
  "touchedBy": [
47896
47898
  "edible#call2"
47897
47899
  ]
@@ -50602,6 +50604,7 @@
50602
50604
  "level": 2,
50603
50605
  "context_index": 1,
50604
50606
  "topLevel": true,
50607
+ "context_id": 2,
50605
50608
  "touchedBy": [
50606
50609
  "edible#call2"
50607
50610
  ]
@@ -53277,6 +53280,7 @@
53277
53280
  "level": 2,
53278
53281
  "context_index": 1,
53279
53282
  "topLevel": true,
53283
+ "context_id": 2,
53280
53284
  "touchedBy": [
53281
53285
  "edible#call2"
53282
53286
  ]
@@ -56809,6 +56813,7 @@
56809
56813
  "level": 2,
56810
56814
  "context_index": 1,
56811
56815
  "topLevel": true,
56816
+ "context_id": 2,
56812
56817
  "touchedBy": [
56813
56818
  "edible#call2"
56814
56819
  ]
@@ -61828,6 +61833,7 @@
61828
61833
  "level": 1,
61829
61834
  "context_index": 1,
61830
61835
  "topLevel": true,
61836
+ "context_id": 2,
61831
61837
  "touchedBy": [
61832
61838
  "edible#call2"
61833
61839
  ]
@@ -64730,6 +64736,7 @@
64730
64736
  "level": 1,
64731
64737
  "context_index": 1,
64732
64738
  "topLevel": true,
64739
+ "context_id": 2,
64733
64740
  "touchedBy": [
64734
64741
  "edible#call2"
64735
64742
  ]
@@ -67792,6 +67799,7 @@
67792
67799
  "level": 2,
67793
67800
  "context_index": 1,
67794
67801
  "topLevel": true,
67802
+ "context_id": 2,
67795
67803
  "touchedBy": [
67796
67804
  "edible#call2"
67797
67805
  ]
@@ -69092,34 +69100,6 @@
69092
69100
  0
69093
69101
  ]
69094
69102
  ],
69095
- [
69096
- [
69097
- "is",
69098
- 0
69099
- ],
69100
- [
69101
- "list",
69102
- 1
69103
- ],
69104
- [
69105
- "unknown",
69106
- 0
69107
- ]
69108
- ],
69109
- [
69110
- [
69111
- "is",
69112
- 0
69113
- ],
69114
- [
69115
- "list",
69116
- 1
69117
- ],
69118
- [
69119
- "unknown",
69120
- 0
69121
- ]
69122
- ],
69123
69103
  [
69124
69104
  [
69125
69105
  "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: ${JSON.stringify(context)}`
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
- context: defaultContextCheck(),
135
- },
134
+ context: defaultContextCheck(),
135
+ },
136
136
 
137
137
  },
138
138
  })