@karmaniverous/jeeves-meta-openclaw 0.12.3 → 0.12.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
@@ -1179,11 +1179,11 @@ var hasRequiredRetry$1;
1179
1179
  function requireRetry$1 () {
1180
1180
  if (hasRequiredRetry$1) return retry$1;
1181
1181
  hasRequiredRetry$1 = 1;
1182
- (function (exports$1) {
1182
+ (function (exports) {
1183
1183
  var RetryOperation = requireRetry_operation();
1184
1184
 
1185
- exports$1.operation = function(options) {
1186
- var timeouts = exports$1.timeouts(options);
1185
+ exports.operation = function(options) {
1186
+ var timeouts = exports.timeouts(options);
1187
1187
  return new RetryOperation(timeouts, {
1188
1188
  forever: options && options.forever,
1189
1189
  unref: options && options.unref,
@@ -1191,7 +1191,7 @@ function requireRetry$1 () {
1191
1191
  });
1192
1192
  };
1193
1193
 
1194
- exports$1.timeouts = function(options) {
1194
+ exports.timeouts = function(options) {
1195
1195
  if (options instanceof Array) {
1196
1196
  return [].concat(options);
1197
1197
  }
@@ -1228,7 +1228,7 @@ function requireRetry$1 () {
1228
1228
  return timeouts;
1229
1229
  };
1230
1230
 
1231
- exports$1.createTimeout = function(attempt, opts) {
1231
+ exports.createTimeout = function(attempt, opts) {
1232
1232
  var random = (opts.randomize)
1233
1233
  ? (Math.random() + 1)
1234
1234
  : 1;
@@ -1239,7 +1239,7 @@ function requireRetry$1 () {
1239
1239
  return timeout;
1240
1240
  };
1241
1241
 
1242
- exports$1.wrap = function(obj, options, methods) {
1242
+ exports.wrap = function(obj, options, methods) {
1243
1243
  if (options instanceof Array) {
1244
1244
  methods = options;
1245
1245
  options = null;
@@ -1259,7 +1259,7 @@ function requireRetry$1 () {
1259
1259
  var original = obj[method];
1260
1260
 
1261
1261
  obj[method] = function retryWrapper(original) {
1262
- var op = exports$1.operation(options);
1262
+ var op = exports.operation(options);
1263
1263
  var args = Array.prototype.slice.call(arguments, 1);
1264
1264
  var callback = args.pop();
1265
1265
 
@@ -3403,7 +3403,7 @@ var hasRequiredRe;
3403
3403
  function requireRe () {
3404
3404
  if (hasRequiredRe) return re.exports;
3405
3405
  hasRequiredRe = 1;
3406
- (function (module, exports$1) {
3406
+ (function (module, exports) {
3407
3407
 
3408
3408
  const {
3409
3409
  MAX_SAFE_COMPONENT_LENGTH,
@@ -3411,14 +3411,14 @@ function requireRe () {
3411
3411
  MAX_LENGTH,
3412
3412
  } = requireConstants();
3413
3413
  const debug = requireDebug();
3414
- exports$1 = module.exports = {};
3414
+ exports = module.exports = {};
3415
3415
 
3416
3416
  // The actual regexps go on exports.re
3417
- const re = exports$1.re = [];
3418
- const safeRe = exports$1.safeRe = [];
3419
- const src = exports$1.src = [];
3420
- const safeSrc = exports$1.safeSrc = [];
3421
- const t = exports$1.t = {};
3417
+ const re = exports.re = [];
3418
+ const safeRe = exports.safeRe = [];
3419
+ const src = exports.src = [];
3420
+ const safeSrc = exports.safeSrc = [];
3421
+ const t = exports.t = {};
3422
3422
  let R = 0;
3423
3423
 
3424
3424
  const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
@@ -3541,7 +3541,7 @@ function requireRe () {
3541
3541
  createToken('GTLT', '((?:<|>)?=?)');
3542
3542
 
3543
3543
  // Something like "2.*" or "1.2.x".
3544
- // Note that "x.x" is a valid xRange identifer, meaning "any version"
3544
+ // Note that "x.x" is a valid xRange identifier, meaning "any version"
3545
3545
  // Only the first item is strictly required.
3546
3546
  createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
3547
3547
  createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
@@ -3582,7 +3582,7 @@ function requireRe () {
3582
3582
  createToken('LONETILDE', '(?:~>?)');
3583
3583
 
3584
3584
  createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
3585
- exports$1.tildeTrimReplace = '$1~';
3585
+ exports.tildeTrimReplace = '$1~';
3586
3586
 
3587
3587
  createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
3588
3588
  createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
@@ -3592,7 +3592,7 @@ function requireRe () {
3592
3592
  createToken('LONECARET', '(?:\\^)');
3593
3593
 
3594
3594
  createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
3595
- exports$1.caretTrimReplace = '$1^';
3595
+ exports.caretTrimReplace = '$1^';
3596
3596
 
3597
3597
  createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
3598
3598
  createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
@@ -3605,7 +3605,7 @@ function requireRe () {
3605
3605
  // it modifies, so that `> 1.2.3` ==> `>1.2.3`
3606
3606
  createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
3607
3607
  }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
3608
- exports$1.comparatorTrimReplace = '$1$2$3';
3608
+ exports.comparatorTrimReplace = '$1$2$3';
3609
3609
 
3610
3610
  // Something like `1.2.3 - 1.2.4`
3611
3611
  // Note that these all use the loose form, because they'll be
@@ -4537,6 +4537,62 @@ function requireCoerce () {
4537
4537
  return coerce_1;
4538
4538
  }
4539
4539
 
4540
+ var truncate_1;
4541
+ var hasRequiredTruncate;
4542
+
4543
+ function requireTruncate () {
4544
+ if (hasRequiredTruncate) return truncate_1;
4545
+ hasRequiredTruncate = 1;
4546
+
4547
+ const parse = requireParse();
4548
+ const constants = requireConstants();
4549
+ const SemVer = requireSemver$1();
4550
+
4551
+ const truncate = (version, truncation, options) => {
4552
+ if (!constants.RELEASE_TYPES.includes(truncation)) {
4553
+ return null
4554
+ }
4555
+
4556
+ const clonedVersion = cloneInputVersion(version, options);
4557
+ return clonedVersion && doTruncation(clonedVersion, truncation)
4558
+ };
4559
+
4560
+ const cloneInputVersion = (version, options) => {
4561
+ const versionStringToParse = (
4562
+ version instanceof SemVer ? version.version : version
4563
+ );
4564
+
4565
+ return parse(versionStringToParse, options)
4566
+ };
4567
+
4568
+ const doTruncation = (version, truncation) => {
4569
+ if (isPrerelease(truncation)) {
4570
+ return version.version
4571
+ }
4572
+
4573
+ version.prerelease = [];
4574
+
4575
+ switch (truncation) {
4576
+ case 'major':
4577
+ version.minor = 0;
4578
+ version.patch = 0;
4579
+ break
4580
+ case 'minor':
4581
+ version.patch = 0;
4582
+ break
4583
+ }
4584
+
4585
+ return version.format()
4586
+ };
4587
+
4588
+ const isPrerelease = (type) => {
4589
+ return type.startsWith('pre')
4590
+ };
4591
+
4592
+ truncate_1 = truncate;
4593
+ return truncate_1;
4594
+ }
4595
+
4540
4596
  var lrucache;
4541
4597
  var hasRequiredLrucache;
4542
4598
 
@@ -5986,6 +6042,7 @@ function requireSemver () {
5986
6042
  const lte = requireLte();
5987
6043
  const cmp = requireCmp();
5988
6044
  const coerce = requireCoerce();
6045
+ const truncate = requireTruncate();
5989
6046
  const Comparator = requireComparator();
5990
6047
  const Range = requireRange();
5991
6048
  const satisfies = requireSatisfies();
@@ -6024,6 +6081,7 @@ function requireSemver () {
6024
6081
  lte,
6025
6082
  cmp,
6026
6083
  coerce,
6084
+ truncate,
6027
6085
  Comparator,
6028
6086
  Range,
6029
6087
  satisfies,
@@ -6794,6 +6852,7 @@ const string$1 = (params) => {
6794
6852
  };
6795
6853
  const integer = /^-?\d+$/;
6796
6854
  const number$1 = /^-?\d+(?:\.\d+)?$/;
6855
+ const boolean$1 = /^(?:true|false)$/i;
6797
6856
  // regex for string with no uppercase letters
6798
6857
  const lowercase = /^[^A-Z]*$/;
6799
6858
  // regex for string with no lowercase letters
@@ -7250,7 +7309,7 @@ class Doc {
7250
7309
  const version = {
7251
7310
  major: 4,
7252
7311
  minor: 4,
7253
- patch: 2,
7312
+ patch: 3,
7254
7313
  };
7255
7314
 
7256
7315
  const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
@@ -7746,6 +7805,27 @@ const $ZodNumberFormat = /*@__PURE__*/ $constructor("$ZodNumberFormat", (inst, d
7746
7805
  $ZodCheckNumberFormat.init(inst, def);
7747
7806
  $ZodNumber.init(inst, def); // no format checks
7748
7807
  });
7808
+ const $ZodBoolean = /*@__PURE__*/ $constructor("$ZodBoolean", (inst, def) => {
7809
+ $ZodType.init(inst, def);
7810
+ inst._zod.pattern = boolean$1;
7811
+ inst._zod.parse = (payload, _ctx) => {
7812
+ if (def.coerce)
7813
+ try {
7814
+ payload.value = Boolean(payload.value);
7815
+ }
7816
+ catch (_) { }
7817
+ const input = payload.value;
7818
+ if (typeof input === "boolean")
7819
+ return payload;
7820
+ payload.issues.push({
7821
+ expected: "boolean",
7822
+ code: "invalid_type",
7823
+ input,
7824
+ inst,
7825
+ });
7826
+ return payload;
7827
+ };
7828
+ });
7749
7829
  const $ZodUnknown = /*@__PURE__*/ $constructor("$ZodUnknown", (inst, def) => {
7750
7830
  $ZodType.init(inst, def);
7751
7831
  inst._zod.parse = (payload) => payload;
@@ -8554,6 +8634,7 @@ const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
8554
8634
  });
8555
8635
  const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) => {
8556
8636
  $ZodType.init(inst, def);
8637
+ inst._zod.optin = "optional";
8557
8638
  inst._zod.parse = (payload, ctx) => {
8558
8639
  if (ctx.direction === "backward") {
8559
8640
  throw new $ZodEncodeError(inst.constructor.name);
@@ -8563,6 +8644,7 @@ const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) =>
8563
8644
  const output = _out instanceof Promise ? _out : Promise.resolve(_out);
8564
8645
  return output.then((output) => {
8565
8646
  payload.value = output;
8647
+ payload.fallback = true;
8566
8648
  return payload;
8567
8649
  });
8568
8650
  }
@@ -8570,11 +8652,12 @@ const $ZodTransform = /*@__PURE__*/ $constructor("$ZodTransform", (inst, def) =>
8570
8652
  throw new $ZodAsyncError();
8571
8653
  }
8572
8654
  payload.value = _out;
8655
+ payload.fallback = true;
8573
8656
  return payload;
8574
8657
  };
8575
8658
  });
8576
8659
  function handleOptionalResult(result, input) {
8577
- if (result.issues.length && input === undefined) {
8660
+ if (input === undefined && (result.issues.length || result.fallback)) {
8578
8661
  return { issues: [], value: undefined };
8579
8662
  }
8580
8663
  return result;
@@ -8592,10 +8675,11 @@ const $ZodOptional = /*@__PURE__*/ $constructor("$ZodOptional", (inst, def) => {
8592
8675
  });
8593
8676
  inst._zod.parse = (payload, ctx) => {
8594
8677
  if (def.innerType._zod.optin === "optional") {
8678
+ const input = payload.value;
8595
8679
  const result = def.innerType._zod.run(payload, ctx);
8596
8680
  if (result instanceof Promise)
8597
- return result.then((r) => handleOptionalResult(r, payload.value));
8598
- return handleOptionalResult(result, payload.value);
8681
+ return result.then((r) => handleOptionalResult(r, input));
8682
+ return handleOptionalResult(result, input);
8599
8683
  }
8600
8684
  if (payload.value === undefined) {
8601
8685
  return payload;
@@ -8705,7 +8789,7 @@ function handleNonOptionalResult(payload, inst) {
8705
8789
  }
8706
8790
  const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
8707
8791
  $ZodType.init(inst, def);
8708
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
8792
+ inst._zod.optin = "optional";
8709
8793
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
8710
8794
  defineLazy(inst._zod, "values", () => def.innerType._zod.values);
8711
8795
  inst._zod.parse = (payload, ctx) => {
@@ -8726,6 +8810,7 @@ const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
8726
8810
  input: payload.value,
8727
8811
  });
8728
8812
  payload.issues = [];
8813
+ payload.fallback = true;
8729
8814
  }
8730
8815
  return payload;
8731
8816
  });
@@ -8740,6 +8825,7 @@ const $ZodCatch = /*@__PURE__*/ $constructor("$ZodCatch", (inst, def) => {
8740
8825
  input: payload.value,
8741
8826
  });
8742
8827
  payload.issues = [];
8828
+ payload.fallback = true;
8743
8829
  }
8744
8830
  return payload;
8745
8831
  };
@@ -8771,7 +8857,7 @@ function handlePipeResult(left, next, ctx) {
8771
8857
  left.aborted = true;
8772
8858
  return left;
8773
8859
  }
8774
- return next._zod.run({ value: left.value, issues: left.issues }, ctx);
8860
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
8775
8861
  }
8776
8862
  const $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
8777
8863
  $ZodType.init(inst, def);
@@ -9255,6 +9341,13 @@ function _int(Class, params) {
9255
9341
  });
9256
9342
  }
9257
9343
  // @__NO_SIDE_EFFECTS__
9344
+ function _boolean(Class, params) {
9345
+ return new Class({
9346
+ type: "boolean",
9347
+ ...normalizeParams(params),
9348
+ });
9349
+ }
9350
+ // @__NO_SIDE_EFFECTS__
9258
9351
  function _unknown(Class) {
9259
9352
  return new Class({
9260
9353
  type: "unknown",
@@ -10021,6 +10114,9 @@ const numberProcessor = (schema, ctx, _json, _params) => {
10021
10114
  if (typeof multipleOf === "number")
10022
10115
  json.multipleOf = multipleOf;
10023
10116
  };
10117
+ const booleanProcessor = (_schema, _ctx, json, _params) => {
10118
+ json.type = "boolean";
10119
+ };
10024
10120
  const voidProcessor = (_schema, ctx, _json, _params) => {
10025
10121
  if (ctx.unrepresentable === "throw") {
10026
10122
  throw new Error("Void cannot be represented in JSON Schema");
@@ -10860,6 +10956,14 @@ const ZodNumberFormat = /*@__PURE__*/ $constructor("ZodNumberFormat", (inst, def
10860
10956
  function int(params) {
10861
10957
  return _int(ZodNumberFormat, params);
10862
10958
  }
10959
+ const ZodBoolean = /*@__PURE__*/ $constructor("ZodBoolean", (inst, def) => {
10960
+ $ZodBoolean.init(inst, def);
10961
+ ZodType.init(inst, def);
10962
+ inst._zod.processJSONSchema = (ctx, json, params) => booleanProcessor(inst, ctx, json);
10963
+ });
10964
+ function boolean(params) {
10965
+ return _boolean(ZodBoolean, params);
10966
+ }
10863
10967
  const ZodUnknown = /*@__PURE__*/ $constructor("ZodUnknown", (inst, def) => {
10864
10968
  $ZodUnknown.init(inst, def);
10865
10969
  ZodType.init(inst, def);
@@ -11112,10 +11216,12 @@ const ZodTransform = /*@__PURE__*/ $constructor("ZodTransform", (inst, def) => {
11112
11216
  if (output instanceof Promise) {
11113
11217
  return output.then((output) => {
11114
11218
  payload.value = output;
11219
+ payload.fallback = true;
11115
11220
  return payload;
11116
11221
  });
11117
11222
  }
11118
11223
  payload.value = output;
11224
+ payload.fallback = true;
11119
11225
  return payload;
11120
11226
  };
11121
11227
  });
@@ -15844,9 +15950,9 @@ var hasRequiredException;
15844
15950
  function requireException () {
15845
15951
  if (hasRequiredException) return exception.exports;
15846
15952
  hasRequiredException = 1;
15847
- (function (module, exports$1) {
15953
+ (function (module, exports) {
15848
15954
 
15849
- exports$1.__esModule = true;
15955
+ exports.__esModule = true;
15850
15956
  var errorProps = ['description', 'fileName', 'lineNumber', 'endLineNumber', 'message', 'name', 'number', 'stack'];
15851
15957
 
15852
15958
  function Exception(message, node) {
@@ -15905,8 +16011,8 @@ function requireException () {
15905
16011
 
15906
16012
  Exception.prototype = new Error();
15907
16013
 
15908
- exports$1['default'] = Exception;
15909
- module.exports = exports$1['default'];
16014
+ exports['default'] = Exception;
16015
+ module.exports = exports['default'];
15910
16016
 
15911
16017
  } (exception, exception.exports));
15912
16018
  return exception.exports;
@@ -15921,13 +16027,13 @@ var hasRequiredBlockHelperMissing;
15921
16027
  function requireBlockHelperMissing () {
15922
16028
  if (hasRequiredBlockHelperMissing) return blockHelperMissing.exports;
15923
16029
  hasRequiredBlockHelperMissing = 1;
15924
- (function (module, exports$1) {
16030
+ (function (module, exports) {
15925
16031
 
15926
- exports$1.__esModule = true;
16032
+ exports.__esModule = true;
15927
16033
 
15928
16034
  var _utils = requireUtils();
15929
16035
 
15930
- exports$1['default'] = function (instance) {
16036
+ exports['default'] = function (instance) {
15931
16037
  instance.registerHelper('blockHelperMissing', function (context, options) {
15932
16038
  var inverse = options.inverse,
15933
16039
  fn = options.fn;
@@ -15958,7 +16064,7 @@ function requireBlockHelperMissing () {
15958
16064
  });
15959
16065
  };
15960
16066
 
15961
- module.exports = exports$1['default'];
16067
+ module.exports = exports['default'];
15962
16068
 
15963
16069
  } (blockHelperMissing, blockHelperMissing.exports));
15964
16070
  return blockHelperMissing.exports;
@@ -15971,9 +16077,9 @@ var hasRequiredEach;
15971
16077
  function requireEach () {
15972
16078
  if (hasRequiredEach) return each.exports;
15973
16079
  hasRequiredEach = 1;
15974
- (function (module, exports$1) {
16080
+ (function (module, exports) {
15975
16081
 
15976
- exports$1.__esModule = true;
16082
+ exports.__esModule = true;
15977
16083
  // istanbul ignore next
15978
16084
 
15979
16085
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -15984,7 +16090,7 @@ function requireEach () {
15984
16090
 
15985
16091
  var _exception2 = _interopRequireDefault(_exception);
15986
16092
 
15987
- exports$1['default'] = function (instance) {
16093
+ exports['default'] = function (instance) {
15988
16094
  instance.registerHelper('each', function (context, options) {
15989
16095
  if (!options) {
15990
16096
  throw new _exception2['default']('Must pass iterator to #each');
@@ -16073,7 +16179,7 @@ function requireEach () {
16073
16179
  });
16074
16180
  };
16075
16181
 
16076
- module.exports = exports$1['default'];
16182
+ module.exports = exports['default'];
16077
16183
 
16078
16184
  } (each, each.exports));
16079
16185
  return each.exports;
@@ -16086,9 +16192,9 @@ var hasRequiredHelperMissing;
16086
16192
  function requireHelperMissing () {
16087
16193
  if (hasRequiredHelperMissing) return helperMissing.exports;
16088
16194
  hasRequiredHelperMissing = 1;
16089
- (function (module, exports$1) {
16195
+ (function (module, exports) {
16090
16196
 
16091
- exports$1.__esModule = true;
16197
+ exports.__esModule = true;
16092
16198
  // istanbul ignore next
16093
16199
 
16094
16200
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -16097,7 +16203,7 @@ function requireHelperMissing () {
16097
16203
 
16098
16204
  var _exception2 = _interopRequireDefault(_exception);
16099
16205
 
16100
- exports$1['default'] = function (instance) {
16206
+ exports['default'] = function (instance) {
16101
16207
  instance.registerHelper('helperMissing', function () /* [args, ]options */{
16102
16208
  if (arguments.length === 1) {
16103
16209
  // A missing field in a {{foo}} construct.
@@ -16109,7 +16215,7 @@ function requireHelperMissing () {
16109
16215
  });
16110
16216
  };
16111
16217
 
16112
- module.exports = exports$1['default'];
16218
+ module.exports = exports['default'];
16113
16219
 
16114
16220
  } (helperMissing, helperMissing.exports));
16115
16221
  return helperMissing.exports;
@@ -16122,9 +16228,9 @@ var hasRequired_if;
16122
16228
  function require_if () {
16123
16229
  if (hasRequired_if) return _if.exports;
16124
16230
  hasRequired_if = 1;
16125
- (function (module, exports$1) {
16231
+ (function (module, exports) {
16126
16232
 
16127
- exports$1.__esModule = true;
16233
+ exports.__esModule = true;
16128
16234
  // istanbul ignore next
16129
16235
 
16130
16236
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -16135,7 +16241,7 @@ function require_if () {
16135
16241
 
16136
16242
  var _exception2 = _interopRequireDefault(_exception);
16137
16243
 
16138
- exports$1['default'] = function (instance) {
16244
+ exports['default'] = function (instance) {
16139
16245
  instance.registerHelper('if', function (conditional, options) {
16140
16246
  if (arguments.length != 2) {
16141
16247
  throw new _exception2['default']('#if requires exactly one argument');
@@ -16166,7 +16272,7 @@ function require_if () {
16166
16272
  });
16167
16273
  };
16168
16274
 
16169
- module.exports = exports$1['default'];
16275
+ module.exports = exports['default'];
16170
16276
 
16171
16277
  } (_if, _if.exports));
16172
16278
  return _if.exports;
@@ -16179,11 +16285,11 @@ var hasRequiredLog;
16179
16285
  function requireLog () {
16180
16286
  if (hasRequiredLog) return log.exports;
16181
16287
  hasRequiredLog = 1;
16182
- (function (module, exports$1) {
16288
+ (function (module, exports) {
16183
16289
 
16184
- exports$1.__esModule = true;
16290
+ exports.__esModule = true;
16185
16291
 
16186
- exports$1['default'] = function (instance) {
16292
+ exports['default'] = function (instance) {
16187
16293
  instance.registerHelper('log', function () /* message, options */{
16188
16294
  var args = [undefined],
16189
16295
  options = arguments[arguments.length - 1];
@@ -16203,7 +16309,7 @@ function requireLog () {
16203
16309
  });
16204
16310
  };
16205
16311
 
16206
- module.exports = exports$1['default'];
16312
+ module.exports = exports['default'];
16207
16313
 
16208
16314
  } (log, log.exports));
16209
16315
  return log.exports;
@@ -16216,11 +16322,11 @@ var hasRequiredLookup;
16216
16322
  function requireLookup () {
16217
16323
  if (hasRequiredLookup) return lookup.exports;
16218
16324
  hasRequiredLookup = 1;
16219
- (function (module, exports$1) {
16325
+ (function (module, exports) {
16220
16326
 
16221
- exports$1.__esModule = true;
16327
+ exports.__esModule = true;
16222
16328
 
16223
- exports$1['default'] = function (instance) {
16329
+ exports['default'] = function (instance) {
16224
16330
  instance.registerHelper('lookup', function (obj, field, options) {
16225
16331
  if (!obj) {
16226
16332
  // Note for 5.0: Change to "obj == null" in 5.0
@@ -16230,7 +16336,7 @@ function requireLookup () {
16230
16336
  });
16231
16337
  };
16232
16338
 
16233
- module.exports = exports$1['default'];
16339
+ module.exports = exports['default'];
16234
16340
 
16235
16341
  } (lookup, lookup.exports));
16236
16342
  return lookup.exports;
@@ -16243,9 +16349,9 @@ var hasRequired_with;
16243
16349
  function require_with () {
16244
16350
  if (hasRequired_with) return _with.exports;
16245
16351
  hasRequired_with = 1;
16246
- (function (module, exports$1) {
16352
+ (function (module, exports) {
16247
16353
 
16248
- exports$1.__esModule = true;
16354
+ exports.__esModule = true;
16249
16355
  // istanbul ignore next
16250
16356
 
16251
16357
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -16256,7 +16362,7 @@ function require_with () {
16256
16362
 
16257
16363
  var _exception2 = _interopRequireDefault(_exception);
16258
16364
 
16259
- exports$1['default'] = function (instance) {
16365
+ exports['default'] = function (instance) {
16260
16366
  instance.registerHelper('with', function (context, options) {
16261
16367
  if (arguments.length != 2) {
16262
16368
  throw new _exception2['default']('#with requires exactly one argument');
@@ -16284,7 +16390,7 @@ function require_with () {
16284
16390
  });
16285
16391
  };
16286
16392
 
16287
- module.exports = exports$1['default'];
16393
+ module.exports = exports['default'];
16288
16394
 
16289
16395
  } (_with, _with.exports));
16290
16396
  return _with.exports;
@@ -16363,13 +16469,13 @@ var hasRequiredInline;
16363
16469
  function requireInline () {
16364
16470
  if (hasRequiredInline) return inline.exports;
16365
16471
  hasRequiredInline = 1;
16366
- (function (module, exports$1) {
16472
+ (function (module, exports) {
16367
16473
 
16368
- exports$1.__esModule = true;
16474
+ exports.__esModule = true;
16369
16475
 
16370
16476
  var _utils = requireUtils();
16371
16477
 
16372
- exports$1['default'] = function (instance) {
16478
+ exports['default'] = function (instance) {
16373
16479
  instance.registerDecorator('inline', function (fn, props, container, options) {
16374
16480
  var ret = fn;
16375
16481
  if (!props.partials) {
@@ -16390,7 +16496,7 @@ function requireInline () {
16390
16496
  });
16391
16497
  };
16392
16498
 
16393
- module.exports = exports$1['default'];
16499
+ module.exports = exports['default'];
16394
16500
 
16395
16501
  } (inline, inline.exports));
16396
16502
  return inline.exports;
@@ -16426,9 +16532,9 @@ var hasRequiredLogger;
16426
16532
  function requireLogger () {
16427
16533
  if (hasRequiredLogger) return logger.exports;
16428
16534
  hasRequiredLogger = 1;
16429
- (function (module, exports$1) {
16535
+ (function (module, exports) {
16430
16536
 
16431
- exports$1.__esModule = true;
16537
+ exports.__esModule = true;
16432
16538
 
16433
16539
  var _utils = requireUtils();
16434
16540
 
@@ -16470,8 +16576,8 @@ function requireLogger () {
16470
16576
  }
16471
16577
  };
16472
16578
 
16473
- exports$1['default'] = logger;
16474
- module.exports = exports$1['default'];
16579
+ exports['default'] = logger;
16580
+ module.exports = exports['default'];
16475
16581
 
16476
16582
  } (logger, logger.exports));
16477
16583
  return logger.exports;
@@ -16694,9 +16800,9 @@ var hasRequiredSafeString;
16694
16800
  function requireSafeString () {
16695
16801
  if (hasRequiredSafeString) return safeString.exports;
16696
16802
  hasRequiredSafeString = 1;
16697
- (function (module, exports$1) {
16803
+ (function (module, exports) {
16698
16804
 
16699
- exports$1.__esModule = true;
16805
+ exports.__esModule = true;
16700
16806
  function SafeString(string) {
16701
16807
  this.string = string;
16702
16808
  }
@@ -16705,8 +16811,8 @@ function requireSafeString () {
16705
16811
  return '' + this.string;
16706
16812
  };
16707
16813
 
16708
- exports$1['default'] = SafeString;
16709
- module.exports = exports$1['default'];
16814
+ exports['default'] = SafeString;
16815
+ module.exports = exports['default'];
16710
16816
 
16711
16817
  } (safeString, safeString.exports));
16712
16818
  return safeString.exports;
@@ -17137,11 +17243,11 @@ var hasRequiredNoConflict;
17137
17243
  function requireNoConflict () {
17138
17244
  if (hasRequiredNoConflict) return noConflict.exports;
17139
17245
  hasRequiredNoConflict = 1;
17140
- (function (module, exports$1) {
17246
+ (function (module, exports) {
17141
17247
 
17142
- exports$1.__esModule = true;
17248
+ exports.__esModule = true;
17143
17249
 
17144
- exports$1['default'] = function (Handlebars) {
17250
+ exports['default'] = function (Handlebars) {
17145
17251
  /* istanbul ignore next */
17146
17252
  // https://mathiasbynens.be/notes/globalthis
17147
17253
  (function () {
@@ -17164,7 +17270,7 @@ function requireNoConflict () {
17164
17270
  };
17165
17271
  };
17166
17272
 
17167
- module.exports = exports$1['default'];
17273
+ module.exports = exports['default'];
17168
17274
 
17169
17275
  } (noConflict, noConflict.exports));
17170
17276
  return noConflict.exports;
@@ -17175,9 +17281,9 @@ var hasRequiredHandlebars_runtime;
17175
17281
  function requireHandlebars_runtime () {
17176
17282
  if (hasRequiredHandlebars_runtime) return handlebars_runtime.exports;
17177
17283
  hasRequiredHandlebars_runtime = 1;
17178
- (function (module, exports$1) {
17284
+ (function (module, exports) {
17179
17285
 
17180
- exports$1.__esModule = true;
17286
+ exports.__esModule = true;
17181
17287
  // istanbul ignore next
17182
17288
 
17183
17289
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -17238,8 +17344,8 @@ function requireHandlebars_runtime () {
17238
17344
 
17239
17345
  inst['default'] = inst;
17240
17346
 
17241
- exports$1['default'] = inst;
17242
- module.exports = exports$1['default'];
17347
+ exports['default'] = inst;
17348
+ module.exports = exports['default'];
17243
17349
 
17244
17350
  } (handlebars_runtime, handlebars_runtime.exports));
17245
17351
  return handlebars_runtime.exports;
@@ -17252,9 +17358,9 @@ var hasRequiredAst;
17252
17358
  function requireAst () {
17253
17359
  if (hasRequiredAst) return ast.exports;
17254
17360
  hasRequiredAst = 1;
17255
- (function (module, exports$1) {
17361
+ (function (module, exports) {
17256
17362
 
17257
- exports$1.__esModule = true;
17363
+ exports.__esModule = true;
17258
17364
  var AST = {
17259
17365
  // Public API used to evaluate derived attributes regarding AST nodes
17260
17366
  helpers: {
@@ -17280,8 +17386,8 @@ function requireAst () {
17280
17386
 
17281
17387
  // Must be exported as an object rather than the root of the module as the jison lexer
17282
17388
  // must modify the object to operate properly.
17283
- exports$1['default'] = AST;
17284
- module.exports = exports$1['default'];
17389
+ exports['default'] = AST;
17390
+ module.exports = exports['default'];
17285
17391
 
17286
17392
  } (ast, ast.exports));
17287
17393
  return ast.exports;
@@ -17296,9 +17402,9 @@ var hasRequiredParser;
17296
17402
  function requireParser () {
17297
17403
  if (hasRequiredParser) return parser.exports;
17298
17404
  hasRequiredParser = 1;
17299
- (function (module, exports$1) {
17405
+ (function (module, exports) {
17300
17406
 
17301
- exports$1.__esModule = true;
17407
+ exports.__esModule = true;
17302
17408
  var handlebars = (function () {
17303
17409
  var parser = { trace: function trace() {},
17304
17410
  yy: {},
@@ -17964,8 +18070,8 @@ function requireParser () {
17964
18070
  this.yy = {};
17965
18071
  }Parser.prototype = parser;parser.Parser = Parser;
17966
18072
  return new Parser();
17967
- })();exports$1["default"] = handlebars;
17968
- module.exports = exports$1["default"];
18073
+ })();exports["default"] = handlebars;
18074
+ module.exports = exports["default"];
17969
18075
 
17970
18076
  } (parser, parser.exports));
17971
18077
  return parser.exports;
@@ -17980,9 +18086,9 @@ var hasRequiredVisitor;
17980
18086
  function requireVisitor () {
17981
18087
  if (hasRequiredVisitor) return visitor.exports;
17982
18088
  hasRequiredVisitor = 1;
17983
- (function (module, exports$1) {
18089
+ (function (module, exports) {
17984
18090
 
17985
- exports$1.__esModule = true;
18091
+ exports.__esModule = true;
17986
18092
  // istanbul ignore next
17987
18093
 
17988
18094
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -18117,8 +18223,8 @@ function requireVisitor () {
18117
18223
  this.acceptKey(partial, 'hash');
18118
18224
  }
18119
18225
 
18120
- exports$1['default'] = Visitor;
18121
- module.exports = exports$1['default'];
18226
+ exports['default'] = Visitor;
18227
+ module.exports = exports['default'];
18122
18228
 
18123
18229
  } (visitor, visitor.exports));
18124
18230
  return visitor.exports;
@@ -18129,9 +18235,9 @@ var hasRequiredWhitespaceControl;
18129
18235
  function requireWhitespaceControl () {
18130
18236
  if (hasRequiredWhitespaceControl) return whitespaceControl.exports;
18131
18237
  hasRequiredWhitespaceControl = 1;
18132
- (function (module, exports$1) {
18238
+ (function (module, exports) {
18133
18239
 
18134
- exports$1.__esModule = true;
18240
+ exports.__esModule = true;
18135
18241
  // istanbul ignore next
18136
18242
 
18137
18243
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -18347,8 +18453,8 @@ function requireWhitespaceControl () {
18347
18453
  return current.leftStripped;
18348
18454
  }
18349
18455
 
18350
- exports$1['default'] = WhitespaceControl;
18351
- module.exports = exports$1['default'];
18456
+ exports['default'] = WhitespaceControl;
18457
+ module.exports = exports['default'];
18352
18458
 
18353
18459
  } (whitespaceControl, whitespaceControl.exports));
18354
18460
  return whitespaceControl.exports;
@@ -19535,7 +19641,7 @@ var hasRequiredUtil;
19535
19641
  function requireUtil () {
19536
19642
  if (hasRequiredUtil) return util;
19537
19643
  hasRequiredUtil = 1;
19538
- (function (exports$1) {
19644
+ (function (exports) {
19539
19645
  /*
19540
19646
  * Copyright 2011 Mozilla Foundation and contributors
19541
19647
  * Licensed under the New BSD license. See LICENSE or:
@@ -19561,7 +19667,7 @@ function requireUtil () {
19561
19667
  throw new Error('"' + aName + '" is a required argument.');
19562
19668
  }
19563
19669
  }
19564
- exports$1.getArg = getArg;
19670
+ exports.getArg = getArg;
19565
19671
 
19566
19672
  var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
19567
19673
  var dataUrlRegexp = /^data:.+\,.+$/;
@@ -19579,7 +19685,7 @@ function requireUtil () {
19579
19685
  path: match[5]
19580
19686
  };
19581
19687
  }
19582
- exports$1.urlParse = urlParse;
19688
+ exports.urlParse = urlParse;
19583
19689
 
19584
19690
  function urlGenerate(aParsedUrl) {
19585
19691
  var url = '';
@@ -19601,7 +19707,7 @@ function requireUtil () {
19601
19707
  }
19602
19708
  return url;
19603
19709
  }
19604
- exports$1.urlGenerate = urlGenerate;
19710
+ exports.urlGenerate = urlGenerate;
19605
19711
 
19606
19712
  /**
19607
19713
  * Normalizes a path, or the path portion of a URL:
@@ -19623,7 +19729,7 @@ function requireUtil () {
19623
19729
  }
19624
19730
  path = url.path;
19625
19731
  }
19626
- var isAbsolute = exports$1.isAbsolute(path);
19732
+ var isAbsolute = exports.isAbsolute(path);
19627
19733
 
19628
19734
  var parts = path.split(/\/+/);
19629
19735
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
@@ -19657,7 +19763,7 @@ function requireUtil () {
19657
19763
  }
19658
19764
  return path;
19659
19765
  }
19660
- exports$1.normalize = normalize;
19766
+ exports.normalize = normalize;
19661
19767
 
19662
19768
  /**
19663
19769
  * Joins two paths/URLs.
@@ -19716,9 +19822,9 @@ function requireUtil () {
19716
19822
  }
19717
19823
  return joined;
19718
19824
  }
19719
- exports$1.join = join;
19825
+ exports.join = join;
19720
19826
 
19721
- exports$1.isAbsolute = function (aPath) {
19827
+ exports.isAbsolute = function (aPath) {
19722
19828
  return aPath.charAt(0) === '/' || urlRegexp.test(aPath);
19723
19829
  };
19724
19830
 
@@ -19760,7 +19866,7 @@ function requireUtil () {
19760
19866
  // Make sure we add a "../" for each component we removed from the root.
19761
19867
  return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
19762
19868
  }
19763
- exports$1.relative = relative;
19869
+ exports.relative = relative;
19764
19870
 
19765
19871
  var supportsNullProto = (function () {
19766
19872
  var obj = Object.create(null);
@@ -19787,7 +19893,7 @@ function requireUtil () {
19787
19893
 
19788
19894
  return aStr;
19789
19895
  }
19790
- exports$1.toSetString = supportsNullProto ? identity : toSetString;
19896
+ exports.toSetString = supportsNullProto ? identity : toSetString;
19791
19897
 
19792
19898
  function fromSetString(aStr) {
19793
19899
  if (isProtoString(aStr)) {
@@ -19796,7 +19902,7 @@ function requireUtil () {
19796
19902
 
19797
19903
  return aStr;
19798
19904
  }
19799
- exports$1.fromSetString = supportsNullProto ? identity : fromSetString;
19905
+ exports.fromSetString = supportsNullProto ? identity : fromSetString;
19800
19906
 
19801
19907
  function isProtoString(s) {
19802
19908
  if (!s) {
@@ -19866,7 +19972,7 @@ function requireUtil () {
19866
19972
 
19867
19973
  return strcmp(mappingA.name, mappingB.name);
19868
19974
  }
19869
- exports$1.compareByOriginalPositions = compareByOriginalPositions;
19975
+ exports.compareByOriginalPositions = compareByOriginalPositions;
19870
19976
 
19871
19977
  /**
19872
19978
  * Comparator between two mappings with deflated source and name indices where
@@ -19905,7 +20011,7 @@ function requireUtil () {
19905
20011
 
19906
20012
  return strcmp(mappingA.name, mappingB.name);
19907
20013
  }
19908
- exports$1.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
20014
+ exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
19909
20015
 
19910
20016
  function strcmp(aStr1, aStr2) {
19911
20017
  if (aStr1 === aStr2) {
@@ -19959,7 +20065,7 @@ function requireUtil () {
19959
20065
 
19960
20066
  return strcmp(mappingA.name, mappingB.name);
19961
20067
  }
19962
- exports$1.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
20068
+ exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
19963
20069
 
19964
20070
  /**
19965
20071
  * Strip any JSON XSSI avoidance prefix from the string (as documented
@@ -19969,7 +20075,7 @@ function requireUtil () {
19969
20075
  function parseSourceMapInput(str) {
19970
20076
  return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
19971
20077
  }
19972
- exports$1.parseSourceMapInput = parseSourceMapInput;
20078
+ exports.parseSourceMapInput = parseSourceMapInput;
19973
20079
 
19974
20080
  /**
19975
20081
  * Compute the URL of a source given the the source root, the source's
@@ -20022,7 +20128,7 @@ function requireUtil () {
20022
20128
 
20023
20129
  return normalize(sourceURL);
20024
20130
  }
20025
- exports$1.computeSourceURL = computeSourceURL;
20131
+ exports.computeSourceURL = computeSourceURL;
20026
20132
  } (util));
20027
20133
  return util;
20028
20134
  }
@@ -20694,15 +20800,15 @@ var hasRequiredBinarySearch;
20694
20800
  function requireBinarySearch () {
20695
20801
  if (hasRequiredBinarySearch) return binarySearch;
20696
20802
  hasRequiredBinarySearch = 1;
20697
- (function (exports$1) {
20803
+ (function (exports) {
20698
20804
  /*
20699
20805
  * Copyright 2011 Mozilla Foundation and contributors
20700
20806
  * Licensed under the New BSD license. See LICENSE or:
20701
20807
  * http://opensource.org/licenses/BSD-3-Clause
20702
20808
  */
20703
20809
 
20704
- exports$1.GREATEST_LOWER_BOUND = 1;
20705
- exports$1.LEAST_UPPER_BOUND = 2;
20810
+ exports.GREATEST_LOWER_BOUND = 1;
20811
+ exports.LEAST_UPPER_BOUND = 2;
20706
20812
 
20707
20813
  /**
20708
20814
  * Recursive implementation of binary search.
@@ -20742,7 +20848,7 @@ function requireBinarySearch () {
20742
20848
 
20743
20849
  // The exact needle element was not found in this haystack. Determine if
20744
20850
  // we are in termination case (3) or (2) and return the appropriate thing.
20745
- if (aBias == exports$1.LEAST_UPPER_BOUND) {
20851
+ if (aBias == exports.LEAST_UPPER_BOUND) {
20746
20852
  return aHigh < aHaystack.length ? aHigh : -1;
20747
20853
  } else {
20748
20854
  return mid;
@@ -20756,7 +20862,7 @@ function requireBinarySearch () {
20756
20862
  }
20757
20863
 
20758
20864
  // we are in termination case (3) or (2) and return the appropriate thing.
20759
- if (aBias == exports$1.LEAST_UPPER_BOUND) {
20865
+ if (aBias == exports.LEAST_UPPER_BOUND) {
20760
20866
  return mid;
20761
20867
  } else {
20762
20868
  return aLow < 0 ? -1 : aLow;
@@ -20782,13 +20888,13 @@ function requireBinarySearch () {
20782
20888
  * searching for, respectively, if the exact element cannot be found.
20783
20889
  * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
20784
20890
  */
20785
- exports$1.search = function search(aNeedle, aHaystack, aCompare, aBias) {
20891
+ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
20786
20892
  if (aHaystack.length === 0) {
20787
20893
  return -1;
20788
20894
  }
20789
20895
 
20790
20896
  var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
20791
- aCompare, aBias || exports$1.GREATEST_LOWER_BOUND);
20897
+ aCompare, aBias || exports.GREATEST_LOWER_BOUND);
20792
20898
  if (index < 0) {
20793
20899
  return -1;
20794
20900
  }
@@ -22536,9 +22642,9 @@ var hasRequiredCodeGen;
22536
22642
  function requireCodeGen () {
22537
22643
  if (hasRequiredCodeGen) return codeGen.exports;
22538
22644
  hasRequiredCodeGen = 1;
22539
- (function (module, exports$1) {
22645
+ (function (module, exports) {
22540
22646
 
22541
- exports$1.__esModule = true;
22647
+ exports.__esModule = true;
22542
22648
 
22543
22649
  var _utils = requireUtils();
22544
22650
 
@@ -22700,8 +22806,8 @@ function requireCodeGen () {
22700
22806
  }
22701
22807
  };
22702
22808
 
22703
- exports$1['default'] = CodeGen;
22704
- module.exports = exports$1['default'];
22809
+ exports['default'] = CodeGen;
22810
+ module.exports = exports['default'];
22705
22811
 
22706
22812
  } (codeGen, codeGen.exports));
22707
22813
  return codeGen.exports;
@@ -22712,9 +22818,9 @@ var hasRequiredJavascriptCompiler;
22712
22818
  function requireJavascriptCompiler () {
22713
22819
  if (hasRequiredJavascriptCompiler) return javascriptCompiler.exports;
22714
22820
  hasRequiredJavascriptCompiler = 1;
22715
- (function (module, exports$1) {
22821
+ (function (module, exports) {
22716
22822
 
22717
- exports$1.__esModule = true;
22823
+ exports.__esModule = true;
22718
22824
  // istanbul ignore next
22719
22825
 
22720
22826
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -23875,8 +23981,8 @@ function requireJavascriptCompiler () {
23875
23981
  }
23876
23982
  }
23877
23983
 
23878
- exports$1['default'] = JavaScriptCompiler;
23879
- module.exports = exports$1['default'];
23984
+ exports['default'] = JavaScriptCompiler;
23985
+ module.exports = exports['default'];
23880
23986
 
23881
23987
  } (javascriptCompiler, javascriptCompiler.exports));
23882
23988
  return javascriptCompiler.exports;
@@ -23887,9 +23993,9 @@ var hasRequiredHandlebars;
23887
23993
  function requireHandlebars () {
23888
23994
  if (hasRequiredHandlebars) return handlebars.exports;
23889
23995
  hasRequiredHandlebars = 1;
23890
- (function (module, exports$1) {
23996
+ (function (module, exports) {
23891
23997
 
23892
- exports$1.__esModule = true;
23998
+ exports.__esModule = true;
23893
23999
  // istanbul ignore next
23894
24000
 
23895
24001
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
@@ -23950,8 +24056,8 @@ function requireHandlebars () {
23950
24056
 
23951
24057
  inst['default'] = inst;
23952
24058
 
23953
- exports$1['default'] = inst;
23954
- module.exports = exports$1['default'];
24059
+ exports['default'] = inst;
24060
+ module.exports = exports['default'];
23955
24061
 
23956
24062
  } (handlebars, handlebars.exports));
23957
24063
  return handlebars.exports;
@@ -24359,14 +24465,14 @@ const PLATFORM_COMPONENTS = [
24359
24465
  * Core library version, inlined at build time.
24360
24466
  *
24361
24467
  * @remarks
24362
- * The `0.5.8` placeholder is replaced by
24468
+ * The `0.5.9` placeholder is replaced by
24363
24469
  * `@rollup/plugin-replace` during the build with the actual version
24364
24470
  * from `package.json`. This ensures the correct version survives
24365
24471
  * when consumers bundle core into their own dist (where runtime
24366
24472
  * `import.meta.url`-based resolution would find the wrong package.json).
24367
24473
  */
24368
24474
  /** The core library version from package.json (inlined at build time). */
24369
- const CORE_VERSION = '0.5.8';
24475
+ const CORE_VERSION = '0.5.9';
24370
24476
 
24371
24477
  /**
24372
24478
  * Workspace and config root initialization.
@@ -24726,31 +24832,31 @@ var hasRequiredExtraTypings;
24726
24832
  function requireExtraTypings () {
24727
24833
  if (hasRequiredExtraTypings) return extraTypings.exports;
24728
24834
  hasRequiredExtraTypings = 1;
24729
- (function (module, exports$1) {
24835
+ (function (module, exports) {
24730
24836
  const commander = require$$0;
24731
24837
 
24732
- exports$1 = module.exports = {};
24838
+ exports = module.exports = {};
24733
24839
 
24734
24840
  // Return a different global program than commander,
24735
24841
  // and don't also return it as default export.
24736
- exports$1.program = new commander.Command();
24842
+ exports.program = new commander.Command();
24737
24843
 
24738
24844
  /**
24739
24845
  * Expose classes. The FooT versions are just types, so return Commander original implementations!
24740
24846
  */
24741
24847
 
24742
- exports$1.Argument = commander.Argument;
24743
- exports$1.Command = commander.Command;
24744
- exports$1.CommanderError = commander.CommanderError;
24745
- exports$1.Help = commander.Help;
24746
- exports$1.InvalidArgumentError = commander.InvalidArgumentError;
24747
- exports$1.InvalidOptionArgumentError = commander.InvalidArgumentError; // Deprecated
24748
- exports$1.Option = commander.Option;
24848
+ exports.Argument = commander.Argument;
24849
+ exports.Command = commander.Command;
24850
+ exports.CommanderError = commander.CommanderError;
24851
+ exports.Help = commander.Help;
24852
+ exports.InvalidArgumentError = commander.InvalidArgumentError;
24853
+ exports.InvalidOptionArgumentError = commander.InvalidArgumentError; // Deprecated
24854
+ exports.Option = commander.Option;
24749
24855
 
24750
- exports$1.createCommand = (name) => new commander.Command(name);
24751
- exports$1.createOption = (flags, description) =>
24856
+ exports.createCommand = (name) => new commander.Command(name);
24857
+ exports.createOption = (flags, description) =>
24752
24858
  new commander.Option(flags, description);
24753
- exports$1.createArgument = (name, description) =>
24859
+ exports.createArgument = (name, description) =>
24754
24860
  new commander.Argument(name, description);
24755
24861
  } (extraTypings, extraTypings.exports));
24756
24862
  return extraTypings.exports;
@@ -27638,6 +27744,97 @@ function createComponentWriter(descriptor, options) {
27638
27744
  return new ComponentWriter(descriptor, options);
27639
27745
  }
27640
27746
 
27747
+ /**
27748
+ * Shared component descriptor constants for jeeves-meta.
27749
+ *
27750
+ * Single source of truth consumed by both the service descriptor and
27751
+ * the OpenClaw plugin registration.
27752
+ */
27753
+ /** Shared jeeves-meta component descriptor constants. */
27754
+ const META_COMPONENT = {
27755
+ name: 'meta',
27756
+ servicePackage: '@karmaniverous/jeeves-meta',
27757
+ pluginPackage: '@karmaniverous/jeeves-meta-openclaw',
27758
+ defaultPort: 1938};
27759
+
27760
+ /**
27761
+ * Structured error schema from a synthesis step failure.
27762
+ *
27763
+ */
27764
+ /** Zod schema for synthesis step errors. */
27765
+ object({
27766
+ /** Which step failed: 'architect', 'builder', or 'critic'. */
27767
+ step: _enum(['architect', 'builder', 'critic']),
27768
+ /** Error classification code. */
27769
+ code: string(),
27770
+ /** Human-readable error message. */
27771
+ message: string(),
27772
+ });
27773
+
27774
+ /** Zod schema for the core (library-compatible) meta configuration. */
27775
+ /** Zod schema for the core (library-compatible) meta configuration. */
27776
+ object({
27777
+ /** Watcher service base URL. */
27778
+ watcherUrl: url(),
27779
+ /** OpenClaw gateway base URL for subprocess spawning. */
27780
+ gatewayUrl: url().default('http://127.0.0.1:18789'),
27781
+ /** Optional API key for gateway authentication. */
27782
+ gatewayApiKey: string().optional(),
27783
+ /** Run architect every N cycles (per meta). */
27784
+ architectEvery: number().int().min(1).default(10),
27785
+ /** Exponent for depth weighting in staleness formula. */
27786
+ depthWeight: number().min(0).default(0.5),
27787
+ /** Maximum archive snapshots to retain per meta. */
27788
+ maxArchive: number().int().min(1).default(20),
27789
+ /** Maximum lines of context to include in subprocess prompts. */
27790
+ maxLines: number().int().min(50).default(500),
27791
+ /** Architect subprocess timeout in seconds. */
27792
+ architectTimeout: number().int().min(30).default(180),
27793
+ /** Builder subprocess timeout in seconds. */
27794
+ builderTimeout: number().int().min(60).default(360),
27795
+ /** Critic subprocess timeout in seconds. */
27796
+ criticTimeout: number().int().min(30).default(240),
27797
+ /** Thinking level for spawned synthesis sessions. */
27798
+ thinking: string().default('low'),
27799
+ /** Resolved architect system prompt text. Falls back to built-in default. */
27800
+ defaultArchitect: string().optional(),
27801
+ /** Resolved critic system prompt text. Falls back to built-in default. */
27802
+ defaultCritic: string().optional(),
27803
+ /** Skip unchanged candidates, bump _generatedAt. */
27804
+ skipUnchanged: boolean().default(true),
27805
+ /** Watcher metadata properties applied to live .meta/meta.json files. */
27806
+ metaProperty: record(string(), unknown()).default({ _meta: 'current' }),
27807
+ /** Watcher metadata properties applied to archive snapshots. */
27808
+ metaArchiveProperty: record(string(), unknown())
27809
+ .default({ _meta: 'archive' }),
27810
+ });
27811
+
27812
+ /**
27813
+ * Phase vocabulary for the jeeves-meta synthesis pipeline.
27814
+ *
27815
+ * Defines the ordered phase names, their possible statuses, and the
27816
+ * per-meta phase state record used by the engine and consumers.
27817
+ *
27818
+ */
27819
+ /** Phase names in pipeline order. */
27820
+ const phaseNames = ['architect', 'builder', 'critic'];
27821
+ /** Valid states for a synthesis phase. */
27822
+ const phaseStatuses = [
27823
+ 'fresh',
27824
+ 'stale',
27825
+ 'pending',
27826
+ 'running',
27827
+ 'failed',
27828
+ ];
27829
+ /** Zod schema for a per-phase status value. */
27830
+ const phaseStatusSchema = _enum(phaseStatuses);
27831
+ /** Zod schema for the per-meta phase state record. */
27832
+ object({
27833
+ architect: phaseStatusSchema,
27834
+ builder: phaseStatusSchema,
27835
+ critic: phaseStatusSchema,
27836
+ });
27837
+
27641
27838
  /**
27642
27839
  * Shared constants for the jeeves-meta OpenClaw plugin.
27643
27840
  *
@@ -27738,7 +27935,7 @@ async function generateMetaMenu(client) {
27738
27935
  if (phaseSummary) {
27739
27936
  // Aggregate counts across all phases
27740
27937
  const totals = {};
27741
- for (const phase of ['architect', 'builder', 'critic']) {
27938
+ for (const phase of phaseNames) {
27742
27939
  const counts = phaseSummary[phase];
27743
27940
  for (const [state, count] of Object.entries(counts)) {
27744
27941
  if (count > 0) {
@@ -27761,7 +27958,7 @@ async function generateMetaMenu(client) {
27761
27958
  const ps = item.phaseState;
27762
27959
  if (!ps)
27763
27960
  continue;
27764
- for (const phase of ['architect', 'builder', 'critic']) {
27961
+ for (const phase of phaseNames) {
27765
27962
  if (ps[phase] === 'failed') {
27766
27963
  const p = item.path;
27767
27964
  failedParts.push(p + ' (' + phase + ')');
@@ -27814,8 +28011,7 @@ async function generateMetaMenu(client) {
27814
28011
  * Thin HTTP client for the jeeves-meta service.
27815
28012
  *
27816
28013
  * Plugin delegates all operations to the running service via HTTP.
27817
- * Response types are defined here as the single source of truth —
27818
- * consumers should not redefine them.
28014
+ * Shared response types are imported from `@karmaniverous/jeeves-meta-core`.
27819
28015
  *
27820
28016
  * @module serviceClient
27821
28017
  */
@@ -28231,11 +28427,11 @@ function register(api) {
28231
28427
  },
28232
28428
  });
28233
28429
  const descriptor = jeevesComponentDescriptorSchema.parse({
28234
- name: 'meta',
28430
+ name: META_COMPONENT.name,
28235
28431
  version: getPackageVersion(import.meta.url),
28236
- servicePackage: '@karmaniverous/jeeves-meta',
28237
- pluginPackage: '@karmaniverous/jeeves-meta-openclaw',
28238
- defaultPort: 1938,
28432
+ servicePackage: META_COMPONENT.servicePackage,
28433
+ pluginPackage: META_COMPONENT.pluginPackage,
28434
+ defaultPort: META_COMPONENT.defaultPort,
28239
28435
  // The runtime Zod custom validator only checks for a .parse() method.
28240
28436
  // Use unknown cast to bridge the Zod v4 (service) → v3 (core SDK) type gap.
28241
28437
  configSchema: { parse: (v) => v },