@settlemint/sdk-cli 2.6.2-pr2ba16e63 → 2.6.2-pr2d0438d2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/cli.js +730 -275
  2. package/dist/cli.js.map +19 -5
  3. package/package.json +8 -8
package/dist/cli.js CHANGED
@@ -240664,11 +240664,11 @@ var require_visit = __commonJS((exports) => {
240664
240664
  visit2.BREAK = BREAK;
240665
240665
  visit2.SKIP = SKIP;
240666
240666
  visit2.REMOVE = REMOVE;
240667
- function visit_(key3, node, visitor, path5) {
240668
- const ctrl = callVisitor(key3, node, visitor, path5);
240667
+ function visit_(key4, node, visitor, path5) {
240668
+ const ctrl = callVisitor(key4, node, visitor, path5);
240669
240669
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
240670
- replaceNode(key3, path5, ctrl);
240671
- return visit_(key3, ctrl, visitor, path5);
240670
+ replaceNode(key4, path5, ctrl);
240671
+ return visit_(key4, ctrl, visitor, path5);
240672
240672
  }
240673
240673
  if (typeof ctrl !== "symbol") {
240674
240674
  if (identity2.isCollection(node)) {
@@ -240712,11 +240712,11 @@ var require_visit = __commonJS((exports) => {
240712
240712
  visitAsync.BREAK = BREAK;
240713
240713
  visitAsync.SKIP = SKIP;
240714
240714
  visitAsync.REMOVE = REMOVE;
240715
- async function visitAsync_(key3, node, visitor, path5) {
240716
- const ctrl = await callVisitor(key3, node, visitor, path5);
240715
+ async function visitAsync_(key4, node, visitor, path5) {
240716
+ const ctrl = await callVisitor(key4, node, visitor, path5);
240717
240717
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
240718
- replaceNode(key3, path5, ctrl);
240719
- return visitAsync_(key3, ctrl, visitor, path5);
240718
+ replaceNode(key4, path5, ctrl);
240719
+ return visitAsync_(key4, ctrl, visitor, path5);
240720
240720
  }
240721
240721
  if (typeof ctrl !== "symbol") {
240722
240722
  if (identity2.isCollection(node)) {
@@ -240766,27 +240766,27 @@ var require_visit = __commonJS((exports) => {
240766
240766
  }
240767
240767
  return visitor;
240768
240768
  }
240769
- function callVisitor(key3, node, visitor, path5) {
240769
+ function callVisitor(key4, node, visitor, path5) {
240770
240770
  if (typeof visitor === "function")
240771
- return visitor(key3, node, path5);
240771
+ return visitor(key4, node, path5);
240772
240772
  if (identity2.isMap(node))
240773
- return visitor.Map?.(key3, node, path5);
240773
+ return visitor.Map?.(key4, node, path5);
240774
240774
  if (identity2.isSeq(node))
240775
- return visitor.Seq?.(key3, node, path5);
240775
+ return visitor.Seq?.(key4, node, path5);
240776
240776
  if (identity2.isPair(node))
240777
- return visitor.Pair?.(key3, node, path5);
240777
+ return visitor.Pair?.(key4, node, path5);
240778
240778
  if (identity2.isScalar(node))
240779
- return visitor.Scalar?.(key3, node, path5);
240779
+ return visitor.Scalar?.(key4, node, path5);
240780
240780
  if (identity2.isAlias(node))
240781
- return visitor.Alias?.(key3, node, path5);
240781
+ return visitor.Alias?.(key4, node, path5);
240782
240782
  return;
240783
240783
  }
240784
- function replaceNode(key3, path5, node) {
240784
+ function replaceNode(key4, path5, node) {
240785
240785
  const parent = path5[path5.length - 1];
240786
240786
  if (identity2.isCollection(parent)) {
240787
- parent.items[key3] = node;
240787
+ parent.items[key4] = node;
240788
240788
  } else if (identity2.isPair(parent)) {
240789
- if (key3 === "key")
240789
+ if (key4 === "key")
240790
240790
  parent.key = node;
240791
240791
  else
240792
240792
  parent.value = node;
@@ -241017,7 +241017,7 @@ var require_anchors = __commonJS((exports) => {
241017
241017
 
241018
241018
  // ../../node_modules/.bun/yaml@2.8.1/node_modules/yaml/dist/doc/applyReviver.js
241019
241019
  var require_applyReviver = __commonJS((exports) => {
241020
- function applyReviver(reviver, obj, key3, val) {
241020
+ function applyReviver(reviver, obj, key4, val) {
241021
241021
  if (val && typeof val === "object") {
241022
241022
  if (Array.isArray(val)) {
241023
241023
  for (let i8 = 0, len = val.length;i8 < len; ++i8) {
@@ -241057,7 +241057,7 @@ var require_applyReviver = __commonJS((exports) => {
241057
241057
  }
241058
241058
  }
241059
241059
  }
241060
- return reviver.call(obj, key3, val);
241060
+ return reviver.call(obj, key4, val);
241061
241061
  }
241062
241062
  exports.applyReviver = applyReviver;
241063
241063
  });
@@ -241386,29 +241386,29 @@ var require_Collection = __commonJS((exports) => {
241386
241386
  if (isEmptyPath(path5))
241387
241387
  this.add(value5);
241388
241388
  else {
241389
- const [key3, ...rest] = path5;
241390
- const node = this.get(key3, true);
241389
+ const [key4, ...rest] = path5;
241390
+ const node = this.get(key4, true);
241391
241391
  if (identity2.isCollection(node))
241392
241392
  node.addIn(rest, value5);
241393
241393
  else if (node === undefined && this.schema)
241394
- this.set(key3, collectionFromPath(this.schema, rest, value5));
241394
+ this.set(key4, collectionFromPath(this.schema, rest, value5));
241395
241395
  else
241396
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
241396
+ throw new Error(`Expected YAML collection at ${key4}. Remaining path: ${rest}`);
241397
241397
  }
241398
241398
  }
241399
241399
  deleteIn(path5) {
241400
- const [key3, ...rest] = path5;
241400
+ const [key4, ...rest] = path5;
241401
241401
  if (rest.length === 0)
241402
- return this.delete(key3);
241403
- const node = this.get(key3, true);
241402
+ return this.delete(key4);
241403
+ const node = this.get(key4, true);
241404
241404
  if (identity2.isCollection(node))
241405
241405
  return node.deleteIn(rest);
241406
241406
  else
241407
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
241407
+ throw new Error(`Expected YAML collection at ${key4}. Remaining path: ${rest}`);
241408
241408
  }
241409
241409
  getIn(path5, keepScalar) {
241410
- const [key3, ...rest] = path5;
241411
- const node = this.get(key3, true);
241410
+ const [key4, ...rest] = path5;
241411
+ const node = this.get(key4, true);
241412
241412
  if (rest.length === 0)
241413
241413
  return !keepScalar && identity2.isScalar(node) ? node.value : node;
241414
241414
  else
@@ -241423,24 +241423,24 @@ var require_Collection = __commonJS((exports) => {
241423
241423
  });
241424
241424
  }
241425
241425
  hasIn(path5) {
241426
- const [key3, ...rest] = path5;
241426
+ const [key4, ...rest] = path5;
241427
241427
  if (rest.length === 0)
241428
- return this.has(key3);
241429
- const node = this.get(key3, true);
241428
+ return this.has(key4);
241429
+ const node = this.get(key4, true);
241430
241430
  return identity2.isCollection(node) ? node.hasIn(rest) : false;
241431
241431
  }
241432
241432
  setIn(path5, value5) {
241433
- const [key3, ...rest] = path5;
241433
+ const [key4, ...rest] = path5;
241434
241434
  if (rest.length === 0) {
241435
- this.set(key3, value5);
241435
+ this.set(key4, value5);
241436
241436
  } else {
241437
- const node = this.get(key3, true);
241437
+ const node = this.get(key4, true);
241438
241438
  if (identity2.isCollection(node))
241439
241439
  node.setIn(rest, value5);
241440
241440
  else if (node === undefined && this.schema)
241441
- this.set(key3, collectionFromPath(this.schema, rest, value5));
241441
+ this.set(key4, collectionFromPath(this.schema, rest, value5));
241442
241442
  else
241443
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
241443
+ throw new Error(`Expected YAML collection at ${key4}. Remaining path: ${rest}`);
241444
241444
  }
241445
241445
  }
241446
241446
  }
@@ -242027,19 +242027,19 @@ var require_stringifyPair = __commonJS((exports) => {
242027
242027
  var Scalar = require_Scalar();
242028
242028
  var stringify5 = require_stringify();
242029
242029
  var stringifyComment = require_stringifyComment();
242030
- function stringifyPair2({ key: key3, value: value5 }, ctx, onComment, onChompKeep) {
242030
+ function stringifyPair2({ key: key4, value: value5 }, ctx, onComment, onChompKeep) {
242031
242031
  const { allNullValues, doc: doc2, indent: indent2, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
242032
- let keyComment = identity2.isNode(key3) && key3.comment || null;
242032
+ let keyComment = identity2.isNode(key4) && key4.comment || null;
242033
242033
  if (simpleKeys) {
242034
242034
  if (keyComment) {
242035
242035
  throw new Error("With simple keys, key nodes cannot have comments");
242036
242036
  }
242037
- if (identity2.isCollection(key3) || !identity2.isNode(key3) && typeof key3 === "object") {
242037
+ if (identity2.isCollection(key4) || !identity2.isNode(key4) && typeof key4 === "object") {
242038
242038
  const msg = "With simple keys, collection cannot be used as a key value";
242039
242039
  throw new Error(msg);
242040
242040
  }
242041
242041
  }
242042
- let explicitKey = !simpleKeys && (!key3 || keyComment && value5 == null && !ctx.inFlow || identity2.isCollection(key3) || (identity2.isScalar(key3) ? key3.type === Scalar.Scalar.BLOCK_FOLDED || key3.type === Scalar.Scalar.BLOCK_LITERAL : typeof key3 === "object"));
242042
+ let explicitKey = !simpleKeys && (!key4 || keyComment && value5 == null && !ctx.inFlow || identity2.isCollection(key4) || (identity2.isScalar(key4) ? key4.type === Scalar.Scalar.BLOCK_FOLDED || key4.type === Scalar.Scalar.BLOCK_LITERAL : typeof key4 === "object"));
242043
242043
  ctx = Object.assign({}, ctx, {
242044
242044
  allNullValues: false,
242045
242045
  implicitKey: !explicitKey && (simpleKeys || !allNullValues),
@@ -242047,7 +242047,7 @@ var require_stringifyPair = __commonJS((exports) => {
242047
242047
  });
242048
242048
  let keyCommentDone = false;
242049
242049
  let chompKeep = false;
242050
- let str = stringify5.stringify(key3, ctx, () => keyCommentDone = true, () => chompKeep = true);
242050
+ let str = stringify5.stringify(key4, ctx, () => keyCommentDone = true, () => chompKeep = true);
242051
242051
  if (!explicitKey && !ctx.inFlow && str.length > 1024) {
242052
242052
  if (simpleKeys)
242053
242053
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
@@ -242191,7 +242191,7 @@ var require_merge = __commonJS((exports) => {
242191
242191
  }),
242192
242192
  stringify: () => MERGE_KEY
242193
242193
  };
242194
- var isMergeKey = (ctx, key3) => (merge4.identify(key3) || identity2.isScalar(key3) && (!key3.type || key3.type === Scalar.Scalar.PLAIN) && merge4.identify(key3.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge4.tag && tag.default);
242194
+ var isMergeKey = (ctx, key4) => (merge4.identify(key4) || identity2.isScalar(key4) && (!key4.type || key4.type === Scalar.Scalar.PLAIN) && merge4.identify(key4.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge4.tag && tag.default);
242195
242195
  function addMergeToJSMap(ctx, map4, value5) {
242196
242196
  value5 = ctx && identity2.isAlias(value5) ? value5.resolve(ctx.doc) : value5;
242197
242197
  if (identity2.isSeq(value5))
@@ -242208,14 +242208,14 @@ var require_merge = __commonJS((exports) => {
242208
242208
  if (!identity2.isMap(source))
242209
242209
  throw new Error("Merge sources must be maps or map aliases");
242210
242210
  const srcMap = source.toJSON(null, ctx, Map);
242211
- for (const [key3, value6] of srcMap) {
242211
+ for (const [key4, value6] of srcMap) {
242212
242212
  if (map4 instanceof Map) {
242213
- if (!map4.has(key3))
242214
- map4.set(key3, value6);
242213
+ if (!map4.has(key4))
242214
+ map4.set(key4, value6);
242215
242215
  } else if (map4 instanceof Set) {
242216
- map4.add(key3);
242217
- } else if (!Object.prototype.hasOwnProperty.call(map4, key3)) {
242218
- Object.defineProperty(map4, key3, {
242216
+ map4.add(key4);
242217
+ } else if (!Object.prototype.hasOwnProperty.call(map4, key4)) {
242218
+ Object.defineProperty(map4, key4, {
242219
242219
  value: value6,
242220
242220
  writable: true,
242221
242221
  enumerable: true,
@@ -242237,19 +242237,19 @@ var require_addPairToJSMap = __commonJS((exports) => {
242237
242237
  var stringify5 = require_stringify();
242238
242238
  var identity2 = require_identity();
242239
242239
  var toJS = require_toJS();
242240
- function addPairToJSMap(ctx, map4, { key: key3, value: value5 }) {
242241
- if (identity2.isNode(key3) && key3.addToJSMap)
242242
- key3.addToJSMap(ctx, map4, value5);
242243
- else if (merge4.isMergeKey(ctx, key3))
242240
+ function addPairToJSMap(ctx, map4, { key: key4, value: value5 }) {
242241
+ if (identity2.isNode(key4) && key4.addToJSMap)
242242
+ key4.addToJSMap(ctx, map4, value5);
242243
+ else if (merge4.isMergeKey(ctx, key4))
242244
242244
  merge4.addMergeToJSMap(ctx, map4, value5);
242245
242245
  else {
242246
- const jsKey = toJS.toJS(key3, "", ctx);
242246
+ const jsKey = toJS.toJS(key4, "", ctx);
242247
242247
  if (map4 instanceof Map) {
242248
242248
  map4.set(jsKey, toJS.toJS(value5, jsKey, ctx));
242249
242249
  } else if (map4 instanceof Set) {
242250
242250
  map4.add(jsKey);
242251
242251
  } else {
242252
- const stringKey = stringifyKey(key3, jsKey, ctx);
242252
+ const stringKey = stringifyKey(key4, jsKey, ctx);
242253
242253
  const jsValue = toJS.toJS(value5, stringKey, ctx);
242254
242254
  if (stringKey in map4)
242255
242255
  Object.defineProperty(map4, stringKey, {
@@ -242264,19 +242264,19 @@ var require_addPairToJSMap = __commonJS((exports) => {
242264
242264
  }
242265
242265
  return map4;
242266
242266
  }
242267
- function stringifyKey(key3, jsKey, ctx) {
242267
+ function stringifyKey(key4, jsKey, ctx) {
242268
242268
  if (jsKey === null)
242269
242269
  return "";
242270
242270
  if (typeof jsKey !== "object")
242271
242271
  return String(jsKey);
242272
- if (identity2.isNode(key3) && ctx?.doc) {
242272
+ if (identity2.isNode(key4) && ctx?.doc) {
242273
242273
  const strCtx = stringify5.createStringifyContext(ctx.doc, {});
242274
242274
  strCtx.anchors = new Set;
242275
242275
  for (const node of ctx.anchors.keys())
242276
242276
  strCtx.anchors.add(node.anchor);
242277
242277
  strCtx.inFlow = true;
242278
242278
  strCtx.inStringifyKey = true;
242279
- const strKey = key3.toString(strCtx);
242279
+ const strKey = key4.toString(strCtx);
242280
242280
  if (!ctx.mapKeyWarned) {
242281
242281
  let jsonStr = JSON.stringify(strKey);
242282
242282
  if (jsonStr.length > 40)
@@ -242297,25 +242297,25 @@ var require_Pair = __commonJS((exports) => {
242297
242297
  var stringifyPair2 = require_stringifyPair();
242298
242298
  var addPairToJSMap = require_addPairToJSMap();
242299
242299
  var identity2 = require_identity();
242300
- function createPair(key3, value5, ctx) {
242301
- const k6 = createNode.createNode(key3, undefined, ctx);
242300
+ function createPair(key4, value5, ctx) {
242301
+ const k6 = createNode.createNode(key4, undefined, ctx);
242302
242302
  const v7 = createNode.createNode(value5, undefined, ctx);
242303
242303
  return new Pair(k6, v7);
242304
242304
  }
242305
242305
 
242306
242306
  class Pair {
242307
- constructor(key3, value5 = null) {
242307
+ constructor(key4, value5 = null) {
242308
242308
  Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.PAIR });
242309
- this.key = key3;
242309
+ this.key = key4;
242310
242310
  this.value = value5;
242311
242311
  }
242312
242312
  clone(schema) {
242313
- let { key: key3, value: value5 } = this;
242314
- if (identity2.isNode(key3))
242315
- key3 = key3.clone(schema);
242313
+ let { key: key4, value: value5 } = this;
242314
+ if (identity2.isNode(key4))
242315
+ key4 = key4.clone(schema);
242316
242316
  if (identity2.isNode(value5))
242317
242317
  value5 = value5.clone(schema);
242318
- return new Pair(key3, value5);
242318
+ return new Pair(key4, value5);
242319
242319
  }
242320
242320
  toJSON(_6, ctx) {
242321
242321
  const pair = ctx?.mapAsMap ? new Map : {};
@@ -242482,11 +242482,11 @@ var require_YAMLMap = __commonJS((exports) => {
242482
242482
  var identity2 = require_identity();
242483
242483
  var Pair = require_Pair();
242484
242484
  var Scalar = require_Scalar();
242485
- function findPair(items, key3) {
242486
- const k6 = identity2.isScalar(key3) ? key3.value : key3;
242485
+ function findPair(items, key4) {
242486
+ const k6 = identity2.isScalar(key4) ? key4.value : key4;
242487
242487
  for (const it2 of items) {
242488
242488
  if (identity2.isPair(it2)) {
242489
- if (it2.key === key3 || it2.key === k6)
242489
+ if (it2.key === key4 || it2.key === k6)
242490
242490
  return it2;
242491
242491
  if (identity2.isScalar(it2.key) && it2.key.value === k6)
242492
242492
  return it2;
@@ -242506,20 +242506,20 @@ var require_YAMLMap = __commonJS((exports) => {
242506
242506
  static from(schema, obj, ctx) {
242507
242507
  const { keepUndefined, replacer } = ctx;
242508
242508
  const map4 = new this(schema);
242509
- const add = (key3, value5) => {
242509
+ const add = (key4, value5) => {
242510
242510
  if (typeof replacer === "function")
242511
- value5 = replacer.call(obj, key3, value5);
242512
- else if (Array.isArray(replacer) && !replacer.includes(key3))
242511
+ value5 = replacer.call(obj, key4, value5);
242512
+ else if (Array.isArray(replacer) && !replacer.includes(key4))
242513
242513
  return;
242514
242514
  if (value5 !== undefined || keepUndefined)
242515
- map4.items.push(Pair.createPair(key3, value5, ctx));
242515
+ map4.items.push(Pair.createPair(key4, value5, ctx));
242516
242516
  };
242517
242517
  if (obj instanceof Map) {
242518
- for (const [key3, value5] of obj)
242519
- add(key3, value5);
242518
+ for (const [key4, value5] of obj)
242519
+ add(key4, value5);
242520
242520
  } else if (obj && typeof obj === "object") {
242521
- for (const key3 of Object.keys(obj))
242522
- add(key3, obj[key3]);
242521
+ for (const key4 of Object.keys(obj))
242522
+ add(key4, obj[key4]);
242523
242523
  }
242524
242524
  if (typeof schema.sortMapEntries === "function") {
242525
242525
  map4.items.sort(schema.sortMapEntries);
@@ -242553,23 +242553,23 @@ var require_YAMLMap = __commonJS((exports) => {
242553
242553
  this.items.push(_pair);
242554
242554
  }
242555
242555
  }
242556
- delete(key3) {
242557
- const it2 = findPair(this.items, key3);
242556
+ delete(key4) {
242557
+ const it2 = findPair(this.items, key4);
242558
242558
  if (!it2)
242559
242559
  return false;
242560
242560
  const del = this.items.splice(this.items.indexOf(it2), 1);
242561
242561
  return del.length > 0;
242562
242562
  }
242563
- get(key3, keepScalar) {
242564
- const it2 = findPair(this.items, key3);
242563
+ get(key4, keepScalar) {
242564
+ const it2 = findPair(this.items, key4);
242565
242565
  const node = it2?.value;
242566
242566
  return (!keepScalar && identity2.isScalar(node) ? node.value : node) ?? undefined;
242567
242567
  }
242568
- has(key3) {
242569
- return !!findPair(this.items, key3);
242568
+ has(key4) {
242569
+ return !!findPair(this.items, key4);
242570
242570
  }
242571
- set(key3, value5) {
242572
- this.add(new Pair.Pair(key3, value5), true);
242571
+ set(key4, value5) {
242572
+ this.add(new Pair.Pair(key4, value5), true);
242573
242573
  }
242574
242574
  toJSON(_6, ctx, Type) {
242575
242575
  const map4 = Type ? new Type : ctx?.mapAsMap ? new Map : {};
@@ -242640,28 +242640,28 @@ var require_YAMLSeq = __commonJS((exports) => {
242640
242640
  add(value5) {
242641
242641
  this.items.push(value5);
242642
242642
  }
242643
- delete(key3) {
242644
- const idx = asItemIndex(key3);
242643
+ delete(key4) {
242644
+ const idx = asItemIndex(key4);
242645
242645
  if (typeof idx !== "number")
242646
242646
  return false;
242647
242647
  const del = this.items.splice(idx, 1);
242648
242648
  return del.length > 0;
242649
242649
  }
242650
- get(key3, keepScalar) {
242651
- const idx = asItemIndex(key3);
242650
+ get(key4, keepScalar) {
242651
+ const idx = asItemIndex(key4);
242652
242652
  if (typeof idx !== "number")
242653
242653
  return;
242654
242654
  const it2 = this.items[idx];
242655
242655
  return !keepScalar && identity2.isScalar(it2) ? it2.value : it2;
242656
242656
  }
242657
- has(key3) {
242658
- const idx = asItemIndex(key3);
242657
+ has(key4) {
242658
+ const idx = asItemIndex(key4);
242659
242659
  return typeof idx === "number" && idx < this.items.length;
242660
242660
  }
242661
- set(key3, value5) {
242662
- const idx = asItemIndex(key3);
242661
+ set(key4, value5) {
242662
+ const idx = asItemIndex(key4);
242663
242663
  if (typeof idx !== "number")
242664
- throw new Error(`Expected a valid index, not ${key3}.`);
242664
+ throw new Error(`Expected a valid index, not ${key4}.`);
242665
242665
  const prev = this.items[idx];
242666
242666
  if (identity2.isScalar(prev) && Scalar.isScalarValue(value5))
242667
242667
  prev.value = value5;
@@ -242695,8 +242695,8 @@ var require_YAMLSeq = __commonJS((exports) => {
242695
242695
  let i8 = 0;
242696
242696
  for (let it2 of obj) {
242697
242697
  if (typeof replacer === "function") {
242698
- const key3 = obj instanceof Set ? it2 : String(i8++);
242699
- it2 = replacer.call(obj, key3, it2);
242698
+ const key4 = obj instanceof Set ? it2 : String(i8++);
242699
+ it2 = replacer.call(obj, key4, it2);
242700
242700
  }
242701
242701
  seq.items.push(createNode.createNode(it2, undefined, ctx));
242702
242702
  }
@@ -242704,8 +242704,8 @@ var require_YAMLSeq = __commonJS((exports) => {
242704
242704
  return seq;
242705
242705
  }
242706
242706
  }
242707
- function asItemIndex(key3) {
242708
- let idx = identity2.isScalar(key3) ? key3.value : key3;
242707
+ function asItemIndex(key4) {
242708
+ let idx = identity2.isScalar(key4) ? key4.value : key4;
242709
242709
  if (idx && typeof idx === "string")
242710
242710
  idx = Number(idx);
242711
242711
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
@@ -243078,25 +243078,25 @@ ${cn.comment}` : item.comment;
243078
243078
  for (let it2 of iterable) {
243079
243079
  if (typeof replacer === "function")
243080
243080
  it2 = replacer.call(iterable, String(i8++), it2);
243081
- let key3, value5;
243081
+ let key4, value5;
243082
243082
  if (Array.isArray(it2)) {
243083
243083
  if (it2.length === 2) {
243084
- key3 = it2[0];
243084
+ key4 = it2[0];
243085
243085
  value5 = it2[1];
243086
243086
  } else
243087
243087
  throw new TypeError(`Expected [key, value] tuple: ${it2}`);
243088
243088
  } else if (it2 && it2 instanceof Object) {
243089
243089
  const keys = Object.keys(it2);
243090
243090
  if (keys.length === 1) {
243091
- key3 = keys[0];
243092
- value5 = it2[key3];
243091
+ key4 = keys[0];
243092
+ value5 = it2[key4];
243093
243093
  } else {
243094
243094
  throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
243095
243095
  }
243096
243096
  } else {
243097
- key3 = it2;
243097
+ key4 = it2;
243098
243098
  }
243099
- pairs2.items.push(Pair.createPair(key3, value5, ctx));
243099
+ pairs2.items.push(Pair.createPair(key4, value5, ctx));
243100
243100
  }
243101
243101
  return pairs2;
243102
243102
  }
@@ -243137,16 +243137,16 @@ var require_omap = __commonJS((exports) => {
243137
243137
  if (ctx?.onCreate)
243138
243138
  ctx.onCreate(map4);
243139
243139
  for (const pair of this.items) {
243140
- let key3, value5;
243140
+ let key4, value5;
243141
243141
  if (identity2.isPair(pair)) {
243142
- key3 = toJS.toJS(pair.key, "", ctx);
243143
- value5 = toJS.toJS(pair.value, key3, ctx);
243142
+ key4 = toJS.toJS(pair.key, "", ctx);
243143
+ value5 = toJS.toJS(pair.value, key4, ctx);
243144
243144
  } else {
243145
- key3 = toJS.toJS(pair, "", ctx);
243145
+ key4 = toJS.toJS(pair, "", ctx);
243146
243146
  }
243147
- if (map4.has(key3))
243147
+ if (map4.has(key4))
243148
243148
  throw new Error("Ordered maps must not include duplicate keys");
243149
- map4.set(key3, value5);
243149
+ map4.set(key4, value5);
243150
243150
  }
243151
243151
  return map4;
243152
243152
  }
@@ -243167,12 +243167,12 @@ var require_omap = __commonJS((exports) => {
243167
243167
  resolve(seq, onError) {
243168
243168
  const pairs$1 = pairs.resolvePairs(seq, onError);
243169
243169
  const seenKeys = [];
243170
- for (const { key: key3 } of pairs$1.items) {
243171
- if (identity2.isScalar(key3)) {
243172
- if (seenKeys.includes(key3.value)) {
243173
- onError(`Ordered maps must not include duplicate keys: ${key3.value}`);
243170
+ for (const { key: key4 } of pairs$1.items) {
243171
+ if (identity2.isScalar(key4)) {
243172
+ if (seenKeys.includes(key4.value)) {
243173
+ onError(`Ordered maps must not include duplicate keys: ${key4.value}`);
243174
243174
  } else {
243175
- seenKeys.push(key3.value);
243175
+ seenKeys.push(key4.value);
243176
243176
  }
243177
243177
  }
243178
243178
  }
@@ -243346,30 +243346,30 @@ var require_set = __commonJS((exports) => {
243346
243346
  super(schema);
243347
243347
  this.tag = YAMLSet.tag;
243348
243348
  }
243349
- add(key3) {
243349
+ add(key4) {
243350
243350
  let pair;
243351
- if (identity2.isPair(key3))
243352
- pair = key3;
243353
- else if (key3 && typeof key3 === "object" && "key" in key3 && "value" in key3 && key3.value === null)
243354
- pair = new Pair.Pair(key3.key, null);
243351
+ if (identity2.isPair(key4))
243352
+ pair = key4;
243353
+ else if (key4 && typeof key4 === "object" && "key" in key4 && "value" in key4 && key4.value === null)
243354
+ pair = new Pair.Pair(key4.key, null);
243355
243355
  else
243356
- pair = new Pair.Pair(key3, null);
243356
+ pair = new Pair.Pair(key4, null);
243357
243357
  const prev = YAMLMap.findPair(this.items, pair.key);
243358
243358
  if (!prev)
243359
243359
  this.items.push(pair);
243360
243360
  }
243361
- get(key3, keepPair) {
243362
- const pair = YAMLMap.findPair(this.items, key3);
243361
+ get(key4, keepPair) {
243362
+ const pair = YAMLMap.findPair(this.items, key4);
243363
243363
  return !keepPair && identity2.isPair(pair) ? identity2.isScalar(pair.key) ? pair.key.value : pair.key : pair;
243364
243364
  }
243365
- set(key3, value5) {
243365
+ set(key4, value5) {
243366
243366
  if (typeof value5 !== "boolean")
243367
243367
  throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value5}`);
243368
- const prev = YAMLMap.findPair(this.items, key3);
243368
+ const prev = YAMLMap.findPair(this.items, key4);
243369
243369
  if (prev && !value5) {
243370
243370
  this.items.splice(this.items.indexOf(prev), 1);
243371
243371
  } else if (!prev && value5) {
243372
- this.items.push(new Pair.Pair(key3));
243372
+ this.items.push(new Pair.Pair(key4));
243373
243373
  }
243374
243374
  }
243375
243375
  toJSON(_6, ctx) {
@@ -243604,7 +243604,7 @@ var require_tags = __commonJS((exports) => {
243604
243604
  if (Array.isArray(customTags))
243605
243605
  tags = [];
243606
243606
  else {
243607
- const keys = Array.from(schemas3.keys()).filter((key3) => key3 !== "yaml11").map((key3) => JSON.stringify(key3)).join(", ");
243607
+ const keys = Array.from(schemas3.keys()).filter((key4) => key4 !== "yaml11").map((key4) => JSON.stringify(key4)).join(", ");
243608
243608
  throw new Error(`Unknown schema "${schemaName}"; use one of ${keys} or define customTags array`);
243609
243609
  }
243610
243610
  }
@@ -243620,7 +243620,7 @@ var require_tags = __commonJS((exports) => {
243620
243620
  const tagObj = typeof tag === "string" ? tagsByName[tag] : tag;
243621
243621
  if (!tagObj) {
243622
243622
  const tagName = JSON.stringify(tag);
243623
- const keys = Object.keys(tagsByName).map((key3) => JSON.stringify(key3)).join(", ");
243623
+ const keys = Object.keys(tagsByName).map((key4) => JSON.stringify(key4)).join(", ");
243624
243624
  throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
243625
243625
  }
243626
243626
  if (!tags2.includes(tagObj))
@@ -243855,13 +243855,13 @@ var require_Document = __commonJS((exports) => {
243855
243855
  setAnchors();
243856
243856
  return node;
243857
243857
  }
243858
- createPair(key3, value5, options = {}) {
243859
- const k6 = this.createNode(key3, null, options);
243858
+ createPair(key4, value5, options = {}) {
243859
+ const k6 = this.createNode(key4, null, options);
243860
243860
  const v7 = this.createNode(value5, null, options);
243861
243861
  return new Pair.Pair(k6, v7);
243862
243862
  }
243863
- delete(key3) {
243864
- return assertCollection(this.contents) ? this.contents.delete(key3) : false;
243863
+ delete(key4) {
243864
+ return assertCollection(this.contents) ? this.contents.delete(key4) : false;
243865
243865
  }
243866
243866
  deleteIn(path5) {
243867
243867
  if (Collection.isEmptyPath(path5)) {
@@ -243872,27 +243872,27 @@ var require_Document = __commonJS((exports) => {
243872
243872
  }
243873
243873
  return assertCollection(this.contents) ? this.contents.deleteIn(path5) : false;
243874
243874
  }
243875
- get(key3, keepScalar) {
243876
- return identity2.isCollection(this.contents) ? this.contents.get(key3, keepScalar) : undefined;
243875
+ get(key4, keepScalar) {
243876
+ return identity2.isCollection(this.contents) ? this.contents.get(key4, keepScalar) : undefined;
243877
243877
  }
243878
243878
  getIn(path5, keepScalar) {
243879
243879
  if (Collection.isEmptyPath(path5))
243880
243880
  return !keepScalar && identity2.isScalar(this.contents) ? this.contents.value : this.contents;
243881
243881
  return identity2.isCollection(this.contents) ? this.contents.getIn(path5, keepScalar) : undefined;
243882
243882
  }
243883
- has(key3) {
243884
- return identity2.isCollection(this.contents) ? this.contents.has(key3) : false;
243883
+ has(key4) {
243884
+ return identity2.isCollection(this.contents) ? this.contents.has(key4) : false;
243885
243885
  }
243886
243886
  hasIn(path5) {
243887
243887
  if (Collection.isEmptyPath(path5))
243888
243888
  return this.contents !== undefined;
243889
243889
  return identity2.isCollection(this.contents) ? this.contents.hasIn(path5) : false;
243890
243890
  }
243891
- set(key3, value5) {
243891
+ set(key4, value5) {
243892
243892
  if (this.contents == null) {
243893
- this.contents = Collection.collectionFromPath(this.schema, [key3], value5);
243893
+ this.contents = Collection.collectionFromPath(this.schema, [key4], value5);
243894
243894
  } else if (assertCollection(this.contents)) {
243895
- this.contents.set(key3, value5);
243895
+ this.contents.set(key4, value5);
243896
243896
  }
243897
243897
  }
243898
243898
  setIn(path5, value5) {
@@ -244174,25 +244174,25 @@ var require_resolve_props = __commonJS((exports) => {
244174
244174
 
244175
244175
  // ../../node_modules/.bun/yaml@2.8.1/node_modules/yaml/dist/compose/util-contains-newline.js
244176
244176
  var require_util_contains_newline = __commonJS((exports) => {
244177
- function containsNewline(key3) {
244178
- if (!key3)
244177
+ function containsNewline(key4) {
244178
+ if (!key4)
244179
244179
  return null;
244180
- switch (key3.type) {
244180
+ switch (key4.type) {
244181
244181
  case "alias":
244182
244182
  case "scalar":
244183
244183
  case "double-quoted-scalar":
244184
244184
  case "single-quoted-scalar":
244185
- if (key3.source.includes(`
244185
+ if (key4.source.includes(`
244186
244186
  `))
244187
244187
  return true;
244188
- if (key3.end) {
244189
- for (const st2 of key3.end)
244188
+ if (key4.end) {
244189
+ for (const st2 of key4.end)
244190
244190
  if (st2.type === "newline")
244191
244191
  return true;
244192
244192
  }
244193
244193
  return false;
244194
244194
  case "flow-collection":
244195
- for (const it2 of key3.items) {
244195
+ for (const it2 of key4.items) {
244196
244196
  for (const st2 of it2.start)
244197
244197
  if (st2.type === "newline")
244198
244198
  return true;
@@ -244257,10 +244257,10 @@ var require_resolve_block_map = __commonJS((exports) => {
244257
244257
  let offset = bm.offset;
244258
244258
  let commentEnd = null;
244259
244259
  for (const collItem of bm.items) {
244260
- const { start: start3, key: key3, sep: sep4, value: value5 } = collItem;
244260
+ const { start: start3, key: key4, sep: sep4, value: value5 } = collItem;
244261
244261
  const keyProps = resolveProps.resolveProps(start3, {
244262
244262
  indicator: "explicit-key-ind",
244263
- next: key3 ?? sep4?.[0],
244263
+ next: key4 ?? sep4?.[0],
244264
244264
  offset,
244265
244265
  onError,
244266
244266
  parentIndent: bm.indent,
@@ -244268,10 +244268,10 @@ var require_resolve_block_map = __commonJS((exports) => {
244268
244268
  });
244269
244269
  const implicitKey = !keyProps.found;
244270
244270
  if (implicitKey) {
244271
- if (key3) {
244272
- if (key3.type === "block-seq")
244271
+ if (key4) {
244272
+ if (key4.type === "block-seq")
244273
244273
  onError(offset, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key");
244274
- else if ("indent" in key3 && key3.indent !== bm.indent)
244274
+ else if ("indent" in key4 && key4.indent !== bm.indent)
244275
244275
  onError(offset, "BAD_INDENT", startColMsg);
244276
244276
  }
244277
244277
  if (!keyProps.anchor && !keyProps.tag && !sep4) {
@@ -244285,17 +244285,17 @@ var require_resolve_block_map = __commonJS((exports) => {
244285
244285
  }
244286
244286
  continue;
244287
244287
  }
244288
- if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key3)) {
244289
- onError(key3 ?? start3[start3.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
244288
+ if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key4)) {
244289
+ onError(key4 ?? start3[start3.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
244290
244290
  }
244291
244291
  } else if (keyProps.found?.indent !== bm.indent) {
244292
244292
  onError(offset, "BAD_INDENT", startColMsg);
244293
244293
  }
244294
244294
  ctx.atKey = true;
244295
244295
  const keyStart = keyProps.end;
244296
- const keyNode = key3 ? composeNode(ctx, key3, keyProps, onError) : composeEmptyNode(ctx, keyStart, start3, null, keyProps, onError);
244296
+ const keyNode = key4 ? composeNode(ctx, key4, keyProps, onError) : composeEmptyNode(ctx, keyStart, start3, null, keyProps, onError);
244297
244297
  if (ctx.schema.compat)
244298
- utilFlowIndentCheck.flowIndentCheck(bm.indent, key3, onError);
244298
+ utilFlowIndentCheck.flowIndentCheck(bm.indent, key4, onError);
244299
244299
  ctx.atKey = false;
244300
244300
  if (utilMapIncludes.mapIncludes(ctx, map4.items, keyNode))
244301
244301
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
@@ -244305,7 +244305,7 @@ var require_resolve_block_map = __commonJS((exports) => {
244305
244305
  offset: keyNode.range[2],
244306
244306
  onError,
244307
244307
  parentIndent: bm.indent,
244308
- startOnNewline: !key3 || key3.type === "block-scalar"
244308
+ startOnNewline: !key4 || key4.type === "block-scalar"
244309
244309
  });
244310
244310
  offset = valueProps.end;
244311
244311
  if (valueProps.found) {
@@ -244461,11 +244461,11 @@ var require_resolve_flow_collection = __commonJS((exports) => {
244461
244461
  let offset = fc.offset + fc.start.source.length;
244462
244462
  for (let i8 = 0;i8 < fc.items.length; ++i8) {
244463
244463
  const collItem = fc.items[i8];
244464
- const { start: start3, key: key3, sep: sep4, value: value5 } = collItem;
244464
+ const { start: start3, key: key4, sep: sep4, value: value5 } = collItem;
244465
244465
  const props = resolveProps.resolveProps(start3, {
244466
244466
  flow: fcName,
244467
244467
  indicator: "explicit-key-ind",
244468
- next: key3 ?? sep4?.[0],
244468
+ next: key4 ?? sep4?.[0],
244469
244469
  offset,
244470
244470
  onError,
244471
244471
  parentIndent: fc.indent,
@@ -244487,8 +244487,8 @@ var require_resolve_flow_collection = __commonJS((exports) => {
244487
244487
  offset = props.end;
244488
244488
  continue;
244489
244489
  }
244490
- if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key3))
244491
- onError(key3, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
244490
+ if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key4))
244491
+ onError(key4, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
244492
244492
  }
244493
244493
  if (i8 === 0) {
244494
244494
  if (props.comma)
@@ -244533,8 +244533,8 @@ var require_resolve_flow_collection = __commonJS((exports) => {
244533
244533
  } else {
244534
244534
  ctx.atKey = true;
244535
244535
  const keyStart = props.end;
244536
- const keyNode = key3 ? composeNode(ctx, key3, props, onError) : composeEmptyNode(ctx, keyStart, start3, null, props, onError);
244537
- if (isBlock(key3))
244536
+ const keyNode = key4 ? composeNode(ctx, key4, props, onError) : composeEmptyNode(ctx, keyStart, start3, null, props, onError);
244537
+ if (isBlock(key4))
244538
244538
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
244539
244539
  ctx.atKey = false;
244540
244540
  const valueProps = resolveProps.resolveProps(sep4 ?? [], {
@@ -245345,7 +245345,7 @@ var require_composer = __commonJS((exports) => {
245345
245345
  var node_process = __require("process");
245346
245346
  var directives5 = require_directives2();
245347
245347
  var Document = require_Document();
245348
- var errors5 = require_errors3();
245348
+ var errors6 = require_errors3();
245349
245349
  var identity2 = require_identity();
245350
245350
  var composeDoc = require_compose_doc();
245351
245351
  var resolveEnd = require_resolve_end();
@@ -245396,9 +245396,9 @@ var require_composer = __commonJS((exports) => {
245396
245396
  this.onError = (source, code2, message, warning) => {
245397
245397
  const pos = getErrorPos(source);
245398
245398
  if (warning)
245399
- this.warnings.push(new errors5.YAMLWarning(pos, code2, message));
245399
+ this.warnings.push(new errors6.YAMLWarning(pos, code2, message));
245400
245400
  else
245401
- this.errors.push(new errors5.YAMLParseError(pos, code2, message));
245401
+ this.errors.push(new errors6.YAMLParseError(pos, code2, message));
245402
245402
  };
245403
245403
  this.directives = new directives5.Directives({ version: options.version || "1.2" });
245404
245404
  this.options = options;
@@ -245482,7 +245482,7 @@ ${cb}` : comment;
245482
245482
  break;
245483
245483
  case "error": {
245484
245484
  const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message;
245485
- const error48 = new errors5.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
245485
+ const error48 = new errors6.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
245486
245486
  if (this.atDirectives || !this.doc)
245487
245487
  this.errors.push(error48);
245488
245488
  else
@@ -245492,7 +245492,7 @@ ${cb}` : comment;
245492
245492
  case "doc-end": {
245493
245493
  if (!this.doc) {
245494
245494
  const msg = "Unexpected doc-end without preceding document";
245495
- this.errors.push(new errors5.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
245495
+ this.errors.push(new errors6.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
245496
245496
  break;
245497
245497
  }
245498
245498
  this.doc.directives.docEnd = true;
@@ -245507,7 +245507,7 @@ ${end.comment}` : end.comment;
245507
245507
  break;
245508
245508
  }
245509
245509
  default:
245510
- this.errors.push(new errors5.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
245510
+ this.errors.push(new errors6.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
245511
245511
  }
245512
245512
  }
245513
245513
  *end(forceDoc = false, endOffset = -1) {
@@ -245533,7 +245533,7 @@ ${end.comment}` : end.comment;
245533
245533
  var require_cst_scalar = __commonJS((exports) => {
245534
245534
  var resolveBlockScalar = require_resolve_block_scalar();
245535
245535
  var resolveFlowScalar = require_resolve_flow_scalar();
245536
- var errors5 = require_errors3();
245536
+ var errors6 = require_errors3();
245537
245537
  var stringifyString = require_stringifyString();
245538
245538
  function resolveAsScalar(token, strict = true, onError) {
245539
245539
  if (token) {
@@ -245542,7 +245542,7 @@ var require_cst_scalar = __commonJS((exports) => {
245542
245542
  if (onError)
245543
245543
  onError(offset, code2, message);
245544
245544
  else
245545
- throw new errors5.YAMLParseError([offset, offset + 1], code2, message);
245545
+ throw new errors6.YAMLParseError([offset, offset + 1], code2, message);
245546
245546
  };
245547
245547
  switch (token.type) {
245548
245548
  case "scalar":
@@ -245656,9 +245656,9 @@ var require_cst_scalar = __commonJS((exports) => {
245656
245656
  if (!addEndtoBlockProps(props, "end" in token ? token.end : undefined))
245657
245657
  props.push({ type: "newline", offset: -1, indent: indent2, source: `
245658
245658
  ` });
245659
- for (const key3 of Object.keys(token))
245660
- if (key3 !== "type" && key3 !== "offset")
245661
- delete token[key3];
245659
+ for (const key4 of Object.keys(token))
245660
+ if (key4 !== "type" && key4 !== "offset")
245661
+ delete token[key4];
245662
245662
  Object.assign(token, { type: "block-scalar", indent: indent2, props, source: body });
245663
245663
  }
245664
245664
  }
@@ -245707,9 +245707,9 @@ var require_cst_scalar = __commonJS((exports) => {
245707
245707
  default: {
245708
245708
  const indent2 = "indent" in token ? token.indent : -1;
245709
245709
  const end = "end" in token && Array.isArray(token.end) ? token.end.filter((st2) => st2.type === "space" || st2.type === "comment" || st2.type === "newline") : [];
245710
- for (const key3 of Object.keys(token))
245711
- if (key3 !== "type" && key3 !== "offset")
245712
- delete token[key3];
245710
+ for (const key4 of Object.keys(token))
245711
+ if (key4 !== "type" && key4 !== "offset")
245712
+ delete token[key4];
245713
245713
  Object.assign(token, { type: type5, indent: indent2, source, end });
245714
245714
  }
245715
245715
  }
@@ -245761,12 +245761,12 @@ var require_cst_stringify = __commonJS((exports) => {
245761
245761
  }
245762
245762
  }
245763
245763
  }
245764
- function stringifyItem({ start: start3, key: key3, sep: sep4, value: value5 }) {
245764
+ function stringifyItem({ start: start3, key: key4, sep: sep4, value: value5 }) {
245765
245765
  let res = "";
245766
245766
  for (const st2 of start3)
245767
245767
  res += st2.source;
245768
- if (key3)
245769
- res += stringifyToken(key3);
245768
+ if (key4)
245769
+ res += stringifyToken(key4);
245770
245770
  if (sep4)
245771
245771
  for (const st2 of sep4)
245772
245772
  res += st2.source;
@@ -247062,7 +247062,7 @@ var require_parser2 = __commonJS((exports) => {
247062
247062
  });
247063
247063
  } else if (isFlowToken(it2.key) && !includesToken(it2.sep, "newline")) {
247064
247064
  const start4 = getFirstKeyStartProps(it2.start);
247065
- const key3 = it2.key;
247065
+ const key4 = it2.key;
247066
247066
  const sep4 = it2.sep;
247067
247067
  sep4.push(this.sourceToken);
247068
247068
  delete it2.key;
@@ -247071,7 +247071,7 @@ var require_parser2 = __commonJS((exports) => {
247071
247071
  type: "block-map",
247072
247072
  offset: this.offset,
247073
247073
  indent: this.indent,
247074
- items: [{ start: start4, key: key3, sep: sep4 }]
247074
+ items: [{ start: start4, key: key4, sep: sep4 }]
247075
247075
  });
247076
247076
  } else if (start3.length > 0) {
247077
247077
  it2.sep = it2.sep.concat(start3, this.sourceToken);
@@ -247404,7 +247404,7 @@ var require_parser2 = __commonJS((exports) => {
247404
247404
  var require_public_api = __commonJS((exports) => {
247405
247405
  var composer = require_composer();
247406
247406
  var Document = require_Document();
247407
- var errors5 = require_errors3();
247407
+ var errors6 = require_errors3();
247408
247408
  var log = require_log();
247409
247409
  var identity2 = require_identity();
247410
247410
  var lineCounter = require_line_counter();
@@ -247421,8 +247421,8 @@ var require_public_api = __commonJS((exports) => {
247421
247421
  const docs = Array.from(composer$1.compose(parser$1.parse(source)));
247422
247422
  if (prettyErrors && lineCounter2)
247423
247423
  for (const doc2 of docs) {
247424
- doc2.errors.forEach(errors5.prettifyError(source, lineCounter2));
247425
- doc2.warnings.forEach(errors5.prettifyError(source, lineCounter2));
247424
+ doc2.errors.forEach(errors6.prettifyError(source, lineCounter2));
247425
+ doc2.warnings.forEach(errors6.prettifyError(source, lineCounter2));
247426
247426
  }
247427
247427
  if (docs.length > 0)
247428
247428
  return docs;
@@ -247437,13 +247437,13 @@ var require_public_api = __commonJS((exports) => {
247437
247437
  if (!doc2)
247438
247438
  doc2 = _doc;
247439
247439
  else if (doc2.options.logLevel !== "silent") {
247440
- doc2.errors.push(new errors5.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
247440
+ doc2.errors.push(new errors6.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
247441
247441
  break;
247442
247442
  }
247443
247443
  }
247444
247444
  if (prettyErrors && lineCounter2) {
247445
- doc2.errors.forEach(errors5.prettifyError(source, lineCounter2));
247446
- doc2.warnings.forEach(errors5.prettifyError(source, lineCounter2));
247445
+ doc2.errors.forEach(errors6.prettifyError(source, lineCounter2));
247446
+ doc2.warnings.forEach(errors6.prettifyError(source, lineCounter2));
247447
247447
  }
247448
247448
  return doc2;
247449
247449
  }
@@ -267215,7 +267215,7 @@ function pruneCurrentEnv(currentEnv, env2) {
267215
267215
  var package_default = {
267216
267216
  name: "@settlemint/sdk-cli",
267217
267217
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
267218
- version: "2.6.2-pr2ba16e63",
267218
+ version: "2.6.2-pr2d0438d2",
267219
267219
  type: "module",
267220
267220
  private: false,
267221
267221
  license: "FSL-1.1-MIT",
@@ -267265,14 +267265,14 @@ var package_default = {
267265
267265
  devDependencies: {
267266
267266
  "@commander-js/extra-typings": "14.0.0",
267267
267267
  commander: "14.0.1",
267268
- "@inquirer/confirm": "5.1.18",
267268
+ "@inquirer/confirm": "5.1.17",
267269
267269
  "@inquirer/input": "4.2.2",
267270
- "@inquirer/password": "4.0.18",
267270
+ "@inquirer/password": "4.0.20",
267271
267271
  "@inquirer/select": "4.3.2",
267272
- "@settlemint/sdk-hasura": "2.6.2-pr2ba16e63",
267273
- "@settlemint/sdk-js": "2.6.2-pr2ba16e63",
267274
- "@settlemint/sdk-utils": "2.6.2-pr2ba16e63",
267275
- "@settlemint/sdk-viem": "2.6.2-pr2ba16e63",
267272
+ "@settlemint/sdk-hasura": "2.6.2-pr2d0438d2",
267273
+ "@settlemint/sdk-js": "2.6.2-pr2d0438d2",
267274
+ "@settlemint/sdk-utils": "2.6.2-pr2d0438d2",
267275
+ "@settlemint/sdk-viem": "2.6.2-pr2d0438d2",
267276
267276
  "@types/node": "24.4.0",
267277
267277
  "@types/semver": "7.7.1",
267278
267278
  "@types/which": "3.0.4",
@@ -267289,7 +267289,7 @@ var package_default = {
267289
267289
  },
267290
267290
  peerDependencies: {
267291
267291
  hardhat: "<= 4",
267292
- "@settlemint/sdk-js": "2.6.2-pr2ba16e63"
267292
+ "@settlemint/sdk-js": "2.6.2-pr2d0438d2"
267293
267293
  },
267294
267294
  peerDependenciesMeta: {
267295
267295
  hardhat: {
@@ -298936,10 +298936,10 @@ function extractInfoFromBody(body) {
298936
298936
  }
298937
298937
  }
298938
298938
 
298939
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/key.js
298939
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/key.js
298940
298940
  var isTabKey2 = (key2) => key2.name === "tab";
298941
298941
  var isEnterKey2 = (key2) => key2.name === "enter" || key2.name === "return";
298942
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/errors.js
298942
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/errors.js
298943
298943
  class AbortPromptError2 extends Error {
298944
298944
  name = "AbortPromptError";
298945
298945
  message = "Prompt was aborted";
@@ -298965,10 +298965,10 @@ class HookError2 extends Error {
298965
298965
  class ValidationError2 extends Error {
298966
298966
  name = "ValidationError";
298967
298967
  }
298968
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
298968
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
298969
298969
  import { AsyncResource as AsyncResource5 } from "node:async_hooks";
298970
298970
 
298971
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js
298971
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js
298972
298972
  import { AsyncLocalStorage as AsyncLocalStorage2, AsyncResource as AsyncResource4 } from "node:async_hooks";
298973
298973
  var hookStorage2 = new AsyncLocalStorage2;
298974
298974
  function createStore2(rl) {
@@ -299073,7 +299073,7 @@ var effectScheduler2 = {
299073
299073
  }
299074
299074
  };
299075
299075
 
299076
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
299076
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
299077
299077
  function useState2(defaultValue) {
299078
299078
  return withPointer2((pointer) => {
299079
299079
  const setState = AsyncResource5.bind(function setState(newValue) {
@@ -299091,7 +299091,7 @@ function useState2(defaultValue) {
299091
299091
  });
299092
299092
  }
299093
299093
 
299094
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-effect.js
299094
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-effect.js
299095
299095
  function useEffect2(cb, depArray) {
299096
299096
  withPointer2((pointer) => {
299097
299097
  const oldDeps = pointer.get();
@@ -299103,7 +299103,7 @@ function useEffect2(cb, depArray) {
299103
299103
  });
299104
299104
  }
299105
299105
 
299106
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/theme.js
299106
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/theme.js
299107
299107
  var import_yoctocolors_cjs4 = __toESM(require_yoctocolors_cjs(), 1);
299108
299108
  var defaultTheme2 = {
299109
299109
  prefix: {
@@ -299125,7 +299125,7 @@ var defaultTheme2 = {
299125
299125
  }
299126
299126
  };
299127
299127
 
299128
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/make-theme.js
299128
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/make-theme.js
299129
299129
  function isPlainObject4(value5) {
299130
299130
  if (typeof value5 !== "object" || value5 === null)
299131
299131
  return false;
@@ -299153,7 +299153,7 @@ function makeTheme2(...themes) {
299153
299153
  return deepMerge3(...themesToMerge);
299154
299154
  }
299155
299155
 
299156
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
299156
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
299157
299157
  function usePrefix2({ status = "idle", theme }) {
299158
299158
  const [showLoader, setShowLoader] = useState2(false);
299159
299159
  const [tick, setTick] = useState2(0);
@@ -299183,12 +299183,12 @@ function usePrefix2({ status = "idle", theme }) {
299183
299183
  const iconName = status === "loading" ? "idle" : status;
299184
299184
  return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
299185
299185
  }
299186
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-ref.js
299186
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-ref.js
299187
299187
  function useRef2(val) {
299188
299188
  return useState2({ current: val })[0];
299189
299189
  }
299190
299190
 
299191
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js
299191
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js
299192
299192
  function useKeypress2(userHandler) {
299193
299193
  const signal = useRef2(userHandler);
299194
299194
  signal.current = userHandler;
@@ -299206,7 +299206,7 @@ function useKeypress2(userHandler) {
299206
299206
  };
299207
299207
  }, []);
299208
299208
  }
299209
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/utils.js
299209
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/utils.js
299210
299210
  var import_cli_width2 = __toESM(require_cli_width(), 1);
299211
299211
  var import_wrap_ansi2 = __toESM(require_wrap_ansi(), 1);
299212
299212
  function breakLines2(content, width) {
@@ -299219,35 +299219,21 @@ function readlineWidth2() {
299219
299219
  return import_cli_width2.default({ defaultWidth: 80, output: readline3().output });
299220
299220
  }
299221
299221
 
299222
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299222
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299223
299223
  var import_mute_stream2 = __toESM(require_lib(), 1);
299224
299224
  import * as readline4 from "node:readline";
299225
299225
  import { AsyncResource as AsyncResource6 } from "node:async_hooks";
299226
299226
 
299227
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
299227
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
299228
+ var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
299228
299229
  import { stripVTControlCharacters as stripVTControlCharacters3 } from "node:util";
299229
-
299230
- // ../../node_modules/.bun/@inquirer+ansi@1.0.0/node_modules/@inquirer/ansi/dist/esm/index.js
299231
- var ESC = "\x1B[";
299232
- var cursorLeft = ESC + "G";
299233
- var cursorHide = ESC + "?25l";
299234
- var cursorShow = ESC + "?25h";
299235
- var cursorUp = (rows = 1) => rows > 0 ? `${ESC}${rows}A` : "";
299236
- var cursorDown2 = (rows = 1) => rows > 0 ? `${ESC}${rows}B` : "";
299237
- var cursorTo = (x6, y4) => {
299238
- if (typeof y4 === "number" && !Number.isNaN(y4)) {
299239
- return `${ESC}${y4 + 1};${x6 + 1}H`;
299240
- }
299241
- return `${ESC}${x6 + 1}G`;
299242
- };
299243
- var eraseLine = ESC + "2K";
299244
- var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
299245
-
299246
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
299247
299230
  var height2 = (content) => content.split(`
299248
299231
  `).length;
299249
299232
  var lastLine2 = (content) => content.split(`
299250
299233
  `).pop() ?? "";
299234
+ function cursorDown2(n7) {
299235
+ return n7 > 0 ? import_ansi_escapes3.default.cursorDown(n7) : "";
299236
+ }
299251
299237
 
299252
299238
  class ScreenManager2 {
299253
299239
  height = 0;
@@ -299284,31 +299270,31 @@ class ScreenManager2 {
299284
299270
  const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
299285
299271
  const bottomContentHeight = promptLineUpDiff + (bottomContent ? height2(bottomContent) : 0);
299286
299272
  if (bottomContentHeight > 0)
299287
- output += cursorUp(bottomContentHeight);
299288
- output += cursorTo(this.cursorPos.cols);
299289
- this.write(cursorDown2(this.extraLinesUnderPrompt) + eraseLines(this.height) + output);
299273
+ output += import_ansi_escapes3.default.cursorUp(bottomContentHeight);
299274
+ output += import_ansi_escapes3.default.cursorTo(this.cursorPos.cols);
299275
+ this.write(cursorDown2(this.extraLinesUnderPrompt) + import_ansi_escapes3.default.eraseLines(this.height) + output);
299290
299276
  this.extraLinesUnderPrompt = bottomContentHeight;
299291
299277
  this.height = height2(output);
299292
299278
  }
299293
299279
  checkCursorPos() {
299294
299280
  const cursorPos = this.rl.getCursorPos();
299295
299281
  if (cursorPos.cols !== this.cursorPos.cols) {
299296
- this.write(cursorTo(cursorPos.cols));
299282
+ this.write(import_ansi_escapes3.default.cursorTo(cursorPos.cols));
299297
299283
  this.cursorPos = cursorPos;
299298
299284
  }
299299
299285
  }
299300
299286
  done({ clearContent }) {
299301
299287
  this.rl.setPrompt("");
299302
299288
  let output = cursorDown2(this.extraLinesUnderPrompt);
299303
- output += clearContent ? eraseLines(this.height) : `
299289
+ output += clearContent ? import_ansi_escapes3.default.eraseLines(this.height) : `
299304
299290
  `;
299305
- output += cursorShow;
299291
+ output += import_ansi_escapes3.default.cursorShow;
299306
299292
  this.write(output);
299307
299293
  this.rl.close();
299308
299294
  }
299309
299295
  }
299310
299296
 
299311
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js
299297
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js
299312
299298
  class PromisePolyfill2 extends Promise {
299313
299299
  static withResolver() {
299314
299300
  let resolve7;
@@ -299321,7 +299307,7 @@ class PromisePolyfill2 extends Promise {
299321
299307
  }
299322
299308
  }
299323
299309
 
299324
- // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299310
+ // ../../node_modules/.bun/@inquirer+core@10.2.1+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299325
299311
  function getCallSites2() {
299326
299312
  const _prepareStackTrace = Error.prepareStackTrace;
299327
299313
  let result = [];
@@ -299407,7 +299393,7 @@ function createPrompt2(view) {
299407
299393
  };
299408
299394
  return prompt;
299409
299395
  }
299410
- // ../../node_modules/.bun/@inquirer+confirm@5.1.18+e9dc26b4af2fda18/node_modules/@inquirer/confirm/dist/esm/index.js
299396
+ // ../../node_modules/.bun/@inquirer+confirm@5.1.17+e9dc26b4af2fda18/node_modules/@inquirer/confirm/dist/esm/index.js
299411
299397
  function getBooleanValue(value5, defaultValue) {
299412
299398
  let answer = defaultValue !== false;
299413
299399
  if (/^(y|yes)/i.test(value5))
@@ -299453,20 +299439,489 @@ var esm_default4 = createPrompt2((config3, done) => {
299453
299439
  return `${prefix} ${message}${defaultValue} ${formattedValue}`;
299454
299440
  });
299455
299441
 
299456
- // ../../node_modules/.bun/@inquirer+password@4.0.18+e9dc26b4af2fda18/node_modules/@inquirer/password/dist/esm/index.js
299457
- var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
299458
- var esm_default5 = createPrompt((config3, done) => {
299442
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/key.js
299443
+ var isEnterKey3 = (key3) => key3.name === "enter" || key3.name === "return";
299444
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/errors.js
299445
+ class AbortPromptError3 extends Error {
299446
+ name = "AbortPromptError";
299447
+ message = "Prompt was aborted";
299448
+ constructor(options) {
299449
+ super();
299450
+ this.cause = options?.cause;
299451
+ }
299452
+ }
299453
+
299454
+ class CancelPromptError3 extends Error {
299455
+ name = "CancelPromptError";
299456
+ message = "Prompt was canceled";
299457
+ }
299458
+
299459
+ class ExitPromptError3 extends Error {
299460
+ name = "ExitPromptError";
299461
+ }
299462
+
299463
+ class HookError3 extends Error {
299464
+ name = "HookError";
299465
+ }
299466
+
299467
+ class ValidationError3 extends Error {
299468
+ name = "ValidationError";
299469
+ }
299470
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
299471
+ import { AsyncResource as AsyncResource8 } from "node:async_hooks";
299472
+
299473
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js
299474
+ import { AsyncLocalStorage as AsyncLocalStorage3, AsyncResource as AsyncResource7 } from "node:async_hooks";
299475
+ var hookStorage3 = new AsyncLocalStorage3;
299476
+ function createStore3(rl) {
299477
+ const store = {
299478
+ rl,
299479
+ hooks: [],
299480
+ hooksCleanup: [],
299481
+ hooksEffect: [],
299482
+ index: 0,
299483
+ handleChange() {}
299484
+ };
299485
+ return store;
299486
+ }
299487
+ function withHooks3(rl, cb) {
299488
+ const store = createStore3(rl);
299489
+ return hookStorage3.run(store, () => {
299490
+ function cycle(render) {
299491
+ store.handleChange = () => {
299492
+ store.index = 0;
299493
+ render();
299494
+ };
299495
+ store.handleChange();
299496
+ }
299497
+ return cb(cycle);
299498
+ });
299499
+ }
299500
+ function getStore3() {
299501
+ const store = hookStorage3.getStore();
299502
+ if (!store) {
299503
+ throw new HookError3("[Inquirer] Hook functions can only be called from within a prompt");
299504
+ }
299505
+ return store;
299506
+ }
299507
+ function readline5() {
299508
+ return getStore3().rl;
299509
+ }
299510
+ function withUpdates3(fn) {
299511
+ const wrapped = (...args) => {
299512
+ const store = getStore3();
299513
+ let shouldUpdate = false;
299514
+ const oldHandleChange = store.handleChange;
299515
+ store.handleChange = () => {
299516
+ shouldUpdate = true;
299517
+ };
299518
+ const returnValue = fn(...args);
299519
+ if (shouldUpdate) {
299520
+ oldHandleChange();
299521
+ }
299522
+ store.handleChange = oldHandleChange;
299523
+ return returnValue;
299524
+ };
299525
+ return AsyncResource7.bind(wrapped);
299526
+ }
299527
+ function withPointer3(cb) {
299528
+ const store = getStore3();
299529
+ const { index: index2 } = store;
299530
+ const pointer = {
299531
+ get() {
299532
+ return store.hooks[index2];
299533
+ },
299534
+ set(value5) {
299535
+ store.hooks[index2] = value5;
299536
+ },
299537
+ initialized: index2 in store.hooks
299538
+ };
299539
+ const returnValue = cb(pointer);
299540
+ store.index++;
299541
+ return returnValue;
299542
+ }
299543
+ function handleChange3() {
299544
+ getStore3().handleChange();
299545
+ }
299546
+ var effectScheduler3 = {
299547
+ queue(cb) {
299548
+ const store = getStore3();
299549
+ const { index: index2 } = store;
299550
+ store.hooksEffect.push(() => {
299551
+ store.hooksCleanup[index2]?.();
299552
+ const cleanFn = cb(readline5());
299553
+ if (cleanFn != null && typeof cleanFn !== "function") {
299554
+ throw new ValidationError3("useEffect return value must be a cleanup function or nothing.");
299555
+ }
299556
+ store.hooksCleanup[index2] = cleanFn;
299557
+ });
299558
+ },
299559
+ run() {
299560
+ const store = getStore3();
299561
+ withUpdates3(() => {
299562
+ store.hooksEffect.forEach((effect) => {
299563
+ effect();
299564
+ });
299565
+ store.hooksEffect.length = 0;
299566
+ })();
299567
+ },
299568
+ clearAll() {
299569
+ const store = getStore3();
299570
+ store.hooksCleanup.forEach((cleanFn) => {
299571
+ cleanFn?.();
299572
+ });
299573
+ store.hooksEffect.length = 0;
299574
+ store.hooksCleanup.length = 0;
299575
+ }
299576
+ };
299577
+
299578
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-state.js
299579
+ function useState3(defaultValue) {
299580
+ return withPointer3((pointer) => {
299581
+ const setState = AsyncResource8.bind(function setState(newValue) {
299582
+ if (pointer.get() !== newValue) {
299583
+ pointer.set(newValue);
299584
+ handleChange3();
299585
+ }
299586
+ });
299587
+ if (pointer.initialized) {
299588
+ return [pointer.get(), setState];
299589
+ }
299590
+ const value5 = typeof defaultValue === "function" ? defaultValue() : defaultValue;
299591
+ pointer.set(value5);
299592
+ return [value5, setState];
299593
+ });
299594
+ }
299595
+
299596
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-effect.js
299597
+ function useEffect3(cb, depArray) {
299598
+ withPointer3((pointer) => {
299599
+ const oldDeps = pointer.get();
299600
+ const hasChanged = !Array.isArray(oldDeps) || depArray.some((dep, i7) => !Object.is(dep, oldDeps[i7]));
299601
+ if (hasChanged) {
299602
+ effectScheduler3.queue(cb);
299603
+ }
299604
+ pointer.set(depArray);
299605
+ });
299606
+ }
299607
+
299608
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/theme.js
299609
+ var import_yoctocolors_cjs5 = __toESM(require_yoctocolors_cjs(), 1);
299610
+ var defaultTheme3 = {
299611
+ prefix: {
299612
+ idle: import_yoctocolors_cjs5.default.blue("?"),
299613
+ done: import_yoctocolors_cjs5.default.green(esm_default.tick)
299614
+ },
299615
+ spinner: {
299616
+ interval: 80,
299617
+ frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"].map((frame) => import_yoctocolors_cjs5.default.yellow(frame))
299618
+ },
299619
+ style: {
299620
+ answer: import_yoctocolors_cjs5.default.cyan,
299621
+ message: import_yoctocolors_cjs5.default.bold,
299622
+ error: (text2) => import_yoctocolors_cjs5.default.red(`> ${text2}`),
299623
+ defaultAnswer: (text2) => import_yoctocolors_cjs5.default.dim(`(${text2})`),
299624
+ help: import_yoctocolors_cjs5.default.dim,
299625
+ highlight: import_yoctocolors_cjs5.default.cyan,
299626
+ key: (text2) => import_yoctocolors_cjs5.default.cyan(import_yoctocolors_cjs5.default.bold(`<${text2}>`))
299627
+ }
299628
+ };
299629
+
299630
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/make-theme.js
299631
+ function isPlainObject5(value5) {
299632
+ if (typeof value5 !== "object" || value5 === null)
299633
+ return false;
299634
+ let proto = value5;
299635
+ while (Object.getPrototypeOf(proto) !== null) {
299636
+ proto = Object.getPrototypeOf(proto);
299637
+ }
299638
+ return Object.getPrototypeOf(value5) === proto;
299639
+ }
299640
+ function deepMerge4(...objects) {
299641
+ const output = {};
299642
+ for (const obj of objects) {
299643
+ for (const [key3, value5] of Object.entries(obj)) {
299644
+ const prevValue = output[key3];
299645
+ output[key3] = isPlainObject5(prevValue) && isPlainObject5(value5) ? deepMerge4(prevValue, value5) : value5;
299646
+ }
299647
+ }
299648
+ return output;
299649
+ }
299650
+ function makeTheme3(...themes) {
299651
+ const themesToMerge = [
299652
+ defaultTheme3,
299653
+ ...themes.filter((theme) => theme != null)
299654
+ ];
299655
+ return deepMerge4(...themesToMerge);
299656
+ }
299657
+
299658
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
299659
+ function usePrefix3({ status = "idle", theme }) {
299660
+ const [showLoader, setShowLoader] = useState3(false);
299661
+ const [tick, setTick] = useState3(0);
299662
+ const { prefix, spinner: spinner2 } = makeTheme3(theme);
299663
+ useEffect3(() => {
299664
+ if (status === "loading") {
299665
+ let tickInterval;
299666
+ let inc = -1;
299667
+ const delayTimeout = setTimeout(() => {
299668
+ setShowLoader(true);
299669
+ tickInterval = setInterval(() => {
299670
+ inc = inc + 1;
299671
+ setTick(inc % spinner2.frames.length);
299672
+ }, spinner2.interval);
299673
+ }, 300);
299674
+ return () => {
299675
+ clearTimeout(delayTimeout);
299676
+ clearInterval(tickInterval);
299677
+ };
299678
+ } else {
299679
+ setShowLoader(false);
299680
+ }
299681
+ }, [status]);
299682
+ if (showLoader) {
299683
+ return spinner2.frames[tick];
299684
+ }
299685
+ const iconName = status === "loading" ? "idle" : status;
299686
+ return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
299687
+ }
299688
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-ref.js
299689
+ function useRef3(val) {
299690
+ return useState3({ current: val })[0];
299691
+ }
299692
+
299693
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js
299694
+ function useKeypress3(userHandler) {
299695
+ const signal = useRef3(userHandler);
299696
+ signal.current = userHandler;
299697
+ useEffect3((rl) => {
299698
+ let ignore = false;
299699
+ const handler = withUpdates3((_input, event) => {
299700
+ if (ignore)
299701
+ return;
299702
+ signal.current(event, rl);
299703
+ });
299704
+ rl.input.on("keypress", handler);
299705
+ return () => {
299706
+ ignore = true;
299707
+ rl.input.removeListener("keypress", handler);
299708
+ };
299709
+ }, []);
299710
+ }
299711
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/utils.js
299712
+ var import_cli_width3 = __toESM(require_cli_width(), 1);
299713
+ var import_wrap_ansi3 = __toESM(require_wrap_ansi(), 1);
299714
+ function breakLines3(content, width) {
299715
+ return content.split(`
299716
+ `).flatMap((line) => import_wrap_ansi3.default(line, width, { trim: false, hard: true }).split(`
299717
+ `).map((str) => str.trimEnd())).join(`
299718
+ `);
299719
+ }
299720
+ function readlineWidth3() {
299721
+ return import_cli_width3.default({ defaultWidth: 80, output: readline5().output });
299722
+ }
299723
+
299724
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299725
+ var import_mute_stream3 = __toESM(require_lib(), 1);
299726
+ import * as readline6 from "node:readline";
299727
+ import { AsyncResource as AsyncResource9 } from "node:async_hooks";
299728
+
299729
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
299730
+ import { stripVTControlCharacters as stripVTControlCharacters4 } from "node:util";
299731
+
299732
+ // ../../node_modules/.bun/@inquirer+ansi@1.0.0/node_modules/@inquirer/ansi/dist/esm/index.js
299733
+ var ESC = "\x1B[";
299734
+ var cursorLeft = ESC + "G";
299735
+ var cursorHide = ESC + "?25l";
299736
+ var cursorShow = ESC + "?25h";
299737
+ var cursorUp = (rows = 1) => rows > 0 ? `${ESC}${rows}A` : "";
299738
+ var cursorDown3 = (rows = 1) => rows > 0 ? `${ESC}${rows}B` : "";
299739
+ var cursorTo = (x6, y4) => {
299740
+ if (typeof y4 === "number" && !Number.isNaN(y4)) {
299741
+ return `${ESC}${y4 + 1};${x6 + 1}H`;
299742
+ }
299743
+ return `${ESC}${x6 + 1}G`;
299744
+ };
299745
+ var eraseLine = ESC + "2K";
299746
+ var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
299747
+
299748
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
299749
+ var height3 = (content) => content.split(`
299750
+ `).length;
299751
+ var lastLine3 = (content) => content.split(`
299752
+ `).pop() ?? "";
299753
+
299754
+ class ScreenManager3 {
299755
+ height = 0;
299756
+ extraLinesUnderPrompt = 0;
299757
+ cursorPos;
299758
+ rl;
299759
+ constructor(rl) {
299760
+ this.rl = rl;
299761
+ this.cursorPos = rl.getCursorPos();
299762
+ }
299763
+ write(content) {
299764
+ this.rl.output.unmute();
299765
+ this.rl.output.write(content);
299766
+ this.rl.output.mute();
299767
+ }
299768
+ render(content, bottomContent = "") {
299769
+ const promptLine = lastLine3(content);
299770
+ const rawPromptLine = stripVTControlCharacters4(promptLine);
299771
+ let prompt = rawPromptLine;
299772
+ if (this.rl.line.length > 0) {
299773
+ prompt = prompt.slice(0, -this.rl.line.length);
299774
+ }
299775
+ this.rl.setPrompt(prompt);
299776
+ this.cursorPos = this.rl.getCursorPos();
299777
+ const width = readlineWidth3();
299778
+ content = breakLines3(content, width);
299779
+ bottomContent = breakLines3(bottomContent, width);
299780
+ if (rawPromptLine.length % width === 0) {
299781
+ content += `
299782
+ `;
299783
+ }
299784
+ let output = content + (bottomContent ? `
299785
+ ` + bottomContent : "");
299786
+ const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
299787
+ const bottomContentHeight = promptLineUpDiff + (bottomContent ? height3(bottomContent) : 0);
299788
+ if (bottomContentHeight > 0)
299789
+ output += cursorUp(bottomContentHeight);
299790
+ output += cursorTo(this.cursorPos.cols);
299791
+ this.write(cursorDown3(this.extraLinesUnderPrompt) + eraseLines(this.height) + output);
299792
+ this.extraLinesUnderPrompt = bottomContentHeight;
299793
+ this.height = height3(output);
299794
+ }
299795
+ checkCursorPos() {
299796
+ const cursorPos = this.rl.getCursorPos();
299797
+ if (cursorPos.cols !== this.cursorPos.cols) {
299798
+ this.write(cursorTo(cursorPos.cols));
299799
+ this.cursorPos = cursorPos;
299800
+ }
299801
+ }
299802
+ done({ clearContent }) {
299803
+ this.rl.setPrompt("");
299804
+ let output = cursorDown3(this.extraLinesUnderPrompt);
299805
+ output += clearContent ? eraseLines(this.height) : `
299806
+ `;
299807
+ output += cursorShow;
299808
+ this.write(output);
299809
+ this.rl.close();
299810
+ }
299811
+ }
299812
+
299813
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js
299814
+ class PromisePolyfill3 extends Promise {
299815
+ static withResolver() {
299816
+ let resolve7;
299817
+ let reject;
299818
+ const promise2 = new Promise((res, rej) => {
299819
+ resolve7 = res;
299820
+ reject = rej;
299821
+ });
299822
+ return { promise: promise2, resolve: resolve7, reject };
299823
+ }
299824
+ }
299825
+
299826
+ // ../../node_modules/.bun/@inquirer+core@10.2.2+e9dc26b4af2fda18/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
299827
+ function getCallSites3() {
299828
+ const _prepareStackTrace = Error.prepareStackTrace;
299829
+ let result = [];
299830
+ try {
299831
+ Error.prepareStackTrace = (_5, callSites) => {
299832
+ const callSitesWithoutCurrent = callSites.slice(1);
299833
+ result = callSitesWithoutCurrent;
299834
+ return callSitesWithoutCurrent;
299835
+ };
299836
+ new Error().stack;
299837
+ } catch {
299838
+ return result;
299839
+ }
299840
+ Error.prepareStackTrace = _prepareStackTrace;
299841
+ return result;
299842
+ }
299843
+ function createPrompt3(view) {
299844
+ const callSites = getCallSites3();
299845
+ const prompt = (config3, context = {}) => {
299846
+ const { input = process.stdin, signal } = context;
299847
+ const cleanups = new Set;
299848
+ const output = new import_mute_stream3.default;
299849
+ output.pipe(context.output ?? process.stdout);
299850
+ const rl = readline6.createInterface({
299851
+ terminal: true,
299852
+ input,
299853
+ output
299854
+ });
299855
+ const screen = new ScreenManager3(rl);
299856
+ const { promise: promise2, resolve: resolve7, reject } = PromisePolyfill3.withResolver();
299857
+ const cancel3 = () => reject(new CancelPromptError3);
299858
+ if (signal) {
299859
+ const abort = () => reject(new AbortPromptError3({ cause: signal.reason }));
299860
+ if (signal.aborted) {
299861
+ abort();
299862
+ return Object.assign(promise2, { cancel: cancel3 });
299863
+ }
299864
+ signal.addEventListener("abort", abort);
299865
+ cleanups.add(() => signal.removeEventListener("abort", abort));
299866
+ }
299867
+ cleanups.add(onExit((code2, signal2) => {
299868
+ reject(new ExitPromptError3(`User force closed the prompt with ${code2} ${signal2}`));
299869
+ }));
299870
+ const sigint = () => reject(new ExitPromptError3(`User force closed the prompt with SIGINT`));
299871
+ rl.on("SIGINT", sigint);
299872
+ cleanups.add(() => rl.removeListener("SIGINT", sigint));
299873
+ const checkCursorPos = () => screen.checkCursorPos();
299874
+ rl.input.on("keypress", checkCursorPos);
299875
+ cleanups.add(() => rl.input.removeListener("keypress", checkCursorPos));
299876
+ return withHooks3(rl, (cycle) => {
299877
+ const hooksCleanup = AsyncResource9.bind(() => effectScheduler3.clearAll());
299878
+ rl.on("close", hooksCleanup);
299879
+ cleanups.add(() => rl.removeListener("close", hooksCleanup));
299880
+ cycle(() => {
299881
+ try {
299882
+ const nextView = view(config3, (value5) => {
299883
+ setImmediate(() => resolve7(value5));
299884
+ });
299885
+ if (nextView === undefined) {
299886
+ const callerFilename = callSites[1]?.getFileName();
299887
+ throw new Error(`Prompt functions must return a string.
299888
+ at ${callerFilename}`);
299889
+ }
299890
+ const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
299891
+ screen.render(content, bottomContent);
299892
+ effectScheduler3.run();
299893
+ } catch (error48) {
299894
+ reject(error48);
299895
+ }
299896
+ });
299897
+ return Object.assign(promise2.then((answer) => {
299898
+ effectScheduler3.clearAll();
299899
+ return answer;
299900
+ }, (error48) => {
299901
+ effectScheduler3.clearAll();
299902
+ throw error48;
299903
+ }).finally(() => {
299904
+ cleanups.forEach((cleanup) => cleanup());
299905
+ screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
299906
+ output.end();
299907
+ }).then(() => promise2), { cancel: cancel3 });
299908
+ });
299909
+ };
299910
+ return prompt;
299911
+ }
299912
+ // ../../node_modules/.bun/@inquirer+password@4.0.20+e9dc26b4af2fda18/node_modules/@inquirer/password/dist/esm/index.js
299913
+ var esm_default5 = createPrompt3((config3, done) => {
299459
299914
  const { validate: validate8 = () => true } = config3;
299460
- const theme = makeTheme(config3.theme);
299461
- const [status, setStatus] = useState("idle");
299462
- const [errorMsg, setError] = useState();
299463
- const [value5, setValue] = useState("");
299464
- const prefix = usePrefix({ status, theme });
299465
- useKeypress(async (key3, rl) => {
299915
+ const theme = makeTheme3(config3.theme);
299916
+ const [status, setStatus] = useState3("idle");
299917
+ const [errorMsg, setError] = useState3();
299918
+ const [value5, setValue] = useState3("");
299919
+ const prefix = usePrefix3({ status, theme });
299920
+ useKeypress3(async (key4, rl) => {
299466
299921
  if (status !== "idle") {
299467
299922
  return;
299468
299923
  }
299469
- if (isEnterKey(key3)) {
299924
+ if (isEnterKey3(key4)) {
299470
299925
  const answer = value5;
299471
299926
  setStatus("loading");
299472
299927
  const isValid = await validate8(answer);
@@ -299491,7 +299946,7 @@ var esm_default5 = createPrompt((config3, done) => {
299491
299946
  const maskChar = typeof config3.mask === "string" ? config3.mask : "*";
299492
299947
  formattedValue = maskChar.repeat(value5.length);
299493
299948
  } else if (status !== "done") {
299494
- helpTip = `${theme.style.help("[input is masked]")}${import_ansi_escapes3.default.cursorHide}`;
299949
+ helpTip = `${theme.style.help("[input is masked]")}${cursorHide}`;
299495
299950
  }
299496
299951
  if (status === "done") {
299497
299952
  formattedValue = theme.style.answer(formattedValue);
@@ -301169,7 +301624,7 @@ var basename2 = function(p5, extension) {
301169
301624
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
301170
301625
  };
301171
301626
  // ../../node_modules/.bun/defu@6.1.4/node_modules/defu/dist/defu.mjs
301172
- function isPlainObject5(value5) {
301627
+ function isPlainObject6(value5) {
301173
301628
  if (value5 === null || typeof value5 !== "object") {
301174
301629
  return false;
301175
301630
  }
@@ -301186,27 +301641,27 @@ function isPlainObject5(value5) {
301186
301641
  return true;
301187
301642
  }
301188
301643
  function _defu(baseObject, defaults2, namespace = ".", merger) {
301189
- if (!isPlainObject5(defaults2)) {
301644
+ if (!isPlainObject6(defaults2)) {
301190
301645
  return _defu(baseObject, {}, namespace, merger);
301191
301646
  }
301192
301647
  const object2 = Object.assign({}, defaults2);
301193
- for (const key3 in baseObject) {
301194
- if (key3 === "__proto__" || key3 === "constructor") {
301648
+ for (const key4 in baseObject) {
301649
+ if (key4 === "__proto__" || key4 === "constructor") {
301195
301650
  continue;
301196
301651
  }
301197
- const value5 = baseObject[key3];
301652
+ const value5 = baseObject[key4];
301198
301653
  if (value5 === null || value5 === undefined) {
301199
301654
  continue;
301200
301655
  }
301201
- if (merger && merger(object2, key3, value5, namespace)) {
301656
+ if (merger && merger(object2, key4, value5, namespace)) {
301202
301657
  continue;
301203
301658
  }
301204
- if (Array.isArray(value5) && Array.isArray(object2[key3])) {
301205
- object2[key3] = [...value5, ...object2[key3]];
301206
- } else if (isPlainObject5(value5) && isPlainObject5(object2[key3])) {
301207
- object2[key3] = _defu(value5, object2[key3], (namespace ? `${namespace}.` : "") + key3.toString(), merger);
301659
+ if (Array.isArray(value5) && Array.isArray(object2[key4])) {
301660
+ object2[key4] = [...value5, ...object2[key4]];
301661
+ } else if (isPlainObject6(value5) && isPlainObject6(object2[key4])) {
301662
+ object2[key4] = _defu(value5, object2[key4], (namespace ? `${namespace}.` : "") + key4.toString(), merger);
301208
301663
  } else {
301209
- object2[key3] = value5;
301664
+ object2[key4] = value5;
301210
301665
  }
301211
301666
  }
301212
301667
  return object2;
@@ -301215,15 +301670,15 @@ function createDefu(merger) {
301215
301670
  return (...arguments_5) => arguments_5.reduce((p5, c3) => _defu(p5, c3, "", merger), {});
301216
301671
  }
301217
301672
  var defu = createDefu();
301218
- var defuFn = createDefu((object2, key3, currentValue) => {
301219
- if (object2[key3] !== undefined && typeof currentValue === "function") {
301220
- object2[key3] = currentValue(object2[key3]);
301673
+ var defuFn = createDefu((object2, key4, currentValue) => {
301674
+ if (object2[key4] !== undefined && typeof currentValue === "function") {
301675
+ object2[key4] = currentValue(object2[key4]);
301221
301676
  return true;
301222
301677
  }
301223
301678
  });
301224
- var defuArrayFn = createDefu((object2, key3, currentValue) => {
301225
- if (Array.isArray(object2[key3]) && typeof currentValue === "function") {
301226
- object2[key3] = currentValue(object2[key3]);
301679
+ var defuArrayFn = createDefu((object2, key4, currentValue) => {
301680
+ if (Array.isArray(object2[key4]) && typeof currentValue === "function") {
301681
+ object2[key4] = currentValue(object2[key4]);
301227
301682
  return true;
301228
301683
  }
301229
301684
  });
@@ -303929,11 +304384,11 @@ function cacheDirectory() {
303929
304384
  }
303930
304385
  function normalizeHeaders(headers = {}) {
303931
304386
  const normalized = {};
303932
- for (const [key3, value5] of Object.entries(headers)) {
304387
+ for (const [key4, value5] of Object.entries(headers)) {
303933
304388
  if (!value5) {
303934
304389
  continue;
303935
304390
  }
303936
- normalized[key3.toLowerCase()] = value5;
304391
+ normalized[key4.toLowerCase()] = value5;
303937
304392
  }
303938
304393
  return normalized;
303939
304394
  }
@@ -307182,7 +307637,7 @@ function jsonOutput(data) {
307182
307637
  var composer = require_composer();
307183
307638
  var Document = require_Document();
307184
307639
  var Schema = require_Schema();
307185
- var errors5 = require_errors3();
307640
+ var errors6 = require_errors3();
307186
307641
  var Alias = require_Alias();
307187
307642
  var identity2 = require_identity();
307188
307643
  var Pair = require_Pair();
@@ -307198,9 +307653,9 @@ var visit2 = require_visit();
307198
307653
  var $Composer = composer.Composer;
307199
307654
  var $Document = Document.Document;
307200
307655
  var $Schema = Schema.Schema;
307201
- var $YAMLError = errors5.YAMLError;
307202
- var $YAMLParseError = errors5.YAMLParseError;
307203
- var $YAMLWarning = errors5.YAMLWarning;
307656
+ var $YAMLError = errors6.YAMLError;
307657
+ var $YAMLParseError = errors6.YAMLParseError;
307658
+ var $YAMLWarning = errors6.YAMLWarning;
307204
307659
  var $Alias = Alias.Alias;
307205
307660
  var $isAlias = identity2.isAlias;
307206
307661
  var $isCollection = identity2.isCollection;
@@ -307807,11 +308262,11 @@ function createCommand4() {
307807
308262
 
307808
308263
  // src/utils/commands/passthrough-options.ts
307809
308264
  function mapPassthroughOptions(options, command) {
307810
- const optionArgs = Object.entries(options).map(([key3, value5]) => {
308265
+ const optionArgs = Object.entries(options).map(([key4, value5]) => {
307811
308266
  if (value5 === true) {
307812
- return `--${key3}`;
308267
+ return `--${key4}`;
307813
308268
  }
307814
- return `--${key3}=${value5}`;
308269
+ return `--${key4}=${value5}`;
307815
308270
  });
307816
308271
  return [...optionArgs, ...command.args];
307817
308272
  }
@@ -309064,4 +309519,4 @@ async function sdkCliCommand(argv = process.argv) {
309064
309519
  // src/cli.ts
309065
309520
  sdkCliCommand();
309066
309521
 
309067
- //# debugId=219B275F365D438264756E2164756E21
309522
+ //# debugId=93A02A8E0383BE0264756E2164756E21