tpmkms_4wp 9.5.1-beta.10 → 9.5.1-beta.11
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/can.js +5 -3
- package/common/colors.instance.json +0 -28
- package/common/dates.instance.json +0 -84
- package/common/dialogues.js +19 -103
- package/common/edible.instance.json +0 -56
- package/common/fastfood.instance.json +108 -172
- package/common/helpers/properties.js +2 -2
- package/common/people.instance.json +18 -262
- package/common/pipboy.instance.json +0 -56
- package/common/reports.instance.json +2 -2
- package/common/wp.instance.json +0 -56
- package/package.json +2 -2
package/common/can.js
CHANGED
|
@@ -100,7 +100,7 @@ const config = {
|
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
{ "apply": true, "operator": "operator", "set": "context" },
|
|
103
|
-
{ "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], { property: 'can' }, { property: 'be' }, context.interpolate[1], { property: 'by' }, context.interpolate[0]] }", "set": "context" },
|
|
103
|
+
{ "apply": true, "bridge": "{ ...context, passive: true, interpolate: [context.interpolate[2], { property: 'can' }, { property: 'be' }, context.interpolate[1], { property: 'by' }, context.interpolate[0]] }", "set": "context" },
|
|
104
104
|
// { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], context.interpolate[0], context.interpolate[1]] }", set: "context" },
|
|
105
105
|
],
|
|
106
106
|
},
|
|
@@ -112,7 +112,7 @@ const config = {
|
|
|
112
112
|
// { "apply": true, "bridge": "{ ...after[1], can: operator, operator: after[1], interpolate: [{ property: 'can' }, { property: 'operator' }] }", "set": "operator" },
|
|
113
113
|
{ "apply": true, "bridge": "{ ...after[2], can: operator, be: after[1], operator: after[2], by: after[3] }", "set": "operator" },
|
|
114
114
|
{ "apply": true, "operator": "operator", "set": "context" },
|
|
115
|
-
{ "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[0], { property: 'can' }, context.interpolate[2], { property: 'be' }, context.interpolate[1], { property: 'by' }] }", "set": "context" },
|
|
115
|
+
{ "apply": true, "bridge": "{ ...context, passive: true, interpolate: [context.interpolate[0], { property: 'can' }, context.interpolate[2], { property: 'be' }, context.interpolate[1], { property: 'by' }] }", "set": "context" },
|
|
116
116
|
// { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], context.interpolate[0], context.interpolate[1]] }", set: "context" },
|
|
117
117
|
],
|
|
118
118
|
},
|
|
@@ -177,7 +177,9 @@ knowledgeModule( {
|
|
|
177
177
|
name: './can.test.json',
|
|
178
178
|
contents: can_tests,
|
|
179
179
|
checks: {
|
|
180
|
-
context: [
|
|
180
|
+
context: [
|
|
181
|
+
defaultContextCheck({ extra: ['can', 'evalue', 'makeable', 'maker', 'operator', 'interpolate', 'number', 'property'] }),
|
|
182
|
+
],
|
|
181
183
|
},
|
|
182
184
|
},
|
|
183
185
|
template: {
|
|
@@ -3586,20 +3586,6 @@
|
|
|
3586
3586
|
0
|
|
3587
3587
|
]
|
|
3588
3588
|
],
|
|
3589
|
-
[
|
|
3590
|
-
[
|
|
3591
|
-
"is",
|
|
3592
|
-
0
|
|
3593
|
-
],
|
|
3594
|
-
[
|
|
3595
|
-
"list",
|
|
3596
|
-
1
|
|
3597
|
-
],
|
|
3598
|
-
[
|
|
3599
|
-
"unknown",
|
|
3600
|
-
0
|
|
3601
|
-
]
|
|
3602
|
-
],
|
|
3603
3589
|
[
|
|
3604
3590
|
[
|
|
3605
3591
|
"is",
|
|
@@ -35827,20 +35813,6 @@
|
|
|
35827
35813
|
0
|
|
35828
35814
|
]
|
|
35829
35815
|
],
|
|
35830
|
-
[
|
|
35831
|
-
[
|
|
35832
|
-
"is",
|
|
35833
|
-
0
|
|
35834
|
-
],
|
|
35835
|
-
[
|
|
35836
|
-
"list",
|
|
35837
|
-
1
|
|
35838
|
-
],
|
|
35839
|
-
[
|
|
35840
|
-
"unknown",
|
|
35841
|
-
0
|
|
35842
|
-
]
|
|
35843
|
-
],
|
|
35844
35816
|
[
|
|
35845
35817
|
[
|
|
35846
35818
|
"is",
|
|
@@ -3401,20 +3401,6 @@
|
|
|
3401
3401
|
0
|
|
3402
3402
|
]
|
|
3403
3403
|
],
|
|
3404
|
-
[
|
|
3405
|
-
[
|
|
3406
|
-
"is",
|
|
3407
|
-
0
|
|
3408
|
-
],
|
|
3409
|
-
[
|
|
3410
|
-
"list",
|
|
3411
|
-
1
|
|
3412
|
-
],
|
|
3413
|
-
[
|
|
3414
|
-
"unknown",
|
|
3415
|
-
0
|
|
3416
|
-
]
|
|
3417
|
-
],
|
|
3418
3404
|
[
|
|
3419
3405
|
[
|
|
3420
3406
|
"is",
|
|
@@ -11765,20 +11751,6 @@
|
|
|
11765
11751
|
0
|
|
11766
11752
|
]
|
|
11767
11753
|
],
|
|
11768
|
-
[
|
|
11769
|
-
[
|
|
11770
|
-
"is",
|
|
11771
|
-
0
|
|
11772
|
-
],
|
|
11773
|
-
[
|
|
11774
|
-
"list",
|
|
11775
|
-
1
|
|
11776
|
-
],
|
|
11777
|
-
[
|
|
11778
|
-
"unknown",
|
|
11779
|
-
0
|
|
11780
|
-
]
|
|
11781
|
-
],
|
|
11782
11754
|
[
|
|
11783
11755
|
[
|
|
11784
11756
|
"is",
|
|
@@ -15868,20 +15840,6 @@
|
|
|
15868
15840
|
0
|
|
15869
15841
|
]
|
|
15870
15842
|
],
|
|
15871
|
-
[
|
|
15872
|
-
[
|
|
15873
|
-
"is",
|
|
15874
|
-
0
|
|
15875
|
-
],
|
|
15876
|
-
[
|
|
15877
|
-
"list",
|
|
15878
|
-
1
|
|
15879
|
-
],
|
|
15880
|
-
[
|
|
15881
|
-
"unknown",
|
|
15882
|
-
0
|
|
15883
|
-
]
|
|
15884
|
-
],
|
|
15885
15843
|
[
|
|
15886
15844
|
[
|
|
15887
15845
|
"is",
|
|
@@ -18843,48 +18801,6 @@
|
|
|
18843
18801
|
0
|
|
18844
18802
|
]
|
|
18845
18803
|
],
|
|
18846
|
-
[
|
|
18847
|
-
[
|
|
18848
|
-
"is",
|
|
18849
|
-
0
|
|
18850
|
-
],
|
|
18851
|
-
[
|
|
18852
|
-
"list",
|
|
18853
|
-
1
|
|
18854
|
-
],
|
|
18855
|
-
[
|
|
18856
|
-
"unknown",
|
|
18857
|
-
0
|
|
18858
|
-
]
|
|
18859
|
-
],
|
|
18860
|
-
[
|
|
18861
|
-
[
|
|
18862
|
-
"is",
|
|
18863
|
-
0
|
|
18864
|
-
],
|
|
18865
|
-
[
|
|
18866
|
-
"list",
|
|
18867
|
-
1
|
|
18868
|
-
],
|
|
18869
|
-
[
|
|
18870
|
-
"unknown",
|
|
18871
|
-
0
|
|
18872
|
-
]
|
|
18873
|
-
],
|
|
18874
|
-
[
|
|
18875
|
-
[
|
|
18876
|
-
"is",
|
|
18877
|
-
0
|
|
18878
|
-
],
|
|
18879
|
-
[
|
|
18880
|
-
"list",
|
|
18881
|
-
1
|
|
18882
|
-
],
|
|
18883
|
-
[
|
|
18884
|
-
"unknown",
|
|
18885
|
-
0
|
|
18886
|
-
]
|
|
18887
|
-
],
|
|
18888
18804
|
[
|
|
18889
18805
|
[
|
|
18890
18806
|
"setIdSuffix",
|
package/common/dialogues.js
CHANGED
|
@@ -56,7 +56,6 @@ const config = {
|
|
|
56
56
|
|
|
57
57
|
"(([queryable]) [is|] ([queryable|]))",
|
|
58
58
|
"([isQuery|] ([queryable]) ([queryable]))",
|
|
59
|
-
// "(([queryable]) [is:isEdBridge|is,are] ([isEdAble|]))",
|
|
60
59
|
// who is the car owned by
|
|
61
60
|
"(([queryable]) [(<isEd|> ([isEdAble|]))])",
|
|
62
61
|
|
|
@@ -68,26 +67,16 @@ const config = {
|
|
|
68
67
|
"([isEdee|])",
|
|
69
68
|
"([isEder|])",
|
|
70
69
|
|
|
71
|
-
// "([nevermind])",
|
|
72
|
-
// { pattern: "([nevermindTestSetup] (allowed))", scope: "testing" },
|
|
73
70
|
"([why])",
|
|
74
71
|
"([reason])",
|
|
75
|
-
// "([thisitthat|])",
|
|
76
|
-
// "([it])",
|
|
77
|
-
// "([this])",
|
|
78
|
-
// "([that])",
|
|
79
72
|
|
|
80
73
|
"(<what> ([whatAble|]))",
|
|
81
74
|
"([what:optional])",
|
|
82
|
-
// "(<the|> ([theAble|]))",
|
|
83
|
-
// "(<a|a,an> ([theAble|]))",
|
|
84
|
-
// "([unknown])",
|
|
85
75
|
|
|
86
76
|
"([be] ([briefOrWordy|]))",
|
|
87
77
|
|
|
88
78
|
"([([canBeQuestion])])",
|
|
89
79
|
"(([canBeQuestion/1,2]) <questionMark|>)",
|
|
90
|
-
// "(([is/2]) <questionMark|>)",
|
|
91
80
|
|
|
92
81
|
"(([what]) [(<does|> ([doesAble|]))])",
|
|
93
82
|
"([canBeDoQuestion])",
|
|
@@ -101,46 +90,29 @@ const config = {
|
|
|
101
90
|
|
|
102
91
|
"([to] ([toAble|]))",
|
|
103
92
|
],
|
|
104
|
-
associations: {
|
|
105
|
-
positive: [
|
|
106
|
-
{ context: [['unknown', 0], ['isEdAble', 0]], choose: 1 },
|
|
107
|
-
{ context: [['isQuery', 0], ['a', 0], ['unknown', 0], ['a', 0], ['unknown', 0]], choose: { index: 0, increment: true } },
|
|
108
|
-
|
|
109
|
-
{ context: [["unknown",0],["isEd",0],["isEdAble",0],["by",0],["unknown",0]], choose: { index: 0, increment: true } },
|
|
110
|
-
{ context: [["unknown",0],["isEd",0],["isEdAble",0],["by",1]], choose: { index: 0, increment: true } },
|
|
111
|
-
{ context: [["unknown",0],["isEd",0],["isEdAble",0]], choose: { index: 0, increment: true } },
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
// ...listorama('unknown'),
|
|
115
|
-
// ...listorama('queryable'),
|
|
116
|
-
{ context: [['unknown', 0], ['list', 0], ['unknown', 0]], choose: 0 },
|
|
117
|
-
{ context: [['unknown', 0], ['list', 0], ['unknown', 1]], choose: 0 },
|
|
118
|
-
{ context: [['unknown', 1], ['list', 0], ['unknown', 0]], choose: 0 },
|
|
119
|
-
{ context: [['unknown', 1], ['list', 0], ['unknown', 1]], choose: 0 },
|
|
120
|
-
|
|
121
|
-
{ context: [['queryable', 0], ['list', 0], ['unknown', 0]], choose: 1 },
|
|
122
|
-
{ context: [['queryable', 0], ['list', 0], ['unknown', 1]], choose: 1 },
|
|
123
|
-
{ context: [['queryable', 1], ['list', 0], ['unknown', 0]], choose: 1 },
|
|
124
|
-
{ context: [['queryable', 1], ['list', 0], ['unknown', 1]], choose: 1 },
|
|
125
|
-
|
|
126
|
-
{ context: [['unknown', 0], ['list', 0], ['queryable', 0]], choose: 2 },
|
|
127
|
-
{ context: [['unknown', 0], ['list', 0], ['queryable', 1]], choose: 2 },
|
|
128
|
-
{ context: [['unknown', 1], ['list', 0], ['queryable', 0]], choose: 2 },
|
|
129
|
-
{ context: [['unknown', 1], ['list', 0], ['queryable', 1]], choose: 2 },
|
|
130
|
-
|
|
131
|
-
{ context: [['queryable', 0], ['list', 0], ['queryable', 0]], choose: 0 },
|
|
132
|
-
{ context: [['queryable', 0], ['list', 0], ['queryable', 1]], choose: 0 },
|
|
133
|
-
{ context: [['queryable', 1], ['list', 0], ['queryable', 0]], choose: 0 },
|
|
134
|
-
{ context: [['queryable', 1], ['list', 0], ['queryable', 1]], choose: 0 },
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
93
|
bridges: [
|
|
138
94
|
{
|
|
139
95
|
id: 'thatVerb',
|
|
140
96
|
before: ['verb'],
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
97
|
+
bridge: `
|
|
98
|
+
{
|
|
99
|
+
...after[0],
|
|
100
|
+
verb: after[0],
|
|
101
|
+
that: operator,
|
|
102
|
+
generate: ['that', 'verb'],
|
|
103
|
+
localPriorities: { actLike: ["subordinatedVerb", 0] },
|
|
104
|
+
bridge_override: {
|
|
105
|
+
operator: after[0].marker,
|
|
106
|
+
bridge: '{
|
|
107
|
+
...bridge.subject,
|
|
108
|
+
postModifiers: ["conditions"],
|
|
109
|
+
modifiers: [],
|
|
110
|
+
generate: concatm("thatClause.", bridge.generate),
|
|
111
|
+
thatClause: bridge,
|
|
112
|
+
conditions: append(bridge.subject.conditions, [bridge])
|
|
113
|
+
}'
|
|
114
|
+
}
|
|
115
|
+
}`,
|
|
144
116
|
},
|
|
145
117
|
|
|
146
118
|
{
|
|
@@ -245,40 +217,7 @@ const config = {
|
|
|
245
217
|
{ id: "canBeDoQuestion", level: 2, bridge: "{ ...next(operator) }" },
|
|
246
218
|
{ id: "doesAble", level: 0, bridge: "{ ...next(operator) }" },
|
|
247
219
|
{ id: "doesAble", level: 1, bridge: "{ ...next(operator), before: before[0] }" },
|
|
248
|
-
// { id: "does", level: 0, bridge: "{ query: true, wantsTruthValue: true, what: operator.marker, ...context, number: operator.number, object.number: operator.number }*" },
|
|
249
220
|
{ id: "does", level: 0, bridge: "{ query: true, what: operator.marker, ...context, number: operator.number, object.number: operator.number }*" },
|
|
250
|
-
|
|
251
|
-
/*
|
|
252
|
-
{
|
|
253
|
-
id: 'the',
|
|
254
|
-
level: 0,
|
|
255
|
-
bridge: '{ ...after[0], focusableForPhrase: true, pullFromContext: true, concept: true, wantsValue: true, determiner: "the", modifiers: append(["determiner"], after[0].modifiers)}'
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
id: "a",
|
|
259
|
-
level: 0,
|
|
260
|
-
// bridge: "{ ...after[0], pullFromContext: false, instance: true, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
|
|
261
|
-
bridge: "{ ...after[0], pullFromContext: false, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
|
|
262
|
-
},
|
|
263
|
-
*/
|
|
264
|
-
/*
|
|
265
|
-
{
|
|
266
|
-
id: "theAble",
|
|
267
|
-
children: ['noun'],
|
|
268
|
-
bridge: "{ ...next(operator) }"
|
|
269
|
-
},
|
|
270
|
-
*/
|
|
271
|
-
|
|
272
|
-
// TODO make this hierarchy thing work
|
|
273
|
-
/*
|
|
274
|
-
{
|
|
275
|
-
id: "thisitthat",
|
|
276
|
-
level: 0,
|
|
277
|
-
isA: ['queryable'],
|
|
278
|
-
before: ['verby'],
|
|
279
|
-
bridge: "{ ...next(operator) }"
|
|
280
|
-
},
|
|
281
|
-
*/
|
|
282
221
|
{
|
|
283
222
|
id: "why",
|
|
284
223
|
level: 0,
|
|
@@ -288,26 +227,6 @@ const config = {
|
|
|
288
227
|
id: "reason",
|
|
289
228
|
isA: ['theAble', 'queryable'],
|
|
290
229
|
},
|
|
291
|
-
/*
|
|
292
|
-
{
|
|
293
|
-
id: "it",
|
|
294
|
-
level: 0,
|
|
295
|
-
isA: ['thisitthat'],
|
|
296
|
-
bridge: "{ ...next(operator), pullFromContext: true, unknown: true, determined: true }"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
id: "this",
|
|
300
|
-
level: 0,
|
|
301
|
-
isA: ['thisitthat'],
|
|
302
|
-
bridge: "{ ...next(operator), unknown: true, pullFromContext: true }"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
id: "that",
|
|
306
|
-
level: 0,
|
|
307
|
-
isA: ['thisitthat'],
|
|
308
|
-
bridge: "{ ...next(operator), unknown: true, pullFromContext: true }"
|
|
309
|
-
},
|
|
310
|
-
*/
|
|
311
230
|
],
|
|
312
231
|
words: {
|
|
313
232
|
"literals": {
|
|
@@ -348,12 +267,9 @@ const config = {
|
|
|
348
267
|
['it', 'pronoun'],
|
|
349
268
|
['this', 'pronoun'],
|
|
350
269
|
['questionMark', 'punctuation'],
|
|
351
|
-
// ['questionMark', 'isEd'],
|
|
352
270
|
['a', 'article'],
|
|
353
271
|
['the', 'article'],
|
|
354
|
-
// ['unknown', 'theAble'],
|
|
355
272
|
['theAble', 'queryable'],
|
|
356
|
-
// ['unknown', 'queryable'],
|
|
357
273
|
['it', 'queryable'],
|
|
358
274
|
['what', 'queryable'],
|
|
359
275
|
['whatAble', 'queryable'],
|
|
@@ -6462,20 +6462,6 @@
|
|
|
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
|
-
],
|
|
6479
6465
|
[
|
|
6480
6466
|
[
|
|
6481
6467
|
"is",
|
|
@@ -24414,20 +24400,6 @@
|
|
|
24414
24400
|
0
|
|
24415
24401
|
]
|
|
24416
24402
|
],
|
|
24417
|
-
[
|
|
24418
|
-
[
|
|
24419
|
-
"is",
|
|
24420
|
-
0
|
|
24421
|
-
],
|
|
24422
|
-
[
|
|
24423
|
-
"list",
|
|
24424
|
-
1
|
|
24425
|
-
],
|
|
24426
|
-
[
|
|
24427
|
-
"unknown",
|
|
24428
|
-
0
|
|
24429
|
-
]
|
|
24430
|
-
],
|
|
24431
24403
|
[
|
|
24432
24404
|
[
|
|
24433
24405
|
"is",
|
|
@@ -68722,34 +68694,6 @@
|
|
|
68722
68694
|
0
|
|
68723
68695
|
]
|
|
68724
68696
|
],
|
|
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
|
-
],
|
|
68753
68697
|
[
|
|
68754
68698
|
[
|
|
68755
68699
|
"is",
|