@marcusrbrown/infra 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +267 -266
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
4
4
  var __require = import.meta.require;
5
5
 
6
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
6
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
7
7
  var require_identity = __commonJS(function(exports) {
8
8
  var ALIAS = Symbol.for("yaml.alias");
9
9
  var DOC = Symbol.for("yaml.document");
@@ -57,7 +57,7 @@ var require_identity = __commonJS(function(exports) {
57
57
  exports.isSeq = isSeq;
58
58
  });
59
59
 
60
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
60
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/visit.js
61
61
  var require_visit = __commonJS(function(exports) {
62
62
  var identity = require_identity();
63
63
  var BREAK = Symbol("break visit");
@@ -212,7 +212,7 @@ var require_visit = __commonJS(function(exports) {
212
212
  exports.visitAsync = visitAsync;
213
213
  });
214
214
 
215
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
215
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
216
216
  var require_directives = __commonJS(function(exports) {
217
217
  var identity = require_identity();
218
218
  var visit = require_visit();
@@ -364,7 +364,7 @@ var require_directives = __commonJS(function(exports) {
364
364
  exports.Directives = Directives;
365
365
  });
366
366
 
367
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
367
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
368
368
  var require_anchors = __commonJS(function(exports) {
369
369
  var identity = require_identity();
370
370
  var visit = require_visit();
@@ -426,7 +426,7 @@ var require_anchors = __commonJS(function(exports) {
426
426
  exports.findNewAnchor = findNewAnchor;
427
427
  });
428
428
 
429
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
429
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
430
430
  var require_applyReviver = __commonJS(function(exports) {
431
431
  function applyReviver(reviver, obj, key, val) {
432
432
  if (val && typeof val === "object") {
@@ -473,7 +473,7 @@ var require_applyReviver = __commonJS(function(exports) {
473
473
  exports.applyReviver = applyReviver;
474
474
  });
475
475
 
476
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
476
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
477
477
  var require_toJS = __commonJS(function(exports) {
478
478
  var identity = require_identity();
479
479
  function toJS(value, arg, ctx) {
@@ -484,8 +484,8 @@ var require_toJS = __commonJS(function(exports) {
484
484
  return value.toJSON(arg, ctx);
485
485
  const data = { aliasCount: 0, count: 1, res: undefined };
486
486
  ctx.anchors.set(value, data);
487
- ctx.onCreate = (res2) => {
488
- data.res = res2;
487
+ ctx.onCreate = (res) => {
488
+ data.res = res;
489
489
  delete ctx.onCreate;
490
490
  };
491
491
  const res = value.toJSON(arg, ctx);
@@ -500,7 +500,7 @@ var require_toJS = __commonJS(function(exports) {
500
500
  exports.toJS = toJS;
501
501
  });
502
502
 
503
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
503
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
504
504
  var require_Node = __commonJS(function(exports) {
505
505
  var applyReviver = require_applyReviver();
506
506
  var identity = require_identity();
@@ -529,15 +529,15 @@ var require_Node = __commonJS(function(exports) {
529
529
  };
530
530
  const res = toJS.toJS(this, "", ctx);
531
531
  if (typeof onAnchor === "function")
532
- for (const { count, res: res2 } of ctx.anchors.values())
533
- onAnchor(res2, count);
532
+ for (const { count, res } of ctx.anchors.values())
533
+ onAnchor(res, count);
534
534
  return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
535
535
  }
536
536
  }
537
537
  exports.NodeBase = NodeBase;
538
538
  });
539
539
 
540
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
540
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
541
541
  var require_Alias = __commonJS(function(exports) {
542
542
  var anchors = require_anchors();
543
543
  var visit = require_visit();
@@ -579,36 +579,38 @@ var require_Alias = __commonJS(function(exports) {
579
579
  if (node.anchor === this.source)
580
580
  found = node;
581
581
  }
582
+ if (found && ctx) {
583
+ const { anchors, doc, maxAliasCount } = ctx;
584
+ let data = anchors.get(found);
585
+ if (!data) {
586
+ toJS.toJS(found, null, ctx);
587
+ data = anchors.get(found);
588
+ }
589
+ if (data?.res === undefined) {
590
+ const msg = "This should not happen: Alias anchor was not resolved?";
591
+ throw new ReferenceError(msg);
592
+ }
593
+ if (maxAliasCount >= 0) {
594
+ data.count += 1;
595
+ if (data.aliasCount === 0)
596
+ data.aliasCount = getAliasCount(doc, found, anchors);
597
+ if (data.count * data.aliasCount > maxAliasCount) {
598
+ const msg = "Excessive alias count indicates a resource exhaustion attack";
599
+ throw new ReferenceError(msg);
600
+ }
601
+ }
602
+ }
582
603
  return found;
583
604
  }
584
605
  toJSON(_arg, ctx) {
585
606
  if (!ctx)
586
607
  return { source: this.source };
587
- const { anchors: anchors2, doc, maxAliasCount } = ctx;
588
- const source = this.resolve(doc, ctx);
608
+ const source = this.resolve(ctx.doc, ctx);
589
609
  if (!source) {
590
610
  const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
591
611
  throw new ReferenceError(msg);
592
612
  }
593
- let data = anchors2.get(source);
594
- if (!data) {
595
- toJS.toJS(source, null, ctx);
596
- data = anchors2.get(source);
597
- }
598
- if (data?.res === undefined) {
599
- const msg = "This should not happen: Alias anchor was not resolved?";
600
- throw new ReferenceError(msg);
601
- }
602
- if (maxAliasCount >= 0) {
603
- data.count += 1;
604
- if (data.aliasCount === 0)
605
- data.aliasCount = getAliasCount(doc, source, anchors2);
606
- if (data.count * data.aliasCount > maxAliasCount) {
607
- const msg = "Excessive alias count indicates a resource exhaustion attack";
608
- throw new ReferenceError(msg);
609
- }
610
- }
611
- return data.res;
613
+ return ctx.anchors.get(source).res;
612
614
  }
613
615
  toString(ctx, _onComment, _onChompKeep) {
614
616
  const src = `*${this.source}`;
@@ -624,22 +626,22 @@ var require_Alias = __commonJS(function(exports) {
624
626
  return src;
625
627
  }
626
628
  }
627
- function getAliasCount(doc, node, anchors2) {
629
+ function getAliasCount(doc, node, anchors) {
628
630
  if (identity.isAlias(node)) {
629
631
  const source = node.resolve(doc);
630
- const anchor = anchors2 && source && anchors2.get(source);
632
+ const anchor = anchors && source && anchors.get(source);
631
633
  return anchor ? anchor.count * anchor.aliasCount : 0;
632
634
  } else if (identity.isCollection(node)) {
633
635
  let count = 0;
634
636
  for (const item of node.items) {
635
- const c = getAliasCount(doc, item, anchors2);
637
+ const c = getAliasCount(doc, item, anchors);
636
638
  if (c > count)
637
639
  count = c;
638
640
  }
639
641
  return count;
640
642
  } else if (identity.isPair(node)) {
641
- const kc = getAliasCount(doc, node.key, anchors2);
642
- const vc = getAliasCount(doc, node.value, anchors2);
643
+ const kc = getAliasCount(doc, node.key, anchors);
644
+ const vc = getAliasCount(doc, node.value, anchors);
643
645
  return Math.max(kc, vc);
644
646
  }
645
647
  return 1;
@@ -647,7 +649,7 @@ var require_Alias = __commonJS(function(exports) {
647
649
  exports.Alias = Alias;
648
650
  });
649
651
 
650
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
652
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
651
653
  var require_Scalar = __commonJS(function(exports) {
652
654
  var identity = require_identity();
653
655
  var Node = require_Node();
@@ -675,7 +677,7 @@ var require_Scalar = __commonJS(function(exports) {
675
677
  exports.isScalarValue = isScalarValue;
676
678
  });
677
679
 
678
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
680
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
679
681
  var require_createNode = __commonJS(function(exports) {
680
682
  var Alias = require_Alias();
681
683
  var identity = require_identity();
@@ -724,10 +726,10 @@ var require_createNode = __commonJS(function(exports) {
724
726
  value = value.toJSON();
725
727
  }
726
728
  if (!value || typeof value !== "object") {
727
- const node2 = new Scalar.Scalar(value);
729
+ const node = new Scalar.Scalar(value);
728
730
  if (ref)
729
- ref.node = node2;
730
- return node2;
731
+ ref.node = node;
732
+ return node;
731
733
  }
732
734
  tagObj = value instanceof Map ? schema[identity.MAP] : (Symbol.iterator in Object(value)) ? schema[identity.SEQ] : schema[identity.MAP];
733
735
  }
@@ -747,7 +749,7 @@ var require_createNode = __commonJS(function(exports) {
747
749
  exports.createNode = createNode;
748
750
  });
749
751
 
750
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
752
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
751
753
  var require_Collection = __commonJS(function(exports) {
752
754
  var createNode = require_createNode();
753
755
  var identity = require_identity();
@@ -862,7 +864,7 @@ var require_Collection = __commonJS(function(exports) {
862
864
  exports.isEmptyPath = isEmptyPath;
863
865
  });
864
866
 
865
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
867
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
866
868
  var require_stringifyComment = __commonJS(function(exports) {
867
869
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
868
870
  function indentComment(comment, indent) {
@@ -879,7 +881,7 @@ var require_stringifyComment = __commonJS(function(exports) {
879
881
  exports.stringifyComment = stringifyComment;
880
882
  });
881
883
 
882
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
884
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
883
885
  var require_foldFlowLines = __commonJS(function(exports) {
884
886
  var FOLD_FLOW = "flow";
885
887
  var FOLD_BLOCK = "block";
@@ -976,17 +978,17 @@ var require_foldFlowLines = __commonJS(function(exports) {
976
978
  if (onFold)
977
979
  onFold();
978
980
  let res = text.slice(0, folds[0]);
979
- for (let i2 = 0;i2 < folds.length; ++i2) {
980
- const fold = folds[i2];
981
- const end2 = folds[i2 + 1] || text.length;
981
+ for (let i = 0;i < folds.length; ++i) {
982
+ const fold = folds[i];
983
+ const end = folds[i + 1] || text.length;
982
984
  if (fold === 0)
983
985
  res = `
984
- ${indent}${text.slice(0, end2)}`;
986
+ ${indent}${text.slice(0, end)}`;
985
987
  else {
986
988
  if (mode === FOLD_QUOTED && escapedFolds[fold])
987
989
  res += `${text[fold]}\\`;
988
990
  res += `
989
- ${indent}${text.slice(fold + 1, end2)}`;
991
+ ${indent}${text.slice(fold + 1, end)}`;
990
992
  }
991
993
  }
992
994
  return res;
@@ -1016,7 +1018,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
1016
1018
  exports.foldFlowLines = foldFlowLines;
1017
1019
  });
1018
1020
 
1019
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1021
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
1020
1022
  var require_stringifyString = __commonJS(function(exports) {
1021
1023
  var Scalar = require_Scalar();
1022
1024
  var foldFlowLines = require_foldFlowLines();
@@ -1314,7 +1316,7 @@ ${indent}`);
1314
1316
  exports.stringifyString = stringifyString;
1315
1317
  });
1316
1318
 
1317
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1319
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
1318
1320
  var require_stringify = __commonJS(function(exports) {
1319
1321
  var anchors = require_anchors();
1320
1322
  var identity = require_identity();
@@ -1435,7 +1437,7 @@ ${ctx.indent}${str}`;
1435
1437
  exports.stringify = stringify;
1436
1438
  });
1437
1439
 
1438
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1440
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
1439
1441
  var require_stringifyPair = __commonJS(function(exports) {
1440
1442
  var identity = require_identity();
1441
1443
  var Scalar = require_Scalar();
@@ -1571,7 +1573,7 @@ ${ctx.indent}`;
1571
1573
  exports.stringifyPair = stringifyPair;
1572
1574
  });
1573
1575
 
1574
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
1576
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/log.js
1575
1577
  var require_log = __commonJS(function(exports) {
1576
1578
  var node_process = __require("process");
1577
1579
  function debug(logLevel, ...messages) {
@@ -1590,7 +1592,7 @@ var require_log = __commonJS(function(exports) {
1590
1592
  exports.warn = warn;
1591
1593
  });
1592
1594
 
1593
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1595
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1594
1596
  var require_merge = __commonJS(function(exports) {
1595
1597
  var identity = require_identity();
1596
1598
  var Scalar = require_Scalar();
@@ -1622,15 +1624,15 @@ var require_merge = __commonJS(function(exports) {
1622
1624
  if (!identity.isMap(source))
1623
1625
  throw new Error("Merge sources must be maps or map aliases");
1624
1626
  const srcMap = source.toJSON(null, ctx, Map);
1625
- for (const [key, value2] of srcMap) {
1627
+ for (const [key, value] of srcMap) {
1626
1628
  if (map instanceof Map) {
1627
1629
  if (!map.has(key))
1628
- map.set(key, value2);
1630
+ map.set(key, value);
1629
1631
  } else if (map instanceof Set) {
1630
1632
  map.add(key);
1631
1633
  } else if (!Object.prototype.hasOwnProperty.call(map, key)) {
1632
1634
  Object.defineProperty(map, key, {
1633
- value: value2,
1635
+ value,
1634
1636
  writable: true,
1635
1637
  enumerable: true,
1636
1638
  configurable: true
@@ -1647,7 +1649,7 @@ var require_merge = __commonJS(function(exports) {
1647
1649
  exports.merge = merge;
1648
1650
  });
1649
1651
 
1650
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1652
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
1651
1653
  var require_addPairToJSMap = __commonJS(function(exports) {
1652
1654
  var log = require_log();
1653
1655
  var merge = require_merge();
@@ -1708,7 +1710,7 @@ var require_addPairToJSMap = __commonJS(function(exports) {
1708
1710
  exports.addPairToJSMap = addPairToJSMap;
1709
1711
  });
1710
1712
 
1711
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1713
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
1712
1714
  var require_Pair = __commonJS(function(exports) {
1713
1715
  var createNode = require_createNode();
1714
1716
  var stringifyPair = require_stringifyPair();
@@ -1746,15 +1748,15 @@ var require_Pair = __commonJS(function(exports) {
1746
1748
  exports.createPair = createPair;
1747
1749
  });
1748
1750
 
1749
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1751
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
1750
1752
  var require_stringifyCollection = __commonJS(function(exports) {
1751
1753
  var identity = require_identity();
1752
1754
  var stringify = require_stringify();
1753
1755
  var stringifyComment = require_stringifyComment();
1754
1756
  function stringifyCollection(collection, ctx, options) {
1755
1757
  const flow = ctx.inFlow ?? collection.flow;
1756
- const stringify2 = flow ? stringifyFlowCollection : stringifyBlockCollection;
1757
- return stringify2(collection, ctx, options);
1758
+ const stringify = flow ? stringifyFlowCollection : stringifyBlockCollection;
1759
+ return stringify(collection, ctx, options);
1758
1760
  }
1759
1761
  function stringifyBlockCollection({ comment, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) {
1760
1762
  const { indent, options: { commentString } } = ctx;
@@ -1763,13 +1765,13 @@ var require_stringifyCollection = __commonJS(function(exports) {
1763
1765
  const lines = [];
1764
1766
  for (let i = 0;i < items.length; ++i) {
1765
1767
  const item = items[i];
1766
- let comment2 = null;
1768
+ let comment = null;
1767
1769
  if (identity.isNode(item)) {
1768
1770
  if (!chompKeep && item.spaceBefore)
1769
1771
  lines.push("");
1770
1772
  addCommentBefore(ctx, lines, item.commentBefore, chompKeep);
1771
1773
  if (item.comment)
1772
- comment2 = item.comment;
1774
+ comment = item.comment;
1773
1775
  } else if (identity.isPair(item)) {
1774
1776
  const ik = identity.isNode(item.key) ? item.key : null;
1775
1777
  if (ik) {
@@ -1779,12 +1781,12 @@ var require_stringifyCollection = __commonJS(function(exports) {
1779
1781
  }
1780
1782
  }
1781
1783
  chompKeep = false;
1782
- let str2 = stringify.stringify(item, itemCtx, () => comment2 = null, () => chompKeep = true);
1783
- if (comment2)
1784
- str2 += stringifyComment.lineComment(str2, itemIndent, commentString(comment2));
1785
- if (chompKeep && comment2)
1784
+ let str = stringify.stringify(item, itemCtx, () => comment = null, () => chompKeep = true);
1785
+ if (comment)
1786
+ str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
1787
+ if (chompKeep && comment)
1786
1788
  chompKeep = false;
1787
- lines.push(blockItemPrefix + str2);
1789
+ lines.push(blockItemPrefix + str);
1788
1790
  }
1789
1791
  let str;
1790
1792
  if (lines.length === 0) {
@@ -1898,7 +1900,7 @@ ${indent}${end}`;
1898
1900
  exports.stringifyCollection = stringifyCollection;
1899
1901
  });
1900
1902
 
1901
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
1903
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
1902
1904
  var require_YAMLMap = __commonJS(function(exports) {
1903
1905
  var stringifyCollection = require_stringifyCollection();
1904
1906
  var addPairToJSMap = require_addPairToJSMap();
@@ -2025,7 +2027,7 @@ var require_YAMLMap = __commonJS(function(exports) {
2025
2027
  exports.findPair = findPair;
2026
2028
  });
2027
2029
 
2028
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
2030
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
2029
2031
  var require_map = __commonJS(function(exports) {
2030
2032
  var identity = require_identity();
2031
2033
  var YAMLMap = require_YAMLMap();
@@ -2034,17 +2036,17 @@ var require_map = __commonJS(function(exports) {
2034
2036
  default: true,
2035
2037
  nodeClass: YAMLMap.YAMLMap,
2036
2038
  tag: "tag:yaml.org,2002:map",
2037
- resolve(map2, onError) {
2038
- if (!identity.isMap(map2))
2039
+ resolve(map, onError) {
2040
+ if (!identity.isMap(map))
2039
2041
  onError("Expected a mapping for this tag");
2040
- return map2;
2042
+ return map;
2041
2043
  },
2042
2044
  createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)
2043
2045
  };
2044
2046
  exports.map = map;
2045
2047
  });
2046
2048
 
2047
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
2049
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
2048
2050
  var require_YAMLSeq = __commonJS(function(exports) {
2049
2051
  var createNode = require_createNode();
2050
2052
  var stringifyCollection = require_stringifyCollection();
@@ -2137,7 +2139,7 @@ var require_YAMLSeq = __commonJS(function(exports) {
2137
2139
  exports.YAMLSeq = YAMLSeq;
2138
2140
  });
2139
2141
 
2140
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
2142
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
2141
2143
  var require_seq = __commonJS(function(exports) {
2142
2144
  var identity = require_identity();
2143
2145
  var YAMLSeq = require_YAMLSeq();
@@ -2146,17 +2148,17 @@ var require_seq = __commonJS(function(exports) {
2146
2148
  default: true,
2147
2149
  nodeClass: YAMLSeq.YAMLSeq,
2148
2150
  tag: "tag:yaml.org,2002:seq",
2149
- resolve(seq2, onError) {
2150
- if (!identity.isSeq(seq2))
2151
+ resolve(seq, onError) {
2152
+ if (!identity.isSeq(seq))
2151
2153
  onError("Expected a sequence for this tag");
2152
- return seq2;
2154
+ return seq;
2153
2155
  },
2154
2156
  createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)
2155
2157
  };
2156
2158
  exports.seq = seq;
2157
2159
  });
2158
2160
 
2159
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
2161
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
2160
2162
  var require_string = __commonJS(function(exports) {
2161
2163
  var stringifyString = require_stringifyString();
2162
2164
  var string = {
@@ -2172,7 +2174,7 @@ var require_string = __commonJS(function(exports) {
2172
2174
  exports.string = string;
2173
2175
  });
2174
2176
 
2175
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
2177
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
2176
2178
  var require_null = __commonJS(function(exports) {
2177
2179
  var Scalar = require_Scalar();
2178
2180
  var nullTag = {
@@ -2187,7 +2189,7 @@ var require_null = __commonJS(function(exports) {
2187
2189
  exports.nullTag = nullTag;
2188
2190
  });
2189
2191
 
2190
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
2192
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
2191
2193
  var require_bool = __commonJS(function(exports) {
2192
2194
  var Scalar = require_Scalar();
2193
2195
  var boolTag = {
@@ -2208,7 +2210,7 @@ var require_bool = __commonJS(function(exports) {
2208
2210
  exports.boolTag = boolTag;
2209
2211
  });
2210
2212
 
2211
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2213
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
2212
2214
  var require_stringifyNumber = __commonJS(function(exports) {
2213
2215
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2214
2216
  if (typeof value === "bigint")
@@ -2232,7 +2234,7 @@ var require_stringifyNumber = __commonJS(function(exports) {
2232
2234
  exports.stringifyNumber = stringifyNumber;
2233
2235
  });
2234
2236
 
2235
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2237
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
2236
2238
  var require_float = __commonJS(function(exports) {
2237
2239
  var Scalar = require_Scalar();
2238
2240
  var stringifyNumber = require_stringifyNumber();
@@ -2275,7 +2277,7 @@ var require_float = __commonJS(function(exports) {
2275
2277
  exports.floatNaN = floatNaN;
2276
2278
  });
2277
2279
 
2278
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2280
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
2279
2281
  var require_int = __commonJS(function(exports) {
2280
2282
  var stringifyNumber = require_stringifyNumber();
2281
2283
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2317,7 +2319,7 @@ var require_int = __commonJS(function(exports) {
2317
2319
  exports.intOct = intOct;
2318
2320
  });
2319
2321
 
2320
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2322
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
2321
2323
  var require_schema = __commonJS(function(exports) {
2322
2324
  var map = require_map();
2323
2325
  var _null = require_null();
@@ -2342,7 +2344,7 @@ var require_schema = __commonJS(function(exports) {
2342
2344
  exports.schema = schema;
2343
2345
  });
2344
2346
 
2345
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2347
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
2346
2348
  var require_schema2 = __commonJS(function(exports) {
2347
2349
  var Scalar = require_Scalar();
2348
2350
  var map = require_map();
@@ -2406,7 +2408,7 @@ var require_schema2 = __commonJS(function(exports) {
2406
2408
  exports.schema = schema;
2407
2409
  });
2408
2410
 
2409
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2411
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2410
2412
  var require_binary = __commonJS(function(exports) {
2411
2413
  var node_buffer = __require("buffer");
2412
2414
  var Scalar = require_Scalar();
@@ -2461,7 +2463,7 @@ var require_binary = __commonJS(function(exports) {
2461
2463
  exports.binary = binary;
2462
2464
  });
2463
2465
 
2464
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2466
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2465
2467
  var require_pairs = __commonJS(function(exports) {
2466
2468
  var identity = require_identity();
2467
2469
  var Pair = require_Pair();
@@ -2495,8 +2497,8 @@ ${cn.comment}` : item.comment;
2495
2497
  }
2496
2498
  function createPairs(schema, iterable, ctx) {
2497
2499
  const { replacer } = ctx;
2498
- const pairs2 = new YAMLSeq.YAMLSeq(schema);
2499
- pairs2.tag = "tag:yaml.org,2002:pairs";
2500
+ const pairs = new YAMLSeq.YAMLSeq(schema);
2501
+ pairs.tag = "tag:yaml.org,2002:pairs";
2500
2502
  let i = 0;
2501
2503
  if (iterable && Symbol.iterator in Object(iterable))
2502
2504
  for (let it of iterable) {
@@ -2520,9 +2522,9 @@ ${cn.comment}` : item.comment;
2520
2522
  } else {
2521
2523
  key = it;
2522
2524
  }
2523
- pairs2.items.push(Pair.createPair(key, value, ctx));
2525
+ pairs.items.push(Pair.createPair(key, value, ctx));
2524
2526
  }
2525
- return pairs2;
2527
+ return pairs;
2526
2528
  }
2527
2529
  var pairs = {
2528
2530
  collection: "seq",
@@ -2536,7 +2538,7 @@ ${cn.comment}` : item.comment;
2536
2538
  exports.resolvePairs = resolvePairs;
2537
2539
  });
2538
2540
 
2539
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2541
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2540
2542
  var require_omap = __commonJS(function(exports) {
2541
2543
  var identity = require_identity();
2542
2544
  var toJS = require_toJS();
@@ -2576,9 +2578,9 @@ var require_omap = __commonJS(function(exports) {
2576
2578
  }
2577
2579
  static from(schema, iterable, ctx) {
2578
2580
  const pairs$1 = pairs.createPairs(schema, iterable, ctx);
2579
- const omap2 = new this;
2580
- omap2.items = pairs$1.items;
2581
- return omap2;
2581
+ const omap = new this;
2582
+ omap.items = pairs$1.items;
2583
+ return omap;
2582
2584
  }
2583
2585
  }
2584
2586
  YAMLOMap.tag = "tag:yaml.org,2002:omap";
@@ -2608,7 +2610,7 @@ var require_omap = __commonJS(function(exports) {
2608
2610
  exports.omap = omap;
2609
2611
  });
2610
2612
 
2611
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2613
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2612
2614
  var require_bool2 = __commonJS(function(exports) {
2613
2615
  var Scalar = require_Scalar();
2614
2616
  function boolStringify({ value, source }, ctx) {
@@ -2637,7 +2639,7 @@ var require_bool2 = __commonJS(function(exports) {
2637
2639
  exports.trueTag = trueTag;
2638
2640
  });
2639
2641
 
2640
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2642
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
2641
2643
  var require_float2 = __commonJS(function(exports) {
2642
2644
  var Scalar = require_Scalar();
2643
2645
  var stringifyNumber = require_stringifyNumber();
@@ -2683,7 +2685,7 @@ var require_float2 = __commonJS(function(exports) {
2683
2685
  exports.floatNaN = floatNaN;
2684
2686
  });
2685
2687
 
2686
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2688
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
2687
2689
  var require_int2 = __commonJS(function(exports) {
2688
2690
  var stringifyNumber = require_stringifyNumber();
2689
2691
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2704,8 +2706,8 @@ var require_int2 = __commonJS(function(exports) {
2704
2706
  str = `0x${str}`;
2705
2707
  break;
2706
2708
  }
2707
- const n2 = BigInt(str);
2708
- return sign === "-" ? BigInt(-1) * n2 : n2;
2709
+ const n = BigInt(str);
2710
+ return sign === "-" ? BigInt(-1) * n : n;
2709
2711
  }
2710
2712
  const n = parseInt(str, radix);
2711
2713
  return sign === "-" ? -1 * n : n;
@@ -2759,7 +2761,7 @@ var require_int2 = __commonJS(function(exports) {
2759
2761
  exports.intOct = intOct;
2760
2762
  });
2761
2763
 
2762
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
2764
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
2763
2765
  var require_set = __commonJS(function(exports) {
2764
2766
  var identity = require_identity();
2765
2767
  var Pair = require_Pair();
@@ -2809,14 +2811,14 @@ var require_set = __commonJS(function(exports) {
2809
2811
  }
2810
2812
  static from(schema, iterable, ctx) {
2811
2813
  const { replacer } = ctx;
2812
- const set2 = new this(schema);
2814
+ const set = new this(schema);
2813
2815
  if (iterable && Symbol.iterator in Object(iterable))
2814
2816
  for (let value of iterable) {
2815
2817
  if (typeof replacer === "function")
2816
2818
  value = replacer.call(iterable, value, value);
2817
- set2.items.push(Pair.createPair(value, null, ctx));
2819
+ set.items.push(Pair.createPair(value, null, ctx));
2818
2820
  }
2819
- return set2;
2821
+ return set;
2820
2822
  }
2821
2823
  }
2822
2824
  YAMLSet.tag = "tag:yaml.org,2002:set";
@@ -2842,14 +2844,14 @@ var require_set = __commonJS(function(exports) {
2842
2844
  exports.set = set;
2843
2845
  });
2844
2846
 
2845
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2847
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2846
2848
  var require_timestamp = __commonJS(function(exports) {
2847
2849
  var stringifyNumber = require_stringifyNumber();
2848
2850
  function parseSexagesimal(str, asBigInt) {
2849
2851
  const sign = str[0];
2850
2852
  const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
2851
2853
  const num = (n) => asBigInt ? BigInt(n) : Number(n);
2852
- const res = parts.replace(/_/g, "").split(":").reduce((res2, p) => res2 * num(60) + num(p), num(0));
2854
+ const res = parts.replace(/_/g, "").split(":").reduce((res, p) => res * num(60) + num(p), num(0));
2853
2855
  return sign === "-" ? num(-1) * res : res;
2854
2856
  }
2855
2857
  function stringifySexagesimal(node) {
@@ -2924,7 +2926,7 @@ var require_timestamp = __commonJS(function(exports) {
2924
2926
  exports.timestamp = timestamp;
2925
2927
  });
2926
2928
 
2927
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2929
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2928
2930
  var require_schema3 = __commonJS(function(exports) {
2929
2931
  var map = require_map();
2930
2932
  var _null = require_null();
@@ -2965,7 +2967,7 @@ var require_schema3 = __commonJS(function(exports) {
2965
2967
  exports.schema = schema;
2966
2968
  });
2967
2969
 
2968
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
2970
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
2969
2971
  var require_tags = __commonJS(function(exports) {
2970
2972
  var map = require_map();
2971
2973
  var _null = require_null();
@@ -3040,23 +3042,23 @@ var require_tags = __commonJS(function(exports) {
3040
3042
  }
3041
3043
  if (addMergeTag)
3042
3044
  tags = tags.concat(merge.merge);
3043
- return tags.reduce((tags2, tag) => {
3045
+ return tags.reduce((tags, tag) => {
3044
3046
  const tagObj = typeof tag === "string" ? tagsByName[tag] : tag;
3045
3047
  if (!tagObj) {
3046
3048
  const tagName = JSON.stringify(tag);
3047
3049
  const keys = Object.keys(tagsByName).map((key) => JSON.stringify(key)).join(", ");
3048
3050
  throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
3049
3051
  }
3050
- if (!tags2.includes(tagObj))
3051
- tags2.push(tagObj);
3052
- return tags2;
3052
+ if (!tags.includes(tagObj))
3053
+ tags.push(tagObj);
3054
+ return tags;
3053
3055
  }, []);
3054
3056
  }
3055
3057
  exports.coreKnownTags = coreKnownTags;
3056
3058
  exports.getTags = getTags;
3057
3059
  });
3058
3060
 
3059
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
3061
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
3060
3062
  var require_Schema = __commonJS(function(exports) {
3061
3063
  var identity = require_identity();
3062
3064
  var map = require_map();
@@ -3086,7 +3088,7 @@ var require_Schema = __commonJS(function(exports) {
3086
3088
  exports.Schema = Schema;
3087
3089
  });
3088
3090
 
3089
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
3091
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
3090
3092
  var require_stringifyDocument = __commonJS(function(exports) {
3091
3093
  var identity = require_identity();
3092
3094
  var stringify = require_stringify();
@@ -3166,7 +3168,7 @@ var require_stringifyDocument = __commonJS(function(exports) {
3166
3168
  exports.stringifyDocument = stringifyDocument;
3167
3169
  });
3168
3170
 
3169
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
3171
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
3170
3172
  var require_Document = __commonJS(function(exports) {
3171
3173
  var Alias = require_Alias();
3172
3174
  var Collection = require_Collection();
@@ -3376,8 +3378,8 @@ var require_Document = __commonJS(function(exports) {
3376
3378
  };
3377
3379
  const res = toJS.toJS(this.contents, jsonArg ?? "", ctx);
3378
3380
  if (typeof onAnchor === "function")
3379
- for (const { count, res: res2 } of ctx.anchors.values())
3380
- onAnchor(res2, count);
3381
+ for (const { count, res } of ctx.anchors.values())
3382
+ onAnchor(res, count);
3381
3383
  return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
3382
3384
  }
3383
3385
  toJSON(jsonArg, onAnchor) {
@@ -3401,7 +3403,7 @@ var require_Document = __commonJS(function(exports) {
3401
3403
  exports.Document = Document;
3402
3404
  });
3403
3405
 
3404
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
3406
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/errors.js
3405
3407
  var require_errors = __commonJS(function(exports) {
3406
3408
  class YAMLError extends Error {
3407
3409
  constructor(name, pos, code, message) {
@@ -3466,7 +3468,7 @@ ${pointer}
3466
3468
  exports.prettifyError = prettifyError;
3467
3469
  });
3468
3470
 
3469
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3471
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
3470
3472
  var require_resolve_props = __commonJS(function(exports) {
3471
3473
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3472
3474
  let spaceBefore = false;
@@ -3596,7 +3598,7 @@ var require_resolve_props = __commonJS(function(exports) {
3596
3598
  exports.resolveProps = resolveProps;
3597
3599
  });
3598
3600
 
3599
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3601
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
3600
3602
  var require_util_contains_newline = __commonJS(function(exports) {
3601
3603
  function containsNewline(key) {
3602
3604
  if (!key)
@@ -3636,7 +3638,7 @@ var require_util_contains_newline = __commonJS(function(exports) {
3636
3638
  exports.containsNewline = containsNewline;
3637
3639
  });
3638
3640
 
3639
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3641
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
3640
3642
  var require_util_flow_indent_check = __commonJS(function(exports) {
3641
3643
  var utilContainsNewline = require_util_contains_newline();
3642
3644
  function flowIndentCheck(indent, fc, onError) {
@@ -3651,7 +3653,7 @@ var require_util_flow_indent_check = __commonJS(function(exports) {
3651
3653
  exports.flowIndentCheck = flowIndentCheck;
3652
3654
  });
3653
3655
 
3654
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3656
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
3655
3657
  var require_util_map_includes = __commonJS(function(exports) {
3656
3658
  var identity = require_identity();
3657
3659
  function mapIncludes(ctx, items, search) {
@@ -3664,7 +3666,7 @@ var require_util_map_includes = __commonJS(function(exports) {
3664
3666
  exports.mapIncludes = mapIncludes;
3665
3667
  });
3666
3668
 
3667
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3669
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
3668
3670
  var require_resolve_block_map = __commonJS(function(exports) {
3669
3671
  var Pair = require_Pair();
3670
3672
  var YAMLMap = require_YAMLMap();
@@ -3771,7 +3773,7 @@ var require_resolve_block_map = __commonJS(function(exports) {
3771
3773
  exports.resolveBlockMap = resolveBlockMap;
3772
3774
  });
3773
3775
 
3774
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
3776
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
3775
3777
  var require_resolve_block_seq = __commonJS(function(exports) {
3776
3778
  var YAMLSeq = require_YAMLSeq();
3777
3779
  var resolveProps = require_resolve_props();
@@ -3819,7 +3821,7 @@ var require_resolve_block_seq = __commonJS(function(exports) {
3819
3821
  exports.resolveBlockSeq = resolveBlockSeq;
3820
3822
  });
3821
3823
 
3822
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
3824
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
3823
3825
  var require_resolve_end = __commonJS(function(exports) {
3824
3826
  function resolveEnd(end, offset, reqSpace, onError) {
3825
3827
  let comment = "";
@@ -3859,7 +3861,7 @@ var require_resolve_end = __commonJS(function(exports) {
3859
3861
  exports.resolveEnd = resolveEnd;
3860
3862
  });
3861
3863
 
3862
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
3864
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
3863
3865
  var require_resolve_flow_collection = __commonJS(function(exports) {
3864
3866
  var identity = require_identity();
3865
3867
  var Pair = require_Pair();
@@ -4050,7 +4052,7 @@ var require_resolve_flow_collection = __commonJS(function(exports) {
4050
4052
  exports.resolveFlowCollection = resolveFlowCollection;
4051
4053
  });
4052
4054
 
4053
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
4055
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
4054
4056
  var require_compose_collection = __commonJS(function(exports) {
4055
4057
  var identity = require_identity();
4056
4058
  var Scalar = require_Scalar();
@@ -4112,7 +4114,7 @@ var require_compose_collection = __commonJS(function(exports) {
4112
4114
  exports.composeCollection = composeCollection;
4113
4115
  });
4114
4116
 
4115
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
4117
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
4116
4118
  var require_resolve_block_scalar = __commonJS(function(exports) {
4117
4119
  var Scalar = require_Scalar();
4118
4120
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -4131,12 +4133,12 @@ var require_resolve_block_scalar = __commonJS(function(exports) {
4131
4133
  break;
4132
4134
  }
4133
4135
  if (chompStart === 0) {
4134
- const value2 = header.chomp === "+" && lines.length > 0 ? `
4136
+ const value = header.chomp === "+" && lines.length > 0 ? `
4135
4137
  `.repeat(Math.max(1, lines.length - 1)) : "";
4136
- let end2 = start + header.length;
4138
+ let end = start + header.length;
4137
4139
  if (scalar.source)
4138
- end2 += scalar.source.length;
4139
- return { value: value2, type, comment: header.comment, range: [start, end2, end2] };
4140
+ end += scalar.source.length;
4141
+ return { value, type, comment: header.comment, range: [start, end, end] };
4140
4142
  }
4141
4143
  let trimIndent = scalar.indent + header.indent;
4142
4144
  let offset = scalar.offset + header.length;
@@ -4305,7 +4307,7 @@ var require_resolve_block_scalar = __commonJS(function(exports) {
4305
4307
  exports.resolveBlockScalar = resolveBlockScalar;
4306
4308
  });
4307
4309
 
4308
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4310
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4309
4311
  var require_resolve_flow_scalar = __commonJS(function(exports) {
4310
4312
  var Scalar = require_Scalar();
4311
4313
  var resolveEnd = require_resolve_end();
@@ -4370,33 +4372,32 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4370
4372
  }
4371
4373
  if (badChar)
4372
4374
  onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
4373
- return foldLines(source);
4375
+ return unfoldLines(source);
4374
4376
  }
4375
4377
  function singleQuotedValue(source, onError) {
4376
4378
  if (source[source.length - 1] !== "'" || source.length === 1)
4377
4379
  onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
4378
- return foldLines(source.slice(1, -1)).replace(/''/g, "'");
4380
+ return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
4379
4381
  }
4380
- function foldLines(source) {
4381
- let first, line;
4382
+ function unfoldLines(source) {
4383
+ const line = /(.*?)\r?\n/sy;
4384
+ let match = line.exec(source);
4385
+ if (!match)
4386
+ return source;
4387
+ let trimEnd, trimBoth;
4382
4388
  try {
4383
- first = new RegExp(`(.*?)(?<![ ])[ ]*\r?
4384
- `, "sy");
4385
- line = new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
4386
- `, "sy");
4389
+ trimEnd = new RegExp("(?<![ \t])[ \t]+$");
4390
+ trimBoth = new RegExp("^[ \t]+|(?<![ \t])[ \t]+$", "g");
4387
4391
  } catch {
4388
- first = /(.*?)[ \t]*\r?\n/sy;
4389
- line = /[ \t]*(.*?)[ \t]*\r?\n/sy;
4392
+ trimEnd = /[ \t]+$/;
4393
+ trimBoth = /^[ \t]+|[ \t]+$/g;
4390
4394
  }
4391
- let match = first.exec(source);
4392
- if (!match)
4393
- return source;
4394
- let res = match[1];
4395
+ let res = match[1].replace(trimEnd, "");
4395
4396
  let sep = " ";
4396
- let pos = first.lastIndex;
4397
- line.lastIndex = pos;
4397
+ let pos = line.lastIndex;
4398
4398
  while (match = line.exec(source)) {
4399
- if (match[1] === "") {
4399
+ const lm = match[1].replace(trimBoth, "");
4400
+ if (lm === "") {
4400
4401
  if (sep === `
4401
4402
  `)
4402
4403
  res += sep;
@@ -4404,7 +4405,7 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4404
4405
  sep = `
4405
4406
  `;
4406
4407
  } else {
4407
- res += sep + match[1];
4408
+ res += sep + lm;
4408
4409
  sep = " ";
4409
4410
  }
4410
4411
  pos = line.lastIndex;
@@ -4522,7 +4523,7 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4522
4523
  exports.resolveFlowScalar = resolveFlowScalar;
4523
4524
  });
4524
4525
 
4525
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4526
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
4526
4527
  var require_compose_scalar = __commonJS(function(exports) {
4527
4528
  var identity = require_identity();
4528
4529
  var Scalar = require_Scalar();
@@ -4585,9 +4586,9 @@ var require_compose_scalar = __commonJS(function(exports) {
4585
4586
  return schema[identity.SCALAR];
4586
4587
  }
4587
4588
  function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) {
4588
- const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity.SCALAR];
4589
+ const tag = schema.tags.find((tag) => (tag.default === true || atKey && tag.default === "key") && tag.test?.test(value)) || schema[identity.SCALAR];
4589
4590
  if (schema.compat) {
4590
- const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity.SCALAR];
4591
+ const compat = schema.compat.find((tag) => tag.default && tag.test?.test(value)) ?? schema[identity.SCALAR];
4591
4592
  if (tag.tag !== compat.tag) {
4592
4593
  const ts = directives.tagString(tag.tag);
4593
4594
  const cs = directives.tagString(compat.tag);
@@ -4600,7 +4601,7 @@ var require_compose_scalar = __commonJS(function(exports) {
4600
4601
  exports.composeScalar = composeScalar;
4601
4602
  });
4602
4603
 
4603
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4604
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4604
4605
  var require_util_empty_scalar_position = __commonJS(function(exports) {
4605
4606
  function emptyScalarPosition(offset, before, pos) {
4606
4607
  if (before) {
@@ -4627,7 +4628,7 @@ var require_util_empty_scalar_position = __commonJS(function(exports) {
4627
4628
  exports.emptyScalarPosition = emptyScalarPosition;
4628
4629
  });
4629
4630
 
4630
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4631
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
4631
4632
  var require_compose_node = __commonJS(function(exports) {
4632
4633
  var Alias = require_Alias();
4633
4634
  var identity = require_identity();
@@ -4730,7 +4731,7 @@ var require_compose_node = __commonJS(function(exports) {
4730
4731
  exports.composeNode = composeNode;
4731
4732
  });
4732
4733
 
4733
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4734
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
4734
4735
  var require_compose_doc = __commonJS(function(exports) {
4735
4736
  var Document = require_Document();
4736
4737
  var composeNode = require_compose_node();
@@ -4770,7 +4771,7 @@ var require_compose_doc = __commonJS(function(exports) {
4770
4771
  exports.composeDoc = composeDoc;
4771
4772
  });
4772
4773
 
4773
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
4774
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
4774
4775
  var require_composer = __commonJS(function(exports) {
4775
4776
  var node_process = __require("process");
4776
4777
  var directives = require_directives();
@@ -4961,7 +4962,7 @@ ${end.comment}` : end.comment;
4961
4962
  exports.Composer = Composer;
4962
4963
  });
4963
4964
 
4964
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
4965
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
4965
4966
  var require_cst_scalar = __commonJS(function(exports) {
4966
4967
  var resolveBlockScalar = require_resolve_block_scalar();
4967
4968
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5151,7 +5152,7 @@ var require_cst_scalar = __commonJS(function(exports) {
5151
5152
  exports.setScalarValue = setScalarValue;
5152
5153
  });
5153
5154
 
5154
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
5155
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
5155
5156
  var require_cst_stringify = __commonJS(function(exports) {
5156
5157
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5157
5158
  function stringifyToken(token) {
@@ -5209,7 +5210,7 @@ var require_cst_stringify = __commonJS(function(exports) {
5209
5210
  exports.stringify = stringify;
5210
5211
  });
5211
5212
 
5212
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
5213
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
5213
5214
  var require_cst_visit = __commonJS(function(exports) {
5214
5215
  var BREAK = Symbol("break visit");
5215
5216
  var SKIP = Symbol("skip children");
@@ -5268,7 +5269,7 @@ var require_cst_visit = __commonJS(function(exports) {
5268
5269
  exports.visit = visit;
5269
5270
  });
5270
5271
 
5271
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
5272
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
5272
5273
  var require_cst = __commonJS(function(exports) {
5273
5274
  var cstScalar = require_cst_scalar();
5274
5275
  var cstStringify = require_cst_stringify();
@@ -5369,7 +5370,7 @@ var require_cst = __commonJS(function(exports) {
5369
5370
  exports.tokenType = tokenType;
5370
5371
  });
5371
5372
 
5372
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5373
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
5373
5374
  var require_lexer = __commonJS(function(exports) {
5374
5375
  var cst = require_cst();
5375
5376
  function isEmpty(ch) {
@@ -5743,18 +5744,18 @@ var require_lexer = __commonJS(function(exports) {
5743
5744
  let indent = 0;
5744
5745
  let ch;
5745
5746
  loop:
5746
- for (let i2 = this.pos;ch = this.buffer[i2]; ++i2) {
5747
+ for (let i = this.pos;ch = this.buffer[i]; ++i) {
5747
5748
  switch (ch) {
5748
5749
  case " ":
5749
5750
  indent += 1;
5750
5751
  break;
5751
5752
  case `
5752
5753
  `:
5753
- nl = i2;
5754
+ nl = i;
5754
5755
  indent = 0;
5755
5756
  break;
5756
5757
  case "\r": {
5757
- const next = this.buffer[i2 + 1];
5758
+ const next = this.buffer[i + 1];
5758
5759
  if (!next && !this.atEnd)
5759
5760
  return this.setNext("block-scalar");
5760
5761
  if (next === `
@@ -5797,16 +5798,16 @@ var require_lexer = __commonJS(function(exports) {
5797
5798
  nl = i - 1;
5798
5799
  } else if (!this.blockScalarKeep) {
5799
5800
  do {
5800
- let i2 = nl - 1;
5801
- let ch2 = this.buffer[i2];
5802
- if (ch2 === "\r")
5803
- ch2 = this.buffer[--i2];
5804
- const lastChar = i2;
5805
- while (ch2 === " ")
5806
- ch2 = this.buffer[--i2];
5807
- if (ch2 === `
5808
- ` && i2 >= this.pos && i2 + 1 + indent > lastChar)
5809
- nl = i2;
5801
+ let i = nl - 1;
5802
+ let ch = this.buffer[i];
5803
+ if (ch === "\r")
5804
+ ch = this.buffer[--i];
5805
+ const lastChar = i;
5806
+ while (ch === " ")
5807
+ ch = this.buffer[--i];
5808
+ if (ch === `
5809
+ ` && i >= this.pos && i + 1 + indent > lastChar)
5810
+ nl = i;
5810
5811
  else
5811
5812
  break;
5812
5813
  } while (true);
@@ -5966,7 +5967,7 @@ var require_lexer = __commonJS(function(exports) {
5966
5967
  exports.Lexer = Lexer;
5967
5968
  });
5968
5969
 
5969
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
5970
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
5970
5971
  var require_line_counter = __commonJS(function(exports) {
5971
5972
  class LineCounter {
5972
5973
  constructor() {
@@ -5994,7 +5995,7 @@ var require_line_counter = __commonJS(function(exports) {
5994
5995
  exports.LineCounter = LineCounter;
5995
5996
  });
5996
5997
 
5997
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
5998
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
5998
5999
  var require_parser = __commonJS(function(exports) {
5999
6000
  var node_process = __require("process");
6000
6001
  var cst = require_cst();
@@ -6493,12 +6494,12 @@ var require_parser = __commonJS(function(exports) {
6493
6494
  if (includesToken(it.start, "newline")) {
6494
6495
  Object.assign(it, { key: null, sep: [this.sourceToken] });
6495
6496
  } else {
6496
- const start2 = getFirstKeyStartProps(it.start);
6497
+ const start = getFirstKeyStartProps(it.start);
6497
6498
  this.stack.push({
6498
6499
  type: "block-map",
6499
6500
  offset: this.offset,
6500
6501
  indent: this.indent,
6501
- items: [{ start: start2, key: null, sep: [this.sourceToken] }]
6502
+ items: [{ start, key: null, sep: [this.sourceToken] }]
6502
6503
  });
6503
6504
  }
6504
6505
  } else if (it.value) {
@@ -6511,7 +6512,7 @@ var require_parser = __commonJS(function(exports) {
6511
6512
  items: [{ start, key: null, sep: [this.sourceToken] }]
6512
6513
  });
6513
6514
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
6514
- const start2 = getFirstKeyStartProps(it.start);
6515
+ const start = getFirstKeyStartProps(it.start);
6515
6516
  const key = it.key;
6516
6517
  const sep = it.sep;
6517
6518
  sep.push(this.sourceToken);
@@ -6521,7 +6522,7 @@ var require_parser = __commonJS(function(exports) {
6521
6522
  type: "block-map",
6522
6523
  offset: this.offset,
6523
6524
  indent: this.indent,
6524
- items: [{ start: start2, key, sep }]
6525
+ items: [{ start, key, sep }]
6525
6526
  });
6526
6527
  } else if (start.length > 0) {
6527
6528
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -6850,7 +6851,7 @@ var require_parser = __commonJS(function(exports) {
6850
6851
  exports.Parser = Parser;
6851
6852
  });
6852
6853
 
6853
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
6854
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/public-api.js
6854
6855
  var require_public_api = __commonJS(function(exports) {
6855
6856
  var composer = require_composer();
6856
6857
  var Document = require_Document();
@@ -6865,22 +6866,22 @@ var require_public_api = __commonJS(function(exports) {
6865
6866
  return { lineCounter: lineCounter$1, prettyErrors };
6866
6867
  }
6867
6868
  function parseAllDocuments(source, options = {}) {
6868
- const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
6869
- const parser$1 = new parser.Parser(lineCounter2?.addNewLine);
6869
+ const { lineCounter, prettyErrors } = parseOptions(options);
6870
+ const parser$1 = new parser.Parser(lineCounter?.addNewLine);
6870
6871
  const composer$1 = new composer.Composer(options);
6871
6872
  const docs = Array.from(composer$1.compose(parser$1.parse(source)));
6872
- if (prettyErrors && lineCounter2)
6873
+ if (prettyErrors && lineCounter)
6873
6874
  for (const doc of docs) {
6874
- doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6875
- doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6875
+ doc.errors.forEach(errors.prettifyError(source, lineCounter));
6876
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter));
6876
6877
  }
6877
6878
  if (docs.length > 0)
6878
6879
  return docs;
6879
6880
  return Object.assign([], { empty: true }, composer$1.streamInfo());
6880
6881
  }
6881
6882
  function parseDocument(source, options = {}) {
6882
- const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options);
6883
- const parser$1 = new parser.Parser(lineCounter2?.addNewLine);
6883
+ const { lineCounter, prettyErrors } = parseOptions(options);
6884
+ const parser$1 = new parser.Parser(lineCounter?.addNewLine);
6884
6885
  const composer$1 = new composer.Composer(options);
6885
6886
  let doc = null;
6886
6887
  for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) {
@@ -6891,9 +6892,9 @@ var require_public_api = __commonJS(function(exports) {
6891
6892
  break;
6892
6893
  }
6893
6894
  }
6894
- if (prettyErrors && lineCounter2) {
6895
- doc.errors.forEach(errors.prettifyError(source, lineCounter2));
6896
- doc.warnings.forEach(errors.prettifyError(source, lineCounter2));
6895
+ if (prettyErrors && lineCounter) {
6896
+ doc.errors.forEach(errors.prettifyError(source, lineCounter));
6897
+ doc.warnings.forEach(errors.prettifyError(source, lineCounter));
6897
6898
  }
6898
6899
  return doc;
6899
6900
  }
@@ -6949,7 +6950,7 @@ import { goke } from "goke";
6949
6950
  // package.json
6950
6951
  var package_default = {
6951
6952
  name: "@marcusrbrown/infra",
6952
- version: "0.22.0",
6953
+ version: "0.23.0",
6953
6954
  description: "Infrastructure management CLI \u2014 deploy automation, health checks, and MCP bridge",
6954
6955
  keywords: [
6955
6956
  "infra",
@@ -6993,7 +6994,7 @@ var package_default = {
6993
6994
  devDependencies: {
6994
6995
  "@marcusrbrown/infra-shared": "workspace:*",
6995
6996
  "@modelcontextprotocol/sdk": "1.30.0",
6996
- yaml: "2.9.0"
6997
+ yaml: "2.9.1"
6997
6998
  },
6998
6999
  engines: {
6999
7000
  bun: ">=1.0.0"
@@ -7011,7 +7012,7 @@ import { z as z5 } from "zod";
7011
7012
  // src/commands/agent/setup-core/gh.ts
7012
7013
  import { confirm, log, spinner } from "@clack/prompts";
7013
7014
 
7014
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
7015
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/index.js
7015
7016
  var composer = require_composer();
7016
7017
  var Document = require_Document();
7017
7018
  var Schema = require_Schema();
@@ -7201,8 +7202,8 @@ function readablePipe(pipe) {
7201
7202
  throw new Error("CLI subprocess did not expose piped output.");
7202
7203
  return pipe;
7203
7204
  }
7204
- function redactExactValues(text2, values) {
7205
- let redacted = text2;
7205
+ function redactExactValues(text, values) {
7206
+ let redacted = text;
7206
7207
  for (const value of new Set(values)) {
7207
7208
  if (value.length > 0)
7208
7209
  redacted = redacted.split(value).join("[REDACTED]");
@@ -7270,8 +7271,8 @@ async function runCommand(command, args, timeoutMs = COMMAND_TIMEOUT_MS, stdin,
7270
7271
  async function runGh(args) {
7271
7272
  return runCommand("gh", args);
7272
7273
  }
7273
- function isGhRateLimitError(text2) {
7274
- return /rate limit/i.test(text2);
7274
+ function isGhRateLimitError(text) {
7275
+ return /rate limit/i.test(text);
7275
7276
  }
7276
7277
  async function queryRateLimitReset() {
7277
7278
  try {
@@ -7383,9 +7384,9 @@ async function deleteManagementApiKey(baseUrl, managementKey, keyValue) {
7383
7384
  }
7384
7385
  async function applyGhValue(kind, name, repo, value) {
7385
7386
  if (kind === "secret") {
7386
- const result2 = await runCommand("gh", ["secret", "set", name, "--repo", repo], COMMAND_TIMEOUT_MS, value);
7387
- if (result2.exitCode !== 0)
7388
- throw new Error(`gh secret set ${name} failed: ${result2.stderr.trim()}`.trim());
7387
+ const result = await runCommand("gh", ["secret", "set", name, "--repo", repo], COMMAND_TIMEOUT_MS, value);
7388
+ if (result.exitCode !== 0)
7389
+ throw new Error(`gh secret set ${name} failed: ${result.stderr.trim()}`.trim());
7389
7390
  return;
7390
7391
  }
7391
7392
  const result = await runGh([kind, "set", name, "--repo", repo, "--body", value]);
@@ -7975,13 +7976,13 @@ function buildCannotVerifyMessage(repo, writtenSecretNames, writtenVariableNames
7975
7976
  const variablePart = writtenVariableNames.length > 0 ? `gh variable list --repo ${repo} (expect: ${writtenVariableNames.join(", ")})` : `gh variable list --repo ${repo}`;
7976
7977
  return `Post-write readback: could not verify the written names are visible in ${repo} ` + `(the GitHub list call failed). Verify manually: ${secretPart}; ${variablePart}.`;
7977
7978
  }
7978
- async function verifyWrittenNamesVisible(repo, writtenSecretNames, writtenVariableNames, listExistingGhNames2) {
7979
+ async function verifyWrittenNamesVisible(repo, writtenSecretNames, writtenVariableNames, listExistingGhNames) {
7979
7980
  try {
7980
7981
  let secretReadback;
7981
7982
  let variableReadback;
7982
7983
  let readbackFailed = false;
7983
7984
  try {
7984
- secretReadback = await listExistingGhNames2(repo, "secret");
7985
+ secretReadback = await listExistingGhNames(repo, "secret");
7985
7986
  } catch {
7986
7987
  readbackFailed = true;
7987
7988
  secretReadback = [];
@@ -7990,7 +7991,7 @@ async function verifyWrittenNamesVisible(repo, writtenSecretNames, writtenVariab
7990
7991
  variableReadback = [];
7991
7992
  } else {
7992
7993
  try {
7993
- variableReadback = await listExistingGhNames2(repo, "variable");
7994
+ variableReadback = await listExistingGhNames(repo, "variable");
7994
7995
  } catch {
7995
7996
  readbackFailed = true;
7996
7997
  variableReadback = [];
@@ -8873,7 +8874,7 @@ function validateNeedsGraph(analyses, violations) {
8873
8874
  }
8874
8875
  const visiting = new Set;
8875
8876
  const visited = new Set;
8876
- const visit2 = (jobId) => {
8877
+ const visit = (jobId) => {
8877
8878
  if (visiting.has(jobId)) {
8878
8879
  violations.push(`Job needs graph contains a cycle involving '${jobId}'.`);
8879
8880
  return;
@@ -8883,13 +8884,13 @@ function validateNeedsGraph(analyses, violations) {
8883
8884
  visiting.add(jobId);
8884
8885
  for (const need of analyses.get(jobId)?.needs ?? []) {
8885
8886
  if (analyses.has(need))
8886
- visit2(need);
8887
+ visit(need);
8887
8888
  }
8888
8889
  visiting.delete(jobId);
8889
8890
  visited.add(jobId);
8890
8891
  };
8891
8892
  for (const jobId of analyses.keys())
8892
- visit2(jobId);
8893
+ visit(jobId);
8893
8894
  }
8894
8895
  function formatStorageWorkflowSnippet() {
8895
8896
  return `jobs:
@@ -9619,14 +9620,14 @@ function registerBrokerDeploy(cli) {
9619
9620
  console.log(`- BROKER_DOMAIN=${env.BROKER_DOMAIN || "(unset)"}`);
9620
9621
  return;
9621
9622
  }
9622
- const child2 = Bun.spawn(command, {
9623
+ const child = Bun.spawn(command, {
9623
9624
  env,
9624
9625
  stdout: "inherit",
9625
9626
  stderr: "inherit"
9626
9627
  });
9627
- const exitCode2 = await child2.exited;
9628
- if (exitCode2 !== 0) {
9629
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
9628
+ const exitCode = await child.exited;
9629
+ if (exitCode !== 0) {
9630
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
9630
9631
  }
9631
9632
  return;
9632
9633
  }
@@ -10049,14 +10050,14 @@ function registerCliproxyDeploy(cli) {
10049
10050
  console.log(`- CLIPROXY_DOMAIN=${env.CLIPROXY_DOMAIN || "(unset)"}`);
10050
10051
  return;
10051
10052
  }
10052
- const child2 = Bun.spawn(command, {
10053
+ const child = Bun.spawn(command, {
10053
10054
  env,
10054
10055
  stdout: "inherit",
10055
10056
  stderr: "inherit"
10056
10057
  });
10057
- const exitCode2 = await child2.exited;
10058
- if (exitCode2 !== 0) {
10059
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
10058
+ const exitCode = await child.exited;
10059
+ if (exitCode !== 0) {
10060
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
10060
10061
  }
10061
10062
  return;
10062
10063
  }
@@ -10391,11 +10392,11 @@ import { z as z16 } from "zod";
10391
10392
  import { z as z15 } from "zod";
10392
10393
 
10393
10394
  // src/lib/redact.ts
10394
- function redactHost(text4, host) {
10395
+ function redactHost(text, host) {
10395
10396
  if (!host)
10396
- return text4;
10397
+ return text;
10397
10398
  const escaped = host.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`);
10398
- return text4.replaceAll(new RegExp(escaped, "gi"), "<host>");
10399
+ return text.replaceAll(new RegExp(escaped, "gi"), "<host>");
10399
10400
  }
10400
10401
 
10401
10402
  // ../shared/server/droplet-helpers.ts
@@ -10547,7 +10548,7 @@ async function checkUsageStats(baseUrl, key) {
10547
10548
  };
10548
10549
  }
10549
10550
  const total = payload.length;
10550
- const errors2 = countQueueErrors(payload);
10551
+ const errors = countQueueErrors(payload);
10551
10552
  if (total === 0) {
10552
10553
  return {
10553
10554
  title: "Usage stats",
@@ -10557,8 +10558,8 @@ async function checkUsageStats(baseUrl, key) {
10557
10558
  }
10558
10559
  return {
10559
10560
  title: "Usage stats",
10560
- level: errors2 > 0 ? "warning" : "ok",
10561
- summary: errors2 > 0 ? `recent: ${total}, errors: ${errors2}` : `recent: ${total}`
10561
+ level: errors > 0 ? "warning" : "ok",
10562
+ summary: errors > 0 ? `recent: ${total}, errors: ${errors}` : `recent: ${total}`
10562
10563
  };
10563
10564
  } catch (error) {
10564
10565
  const message = error instanceof Error ? error.message : String(error);
@@ -10614,8 +10615,8 @@ async function checkRunningVersion(host, spawn = defaultSpawn) {
10614
10615
  try {
10615
10616
  validateCliproxyHost(host);
10616
10617
  const knownHostsArgs = buildKnownHostsArgs();
10617
- const identity2 = buildIdentityArgs(process.env.CLIPROXY_SSH_KEY);
10618
- cleanup = identity2.cleanup;
10618
+ const identity = buildIdentityArgs(process.env.CLIPROXY_SSH_KEY);
10619
+ cleanup = identity.cleanup;
10619
10620
  const sshCmd = [
10620
10621
  "ssh",
10621
10622
  "-o",
@@ -10625,7 +10626,7 @@ async function checkRunningVersion(host, spawn = defaultSpawn) {
10625
10626
  "-o",
10626
10627
  "StrictHostKeyChecking=yes",
10627
10628
  ...knownHostsArgs,
10628
- ...identity2.args,
10629
+ ...identity.args,
10629
10630
  `root@${host}`,
10630
10631
  `docker ps --format '{{.Image}}'`
10631
10632
  ];
@@ -10872,8 +10873,8 @@ function formatUsageSummaryLine(result) {
10872
10873
  }
10873
10874
  const total = Number(recentMatch[1]);
10874
10875
  const errorMatch = /errors:\s*(\d+)/.exec(result.summary);
10875
- const errors2 = errorMatch ? Number(errorMatch[1]) : 0;
10876
- return `Recent requests: ${total}${errors2 > 0 ? `, ${errors2} errors` : ""}`;
10876
+ const errors = errorMatch ? Number(errorMatch[1]) : 0;
10877
+ return `Recent requests: ${total}${errors > 0 ? `, ${errors} errors` : ""}`;
10877
10878
  }
10878
10879
  async function getCliproxyStatusSummary(baseUrl, key, verbose, spawn = defaultSpawn) {
10879
10880
  const normalizedBaseUrl = stripTrailingSlash5(baseUrl);
@@ -10998,7 +10999,7 @@ var githubIssueSchema = z16.object({
10998
10999
  var githubIssuesSchema = z16.array(githubIssueSchema);
10999
11000
  var defaultMonitorRuntime = {
11000
11001
  fetch: globalThis.fetch,
11001
- sleep: (milliseconds) => new Promise((resolve2) => setTimeout(resolve2, milliseconds)),
11002
+ sleep: (milliseconds) => new Promise((resolve) => setTimeout(resolve, milliseconds)),
11002
11003
  ghApi: (token, path, method, body) => runGhApiOnce(token, path, method, body),
11003
11004
  setTimeout,
11004
11005
  clearTimeout
@@ -11289,12 +11290,12 @@ async function cliproxyMonitorAction(options, ctx, runtime = defaultMonitorRunti
11289
11290
  const timestamp = new Date().toISOString();
11290
11291
  try {
11291
11292
  const classification = validation === "live" ? await checkProviderAuthState(proxyUrl, inputs.apiKey) : providerState(validation);
11292
- const finish = (transition, issue2 = [], discord = "none") => {
11293
+ const finish = (transition, issue = [], discord = "none") => {
11293
11294
  const summary = {
11294
11295
  probeState: classification.state,
11295
11296
  probeReason: classification.reason,
11296
11297
  transition,
11297
- issue: issue2,
11298
+ issue,
11298
11299
  discord,
11299
11300
  timestamp
11300
11301
  };
@@ -11316,17 +11317,17 @@ async function cliproxyMonitorAction(options, ctx, runtime = defaultMonitorRunti
11316
11317
  return finish("outage", ["created"], "outage-sent");
11317
11318
  }
11318
11319
  if (target === "dead") {
11319
- const currentMarker2 = notifiedState(issue.body, identityMarker);
11320
- const wasOpen2 = issue.state === "open";
11321
- const body = issueBody(identityMarker, "dead", timestamp, currentMarker2 === "dead");
11320
+ const currentMarker = notifiedState(issue.body, identityMarker);
11321
+ const wasOpen = issue.state === "open";
11322
+ const body = issueBody(identityMarker, "dead", timestamp, currentMarker === "dead");
11322
11323
  await updateIssue(client, issue, "open", body);
11323
11324
  issue.state = "open";
11324
- issueActions.push(wasOpen2 ? "updated" : "reopened");
11325
- if (currentMarker2 === "dead" && wasOpen2)
11325
+ issueActions.push(wasOpen ? "updated" : "reopened");
11326
+ if (currentMarker === "dead" && wasOpen)
11326
11327
  return finish("none", issueActions);
11327
11328
  await sendDiscord(inputs.discordWebhook, "dead", timestamp, validation !== "live", runtime);
11328
11329
  await persistNotifiedMarker(client, issue, identityMarker, "dead", timestamp);
11329
- return finish(wasOpen2 ? "notification-retry" : "outage", issueActions, "outage-sent");
11330
+ return finish(wasOpen ? "notification-retry" : "outage", issueActions, "outage-sent");
11330
11331
  }
11331
11332
  const currentMarker = notifiedState(issue.body, identityMarker);
11332
11333
  const wasOpen = issue.state === "open";
@@ -11594,14 +11595,14 @@ function registerDashboardDeploy(cli) {
11594
11595
  return;
11595
11596
  }
11596
11597
  const env = getDashboardDeployEnv();
11597
- const child2 = Bun.spawn(command, {
11598
+ const child = Bun.spawn(command, {
11598
11599
  env,
11599
11600
  stdout: "inherit",
11600
11601
  stderr: "inherit"
11601
11602
  });
11602
- const exitCode2 = await child2.exited;
11603
- if (exitCode2 !== 0) {
11604
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
11603
+ const exitCode = await child.exited;
11604
+ if (exitCode !== 0) {
11605
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
11605
11606
  }
11606
11607
  return;
11607
11608
  }
@@ -12115,14 +12116,14 @@ function registerGatewayDeploy(cli) {
12115
12116
  return;
12116
12117
  }
12117
12118
  const env = getGatewayDeployEnv();
12118
- const child2 = Bun.spawn(command, {
12119
+ const child = Bun.spawn(command, {
12119
12120
  env,
12120
12121
  stdout: "inherit",
12121
12122
  stderr: "inherit"
12122
12123
  });
12123
- const exitCode2 = await child2.exited;
12124
- if (exitCode2 !== 0) {
12125
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
12124
+ const exitCode = await child.exited;
12125
+ if (exitCode !== 0) {
12126
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
12126
12127
  }
12127
12128
  return;
12128
12129
  }
@@ -12618,15 +12619,15 @@ function registerKeewebDeploy(cli) {
12618
12619
  }
12619
12620
  if (options.local) {
12620
12621
  if (options.dryRun) {
12621
- const deployScriptPath2 = resolveDeployScriptPath();
12622
- const args2 = ["bash", deployScriptPath2];
12622
+ const deployScriptPath = resolveDeployScriptPath();
12623
+ const args = ["bash", deployScriptPath];
12623
12624
  if (options.nginx) {
12624
- args2.push("--nginx");
12625
+ args.push("--nginx");
12625
12626
  }
12626
12627
  console.log("Dry run: local KeeWeb deploy");
12627
- console.log(`- deploy script: ${deployScriptPath2}`);
12628
+ console.log(`- deploy script: ${deployScriptPath}`);
12628
12629
  console.log(`- dist check: ${resolveDistIndexPath()}`);
12629
- console.log(`- command: ${args2.join(" ")}`);
12630
+ console.log(`- command: ${args.join(" ")}`);
12630
12631
  return;
12631
12632
  }
12632
12633
  const { deployScriptPath } = validateLocalPreconditions3({ nginx: options.nginx });
@@ -12635,14 +12636,14 @@ function registerKeewebDeploy(cli) {
12635
12636
  if (options.nginx) {
12636
12637
  args.push("--nginx");
12637
12638
  }
12638
- const child2 = Bun.spawn(args, {
12639
+ const child = Bun.spawn(args, {
12639
12640
  env,
12640
12641
  stdout: "inherit",
12641
12642
  stderr: "inherit"
12642
12643
  });
12643
- const exitCode2 = await child2.exited;
12644
- if (exitCode2 !== 0) {
12645
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
12644
+ const exitCode = await child.exited;
12645
+ if (exitCode !== 0) {
12646
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
12646
12647
  }
12647
12648
  return;
12648
12649
  }
@@ -13042,14 +13043,14 @@ function registerUmamiDeploy(cli) {
13042
13043
  return;
13043
13044
  }
13044
13045
  const env = getUmamiDeployEnv();
13045
- const child2 = Bun.spawn(command, {
13046
+ const child = Bun.spawn(command, {
13046
13047
  env,
13047
13048
  stdout: "inherit",
13048
13049
  stderr: "inherit"
13049
13050
  });
13050
- const exitCode2 = await child2.exited;
13051
- if (exitCode2 !== 0) {
13052
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
13051
+ const exitCode = await child.exited;
13052
+ if (exitCode !== 0) {
13053
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
13053
13054
  }
13054
13055
  return;
13055
13056
  }
@@ -13733,14 +13734,14 @@ function registerVpnDeploy(cli) {
13733
13734
  return;
13734
13735
  }
13735
13736
  const env = getVpnDeployEnv();
13736
- const child2 = Bun.spawn(command, {
13737
+ const child = Bun.spawn(command, {
13737
13738
  env,
13738
13739
  stdout: "inherit",
13739
13740
  stderr: "inherit"
13740
13741
  });
13741
- const exitCode2 = await child2.exited;
13742
- if (exitCode2 !== 0) {
13743
- throw new Error(`Local deploy failed with exit code ${exitCode2}`);
13742
+ const exitCode = await child.exited;
13743
+ if (exitCode !== 0) {
13744
+ throw new Error(`Local deploy failed with exit code ${exitCode}`);
13744
13745
  }
13745
13746
  return;
13746
13747
  }