@getmagical/cli 0.14.4 → 0.15.4

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/dist/index.js CHANGED
@@ -899,9 +899,9 @@ var require_lib = __commonJS({
899
899
  }
900
900
  });
901
901
 
902
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
902
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/utils.js
903
903
  var require_utils = __commonJS({
904
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
904
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
905
905
  "use strict";
906
906
  exports.__esModule = true;
907
907
  exports.extend = extend;
@@ -960,7 +960,7 @@ var require_utils = __commonJS({
960
960
  }
961
961
  function escapeExpression(string) {
962
962
  if (typeof string !== "string") {
963
- if (string && string.toHTML) {
963
+ if (string && typeof string.toHTML === "function") {
964
964
  return string.toHTML();
965
965
  } else if (string == null) {
966
966
  return "";
@@ -998,19 +998,21 @@ var require_utils = __commonJS({
998
998
  }
999
999
  });
1000
1000
 
1001
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js
1001
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/exception.js
1002
1002
  var require_exception = __commonJS({
1003
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module) {
1003
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module) {
1004
1004
  "use strict";
1005
1005
  exports.__esModule = true;
1006
1006
  var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
1007
1007
  function Exception(message, node) {
1008
1008
  var loc = node && node.loc, line = void 0, endLineNumber = void 0, column = void 0, endColumn = void 0;
1009
- if (loc) {
1009
+ if (loc && loc.start) {
1010
1010
  line = loc.start.line;
1011
- endLineNumber = loc.end.line;
1012
1011
  column = loc.start.column;
1013
- endColumn = loc.end.column;
1012
+ if (loc.end) {
1013
+ endLineNumber = loc.end.line;
1014
+ endColumn = loc.end.column;
1015
+ }
1014
1016
  message += " - " + line + ":" + column;
1015
1017
  }
1016
1018
  var tmp = Error.prototype.constructor.call(this, message);
@@ -1047,9 +1049,9 @@ var require_exception = __commonJS({
1047
1049
  }
1048
1050
  });
1049
1051
 
1050
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
1052
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
1051
1053
  var require_block_helper_missing = __commonJS({
1052
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module) {
1054
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module) {
1053
1055
  "use strict";
1054
1056
  exports.__esModule = true;
1055
1057
  var _utils = require_utils();
@@ -1083,9 +1085,9 @@ var require_block_helper_missing = __commonJS({
1083
1085
  }
1084
1086
  });
1085
1087
 
1086
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
1088
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
1087
1089
  var require_each = __commonJS({
1088
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module) {
1090
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module) {
1089
1091
  "use strict";
1090
1092
  exports.__esModule = true;
1091
1093
  function _interopRequireDefault(obj) {
@@ -1094,6 +1096,15 @@ var require_each = __commonJS({
1094
1096
  var _utils = require_utils();
1095
1097
  var _exception = require_exception();
1096
1098
  var _exception2 = _interopRequireDefault(_exception);
1099
+ function closeIterator(iterator) {
1100
+ try {
1101
+ var _close = iterator["return"];
1102
+ if (_utils.isFunction(_close)) {
1103
+ _close.call(iterator);
1104
+ }
1105
+ } catch (closeError) {
1106
+ }
1107
+ }
1097
1108
  exports["default"] = function(instance) {
1098
1109
  instance.registerHelper("each", function(context, options) {
1099
1110
  if (!options) {
@@ -1109,7 +1120,7 @@ var require_each = __commonJS({
1109
1120
  if (options.data) {
1110
1121
  data = _utils.createFrame(options.data);
1111
1122
  }
1112
- function execIteration(field, index, last) {
1123
+ function execIteration(field, index, last, value) {
1113
1124
  if (data) {
1114
1125
  data.key = field;
1115
1126
  data.index = index;
@@ -1119,40 +1130,46 @@ var require_each = __commonJS({
1119
1130
  data.contextPath = contextPath + field;
1120
1131
  }
1121
1132
  }
1122
- ret = ret + fn(context[field], {
1133
+ ret = ret + fn(value, {
1123
1134
  data,
1124
- blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])
1135
+ blockParams: _utils.blockParams([value, field], [contextPath + field, null])
1125
1136
  });
1126
1137
  }
1127
1138
  if (context && typeof context === "object") {
1128
1139
  if (_utils.isArray(context)) {
1129
1140
  for (var j = context.length; i < j; i++) {
1130
1141
  if (i in context) {
1131
- execIteration(i, i, i === context.length - 1);
1142
+ execIteration(i, i, i === context.length - 1, context[i]);
1132
1143
  }
1133
1144
  }
1134
1145
  } else if (typeof Symbol === "function" && context[Symbol.iterator]) {
1135
- var newContext = [];
1136
1146
  var iterator = context[Symbol.iterator]();
1137
- for (var it = iterator.next(); !it.done; it = iterator.next()) {
1138
- newContext.push(it.value);
1139
- }
1140
- context = newContext;
1141
- for (var j = context.length; i < j; i++) {
1142
- execIteration(i, i, i === context.length - 1);
1147
+ var current = iterator.next();
1148
+ while (!current.done) {
1149
+ var next = iterator.next();
1150
+ try {
1151
+ execIteration(i, i, next.done, current.value);
1152
+ } catch (e) {
1153
+ if (!next.done) {
1154
+ closeIterator(iterator);
1155
+ }
1156
+ throw e;
1157
+ }
1158
+ current = next;
1159
+ i++;
1143
1160
  }
1144
1161
  } else {
1145
1162
  (function() {
1146
1163
  var priorKey = void 0;
1147
1164
  Object.keys(context).forEach(function(key) {
1148
1165
  if (priorKey !== void 0) {
1149
- execIteration(priorKey, i - 1);
1166
+ execIteration(priorKey, i - 1, false, context[priorKey]);
1150
1167
  }
1151
1168
  priorKey = key;
1152
1169
  i++;
1153
1170
  });
1154
1171
  if (priorKey !== void 0) {
1155
- execIteration(priorKey, i - 1, true);
1172
+ execIteration(priorKey, i - 1, true, context[priorKey]);
1156
1173
  }
1157
1174
  })();
1158
1175
  }
@@ -1167,9 +1184,9 @@ var require_each = __commonJS({
1167
1184
  }
1168
1185
  });
1169
1186
 
1170
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
1187
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
1171
1188
  var require_helper_missing = __commonJS({
1172
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module) {
1189
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module) {
1173
1190
  "use strict";
1174
1191
  exports.__esModule = true;
1175
1192
  function _interopRequireDefault(obj) {
@@ -1190,9 +1207,9 @@ var require_helper_missing = __commonJS({
1190
1207
  }
1191
1208
  });
1192
1209
 
1193
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
1210
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
1194
1211
  var require_if = __commonJS({
1195
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module) {
1212
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module) {
1196
1213
  "use strict";
1197
1214
  exports.__esModule = true;
1198
1215
  function _interopRequireDefault(obj) {
@@ -1230,9 +1247,9 @@ var require_if = __commonJS({
1230
1247
  }
1231
1248
  });
1232
1249
 
1233
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
1250
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
1234
1251
  var require_log = __commonJS({
1235
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module) {
1252
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module) {
1236
1253
  "use strict";
1237
1254
  exports.__esModule = true;
1238
1255
  exports["default"] = function(instance) {
@@ -1255,9 +1272,9 @@ var require_log = __commonJS({
1255
1272
  }
1256
1273
  });
1257
1274
 
1258
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
1275
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
1259
1276
  var require_lookup = __commonJS({
1260
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module) {
1277
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module) {
1261
1278
  "use strict";
1262
1279
  exports.__esModule = true;
1263
1280
  exports["default"] = function(instance) {
@@ -1272,9 +1289,9 @@ var require_lookup = __commonJS({
1272
1289
  }
1273
1290
  });
1274
1291
 
1275
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
1292
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
1276
1293
  var require_with = __commonJS({
1277
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module) {
1294
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module) {
1278
1295
  "use strict";
1279
1296
  exports.__esModule = true;
1280
1297
  function _interopRequireDefault(obj) {
@@ -1311,9 +1328,9 @@ var require_with = __commonJS({
1311
1328
  }
1312
1329
  });
1313
1330
 
1314
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js
1331
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers.js
1315
1332
  var require_helpers = __commonJS({
1316
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
1333
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
1317
1334
  "use strict";
1318
1335
  exports.__esModule = true;
1319
1336
  exports.registerDefaultHelpers = registerDefaultHelpers;
@@ -1355,9 +1372,9 @@ var require_helpers = __commonJS({
1355
1372
  }
1356
1373
  });
1357
1374
 
1358
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
1375
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
1359
1376
  var require_inline = __commonJS({
1360
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module) {
1377
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module) {
1361
1378
  "use strict";
1362
1379
  exports.__esModule = true;
1363
1380
  var _utils = require_utils();
@@ -1382,9 +1399,9 @@ var require_inline = __commonJS({
1382
1399
  }
1383
1400
  });
1384
1401
 
1385
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js
1402
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/decorators.js
1386
1403
  var require_decorators = __commonJS({
1387
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
1404
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
1388
1405
  "use strict";
1389
1406
  exports.__esModule = true;
1390
1407
  exports.registerDefaultDecorators = registerDefaultDecorators;
@@ -1399,9 +1416,9 @@ var require_decorators = __commonJS({
1399
1416
  }
1400
1417
  });
1401
1418
 
1402
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js
1419
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/logger.js
1403
1420
  var require_logger = __commonJS({
1404
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module) {
1421
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module) {
1405
1422
  "use strict";
1406
1423
  exports.__esModule = true;
1407
1424
  var _utils = require_utils();
@@ -1440,13 +1457,14 @@ var require_logger = __commonJS({
1440
1457
  }
1441
1458
  });
1442
1459
 
1443
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
1460
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
1444
1461
  var require_proto_access = __commonJS({
1445
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
1462
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
1446
1463
  "use strict";
1447
1464
  exports.__esModule = true;
1448
1465
  exports.createProtoAccessControl = createProtoAccessControl;
1449
1466
  exports.resultIsAllowed = resultIsAllowed;
1467
+ exports.isPrototypeConstructor = isPrototypeConstructor;
1450
1468
  exports.resetLoggedProperties = resetLoggedProperties;
1451
1469
  function _interopRequireDefault(obj) {
1452
1470
  return obj && obj.__esModule ? obj : { "default": obj };
@@ -1484,6 +1502,9 @@ var require_proto_access = __commonJS({
1484
1502
  return checkWhiteList(protoAccessControl.properties, propertyName);
1485
1503
  }
1486
1504
  }
1505
+ function isPrototypeConstructor(parent, propertyName, result) {
1506
+ return propertyName === "constructor" && typeof result === "function" && parent === result.prototype;
1507
+ }
1487
1508
  function checkWhiteList(protoAccessControlForType, propertyName) {
1488
1509
  if (protoAccessControlForType.whitelist[propertyName] !== void 0) {
1489
1510
  return protoAccessControlForType.whitelist[propertyName] === true;
@@ -1508,9 +1529,9 @@ var require_proto_access = __commonJS({
1508
1529
  }
1509
1530
  });
1510
1531
 
1511
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js
1532
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/base.js
1512
1533
  var require_base = __commonJS({
1513
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
1534
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
1514
1535
  "use strict";
1515
1536
  exports.__esModule = true;
1516
1537
  exports.HandlebarsEnvironment = HandlebarsEnvironment;
@@ -1525,7 +1546,7 @@ var require_base = __commonJS({
1525
1546
  var _logger = require_logger();
1526
1547
  var _logger2 = _interopRequireDefault(_logger);
1527
1548
  var _internalProtoAccess = require_proto_access();
1528
- var VERSION = "4.7.9";
1549
+ var VERSION = "4.7.10";
1529
1550
  exports.VERSION = VERSION;
1530
1551
  var COMPILER_REVISION = 8;
1531
1552
  exports.COMPILER_REVISION = COMPILER_REVISION;
@@ -1609,9 +1630,9 @@ var require_base = __commonJS({
1609
1630
  }
1610
1631
  });
1611
1632
 
1612
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
1633
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/safe-string.js
1613
1634
  var require_safe_string = __commonJS({
1614
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module) {
1635
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module) {
1615
1636
  "use strict";
1616
1637
  exports.__esModule = true;
1617
1638
  function SafeString(string) {
@@ -1625,9 +1646,9 @@ var require_safe_string = __commonJS({
1625
1646
  }
1626
1647
  });
1627
1648
 
1628
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
1649
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
1629
1650
  var require_wrapHelper = __commonJS({
1630
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
1651
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
1631
1652
  "use strict";
1632
1653
  exports.__esModule = true;
1633
1654
  exports.wrapHelper = wrapHelper;
@@ -1645,9 +1666,9 @@ var require_wrapHelper = __commonJS({
1645
1666
  }
1646
1667
  });
1647
1668
 
1648
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js
1669
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/runtime.js
1649
1670
  var require_runtime = __commonJS({
1650
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
1671
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
1651
1672
  "use strict";
1652
1673
  exports.__esModule = true;
1653
1674
  exports.checkRevision = checkRevision;
@@ -1714,7 +1735,13 @@ var require_runtime = __commonJS({
1714
1735
  options.hooks = this.hooks;
1715
1736
  options.protoAccessControl = this.protoAccessControl;
1716
1737
  var result = env.VM.invokePartial.call(this, partial, context, options);
1738
+ if (result == null && Utils.isFunction(partial)) {
1739
+ throw new _exception2["default"]("The partial " + options.name + " returned no output: partials must return a string");
1740
+ }
1717
1741
  if (result == null && env.compile) {
1742
+ if (typeof partial !== "string") {
1743
+ throw new _exception2["default"]("The partial " + options.name + " could not be compiled: partials must be strings or functions returning strings");
1744
+ }
1718
1745
  options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);
1719
1746
  result = options.partials[options.name](context, options);
1720
1747
  }
@@ -1748,7 +1775,7 @@ var require_runtime = __commonJS({
1748
1775
  if (result == null) {
1749
1776
  return result;
1750
1777
  }
1751
- if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
1778
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName) && !_internalProtoAccess.isPrototypeConstructor(parent, propertyName, result)) {
1752
1779
  return result;
1753
1780
  }
1754
1781
  if (_internalProtoAccess.resultIsAllowed(result, container.protoAccessControl, propertyName)) {
@@ -1883,7 +1910,7 @@ var require_runtime = __commonJS({
1883
1910
  } else {
1884
1911
  partial = lookupOwnProperty(options.partials, options.name);
1885
1912
  }
1886
- } else if (!partial.call && !options.name) {
1913
+ } else if (typeof partial !== "function" && !options.name) {
1887
1914
  options.name = partial;
1888
1915
  partial = lookupOwnProperty(options.partials, partial);
1889
1916
  }
@@ -1960,9 +1987,9 @@ var require_runtime = __commonJS({
1960
1987
  }
1961
1988
  });
1962
1989
 
1963
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
1990
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
1964
1991
  var require_no_conflict = __commonJS({
1965
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module) {
1992
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module) {
1966
1993
  "use strict";
1967
1994
  exports.__esModule = true;
1968
1995
  exports["default"] = function(Handlebars3) {
@@ -1986,9 +2013,9 @@ var require_no_conflict = __commonJS({
1986
2013
  }
1987
2014
  });
1988
2015
 
1989
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js
2016
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars.runtime.js
1990
2017
  var require_handlebars_runtime = __commonJS({
1991
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module) {
2018
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module) {
1992
2019
  "use strict";
1993
2020
  exports.__esModule = true;
1994
2021
  function _interopRequireDefault(obj) {
@@ -2042,9 +2069,9 @@ var require_handlebars_runtime = __commonJS({
2042
2069
  }
2043
2070
  });
2044
2071
 
2045
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
2072
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
2046
2073
  var require_ast = __commonJS({
2047
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module) {
2074
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module) {
2048
2075
  "use strict";
2049
2076
  exports.__esModule = true;
2050
2077
  var AST = {
@@ -2071,9 +2098,9 @@ var require_ast = __commonJS({
2071
2098
  }
2072
2099
  });
2073
2100
 
2074
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
2101
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
2075
2102
  var require_parser = __commonJS({
2076
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module) {
2103
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module) {
2077
2104
  "use strict";
2078
2105
  exports.__esModule = true;
2079
2106
  var handlebars = (function() {
@@ -2781,9 +2808,19 @@ var require_parser = __commonJS({
2781
2808
  }
2782
2809
  });
2783
2810
 
2784
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
2811
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js
2812
+ var require_node_types = __commonJS({
2813
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js"(exports) {
2814
+ "use strict";
2815
+ exports.__esModule = true;
2816
+ var NODE_TYPES = ["Program", "BlockStatement", "DecoratorBlock", "PartialStatement", "PartialBlockStatement", "Decorator", "MustacheStatement", "ContentStatement", "CommentStatement", "SubExpression", "PathExpression", "StringLiteral", "NumberLiteral", "BooleanLiteral", "UndefinedLiteral", "NullLiteral", "Hash", "HashPair"];
2817
+ exports.NODE_TYPES = NODE_TYPES;
2818
+ }
2819
+ });
2820
+
2821
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
2785
2822
  var require_visitor = __commonJS({
2786
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module) {
2823
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module) {
2787
2824
  "use strict";
2788
2825
  exports.__esModule = true;
2789
2826
  function _interopRequireDefault(obj) {
@@ -2791,9 +2828,14 @@ var require_visitor = __commonJS({
2791
2828
  }
2792
2829
  var _exception = require_exception();
2793
2830
  var _exception2 = _interopRequireDefault(_exception);
2831
+ var _utils = require_utils();
2832
+ var _nodeTypes = require_node_types();
2794
2833
  function Visitor() {
2795
2834
  this.parents = [];
2796
2835
  }
2836
+ function isDispatchable(visitor, type) {
2837
+ return _utils.indexOf(_nodeTypes.NODE_TYPES, type) !== -1 || !(type in Visitor.prototype) && typeof visitor[type] === "function";
2838
+ }
2797
2839
  Visitor.prototype = {
2798
2840
  constructor: Visitor,
2799
2841
  mutating: false,
@@ -2801,7 +2843,7 @@ var require_visitor = __commonJS({
2801
2843
  acceptKey: function acceptKey(node, name) {
2802
2844
  var value = this.accept(node[name]);
2803
2845
  if (this.mutating) {
2804
- if (value && !Visitor.prototype[value.type]) {
2846
+ if (value && !isDispatchable(this, value.type)) {
2805
2847
  throw new _exception2["default"]('Unexpected node type "' + value.type + '" found when accepting ' + name + " on " + node.type);
2806
2848
  }
2807
2849
  node[name] = value;
@@ -2831,7 +2873,7 @@ var require_visitor = __commonJS({
2831
2873
  if (!object) {
2832
2874
  return;
2833
2875
  }
2834
- if (!this[object.type]) {
2876
+ if (!isDispatchable(this, object.type) || !this[object.type]) {
2835
2877
  throw new _exception2["default"]("Unknown type: " + object.type, object);
2836
2878
  }
2837
2879
  if (this.current) {
@@ -2902,9 +2944,9 @@ var require_visitor = __commonJS({
2902
2944
  }
2903
2945
  });
2904
2946
 
2905
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
2947
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
2906
2948
  var require_whitespace_control = __commonJS({
2907
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module) {
2949
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module) {
2908
2950
  "use strict";
2909
2951
  exports.__esModule = true;
2910
2952
  function _interopRequireDefault(obj) {
@@ -2938,7 +2980,7 @@ var require_whitespace_control = __commonJS({
2938
2980
  omitRight(body, i);
2939
2981
  if (omitLeft(body, i)) {
2940
2982
  if (current.type === "PartialStatement") {
2941
- current.indent = /([ \t]+$)/.exec(body[i - 1].original)[1];
2983
+ current.indent = /(?:^|[^ \t])([ \t]+)$/.exec(body[i - 1].original)[1];
2942
2984
  }
2943
2985
  }
2944
2986
  }
@@ -3014,7 +3056,7 @@ var require_whitespace_control = __commonJS({
3014
3056
  return isRoot;
3015
3057
  }
3016
3058
  if (prev.type === "ContentStatement") {
3017
- return (sibling || !isRoot ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(prev.original);
3059
+ return (sibling || !isRoot ? /(?:^|\S)[^\S\n]*\n\s*$/ : /^\s*$|(?:^|\S)[^\S\n]*\n\s*$/).test(prev.original);
3018
3060
  }
3019
3061
  }
3020
3062
  function isNextWhitespace(body, i, isRoot) {
@@ -3044,7 +3086,7 @@ var require_whitespace_control = __commonJS({
3044
3086
  return;
3045
3087
  }
3046
3088
  var original = current.value;
3047
- current.value = current.value.replace(multiple ? /\s+$/ : /[ \t]+$/, "");
3089
+ current.value = current.value.replace(multiple ? /(^|\S)\s+$/ : /(^|[^ \t])[ \t]+$/, "$1");
3048
3090
  current.leftStripped = current.value !== original;
3049
3091
  return current.leftStripped;
3050
3092
  }
@@ -3053,9 +3095,9 @@ var require_whitespace_control = __commonJS({
3053
3095
  }
3054
3096
  });
3055
3097
 
3056
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
3098
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
3057
3099
  var require_helpers2 = __commonJS({
3058
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
3100
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
3059
3101
  "use strict";
3060
3102
  exports.__esModule = true;
3061
3103
  exports.SourceLocation = SourceLocation;
@@ -3241,9 +3283,9 @@ var require_helpers2 = __commonJS({
3241
3283
  }
3242
3284
  });
3243
3285
 
3244
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
3286
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
3245
3287
  var require_base2 = __commonJS({
3246
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
3288
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
3247
3289
  "use strict";
3248
3290
  exports.__esModule = true;
3249
3291
  exports.parseWithoutProcessing = parseWithoutProcessing;
@@ -3271,15 +3313,12 @@ var require_base2 = __commonJS({
3271
3313
  var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
3272
3314
  var _helpers = require_helpers2();
3273
3315
  var Helpers = _interopRequireWildcard(_helpers);
3274
- var _exception = require_exception();
3275
- var _exception2 = _interopRequireDefault(_exception);
3276
3316
  var _utils = require_utils();
3277
3317
  exports.parser = _parser2["default"];
3278
3318
  var yy = {};
3279
3319
  _utils.extend(yy, Helpers);
3280
3320
  function parseWithoutProcessing(input, options) {
3281
3321
  if (input.type === "Program") {
3282
- validateInputAst(input);
3283
3322
  return input;
3284
3323
  }
3285
3324
  _parser2["default"].yy = yy;
@@ -3294,57 +3333,12 @@ var require_base2 = __commonJS({
3294
3333
  var strip = new _whitespaceControl2["default"](options);
3295
3334
  return strip.accept(ast);
3296
3335
  }
3297
- function validateInputAst(ast) {
3298
- validateAstNode(ast);
3299
- }
3300
- function validateAstNode(node) {
3301
- if (node == null) {
3302
- return;
3303
- }
3304
- if (Array.isArray(node)) {
3305
- node.forEach(validateAstNode);
3306
- return;
3307
- }
3308
- if (typeof node !== "object") {
3309
- return;
3310
- }
3311
- if (node.type === "PathExpression") {
3312
- if (!isValidDepth(node.depth)) {
3313
- throw new _exception2["default"]("Invalid AST: PathExpression.depth must be an integer");
3314
- }
3315
- if (!Array.isArray(node.parts)) {
3316
- throw new _exception2["default"]("Invalid AST: PathExpression.parts must be an array");
3317
- }
3318
- for (var i = 0; i < node.parts.length; i++) {
3319
- if (typeof node.parts[i] !== "string") {
3320
- throw new _exception2["default"]("Invalid AST: PathExpression.parts must only contain strings");
3321
- }
3322
- }
3323
- } else if (node.type === "NumberLiteral") {
3324
- if (typeof node.value !== "number" || !isFinite(node.value)) {
3325
- throw new _exception2["default"]("Invalid AST: NumberLiteral.value must be a number");
3326
- }
3327
- } else if (node.type === "BooleanLiteral") {
3328
- if (typeof node.value !== "boolean") {
3329
- throw new _exception2["default"]("Invalid AST: BooleanLiteral.value must be a boolean");
3330
- }
3331
- }
3332
- Object.keys(node).forEach(function(propertyName) {
3333
- if (propertyName === "loc") {
3334
- return;
3335
- }
3336
- validateAstNode(node[propertyName]);
3337
- });
3338
- }
3339
- function isValidDepth(depth) {
3340
- return typeof depth === "number" && isFinite(depth) && Math.floor(depth) === depth && depth >= 0;
3341
- }
3342
3336
  }
3343
3337
  });
3344
3338
 
3345
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
3339
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
3346
3340
  var require_compiler = __commonJS({
3347
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
3341
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
3348
3342
  "use strict";
3349
3343
  exports.__esModule = true;
3350
3344
  exports.Compiler = Compiler;
@@ -3358,6 +3352,7 @@ var require_compiler = __commonJS({
3358
3352
  var _utils = require_utils();
3359
3353
  var _ast = require_ast();
3360
3354
  var _ast2 = _interopRequireDefault(_ast);
3355
+ var _nodeTypes = require_node_types();
3361
3356
  var slice = [].slice;
3362
3357
  function Compiler() {
3363
3358
  }
@@ -3411,7 +3406,7 @@ var require_compiler = __commonJS({
3411
3406
  return guid;
3412
3407
  },
3413
3408
  accept: function accept(node) {
3414
- if (!this[node.type]) {
3409
+ if (_utils.indexOf(_nodeTypes.NODE_TYPES, node.type) === -1 || !this[node.type]) {
3415
3410
  throw new _exception2["default"]("Unknown type: " + node.type, node);
3416
3411
  }
3417
3412
  this.sourceNode.unshift(node);
@@ -3420,6 +3415,7 @@ var require_compiler = __commonJS({
3420
3415
  return ret;
3421
3416
  },
3422
3417
  Program: function Program(program2) {
3418
+ validateBlockParams(program2);
3423
3419
  this.options.blockParams.unshift(program2.blockParams);
3424
3420
  var body = program2.body, bodyLength = body.length;
3425
3421
  for (var i = 0; i < bodyLength; i++) {
@@ -3503,6 +3499,9 @@ var require_compiler = __commonJS({
3503
3499
  this.DecoratorBlock(decorator);
3504
3500
  },
3505
3501
  ContentStatement: function ContentStatement(content) {
3502
+ if (content.value != null && typeof content.value !== "string") {
3503
+ throw invalidAst(content, "value must be a string");
3504
+ }
3506
3505
  if (content.value) {
3507
3506
  this.opcode("appendContent", content.value);
3508
3507
  }
@@ -3522,7 +3521,7 @@ var require_compiler = __commonJS({
3522
3521
  },
3523
3522
  ambiguousSexpr: function ambiguousSexpr(sexpr, program2, inverse) {
3524
3523
  var path25 = sexpr.path, name = path25.parts[0], isBlock = program2 != null || inverse != null;
3525
- this.opcode("getContext", path25.depth);
3524
+ this.opcode("getContext", validateDepth(path25));
3526
3525
  this.opcode("pushProgram", program2);
3527
3526
  this.opcode("pushProgram", inverse);
3528
3527
  path25.strict = true;
@@ -3549,27 +3548,32 @@ var require_compiler = __commonJS({
3549
3548
  }
3550
3549
  },
3551
3550
  PathExpression: function PathExpression(path25) {
3552
- this.addDepth(path25.depth);
3553
- this.opcode("getContext", path25.depth);
3554
- var name = path25.parts[0], scoped = _ast2["default"].helpers.scopedId(path25), blockParamId = !path25.depth && !scoped && this.blockParamIndex(name);
3551
+ var depth = validateDepth(path25);
3552
+ var parts = validateParts(path25);
3553
+ this.addDepth(depth);
3554
+ this.opcode("getContext", depth);
3555
+ var name = parts[0], scoped = _ast2["default"].helpers.scopedId(path25), blockParamId = !depth && !scoped && this.blockParamIndex(name);
3555
3556
  if (blockParamId) {
3556
- this.opcode("lookupBlockParam", blockParamId, path25.parts);
3557
+ this.opcode("lookupBlockParam", blockParamId, parts);
3557
3558
  } else if (!name) {
3558
3559
  this.opcode("pushContext");
3559
3560
  } else if (path25.data) {
3560
3561
  this.options.data = true;
3561
- this.opcode("lookupData", path25.depth, path25.parts, path25.strict);
3562
+ this.opcode("lookupData", depth, parts, path25.strict);
3562
3563
  } else {
3563
- this.opcode("lookupOnContext", path25.parts, path25.falsy, path25.strict, scoped);
3564
+ this.opcode("lookupOnContext", parts, path25.falsy, path25.strict, scoped);
3564
3565
  }
3565
3566
  },
3566
3567
  StringLiteral: function StringLiteral(string) {
3568
+ validateLiteral(string);
3567
3569
  this.opcode("pushString", string.value);
3568
3570
  },
3569
3571
  NumberLiteral: function NumberLiteral(number) {
3572
+ validateLiteral(number);
3570
3573
  this.opcode("pushLiteral", number.value);
3571
3574
  },
3572
3575
  BooleanLiteral: function BooleanLiteral(bool) {
3576
+ validateLiteral(bool);
3573
3577
  this.opcode("pushLiteral", bool.value);
3574
3578
  },
3575
3579
  UndefinedLiteral: function UndefinedLiteral() {
@@ -3579,7 +3583,16 @@ var require_compiler = __commonJS({
3579
3583
  this.opcode("pushLiteral", "null");
3580
3584
  },
3581
3585
  Hash: function Hash(hash) {
3582
- var pairs = hash.pairs, i = 0, l = pairs.length;
3586
+ var pairs = hash.pairs, i = 0, l = void 0;
3587
+ if (!_utils.isArray(pairs)) {
3588
+ throw invalidAst(hash, "pairs must be an array");
3589
+ }
3590
+ l = pairs.length;
3591
+ for (var j = 0; j < l; j++) {
3592
+ if (!pairs[j] || typeof pairs[j].key !== "string") {
3593
+ throw invalidAst(hash, "pair keys must be strings");
3594
+ }
3595
+ }
3583
3596
  this.opcode("pushHash");
3584
3597
  for (; i < l; i++) {
3585
3598
  this.pushParam(pairs[i].value);
@@ -3604,6 +3617,7 @@ var require_compiler = __commonJS({
3604
3617
  this.useDepths = true;
3605
3618
  },
3606
3619
  classifySexpr: function classifySexpr(sexpr) {
3620
+ validateParts(sexpr.path);
3607
3621
  var isSimple = _ast2["default"].helpers.simpleId(sexpr.path);
3608
3622
  var isBlockParam = isSimple && !!this.blockParamIndex(sexpr.path.parts[0]);
3609
3623
  var isHelper = !isBlockParam && _ast2["default"].helpers.helperExpression(sexpr);
@@ -3630,15 +3644,20 @@ var require_compiler = __commonJS({
3630
3644
  }
3631
3645
  },
3632
3646
  pushParam: function pushParam(val) {
3647
+ validateLiteral(val);
3633
3648
  var value = val.value != null ? val.value : val.original || "";
3649
+ var depth = validateDepth(val);
3634
3650
  if (this.stringParams) {
3651
+ if (typeof value !== "number" && typeof value !== "boolean") {
3652
+ value = String(value);
3653
+ }
3635
3654
  if (value.replace) {
3636
3655
  value = value.replace(/^(\.?\.\/)*/g, "").replace(/\//g, ".");
3637
3656
  }
3638
- if (val.depth) {
3639
- this.addDepth(val.depth);
3657
+ if (depth) {
3658
+ this.addDepth(depth);
3640
3659
  }
3641
- this.opcode("getContext", val.depth || 0);
3660
+ this.opcode("getContext", depth);
3642
3661
  this.opcode("pushStringParam", value, val.type);
3643
3662
  if (val.type === "SubExpression") {
3644
3663
  this.accept(val);
@@ -3646,8 +3665,8 @@ var require_compiler = __commonJS({
3646
3665
  } else {
3647
3666
  if (this.trackIds) {
3648
3667
  var blockParamIndex = void 0;
3649
- if (val.parts && !_ast2["default"].helpers.scopedId(val) && !val.depth) {
3650
- blockParamIndex = this.blockParamIndex(val.parts[0]);
3668
+ if (val.parts && !_ast2["default"].helpers.scopedId(val) && !depth) {
3669
+ blockParamIndex = this.blockParamIndex(validateParts(val)[0]);
3651
3670
  }
3652
3671
  if (blockParamIndex) {
3653
3672
  var blockParamChild = val.parts.slice(1).join(".");
@@ -3735,6 +3754,48 @@ var require_compiler = __commonJS({
3735
3754
  };
3736
3755
  return ret;
3737
3756
  }
3757
+ function invalidAst(node, message) {
3758
+ return new _exception2["default"]("Invalid AST: " + node.type + " " + message, node);
3759
+ }
3760
+ function validateDepth(node) {
3761
+ var depth = node.depth;
3762
+ if (depth == null) {
3763
+ return 0;
3764
+ }
3765
+ if (typeof depth !== "number" || !isFinite(depth) || Math.floor(depth) !== depth || depth < 0) {
3766
+ throw invalidAst(node, "depth must be a non-negative integer");
3767
+ }
3768
+ return depth;
3769
+ }
3770
+ function validateLiteral(node) {
3771
+ var value = node.value;
3772
+ if (node.type === "StringLiteral" && typeof value !== "string") {
3773
+ throw invalidAst(node, "value must be a string");
3774
+ } else if (node.type === "NumberLiteral" && typeof value !== "number") {
3775
+ throw invalidAst(node, "value must be a number");
3776
+ } else if (node.type === "BooleanLiteral" && typeof value !== "boolean") {
3777
+ throw invalidAst(node, "value must be a boolean");
3778
+ }
3779
+ }
3780
+ function validateStringArray(node, value, name) {
3781
+ if (!_utils.isArray(value)) {
3782
+ throw invalidAst(node, name + " must be an array");
3783
+ }
3784
+ for (var i = 0; i < value.length; i++) {
3785
+ if (typeof value[i] !== "string") {
3786
+ throw invalidAst(node, name + " must only contain strings");
3787
+ }
3788
+ }
3789
+ return value;
3790
+ }
3791
+ function validateParts(path25) {
3792
+ return validateStringArray(path25, path25.parts, "parts");
3793
+ }
3794
+ function validateBlockParams(program2) {
3795
+ if (program2.blockParams != null) {
3796
+ validateStringArray(program2, program2.blockParams, "blockParams");
3797
+ }
3798
+ }
3738
3799
  function argEquals(a, b) {
3739
3800
  if (a === b) {
3740
3801
  return true;
@@ -5511,12 +5572,24 @@ var require_source_map = __commonJS({
5511
5572
  }
5512
5573
  });
5513
5574
 
5514
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
5575
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
5515
5576
  var require_code_gen = __commonJS({
5516
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports, module) {
5577
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports) {
5517
5578
  "use strict";
5518
5579
  exports.__esModule = true;
5580
+ exports.safeJsonLiteral = safeJsonLiteral;
5519
5581
  var _utils = require_utils();
5582
+ var NEEDS_ESCAPING = /[\x00-\x1f\\"\u2028\u2029<\ud800-\udfff]/;
5583
+ var SCRIPT_DELIMITERS = /<(?=!--|\/?script)/gi;
5584
+ function escapeScriptDelimiters(code) {
5585
+ return code.replace(SCRIPT_DELIMITERS, "\\u003C");
5586
+ }
5587
+ function escapeSurrogate(surrogate) {
5588
+ return "\\u" + surrogate.charCodeAt(0).toString(16);
5589
+ }
5590
+ function safeJsonLiteral(value) {
5591
+ return escapeScriptDelimiters(JSON.stringify(value).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/[\ud800-\udfff]/g, escapeSurrogate));
5592
+ }
5520
5593
  var SourceNode = void 0;
5521
5594
  try {
5522
5595
  if (typeof define !== "function" || !define.amd) {
@@ -5609,7 +5682,11 @@ var require_code_gen = __commonJS({
5609
5682
  return this.wrap([fn, type ? "." + type + "(" : "(", params, ")"]);
5610
5683
  },
5611
5684
  quotedString: function quotedString(str) {
5612
- return '"' + (str + "").replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + '"';
5685
+ str = str + "";
5686
+ if (!NEEDS_ESCAPING.test(str)) {
5687
+ return '"' + str + '"';
5688
+ }
5689
+ return safeJsonLiteral(str);
5613
5690
  },
5614
5691
  objectLiteral: function objectLiteral(obj) {
5615
5692
  var _this = this;
@@ -5643,13 +5720,12 @@ var require_code_gen = __commonJS({
5643
5720
  }
5644
5721
  };
5645
5722
  exports["default"] = CodeGen;
5646
- module.exports = exports["default"];
5647
5723
  }
5648
5724
  });
5649
5725
 
5650
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
5726
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
5651
5727
  var require_javascript_compiler = __commonJS({
5652
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module) {
5728
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module) {
5653
5729
  "use strict";
5654
5730
  exports.__esModule = true;
5655
5731
  function _interopRequireDefault(obj) {
@@ -5673,7 +5749,7 @@ var require_javascript_compiler = __commonJS({
5673
5749
  return this.internalNameLookup(parent, name);
5674
5750
  },
5675
5751
  depthedLookup: function depthedLookup(name) {
5676
- return [this.aliasable("container.lookup"), "(depths, ", JSON.stringify(name), ")"];
5752
+ return [this.aliasable("container.lookup"), "(depths, ", this.quotedString(name), ")"];
5677
5753
  },
5678
5754
  compilerInfo: function compilerInfo() {
5679
5755
  var revision = _base.COMPILER_REVISION, versions = _base.REVISION_CHANGES[revision];
@@ -5699,7 +5775,7 @@ var require_javascript_compiler = __commonJS({
5699
5775
  // END PUBLIC API
5700
5776
  internalNameLookup: function internalNameLookup(parent, name) {
5701
5777
  this.lookupPropertyFunctionIsUsed = true;
5702
- return ["lookupProperty(", parent, ",", JSON.stringify(name), ")"];
5778
+ return ["lookupProperty(", parent, ",", this.quotedString(name), ")"];
5703
5779
  },
5704
5780
  lookupPropertyFunctionIsUsed: false,
5705
5781
  compile: function compile(environment, options, context, asObject) {
@@ -6238,7 +6314,7 @@ var require_javascript_compiler = __commonJS({
6238
6314
  delete options.name;
6239
6315
  }
6240
6316
  if (indent2) {
6241
- options.indent = JSON.stringify(indent2);
6317
+ options.indent = this.quotedString(indent2);
6242
6318
  }
6243
6319
  options.helpers = "helpers";
6244
6320
  options.partials = "partials";
@@ -6284,7 +6360,7 @@ var require_javascript_compiler = __commonJS({
6284
6360
  },
6285
6361
  pushId: function pushId(type, name, child) {
6286
6362
  if (type === "BlockParam") {
6287
- this.pushStackLiteral("blockParams[" + name[0] + "].path[" + name[1] + "]" + (child ? " + " + JSON.stringify("." + child) : ""));
6363
+ this.pushStackLiteral("blockParams[" + name[0] + "].path[" + name[1] + "]" + (child ? " + " + this.quotedString("." + child) : ""));
6288
6364
  } else if (type === "PathExpression") {
6289
6365
  this.pushString(name);
6290
6366
  } else if (type === "SubExpression") {
@@ -6522,7 +6598,7 @@ var require_javascript_compiler = __commonJS({
6522
6598
  },
6523
6599
  setupHelperArgs: function setupHelperArgs(helper, paramSize, params, useRegister) {
6524
6600
  var options = this.setupParams(helper, paramSize, params);
6525
- options.loc = JSON.stringify(this.source.currentLocation);
6601
+ options.loc = locationLiteral(this);
6526
6602
  options = this.objectLiteral(options);
6527
6603
  if (useRegister) {
6528
6604
  this.useRegister("options");
@@ -6546,6 +6622,10 @@ var require_javascript_compiler = __commonJS({
6546
6622
  JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
6547
6623
  return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);
6548
6624
  };
6625
+ function locationLiteral(compiler) {
6626
+ var loc = compiler.source.currentLocation;
6627
+ return loc ? _codeGen.safeJsonLiteral(loc) : "undefined";
6628
+ }
6549
6629
  function strictLookup(requireTerminal, compiler, parts, startPartIndex, type) {
6550
6630
  var stack = compiler.popStack(), len = parts.length;
6551
6631
  if (requireTerminal) {
@@ -6555,7 +6635,7 @@ var require_javascript_compiler = __commonJS({
6555
6635
  stack = compiler.nameLookup(stack, parts[i], type);
6556
6636
  }
6557
6637
  if (requireTerminal) {
6558
- return [compiler.aliasable("container.strict"), "(", stack, ", ", compiler.quotedString(parts[len]), ", ", JSON.stringify(compiler.source.currentLocation), " )"];
6638
+ return [compiler.aliasable("container.strict"), "(", stack, ", ", compiler.quotedString(parts[len]), ", ", locationLiteral(compiler), " )"];
6559
6639
  } else {
6560
6640
  return stack;
6561
6641
  }
@@ -6565,9 +6645,9 @@ var require_javascript_compiler = __commonJS({
6565
6645
  }
6566
6646
  });
6567
6647
 
6568
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js
6648
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars.js
6569
6649
  var require_handlebars = __commonJS({
6570
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars.js"(exports, module) {
6650
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars.js"(exports, module) {
6571
6651
  "use strict";
6572
6652
  exports.__esModule = true;
6573
6653
  function _interopRequireDefault(obj) {
@@ -6612,9 +6692,9 @@ var require_handlebars = __commonJS({
6612
6692
  }
6613
6693
  });
6614
6694
 
6615
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
6695
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
6616
6696
  var require_printer = __commonJS({
6617
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
6697
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
6618
6698
  "use strict";
6619
6699
  exports.__esModule = true;
6620
6700
  exports.print = print;
@@ -6758,9 +6838,9 @@ var require_printer = __commonJS({
6758
6838
  }
6759
6839
  });
6760
6840
 
6761
- // ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/lib/index.js
6841
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/lib/index.js
6762
6842
  var require_lib2 = __commonJS({
6763
- "../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/lib/index.js"(exports, module) {
6843
+ "../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/lib/index.js"(exports, module) {
6764
6844
  var handlebars = require_handlebars()["default"];
6765
6845
  var printer = require_printer();
6766
6846
  handlebars.PrintVisitor = printer.PrintVisitor;
@@ -13700,6 +13780,7 @@ var downloadNextNetworkRequestComparisonSchema = z11.union([
13700
13780
  })
13701
13781
  ]);
13702
13782
  var capturePrintOutputFields = {
13783
+ completePrintLifecycle: z11.boolean().optional().describe("With Default capture timing, capture between synthetic beforeprint/afterprint events without opening native printing. Use for sites waiting for print completion. Omitted or false preserves native printing; sites requiring trusted native events should leave this off."),
13703
13784
  clickType: clickTypeEnumSchema.default("LEFT").describe("The type of click to perform"),
13704
13785
  timeoutSeconds: z11.number().int().min(1).max(180).default(60).describe("Maximum time in seconds to wait for printing to start after the click (1\u2013180; defaults to 60). Does not include PDF rendering or upload.")
13705
13786
  };
@@ -14444,6 +14525,11 @@ var magicalApiKeyPermissionCatalog = [
14444
14525
  permission: "regressions:run",
14445
14526
  label: "Run regressions",
14446
14527
  description: "Generate pathway signatures and start regression replays."
14528
+ },
14529
+ {
14530
+ permission: "verifications:write",
14531
+ label: "Write verification records",
14532
+ description: "Upload verification check and result records for runs. Uploads also require a Magical employee key owner."
14447
14533
  }
14448
14534
  ];
14449
14535
  var magicalApiKeyPermissions = magicalApiKeyPermissionCatalog.map(({ permission }) => permission);
@@ -16572,6 +16658,7 @@ var automationRunConfigBaseSchema = z33.object({
16572
16658
  successorAutomationRunId: z33.uuid().optional().describe("Accepted handoff receipt. The source can no longer mutate the shared Store once this is recorded."),
16573
16659
  stopRequestedAt: z33.iso.datetime().optional().describe("Time a stop request was recorded, preventing subsequent handoff admission.")
16574
16660
  }).optional().describe("Infrastructure-owned durable handoff receipt and stop-intent fence. Updated only while holding the source run lock."),
16661
+ scopedStoreToolsEnabled: z33.literal(true).optional().describe("Infrastructure-owned workItems rollout snapshot. Only opted-in run trees use scoped LLM Store tools; absence preserves legacy tools."),
16575
16662
  pointOfNoReturnGateEnabled: z33.literal(true).optional().describe("Infrastructure-owned rollout marker. PONR is enforced only for run trees created after the gate rollout."),
16576
16663
  sla: automationRunSlaSchema.optional(),
16577
16664
  networkTrafficCapture: networkTrafficCaptureSchema.optional(),
@@ -16608,6 +16695,7 @@ var automationRunStartConfigSchema = automationRunConfigBaseSchema.omit({
16608
16695
  resolvedRunSettings: true,
16609
16696
  resolvedRunSettingsSource: true,
16610
16697
  pointOfNoReturnGateEnabled: true,
16698
+ scopedStoreToolsEnabled: true,
16611
16699
  workItemRerun: true,
16612
16700
  workItemCompletion: true,
16613
16701
  rootAgentHandoffEnabled: true,
@@ -16688,6 +16776,11 @@ var automatedVerificationRecordKindSchema = z35.enum([
16688
16776
  "automated_check",
16689
16777
  "automated_batch"
16690
16778
  ]);
16779
+ var verificationRecordKindSchema = z35.enum([
16780
+ "automated_check",
16781
+ "automated_batch",
16782
+ "human_check"
16783
+ ]);
16691
16784
  var verificationRecordStatusSchema = z35.enum([
16692
16785
  "started",
16693
16786
  "completed",
@@ -16791,7 +16884,13 @@ var verificationRuntimeSchema = z36.strictObject({
16791
16884
  configured_model: z36.string().nullable(),
16792
16885
  session_id: z36.string().nullable(),
16793
16886
  agent_id: z36.string().nullable(),
16794
- invocation: z36.enum(["interactive", "scheduled", "worker", "unknown"]),
16887
+ invocation: z36.enum([
16888
+ "interactive",
16889
+ "scheduled",
16890
+ "worker",
16891
+ "unknown",
16892
+ "human_helper"
16893
+ ]),
16795
16894
  scheduled_task_id: z36.string().nullable(),
16796
16895
  auth_mode: z36.enum(["saved_login", "api_key", "unknown"]),
16797
16896
  credential_ref: z36.string().nullable()
@@ -17141,6 +17240,9 @@ var verificationStorageRecordSchema = z36.union([
17141
17240
  ]);
17142
17241
  var verificationRecordPayloadSchema = z36.custom((value) => verificationStorageRecordSchema.safeParse(value).success, { message: "Invalid verification record payload." });
17143
17242
 
17243
+ // ../common/dist/src/zod-schemas/verification-records/verification-verdict.constants.js
17244
+ var VERIFICATION_VERDICT_LIST_DEFAULT_LIMIT = 20;
17245
+
17144
17246
  // ../common/dist/src/utils/automation-run-evidence.util.js
17145
17247
  var PORTAL_FILE_EXTENSIONS = [".csv", ".pdf"];
17146
17248
  var MAX_SCAN_DEPTH = 8;
@@ -17942,9 +18044,9 @@ var apiKeyAccessPolicies = {
17942
18044
  type: "denied",
17943
18045
  reason: "Shared library operations do not have a public API-key permission."
17944
18046
  },
17945
- verificationRecordUploadDenied: {
17946
- type: "denied",
17947
- reason: "Verification-record uploads do not have a public API-key write permission."
18047
+ verificationsWrite: {
18048
+ type: "allOf",
18049
+ permissions: ["verifications:write"]
17948
18050
  },
17949
18051
  skillsRead: {
17950
18052
  type: "allOf",
@@ -18193,7 +18295,7 @@ var automationRunsCliOptions = [
18193
18295
  var operationSpecs = [
18194
18296
  createOperationSpec({
18195
18297
  operationName: "VerificationRecordUpload",
18196
- apiKeyAccess: apiKeyAccessPolicies.verificationRecordUploadDenied,
18298
+ apiKeyAccess: apiKeyAccessPolicies.verificationsWrite,
18197
18299
  kind: "mutation",
18198
18300
  inputSchema: z38.object({
18199
18301
  records: z38.array(jsonObjectSchema).min(1).max(VERIFICATION_RECORD_UPLOAD_MAX_ITEMS)
@@ -18226,7 +18328,7 @@ mutation VerificationRecordUpload($records: [JSON!]!) {
18226
18328
  kind: "query",
18227
18329
  inputSchema: z38.object({
18228
18330
  id: z38.string().min(1),
18229
- kind: z38.enum(["automated_check", "automated_batch"])
18331
+ kind: z38.enum(["automated_check", "automated_batch", "human_check"])
18230
18332
  }),
18231
18333
  cli: {
18232
18334
  name: "get-verification-record",
@@ -18241,7 +18343,7 @@ mutation VerificationRecordUpload($records: [JSON!]!) {
18241
18343
  required: true
18242
18344
  }),
18243
18345
  stringOption({
18244
- description: "Record kind: automated_check or automated_batch.",
18346
+ description: "Record kind: automated_check, automated_batch, or human_check.",
18245
18347
  flagName: "kind",
18246
18348
  inputKey: "kind",
18247
18349
  required: true
@@ -18263,8 +18365,10 @@ query VerificationRecordGet($id: ID!, $kind: String!) {
18263
18365
  automationId: z38.string().min(1).optional(),
18264
18366
  automationRunId: z38.string().min(1).optional(),
18265
18367
  batchId: z38.string().min(1).optional(),
18368
+ workItemId: z38.string().min(1).optional(),
18369
+ judgeCheckId: z38.string().min(1).optional(),
18266
18370
  subjectCheckId: z38.string().min(1).optional(),
18267
- kind: z38.enum(["automated_check", "automated_batch"]).optional(),
18371
+ kind: z38.enum(["automated_check", "automated_batch", "human_check"]).optional(),
18268
18372
  from: z38.string().min(1).optional(),
18269
18373
  to: z38.string().min(1).optional(),
18270
18374
  limit: z38.number().int().min(1).max(100).default(20),
@@ -18292,12 +18396,22 @@ query VerificationRecordGet($id: ID!, $kind: String!) {
18292
18396
  inputKey: "batchId"
18293
18397
  }),
18294
18398
  stringOption({
18295
- description: "Reserved for future human reviews. Current automated records have no subject check and do not match this filter.",
18399
+ description: "Filter by work item ID.",
18400
+ flagName: "work-item-id",
18401
+ inputKey: "workItemId"
18402
+ }),
18403
+ stringOption({
18404
+ description: "Filter human results by paired automated check ID.",
18405
+ flagName: "judge-check-id",
18406
+ inputKey: "judgeCheckId"
18407
+ }),
18408
+ stringOption({
18409
+ description: "Compatibility alias for --judge-check-id.",
18296
18410
  flagName: "subject-check-id",
18297
18411
  inputKey: "subjectCheckId"
18298
18412
  }),
18299
18413
  stringOption({
18300
- description: "Record kind: automated_check or automated_batch.",
18414
+ description: "Record kind: automated_check, automated_batch, or human_check.",
18301
18415
  flagName: "kind",
18302
18416
  inputKey: "kind"
18303
18417
  }),
@@ -18330,6 +18444,8 @@ query VerificationRecordList(
18330
18444
  $automationId: ID
18331
18445
  $automationRunId: ID
18332
18446
  $batchId: ID
18447
+ $workItemId: ID
18448
+ $judgeCheckId: ID
18333
18449
  $subjectCheckId: ID
18334
18450
  $kind: String
18335
18451
  $from: String
@@ -18341,6 +18457,8 @@ query VerificationRecordList(
18341
18457
  automationId: $automationId
18342
18458
  automationRunId: $automationRunId
18343
18459
  batchId: $batchId
18460
+ workItemId: $workItemId
18461
+ judgeCheckId: $judgeCheckId
18344
18462
  subjectCheckId: $subjectCheckId
18345
18463
  kind: $kind
18346
18464
  from: $from
@@ -18348,6 +18466,136 @@ query VerificationRecordList(
18348
18466
  limit: $limit
18349
18467
  cursor: $cursor
18350
18468
  )
18469
+ }`
18470
+ }),
18471
+ createOperationSpec({
18472
+ operationName: "VerificationVerdictGet",
18473
+ apiKeyAccess: apiKeyAccessPolicies.runRead,
18474
+ kind: "query",
18475
+ inputSchema: z38.object({
18476
+ id: z38.uuid(),
18477
+ subject: z38.enum(["run", "work_item"])
18478
+ }),
18479
+ cli: {
18480
+ name: "get-verification-verdicts",
18481
+ path: ["verification-verdicts", "get"],
18482
+ description: "Get the judge verdict and all human verdicts for a run or work item.",
18483
+ resultKey: "verificationVerdictGet",
18484
+ options: [
18485
+ stringOption({
18486
+ description: "Run or work-item ID, according to subject.",
18487
+ flagName: "id",
18488
+ inputKey: "id",
18489
+ required: true
18490
+ }),
18491
+ stringOption({
18492
+ description: "Subject kind: run or work_item.",
18493
+ flagName: "subject",
18494
+ inputKey: "subject",
18495
+ required: true
18496
+ })
18497
+ ]
18498
+ },
18499
+ mcp: { exposed: false, fileName: "verificationVerdictGet.graphql" },
18500
+ scope: "organization",
18501
+ document: `# Get the current judge verdict and every human verdict for one subject
18502
+ query VerificationVerdictGet($id: ID!, $subject: String!) {
18503
+ verificationVerdictGet(id: $id, subject: $subject)
18504
+ }`
18505
+ }),
18506
+ createOperationSpec({
18507
+ operationName: "VerificationVerdictList",
18508
+ apiKeyAccess: apiKeyAccessPolicies.runRead,
18509
+ kind: "query",
18510
+ inputSchema: z38.object({
18511
+ automationId: z38.uuid().optional(),
18512
+ automationRunId: z38.uuid().optional(),
18513
+ workItemId: z38.uuid().optional(),
18514
+ source: z38.enum(["judge", "human"]).optional(),
18515
+ sampled: z38.boolean().optional(),
18516
+ from: z38.iso.datetime({ offset: true }).optional(),
18517
+ to: z38.iso.datetime({ offset: true }).optional(),
18518
+ limit: z38.number().int().min(1).max(100).default(VERIFICATION_VERDICT_LIST_DEFAULT_LIMIT),
18519
+ cursor: z38.string().min(1).optional()
18520
+ }),
18521
+ cli: {
18522
+ name: "list-verification-verdicts",
18523
+ path: ["verification-verdicts", "list"],
18524
+ description: "List current verdicts, newest first. Omitted filters include all values.",
18525
+ resultKey: "verificationVerdictList",
18526
+ options: [
18527
+ stringOption({
18528
+ description: "Filter by automation ID.",
18529
+ flagName: "automation-id",
18530
+ inputKey: "automationId"
18531
+ }),
18532
+ stringOption({
18533
+ description: "Filter by run ID.",
18534
+ flagName: "run-id",
18535
+ inputKey: "automationRunId"
18536
+ }),
18537
+ stringOption({
18538
+ description: "Return only work-item-subject verdicts for this work item; excludes run-subject verdicts for its runs.",
18539
+ flagName: "work-item-id",
18540
+ inputKey: "workItemId"
18541
+ }),
18542
+ stringOption({
18543
+ description: "Filter by source: judge or human. Omit to include both.",
18544
+ flagName: "source",
18545
+ inputKey: "source"
18546
+ }),
18547
+ jsonOption({
18548
+ description: "Filter by sampled status: true or false. Omit to include both.",
18549
+ flagName: "sampled",
18550
+ inputKey: "sampled"
18551
+ }),
18552
+ stringOption({
18553
+ description: "Inclusive decided-at lower bound as an ISO timestamp.",
18554
+ flagName: "from",
18555
+ inputKey: "from"
18556
+ }),
18557
+ stringOption({
18558
+ description: "Inclusive decided-at upper bound as an ISO timestamp.",
18559
+ flagName: "to",
18560
+ inputKey: "to"
18561
+ }),
18562
+ numberOption({
18563
+ description: `Maximum verdicts to return. Defaults to ${VERIFICATION_VERDICT_LIST_DEFAULT_LIMIT}; maximum 100.`,
18564
+ flagName: "limit",
18565
+ inputKey: "limit"
18566
+ }),
18567
+ stringOption({
18568
+ description: "Opaque pagination cursor from a previous response.",
18569
+ flagName: "cursor",
18570
+ inputKey: "cursor"
18571
+ })
18572
+ ]
18573
+ },
18574
+ mcp: { exposed: false, fileName: "verificationVerdictList.graphql" },
18575
+ scope: "organization",
18576
+ document: `# List current verification verdicts with optional filters and cursor pagination
18577
+ query VerificationVerdictList(
18578
+ $automationId: ID
18579
+ $automationRunId: ID
18580
+ $workItemId: ID
18581
+ $source: String
18582
+ $sampled: Boolean
18583
+ $from: String
18584
+ $to: String
18585
+ $limit: Int
18586
+ $cursor: String
18587
+ ) {
18588
+ verificationVerdictList(
18589
+ automationId: $automationId
18590
+ automationRunId: $automationRunId
18591
+ workItemId: $workItemId
18592
+ source: $source
18593
+ sampled: $sampled
18594
+ from: $from
18595
+ to: $to
18596
+ limit: $limit
18597
+ cursor: $cursor
18598
+ )
18351
18599
  }`
18352
18600
  }),
18353
18601
  createOperationSpec({
@@ -23197,6 +23445,7 @@ var pathwayCoverageResponseBaseSchema = z39.object({
23197
23445
  scenarioKey: z39.string().min(1),
23198
23446
  structure: coverageScenarioNodeSchema,
23199
23447
  observedRunCount: z39.number().int().nonnegative(),
23448
+ averageDurationMs: z39.number().int().nullable().default(null),
23200
23449
  distinctInputCount: z39.number().int().nonnegative(),
23201
23450
  gapReason: z39.enum([
23202
23451
  "no_matching_history",
@@ -30813,7 +31062,7 @@ function pythonCandidates() {
30813
31062
  return configuredPython ? [configuredPython] : ["python3", "python"];
30814
31063
  }
30815
31064
  function runtimeUnavailableMessage() {
30816
- return `Network recording inspection requires Python 3.12 or newer with mitmproxy 12.2.3 installed in a dedicated environment. Set ${PYTHON_ENVIRONMENT_VARIABLE} to that environment's Python executable.`;
31065
+ return `Network recording inspection requires Python 3.12 or newer with mitmproxy 12.3.0 or 12.2.3 installed in a dedicated environment. Set ${PYTHON_ENVIRONMENT_VARIABLE} to that environment's Python executable.`;
30817
31066
  }
30818
31067
  function parseHelperOutput(output) {
30819
31068
  const decodedResult = safeJsonParse(output);