ekms 9.1.1-beta.0 → 9.1.1
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/articles.js +0 -2
- package/common/avatar.js +6 -0
- package/common/colors.instance.json +0 -28
- package/common/comparable.js +0 -6
- package/common/crew.instance.json +39 -0
- package/common/crew.js +7 -0
- package/common/edible.instance.json +0 -56
- package/common/fastfood.instance.json +337 -61
- package/common/negation.js +0 -5
- package/common/pipboy.instance.json +122 -84
- package/common/pipboy.js +7 -0
- package/common/properties.js +0 -1
- package/common/reports.instance.json +1 -1
- package/common/temperature.instance.json +0 -112
- package/common/wp.instance.json +0 -56
- package/main.js +0 -2
- package/package.json +3 -7
- package/common/menus.instance.json +0 -2
- package/common/menus.js +0 -61
- package/common/menus.test.json +0 -2
@@ -5260,36 +5260,6 @@
|
|
5260
5260
|
0
|
5261
5261
|
]
|
5262
5262
|
],
|
5263
|
-
[
|
5264
|
-
[
|
5265
|
-
"celcius",
|
5266
|
-
0
|
5267
|
-
],
|
5268
|
-
[
|
5269
|
-
"divideByOperator",
|
5270
|
-
0
|
5271
|
-
],
|
5272
|
-
[
|
5273
|
-
"equals",
|
5274
|
-
0
|
5275
|
-
],
|
5276
|
-
[
|
5277
|
-
"fahrenheit",
|
5278
|
-
0
|
5279
|
-
],
|
5280
|
-
[
|
5281
|
-
"integer",
|
5282
|
-
0
|
5283
|
-
],
|
5284
|
-
[
|
5285
|
-
"plusOperator",
|
5286
|
-
0
|
5287
|
-
],
|
5288
|
-
[
|
5289
|
-
"timesOperator",
|
5290
|
-
0
|
5291
|
-
]
|
5292
|
-
],
|
5293
5263
|
[
|
5294
5264
|
[
|
5295
5265
|
"celcius",
|
@@ -7978,32 +7948,6 @@
|
|
7978
7948
|
0
|
7979
7949
|
]
|
7980
7950
|
],
|
7981
|
-
[
|
7982
|
-
[
|
7983
|
-
"celcius",
|
7984
|
-
0
|
7985
|
-
],
|
7986
|
-
[
|
7987
|
-
"divideByOperator",
|
7988
|
-
0
|
7989
|
-
],
|
7990
|
-
[
|
7991
|
-
"equals",
|
7992
|
-
0
|
7993
|
-
],
|
7994
|
-
[
|
7995
|
-
"integer",
|
7996
|
-
0
|
7997
|
-
],
|
7998
|
-
[
|
7999
|
-
"plusOperator",
|
8000
|
-
0
|
8001
|
-
],
|
8002
|
-
[
|
8003
|
-
"timesOperator",
|
8004
|
-
0
|
8005
|
-
]
|
8006
|
-
],
|
8007
7951
|
[
|
8008
7952
|
[
|
8009
7953
|
"celcius",
|
@@ -9480,36 +9424,6 @@
|
|
9480
9424
|
0
|
9481
9425
|
]
|
9482
9426
|
],
|
9483
|
-
[
|
9484
|
-
[
|
9485
|
-
"celcius",
|
9486
|
-
0
|
9487
|
-
],
|
9488
|
-
[
|
9489
|
-
"divideByOperator",
|
9490
|
-
0
|
9491
|
-
],
|
9492
|
-
[
|
9493
|
-
"equals",
|
9494
|
-
0
|
9495
|
-
],
|
9496
|
-
[
|
9497
|
-
"fahrenheit",
|
9498
|
-
0
|
9499
|
-
],
|
9500
|
-
[
|
9501
|
-
"integer",
|
9502
|
-
0
|
9503
|
-
],
|
9504
|
-
[
|
9505
|
-
"plusOperator",
|
9506
|
-
0
|
9507
|
-
],
|
9508
|
-
[
|
9509
|
-
"timesOperator",
|
9510
|
-
0
|
9511
|
-
]
|
9512
|
-
],
|
9513
9427
|
[
|
9514
9428
|
[
|
9515
9429
|
"celcius",
|
@@ -9664,32 +9578,6 @@
|
|
9664
9578
|
0
|
9665
9579
|
]
|
9666
9580
|
],
|
9667
|
-
[
|
9668
|
-
[
|
9669
|
-
"celcius",
|
9670
|
-
0
|
9671
|
-
],
|
9672
|
-
[
|
9673
|
-
"divideByOperator",
|
9674
|
-
0
|
9675
|
-
],
|
9676
|
-
[
|
9677
|
-
"equals",
|
9678
|
-
0
|
9679
|
-
],
|
9680
|
-
[
|
9681
|
-
"integer",
|
9682
|
-
0
|
9683
|
-
],
|
9684
|
-
[
|
9685
|
-
"plusOperator",
|
9686
|
-
0
|
9687
|
-
],
|
9688
|
-
[
|
9689
|
-
"timesOperator",
|
9690
|
-
0
|
9691
|
-
]
|
9692
|
-
],
|
9693
9581
|
[
|
9694
9582
|
[
|
9695
9583
|
"celcius",
|
package/common/wp.instance.json
CHANGED
@@ -21370,20 +21370,6 @@
|
|
21370
21370
|
0
|
21371
21371
|
]
|
21372
21372
|
],
|
21373
|
-
[
|
21374
|
-
[
|
21375
|
-
"is",
|
21376
|
-
0
|
21377
|
-
],
|
21378
|
-
[
|
21379
|
-
"list",
|
21380
|
-
1
|
21381
|
-
],
|
21382
|
-
[
|
21383
|
-
"unknown",
|
21384
|
-
0
|
21385
|
-
]
|
21386
|
-
],
|
21387
21373
|
[
|
21388
21374
|
[
|
21389
21375
|
"is",
|
@@ -42251,20 +42237,6 @@
|
|
42251
42237
|
0
|
42252
42238
|
]
|
42253
42239
|
],
|
42254
|
-
[
|
42255
|
-
[
|
42256
|
-
"is",
|
42257
|
-
0
|
42258
|
-
],
|
42259
|
-
[
|
42260
|
-
"list",
|
42261
|
-
1
|
42262
|
-
],
|
42263
|
-
[
|
42264
|
-
"unknown",
|
42265
|
-
0
|
42266
|
-
]
|
42267
|
-
],
|
42268
42240
|
[
|
42269
42241
|
[
|
42270
42242
|
"is",
|
@@ -48057,34 +48029,6 @@
|
|
48057
48029
|
0
|
48058
48030
|
]
|
48059
48031
|
],
|
48060
|
-
[
|
48061
|
-
[
|
48062
|
-
"is",
|
48063
|
-
0
|
48064
|
-
],
|
48065
|
-
[
|
48066
|
-
"list",
|
48067
|
-
1
|
48068
|
-
],
|
48069
|
-
[
|
48070
|
-
"unknown",
|
48071
|
-
0
|
48072
|
-
]
|
48073
|
-
],
|
48074
|
-
[
|
48075
|
-
[
|
48076
|
-
"is",
|
48077
|
-
0
|
48078
|
-
],
|
48079
|
-
[
|
48080
|
-
"list",
|
48081
|
-
1
|
48082
|
-
],
|
48083
|
-
[
|
48084
|
-
"unknown",
|
48085
|
-
0
|
48086
|
-
]
|
48087
|
-
],
|
48088
48032
|
[
|
48089
48033
|
[
|
48090
48034
|
"is",
|
package/main.js
CHANGED
@@ -35,7 +35,6 @@ const punctuation = require('./common/punctuation')
|
|
35
35
|
const stm = require('./common/stm')
|
36
36
|
const sdefaults = require('./common/sdefaults')
|
37
37
|
const ui = require('./common/ui')
|
38
|
-
const menus = require('./common/menus')
|
39
38
|
const math = require('./common/math')
|
40
39
|
const formulas = require('./common/formulas')
|
41
40
|
const dimension = require('./common/dimension')
|
@@ -96,7 +95,6 @@ module.exports = {
|
|
96
95
|
stm,
|
97
96
|
sdefaults,
|
98
97
|
ui,
|
99
|
-
menus,
|
100
98
|
math,
|
101
99
|
formulas,
|
102
100
|
dimension,
|
package/package.json
CHANGED
@@ -72,8 +72,7 @@
|
|
72
72
|
"punctuation",
|
73
73
|
"stm",
|
74
74
|
"sdefaults",
|
75
|
-
"ui"
|
76
|
-
"menus"
|
75
|
+
"ui"
|
77
76
|
]
|
78
77
|
},
|
79
78
|
{
|
@@ -225,9 +224,6 @@
|
|
225
224
|
"common/math.instance.json",
|
226
225
|
"common/math.js",
|
227
226
|
"common/math.test.json",
|
228
|
-
"common/menus.instance.json",
|
229
|
-
"common/menus.js",
|
230
|
-
"common/menus.test.json",
|
231
227
|
"common/meta.instance.json",
|
232
228
|
"common/meta.js",
|
233
229
|
"common/meta.test.json",
|
@@ -324,8 +320,8 @@
|
|
324
320
|
"scriptjs": "^2.5.9",
|
325
321
|
"table": "^6.7.1",
|
326
322
|
"uuid": "^9.0.0",
|
327
|
-
"theprogrammablemind": "9.1.1
|
323
|
+
"theprogrammablemind": "9.1.1"
|
328
324
|
},
|
329
|
-
"version": "9.1.1
|
325
|
+
"version": "9.1.1",
|
330
326
|
"license": "UNLICENSED"
|
331
327
|
}
|
package/common/menus.js
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
const { knowledgeModule, where, Digraph } = require('./runtime').theprogrammablemind
|
2
|
-
const { defaultContextCheck } = require('./helpers')
|
3
|
-
const ui = require('./ui')
|
4
|
-
const menus_tests = require('./menus.test.json')
|
5
|
-
const menus_instance = require('./menus.instance.json')
|
6
|
-
|
7
|
-
class API {
|
8
|
-
initialize({ objects }) {
|
9
|
-
this._objects = objects
|
10
|
-
}
|
11
|
-
|
12
|
-
move(direction, steps = 1, units = undefined) {
|
13
|
-
this._objects.move = { direction, steps, units }
|
14
|
-
}
|
15
|
-
|
16
|
-
select(item) {
|
17
|
-
this._objects.select = { item }
|
18
|
-
}
|
19
|
-
|
20
|
-
unselect(item) {
|
21
|
-
this._objects.unselect = { item }
|
22
|
-
}
|
23
|
-
|
24
|
-
cancel(direction) {
|
25
|
-
this._objects.cancel = true
|
26
|
-
}
|
27
|
-
|
28
|
-
stop(action) {
|
29
|
-
this._objects.stop = action
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
const config = {
|
34
|
-
name: 'menus',
|
35
|
-
};
|
36
|
-
|
37
|
-
const template = {
|
38
|
-
fragments: [
|
39
|
-
],
|
40
|
-
}
|
41
|
-
|
42
|
-
knowledgeModule({
|
43
|
-
config,
|
44
|
-
includes: [ui],
|
45
|
-
api: () => new API(),
|
46
|
-
|
47
|
-
module,
|
48
|
-
description: 'Control menues with speech',
|
49
|
-
test: {
|
50
|
-
name: './menus.test.json',
|
51
|
-
contents: menus_tests,
|
52
|
-
checks: {
|
53
|
-
objects: ['move', 'select', 'unselect', 'cancel', 'stop'],
|
54
|
-
context: defaultContextCheck(['operator', 'direction', 'moveable']),
|
55
|
-
},
|
56
|
-
},
|
57
|
-
template: {
|
58
|
-
template,
|
59
|
-
instance: menus_instance
|
60
|
-
}
|
61
|
-
})
|
package/common/menus.test.json
DELETED