tpmkms_4wp 9.5.1-beta.21 → 9.5.1-beta.24
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/asking.js +5 -2
- package/common/can.instance.json +4 -10
- package/common/can.test.json +609 -8
- package/common/colors.instance.json +0 -28
- package/common/conjunction.test.json +32 -42
- package/common/crew.instance.json +0 -104
- package/common/dateTimeSelectors.instance.json +2 -2
- package/common/dateTimeSelectors.js +3 -3
- package/common/dateTimeSelectors.test.json +2229 -1560
- package/common/dates.instance.json +0 -84
- package/common/dates.test.json +284 -287
- package/common/dialogues.test.json +1171 -996
- package/common/dimension.instance.json +3 -3
- package/common/dimension.js +16 -7
- package/common/edible.instance.json +72 -56
- package/common/fastfood.instance.json +149 -121
- package/common/fastfood.test.json +6970 -6829
- package/common/gdefaults.js +5 -3
- package/common/helpers/dialogues.js +6 -1
- package/common/helpers/properties.js +2 -2
- package/common/helpers.js +30 -1
- package/common/length.instance.json +5069 -1358
- package/common/length.js +2 -1
- package/common/length.test.json +9010 -1241
- package/common/menus.instance.json +3 -6
- package/common/menus.js +1 -8
- package/common/numbers.js +1 -1
- package/common/ordering.test.json +104 -174
- package/common/people.instance.json +37 -101
- package/common/pipboy.instance.json +0 -56
- package/common/pressure.instance.json +105 -25
- package/common/properties.instance.json +2 -5
- package/common/properties.js +3 -3
- package/common/properties.test.json +8746 -6638
- package/common/rates.instance.json +57 -0
- package/common/rates.js +94 -0
- package/common/rates.test.json +25771 -0
- package/common/reminders.test.json +1641 -1601
- package/common/reports.instance.json +2 -2
- package/common/tank.instance.json +14862 -0
- package/common/tank.js +407 -0
- package/common/tank.test.json +56670 -0
- package/common/temperature.instance.json +136 -56
- package/common/time.instance.json +20298 -0
- package/common/time.js +150 -139
- package/common/time.test.json +13080 -2233
- package/common/ui.instance.json +2 -5
- package/common/ui.js +1 -8
- package/common/weight.instance.json +522 -182
- package/common/weight.test.json +2590 -2240
- package/common/wp.instance.json +74 -58
- package/common/wp.test.json +4145 -7135
- package/main.js +4 -0
- package/package.json +11 -2
package/common/asking.js
CHANGED
|
@@ -129,7 +129,6 @@ function getAsk(config) {
|
|
|
129
129
|
const id_r = stableId('semantic')
|
|
130
130
|
id_rs.push(id_r)
|
|
131
131
|
s_ids.push(id_r)
|
|
132
|
-
// debugger
|
|
133
132
|
config.addSemantic({
|
|
134
133
|
uuid,
|
|
135
134
|
id: id_r,
|
|
@@ -175,7 +174,11 @@ function getAsk(config) {
|
|
|
175
174
|
if (await matchq(args)) {
|
|
176
175
|
setWasApplied(false)
|
|
177
176
|
// args.context.motivationKeep = true
|
|
178
|
-
|
|
177
|
+
const query = await applyq({ ...args, wasAsked: getWasAsked() })
|
|
178
|
+
if (typeof query != 'string') {
|
|
179
|
+
throw new Error(`ask expects the value return from applyq to be a string. ${ask.where}`)
|
|
180
|
+
}
|
|
181
|
+
args.verbatim(query)
|
|
179
182
|
setWasAsked(true)
|
|
180
183
|
args.context.controlKeepMotivation = true
|
|
181
184
|
} else {
|
package/common/can.instance.json
CHANGED
|
@@ -626,10 +626,7 @@
|
|
|
626
626
|
"level": 1,
|
|
627
627
|
"context_index": 1,
|
|
628
628
|
"topLevel": true,
|
|
629
|
-
"context_id": 2
|
|
630
|
-
"touchedBy": [
|
|
631
|
-
"can#call2"
|
|
632
|
-
]
|
|
629
|
+
"context_id": 2
|
|
633
630
|
}
|
|
634
631
|
],
|
|
635
632
|
"generated": [
|
|
@@ -887,7 +884,7 @@
|
|
|
887
884
|
"learned_contextual_priorities": [],
|
|
888
885
|
"rtf_associations": [],
|
|
889
886
|
"query": "canobject can be canverb by cansubject",
|
|
890
|
-
"skipSemantics":
|
|
887
|
+
"skipSemantics": true,
|
|
891
888
|
"key": {
|
|
892
889
|
"query": "canobject can be canverb by cansubject"
|
|
893
890
|
}
|
|
@@ -1476,10 +1473,7 @@
|
|
|
1476
1473
|
"level": 1,
|
|
1477
1474
|
"context_index": 1,
|
|
1478
1475
|
"topLevel": true,
|
|
1479
|
-
"context_id": 2
|
|
1480
|
-
"touchedBy": [
|
|
1481
|
-
"can#call2"
|
|
1482
|
-
]
|
|
1476
|
+
"context_id": 2
|
|
1483
1477
|
}
|
|
1484
1478
|
],
|
|
1485
1479
|
"generated": [
|
|
@@ -1714,7 +1708,7 @@
|
|
|
1714
1708
|
"learned_contextual_priorities": [],
|
|
1715
1709
|
"rtf_associations": [],
|
|
1716
1710
|
"query": "cansubject can canverb canobject",
|
|
1717
|
-
"skipSemantics":
|
|
1711
|
+
"skipSemantics": true,
|
|
1718
1712
|
"key": {
|
|
1719
1713
|
"query": "cansubject can canverb canobject"
|
|
1720
1714
|
}
|