tpmkms_4wp 8.9.1-beta.9 → 9.0.0

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 (117) hide show
  1. package/common/animals.instance.json +6516 -754
  2. package/common/articles.js +6 -9
  3. package/common/articles.test.json +304 -4
  4. package/common/asking.js +1 -1
  5. package/common/asking.test.json +1599 -140
  6. package/common/avatar.js +8 -0
  7. package/common/avatar.test.json +6008 -2749
  8. package/common/characters.test.json +1371 -95
  9. package/common/colors.instance.json +22685 -1441
  10. package/common/colors.test.json +704 -136
  11. package/common/comparable.instance.json +1302 -169
  12. package/common/comparable.js +12 -12
  13. package/common/comparable.test.json +3239 -558
  14. package/common/concept.js +10 -2
  15. package/common/concept.test.json +2853 -694
  16. package/common/conjunction.js +12 -0
  17. package/common/conjunction.test.json +229 -1
  18. package/common/countable.js +1 -1
  19. package/common/countable.test.json +1306 -48
  20. package/common/crew.instance.json +18984 -1943
  21. package/common/crew.js +19 -0
  22. package/common/crew.test.json +10218 -2145
  23. package/common/currency.js +0 -1
  24. package/common/currency.test.json +948 -64
  25. package/common/dialogues.js +100 -32
  26. package/common/dialogues.test.json +6611 -1905
  27. package/common/dimension.instance.json +751 -82
  28. package/common/dimension.js +16 -2
  29. package/common/dimension.test.json +23680 -11550
  30. package/common/edible.instance.json +21654 -2721
  31. package/common/edible.js +13 -0
  32. package/common/edible.test.json +1580 -304
  33. package/common/emotions.instance.json +2275 -259
  34. package/common/emotions.js +10 -2
  35. package/common/emotions.test.json +1134 -107
  36. package/common/errors.js +0 -2
  37. package/common/errors.test.json +88 -0
  38. package/common/evaluate.test.json +100 -1
  39. package/common/events.test.json +2197 -242
  40. package/common/fastfood.instance.json +82297 -10535
  41. package/common/fastfood.js +96 -9
  42. package/common/fastfood.test.json +65486 -21430
  43. package/common/formulas.instance.json +316 -59
  44. package/common/formulas.test.json +13202 -6757
  45. package/common/gdefaults.js +9 -2
  46. package/common/help.test.json +288 -0
  47. package/common/helpers/concept.js +3 -2
  48. package/common/helpers/properties.js +2 -32
  49. package/common/hierarchy.js +9 -0
  50. package/common/hierarchy.test.json +53813 -17340
  51. package/common/javascript.test.json +214 -11
  52. package/common/kirk.instance.json +309 -9
  53. package/common/kirk.test.json +1123 -254
  54. package/common/length.instance.json +9722 -774
  55. package/common/length.test.json +12055 -8184
  56. package/common/listener.test.json +39 -1
  57. package/common/math.instance.json +285 -58
  58. package/common/math.test.json +38557 -17754
  59. package/common/meta.instance.json +1 -0
  60. package/common/meta.js +8 -8
  61. package/common/meta.test.json +2770 -275
  62. package/common/nameable.js +1 -1
  63. package/common/nameable.test.json +5150 -1475
  64. package/common/negation.test.json +146 -8
  65. package/common/numbers.test.json +234 -0
  66. package/common/ordering.instance.json +3870 -493
  67. package/common/ordering.test.json +2680 -1283
  68. package/common/ordinals.js +11 -1
  69. package/common/ordinals.test.json +627 -3
  70. package/common/people.instance.json +3844 -575
  71. package/common/people.js +0 -14
  72. package/common/people.test.json +27157 -13664
  73. package/common/percentages.js +0 -1
  74. package/common/percentages.test.json +313 -0
  75. package/common/pipboy.instance.json +13577 -1511
  76. package/common/pipboy.js +30 -48
  77. package/common/pipboy.test.json +19335 -6019
  78. package/common/pokemon.instance.json +6014 -731
  79. package/common/pokemon.test.json +1826 -389
  80. package/common/pos.js +15 -5
  81. package/common/pressure.instance.json +2615 -308
  82. package/common/pressure.test.json +2997 -1629
  83. package/common/properties.instance.json +894 -86
  84. package/common/properties.js +17 -26
  85. package/common/properties.test.json +46801 -14612
  86. package/common/punctuation.test.json +327 -0
  87. package/common/reports.instance.json +979 -120
  88. package/common/reports.js +9 -2
  89. package/common/reports.test.json +16653 -2453
  90. package/common/scorekeeper.instance.json +1 -0
  91. package/common/scorekeeper.js +17 -7
  92. package/common/scorekeeper.test.json +42546 -15408
  93. package/common/sizeable.js +1 -1
  94. package/common/sizeable.test.json +1170 -215
  95. package/common/spock.instance.json +309 -9
  96. package/common/spock.test.json +1123 -254
  97. package/common/stgame.js +0 -1
  98. package/common/stgame.test.json +1371 -91
  99. package/common/stm.test.json +842 -9
  100. package/common/tell.test.json +224 -1
  101. package/common/temperature.instance.json +5967 -308
  102. package/common/temperature.test.json +2610 -1272
  103. package/common/testing.test.json +84 -1
  104. package/common/time.test.json +5345 -272
  105. package/common/tokenize.js +3 -2
  106. package/common/tokenize.test.json +39 -0
  107. package/common/ui.instance.json +130 -27
  108. package/common/ui.js +0 -16
  109. package/common/ui.test.json +4620 -140
  110. package/common/weight.instance.json +9915 -777
  111. package/common/weight.js +10 -0
  112. package/common/weight.test.json +18658 -12176
  113. package/common/wp.instance.json +14141 -1542
  114. package/common/wp.js +105 -38
  115. package/common/wp.test.json +61801 -1662
  116. package/common/yesno.test.json +168 -4
  117. package/package.json +2 -2
@@ -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
  [
@@ -86,7 +86,7 @@
86
86
  ],
87
87
  [
88
88
  "each",
89
- "articlePOS",
89
+ "article",
90
90
  false
91
91
  ],
92
92
  [
@@ -96,7 +96,7 @@
96
96
  ],
97
97
  [
98
98
  "every",
99
- "articlePOS",
99
+ "article",
100
100
  false
101
101
  ],
102
102
  [
@@ -139,6 +139,11 @@
139
139
  "verb",
140
140
  false
141
141
  ],
142
+ [
143
+ "isQuery",
144
+ "verb",
145
+ false
146
+ ],
142
147
  [
143
148
  "it",
144
149
  "pronoun",
@@ -164,6 +169,11 @@
164
169
  "direction",
165
170
  false
166
171
  ],
172
+ [
173
+ "listable",
174
+ "theAble",
175
+ false
176
+ ],
167
177
  [
168
178
  "listening",
169
179
  "action",
@@ -209,6 +219,11 @@
209
219
  "queryable",
210
220
  false
211
221
  ],
222
+ [
223
+ "object",
224
+ "listable",
225
+ false
226
+ ],
212
227
  [
213
228
  "object",
214
229
  "queryable",
@@ -229,6 +244,16 @@
229
244
  "queryable",
230
245
  false
231
246
  ],
247
+ [
248
+ "orderable",
249
+ "theAble",
250
+ false
251
+ ],
252
+ [
253
+ "ordinal",
254
+ "listable",
255
+ false
256
+ ],
232
257
  [
233
258
  "ordinalOnOrdered",
234
259
  "adjective",
@@ -271,7 +296,7 @@
271
296
  ],
272
297
  [
273
298
  "queryable",
274
- "queryable",
299
+ "listable",
275
300
  false
276
301
  ],
277
302
  [
@@ -326,7 +351,7 @@
326
351
  ],
327
352
  [
328
353
  "the",
329
- "articlePOS",
354
+ "article",
330
355
  false
331
356
  ],
332
357
  [
@@ -432,23 +457,6 @@
432
457
  ],
433
458
  "metadata": {
434
459
  "opChoices": [
435
- {
436
- "op": [
437
- "direction",
438
- 0
439
- ],
440
- "ops": [
441
- [
442
- "direction",
443
- 0
444
- ],
445
- [
446
- "move",
447
- 0
448
- ]
449
- ],
450
- "counter": 1
451
- },
452
460
  {
453
461
  "op": [
454
462
  "move",
@@ -460,7 +468,7 @@
460
468
  0
461
469
  ]
462
470
  ],
463
- "counter": 2
471
+ "counter": 1
464
472
  }
465
473
  ]
466
474
  },
@@ -505,16 +513,16 @@
505
513
  "value": "direction",
506
514
  "default": true,
507
515
  "text": "direction",
516
+ "dead": true,
508
517
  "word": "direction",
509
518
  "range": {
510
519
  "start": 5,
511
520
  "end": 13
512
521
  },
513
- "dead": true,
514
522
  "types": [
515
523
  "direction"
516
524
  ],
517
- "level": 1
525
+ "level": 0
518
526
  },
519
527
  "generate": [
520
528
  "operator",
@@ -522,6 +530,7 @@
522
530
  "direction"
523
531
  ],
524
532
  "level": 1,
533
+ "context_index": 1,
525
534
  "topLevel": true,
526
535
  "touchedBy": [
527
536
  "ui#call2"
@@ -551,6 +560,53 @@
551
560
  ]
552
561
  ]
553
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
+ ],
554
610
  "learned_contextual_priorities": [],
555
611
  "query": "move direction",
556
612
  "skipSemantics": false,
@@ -572,5 +628,52 @@
572
628
  ]
573
629
  ]
574
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
+ ],
575
678
  "learned_contextual_priorities": []
576
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
  };