ekms 9.5.1-beta.4 → 9.5.1-beta.6

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 (70) hide show
  1. package/common/animals.instance.json +21 -61
  2. package/common/asking.js +102 -100
  3. package/common/can.instance.json +17 -0
  4. package/common/can.js +188 -0
  5. package/common/characters.js +3 -3
  6. package/common/colors.instance.json +38 -10
  7. package/common/comparable.instance.json +2 -2
  8. package/common/concept.test.json +54 -40
  9. package/common/conjunction.js +13 -5
  10. package/common/crew.instance.json +26 -26
  11. package/common/crew.js +1 -1
  12. package/common/currency.js +1 -1
  13. package/common/dates.instance.json +87 -3
  14. package/common/dialogues.js +11 -8
  15. package/common/dimension.instance.json +1 -1
  16. package/common/edible.instance.json +79 -95
  17. package/common/emotions.instance.json +6 -10
  18. package/common/emotions.js +1 -1
  19. package/common/english_helpers.js +277 -67
  20. package/common/fastfood.instance.json +235 -807
  21. package/common/fastfood.js +4 -4
  22. package/common/formulas.instance.json +1 -1
  23. package/common/gdefaults.js +41 -9
  24. package/common/help.js +2 -2
  25. package/common/helpers/concept.js +1 -1
  26. package/common/helpers/conjunction.js +54 -44
  27. package/common/helpers/dateTimeSelectors.js +2 -2
  28. package/common/helpers/dialogues.js +1 -1
  29. package/common/helpers/formulas.js +13 -11
  30. package/common/helpers/menus.js +12 -12
  31. package/common/helpers/meta.js +8 -8
  32. package/common/helpers/properties.js +76 -15
  33. package/common/helpers.js +82 -46
  34. package/common/hierarchy.js +3 -3
  35. package/common/kirk.instance.json +1 -1
  36. package/common/length.instance.json +2 -2
  37. package/common/math.instance.json +20 -20
  38. package/common/math.js +45 -44
  39. package/common/menus.instance.json +3 -3
  40. package/common/menus.js +1 -1
  41. package/common/meta.js +49 -33
  42. package/common/ordering.instance.json +16 -28
  43. package/common/ordering.js +1 -1
  44. package/common/ordering.test.json +354 -296
  45. package/common/people.instance.json +36 -47
  46. package/common/people.js +1 -1
  47. package/common/people.test.json +952 -681
  48. package/common/pipboy.instance.json +72 -16
  49. package/common/pokemon.instance.json +8 -8
  50. package/common/pokemon.js +1 -1
  51. package/common/pressure.instance.json +2 -2
  52. package/common/properties.instance.json +1 -1
  53. package/common/properties.js +16 -3
  54. package/common/reminders.js +1 -1
  55. package/common/reports.instance.json +3 -3
  56. package/common/reports.js +18 -16
  57. package/common/scorekeeper.js +4 -4
  58. package/common/sdefaults.js +22 -2
  59. package/common/spock.instance.json +1 -1
  60. package/common/stgame.js +1 -1
  61. package/common/stm.js +2 -2
  62. package/common/tell.js +1 -1
  63. package/common/temperature.instance.json +2 -2
  64. package/common/tester.js +3 -3
  65. package/common/time.js +3 -3
  66. package/common/tokenize.js +1 -1
  67. package/common/weight.instance.json +2 -2
  68. package/common/wp.instance.json +62 -6
  69. package/common/wp.js +4 -4
  70. package/package.json +4 -2
@@ -540,7 +540,7 @@
540
540
  "text": "food and drinks",
541
541
  "range": {
542
542
  "start": 0,
543
- "end": 25
543
+ "end": 14
544
544
  },
545
545
  "types": [
546
546
  "list",
@@ -3545,7 +3545,7 @@
3545
3545
  "text": "nuggets, chicken strips and chicken nuggets",
3546
3546
  "range": {
3547
3547
  "start": 0,
3548
- "end": 51
3548
+ "end": 42
3549
3549
  },
3550
3550
  "types": [
3551
3551
  "chicken_nugget",
@@ -5179,7 +5179,7 @@
5179
5179
  "word": "sushi",
5180
5180
  "range": {
5181
5181
  "start": 0,
5182
- "end": 12
5182
+ "end": 4
5183
5183
  },
5184
5184
  "dead": true,
5185
5185
  "types": [
@@ -6349,7 +6349,7 @@
6349
6349
  "text": "apples oranges and bananas",
6350
6350
  "range": {
6351
6351
  "start": 0,
6352
- "end": 35
6352
+ "end": 25
6353
6353
  },
6354
6354
  "types": [
6355
6355
  "list",
@@ -6462,6 +6462,20 @@
6462
6462
  0
6463
6463
  ]
6464
6464
  ],
6465
+ [
6466
+ [
6467
+ "is",
6468
+ 0
6469
+ ],
6470
+ [
6471
+ "list",
6472
+ 1
6473
+ ],
6474
+ [
6475
+ "unknown",
6476
+ 0
6477
+ ]
6478
+ ],
6465
6479
  [
6466
6480
  [
6467
6481
  "is",
@@ -9272,7 +9286,7 @@
9272
9286
  "word": "dogs",
9273
9287
  "range": {
9274
9288
  "start": 0,
9275
- "end": 20
9289
+ "end": 7
9276
9290
  },
9277
9291
  "types": [
9278
9292
  "dog",
@@ -10726,7 +10740,7 @@
10726
10740
  "word": "sausages",
10727
10741
  "range": {
10728
10742
  "start": 0,
10729
- "end": 16
10743
+ "end": 7
10730
10744
  },
10731
10745
  "dead": true,
10732
10746
  "types": [
@@ -13697,7 +13711,7 @@
13697
13711
  "word": "fries",
13698
13712
  "range": {
13699
13713
  "start": 0,
13700
- "end": 13
13714
+ "end": 4
13701
13715
  },
13702
13716
  "dead": true,
13703
13717
  "types": [
@@ -15283,7 +15297,7 @@
15283
15297
  "word": "meat",
15284
15298
  "range": {
15285
15299
  "start": 0,
15286
- "end": 11
15300
+ "end": 3
15287
15301
  },
15288
15302
  "dead": true,
15289
15303
  "types": [
@@ -16864,7 +16878,7 @@
16864
16878
  "word": "fruits",
16865
16879
  "range": {
16866
16880
  "start": 0,
16867
- "end": 14
16881
+ "end": 5
16868
16882
  },
16869
16883
  "dead": true,
16870
16884
  "types": [
@@ -18504,7 +18518,7 @@
18504
18518
  "text": "pie and salad",
18505
18519
  "range": {
18506
18520
  "start": 0,
18507
- "end": 22
18521
+ "end": 12
18508
18522
  },
18509
18523
  "types": [
18510
18524
  "list",
@@ -22054,7 +22068,7 @@
22054
22068
  "word": "sandwiches",
22055
22069
  "range": {
22056
22070
  "start": 0,
22057
- "end": 18
22071
+ "end": 9
22058
22072
  },
22059
22073
  "dead": true,
22060
22074
  "types": [
@@ -24188,7 +24202,7 @@
24188
24202
  "text": "carrots, peas, cabbage, potatoes and broccoli",
24189
24203
  "range": {
24190
24204
  "start": 0,
24191
- "end": 59
24205
+ "end": 44
24192
24206
  },
24193
24207
  "types": [
24194
24208
  "list",
@@ -24400,6 +24414,20 @@
24400
24414
  0
24401
24415
  ]
24402
24416
  ],
24417
+ [
24418
+ [
24419
+ "is",
24420
+ 0
24421
+ ],
24422
+ [
24423
+ "list",
24424
+ 1
24425
+ ],
24426
+ [
24427
+ "unknown",
24428
+ 0
24429
+ ]
24430
+ ],
24403
24431
  [
24404
24432
  [
24405
24433
  "is",
@@ -27568,7 +27596,7 @@
27568
27596
  "text": "vegetables and bread",
27569
27597
  "range": {
27570
27598
  "start": 0,
27571
- "end": 28
27599
+ "end": 19
27572
27600
  },
27573
27601
  "types": [
27574
27602
  "list",
@@ -32108,7 +32136,7 @@
32108
32136
  "text": "muffins, french toast and pancakes",
32109
32137
  "range": {
32110
32138
  "start": 0,
32111
- "end": 43
32139
+ "end": 33
32112
32140
  },
32113
32141
  "types": [
32114
32142
  "french_toast",
@@ -34956,7 +34984,7 @@
34956
34984
  "word": "grain",
34957
34985
  "range": {
34958
34986
  "start": 0,
34959
- "end": 14
34987
+ "end": 4
34960
34988
  },
34961
34989
  "dead": true,
34962
34990
  "types": [
@@ -39718,7 +39746,7 @@
39718
39746
  "word": "oatmeal",
39719
39747
  "range": {
39720
39748
  "start": 0,
39721
- "end": 24
39749
+ "end": 6
39722
39750
  },
39723
39751
  "dead": true,
39724
39752
  "types": [
@@ -42319,7 +42347,7 @@
42319
42347
  "word": "sausage",
42320
42348
  "range": {
42321
42349
  "start": 0,
42322
- "end": 16
42350
+ "end": 6
42323
42351
  },
42324
42352
  "dead": true,
42325
42353
  "types": [
@@ -44890,7 +44918,7 @@
44890
44918
  "word": "hamburger",
44891
44919
  "range": {
44892
44920
  "start": 0,
44893
- "end": 24
44921
+ "end": 10
44894
44922
  },
44895
44923
  "dead": true,
44896
44924
  "types": [
@@ -44990,24 +45018,6 @@
44990
45018
  0
44991
45019
  ]
44992
45020
  ],
44993
- [
44994
- [
44995
- "a",
44996
- 0
44997
- ],
44998
- [
44999
- "is",
45000
- 0
45001
- ],
45002
- [
45003
- "sandwich",
45004
- 0
45005
- ],
45006
- [
45007
- "unknown",
45008
- 0
45009
- ]
45010
- ],
45011
45021
  [
45012
45022
  [
45013
45023
  "is",
@@ -47612,7 +47622,7 @@
47612
47622
  "word": "cheeseburger",
47613
47623
  "range": {
47614
47624
  "start": 0,
47615
- "end": 28
47625
+ "end": 13
47616
47626
  },
47617
47627
  "dead": true,
47618
47628
  "types": [
@@ -47712,24 +47722,6 @@
47712
47722
  0
47713
47723
  ]
47714
47724
  ],
47715
- [
47716
- [
47717
- "a",
47718
- 0
47719
- ],
47720
- [
47721
- "hamburger",
47722
- 0
47723
- ],
47724
- [
47725
- "is",
47726
- 0
47727
- ],
47728
- [
47729
- "unknown",
47730
- 0
47731
- ]
47732
- ],
47733
47725
  [
47734
47726
  [
47735
47727
  "hamburger",
@@ -50345,7 +50337,7 @@
50345
50337
  "word": "cheese",
50346
50338
  "range": {
50347
50339
  "start": 0,
50348
- "end": 15
50340
+ "end": 5
50349
50341
  },
50350
50342
  "dead": true,
50351
50343
  "types": [
@@ -53007,7 +52999,7 @@
53007
52999
  "word": "cheddar",
53008
53000
  "range": {
53009
53001
  "start": 0,
53010
- "end": 18
53002
+ "end": 6
53011
53003
  },
53012
53004
  "dead": true,
53013
53005
  "types": [
@@ -56352,7 +56344,7 @@
56352
56344
  "text": "milk, pop, soda, coffee, tea, shakes and juice",
56353
56345
  "range": {
56354
56346
  "start": 0,
56355
- "end": 56
56347
+ "end": 45
56356
56348
  },
56357
56349
  "types": [
56358
56350
  "list",
@@ -67470,7 +67462,7 @@
67470
67462
  "word": "lemonade",
67471
67463
  "range": {
67472
67464
  "start": 0,
67473
- "end": 18
67465
+ "end": 7
67474
67466
  },
67475
67467
  "dead": true,
67476
67468
  "types": [
@@ -67928,24 +67920,6 @@
67928
67920
  0
67929
67921
  ]
67930
67922
  ],
67931
- [
67932
- [
67933
- "a",
67934
- 0
67935
- ],
67936
- [
67937
- "hamburger",
67938
- 0
67939
- ],
67940
- [
67941
- "is",
67942
- 0
67943
- ],
67944
- [
67945
- "unknown",
67946
- 0
67947
- ]
67948
- ],
67949
67923
  [
67950
67924
  [
67951
67925
  "a",
@@ -67982,24 +67956,6 @@
67982
67956
  0
67983
67957
  ]
67984
67958
  ],
67985
- [
67986
- [
67987
- "a",
67988
- 0
67989
- ],
67990
- [
67991
- "is",
67992
- 0
67993
- ],
67994
- [
67995
- "sandwich",
67996
- 0
67997
- ],
67998
- [
67999
- "unknown",
68000
- 0
68001
- ]
68002
- ],
68003
67959
  [
68004
67960
  [
68005
67961
  "apple",
@@ -68766,6 +68722,34 @@
68766
68722
  0
68767
68723
  ]
68768
68724
  ],
68725
+ [
68726
+ [
68727
+ "is",
68728
+ 0
68729
+ ],
68730
+ [
68731
+ "list",
68732
+ 1
68733
+ ],
68734
+ [
68735
+ "unknown",
68736
+ 0
68737
+ ]
68738
+ ],
68739
+ [
68740
+ [
68741
+ "is",
68742
+ 0
68743
+ ],
68744
+ [
68745
+ "list",
68746
+ 1
68747
+ ],
68748
+ [
68749
+ "unknown",
68750
+ 0
68751
+ ]
68752
+ ],
68769
68753
  [
68770
68754
  [
68771
68755
  "is",
@@ -730,12 +730,7 @@
730
730
  },
731
731
  "do": {
732
732
  "left": "sentientBeing",
733
- "right": "emotion",
734
- "range": {
735
- "start": 0,
736
- "end": 28
737
- },
738
- "text": "sentientbeing1 feels emotion1"
733
+ "right": "emotion"
739
734
  },
740
735
  "sentientBeing": {
741
736
  "value": "sentientbeing1",
@@ -779,8 +774,8 @@
779
774
  "marker": "feel",
780
775
  "word": "feels",
781
776
  "range": {
782
- "start": 0,
783
- "end": 28
777
+ "start": 15,
778
+ "end": 19
784
779
  },
785
780
  "evaluateWord": true,
786
781
  "imperative": false,
@@ -800,7 +795,8 @@
800
795
  "property": "sentientBeing"
801
796
  },
802
797
  {
803
- "property": "operator"
798
+ "property": "operator",
799
+ "number": "sentientBeing"
804
800
  },
805
801
  {
806
802
  "property": "emotion"
@@ -827,7 +823,7 @@
827
823
  "word": "emotion",
828
824
  "range": {
829
825
  "start": 36,
830
- "end": 76
826
+ "end": 64
831
827
  },
832
828
  "dead": true,
833
829
  "types": [
@@ -40,7 +40,7 @@ const config = {
40
40
  ],
41
41
  }
42
42
 
43
- const initializer = ({config, apis}) => {
43
+ function initializer({config, apis}) {
44
44
  const api = apis('properties')
45
45
  api.createActionPrefix({
46
46
  operator: 'feel',