ekms 9.6.0-beta.1 → 9.6.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.
Files changed (80) hide show
  1. package/common/animals.instance.json +0 -130
  2. package/common/animals.js +5 -3
  3. package/common/can.instance.json +0 -20
  4. package/common/can.js +5 -2
  5. package/common/colors.instance.json +0 -140
  6. package/common/colors.js +6 -3
  7. package/common/comparable.instance.json +0 -30
  8. package/common/comparable.js +6 -3
  9. package/common/crew.instance.json +36 -260
  10. package/common/crew.js +6 -3
  11. package/common/dateTimeSelectors.js +6 -3
  12. package/common/dates.instance.json +0 -50
  13. package/common/dates.js +6 -3
  14. package/common/dialogues.js +3 -2
  15. package/common/dialogues.test.json +226 -147
  16. package/common/dimension.instance.json +0 -120
  17. package/common/dimension.js +1 -2
  18. package/common/dimension.test.json +2387 -3483
  19. package/common/drone.instance.json +36 -1033
  20. package/common/drone.js +125 -339
  21. package/common/drone.test.json +40834 -4691
  22. package/common/edible.instance.json +0 -356
  23. package/common/edible.js +5 -3
  24. package/common/emotions.instance.json +0 -10
  25. package/common/emotions.js +6 -3
  26. package/common/fastfood.instance.json +437 -971
  27. package/common/fastfood.js +5 -3
  28. package/common/formulas.instance.json +0 -10
  29. package/common/formulas.js +1 -2
  30. package/common/helpers/dialogues.js +0 -3
  31. package/common/helpers/properties.js +2 -1
  32. package/common/hierarchy.js +7 -7
  33. package/common/kirk.instance.json +0 -10
  34. package/common/kirk.js +6 -4
  35. package/common/latin.js +5 -3
  36. package/common/length.instance.json +2064 -8844
  37. package/common/length.js +5 -5
  38. package/common/length.test.json +0 -10410
  39. package/common/math.instance.json +0 -10
  40. package/common/math.js +1 -2
  41. package/common/menus.instance.json +0 -70
  42. package/common/menus.js +4 -2
  43. package/common/meta.js +5 -3
  44. package/common/nameable.js +9 -16
  45. package/common/ordering.instance.json +0 -20
  46. package/common/ordering.js +5 -3
  47. package/common/people.instance.json +0 -80
  48. package/common/people.js +5 -3
  49. package/common/pipboy.instance.json +0 -170
  50. package/common/pipboy.js +1 -2
  51. package/common/pokemon.instance.json +0 -130
  52. package/common/pokemon.js +5 -3
  53. package/common/pressure.instance.json +0 -40
  54. package/common/pressure.js +5 -3
  55. package/common/properties.instance.json +0 -10
  56. package/common/properties.js +6 -7
  57. package/common/rates.js +5 -3
  58. package/common/reminders.js +6 -3
  59. package/common/reports.instance.json +2 -22
  60. package/common/reports.js +5 -3
  61. package/common/scorekeeper.js +6 -3
  62. package/common/spock.instance.json +0 -10
  63. package/common/spock.js +7 -4
  64. package/common/stm.js +18 -24
  65. package/common/temperature.instance.json +0 -40
  66. package/common/temperature.js +5 -3
  67. package/common/time.instance.json +0 -90
  68. package/common/time.js +1 -2
  69. package/common/ui.instance.json +0 -10
  70. package/common/ui.js +5 -3
  71. package/common/weight.instance.json +0 -120
  72. package/common/weight.js +5 -3
  73. package/common/words.js +6 -3
  74. package/common/wp.instance.json +0 -140
  75. package/common/wp.js +4 -2
  76. package/main.js +0 -2
  77. package/package.json +3 -7
  78. package/common/drone_v1.instance.json +0 -24703
  79. package/common/drone_v1.js +0 -596
  80. package/common/drone_v1.test.json +0 -115538
@@ -242,16 +242,6 @@
242
242
  "adjective",
243
243
  false
244
244
  ],
245
- [
246
- "stm_current",
247
- "adjective",
248
- false
249
- ],
250
- [
251
- "stm_previous",
252
- "adjective",
253
- false
254
- ],
255
245
  [
256
246
  "that",
257
247
  "thisitthat",
@@ -1247,16 +1237,6 @@
1247
1237
  "adjective",
1248
1238
  false
1249
1239
  ],
1250
- [
1251
- "stm_current",
1252
- "adjective",
1253
- false
1254
- ],
1255
- [
1256
- "stm_previous",
1257
- "adjective",
1258
- false
1259
- ],
1260
1240
  [
1261
1241
  "that",
1262
1242
  "thisitthat",
@@ -2003,16 +1983,6 @@
2003
1983
  "adjective",
2004
1984
  false
2005
1985
  ],
2006
- [
2007
- "stm_current",
2008
- "adjective",
2009
- false
2010
- ],
2011
- [
2012
- "stm_previous",
2013
- "adjective",
2014
- false
2015
- ],
2016
1986
  [
2017
1987
  "that",
2018
1988
  "thisitthat",
@@ -2759,16 +2729,6 @@
2759
2729
  "adjective",
2760
2730
  false
2761
2731
  ],
2762
- [
2763
- "stm_current",
2764
- "adjective",
2765
- false
2766
- ],
2767
- [
2768
- "stm_previous",
2769
- "adjective",
2770
- false
2771
- ],
2772
2732
  [
2773
2733
  "that",
2774
2734
  "thisitthat",
@@ -3628,16 +3588,6 @@
3628
3588
  "adjective",
3629
3589
  false
3630
3590
  ],
3631
- [
3632
- "stm_current",
3633
- "adjective",
3634
- false
3635
- ],
3636
- [
3637
- "stm_previous",
3638
- "adjective",
3639
- false
3640
- ],
3641
3591
  [
3642
3592
  "that",
3643
3593
  "thisitthat",
@@ -4384,16 +4334,6 @@
4384
4334
  "adjective",
4385
4335
  false
4386
4336
  ],
4387
- [
4388
- "stm_current",
4389
- "adjective",
4390
- false
4391
- ],
4392
- [
4393
- "stm_previous",
4394
- "adjective",
4395
- false
4396
- ],
4397
4337
  [
4398
4338
  "that",
4399
4339
  "thisitthat",
@@ -5140,16 +5080,6 @@
5140
5080
  "adjective",
5141
5081
  false
5142
5082
  ],
5143
- [
5144
- "stm_current",
5145
- "adjective",
5146
- false
5147
- ],
5148
- [
5149
- "stm_previous",
5150
- "adjective",
5151
- false
5152
- ],
5153
5083
  [
5154
5084
  "that",
5155
5085
  "thisitthat",
@@ -5896,16 +5826,6 @@
5896
5826
  "adjective",
5897
5827
  false
5898
5828
  ],
5899
- [
5900
- "stm_current",
5901
- "adjective",
5902
- false
5903
- ],
5904
- [
5905
- "stm_previous",
5906
- "adjective",
5907
- false
5908
- ],
5909
5829
  [
5910
5830
  "that",
5911
5831
  "thisitthat",
@@ -6652,16 +6572,6 @@
6652
6572
  "adjective",
6653
6573
  false
6654
6574
  ],
6655
- [
6656
- "stm_current",
6657
- "adjective",
6658
- false
6659
- ],
6660
- [
6661
- "stm_previous",
6662
- "adjective",
6663
- false
6664
- ],
6665
6575
  [
6666
6576
  "that",
6667
6577
  "thisitthat",
@@ -8273,16 +8183,6 @@
8273
8183
  "adjective",
8274
8184
  false
8275
8185
  ],
8276
- [
8277
- "stm_current",
8278
- "adjective",
8279
- false
8280
- ],
8281
- [
8282
- "stm_previous",
8283
- "adjective",
8284
- false
8285
- ],
8286
8186
  [
8287
8187
  "that",
8288
8188
  "thisitthat",
@@ -10054,16 +9954,6 @@
10054
9954
  "adjective",
10055
9955
  false
10056
9956
  ],
10057
- [
10058
- "stm_current",
10059
- "adjective",
10060
- false
10061
- ],
10062
- [
10063
- "stm_previous",
10064
- "adjective",
10065
- false
10066
- ],
10067
9957
  [
10068
9958
  "that",
10069
9959
  "thisitthat",
@@ -11166,16 +11056,6 @@
11166
11056
  "adjective",
11167
11057
  false
11168
11058
  ],
11169
- [
11170
- "stm_current",
11171
- "adjective",
11172
- false
11173
- ],
11174
- [
11175
- "stm_previous",
11176
- "adjective",
11177
- false
11178
- ],
11179
11059
  [
11180
11060
  "that",
11181
11061
  "thisitthat",
@@ -12555,16 +12435,6 @@
12555
12435
  "adjective",
12556
12436
  false
12557
12437
  ],
12558
- [
12559
- "stm_current",
12560
- "adjective",
12561
- false
12562
- ],
12563
- [
12564
- "stm_previous",
12565
- "adjective",
12566
- false
12567
- ],
12568
12438
  [
12569
12439
  "that",
12570
12440
  "thisitthat",
package/common/animals.js CHANGED
@@ -2,7 +2,7 @@ const { defaultContextCheck } = require('./helpers')
2
2
  const { knowledgeModule, where } = require('./runtime').theprogrammablemind
3
3
  const hierarchy = require('./hierarchy')
4
4
  const animals_tests = require('./animals.test.json')
5
- const instance = require('./animals.instance.json')
5
+ const animals_instance = require('./animals.instance.json')
6
6
 
7
7
  const template = {
8
8
  configs: [
@@ -39,6 +39,8 @@ knowledgeModule( {
39
39
  context: [defaultContextCheck()],
40
40
  }
41
41
  },
42
- instance,
43
- template,
42
+ template: {
43
+ template,
44
+ instance: animals_instance
45
+ }
44
46
  })
@@ -268,16 +268,6 @@
268
268
  "adjective",
269
269
  false
270
270
  ],
271
- [
272
- "stm_current",
273
- "adjective",
274
- false
275
- ],
276
- [
277
- "stm_previous",
278
- "adjective",
279
- false
280
- ],
281
271
  [
282
272
  "that",
283
273
  "thisitthat",
@@ -1151,16 +1141,6 @@
1151
1141
  "adjective",
1152
1142
  false
1153
1143
  ],
1154
- [
1155
- "stm_current",
1156
- "adjective",
1157
- false
1158
- ],
1159
- [
1160
- "stm_previous",
1161
- "adjective",
1162
- false
1163
- ],
1164
1144
  [
1165
1145
  "that",
1166
1146
  "thisitthat",
package/common/can.js CHANGED
@@ -246,6 +246,9 @@ knowledgeModule( {
246
246
  ],
247
247
  },
248
248
  },
249
- instance,
250
- template,
249
+ template: {
250
+ template,
251
+ instance,
252
+ },
253
+
251
254
  })
@@ -359,16 +359,6 @@
359
359
  "adjective",
360
360
  false
361
361
  ],
362
- [
363
- "stm_current",
364
- "adjective",
365
- false
366
- ],
367
- [
368
- "stm_previous",
369
- "adjective",
370
- false
371
- ],
372
362
  [
373
363
  "that",
374
364
  "thisitthat",
@@ -858,16 +848,6 @@
858
848
  "adjective",
859
849
  false
860
850
  ],
861
- [
862
- "stm_current",
863
- "adjective",
864
- false
865
- ],
866
- [
867
- "stm_previous",
868
- "adjective",
869
- false
870
- ],
871
851
  [
872
852
  "that",
873
853
  "thisitthat",
@@ -1863,16 +1843,6 @@
1863
1843
  "adjective",
1864
1844
  false
1865
1845
  ],
1866
- [
1867
- "stm_current",
1868
- "adjective",
1869
- false
1870
- ],
1871
- [
1872
- "stm_previous",
1873
- "adjective",
1874
- false
1875
- ],
1876
1846
  [
1877
1847
  "that",
1878
1848
  "thisitthat",
@@ -8917,16 +8887,6 @@
8917
8887
  "adjective",
8918
8888
  false
8919
8889
  ],
8920
- [
8921
- "stm_current",
8922
- "adjective",
8923
- false
8924
- ],
8925
- [
8926
- "stm_previous",
8927
- "adjective",
8928
- false
8929
- ],
8930
8890
  [
8931
8891
  "that",
8932
8892
  "thisitthat",
@@ -10269,16 +10229,6 @@
10269
10229
  "adjective",
10270
10230
  false
10271
10231
  ],
10272
- [
10273
- "stm_current",
10274
- "adjective",
10275
- false
10276
- ],
10277
- [
10278
- "stm_previous",
10279
- "adjective",
10280
- false
10281
- ],
10282
10232
  [
10283
10233
  "that",
10284
10234
  "thisitthat",
@@ -11970,16 +11920,6 @@
11970
11920
  "adjective",
11971
11921
  false
11972
11922
  ],
11973
- [
11974
- "stm_current",
11975
- "adjective",
11976
- false
11977
- ],
11978
- [
11979
- "stm_previous",
11980
- "adjective",
11981
- false
11982
- ],
11983
11923
  [
11984
11924
  "that",
11985
11925
  "thisitthat",
@@ -14737,16 +14677,6 @@
14737
14677
  "adjective",
14738
14678
  false
14739
14679
  ],
14740
- [
14741
- "stm_current",
14742
- "adjective",
14743
- false
14744
- ],
14745
- [
14746
- "stm_previous",
14747
- "adjective",
14748
- false
14749
- ],
14750
14680
  [
14751
14681
  "that",
14752
14682
  "thisitthat",
@@ -17664,16 +17594,6 @@
17664
17594
  "adjective",
17665
17595
  false
17666
17596
  ],
17667
- [
17668
- "stm_current",
17669
- "adjective",
17670
- false
17671
- ],
17672
- [
17673
- "stm_previous",
17674
- "adjective",
17675
- false
17676
- ],
17677
17597
  [
17678
17598
  "teal_colors",
17679
17599
  "green_colors",
@@ -21382,16 +21302,6 @@
21382
21302
  "adjective",
21383
21303
  false
21384
21304
  ],
21385
- [
21386
- "stm_current",
21387
- "adjective",
21388
- false
21389
- ],
21390
- [
21391
- "stm_previous",
21392
- "adjective",
21393
- false
21394
- ],
21395
21305
  [
21396
21306
  "teal_colors",
21397
21307
  "green_colors",
@@ -24134,16 +24044,6 @@
24134
24044
  "adjective",
24135
24045
  false
24136
24046
  ],
24137
- [
24138
- "stm_current",
24139
- "adjective",
24140
- false
24141
- ],
24142
- [
24143
- "stm_previous",
24144
- "adjective",
24145
- false
24146
- ],
24147
24047
  [
24148
24048
  "tan_colors",
24149
24049
  "brown_colors",
@@ -27581,16 +27481,6 @@
27581
27481
  "adjective",
27582
27482
  false
27583
27483
  ],
27584
- [
27585
- "stm_current",
27586
- "adjective",
27587
- false
27588
- ],
27589
- [
27590
- "stm_previous",
27591
- "adjective",
27592
- false
27593
- ],
27594
27484
  [
27595
27485
  "tan_colors",
27596
27486
  "brown_colors",
@@ -30162,16 +30052,6 @@
30162
30052
  "adjective",
30163
30053
  false
30164
30054
  ],
30165
- [
30166
- "stm_current",
30167
- "adjective",
30168
- false
30169
- ],
30170
- [
30171
- "stm_previous",
30172
- "adjective",
30173
- false
30174
- ],
30175
30055
  [
30176
30056
  "tan_colors",
30177
30057
  "brown_colors",
@@ -32381,16 +32261,6 @@
32381
32261
  "adjective",
32382
32262
  false
32383
32263
  ],
32384
- [
32385
- "stm_current",
32386
- "adjective",
32387
- false
32388
- ],
32389
- [
32390
- "stm_previous",
32391
- "adjective",
32392
- false
32393
- ],
32394
32264
  [
32395
32265
  "tan_colors",
32396
32266
  "brown_colors",
@@ -34807,16 +34677,6 @@
34807
34677
  "adjective",
34808
34678
  false
34809
34679
  ],
34810
- [
34811
- "stm_current",
34812
- "adjective",
34813
- false
34814
- ],
34815
- [
34816
- "stm_previous",
34817
- "adjective",
34818
- false
34819
- ],
34820
34680
  [
34821
34681
  "tan_colors",
34822
34682
  "brown_colors",
package/common/colors.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const { knowledgeModule, where } = require('./runtime').theprogrammablemind
2
2
  const { defaultContextCheck } = require('./helpers')
3
3
  const colors_tests = require('./colors.test.json')
4
- const instance = require('./colors.instance.json')
4
+ const colors_instance = require('./colors.instance.json')
5
5
  const hierarchy = require('./hierarchy')
6
6
 
7
7
  const template = {
@@ -59,6 +59,9 @@ knowledgeModule( {
59
59
  context: [defaultContextCheck()],
60
60
  }
61
61
  },
62
- instance,
63
- template,
62
+ template: {
63
+ template,
64
+ instance: colors_instance,
65
+ },
66
+
64
67
  })
@@ -223,16 +223,6 @@
223
223
  "adjective",
224
224
  false
225
225
  ],
226
- [
227
- "stm_current",
228
- "adjective",
229
- false
230
- ],
231
- [
232
- "stm_previous",
233
- "adjective",
234
- false
235
- ],
236
226
  [
237
227
  "that",
238
228
  "thisitthat",
@@ -783,16 +773,6 @@
783
773
  "adjective",
784
774
  false
785
775
  ],
786
- [
787
- "stm_current",
788
- "adjective",
789
- false
790
- ],
791
- [
792
- "stm_previous",
793
- "adjective",
794
- false
795
- ],
796
776
  [
797
777
  "that",
798
778
  "thisitthat",
@@ -1622,16 +1602,6 @@
1622
1602
  "adjective",
1623
1603
  false
1624
1604
  ],
1625
- [
1626
- "stm_current",
1627
- "adjective",
1628
- false
1629
- ],
1630
- [
1631
- "stm_previous",
1632
- "adjective",
1633
- false
1634
- ],
1635
1605
  [
1636
1606
  "that",
1637
1607
  "thisitthat",
@@ -4,7 +4,7 @@ const dialogues = require("./dialogues")
4
4
  const concept = require("./concept")
5
5
  const numbers = require("./numbers")
6
6
  const comparable_tests = require('./comparable.test.json')
7
- const instance = require('./comparable.instance.json')
7
+ const comparable_instance = require('./comparable.instance.json')
8
8
 
9
9
 
10
10
  const config = {
@@ -70,8 +70,11 @@ const template = {
70
70
  knowledgeModule({
71
71
  config,
72
72
  includes: [dialogues, numbers, concept],
73
- instance,
74
- template,
73
+ template: {
74
+ template,
75
+ instance: comparable_instance
76
+ },
77
+
75
78
  module,
76
79
  description: 'Comparable things',
77
80
  test: {