tpmkms 8.0.0-beta.53 → 8.0.0-beta.55
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 +78 -78
- package/common/articles.js +1 -1
- package/common/colors.instance.json +84 -112
- package/common/comparable.js +15 -3
- package/common/comparable.test.json +438 -2
- package/common/concept.js +1 -1
- package/common/countable.js +1 -1
- package/common/crew.instance.json +340 -156
- package/common/dialogues.js +1 -1
- package/common/dimension.instance.json +7 -7
- package/common/edible.instance.json +194 -306
- package/common/emotions.instance.json +66 -6
- package/common/evaluate.js +1 -1
- package/common/events.js +1 -1
- package/common/fastfood.instance.json +1928 -1565
- package/common/fastfood.js +4 -4
- package/common/formulas.instance.json +10 -10
- package/common/formulas.js +2 -2
- package/common/helpers/concept.js +1 -1
- package/common/kirk.instance.json +6 -6
- package/common/length.instance.json +105 -105
- package/common/math.instance.json +8 -8
- package/common/math.js +1 -1
- package/common/nameable.js +2 -2
- package/common/negation.js +1 -1
- package/common/ordering.instance.json +12 -80
- package/common/people.instance.json +48 -48
- package/common/pipboy.instance.json +134 -190
- package/common/pipboy.js +16 -16
- package/common/pokemon.instance.json +78 -78
- package/common/pos.js +8 -8
- package/common/pressure.instance.json +28 -28
- package/common/properties.instance.json +6 -6
- package/common/reports.instance.json +41 -21
- package/common/reports.js +9 -8
- package/common/sizeable.js +1 -1
- package/common/spock.instance.json +6 -6
- package/common/stm.js +1 -1
- package/common/temperature.instance.json +28 -28
- package/common/ui.instance.json +11 -11
- package/common/ui.js +5 -5
- package/common/weight.instance.json +84 -84
- package/package.json +2 -2
package/common/fastfood.js
CHANGED
@@ -411,7 +411,7 @@ const template = {
|
|
411
411
|
bridges: [
|
412
412
|
{
|
413
413
|
id: "change",
|
414
|
-
isA: ['
|
414
|
+
isA: ['verb'],
|
415
415
|
localHierarchy: [ ['thisitthat', 'meal'] ],
|
416
416
|
generatorp: async ({context, gp}) => `change ${await gp(context.from)} to ${await gp(context.to)}`,
|
417
417
|
bridge: "{ ...next(operator), from: after[0], to: after[1].toObject }",
|
@@ -451,7 +451,7 @@ const template = {
|
|
451
451
|
bridges: [
|
452
452
|
{
|
453
453
|
id: 'remove',
|
454
|
-
isA: ['
|
454
|
+
isA: ['verb'],
|
455
455
|
bridge: "{ ...next(operator), remove: after[0], postModifiers: ['remove'] }",
|
456
456
|
semantic: ({context, api}) => {
|
457
457
|
const state = api.state
|
@@ -464,7 +464,7 @@ const template = {
|
|
464
464
|
},
|
465
465
|
{
|
466
466
|
id: 'reset',
|
467
|
-
isA: ['
|
467
|
+
isA: ['verb'],
|
468
468
|
bridge: "{ ...next(operator) }",
|
469
469
|
semantic: ({context, api}) => {
|
470
470
|
api.reset()
|
@@ -976,7 +976,7 @@ const config = {
|
|
976
976
|
},
|
977
977
|
{
|
978
978
|
id: 'showOrder',
|
979
|
-
parents: ['
|
979
|
+
parents: ['verb'],
|
980
980
|
bridge: "{ ...next(operator), order: after[0] }",
|
981
981
|
generatorp: async ({context, g}) => `show ${await g(context.order)}`,
|
982
982
|
semantic: ({api}) => {
|
@@ -70,14 +70,14 @@
|
|
70
70
|
"number"
|
71
71
|
],
|
72
72
|
"before": [
|
73
|
-
"
|
73
|
+
"verb"
|
74
74
|
]
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
78
78
|
"id": "calculate",
|
79
79
|
"isA": [
|
80
|
-
"
|
80
|
+
"verb"
|
81
81
|
],
|
82
82
|
"bridge": "{ ...next(operator), expression: after[0] }",
|
83
83
|
"generatorp": "async ({context, g}) => `${context.word} ${await g(context.expression)}`",
|
@@ -186,7 +186,7 @@
|
|
186
186
|
],
|
187
187
|
[
|
188
188
|
"evaluate",
|
189
|
-
"
|
189
|
+
"verb",
|
190
190
|
false
|
191
191
|
],
|
192
192
|
[
|
@@ -226,7 +226,7 @@
|
|
226
226
|
],
|
227
227
|
[
|
228
228
|
"is",
|
229
|
-
"
|
229
|
+
"verb",
|
230
230
|
false
|
231
231
|
],
|
232
232
|
[
|
@@ -381,7 +381,7 @@
|
|
381
381
|
],
|
382
382
|
[
|
383
383
|
"modifies",
|
384
|
-
"
|
384
|
+
"verb",
|
385
385
|
false
|
386
386
|
],
|
387
387
|
[
|
@@ -531,7 +531,7 @@
|
|
531
531
|
],
|
532
532
|
[
|
533
533
|
"remember",
|
534
|
-
"
|
534
|
+
"verb",
|
535
535
|
false
|
536
536
|
],
|
537
537
|
[
|
@@ -625,8 +625,8 @@
|
|
625
625
|
false
|
626
626
|
],
|
627
627
|
[
|
628
|
-
"
|
629
|
-
"
|
628
|
+
"verb",
|
629
|
+
"verb",
|
630
630
|
false
|
631
631
|
],
|
632
632
|
[
|
@@ -903,14 +903,14 @@
|
|
903
903
|
"number"
|
904
904
|
],
|
905
905
|
"before": [
|
906
|
-
"
|
906
|
+
"verb"
|
907
907
|
]
|
908
908
|
},
|
909
909
|
{
|
910
910
|
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
911
911
|
"id": "calculate",
|
912
912
|
"isA": [
|
913
|
-
"
|
913
|
+
"verb"
|
914
914
|
],
|
915
915
|
"bridge": "{ ...next(operator), expression: after[0] }",
|
916
916
|
"localHierarchy": [
|
package/common/formulas.js
CHANGED
@@ -153,12 +153,12 @@ let config = {
|
|
153
153
|
{
|
154
154
|
id: 'expression',
|
155
155
|
children: ['mathematicalExpression', 'number'],
|
156
|
-
before: ['
|
156
|
+
before: ['verb'],
|
157
157
|
},
|
158
158
|
{
|
159
159
|
where: where(),
|
160
160
|
id: 'calculate',
|
161
|
-
isA: ['
|
161
|
+
isA: ['verb'],
|
162
162
|
bridge: "{ ...next(operator), expression: after[0] }",
|
163
163
|
generatorp: async ({context, g}) => `${context.word} ${await g(context.expression)}`,
|
164
164
|
localHierarchy: [ ['unknown', 'expression'] ],
|
@@ -98,7 +98,7 @@ class API {
|
|
98
98
|
convolution: true,
|
99
99
|
isA: [{ parent: 'adjective', instance: true }],
|
100
100
|
// isA: ['adjective'],
|
101
|
-
before: ['
|
101
|
+
before: ['verb'],
|
102
102
|
bridge: `{ ...after[0], ${modifierProperties}, atomic: true, dead: true, marker: next(operator('${modifiersObjectId}')), value: '${modifiersObjectId}', modifiers: append([${modifierList}], after[0].modifiers)}`,
|
103
103
|
allowDups: true })
|
104
104
|
{
|
@@ -492,7 +492,7 @@
|
|
492
492
|
],
|
493
493
|
[
|
494
494
|
"evaluate",
|
495
|
-
"
|
495
|
+
"verb",
|
496
496
|
false
|
497
497
|
],
|
498
498
|
[
|
@@ -622,7 +622,7 @@
|
|
622
622
|
],
|
623
623
|
[
|
624
624
|
"is",
|
625
|
-
"
|
625
|
+
"verb",
|
626
626
|
false
|
627
627
|
],
|
628
628
|
[
|
@@ -837,7 +837,7 @@
|
|
837
837
|
],
|
838
838
|
[
|
839
839
|
"modifies",
|
840
|
-
"
|
840
|
+
"verb",
|
841
841
|
false
|
842
842
|
],
|
843
843
|
[
|
@@ -1167,7 +1167,7 @@
|
|
1167
1167
|
],
|
1168
1168
|
[
|
1169
1169
|
"remember",
|
1170
|
-
"
|
1170
|
+
"verb",
|
1171
1171
|
false
|
1172
1172
|
],
|
1173
1173
|
[
|
@@ -1356,8 +1356,8 @@
|
|
1356
1356
|
false
|
1357
1357
|
],
|
1358
1358
|
[
|
1359
|
-
"
|
1360
|
-
"
|
1359
|
+
"verb",
|
1360
|
+
"verb",
|
1361
1361
|
false
|
1362
1362
|
],
|
1363
1363
|
[
|