webmux 0.30.0 → 0.31.1

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.
@@ -16,7 +16,7 @@ var __export = (target, all) => {
16
16
  };
17
17
  var __require = import.meta.require;
18
18
 
19
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
19
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
20
20
  var require_identity = __commonJS((exports) => {
21
21
  var ALIAS = Symbol.for("yaml.alias");
22
22
  var DOC = Symbol.for("yaml.document");
@@ -70,7 +70,7 @@ var require_identity = __commonJS((exports) => {
70
70
  exports.isSeq = isSeq;
71
71
  });
72
72
 
73
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
73
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
74
74
  var require_visit = __commonJS((exports) => {
75
75
  var identity = require_identity();
76
76
  var BREAK = Symbol("break visit");
@@ -225,7 +225,7 @@ var require_visit = __commonJS((exports) => {
225
225
  exports.visitAsync = visitAsync;
226
226
  });
227
227
 
228
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
228
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
229
229
  var require_directives = __commonJS((exports) => {
230
230
  var identity = require_identity();
231
231
  var visit = require_visit();
@@ -377,7 +377,7 @@ var require_directives = __commonJS((exports) => {
377
377
  exports.Directives = Directives;
378
378
  });
379
379
 
380
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
380
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
381
381
  var require_anchors = __commonJS((exports) => {
382
382
  var identity = require_identity();
383
383
  var visit = require_visit();
@@ -439,7 +439,7 @@ var require_anchors = __commonJS((exports) => {
439
439
  exports.findNewAnchor = findNewAnchor;
440
440
  });
441
441
 
442
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
442
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
443
443
  var require_applyReviver = __commonJS((exports) => {
444
444
  function applyReviver(reviver, obj, key, val) {
445
445
  if (val && typeof val === "object") {
@@ -486,7 +486,7 @@ var require_applyReviver = __commonJS((exports) => {
486
486
  exports.applyReviver = applyReviver;
487
487
  });
488
488
 
489
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
489
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
490
490
  var require_toJS = __commonJS((exports) => {
491
491
  var identity = require_identity();
492
492
  function toJS(value, arg, ctx) {
@@ -513,7 +513,7 @@ var require_toJS = __commonJS((exports) => {
513
513
  exports.toJS = toJS;
514
514
  });
515
515
 
516
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
516
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
517
517
  var require_Node = __commonJS((exports) => {
518
518
  var applyReviver = require_applyReviver();
519
519
  var identity = require_identity();
@@ -550,7 +550,7 @@ var require_Node = __commonJS((exports) => {
550
550
  exports.NodeBase = NodeBase;
551
551
  });
552
552
 
553
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
553
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
554
554
  var require_Alias = __commonJS((exports) => {
555
555
  var anchors = require_anchors();
556
556
  var visit = require_visit();
@@ -569,6 +569,8 @@ var require_Alias = __commonJS((exports) => {
569
569
  });
570
570
  }
571
571
  resolve(doc, ctx) {
572
+ if (ctx?.maxAliasCount === 0)
573
+ throw new ReferenceError("Alias resolution is disabled");
572
574
  let nodes;
573
575
  if (ctx?.aliasResolveCache) {
574
576
  nodes = ctx.aliasResolveCache;
@@ -658,7 +660,7 @@ var require_Alias = __commonJS((exports) => {
658
660
  exports.Alias = Alias;
659
661
  });
660
662
 
661
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
663
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
662
664
  var require_Scalar = __commonJS((exports) => {
663
665
  var identity = require_identity();
664
666
  var Node = require_Node();
@@ -686,7 +688,7 @@ var require_Scalar = __commonJS((exports) => {
686
688
  exports.isScalarValue = isScalarValue;
687
689
  });
688
690
 
689
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
691
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
690
692
  var require_createNode = __commonJS((exports) => {
691
693
  var Alias = require_Alias();
692
694
  var identity = require_identity();
@@ -758,7 +760,7 @@ var require_createNode = __commonJS((exports) => {
758
760
  exports.createNode = createNode;
759
761
  });
760
762
 
761
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
763
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
762
764
  var require_Collection = __commonJS((exports) => {
763
765
  var createNode = require_createNode();
764
766
  var identity = require_identity();
@@ -873,7 +875,7 @@ var require_Collection = __commonJS((exports) => {
873
875
  exports.isEmptyPath = isEmptyPath;
874
876
  });
875
877
 
876
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
878
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
877
879
  var require_stringifyComment = __commonJS((exports) => {
878
880
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
879
881
  function indentComment(comment, indent) {
@@ -890,7 +892,7 @@ var require_stringifyComment = __commonJS((exports) => {
890
892
  exports.stringifyComment = stringifyComment;
891
893
  });
892
894
 
893
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
895
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
894
896
  var require_foldFlowLines = __commonJS((exports) => {
895
897
  var FOLD_FLOW = "flow";
896
898
  var FOLD_BLOCK = "block";
@@ -1027,7 +1029,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
1027
1029
  exports.foldFlowLines = foldFlowLines;
1028
1030
  });
1029
1031
 
1030
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
1032
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1031
1033
  var require_stringifyString = __commonJS((exports) => {
1032
1034
  var Scalar = require_Scalar();
1033
1035
  var foldFlowLines = require_foldFlowLines();
@@ -1325,7 +1327,7 @@ ${indent}`);
1325
1327
  exports.stringifyString = stringifyString;
1326
1328
  });
1327
1329
 
1328
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
1330
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1329
1331
  var require_stringify = __commonJS((exports) => {
1330
1332
  var anchors = require_anchors();
1331
1333
  var identity = require_identity();
@@ -1446,7 +1448,7 @@ ${ctx.indent}${str}`;
1446
1448
  exports.stringify = stringify;
1447
1449
  });
1448
1450
 
1449
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
1451
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1450
1452
  var require_stringifyPair = __commonJS((exports) => {
1451
1453
  var identity = require_identity();
1452
1454
  var Scalar = require_Scalar();
@@ -1582,7 +1584,7 @@ ${ctx.indent}`;
1582
1584
  exports.stringifyPair = stringifyPair;
1583
1585
  });
1584
1586
 
1585
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
1587
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
1586
1588
  var require_log = __commonJS((exports) => {
1587
1589
  var node_process = __require("process");
1588
1590
  function debug(logLevel, ...messages) {
@@ -1601,7 +1603,7 @@ var require_log = __commonJS((exports) => {
1601
1603
  exports.warn = warn;
1602
1604
  });
1603
1605
 
1604
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1606
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1605
1607
  var require_merge = __commonJS((exports) => {
1606
1608
  var identity = require_identity();
1607
1609
  var Scalar = require_Scalar();
@@ -1618,18 +1620,18 @@ var require_merge = __commonJS((exports) => {
1618
1620
  };
1619
1621
  var isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
1620
1622
  function addMergeToJSMap(ctx, map, value) {
1621
- value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1622
- if (identity.isSeq(value))
1623
- for (const it of value.items)
1623
+ const source = resolveAliasValue(ctx, value);
1624
+ if (identity.isSeq(source))
1625
+ for (const it of source.items)
1624
1626
  mergeValue(ctx, map, it);
1625
- else if (Array.isArray(value))
1626
- for (const it of value)
1627
+ else if (Array.isArray(source))
1628
+ for (const it of source)
1627
1629
  mergeValue(ctx, map, it);
1628
1630
  else
1629
- mergeValue(ctx, map, value);
1631
+ mergeValue(ctx, map, source);
1630
1632
  }
1631
1633
  function mergeValue(ctx, map, value) {
1632
- const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1634
+ const source = resolveAliasValue(ctx, value);
1633
1635
  if (!identity.isMap(source))
1634
1636
  throw new Error("Merge sources must be maps or map aliases");
1635
1637
  const srcMap = source.toJSON(null, ctx, Map);
@@ -1650,12 +1652,15 @@ var require_merge = __commonJS((exports) => {
1650
1652
  }
1651
1653
  return map;
1652
1654
  }
1655
+ function resolveAliasValue(ctx, value) {
1656
+ return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
1657
+ }
1653
1658
  exports.addMergeToJSMap = addMergeToJSMap;
1654
1659
  exports.isMergeKey = isMergeKey;
1655
1660
  exports.merge = merge;
1656
1661
  });
1657
1662
 
1658
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
1663
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1659
1664
  var require_addPairToJSMap = __commonJS((exports) => {
1660
1665
  var log2 = require_log();
1661
1666
  var merge = require_merge();
@@ -1716,7 +1721,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
1716
1721
  exports.addPairToJSMap = addPairToJSMap;
1717
1722
  });
1718
1723
 
1719
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
1724
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1720
1725
  var require_Pair = __commonJS((exports) => {
1721
1726
  var createNode = require_createNode();
1722
1727
  var stringifyPair = require_stringifyPair();
@@ -1754,7 +1759,7 @@ var require_Pair = __commonJS((exports) => {
1754
1759
  exports.createPair = createPair;
1755
1760
  });
1756
1761
 
1757
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
1762
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1758
1763
  var require_stringifyCollection = __commonJS((exports) => {
1759
1764
  var identity = require_identity();
1760
1765
  var stringify = require_stringify();
@@ -1906,7 +1911,7 @@ ${indent}${end}`;
1906
1911
  exports.stringifyCollection = stringifyCollection;
1907
1912
  });
1908
1913
 
1909
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
1914
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
1910
1915
  var require_YAMLMap = __commonJS((exports) => {
1911
1916
  var stringifyCollection = require_stringifyCollection();
1912
1917
  var addPairToJSMap = require_addPairToJSMap();
@@ -2033,7 +2038,7 @@ var require_YAMLMap = __commonJS((exports) => {
2033
2038
  exports.findPair = findPair;
2034
2039
  });
2035
2040
 
2036
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
2041
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
2037
2042
  var require_map = __commonJS((exports) => {
2038
2043
  var identity = require_identity();
2039
2044
  var YAMLMap = require_YAMLMap();
@@ -2052,7 +2057,7 @@ var require_map = __commonJS((exports) => {
2052
2057
  exports.map = map;
2053
2058
  });
2054
2059
 
2055
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
2060
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
2056
2061
  var require_YAMLSeq = __commonJS((exports) => {
2057
2062
  var createNode = require_createNode();
2058
2063
  var stringifyCollection = require_stringifyCollection();
@@ -2145,7 +2150,7 @@ var require_YAMLSeq = __commonJS((exports) => {
2145
2150
  exports.YAMLSeq = YAMLSeq;
2146
2151
  });
2147
2152
 
2148
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
2153
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
2149
2154
  var require_seq = __commonJS((exports) => {
2150
2155
  var identity = require_identity();
2151
2156
  var YAMLSeq = require_YAMLSeq();
@@ -2164,7 +2169,7 @@ var require_seq = __commonJS((exports) => {
2164
2169
  exports.seq = seq;
2165
2170
  });
2166
2171
 
2167
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
2172
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
2168
2173
  var require_string = __commonJS((exports) => {
2169
2174
  var stringifyString = require_stringifyString();
2170
2175
  var string = {
@@ -2180,7 +2185,7 @@ var require_string = __commonJS((exports) => {
2180
2185
  exports.string = string;
2181
2186
  });
2182
2187
 
2183
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
2188
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
2184
2189
  var require_null = __commonJS((exports) => {
2185
2190
  var Scalar = require_Scalar();
2186
2191
  var nullTag = {
@@ -2195,7 +2200,7 @@ var require_null = __commonJS((exports) => {
2195
2200
  exports.nullTag = nullTag;
2196
2201
  });
2197
2202
 
2198
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
2203
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
2199
2204
  var require_bool = __commonJS((exports) => {
2200
2205
  var Scalar = require_Scalar();
2201
2206
  var boolTag = {
@@ -2216,7 +2221,7 @@ var require_bool = __commonJS((exports) => {
2216
2221
  exports.boolTag = boolTag;
2217
2222
  });
2218
2223
 
2219
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
2224
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2220
2225
  var require_stringifyNumber = __commonJS((exports) => {
2221
2226
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2222
2227
  if (typeof value === "bigint")
@@ -2225,7 +2230,7 @@ var require_stringifyNumber = __commonJS((exports) => {
2225
2230
  if (!isFinite(num))
2226
2231
  return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
2227
2232
  let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
2228
- if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
2233
+ if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
2229
2234
  let i = n.indexOf(".");
2230
2235
  if (i < 0) {
2231
2236
  i = n.length;
@@ -2240,7 +2245,7 @@ var require_stringifyNumber = __commonJS((exports) => {
2240
2245
  exports.stringifyNumber = stringifyNumber;
2241
2246
  });
2242
2247
 
2243
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
2248
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2244
2249
  var require_float = __commonJS((exports) => {
2245
2250
  var Scalar = require_Scalar();
2246
2251
  var stringifyNumber = require_stringifyNumber();
@@ -2283,7 +2288,7 @@ var require_float = __commonJS((exports) => {
2283
2288
  exports.floatNaN = floatNaN;
2284
2289
  });
2285
2290
 
2286
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
2291
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2287
2292
  var require_int = __commonJS((exports) => {
2288
2293
  var stringifyNumber = require_stringifyNumber();
2289
2294
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2325,7 +2330,7 @@ var require_int = __commonJS((exports) => {
2325
2330
  exports.intOct = intOct;
2326
2331
  });
2327
2332
 
2328
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
2333
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2329
2334
  var require_schema = __commonJS((exports) => {
2330
2335
  var map = require_map();
2331
2336
  var _null = require_null();
@@ -2350,7 +2355,7 @@ var require_schema = __commonJS((exports) => {
2350
2355
  exports.schema = schema;
2351
2356
  });
2352
2357
 
2353
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
2358
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2354
2359
  var require_schema2 = __commonJS((exports) => {
2355
2360
  var Scalar = require_Scalar();
2356
2361
  var map = require_map();
@@ -2414,7 +2419,7 @@ var require_schema2 = __commonJS((exports) => {
2414
2419
  exports.schema = schema;
2415
2420
  });
2416
2421
 
2417
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2422
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2418
2423
  var require_binary = __commonJS((exports) => {
2419
2424
  var node_buffer = __require("buffer");
2420
2425
  var Scalar = require_Scalar();
@@ -2469,7 +2474,7 @@ var require_binary = __commonJS((exports) => {
2469
2474
  exports.binary = binary;
2470
2475
  });
2471
2476
 
2472
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2477
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2473
2478
  var require_pairs = __commonJS((exports) => {
2474
2479
  var identity = require_identity();
2475
2480
  var Pair = require_Pair();
@@ -2544,7 +2549,7 @@ ${cn.comment}` : item.comment;
2544
2549
  exports.resolvePairs = resolvePairs;
2545
2550
  });
2546
2551
 
2547
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2552
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2548
2553
  var require_omap = __commonJS((exports) => {
2549
2554
  var identity = require_identity();
2550
2555
  var toJS = require_toJS();
@@ -2616,7 +2621,7 @@ var require_omap = __commonJS((exports) => {
2616
2621
  exports.omap = omap;
2617
2622
  });
2618
2623
 
2619
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2624
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2620
2625
  var require_bool2 = __commonJS((exports) => {
2621
2626
  var Scalar = require_Scalar();
2622
2627
  function boolStringify({ value, source }, ctx) {
@@ -2645,7 +2650,7 @@ var require_bool2 = __commonJS((exports) => {
2645
2650
  exports.trueTag = trueTag;
2646
2651
  });
2647
2652
 
2648
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
2653
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2649
2654
  var require_float2 = __commonJS((exports) => {
2650
2655
  var Scalar = require_Scalar();
2651
2656
  var stringifyNumber = require_stringifyNumber();
@@ -2691,7 +2696,7 @@ var require_float2 = __commonJS((exports) => {
2691
2696
  exports.floatNaN = floatNaN;
2692
2697
  });
2693
2698
 
2694
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
2699
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2695
2700
  var require_int2 = __commonJS((exports) => {
2696
2701
  var stringifyNumber = require_stringifyNumber();
2697
2702
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2767,7 +2772,7 @@ var require_int2 = __commonJS((exports) => {
2767
2772
  exports.intOct = intOct;
2768
2773
  });
2769
2774
 
2770
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
2775
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
2771
2776
  var require_set = __commonJS((exports) => {
2772
2777
  var identity = require_identity();
2773
2778
  var Pair = require_Pair();
@@ -2850,7 +2855,7 @@ var require_set = __commonJS((exports) => {
2850
2855
  exports.set = set;
2851
2856
  });
2852
2857
 
2853
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2858
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2854
2859
  var require_timestamp = __commonJS((exports) => {
2855
2860
  var stringifyNumber = require_stringifyNumber();
2856
2861
  function parseSexagesimal(str, asBigInt) {
@@ -2932,7 +2937,7 @@ var require_timestamp = __commonJS((exports) => {
2932
2937
  exports.timestamp = timestamp;
2933
2938
  });
2934
2939
 
2935
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2940
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2936
2941
  var require_schema3 = __commonJS((exports) => {
2937
2942
  var map = require_map();
2938
2943
  var _null = require_null();
@@ -2973,7 +2978,7 @@ var require_schema3 = __commonJS((exports) => {
2973
2978
  exports.schema = schema;
2974
2979
  });
2975
2980
 
2976
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
2981
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
2977
2982
  var require_tags = __commonJS((exports) => {
2978
2983
  var map = require_map();
2979
2984
  var _null = require_null();
@@ -3064,7 +3069,7 @@ var require_tags = __commonJS((exports) => {
3064
3069
  exports.getTags = getTags;
3065
3070
  });
3066
3071
 
3067
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
3072
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
3068
3073
  var require_Schema = __commonJS((exports) => {
3069
3074
  var identity = require_identity();
3070
3075
  var map = require_map();
@@ -3094,7 +3099,7 @@ var require_Schema = __commonJS((exports) => {
3094
3099
  exports.Schema = Schema;
3095
3100
  });
3096
3101
 
3097
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
3102
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
3098
3103
  var require_stringifyDocument = __commonJS((exports) => {
3099
3104
  var identity = require_identity();
3100
3105
  var stringify = require_stringify();
@@ -3174,7 +3179,7 @@ var require_stringifyDocument = __commonJS((exports) => {
3174
3179
  exports.stringifyDocument = stringifyDocument;
3175
3180
  });
3176
3181
 
3177
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
3182
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
3178
3183
  var require_Document = __commonJS((exports) => {
3179
3184
  var Alias = require_Alias();
3180
3185
  var Collection = require_Collection();
@@ -3409,7 +3414,7 @@ var require_Document = __commonJS((exports) => {
3409
3414
  exports.Document = Document;
3410
3415
  });
3411
3416
 
3412
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
3417
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
3413
3418
  var require_errors = __commonJS((exports) => {
3414
3419
  class YAMLError extends Error {
3415
3420
  constructor(name, pos, code, message) {
@@ -3474,7 +3479,7 @@ ${pointer}
3474
3479
  exports.prettifyError = prettifyError;
3475
3480
  });
3476
3481
 
3477
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
3482
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3478
3483
  var require_resolve_props = __commonJS((exports) => {
3479
3484
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3480
3485
  let spaceBefore = false;
@@ -3604,7 +3609,7 @@ var require_resolve_props = __commonJS((exports) => {
3604
3609
  exports.resolveProps = resolveProps;
3605
3610
  });
3606
3611
 
3607
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
3612
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3608
3613
  var require_util_contains_newline = __commonJS((exports) => {
3609
3614
  function containsNewline(key) {
3610
3615
  if (!key)
@@ -3644,7 +3649,7 @@ var require_util_contains_newline = __commonJS((exports) => {
3644
3649
  exports.containsNewline = containsNewline;
3645
3650
  });
3646
3651
 
3647
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
3652
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3648
3653
  var require_util_flow_indent_check = __commonJS((exports) => {
3649
3654
  var utilContainsNewline = require_util_contains_newline();
3650
3655
  function flowIndentCheck(indent, fc, onError) {
@@ -3659,7 +3664,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
3659
3664
  exports.flowIndentCheck = flowIndentCheck;
3660
3665
  });
3661
3666
 
3662
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
3667
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3663
3668
  var require_util_map_includes = __commonJS((exports) => {
3664
3669
  var identity = require_identity();
3665
3670
  function mapIncludes(ctx, items, search) {
@@ -3672,7 +3677,7 @@ var require_util_map_includes = __commonJS((exports) => {
3672
3677
  exports.mapIncludes = mapIncludes;
3673
3678
  });
3674
3679
 
3675
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
3680
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3676
3681
  var require_resolve_block_map = __commonJS((exports) => {
3677
3682
  var Pair = require_Pair();
3678
3683
  var YAMLMap = require_YAMLMap();
@@ -3779,7 +3784,7 @@ var require_resolve_block_map = __commonJS((exports) => {
3779
3784
  exports.resolveBlockMap = resolveBlockMap;
3780
3785
  });
3781
3786
 
3782
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
3787
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
3783
3788
  var require_resolve_block_seq = __commonJS((exports) => {
3784
3789
  var YAMLSeq = require_YAMLSeq();
3785
3790
  var resolveProps = require_resolve_props();
@@ -3827,7 +3832,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
3827
3832
  exports.resolveBlockSeq = resolveBlockSeq;
3828
3833
  });
3829
3834
 
3830
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
3835
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
3831
3836
  var require_resolve_end = __commonJS((exports) => {
3832
3837
  function resolveEnd(end, offset, reqSpace, onError) {
3833
3838
  let comment = "";
@@ -3867,7 +3872,7 @@ var require_resolve_end = __commonJS((exports) => {
3867
3872
  exports.resolveEnd = resolveEnd;
3868
3873
  });
3869
3874
 
3870
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
3875
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
3871
3876
  var require_resolve_flow_collection = __commonJS((exports) => {
3872
3877
  var identity = require_identity();
3873
3878
  var Pair = require_Pair();
@@ -4058,7 +4063,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
4058
4063
  exports.resolveFlowCollection = resolveFlowCollection;
4059
4064
  });
4060
4065
 
4061
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
4066
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
4062
4067
  var require_compose_collection = __commonJS((exports) => {
4063
4068
  var identity = require_identity();
4064
4069
  var Scalar = require_Scalar();
@@ -4120,7 +4125,7 @@ var require_compose_collection = __commonJS((exports) => {
4120
4125
  exports.composeCollection = composeCollection;
4121
4126
  });
4122
4127
 
4123
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
4128
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
4124
4129
  var require_resolve_block_scalar = __commonJS((exports) => {
4125
4130
  var Scalar = require_Scalar();
4126
4131
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -4313,7 +4318,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
4313
4318
  exports.resolveBlockScalar = resolveBlockScalar;
4314
4319
  });
4315
4320
 
4316
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4321
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4317
4322
  var require_resolve_flow_scalar = __commonJS((exports) => {
4318
4323
  var Scalar = require_Scalar();
4319
4324
  var resolveEnd = require_resolve_end();
@@ -4450,7 +4455,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
4450
4455
  while (next === " " || next === "\t")
4451
4456
  next = source[++i + 1];
4452
4457
  } else if (next === "x" || next === "u" || next === "U") {
4453
- const length = { x: 2, u: 4, U: 8 }[next];
4458
+ const length = next === "x" ? 2 : next === "u" ? 4 : 8;
4454
4459
  res += parseCharCode(source, i + 1, length, onError);
4455
4460
  i += length;
4456
4461
  } else {
@@ -4519,17 +4524,18 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
4519
4524
  const cc = source.substr(offset, length);
4520
4525
  const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
4521
4526
  const code = ok ? parseInt(cc, 16) : NaN;
4522
- if (isNaN(code)) {
4527
+ try {
4528
+ return String.fromCodePoint(code);
4529
+ } catch {
4523
4530
  const raw = source.substr(offset - 2, length + 2);
4524
4531
  onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
4525
4532
  return raw;
4526
4533
  }
4527
- return String.fromCodePoint(code);
4528
4534
  }
4529
4535
  exports.resolveFlowScalar = resolveFlowScalar;
4530
4536
  });
4531
4537
 
4532
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
4538
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4533
4539
  var require_compose_scalar = __commonJS((exports) => {
4534
4540
  var identity = require_identity();
4535
4541
  var Scalar = require_Scalar();
@@ -4607,7 +4613,7 @@ var require_compose_scalar = __commonJS((exports) => {
4607
4613
  exports.composeScalar = composeScalar;
4608
4614
  });
4609
4615
 
4610
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4616
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4611
4617
  var require_util_empty_scalar_position = __commonJS((exports) => {
4612
4618
  function emptyScalarPosition(offset, before, pos) {
4613
4619
  if (before) {
@@ -4634,7 +4640,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
4634
4640
  exports.emptyScalarPosition = emptyScalarPosition;
4635
4641
  });
4636
4642
 
4637
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
4643
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4638
4644
  var require_compose_node = __commonJS((exports) => {
4639
4645
  var Alias = require_Alias();
4640
4646
  var identity = require_identity();
@@ -4737,7 +4743,7 @@ var require_compose_node = __commonJS((exports) => {
4737
4743
  exports.composeNode = composeNode;
4738
4744
  });
4739
4745
 
4740
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
4746
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4741
4747
  var require_compose_doc = __commonJS((exports) => {
4742
4748
  var Document = require_Document();
4743
4749
  var composeNode = require_compose_node();
@@ -4777,7 +4783,7 @@ var require_compose_doc = __commonJS((exports) => {
4777
4783
  exports.composeDoc = composeDoc;
4778
4784
  });
4779
4785
 
4780
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
4786
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
4781
4787
  var require_composer = __commonJS((exports) => {
4782
4788
  var node_process = __require("process");
4783
4789
  var directives = require_directives();
@@ -4863,8 +4869,10 @@ ${cb}` : comment;
4863
4869
  }
4864
4870
  }
4865
4871
  if (afterDoc) {
4866
- Array.prototype.push.apply(doc.errors, this.errors);
4867
- Array.prototype.push.apply(doc.warnings, this.warnings);
4872
+ for (let i = 0;i < this.errors.length; ++i)
4873
+ doc.errors.push(this.errors[i]);
4874
+ for (let i = 0;i < this.warnings.length; ++i)
4875
+ doc.warnings.push(this.warnings[i]);
4868
4876
  } else {
4869
4877
  doc.errors = this.errors;
4870
4878
  doc.warnings = this.warnings;
@@ -4966,7 +4974,7 @@ ${end.comment}` : end.comment;
4966
4974
  exports.Composer = Composer;
4967
4975
  });
4968
4976
 
4969
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
4977
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
4970
4978
  var require_cst_scalar = __commonJS((exports) => {
4971
4979
  var resolveBlockScalar = require_resolve_block_scalar();
4972
4980
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5156,7 +5164,7 @@ var require_cst_scalar = __commonJS((exports) => {
5156
5164
  exports.setScalarValue = setScalarValue;
5157
5165
  });
5158
5166
 
5159
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
5167
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
5160
5168
  var require_cst_stringify = __commonJS((exports) => {
5161
5169
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5162
5170
  function stringifyToken(token) {
@@ -5214,7 +5222,7 @@ var require_cst_stringify = __commonJS((exports) => {
5214
5222
  exports.stringify = stringify;
5215
5223
  });
5216
5224
 
5217
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
5225
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
5218
5226
  var require_cst_visit = __commonJS((exports) => {
5219
5227
  var BREAK = Symbol("break visit");
5220
5228
  var SKIP = Symbol("skip children");
@@ -5273,7 +5281,7 @@ var require_cst_visit = __commonJS((exports) => {
5273
5281
  exports.visit = visit;
5274
5282
  });
5275
5283
 
5276
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
5284
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
5277
5285
  var require_cst = __commonJS((exports) => {
5278
5286
  var cstScalar = require_cst_scalar();
5279
5287
  var cstStringify = require_cst_stringify();
@@ -5374,7 +5382,7 @@ var require_cst = __commonJS((exports) => {
5374
5382
  exports.tokenType = tokenType;
5375
5383
  });
5376
5384
 
5377
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
5385
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5378
5386
  var require_lexer = __commonJS((exports) => {
5379
5387
  var cst = require_cst();
5380
5388
  function isEmpty(ch) {
@@ -5576,7 +5584,7 @@ var require_lexer = __commonJS((exports) => {
5576
5584
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
5577
5585
  this.indentNext = this.indentValue + 1;
5578
5586
  this.indentValue += n;
5579
- return yield* this.parseBlockStart();
5587
+ return "block-start";
5580
5588
  }
5581
5589
  return "doc";
5582
5590
  }
@@ -5883,26 +5891,37 @@ var require_lexer = __commonJS((exports) => {
5883
5891
  return 0;
5884
5892
  }
5885
5893
  *pushIndicators() {
5886
- switch (this.charAt(0)) {
5887
- case "!":
5888
- return (yield* this.pushTag()) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5889
- case "&":
5890
- return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5891
- case "-":
5892
- case "?":
5893
- case ":": {
5894
- const inFlow = this.flowLevel > 0;
5895
- const ch1 = this.charAt(1);
5896
- if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
5897
- if (!inFlow)
5898
- this.indentNext = this.indentValue + 1;
5899
- else if (this.flowKey)
5900
- this.flowKey = false;
5901
- return (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5894
+ let n = 0;
5895
+ loop:
5896
+ while (true) {
5897
+ switch (this.charAt(0)) {
5898
+ case "!":
5899
+ n += yield* this.pushTag();
5900
+ n += yield* this.pushSpaces(true);
5901
+ continue loop;
5902
+ case "&":
5903
+ n += yield* this.pushUntil(isNotAnchorChar);
5904
+ n += yield* this.pushSpaces(true);
5905
+ continue loop;
5906
+ case "-":
5907
+ case "?":
5908
+ case ":": {
5909
+ const inFlow = this.flowLevel > 0;
5910
+ const ch1 = this.charAt(1);
5911
+ if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
5912
+ if (!inFlow)
5913
+ this.indentNext = this.indentValue + 1;
5914
+ else if (this.flowKey)
5915
+ this.flowKey = false;
5916
+ n += yield* this.pushCount(1);
5917
+ n += yield* this.pushSpaces(true);
5918
+ continue loop;
5919
+ }
5920
+ }
5902
5921
  }
5922
+ break loop;
5903
5923
  }
5904
- }
5905
- return 0;
5924
+ return n;
5906
5925
  }
5907
5926
  *pushTag() {
5908
5927
  if (this.charAt(1) === "<") {
@@ -5960,7 +5979,7 @@ var require_lexer = __commonJS((exports) => {
5960
5979
  exports.Lexer = Lexer;
5961
5980
  });
5962
5981
 
5963
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
5982
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
5964
5983
  var require_line_counter = __commonJS((exports) => {
5965
5984
  class LineCounter {
5966
5985
  constructor() {
@@ -5988,7 +6007,7 @@ var require_line_counter = __commonJS((exports) => {
5988
6007
  exports.LineCounter = LineCounter;
5989
6008
  });
5990
6009
 
5991
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
6010
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
5992
6011
  var require_parser = __commonJS((exports) => {
5993
6012
  var node_process = __require("process");
5994
6013
  var cst = require_cst();
@@ -6056,6 +6075,13 @@ var require_parser = __commonJS((exports) => {
6056
6075
  while (prev[++i]?.type === "space") {}
6057
6076
  return prev.splice(i, prev.length);
6058
6077
  }
6078
+ function arrayPushArray(target, source) {
6079
+ if (source.length < 1e5)
6080
+ Array.prototype.push.apply(target, source);
6081
+ else
6082
+ for (let i = 0;i < source.length; ++i)
6083
+ target.push(source[i]);
6084
+ }
6059
6085
  function fixFlowSeqItems(fc) {
6060
6086
  if (fc.start.type === "flow-seq-start") {
6061
6087
  for (const it of fc.items) {
@@ -6065,11 +6091,11 @@ var require_parser = __commonJS((exports) => {
6065
6091
  delete it.key;
6066
6092
  if (isFlowToken(it.value)) {
6067
6093
  if (it.value.end)
6068
- Array.prototype.push.apply(it.value.end, it.sep);
6094
+ arrayPushArray(it.value.end, it.sep);
6069
6095
  else
6070
6096
  it.value.end = it.sep;
6071
6097
  } else
6072
- Array.prototype.push.apply(it.start, it.sep);
6098
+ arrayPushArray(it.start, it.sep);
6073
6099
  delete it.sep;
6074
6100
  }
6075
6101
  }
@@ -6409,7 +6435,7 @@ var require_parser = __commonJS((exports) => {
6409
6435
  const prev = map.items[map.items.length - 2];
6410
6436
  const end = prev?.value?.end;
6411
6437
  if (Array.isArray(end)) {
6412
- Array.prototype.push.apply(end, it.start);
6438
+ arrayPushArray(end, it.start);
6413
6439
  end.push(this.sourceToken);
6414
6440
  map.items.pop();
6415
6441
  return;
@@ -6597,7 +6623,7 @@ var require_parser = __commonJS((exports) => {
6597
6623
  const prev = seq.items[seq.items.length - 2];
6598
6624
  const end = prev?.value?.end;
6599
6625
  if (Array.isArray(end)) {
6600
- Array.prototype.push.apply(end, it.start);
6626
+ arrayPushArray(end, it.start);
6601
6627
  end.push(this.sourceToken);
6602
6628
  seq.items.pop();
6603
6629
  return;
@@ -6837,7 +6863,7 @@ var require_parser = __commonJS((exports) => {
6837
6863
  exports.Parser = Parser;
6838
6864
  });
6839
6865
 
6840
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
6866
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
6841
6867
  var require_public_api = __commonJS((exports) => {
6842
6868
  var composer = require_composer();
6843
6869
  var Document = require_Document();
@@ -10910,7 +10936,7 @@ var coerce = {
10910
10936
  date: (arg) => ZodDate.create({ ...arg, coerce: true })
10911
10937
  };
10912
10938
  var NEVER = INVALID;
10913
- // node_modules/.bun/@ts-rest+core@3.52.1+63a57e97cf90626f/node_modules/@ts-rest/core/index.esm.mjs
10939
+ // node_modules/.bun/@ts-rest+core@3.52.1+1c8a9bbc689bc595/node_modules/@ts-rest/core/index.esm.mjs
10914
10940
  var isZodObjectStrict = (obj) => {
10915
10941
  return typeof (obj === null || obj === undefined ? undefined : obj.passthrough) === "function";
10916
10942
  };
@@ -11081,6 +11107,13 @@ var SetWorktreeArchivedResponseSchema = exports_external.object({
11081
11107
  ok: exports_external.literal(true),
11082
11108
  archived: exports_external.boolean()
11083
11109
  });
11110
+ var SetWorktreeLabelRequestSchema = exports_external.object({
11111
+ label: exports_external.string().trim().max(80).nullable()
11112
+ });
11113
+ var SetWorktreeLabelResponseSchema = exports_external.object({
11114
+ ok: exports_external.literal(true),
11115
+ label: exports_external.string().nullable()
11116
+ });
11084
11117
  var ToggleEnabledRequestSchema = exports_external.object({
11085
11118
  enabled: exports_external.boolean()
11086
11119
  });
@@ -11190,6 +11223,7 @@ var AppNotificationSchema = exports_external.object({
11190
11223
  });
11191
11224
  var ProjectWorktreeSnapshotSchema = exports_external.object({
11192
11225
  branch: exports_external.string(),
11226
+ label: exports_external.string().nullable(),
11193
11227
  baseBranch: exports_external.string().optional(),
11194
11228
  path: exports_external.string(),
11195
11229
  dir: exports_external.string(),
@@ -11385,6 +11419,7 @@ var apiPaths = {
11385
11419
  openWorktree: "/api/worktrees/:name/open",
11386
11420
  closeWorktree: "/api/worktrees/:name/close",
11387
11421
  setWorktreeArchived: "/api/worktrees/:name/archive",
11422
+ setWorktreeLabel: "/api/worktrees/:name/label",
11388
11423
  sendWorktreePrompt: "/api/worktrees/:name/send",
11389
11424
  mergeWorktree: "/api/worktrees/:name/merge",
11390
11425
  fetchWorktreeDiff: "/api/worktrees/:name/diff",
@@ -11588,6 +11623,16 @@ var apiContract = c.router({
11588
11623
  ...commonErrorResponses
11589
11624
  }
11590
11625
  },
11626
+ setWorktreeLabel: {
11627
+ method: "PUT",
11628
+ path: apiPaths.setWorktreeLabel,
11629
+ pathParams: WorktreeNameParamsSchema,
11630
+ body: SetWorktreeLabelRequestSchema,
11631
+ responses: {
11632
+ 200: SetWorktreeLabelResponseSchema,
11633
+ ...commonErrorResponses
11634
+ }
11635
+ },
11591
11636
  sendWorktreePrompt: {
11592
11637
  method: "POST",
11593
11638
  path: apiPaths.sendWorktreePrompt,
@@ -12728,7 +12773,7 @@ class CodexAppServerClient {
12728
12773
  import { readFileSync } from "fs";
12729
12774
  import { dirname as dirname2, join as join2, resolve } from "path";
12730
12775
 
12731
- // node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
12776
+ // node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
12732
12777
  var composer = require_composer();
12733
12778
  var Document = require_Document();
12734
12779
  var Schema = require_Schema();
@@ -14065,11 +14110,22 @@ function normalizeConversationMeta(raw) {
14065
14110
  };
14066
14111
  return normalized;
14067
14112
  }
14113
+ function normalizeOptionalString(raw) {
14114
+ return typeof raw === "string" && raw.trim() ? raw.trim() : undefined;
14115
+ }
14068
14116
  function normalizeWorktreeMeta(meta) {
14069
14117
  const conversation = normalizeConversationMeta(meta.conversation);
14070
- return conversation === meta.conversation ? meta : {
14071
- ...meta,
14072
- conversation
14118
+ const normalizedLabel = normalizeOptionalString(meta.label);
14119
+ if (conversation === meta.conversation && normalizedLabel === meta.label) {
14120
+ return meta;
14121
+ }
14122
+ const rest = { ...meta };
14123
+ delete rest.label;
14124
+ delete rest.conversation;
14125
+ return {
14126
+ ...rest,
14127
+ ...normalizedLabel ? { label: normalizedLabel } : {},
14128
+ ...conversation !== undefined ? { conversation } : {}
14073
14129
  };
14074
14130
  }
14075
14131
  function isPrComment(raw) {
@@ -15367,6 +15423,7 @@ function generateFallbackBranchName() {
15367
15423
 
15368
15424
  // backend/src/services/lifecycle-service.ts
15369
15425
  var DOCKER_CONTROL_HOST = "host.docker.internal";
15426
+ var MAX_WORKTREE_LABEL_LENGTH = 80;
15370
15427
  function toErrorMessage2(error) {
15371
15428
  return error instanceof Error ? error.message : String(error);
15372
15429
  }
@@ -15376,6 +15433,15 @@ function stringifyStartupEnvValue(value) {
15376
15433
  function trimTrailingSlashes(value) {
15377
15434
  return value.replace(/\/+$/, "");
15378
15435
  }
15436
+ function normalizeWorktreeLabel(label) {
15437
+ const trimmed = label?.trim() ?? "";
15438
+ if (!trimmed)
15439
+ return null;
15440
+ if (trimmed.length > MAX_WORKTREE_LABEL_LENGTH) {
15441
+ throw new LifecycleError(`Worktree label must be ${MAX_WORKTREE_LABEL_LENGTH} characters or fewer`, 400);
15442
+ }
15443
+ return trimmed;
15444
+ }
15379
15445
  function isLoopbackHostname(hostname) {
15380
15446
  return hostname === "127.0.0.1" || hostname === "localhost" || hostname === "::1" || hostname === "[::1]";
15381
15447
  }
@@ -15550,6 +15616,21 @@ class LifecycleService {
15550
15616
  throw this.wrapOperationError(error);
15551
15617
  }
15552
15618
  }
15619
+ async setWorktreeLabel(branch, label) {
15620
+ try {
15621
+ const normalizedLabel = normalizeWorktreeLabel(label);
15622
+ const resolved = await this.resolveExistingWorktree(branch);
15623
+ if (!resolved.meta) {
15624
+ throw new LifecycleError(`Worktree ${branch} has no managed metadata to label`, 409);
15625
+ }
15626
+ const nextMeta = this.withUpdatedLabel(resolved.meta, normalizedLabel);
15627
+ await writeWorktreeMeta(resolved.gitDir, nextMeta);
15628
+ await this.deps.reconciliation.reconcile(this.deps.projectRoot, { force: true });
15629
+ return { label: normalizedLabel };
15630
+ } catch (error) {
15631
+ throw this.wrapOperationError(error);
15632
+ }
15633
+ }
15553
15634
  listAvailableBranches(options = {}) {
15554
15635
  const localBranches = this.listLocalBranches().filter((branch) => isValidBranchName(branch));
15555
15636
  const remoteBranches = options.includeRemote ? this.listRemoteBranches().filter((branch) => isValidBranchName(branch)) : [];
@@ -15731,6 +15812,15 @@ class LifecycleService {
15731
15812
  async updateWorktreeArchivedState(path, archived) {
15732
15813
  await this.deps.archiveState.setArchived(path, archived);
15733
15814
  }
15815
+ withUpdatedLabel(meta, label) {
15816
+ const nextMeta = { ...meta };
15817
+ if (label) {
15818
+ nextMeta.label = label;
15819
+ } else {
15820
+ delete nextMeta.label;
15821
+ }
15822
+ return nextMeta;
15823
+ }
15734
15824
  async closeBranchWindow(branch) {
15735
15825
  this.deps.tmux.killWindow(buildProjectSessionName(this.deps.projectRoot), buildWorktreeWindowName(branch));
15736
15826
  await this.deps.reconciliation.reconcile(this.deps.projectRoot, { force: true });
@@ -16476,7 +16566,7 @@ function startPrMonitor(getWorktreeGitDirs, linkedRepos, projectDir, intervalMs
16476
16566
  }
16477
16567
 
16478
16568
  // backend/src/services/linear-auto-create-service.ts
16479
- var POLL_INTERVAL_MS = 15000;
16569
+ var LINEAR_AUTO_CREATE_POLL_INTERVAL_MS = 60000;
16480
16570
  var processedIssueIds = new Set;
16481
16571
  var AUTO_CREATE_LABEL = "webmux";
16482
16572
  function filterAutoCreateIssues(issues, existingBranches) {
@@ -16490,12 +16580,9 @@ function filterAutoCreateIssues(issues, existingBranches) {
16490
16580
  return !existingBranches.some((branch) => branchMatchesIssue(branch, issue.branchName));
16491
16581
  });
16492
16582
  }
16493
- async function runAutoCreate(deps) {
16494
- if (!deps.isActive()) {
16495
- log.debug("[linear-auto-create] skipping: no active clients");
16496
- return;
16497
- }
16498
- const result = await fetchAssignedIssues({ skipCache: true });
16583
+ async function runLinearAutoCreateOnce(deps) {
16584
+ const fetchIssues = deps.fetchIssues ?? fetchAssignedIssues;
16585
+ const result = await fetchIssues({ skipCache: true });
16499
16586
  if (!result.ok) {
16500
16587
  log.error(`[linear-auto-create] failed to fetch issues: ${result.error}`);
16501
16588
  return;
@@ -16526,9 +16613,9 @@ ${issue.description ?? ""}`.trim()
16526
16613
  }
16527
16614
  }
16528
16615
  }
16529
- function startLinearAutoCreateMonitor(deps) {
16530
- log.info("[linear-auto-create] monitor started");
16531
- return startSerializedInterval(() => runAutoCreate(deps), POLL_INTERVAL_MS);
16616
+ function startLinearAutoCreateMonitor(deps, options = {}) {
16617
+ log.info(`[linear-auto-create] monitor started (interval: ${LINEAR_AUTO_CREATE_POLL_INTERVAL_MS}ms)`);
16618
+ return startSerializedInterval(() => runLinearAutoCreateOnce(deps), LINEAR_AUTO_CREATE_POLL_INTERVAL_MS, options.intervalDeps);
16532
16619
  }
16533
16620
  function resetProcessedIssues() {
16534
16621
  processedIssueIds.clear();
@@ -16729,6 +16816,7 @@ function mapCreationSnapshot(creating) {
16729
16816
  function mapWorktreeSnapshot(state, now, creating, isArchived, findLinearIssue, findAgentLabel) {
16730
16817
  return {
16731
16818
  branch: state.branch,
16819
+ label: state.label,
16732
16820
  ...state.baseBranch ? { baseBranch: state.baseBranch } : {},
16733
16821
  path: state.path,
16734
16822
  dir: state.path,
@@ -16751,6 +16839,7 @@ function mapWorktreeSnapshot(state, now, creating, isArchived, findLinearIssue,
16751
16839
  function mapCreatingWorktreeSnapshot(creating, isArchived, findLinearIssue, findAgentLabel) {
16752
16840
  return {
16753
16841
  branch: creating.branch,
16842
+ label: null,
16754
16843
  ...creating.baseBranch ? { baseBranch: creating.baseBranch } : {},
16755
16844
  path: creating.path,
16756
16845
  dir: creating.path,
@@ -17885,6 +17974,7 @@ function makeDefaultState(input) {
17885
17974
  return {
17886
17975
  worktreeId: input.worktreeId,
17887
17976
  branch: input.branch,
17977
+ label: input.label ?? null,
17888
17978
  baseBranch: input.baseBranch ?? null,
17889
17979
  path: input.path,
17890
17980
  profile: input.profile ?? null,
@@ -17930,6 +18020,8 @@ class ProjectRuntime {
17930
18020
  this.reindexBranch(existing.branch, input.branch, input.worktreeId);
17931
18021
  existing.path = input.path;
17932
18022
  existing.branch = input.branch;
18023
+ if (input.label !== undefined)
18024
+ existing.label = input.label;
17933
18025
  if (input.baseBranch !== undefined)
17934
18026
  existing.baseBranch = input.baseBranch;
17935
18027
  existing.profile = input.profile ?? existing.profile;
@@ -18133,6 +18225,7 @@ class ReconciliationService {
18133
18225
  return {
18134
18226
  worktreeId,
18135
18227
  branch,
18228
+ label: meta?.label ?? null,
18136
18229
  baseBranch: meta?.baseBranch ?? null,
18137
18230
  path: entry.path,
18138
18231
  profile: meta?.profile ?? null,
@@ -18165,6 +18258,7 @@ class ReconciliationService {
18165
18258
  this.deps.runtime.upsertWorktree({
18166
18259
  worktreeId: state.worktreeId,
18167
18260
  branch: state.branch,
18261
+ label: state.label,
18168
18262
  baseBranch: state.baseBranch,
18169
18263
  path: state.path,
18170
18264
  profile: state.profile,
@@ -18320,8 +18414,7 @@ function startLinearAutoCreate() {
18320
18414
  stopLinearAutoCreate = startLinearAutoCreateMonitor({
18321
18415
  lifecycleService,
18322
18416
  git,
18323
- projectRoot: PROJECT_DIR,
18324
- isActive: hasRecentDashboardActivity
18417
+ projectRoot: PROJECT_DIR
18325
18418
  });
18326
18419
  }
18327
18420
  function stopLinearAutoCreateMonitor() {
@@ -18928,6 +19021,17 @@ async function apiSetWorktreeArchived(name, req) {
18928
19021
  log.debug(`[worktree:archive] done name=${name} archived=${body.archived}`);
18929
19022
  return jsonResponse({ ok: true, archived: body.archived });
18930
19023
  }
19024
+ async function apiSetWorktreeLabel(name, req) {
19025
+ ensureBranchNotBusy(name);
19026
+ const parsed = await parseJsonBody(req, SetWorktreeLabelRequestSchema);
19027
+ if (!parsed.ok)
19028
+ return parsed.response;
19029
+ const body = parsed.data;
19030
+ log.info(`[worktree:label] name=${name} label=${body.label ? JSON.stringify(body.label) : "null"}`);
19031
+ const result = await lifecycleService.setWorktreeLabel(name, body.label);
19032
+ log.debug(`[worktree:label] done name=${name} label=${result.label ? JSON.stringify(result.label) : "null"}`);
19033
+ return jsonResponse({ ok: true, label: result.label });
19034
+ }
18931
19035
  async function apiSendPrompt(name, req) {
18932
19036
  ensureBranchNotBusy(name);
18933
19037
  const parsed = await parseJsonBody(req, SendWorktreePromptRequestSchema);
@@ -19343,6 +19447,15 @@ Bun.serve({
19343
19447
  return catching(`PUT /api/worktrees/${name}/archive`, () => apiSetWorktreeArchived(name, req));
19344
19448
  }
19345
19449
  },
19450
+ [apiPaths.setWorktreeLabel]: {
19451
+ PUT: (req) => {
19452
+ const parsed = parseWorktreeNameParam(req.params);
19453
+ if (!parsed.ok)
19454
+ return parsed.response;
19455
+ const name = parsed.data;
19456
+ return catching(`PUT /api/worktrees/${name}/label`, () => apiSetWorktreeLabel(name, req));
19457
+ }
19458
+ },
19346
19459
  [apiPaths.sendWorktreePrompt]: {
19347
19460
  POST: (req) => {
19348
19461
  const parsed = parseWorktreeNameParam(req.params);