tpmkms 9.7.1-beta.11 → 9.7.1-beta.12

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.
@@ -166,7 +166,7 @@
166
166
  },
167
167
  "semantics": [
168
168
  {
169
- "match": "({context, isA}) => !context.pullFromContext && (isA(context.marker, 'action') || isA(context.marker, 'doAction'))",
169
+ "match": "({context, isA, stack, namespaced}) => !context.pullFromContext && !context.evaluate && (isA(context.marker, 'action') || isA(context.marker, 'doAction')) && !namespaced.get('actions', context, 'logged')",
170
170
  "apply": "async ({context, _continue, testLog, g, remember}) => {\n remember(context)\n await testLog(() => g(context))\n _continue()\n }"
171
171
  }
172
172
  ]
@@ -397,6 +397,11 @@
397
397
  "adjective",
398
398
  false
399
399
  ],
400
+ [
401
+ "ageMarker",
402
+ "propertyMarker",
403
+ false
404
+ ],
400
405
  [
401
406
  "all",
402
407
  "quantifier",
@@ -2102,6 +2107,11 @@
2102
2107
  "thisAble",
2103
2108
  false
2104
2109
  ],
2110
+ [
2111
+ "propertyMarker",
2112
+ "propertyMarker",
2113
+ false
2114
+ ],
2105
2115
  [
2106
2116
  "propertyOf",
2107
2117
  "preposition",
package/common/actions.js CHANGED
@@ -147,7 +147,7 @@ const config = {
147
147
  {
148
148
  where: where(),
149
149
  priority: -1,
150
- match: ({context, isA}) => !context.pullFromContext && (isA(context.marker, 'action') || isA(context.marker, 'doAction')),
150
+ match: ({context, isA, stack, namespaced}) => !context.pullFromContext && !context.evaluate && (isA(context.marker, 'action') || isA(context.marker, 'doAction')) && !namespaced.get('actions', context, 'logged'),
151
151
  apply: async ({context, _continue, testLog, g, remember}) => {
152
152
  remember(context)
153
153
  await testLog(() => g(context))
@@ -2774,7 +2774,8 @@
2774
2774
  "queryable",
2775
2775
  "unknown"
2776
2776
  ],
2777
- "level": 0
2777
+ "level": 0,
2778
+ "evaluate": false
2778
2779
  },
2779
2780
  "two": {
2780
2781
  "value": "concepts",
@@ -3493,7 +3494,8 @@
3493
3494
  "queryable",
3494
3495
  "unknown"
3495
3496
  ],
3496
- "level": 0
3497
+ "level": 0,
3498
+ "evaluate": false
3497
3499
  },
3498
3500
  "two": {
3499
3501
  "value": "condition",
@@ -4528,7 +4530,8 @@
4528
4530
  "types": [
4529
4531
  "unknown"
4530
4532
  ],
4531
- "level": 0
4533
+ "level": 0,
4534
+ "evaluate": false
4532
4535
  },
4533
4536
  {
4534
4537
  "value": "lowest",
@@ -4559,7 +4562,8 @@
4559
4562
  "types": [
4560
4563
  "unknown"
4561
4564
  ],
4562
- "level": 0
4565
+ "level": 0,
4566
+ "evaluate": false
4563
4567
  },
4564
4568
  {
4565
4569
  "value": "maximum",
@@ -4575,7 +4579,8 @@
4575
4579
  "types": [
4576
4580
  "unknown"
4577
4581
  ],
4578
- "level": 0
4582
+ "level": 0,
4583
+ "evaluate": false
4579
4584
  },
4580
4585
  {
4581
4586
  "value": "minimum",
@@ -4591,7 +4596,8 @@
4591
4596
  "types": [
4592
4597
  "unknown"
4593
4598
  ],
4594
- "level": 0
4599
+ "level": 0,
4600
+ "evaluate": false
4595
4601
  }
4596
4602
  ],
4597
4603
  "level": 1
@@ -33137,6 +33137,24 @@
33137
33137
  0
33138
33138
  ]
33139
33139
  ],
33140
+ [
33141
+ [
33142
+ "is",
33143
+ 0
33144
+ ],
33145
+ [
33146
+ "propertyOf",
33147
+ 0
33148
+ ],
33149
+ [
33150
+ "the",
33151
+ 0
33152
+ ],
33153
+ [
33154
+ "unknown",
33155
+ 0
33156
+ ]
33157
+ ],
33140
33158
  [
33141
33159
  [
33142
33160
  "is",
@@ -51073,32 +51091,6 @@
51073
51091
  0
51074
51092
  ]
51075
51093
  ],
51076
- [
51077
- [
51078
- "arm",
51079
- 0
51080
- ],
51081
- [
51082
- "means",
51083
- 0
51084
- ],
51085
- [
51086
- "propertyOf",
51087
- 0
51088
- ],
51089
- [
51090
- "status",
51091
- 0
51092
- ],
51093
- [
51094
- "the",
51095
- 0
51096
- ],
51097
- [
51098
- "unknown",
51099
- 0
51100
- ]
51101
- ],
51102
51094
  [
51103
51095
  [
51104
51096
  "arm",
@@ -54812,40 +54804,6 @@
54812
54804
  0
54813
54805
  ]
54814
54806
  ],
54815
- [
54816
- [
54817
- "disarm",
54818
- 0
54819
- ],
54820
- [
54821
- "is",
54822
- 0
54823
- ],
54824
- [
54825
- "means",
54826
- 0
54827
- ],
54828
- [
54829
- "not",
54830
- 0
54831
- ],
54832
- [
54833
- "propertyOf",
54834
- 0
54835
- ],
54836
- [
54837
- "status",
54838
- 0
54839
- ],
54840
- [
54841
- "the",
54842
- 0
54843
- ],
54844
- [
54845
- "unknown",
54846
- 0
54847
- ]
54848
- ],
54849
54807
  [
54850
54808
  [
54851
54809
  "disarm",
@@ -56489,32 +56447,6 @@
56489
56447
  0
56490
56448
  ]
56491
56449
  ],
56492
- [
56493
- [
56494
- "arm",
56495
- 0
56496
- ],
56497
- [
56498
- "means",
56499
- 0
56500
- ],
56501
- [
56502
- "propertyOf",
56503
- 0
56504
- ],
56505
- [
56506
- "status",
56507
- 0
56508
- ],
56509
- [
56510
- "the",
56511
- 0
56512
- ],
56513
- [
56514
- "unknown",
56515
- 0
56516
- ]
56517
- ],
56518
56450
  [
56519
56451
  [
56520
56452
  "arm",
@@ -56613,40 +56545,6 @@
56613
56545
  0
56614
56546
  ]
56615
56547
  ],
56616
- [
56617
- [
56618
- "disarm",
56619
- 0
56620
- ],
56621
- [
56622
- "is",
56623
- 0
56624
- ],
56625
- [
56626
- "means",
56627
- 0
56628
- ],
56629
- [
56630
- "not",
56631
- 0
56632
- ],
56633
- [
56634
- "propertyOf",
56635
- 0
56636
- ],
56637
- [
56638
- "status",
56639
- 0
56640
- ],
56641
- [
56642
- "the",
56643
- 0
56644
- ],
56645
- [
56646
- "unknown",
56647
- 0
56648
- ]
56649
- ],
56650
56548
  [
56651
56549
  [
56652
56550
  "disarm",
@@ -57395,6 +57293,24 @@
57395
57293
  0
57396
57294
  ]
57397
57295
  ],
57296
+ [
57297
+ [
57298
+ "is",
57299
+ 0
57300
+ ],
57301
+ [
57302
+ "propertyOf",
57303
+ 0
57304
+ ],
57305
+ [
57306
+ "the",
57307
+ 0
57308
+ ],
57309
+ [
57310
+ "unknown",
57311
+ 0
57312
+ ]
57313
+ ],
57398
57314
  [
57399
57315
  [
57400
57316
  "is",
@@ -144,12 +144,16 @@
144
144
  "id": "amountOfCoordinate",
145
145
  "convolution": true,
146
146
  "before": [
147
- "preposition"
147
+ "preposition",
148
+ "propertyMarker"
149
+ ],
150
+ "after": [
151
+ "mathematical_operator"
148
152
  ],
149
153
  "bridge": "{ marker: next(operator('quantity')), dead: true, unit: after[0], amount: before[0], interpolate: [ { property: 'amount' }, { property: 'unit' } ] }"
150
154
  },
151
155
  {
152
- "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:257",
156
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:258",
153
157
  "id": "convertToUnits",
154
158
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
155
159
  "isA": [
@@ -26124,12 +26128,16 @@
26124
26128
  "id": "amountOfCoordinate",
26125
26129
  "convolution": true,
26126
26130
  "before": [
26127
- "preposition"
26131
+ "preposition",
26132
+ "propertyMarker"
26133
+ ],
26134
+ "after": [
26135
+ "mathematical_operator"
26128
26136
  ],
26129
26137
  "bridge": "{ marker: next(operator('quantity')), dead: true, unit: after[0], amount: before[0], interpolate: [ { property: 'amount' }, { property: 'unit' } ] }"
26130
26138
  },
26131
26139
  {
26132
- "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:257",
26140
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:258",
26133
26141
  "id": "convertToUnits",
26134
26142
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
26135
26143
  "isA": [
@@ -249,7 +249,8 @@ const config = {
249
249
  {
250
250
  id: "amountOfCoordinate",
251
251
  convolution: true,
252
- before: ['preposition'],
252
+ before: ['preposition', 'propertyMarker'],
253
+ after: ['mathematical_operator'],
253
254
  // bridge: "{ marker: next(operator('quantity')), dead: true, unit: after[0], value: before[0].value, amount: before[0] }"
254
255
  bridge: "{ marker: next(operator('quantity')), dead: true, unit: after[0], amount: before[0], interpolate: [ { property: 'amount' }, { property: 'unit' } ] }"
255
256
  },