tpmkms_4wp 8.9.1-beta.4 → 8.9.1-beta.41

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 (137) hide show
  1. package/common/animals.instance.json +6736 -831
  2. package/common/articles.js +22 -9
  3. package/common/articles.test.json +640 -2
  4. package/common/asking.js +3 -3
  5. package/common/asking.test.json +1599 -140
  6. package/common/avatar.js +9 -1
  7. package/common/avatar.test.json +6008 -2749
  8. package/common/characters.js +1 -1
  9. package/common/characters.test.json +1371 -95
  10. package/common/colors.instance.json +23062 -1689
  11. package/common/colors.test.json +704 -136
  12. package/common/comparable.instance.json +1337 -159
  13. package/common/comparable.js +13 -13
  14. package/common/comparable.test.json +3239 -558
  15. package/common/concept.js +11 -3
  16. package/common/concept.test.json +2853 -694
  17. package/common/conjunction.js +13 -1
  18. package/common/conjunction.test.json +229 -1
  19. package/common/countable.js +3 -9
  20. package/common/countable.test.json +1310 -638
  21. package/common/crew.instance.json +19486 -2159
  22. package/common/crew.js +19 -0
  23. package/common/crew.test.json +10218 -2145
  24. package/common/currency.js +2 -3
  25. package/common/currency.test.json +948 -64
  26. package/common/dialogues.js +103 -35
  27. package/common/dialogues.test.json +6611 -1905
  28. package/common/dimension.instance.json +760 -120
  29. package/common/dimension.js +18 -4
  30. package/common/dimension.test.json +23680 -11550
  31. package/common/edible.instance.json +21878 -2723
  32. package/common/edible.js +13 -0
  33. package/common/edible.test.json +1580 -304
  34. package/common/emotions.instance.json +2224 -253
  35. package/common/emotions.js +10 -2
  36. package/common/emotions.test.json +1134 -107
  37. package/common/errors.js +1 -1
  38. package/common/errors.test.json +88 -0
  39. package/common/evaluate.test.json +100 -1
  40. package/common/events.js +1 -1
  41. package/common/events.test.json +2197 -242
  42. package/common/fastfood.instance.json +82857 -10609
  43. package/common/fastfood.js +99 -12
  44. package/common/fastfood.test.json +65486 -21430
  45. package/common/formulas.instance.json +325 -58
  46. package/common/formulas.js +1 -1
  47. package/common/formulas.test.json +13202 -6757
  48. package/common/gdefaults.js +18 -8
  49. package/common/help.js +4 -4
  50. package/common/help.test.json +292 -4
  51. package/common/helpers/concept.js +6 -5
  52. package/common/helpers/conjunction.js +1 -1
  53. package/common/helpers/formulas.js +4 -4
  54. package/common/helpers/frankenhash.js +4 -4
  55. package/common/helpers/meta.js +4 -4
  56. package/common/helpers/ordering.js +2 -2
  57. package/common/helpers/properties.js +18 -48
  58. package/common/helpers.js +1 -1
  59. package/common/hierarchy.js +12 -3
  60. package/common/hierarchy.test.json +53813 -17340
  61. package/common/javascript.js +1 -1
  62. package/common/javascript.test.json +214 -11
  63. package/common/kirk.instance.json +322 -7
  64. package/common/kirk.test.json +1123 -254
  65. package/common/length.instance.json +9890 -797
  66. package/common/length.test.json +12055 -8184
  67. package/common/listener.test.json +39 -1
  68. package/common/math.instance.json +294 -57
  69. package/common/math.js +1 -1
  70. package/common/math.test.json +38557 -17754
  71. package/common/meta.instance.json +1 -0
  72. package/common/meta.js +13 -13
  73. package/common/meta.test.json +2770 -275
  74. package/common/nameable.js +1 -1
  75. package/common/nameable.test.json +5150 -1475
  76. package/common/negation.js +1 -1
  77. package/common/negation.test.json +146 -8
  78. package/common/numbers.js +1 -1
  79. package/common/numbers.test.json +234 -0
  80. package/common/ordering.instance.json +3861 -508
  81. package/common/ordering.test.json +2680 -1283
  82. package/common/ordinals.js +12 -2
  83. package/common/ordinals.test.json +627 -3
  84. package/common/people.instance.json +4041 -652
  85. package/common/people.js +1 -15
  86. package/common/people.test.json +27157 -13664
  87. package/common/percentages.js +1 -2
  88. package/common/percentages.test.json +313 -0
  89. package/common/pipboy.instance.json +13628 -1529
  90. package/common/pipboy.js +31 -49
  91. package/common/pipboy.test.json +19335 -6019
  92. package/common/pokemon.instance.json +6163 -690
  93. package/common/pokemon.test.json +1826 -389
  94. package/common/pos.js +16 -6
  95. package/common/pressure.instance.json +2635 -291
  96. package/common/pressure.test.json +2997 -1629
  97. package/common/properties.instance.json +907 -128
  98. package/common/properties.js +19 -28
  99. package/common/properties.test.json +46801 -14612
  100. package/common/punctuation.js +1 -1
  101. package/common/punctuation.test.json +327 -0
  102. package/common/reports.instance.json +997 -118
  103. package/common/reports.js +16 -9
  104. package/common/reports.test.json +16653 -2453
  105. package/common/scorekeeper.instance.json +1 -0
  106. package/common/scorekeeper.js +22 -12
  107. package/common/scorekeeper.test.json +42546 -15408
  108. package/common/sdefaults.js +2 -2
  109. package/common/sizeable.js +2 -2
  110. package/common/sizeable.test.json +1170 -215
  111. package/common/spock.instance.json +322 -7
  112. package/common/spock.test.json +1123 -254
  113. package/common/stgame.js +0 -1
  114. package/common/stgame.test.json +1371 -91
  115. package/common/stm.js +6 -6
  116. package/common/stm.test.json +842 -9
  117. package/common/tell.js +1 -1
  118. package/common/tell.test.json +224 -1
  119. package/common/temperature.instance.json +5980 -285
  120. package/common/temperature.test.json +2610 -1272
  121. package/common/tester.js +1 -1
  122. package/common/testing.test.json +84 -1
  123. package/common/time.test.json +5345 -272
  124. package/common/tokenize.js +3 -2
  125. package/common/tokenize.test.json +39 -0
  126. package/common/ui.instance.json +139 -26
  127. package/common/ui.js +0 -16
  128. package/common/ui.test.json +4620 -140
  129. package/common/weight.instance.json +10025 -771
  130. package/common/weight.js +10 -0
  131. package/common/weight.test.json +18658 -12176
  132. package/common/wp.instance.json +15801 -1655
  133. package/common/wp.js +181 -49
  134. package/common/wp.test.json +112970 -20663
  135. package/common/yesno.js +1 -1
  136. package/common/yesno.test.json +168 -4
  137. package/package.json +11 -6
@@ -6,10 +6,11 @@ const config = {
6
6
  name: 'tokenize',
7
7
  operators: [
8
8
  "([unknown])",
9
+ "([listable])",
9
10
  ],
10
11
  bridges: [
11
- { id: "unknown", level: 0, bridge: "{ ...next(operator), unknown: true, dead: true }" },
12
- { id: "unknown", level: 1, bridge: "{ ...next(operator) }" },
12
+ { id: "unknown", level: 0, bridge: "{ ...operator, unknown: true, dead: true }" },
13
+ { id: "listable", },
13
14
  ],
14
15
  words: {
15
16
  patterns: [
@@ -6,6 +6,7 @@
6
6
  },
7
7
  "contexts": [
8
8
  {
9
+ "context_index": 1,
9
10
  "dead": true,
10
11
  "level": 1,
11
12
  "marker": "unknown",
@@ -51,6 +52,7 @@
51
52
  "processed": [
52
53
  {
53
54
  "context": {
55
+ "context_index": 1,
54
56
  "dead": true,
55
57
  "level": 1,
56
58
  "marker": "unknown",
@@ -82,6 +84,43 @@
82
84
  "query": "hello_world",
83
85
  "responses": [
84
86
  ""
87
+ ],
88
+ "summaries": [
89
+ {
90
+ "length": 1,
91
+ "summaries": [
92
+ {
93
+ "counter": 1,
94
+ "operators": [
95
+ {
96
+ "marker": [
97
+ "unknown",
98
+ 0
99
+ ],
100
+ "range": {
101
+ "end": 10,
102
+ "start": 0
103
+ }
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "counter": 2,
109
+ "operators": [
110
+ {
111
+ "marker": [
112
+ "unknown",
113
+ 1
114
+ ],
115
+ "range": {
116
+ "end": 10,
117
+ "start": 0
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
85
124
  ]
86
125
  }
87
126
  ]
@@ -6,7 +6,7 @@
6
6
  "hierarchy": [
7
7
  [
8
8
  "a",
9
- "articlePOS",
9
+ "article",
10
10
  false
11
11
  ],
12
12
  [
@@ -25,8 +25,8 @@
25
25
  false
26
26
  ],
27
27
  [
28
- "articlePOS",
29
- "articlePOS",
28
+ "article",
29
+ "article",
30
30
  false
31
31
  ],
32
32
  [
@@ -69,6 +69,11 @@
69
69
  "direction",
70
70
  false
71
71
  ],
72
+ [
73
+ "distributable",
74
+ "queryable",
75
+ false
76
+ ],
72
77
  [
73
78
  "doubleQuote",
74
79
  "queryable",
@@ -79,6 +84,11 @@
79
84
  "direction",
80
85
  false
81
86
  ],
87
+ [
88
+ "each",
89
+ "article",
90
+ false
91
+ ],
82
92
  [
83
93
  "evaluate",
84
94
  "verb",
@@ -86,7 +96,7 @@
86
96
  ],
87
97
  [
88
98
  "every",
89
- "quantifier",
99
+ "article",
90
100
  false
91
101
  ],
92
102
  [
@@ -129,6 +139,11 @@
129
139
  "verb",
130
140
  false
131
141
  ],
142
+ [
143
+ "isQuery",
144
+ "verb",
145
+ false
146
+ ],
132
147
  [
133
148
  "it",
134
149
  "pronoun",
@@ -154,6 +169,11 @@
154
169
  "direction",
155
170
  false
156
171
  ],
172
+ [
173
+ "listable",
174
+ "theAble",
175
+ false
176
+ ],
157
177
  [
158
178
  "listening",
159
179
  "action",
@@ -199,6 +219,11 @@
199
219
  "queryable",
200
220
  false
201
221
  ],
222
+ [
223
+ "object",
224
+ "listable",
225
+ false
226
+ ],
202
227
  [
203
228
  "object",
204
229
  "queryable",
@@ -219,6 +244,16 @@
219
244
  "queryable",
220
245
  false
221
246
  ],
247
+ [
248
+ "orderable",
249
+ "theAble",
250
+ false
251
+ ],
252
+ [
253
+ "ordinal",
254
+ "listable",
255
+ false
256
+ ],
222
257
  [
223
258
  "ordinalOnOrdered",
224
259
  "adjective",
@@ -261,7 +296,7 @@
261
296
  ],
262
297
  [
263
298
  "queryable",
264
- "queryable",
299
+ "listable",
265
300
  false
266
301
  ],
267
302
  [
@@ -316,7 +351,7 @@
316
351
  ],
317
352
  [
318
353
  "the",
319
- "articlePOS",
354
+ "article",
320
355
  false
321
356
  ],
322
357
  [
@@ -422,23 +457,6 @@
422
457
  ],
423
458
  "metadata": {
424
459
  "opChoices": [
425
- {
426
- "op": [
427
- "direction",
428
- 0
429
- ],
430
- "ops": [
431
- [
432
- "direction",
433
- 0
434
- ],
435
- [
436
- "move",
437
- 0
438
- ]
439
- ],
440
- "counter": 1
441
- },
442
460
  {
443
461
  "op": [
444
462
  "move",
@@ -450,7 +468,7 @@
450
468
  0
451
469
  ]
452
470
  ],
453
- "counter": 2
471
+ "counter": 1
454
472
  }
455
473
  ]
456
474
  },
@@ -495,16 +513,16 @@
495
513
  "value": "direction",
496
514
  "default": true,
497
515
  "text": "direction",
516
+ "dead": true,
498
517
  "word": "direction",
499
518
  "range": {
500
519
  "start": 5,
501
520
  "end": 13
502
521
  },
503
- "dead": true,
504
522
  "types": [
505
523
  "direction"
506
524
  ],
507
- "level": 1
525
+ "level": 0
508
526
  },
509
527
  "generate": [
510
528
  "operator",
@@ -512,6 +530,7 @@
512
530
  "direction"
513
531
  ],
514
532
  "level": 1,
533
+ "context_index": 1,
515
534
  "topLevel": true,
516
535
  "touchedBy": [
517
536
  "ui#call2"
@@ -541,6 +560,53 @@
541
560
  ]
542
561
  ]
543
562
  ],
563
+ "summaries": [
564
+ {
565
+ "summaries": [
566
+ {
567
+ "operators": [
568
+ {
569
+ "marker": [
570
+ "move",
571
+ 0
572
+ ],
573
+ "range": {
574
+ "start": 0,
575
+ "end": 3
576
+ }
577
+ },
578
+ {
579
+ "marker": [
580
+ "direction",
581
+ 0
582
+ ],
583
+ "range": {
584
+ "start": 5,
585
+ "end": 13
586
+ }
587
+ }
588
+ ],
589
+ "counter": 1
590
+ },
591
+ {
592
+ "operators": [
593
+ {
594
+ "marker": [
595
+ "move",
596
+ 1
597
+ ],
598
+ "range": {
599
+ "start": 0,
600
+ "end": 13
601
+ }
602
+ }
603
+ ],
604
+ "counter": 2
605
+ }
606
+ ],
607
+ "length": 1
608
+ }
609
+ ],
544
610
  "learned_contextual_priorities": [],
545
611
  "query": "move direction",
546
612
  "skipSemantics": false,
@@ -562,5 +628,52 @@
562
628
  ]
563
629
  ]
564
630
  ],
631
+ "summaries": [
632
+ {
633
+ "summaries": [
634
+ {
635
+ "operators": [
636
+ {
637
+ "marker": [
638
+ "move",
639
+ 0
640
+ ],
641
+ "range": {
642
+ "start": 0,
643
+ "end": 3
644
+ }
645
+ },
646
+ {
647
+ "marker": [
648
+ "direction",
649
+ 0
650
+ ],
651
+ "range": {
652
+ "start": 5,
653
+ "end": 13
654
+ }
655
+ }
656
+ ],
657
+ "counter": 1
658
+ },
659
+ {
660
+ "operators": [
661
+ {
662
+ "marker": [
663
+ "move",
664
+ 1
665
+ ],
666
+ "range": {
667
+ "start": 0,
668
+ "end": 13
669
+ }
670
+ }
671
+ ],
672
+ "counter": 2
673
+ }
674
+ ],
675
+ "length": 1
676
+ }
677
+ ],
565
678
  "learned_contextual_priorities": []
566
679
  }
package/common/ui.js CHANGED
@@ -77,8 +77,6 @@ const config = {
77
77
  where: where(),
78
78
  id: "select",
79
79
  isA: ['verb'],
80
- level: 0,
81
- bridge: "{ ...next(operator) }",
82
80
  semantic: ({api, context}) => {
83
81
  api.select()
84
82
  }
@@ -87,8 +85,6 @@ const config = {
87
85
  where: where(),
88
86
  id: "unselect",
89
87
  isA: ['verb'],
90
- level: 0,
91
- bridge: "{ ...next(operator) }",
92
88
  semantic: ({api, context}) => {
93
89
  api.unselect()
94
90
  }
@@ -106,9 +102,7 @@ const config = {
106
102
  where: where(),
107
103
  id: "cancel",
108
104
  isA: ['verb'],
109
- level: 0,
110
105
  words: ['close'],
111
- bridge: "{ ...next(operator) }",
112
106
  semantic: ({api, context}) => {
113
107
  api.cancel()
114
108
  }
@@ -148,33 +142,23 @@ const config = {
148
142
  },
149
143
  {
150
144
  id: "down",
151
- level: 0,
152
145
  isA: ['direction'],
153
- bridge: "{ ...next(operator) }"
154
146
  },
155
147
  {
156
148
  id: "left",
157
- level: 0,
158
149
  isA: ['direction'],
159
- bridge: "{ ...next(operator) }"
160
150
  },
161
151
  {
162
152
  id: "right",
163
- level: 0,
164
153
  isA: ['direction'],
165
- bridge: "{ ...next(operator) }"
166
154
  },
167
155
  {
168
156
  id: "action",
169
- level: 0,
170
157
  isA: ['action'],
171
- bridge: "{ ...next(operator) }"
172
158
  },
173
159
  {
174
160
  id: "listening",
175
- level: 0,
176
161
  isA: ['action'],
177
- bridge: "{ ...next(operator) }"
178
162
  },
179
163
  ],
180
164
  };