create-efffrida-app 0.0.13 → 0.0.14

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/bin.cjs +312 -305
  2. package/package.json +3 -3
package/dist/bin.cjs CHANGED
@@ -55,7 +55,7 @@ var __export = (target, all4) => {
55
55
  __defProp(target, name, { get: all4[name], enumerable: true });
56
56
  };
57
57
 
58
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Effect.js
58
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Effect.js
59
59
  var Effect_exports = {};
60
60
  __export(Effect_exports, {
61
61
  Do: () => Do2,
@@ -287,7 +287,7 @@ __export(Effect_exports, {
287
287
  zipWith: () => zipWith2
288
288
  });
289
289
 
290
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Pipeable.js
290
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Pipeable.js
291
291
  var pipeArguments = (self, args2) => {
292
292
  switch (args2.length) {
293
293
  case 0:
@@ -331,7 +331,7 @@ var Class = /* @__PURE__ */ (function() {
331
331
  return PipeableBase;
332
332
  })();
333
333
 
334
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Function.js
334
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Function.js
335
335
  var dual = function(arity, body) {
336
336
  if (typeof arity === "function") {
337
337
  return function() {
@@ -431,7 +431,7 @@ function memoize(f2) {
431
431
  };
432
432
  }
433
433
 
434
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/equal.js
434
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/equal.js
435
435
  var getAllObjectKeys = (obj) => {
436
436
  const keys2 = new Set(Reflect.ownKeys(obj));
437
437
  if (obj.constructor === Object) return keys2;
@@ -454,7 +454,7 @@ var getAllObjectKeys = (obj) => {
454
454
  };
455
455
  var byReferenceInstances = /* @__PURE__ */ new WeakSet();
456
456
 
457
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Predicate.js
457
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Predicate.js
458
458
  function isString(input) {
459
459
  return typeof input === "string";
460
460
  }
@@ -500,7 +500,7 @@ function isIterable(input) {
500
500
  return hasProperty(input, Symbol.iterator) || isString(input);
501
501
  }
502
502
 
503
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Hash.js
503
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Hash.js
504
504
  var symbol = "~effect/interfaces/Hash";
505
505
  var hash = (self) => {
506
506
  switch (typeof self) {
@@ -624,7 +624,7 @@ function withVisitedTracking(obj, fn3) {
624
624
  return result3;
625
625
  }
626
626
 
627
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Equal.js
627
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Equal.js
628
628
  var symbol2 = "~effect/interfaces/Equal";
629
629
  function equals() {
630
630
  if (arguments.length === 1) {
@@ -816,7 +816,7 @@ function makeCompareSet(equivalence) {
816
816
  var compareSets = /* @__PURE__ */ makeCompareSet(compareBoth);
817
817
  var isEqual = (u2) => hasProperty(u2, symbol2);
818
818
 
819
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Redactable.js
819
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Redactable.js
820
820
  var symbolRedactable = /* @__PURE__ */ Symbol.for("~effect/Redactable");
821
821
  var isRedactable = (u2) => hasProperty(u2, symbolRedactable);
822
822
  function redact(u2) {
@@ -838,7 +838,7 @@ var emptyContext = {
838
838
  }
839
839
  };
840
840
 
841
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Formatter.js
841
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Formatter.js
842
842
  function format(input, options) {
843
843
  const space = options?.space ?? 0;
844
844
  const ancestors = /* @__PURE__ */ new WeakSet();
@@ -943,7 +943,7 @@ function formatJson(input, options) {
943
943
  }, options?.space) ?? "null";
944
944
  }
945
945
 
946
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Inspectable.js
946
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Inspectable.js
947
947
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
948
948
  var toJson = (input) => {
949
949
  try {
@@ -1007,7 +1007,7 @@ var Class2 = class {
1007
1007
  }
1008
1008
  };
1009
1009
 
1010
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Utils.js
1010
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Utils.js
1011
1011
  var SingleShotGen = class _SingleShotGen {
1012
1012
  called = false;
1013
1013
  self;
@@ -1067,7 +1067,7 @@ var pickInternalCall = () => {
1067
1067
  };
1068
1068
  var internalCall = /* @__PURE__ */ pickInternalCall();
1069
1069
 
1070
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/record.js
1070
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/record.js
1071
1071
  function assignProperty(self, key, value3) {
1072
1072
  if (key === "__proto__") {
1073
1073
  Object.defineProperty(self, key, {
@@ -1088,7 +1088,7 @@ function assignProperties(self, source) {
1088
1088
  }
1089
1089
  }
1090
1090
 
1091
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/core.js
1091
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/core.js
1092
1092
  var EffectTypeId = `~effect/Effect`;
1093
1093
  var ExitTypeId = `~effect/Exit`;
1094
1094
  var effectVariance = {
@@ -1431,29 +1431,13 @@ var done = (value3) => {
1431
1431
  return exitFail(Done(value3));
1432
1432
  };
1433
1433
 
1434
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Effectable.js
1434
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Effectable.js
1435
1435
  var Prototype2 = (options) => makePrimitiveProto({
1436
1436
  op: options.label,
1437
1437
  [evaluate]: options.evaluate
1438
1438
  });
1439
1439
 
1440
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/stackTraceLimit.js
1441
- var isStackTraceLimitWritable = () => {
1442
- const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
1443
- if (desc === void 0) {
1444
- return Object.isExtensible(Error);
1445
- }
1446
- return Object.hasOwn(desc, "writable") ? desc.writable === true : desc.set !== void 0;
1447
- };
1448
- var canWriteStackTraceLimit = /* @__PURE__ */ isStackTraceLimitWritable();
1449
- var getStackTraceLimit = () => Error.stackTraceLimit;
1450
- var setStackTraceLimit = (value3) => {
1451
- if (canWriteStackTraceLimit) {
1452
- Error.stackTraceLimit = value3;
1453
- }
1454
- };
1455
-
1456
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Equivalence.js
1440
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Equivalence.js
1457
1441
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1458
1442
  var isStrictEquivalent = (x, y) => x === y;
1459
1443
  var strictEqual = () => isStrictEquivalent;
@@ -1480,7 +1464,7 @@ function Array_(item) {
1480
1464
  });
1481
1465
  }
1482
1466
 
1483
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/doNotation.js
1467
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/doNotation.js
1484
1468
  var let_ = (map15) => dual(3, (self, name, f2) => map15(self, (a) => ({
1485
1469
  ...a,
1486
1470
  [name]: f2(a)
@@ -1493,7 +1477,7 @@ var bind = (map15, flatMap6) => dual(3, (self, name, f2) => flatMap6(self, (a) =
1493
1477
  [name]: b2
1494
1478
  }))));
1495
1479
 
1496
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/option.js
1480
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/option.js
1497
1481
  var TypeId = "~effect/data/Option";
1498
1482
  var CommonProto = {
1499
1483
  [TypeId]: {
@@ -1559,7 +1543,7 @@ var some = (value3) => {
1559
1543
  return a;
1560
1544
  };
1561
1545
 
1562
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/result.js
1546
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/result.js
1563
1547
  var TypeId2 = "~effect/data/Result";
1564
1548
  var CommonProto2 = {
1565
1549
  [TypeId2]: {
@@ -1626,7 +1610,7 @@ var succeed = (success) => {
1626
1610
  return a;
1627
1611
  };
1628
1612
 
1629
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Order.js
1613
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Order.js
1630
1614
  function make2(compare) {
1631
1615
  return (self, that) => self === that ? 0 : compare(self, that);
1632
1616
  }
@@ -1640,7 +1624,7 @@ var mapInput = /* @__PURE__ */ dual(2, (self, f2) => make2((b1, b2) => self(f2(b
1640
1624
  var Date2 = /* @__PURE__ */ mapInput(Number2, (date6) => date6.getTime());
1641
1625
  var isGreaterThan = (O2) => dual(2, (self, that) => O2(self, that) === 1);
1642
1626
 
1643
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Option.js
1627
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Option.js
1644
1628
  var none2 = () => none;
1645
1629
  var some2 = some;
1646
1630
  var isOption2 = isOption;
@@ -1660,22 +1644,13 @@ var filter = /* @__PURE__ */ dual(2, (self, predicate) => isNone2(self) ? none2(
1660
1644
  var liftPredicate = /* @__PURE__ */ dual(2, (b2, predicate) => predicate(b2) ? some2(b2) : none2());
1661
1645
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1662
1646
 
1663
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Context.js
1647
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Context.js
1664
1648
  var ServiceTypeId = "~effect/Context/Service";
1665
1649
  var Service = function() {
1666
- const prevLimit = getStackTraceLimit();
1667
- setStackTraceLimit(2);
1668
- const err = new Error();
1669
- setStackTraceLimit(prevLimit);
1670
1650
  function KeyClass() {
1671
1651
  }
1672
1652
  const self = KeyClass;
1673
1653
  Object.setPrototypeOf(self, ServiceProto);
1674
- Object.defineProperty(self, "stack", {
1675
- get() {
1676
- return err.stack;
1677
- }
1678
- });
1679
1654
  const init = (key, options) => {
1680
1655
  self.key = key;
1681
1656
  if (options?.defaultValue) {
@@ -1703,8 +1678,7 @@ var ServiceProto = {
1703
1678
  toJSON() {
1704
1679
  return {
1705
1680
  _id: "Service",
1706
- key: this.key,
1707
- stack: this.stack
1681
+ key: this.key
1708
1682
  };
1709
1683
  },
1710
1684
  of(self) {
@@ -1842,15 +1816,6 @@ var getDefaultValue = (ref) => {
1842
1816
  };
1843
1817
  var serviceNotFoundError = (service3) => {
1844
1818
  const error2 = new Error(`Service not found${service3.key ? `: ${String(service3.key)}` : ""}`);
1845
- if (service3.stack) {
1846
- const lines2 = service3.stack.split("\n");
1847
- if (lines2.length > 2) {
1848
- const afterAt = lines2[2].match(/at (.*)/);
1849
- if (afterAt) {
1850
- error2.message = error2.message + ` (defined at ${afterAt[1]})`;
1851
- }
1852
- }
1853
- }
1854
1819
  if (error2.stack) {
1855
1820
  const lines2 = error2.stack.split("\n");
1856
1821
  lines2.splice(1, 3);
@@ -1879,7 +1844,7 @@ var mergeAll = (...ctxs) => {
1879
1844
  };
1880
1845
  var Reference = Service;
1881
1846
 
1882
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Duration.js
1847
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Duration.js
1883
1848
  var TypeId4 = "~effect/time/Duration";
1884
1849
  var bigint0 = /* @__PURE__ */ BigInt(0);
1885
1850
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -2138,10 +2103,10 @@ var subtract = /* @__PURE__ */ dual(2, (self, that) => matchPair(self, that, {
2138
2103
  }));
2139
2104
  var equals2 = /* @__PURE__ */ dual(2, (self, that) => Equivalence(self, that));
2140
2105
 
2141
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/array.js
2106
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/array.js
2142
2107
  var isArrayNonEmpty = (self) => self.length > 0;
2143
2108
 
2144
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Result.js
2109
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Result.js
2145
2110
  var succeed2 = succeed;
2146
2111
  var fail2 = fail;
2147
2112
  var try_ = (evaluate2) => {
@@ -2166,10 +2131,10 @@ var match3 = /* @__PURE__ */ dual(2, (self, {
2166
2131
  onSuccess
2167
2132
  }) => isFailure2(self) ? onFailure(self.failure) : onSuccess(self.success));
2168
2133
 
2169
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Tuple.js
2134
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Tuple.js
2170
2135
  var makeEquivalence = Tuple;
2171
2136
 
2172
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Iterable.js
2137
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Iterable.js
2173
2138
  var findFirst = /* @__PURE__ */ dual(2, (self, f2) => {
2174
2139
  let i = 0;
2175
2140
  for (const a of self) {
@@ -2212,7 +2177,7 @@ var filter2 = /* @__PURE__ */ dual(2, (self, predicate) => ({
2212
2177
  }
2213
2178
  }));
2214
2179
 
2215
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Record.js
2180
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Record.js
2216
2181
  var has = /* @__PURE__ */ dual(2, (self, key) => Object.hasOwn(self, key));
2217
2182
  var map2 = /* @__PURE__ */ dual(2, (self, f2) => {
2218
2183
  const out = {
@@ -2237,7 +2202,7 @@ var makeEquivalence2 = (equivalence) => {
2237
2202
  return (self, that) => is4(self, that) && is4(that, self);
2238
2203
  };
2239
2204
 
2240
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Array.js
2205
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Array.js
2241
2206
  var Array2 = globalThis.Array;
2242
2207
  var fromIterable = (collection) => Array2.isArray(collection) ? collection : Array2.from(collection);
2243
2208
  var ensure = (self) => Array2.isArray(self) ? self : [self];
@@ -2334,7 +2299,7 @@ var dedupe = (self) => {
2334
2299
  return out;
2335
2300
  };
2336
2301
 
2337
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Filter.js
2302
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Filter.js
2338
2303
  var composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
2339
2304
  const leftOut = left(input);
2340
2305
  if (isFailure2(leftOut)) return fail2(input);
@@ -2343,7 +2308,7 @@ var composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
2343
2308
  return rightOut;
2344
2309
  });
2345
2310
 
2346
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Scheduler.js
2311
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Scheduler.js
2347
2312
  var Scheduler = /* @__PURE__ */ Reference("effect/Scheduler", {
2348
2313
  fiberCached: true,
2349
2314
  defaultValue: () => new MixedScheduler()
@@ -2480,7 +2445,7 @@ var PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventS
2480
2445
  defaultValue: () => false
2481
2446
  });
2482
2447
 
2483
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Tracer.js
2448
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Tracer.js
2484
2449
  var ParentSpanKey = "effect/Tracer/ParentSpan";
2485
2450
  var ParentSpan = class extends (/* @__PURE__ */ Service()(ParentSpanKey, {
2486
2451
  fiberCached: true
@@ -2563,10 +2528,10 @@ var randomHexString = /* @__PURE__ */ (function() {
2563
2528
  };
2564
2529
  })();
2565
2530
 
2566
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/metric.js
2531
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/metric.js
2567
2532
  var FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
2568
2533
 
2569
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/references.js
2534
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/references.js
2570
2535
  var CurrentErrorReporters = /* @__PURE__ */ Reference("effect/ErrorReporter/CurrentErrorReporters", {
2571
2536
  defaultValue: () => /* @__PURE__ */ new Set()
2572
2537
  });
@@ -2601,7 +2566,23 @@ var CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpa
2601
2566
  defaultValue: () => []
2602
2567
  });
2603
2568
 
2604
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/tracer.js
2569
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/stackTraceLimit.js
2570
+ var isStackTraceLimitWritable = () => {
2571
+ const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
2572
+ if (desc === void 0) {
2573
+ return Object.isExtensible(Error);
2574
+ }
2575
+ return Object.hasOwn(desc, "writable") ? desc.writable === true : desc.set !== void 0;
2576
+ };
2577
+ var canWriteStackTraceLimit = /* @__PURE__ */ isStackTraceLimitWritable();
2578
+ var getStackTraceLimit = () => Error.stackTraceLimit;
2579
+ var setStackTraceLimit = (value3) => {
2580
+ if (canWriteStackTraceLimit) {
2581
+ Error.stackTraceLimit = value3;
2582
+ }
2583
+ };
2584
+
2585
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/tracer.js
2605
2586
  var addSpanStackTrace = (options) => {
2606
2587
  if (options?.captureStackTrace === false) {
2607
2588
  return options;
@@ -2632,7 +2613,7 @@ var makeStackCleaner = (line) => (stack) => {
2632
2613
  };
2633
2614
  var spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
2634
2615
 
2635
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/effect.js
2616
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/effect.js
2636
2617
  var Interrupt = class extends ReasonBase {
2637
2618
  fiberId;
2638
2619
  constructor(fiberId3, annotations = constEmptyAnnotations) {
@@ -5092,14 +5073,14 @@ var reportCauseUnsafe = (fiber3, cause, defectsOnly) => {
5092
5073
  reporters.forEach((reporter) => reporter.report(opts));
5093
5074
  };
5094
5075
 
5095
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Exit.js
5076
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Exit.js
5096
5077
  var succeed4 = exitSucceed;
5097
5078
  var failCause2 = exitFailCause;
5098
5079
  var fail4 = exitFail;
5099
5080
  var void_2 = exitVoid;
5100
5081
  var isSuccess4 = exitIsSuccess;
5101
5082
 
5102
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Deferred.js
5083
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Deferred.js
5103
5084
  var TypeId5 = "~effect/Deferred";
5104
5085
  var DeferredProto = {
5105
5086
  [TypeId5]: {
@@ -5141,12 +5122,12 @@ var doneUnsafe = (self, effect2) => {
5141
5122
  return true;
5142
5123
  };
5143
5124
 
5144
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/References.js
5125
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/References.js
5145
5126
  var CurrentLogAnnotations2 = CurrentLogAnnotations;
5146
5127
  var CurrentLogSpans2 = CurrentLogSpans;
5147
5128
  var MinimumLogLevel2 = MinimumLogLevel;
5148
5129
 
5149
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Scope.js
5130
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Scope.js
5150
5131
  var Scope = scopeTag;
5151
5132
  var makeUnsafe3 = scopeMakeUnsafe;
5152
5133
  var provide = provideScope;
@@ -5155,7 +5136,7 @@ var addFinalizer2 = scopeAddFinalizer;
5155
5136
  var forkUnsafe2 = scopeForkUnsafe;
5156
5137
  var close = scopeClose;
5157
5138
 
5158
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Layer.js
5139
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Layer.js
5159
5140
  var TypeId6 = "~effect/Layer";
5160
5141
  var MemoMapTypeId = "~effect/Layer/MemoMap";
5161
5142
  var memoMapReuse = (entry, scope3) => {
@@ -5273,7 +5254,7 @@ var CurrentMetadata = /* @__PURE__ */ Reference("effect/ExecutionPlan/CurrentMet
5273
5254
  })
5274
5255
  });
5275
5256
 
5276
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Cause.js
5257
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Cause.js
5277
5258
  var isFailReason2 = isFailReason;
5278
5259
  var fail5 = causeFail;
5279
5260
  var hasInterruptsOnly2 = hasInterruptsOnly;
@@ -5286,7 +5267,7 @@ var Done2 = Done;
5286
5267
  var done3 = done;
5287
5268
  var UnknownError2 = UnknownError;
5288
5269
 
5289
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Data.js
5270
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Data.js
5290
5271
  var taggedEnum = () => new Proxy({}, {
5291
5272
  get(_target, tag2, _receiver) {
5292
5273
  if (tag2 === "$is") {
@@ -5319,7 +5300,7 @@ var round = /* @__PURE__ */ dual(2, (self, precision) => {
5319
5300
  return Math.round(self * factor) / factor;
5320
5301
  });
5321
5302
 
5322
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Pull.js
5303
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Pull.js
5323
5304
  var catchDone = /* @__PURE__ */ dual(2, (effect2, f2) => catchCauseFilter(effect2, filterDoneLeftover, (l) => f2(l)));
5324
5305
  var isDoneCause = (cause) => cause.reasons.some(isDoneFailure);
5325
5306
  var isDoneFailure = (failure) => failure._tag === "Fail" && isDone3(failure.error);
@@ -5337,7 +5318,7 @@ var matchEffect2 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffect(s
5337
5318
  }
5338
5319
  }));
5339
5320
 
5340
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Schedule.js
5321
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Schedule.js
5341
5322
  var TypeId8 = "~effect/Schedule";
5342
5323
  var CurrentMetadata2 = /* @__PURE__ */ Reference("effect/Schedule/CurrentMetadata", {
5343
5324
  defaultValue: /* @__PURE__ */ constant({
@@ -5429,11 +5410,11 @@ var while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map4(toStep(s
5429
5410
  })));
5430
5411
  var forever2 = /* @__PURE__ */ spaced(zero);
5431
5412
 
5432
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/layer.js
5413
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/layer.js
5433
5414
  var provideLayer = (self, layer16, options) => scopedWith((scope3) => flatMap2(options?.local ? buildWithMemoMap(layer16, makeMemoMapUnsafe(), scope3) : buildWithScope(layer16, scope3), (context3) => provideContext(self, context3)));
5434
5415
  var provide3 = /* @__PURE__ */ dual((args2) => isEffect(args2[0]), (self, source, options) => isContext(source) ? provideContext(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll2(...source) : source, options));
5435
5416
 
5436
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/schedule.js
5417
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/schedule.js
5437
5418
  var repeatOrElse = /* @__PURE__ */ dual(3, (self, schedule3, orElse4) => flatMap2(toStepWithMetadata(schedule3), (step) => {
5438
5419
  let meta = CurrentMetadata2.defaultValue();
5439
5420
  return catch_(forever(tap(flatMap2(suspend(() => provideService(self, CurrentMetadata2, meta)), step), (meta_) => sync(() => {
@@ -5504,7 +5485,7 @@ var buildFromOptions = (options) => {
5504
5485
  return schedule3;
5505
5486
  };
5506
5487
 
5507
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/executionPlan.js
5488
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/executionPlan.js
5508
5489
  var makeEventEmitter = (onEvent, currentMetadata) => {
5509
5490
  let lastStepIndex = -1;
5510
5491
  let stepAttempt = 0;
@@ -5609,7 +5590,7 @@ var scheduleFromStep = (step, first) => {
5609
5590
  var scheduleOnce = /* @__PURE__ */ recurs(1);
5610
5591
  var makeEntry = (options) => options;
5611
5592
 
5612
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/request.js
5593
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/request.js
5613
5594
  var request = /* @__PURE__ */ dual(2, (self, resolver) => {
5614
5595
  const withResolver = (resolver2) => callback((resume) => {
5615
5596
  const entry = addEntry(resolver2, self, resume, getCurrentFiber());
@@ -5720,7 +5701,7 @@ function runBatch(batch) {
5720
5701
  }
5721
5702
  var update = /* @__PURE__ */ dual(2, (self, input) => contextWith((services) => sync(() => self.updateUnsafe(input, services))));
5722
5703
 
5723
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Effect.js
5704
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Effect.js
5724
5705
  var TypeId11 = EffectTypeId;
5725
5706
  var isEffect2 = isEffect;
5726
5707
  var all2 = all;
@@ -6075,7 +6056,7 @@ var flatMapEager2 = flatMapEager;
6075
6056
  var catchEager2 = catchEager;
6076
6057
  var fnUntracedEager2 = fnUntracedEager;
6077
6058
 
6078
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/FileSystem.js
6059
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/FileSystem.js
6079
6060
  var FileSystem_exports = {};
6080
6061
  __export(FileSystem_exports, {
6081
6062
  FileSystem: () => FileSystem,
@@ -6093,7 +6074,7 @@ __export(FileSystem_exports, {
6093
6074
  makeNoop: () => makeNoop
6094
6075
  });
6095
6076
 
6096
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/PlatformError.js
6077
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/PlatformError.js
6097
6078
  var TypeId12 = "~effect/platform/PlatformError";
6098
6079
  var BadArgument = class extends (/* @__PURE__ */ TaggedError2("BadArgument")) {
6099
6080
  /**
@@ -6153,14 +6134,14 @@ var PlatformError = class extends (/* @__PURE__ */ TaggedError2("PlatformError")
6153
6134
  var systemError = (options) => new PlatformError(new SystemError(options));
6154
6135
  var badArgument = (options) => new PlatformError(new BadArgument(options));
6155
6136
 
6156
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Fiber.js
6137
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Fiber.js
6157
6138
  var interrupt3 = fiberInterrupt;
6158
6139
  var runIn = fiberRunIn;
6159
6140
 
6160
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Latch.js
6141
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Latch.js
6161
6142
  var makeUnsafe4 = makeLatchUnsafe;
6162
6143
 
6163
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/MutableRef.js
6144
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/MutableRef.js
6164
6145
  var TypeId13 = "~effect/MutableRef";
6165
6146
  var MutableRefProto = {
6166
6147
  [TypeId13]: TypeId13,
@@ -6178,7 +6159,7 @@ var make6 = (value3) => {
6178
6159
  return ref;
6179
6160
  };
6180
6161
 
6181
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/MutableList.js
6162
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/MutableList.js
6182
6163
  var Empty = /* @__PURE__ */ Symbol.for("effect/MutableList/Empty");
6183
6164
  var make7 = () => ({
6184
6165
  head: void 0,
@@ -6249,7 +6230,7 @@ var take = (self) => {
6249
6230
  return message;
6250
6231
  };
6251
6232
 
6252
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Queue.js
6233
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Queue.js
6253
6234
  var TypeId14 = "~effect/Queue";
6254
6235
  var EnqueueTypeId = "~effect/Queue/Enqueue";
6255
6236
  var DequeueTypeId = "~effect/Queue/Dequeue";
@@ -6523,7 +6504,7 @@ var finalize = (self, exit3) => {
6523
6504
  openState.awaiters.clear();
6524
6505
  };
6525
6506
 
6526
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Semaphore.js
6507
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Semaphore.js
6527
6508
  var makeUnsafe5 = (permits) => new SemaphoreImpl(permits);
6528
6509
  var waitForPermits = (self, n, effect2) => callback((resume) => {
6529
6510
  if (self.free >= n) return resume(effect2);
@@ -6619,7 +6600,7 @@ var SemaphoreImpl = class {
6619
6600
  }
6620
6601
  };
6621
6602
 
6622
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Channel.js
6603
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Channel.js
6623
6604
  var TypeId15 = "~effect/Channel";
6624
6605
  var isChannel = (u2) => hasProperty(u2, TypeId15);
6625
6606
  var ChannelProto = {
@@ -6824,7 +6805,7 @@ var runFold = /* @__PURE__ */ dual(3, (self, initial, f2) => suspend2(() => {
6824
6805
  }));
6825
6806
  var toPullScoped = (self, scope3) => toTransform(self)(done3(), scope3);
6826
6807
 
6827
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/stream.js
6808
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/stream.js
6828
6809
  var TypeId16 = "~effect/Stream";
6829
6810
  var streamVariance = {
6830
6811
  _R: identity,
@@ -6843,7 +6824,7 @@ var fromChannel = (channel) => {
6843
6824
  return self;
6844
6825
  };
6845
6826
 
6846
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Sink.js
6827
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Sink.js
6847
6828
  var TypeId17 = "~effect/Sink";
6848
6829
  var endVoid = /* @__PURE__ */ succeed6([void 0]);
6849
6830
  var sinkVariance = {
@@ -6882,7 +6863,7 @@ var forEachArray = (f2) => fromTransform2((upstream) => upstream.pipe(flatMap3(f
6882
6863
  }), catchDone(() => endVoid)));
6883
6864
  var unwrap2 = (effect2) => fromChannel2(unwrap(map6(effect2, toChannel)));
6884
6865
 
6885
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/rcRef.js
6866
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/rcRef.js
6886
6867
  var TypeId18 = "~effect/RcRef";
6887
6868
  var stateEmpty = {
6888
6869
  _tag: "Empty"
@@ -6980,11 +6961,11 @@ var get2 = /* @__PURE__ */ fnUntraced2(function* (self_) {
6980
6961
  return state.value;
6981
6962
  });
6982
6963
 
6983
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/RcRef.js
6964
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/RcRef.js
6984
6965
  var make10 = make9;
6985
6966
  var get3 = get2;
6986
6967
 
6987
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Stream.js
6968
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Stream.js
6988
6969
  var TypeId19 = "~effect/Stream";
6989
6970
  var isStream = (u2) => hasProperty(u2, TypeId19);
6990
6971
  var fromChannel3 = fromChannel;
@@ -7075,7 +7056,7 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args2) => isStream(args2[0]), (
7075
7056
  });
7076
7057
  var toReadableStreamEffect = /* @__PURE__ */ dual((args2) => isStream(args2[0]), (self, options) => map6(context2(), (context3) => toReadableStreamWith(self, context3, options)));
7077
7058
 
7078
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/FileSystem.js
7059
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/FileSystem.js
7079
7060
  var TypeId20 = "~effect/platform/FileSystem";
7080
7061
  var Size = (bytes) => typeof bytes === "bigint" ? bytes : BigInt(bytes);
7081
7062
  var KiB = (n) => Size(n * 1024);
@@ -7244,7 +7225,7 @@ var isFile = (u2) => hasProperty(u2, FileTypeId);
7244
7225
  var WatchBackend = class extends (/* @__PURE__ */ Service()("effect/platform/FileSystem/WatchBackend")) {
7245
7226
  };
7246
7227
 
7247
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Logger.js
7228
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Logger.js
7248
7229
  var CurrentLoggers2 = CurrentLoggers;
7249
7230
  var make12 = loggerMake;
7250
7231
  var layer = (loggers, options) => effect(CurrentLoggers2, withFiber(fnUntraced(function* (fiber3) {
@@ -7255,7 +7236,7 @@ var layer = (loggers, options) => effect(CurrentLoggers2, withFiber(fnUntraced(f
7255
7236
  return currentLoggers;
7256
7237
  })));
7257
7238
 
7258
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/schema/annotations.js
7239
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/schema/annotations.js
7259
7240
  function resolve(ast) {
7260
7241
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
7261
7242
  }
@@ -7272,15 +7253,28 @@ var getExpected = /* @__PURE__ */ memoize((ast) => {
7272
7253
  return ast.getExpected(getExpected);
7273
7254
  });
7274
7255
 
7275
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaIssue.js
7256
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/schema/parser.js
7257
+ var missing = /* @__PURE__ */ Symbol();
7258
+ var succeed8 = succeed4;
7259
+ var missingExit = /* @__PURE__ */ succeed8(missing);
7260
+ var sameExit = /* @__PURE__ */ succeed8(missing);
7261
+ var toOption = (value3) => value3 === missing ? none2() : some2(value3);
7262
+ var fromOptionExit = (option4) => option4._tag === "None" ? missingExit : succeed8(option4.value);
7263
+
7264
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaIssue.js
7276
7265
  var TypeId21 = "~effect/SchemaIssue/Issue";
7277
7266
  function isIssue(u2) {
7278
7267
  return hasProperty(u2, TypeId21) && u2[TypeId21] === TypeId21;
7279
7268
  }
7269
+ function hasInput(issue) {
7270
+ return Object.hasOwn(issue, "input");
7271
+ }
7280
7272
  var Base = class {
7281
7273
  [TypeId21] = TypeId21;
7282
- toString() {
7283
- return defaultFormatter(this);
7274
+ constructor(input, options) {
7275
+ if (options?.reportInput === true && input !== missing) {
7276
+ this.input = input;
7277
+ }
7284
7278
  }
7285
7279
  };
7286
7280
  var Filter = class extends Base {
@@ -7293,8 +7287,8 @@ var Filter = class extends Base {
7293
7287
  * The issue that occurred.
7294
7288
  */
7295
7289
  issue;
7296
- constructor(filter10, issue) {
7297
- super();
7290
+ constructor(filter10, issue, input, options) {
7291
+ super(input, options);
7298
7292
  this.filter = filter10;
7299
7293
  this.issue = issue;
7300
7294
  }
@@ -7309,8 +7303,8 @@ var Encoding = class extends Base {
7309
7303
  * The issue that occurred.
7310
7304
  */
7311
7305
  issue;
7312
- constructor(ast, issue) {
7313
- super();
7306
+ constructor(ast, issue, input, options) {
7307
+ super(input, options);
7314
7308
  this.ast = ast;
7315
7309
  this.issue = issue;
7316
7310
  }
@@ -7348,8 +7342,8 @@ var UnexpectedKey = class extends Base {
7348
7342
  * The schema that caused the issue.
7349
7343
  */
7350
7344
  ast;
7351
- constructor(ast) {
7352
- super();
7345
+ constructor(ast, input, options) {
7346
+ super(input, options);
7353
7347
  this.ast = ast;
7354
7348
  }
7355
7349
  };
@@ -7363,8 +7357,8 @@ var Composite = class extends Base {
7363
7357
  * The issues that occurred.
7364
7358
  */
7365
7359
  issues;
7366
- constructor(ast, issues) {
7367
- super();
7360
+ constructor(ast, issues, input, options) {
7361
+ super(input, options);
7368
7362
  this.ast = ast;
7369
7363
  this.issues = issues;
7370
7364
  }
@@ -7375,8 +7369,8 @@ var InvalidType = class extends Base {
7375
7369
  * The schema that caused the issue.
7376
7370
  */
7377
7371
  ast;
7378
- constructor(ast) {
7379
- super();
7372
+ constructor(ast, input, options) {
7373
+ super(input, options);
7380
7374
  this.ast = ast;
7381
7375
  }
7382
7376
  };
@@ -7386,8 +7380,8 @@ var InvalidValue = class extends Base {
7386
7380
  * The metadata for the issue.
7387
7381
  */
7388
7382
  annotations;
7389
- constructor(annotations) {
7390
- super();
7383
+ constructor(annotations, input, options) {
7384
+ super(input, options);
7391
7385
  this.annotations = annotations;
7392
7386
  }
7393
7387
  };
@@ -7401,8 +7395,8 @@ var AnyOf = class extends Base {
7401
7395
  * The issues that occurred.
7402
7396
  */
7403
7397
  issues;
7404
- constructor(ast, issues) {
7405
- super();
7398
+ constructor(ast, issues, input, options) {
7399
+ super(input, options);
7406
7400
  this.ast = ast;
7407
7401
  this.issues = issues;
7408
7402
  }
@@ -7417,67 +7411,81 @@ var OneOf = class extends Base {
7417
7411
  * The schemas that were successful.
7418
7412
  */
7419
7413
  successes;
7420
- constructor(ast, successes) {
7421
- super();
7414
+ constructor(ast, successes, input, options) {
7415
+ super(input, options);
7422
7416
  this.ast = ast;
7423
7417
  this.successes = successes;
7424
7418
  }
7425
7419
  };
7426
- function makeFilterIssue(entry) {
7420
+ function makeFilterIssue(entry, input, options) {
7427
7421
  if (isIssue(entry)) {
7428
7422
  return entry;
7429
7423
  }
7430
7424
  if (typeof entry === "string") {
7431
7425
  return new InvalidValue({
7432
7426
  message: entry
7433
- });
7427
+ }, input, options);
7434
7428
  }
7435
7429
  const inner = typeof entry.issue === "string" ? new InvalidValue({
7436
7430
  message: entry.issue
7437
- }) : entry.issue;
7431
+ }, input, options) : entry.issue;
7438
7432
  return new Pointer(entry.path, inner);
7439
7433
  }
7440
- function makeSingle(out) {
7434
+ function makeSingle(out, input, options) {
7441
7435
  if (out === void 0) {
7442
7436
  return void 0;
7443
7437
  }
7444
7438
  if (typeof out === "boolean") {
7445
- return out ? void 0 : new InvalidValue();
7439
+ return out ? void 0 : new InvalidValue(void 0, input, options);
7446
7440
  }
7447
- return makeFilterIssue(out);
7441
+ return makeFilterIssue(out, input, options);
7448
7442
  }
7449
- function normalizeFilterOutput(ast, out) {
7443
+ function normalizeFilterOutput(ast, out, input, options) {
7450
7444
  if (Array.isArray(out)) {
7451
7445
  if (!isReadonlyArrayNonEmpty(out)) {
7452
7446
  return void 0;
7453
7447
  }
7454
- return out.length === 1 ? makeFilterIssue(out[0]) : new Composite(ast, map3(out, makeFilterIssue));
7448
+ return out.length === 1 ? makeFilterIssue(out[0], input, options) : new Composite(ast, map3(out, (entry) => makeFilterIssue(entry, input, options)), input, options);
7455
7449
  }
7456
- return makeSingle(out);
7450
+ return makeSingle(out, input, options);
7457
7451
  }
7458
7452
  var defaultLeafHook = (issue) => {
7459
7453
  const message = findMessage(issue);
7460
7454
  if (message !== void 0) return message;
7461
7455
  switch (issue._tag) {
7462
7456
  case "InvalidType":
7463
- return getExpectedMessage(getExpected(issue.ast));
7464
- case "InvalidValue":
7465
- return "Expected a valid value";
7457
+ return getExpectedMessage(getExpected(issue.ast), issue);
7458
+ case "InvalidValue": {
7459
+ const expected = findExpected(issue);
7460
+ if (expected !== void 0) return getExpectedMessage(expected, issue);
7461
+ const input = formatInput(issue);
7462
+ return input === void 0 ? "Expected a valid value" : `Invalid data ${input}`;
7463
+ }
7466
7464
  case "MissingKey":
7467
7465
  return "Missing key";
7468
- case "UnexpectedKey":
7469
- return "Expected no excess property";
7466
+ case "UnexpectedKey": {
7467
+ const input = formatInput(issue);
7468
+ return input === void 0 ? "Expected no excess property" : `Unexpected key with value ${input}`;
7469
+ }
7470
7470
  case "Forbidden":
7471
7471
  return "Forbidden operation";
7472
- case "OneOf":
7473
- return "Expected exactly one member to match";
7472
+ case "OneOf": {
7473
+ const input = formatInput(issue);
7474
+ return input === void 0 ? "Expected exactly one member to match" : `Expected exactly one member to match the input ${input}`;
7475
+ }
7474
7476
  }
7475
7477
  };
7476
- var defaultCheckHook = (issue) => {
7477
- return findMessage(issue.issue) ?? findMessage(issue);
7478
- };
7479
- function getExpectedMessage(expected) {
7480
- return `Expected ${expected}`;
7478
+ var defaultCheckHook = (issue) => findMessage(issue.issue) ?? findMessage(issue);
7479
+ function formatInput(issue) {
7480
+ return hasInput(issue) ? format(issue.input) : void 0;
7481
+ }
7482
+ function findExpected(issue) {
7483
+ const expected = issue.annotations?.expected;
7484
+ return typeof expected === "string" ? expected : void 0;
7485
+ }
7486
+ function getExpectedMessage(expected, issue) {
7487
+ const input = formatInput(issue);
7488
+ return input === void 0 ? `Expected ${expected}` : `Expected ${expected}, got ${input}`;
7481
7489
  }
7482
7490
  function toDefaultIssues(issue, path5, leafHook, checkHook) {
7483
7491
  switch (issue._tag) {
@@ -7489,15 +7497,14 @@ function toDefaultIssues(issue, path5, leafHook, checkHook) {
7489
7497
  message
7490
7498
  }];
7491
7499
  }
7492
- switch (issue.issue._tag) {
7493
- case "InvalidValue":
7494
- return [{
7495
- path: path5,
7496
- message: getExpectedMessage(formatCheck(issue.filter))
7497
- }];
7498
- default:
7499
- return toDefaultIssues(issue.issue, path5, leafHook, checkHook);
7500
+ if (issue.issue._tag !== "InvalidValue") {
7501
+ return toDefaultIssues(issue.issue, path5, leafHook, checkHook);
7500
7502
  }
7503
+ const expected = findExpected(issue.issue);
7504
+ return [{
7505
+ path: path5,
7506
+ message: expected === void 0 ? getExpectedMessage(formatCheck(issue.filter), issue) : getExpectedMessage(expected, issue.issue)
7507
+ }];
7501
7508
  }
7502
7509
  case "Encoding":
7503
7510
  return toDefaultIssues(issue.issue, path5, leafHook, checkHook);
@@ -7509,7 +7516,7 @@ function toDefaultIssues(issue, path5, leafHook, checkHook) {
7509
7516
  if (issue.issues.length === 0) {
7510
7517
  return [{
7511
7518
  path: path5,
7512
- message: findMessage(issue) ?? getExpectedMessage(getExpected(issue.ast))
7519
+ message: findMessage(issue) ?? getExpectedMessage(getExpected(issue.ast), issue)
7513
7520
  }];
7514
7521
  }
7515
7522
  return issue.issues.flatMap((issue2) => toDefaultIssues(issue2, path5, leafHook, checkHook));
@@ -7569,7 +7576,7 @@ function getMessageAnnotation(annotations, type = "message") {
7569
7576
  if (typeof message === "string") return message;
7570
7577
  }
7571
7578
 
7572
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/schema/cause.js
7579
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/schema/cause.js
7573
7580
  function getSchemaIssue(cause) {
7574
7581
  let issue;
7575
7582
  for (const reason of cause.reasons) {
@@ -7590,15 +7597,7 @@ function getSchemaIssueOrThrow(cause, message) {
7590
7597
  return issue;
7591
7598
  }
7592
7599
 
7593
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/schema/parser.js
7594
- var missing = /* @__PURE__ */ Symbol();
7595
- var succeed8 = succeed4;
7596
- var missingExit = /* @__PURE__ */ succeed8(missing);
7597
- var sameExit = /* @__PURE__ */ succeed8(missing);
7598
- var toOption = (value3) => value3 === missing ? none2() : some2(value3);
7599
- var fromOptionExit = (option4) => option4._tag === "None" ? missingExit : succeed8(option4.value);
7600
-
7601
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaGetter.js
7600
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaGetter.js
7602
7601
  var Getter = class _Getter extends Class {
7603
7602
  run;
7604
7603
  constructor(run6) {
@@ -7647,7 +7646,7 @@ function Date3() {
7647
7646
  return transform((u2) => new globalThis.Date(u2));
7648
7647
  }
7649
7648
 
7650
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaTransformation.js
7649
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaTransformation.js
7651
7650
  var TypeId22 = "~effect/SchemaTransformation/Transformation";
7652
7651
  var Transformation = class _Transformation {
7653
7652
  [TypeId22] = TypeId22;
@@ -7736,7 +7735,7 @@ var defectFromJson = (options) => transform2({
7736
7735
  encode: makeEncodeDefect(options)
7737
7736
  });
7738
7737
 
7739
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaAST.js
7738
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaAST.js
7740
7739
  function makeGuard(tag2) {
7741
7740
  return (ast) => ast._tag === tag2;
7742
7741
  }
@@ -8026,7 +8025,7 @@ var Arrays = class _Arrays extends Base2 {
8026
8025
  return missing;
8027
8026
  }
8028
8027
  if (!Array.isArray(input)) {
8029
- return yield* fail6(new InvalidType(ast));
8028
+ return yield* fail6(new InvalidType(ast, input, options));
8030
8029
  }
8031
8030
  if (!elements) {
8032
8031
  elements = ast.elements.map((ast2) => ({
@@ -8057,17 +8056,18 @@ var Arrays = class _Arrays extends Base2 {
8057
8056
  if (eff) yield* eff;
8058
8057
  if (ast.rest.length === 0 && len > elementLen) {
8059
8058
  for (let i = elementLen; i <= len - 1; i++) {
8060
- const issue = new Pointer([i], new UnexpectedKey(ast));
8059
+ const unexpected = new UnexpectedKey(ast, input[i], options);
8060
+ const issue = new Pointer([i], unexpected);
8061
8061
  if (options.errors === "all") {
8062
8062
  if (state.issues) state.issues.push(issue);
8063
8063
  else state.issues = [issue];
8064
8064
  } else {
8065
- return yield* fail6(new Composite(ast, [issue]));
8065
+ return yield* fail6(new Composite(ast, [issue], input, options));
8066
8066
  }
8067
8067
  }
8068
8068
  }
8069
8069
  if (state.issues) {
8070
- return yield* fail6(new Composite(ast, state.issues));
8070
+ return yield* fail6(new Composite(ast, state.issues, input, options));
8071
8071
  }
8072
8072
  return state.output;
8073
8073
  });
@@ -8110,7 +8110,7 @@ var parseArray = /* @__PURE__ */ iterateEager()({
8110
8110
  if (s3.issues) s3.issues.push(issue);
8111
8111
  else s3.issues = [issue];
8112
8112
  } else {
8113
- return fail4(new Composite(s3.ast, [issue]));
8113
+ return fail4(new Composite(s3.ast, [issue], s3.input, s3.options));
8114
8114
  }
8115
8115
  }
8116
8116
  }
@@ -8127,14 +8127,14 @@ var wrapPropertyKeyIssue = (s3, ast, key, exit3) => {
8127
8127
  }
8128
8128
  const issue = getSchemaIssue(exit3.cause);
8129
8129
  if (issue === void 0) {
8130
- return failCause2(map5(exit3.cause, (issue2) => new Composite(ast, [new Pointer([key], issue2)])));
8130
+ return failCause2(map5(exit3.cause, (issue2) => new Composite(ast, [new Pointer([key], issue2)], s3.input, s3.options)));
8131
8131
  }
8132
8132
  const pointer = new Pointer([key], issue);
8133
8133
  if (s3.options.errors === "all") {
8134
8134
  if (s3.issues) s3.issues.push(pointer);
8135
8135
  else s3.issues = [pointer];
8136
8136
  } else {
8137
- return fail4(new Composite(ast, [pointer]));
8137
+ return fail4(new Composite(ast, [pointer], s3.input, s3.options));
8138
8138
  }
8139
8139
  };
8140
8140
  var FINITE_PATTERN = "[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";
@@ -8267,7 +8267,7 @@ var Objects = class _Objects extends Base2 {
8267
8267
  return missing;
8268
8268
  }
8269
8269
  if (!(typeof input === "object" && input !== null && !Array.isArray(input))) {
8270
- return yield* fail6(new InvalidType(ast));
8270
+ return yield* fail6(new InvalidType(ast, input, options));
8271
8271
  }
8272
8272
  if (!properties) {
8273
8273
  properties = ast.propertySignatures.map((ps2) => ({
@@ -8301,7 +8301,8 @@ var Objects = class _Objects extends Base2 {
8301
8301
  const key = inputKeys[i];
8302
8302
  if (!expectedKeysSet.has(key)) {
8303
8303
  if (onExcessPropertyError) {
8304
- const issue = new Pointer([key], new UnexpectedKey(ast));
8304
+ const unexpected = new UnexpectedKey(ast, record2[key], options);
8305
+ const issue = new Pointer([key], unexpected);
8305
8306
  if (errorsAllOption) {
8306
8307
  if (state.issues) {
8307
8308
  state.issues.push(issue);
@@ -8310,7 +8311,7 @@ var Objects = class _Objects extends Base2 {
8310
8311
  }
8311
8312
  continue;
8312
8313
  } else {
8313
- return yield* fail6(new Composite(ast, [issue]));
8314
+ return yield* fail6(new Composite(ast, [issue], input, options));
8314
8315
  }
8315
8316
  } else {
8316
8317
  assignProperty(out, key, record2[key]);
@@ -8347,7 +8348,7 @@ var Objects = class _Objects extends Base2 {
8347
8348
  if (eff) yield* eff;
8348
8349
  }
8349
8350
  if (state.issues) {
8350
- return yield* fail6(new Composite(ast, state.issues));
8351
+ return yield* fail6(new Composite(ast, state.issues, input, options));
8351
8352
  }
8352
8353
  if (options.propertyOrder === "original") {
8353
8354
  const keys2 = (inputKeys ?? Reflect.ownKeys(record2)).concat(expectedKeys);
@@ -8415,7 +8416,7 @@ var parseProperties = /* @__PURE__ */ iterateEager()({
8415
8416
  else s3.issues = [issue];
8416
8417
  return;
8417
8418
  } else {
8418
- return fail4(new Composite(s3.ast, [issue]));
8419
+ return fail4(new Composite(s3.ast, [issue], s3.input, s3.options));
8419
8420
  }
8420
8421
  }
8421
8422
  }
@@ -8648,7 +8649,7 @@ var Union = class _Union extends Base2 {
8648
8649
  if (candidates.length === 1) {
8649
8650
  const result3 = compile(candidates[0])(input, options);
8650
8651
  if (result3._tag === "Success") return result3;
8651
- return effectIsExit(result3) ? failSingleUnionCandidate(ast, result3.cause) : catchCause2(result3, (cause) => failSingleUnionCandidate(ast, cause));
8652
+ return effectIsExit(result3) ? failSingleUnionCandidate(ast, result3.cause, input, options) : catchCause2(result3, (cause) => failSingleUnionCandidate(ast, cause, input, options));
8652
8653
  }
8653
8654
  const state = {
8654
8655
  ast,
@@ -8665,10 +8666,13 @@ var Union = class _Union extends Base2 {
8665
8666
  orderedStep: true
8666
8667
  } : void 0);
8667
8668
  if (!eff) {
8668
- return state.out ?? fail6(new AnyOf(ast, state.issues ?? []));
8669
+ if (state.out) return state.out;
8670
+ return fail6(new AnyOf(ast, state.issues ?? [], input, options));
8669
8671
  }
8670
8672
  return flatMapEager2(eff, (_2) => {
8671
- return state.out === sameExit ? succeed6(input) : state.out ?? fail6(new AnyOf(ast, state.issues ?? []));
8673
+ if (state.out === sameExit) return succeed6(input);
8674
+ if (state.out) return state.out;
8675
+ return fail6(new AnyOf(ast, state.issues ?? [], input, options));
8672
8676
  });
8673
8677
  };
8674
8678
  }
@@ -8720,9 +8724,10 @@ var Union = class _Union extends Base2 {
8720
8724
  return Array.from(new Set(types)).join(" | ");
8721
8725
  }
8722
8726
  };
8723
- function failSingleUnionCandidate(ast, cause) {
8727
+ function failSingleUnionCandidate(ast, cause, input, options) {
8724
8728
  const issue = getSchemaIssue(cause);
8725
- return issue ? fail4(new AnyOf(ast, [issue])) : failCause2(cause);
8729
+ if (!issue) return failCause2(cause);
8730
+ return fail4(new AnyOf(ast, [issue], input, options));
8726
8731
  }
8727
8732
  var parseUnion = /* @__PURE__ */ iterateEager()({
8728
8733
  onItem(s3, ast) {
@@ -8740,7 +8745,7 @@ var parseUnion = /* @__PURE__ */ iterateEager()({
8740
8745
  } else {
8741
8746
  if (s3.out && s3.successes) {
8742
8747
  s3.successes.push(candidate);
8743
- return fail4(new OneOf(s3.ast, s3.successes));
8748
+ return fail4(new OneOf(s3.ast, s3.successes, s3.input, s3.options));
8744
8749
  }
8745
8750
  s3.out = exit3;
8746
8751
  if (s3.successes) {
@@ -8805,7 +8810,7 @@ var FilterGroup = class _FilterGroup extends Class {
8805
8810
  }
8806
8811
  };
8807
8812
  function makeFilter(filter10, annotations, aborted = false) {
8808
- return new Filter2((input, ast, options) => normalizeFilterOutput(ast, filter10(input, ast, options)), annotations, aborted);
8813
+ return new Filter2((input, ast, options) => normalizeFilterOutput(ast, filter10(input, ast, options), input, options), annotations, aborted);
8809
8814
  }
8810
8815
  function isFinite3(annotations) {
8811
8816
  return makeFilter((n) => globalThis.Number.isFinite(n), {
@@ -9030,15 +9035,17 @@ function containsUndefined(ast) {
9030
9035
  }
9031
9036
  function fromConst(ast, value3) {
9032
9037
  const succeed10 = succeed8(value3);
9033
- return (input) => {
9038
+ return (input, options) => {
9034
9039
  if (input === missing) return missingExit;
9035
- return input === value3 ? succeed10 : fail6(new InvalidType(ast));
9040
+ if (input === value3) return succeed10;
9041
+ return fail6(new InvalidType(ast, input, options));
9036
9042
  };
9037
9043
  }
9038
9044
  function fromRefinement(ast, refinement) {
9039
- return (input) => {
9045
+ return (input, options) => {
9040
9046
  if (input === missing) return missingExit;
9041
- return refinement(input) ? sameExit : fail6(new InvalidType(ast));
9047
+ if (refinement(input)) return sameExit;
9048
+ return fail6(new InvalidType(ast, input, options));
9042
9049
  };
9043
9050
  }
9044
9051
  var parameterFromPropertyKey = /* @__PURE__ */ applyToSelfOrLastLinkEncoding((ast) => {
@@ -9091,7 +9098,7 @@ function collectIssues(checks, value3, issues, ast, options) {
9091
9098
  } else {
9092
9099
  const issue = check.run(value3, ast, options);
9093
9100
  if (issue) {
9094
- const filter10 = new Filter(check, issue);
9101
+ const filter10 = new Filter(check, issue, value3, options);
9095
9102
  if (issues) issues.push(filter10);
9096
9103
  else issues = [filter10];
9097
9104
  if (options.errors !== "all" || check.aborted) {
@@ -9164,7 +9171,7 @@ function isTree(u2, isLeaf) {
9164
9171
  function isJson(u2) {
9165
9172
  return isTree(u2, isJsonLeaf);
9166
9173
  }
9167
- var Json = /* @__PURE__ */ new Declaration([], () => (input, ast) => isJson(input) ? sameExit : fail6(new InvalidType(ast)), {
9174
+ var Json = /* @__PURE__ */ new Declaration([], () => (input, ast, options) => isJson(input) ? sameExit : fail6(new InvalidType(ast, input, options)), {
9168
9175
  representation: {
9169
9176
  id: "effect/schema/Json",
9170
9177
  payload: null
@@ -9177,30 +9184,13 @@ var Json = /* @__PURE__ */ new Declaration([], () => (input, ast) => isJson(inpu
9177
9184
  function isStringTree(u2) {
9178
9185
  return isTree(u2, isStringTreeLeaf);
9179
9186
  }
9180
- var StringTree = /* @__PURE__ */ new Declaration([], () => (input, ast) => isStringTree(input) ? sameExit : fail6(new InvalidType(ast)), {
9187
+ var StringTree = /* @__PURE__ */ new Declaration([], () => (input, ast, options) => isStringTree(input) ? sameExit : fail6(new InvalidType(ast, input, options)), {
9181
9188
  expected: "StringTree",
9182
9189
  toCodecStringTree: () => void 0
9183
9190
  });
9184
9191
  var unknownToStringTree = /* @__PURE__ */ new Link(StringTree, /* @__PURE__ */ passthrough3());
9185
9192
 
9186
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaError.js
9187
- var TypeId24 = "~effect/SchemaError/SchemaError";
9188
- var SchemaError = class extends (/* @__PURE__ */ TaggedError2("SchemaError")) {
9189
- [TypeId24] = TypeId24;
9190
- constructor(issue) {
9191
- super({
9192
- issue
9193
- });
9194
- }
9195
- get message() {
9196
- return this.issue.toString();
9197
- }
9198
- toString() {
9199
- return `SchemaError(${this.message})`;
9200
- }
9201
- };
9202
-
9203
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/SchemaParser.js
9193
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaParser.js
9204
9194
  function makeEffect(schema) {
9205
9195
  const parser = runWithCompiler(constructorCompiler, toType(schema.ast));
9206
9196
  return (input, options) => {
@@ -9231,7 +9221,7 @@ function make14(schema) {
9231
9221
  return exit3.value;
9232
9222
  }
9233
9223
  const issue = getSchemaIssueOrThrow(exit3.cause, "Constructor adapter can only throw schema issues");
9234
- throw new Error(issue.toString(), {
9224
+ throw new Error("Schema validation failed", {
9235
9225
  cause: issue
9236
9226
  });
9237
9227
  };
@@ -9333,7 +9323,7 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9333
9323
  if (input !== missing && output !== missing) {
9334
9324
  const issues = collectIssues(encodingChecks, input, void 0, ast, options);
9335
9325
  if (issues) {
9336
- result3 = fail6(new Composite(ast, issues));
9326
+ result3 = fail6(new Composite(ast, issues, input, options));
9337
9327
  }
9338
9328
  }
9339
9329
  }
@@ -9342,7 +9332,7 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9342
9332
  if (input !== missing && value3 !== missing) {
9343
9333
  const issues = collectIssues(encodingChecks, input, void 0, ast, options);
9344
9334
  if (issues) {
9345
- return fail6(new Composite(ast, issues));
9335
+ return fail6(new Composite(ast, issues, input, options));
9346
9336
  }
9347
9337
  }
9348
9338
  return succeed6(value3);
@@ -9356,7 +9346,7 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9356
9346
  if (value3 === missing) return result3;
9357
9347
  const issues = collectIssues(checks, value3, void 0, ast, options);
9358
9348
  if (issues) {
9359
- result3 = fail6(new Composite(ast, issues));
9349
+ result3 = fail6(new Composite(ast, issues, value3, options));
9360
9350
  }
9361
9351
  }
9362
9352
  } else {
@@ -9364,7 +9354,7 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9364
9354
  if (value3 !== missing) {
9365
9355
  const issues = collectIssues(checks, value3, void 0, ast, options);
9366
9356
  if (issues) {
9367
- return fail6(new Composite(ast, issues));
9357
+ return fail6(new Composite(ast, issues, value3, options));
9368
9358
  }
9369
9359
  }
9370
9360
  return succeed6(value3);
@@ -9403,7 +9393,7 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9403
9393
  const local = parseLocal(value3, options);
9404
9394
  return local === sameExit ? result3 : local;
9405
9395
  }
9406
- result3 = catchCause2(result3, (cause) => failCauseSync2(() => map5(cause, (issue) => new Encoding(ast, issue))));
9396
+ result3 = catchCause2(result3, (cause) => failCauseSync2(() => map5(cause, (issue) => new Encoding(ast, issue, input, options))));
9407
9397
  return flatMapEager2(result3, (value3) => {
9408
9398
  const local = parseLocal(value3, options);
9409
9399
  return local === sameExit ? succeed8(value3) : local;
@@ -9411,10 +9401,10 @@ function makeParser(ast, compile, compileConstructorDefault2, constructorDefault
9411
9401
  };
9412
9402
  }
9413
9403
 
9414
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/schema/schema.js
9415
- var TypeId25 = "~effect/Schema/Schema";
9404
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/schema/schema.js
9405
+ var TypeId24 = "~effect/Schema/Schema";
9416
9406
  var SchemaProto = {
9417
- [TypeId25]: TypeId25,
9407
+ [TypeId24]: TypeId24,
9418
9408
  pipe() {
9419
9409
  return pipeArguments(this, arguments);
9420
9410
  },
@@ -9436,20 +9426,16 @@ function make15(ast, options) {
9436
9426
  }));
9437
9427
  self.ast = ast;
9438
9428
  self.rebuild = (ast2) => make15(ast2, options);
9439
- const makeEffect2 = makeEffect(self);
9440
- self.makeEffect = (input, options2) => fromIssueEffect(makeEffect2(input, options2));
9429
+ self.makeEffect = makeEffect(self);
9441
9430
  self.make = make14(self);
9442
9431
  self.makeOption = makeOption(self);
9443
9432
  return self;
9444
9433
  }
9445
- function fromIssueEffect(self) {
9446
- return catchCause2(self, (cause) => failCauseSync2(() => map5(cause, (issue) => new SchemaError(issue))));
9447
- }
9448
9434
 
9449
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Struct.js
9435
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Struct.js
9450
9436
  var lambda = (f2) => f2;
9451
9437
 
9452
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/internal/redacted.js
9438
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/internal/redacted.js
9453
9439
  var redactedRegistry = /* @__PURE__ */ new WeakMap();
9454
9440
  var value = (self) => {
9455
9441
  if (redactedRegistry.has(self)) {
@@ -9459,9 +9445,9 @@ var value = (self) => {
9459
9445
  }
9460
9446
  };
9461
9447
 
9462
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Redacted.js
9463
- var TypeId26 = "~effect/data/Redacted";
9464
- var isRedacted = (u2) => hasProperty(u2, TypeId26);
9448
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Redacted.js
9449
+ var TypeId25 = "~effect/data/Redacted";
9450
+ var isRedacted = (u2) => hasProperty(u2, TypeId25);
9465
9451
  var make16 = (value3, options) => {
9466
9452
  const self = Object.create(Proto3);
9467
9453
  if (options?.label) {
@@ -9471,7 +9457,7 @@ var make16 = (value3, options) => {
9471
9457
  return self;
9472
9458
  };
9473
9459
  var Proto3 = {
9474
- [TypeId26]: {
9460
+ [TypeId25]: {
9475
9461
  _A: (_2) => _2
9476
9462
  },
9477
9463
  label: void 0,
@@ -9491,15 +9477,32 @@ var Proto3 = {
9491
9477
  };
9492
9478
  var value2 = value;
9493
9479
 
9494
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Schema.js
9495
- var TypeId27 = TypeId25;
9480
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/SchemaError.js
9481
+ var TypeId26 = "~effect/SchemaError/SchemaError";
9482
+ var SchemaError = class extends (/* @__PURE__ */ TaggedError2("SchemaError")) {
9483
+ [TypeId26] = TypeId26;
9484
+ constructor(issue) {
9485
+ super({
9486
+ issue
9487
+ });
9488
+ }
9489
+ get message() {
9490
+ return defaultFormatter(this.issue);
9491
+ }
9492
+ toString() {
9493
+ return `SchemaError(${this.message})`;
9494
+ }
9495
+ };
9496
+
9497
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Schema.js
9498
+ var TypeId27 = TypeId24;
9496
9499
  function declareConstructor() {
9497
9500
  return (typeParameters, run6, annotations) => {
9498
9501
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters2) => run6(typeParameters2.map((ast) => make17(ast))), annotations));
9499
9502
  };
9500
9503
  }
9501
9504
  function declare(is4, annotations) {
9502
- return declareConstructor()([], () => (input, ast) => is4(input) ? succeed6(input) : fail6(new InvalidType(ast)), annotations);
9505
+ return declareConstructor()([], () => (input, ast, options) => is4(input) ? succeed6(input) : fail6(new InvalidType(ast, input, options)), annotations);
9503
9506
  }
9504
9507
  var is2 = is;
9505
9508
  function decodeUnknownEffect2(schema, options) {
@@ -9508,6 +9511,9 @@ function decodeUnknownEffect2(schema, options) {
9508
9511
  return fromIssueEffect(parser(input, options2));
9509
9512
  };
9510
9513
  }
9514
+ function fromIssueEffect(self) {
9515
+ return catchCause2(self, (cause) => failCauseSync2(() => map5(cause, (issue) => new SchemaError(issue))));
9516
+ }
9511
9517
  var make17 = make15;
9512
9518
  function isSchema(u2) {
9513
9519
  return hasProperty(u2, TypeId27) && u2[TypeId27] === TypeId27;
@@ -9586,13 +9592,10 @@ function decodeTo2(to2, transformation) {
9586
9592
  };
9587
9593
  }
9588
9594
  function withConstructorDefault2(defaultValue) {
9589
- return (schema) => make17(withConstructorDefault(schema.ast, toIssueEffect(defaultValue)), {
9595
+ return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
9590
9596
  schema
9591
9597
  });
9592
9598
  }
9593
- function toIssueEffect(self) {
9594
- return catchCause2(self, (cause) => failCauseSync2(() => map5(cause, (error2) => error2.issue)));
9595
- }
9596
9599
  function tag(literal) {
9597
9600
  return Literal2(literal).pipe(withConstructorDefault2(succeed6(literal)));
9598
9601
  }
@@ -9864,8 +9867,8 @@ function getClassSchemaFactory(from, identifier2, annotations) {
9864
9867
  const ClassTypeId = getClassTypeId(identifier2);
9865
9868
  const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
9866
9869
  const transformation = getClassTransformation(self);
9867
- const to2 = make17(new Declaration([from.ast], () => (input, ast) => {
9868
- return isClassValue(input) ? succeed6(input) : fail6(new InvalidType(ast));
9870
+ const to2 = make17(new Declaration([from.ast], () => (input, ast, options) => {
9871
+ return isClassValue(input) ? succeed6(input) : fail6(new InvalidType(ast, input, options));
9869
9872
  }, {
9870
9873
  identifier: identifier2,
9871
9874
  [CONSTRUCTOR_ANNOTATION_KEY]: ([from2]) => ({
@@ -10024,7 +10027,7 @@ var Json2 = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json, {
10024
10027
  })
10025
10028
  }));
10026
10029
 
10027
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/Cookies.js
10030
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/Cookies.js
10028
10031
  var TypeId28 = "~effect/http/Cookies";
10029
10032
  var CookieTypeId = "~effect/http/Cookies/Cookie";
10030
10033
  var Proto4 = {
@@ -10207,7 +10210,7 @@ var tryDecodeURIComponent = (str) => {
10207
10210
  }
10208
10211
  };
10209
10212
 
10210
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/Headers.js
10213
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/Headers.js
10211
10214
  var TypeId29 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
10212
10215
  var Proto5 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
10213
10216
  [TypeId29]: {
@@ -10314,7 +10317,7 @@ var CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentReda
10314
10317
  defaultValue: () => ["authorization", "cookie", "set-cookie", "x-api-key"]
10315
10318
  });
10316
10319
 
10317
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/UrlParams.js
10320
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/UrlParams.js
10318
10321
  var TypeId30 = "~effect/http/UrlParams";
10319
10322
  var isUrlParams = (u2) => hasProperty(u2, TypeId30);
10320
10323
  var Proto6 = {
@@ -10395,7 +10398,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
10395
10398
  return out;
10396
10399
  });
10397
10400
 
10398
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpBody.js
10401
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpBody.js
10399
10402
  var TypeId31 = "~effect/http/HttpBody";
10400
10403
  var Proto7 = class {
10401
10404
  [TypeId31];
@@ -10422,7 +10425,7 @@ var Empty2 = class extends Proto7 {
10422
10425
  };
10423
10426
  var empty9 = /* @__PURE__ */ new Empty2();
10424
10427
 
10425
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpClientError.js
10428
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpClientError.js
10426
10429
  var TypeId32 = "~effect/http/HttpClientError";
10427
10430
  var HttpClientError = class extends (/* @__PURE__ */ TaggedError2("HttpClientError")) {
10428
10431
  constructor(props) {
@@ -10557,10 +10560,10 @@ var EmptyBodyError = class extends (/* @__PURE__ */ TaggedError2("EmptyBodyError
10557
10560
  }
10558
10561
  };
10559
10562
 
10560
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpMethod.js
10563
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpMethod.js
10561
10564
  var allShort = [["GET", "get"], ["POST", "post"], ["PUT", "put"], ["DELETE", "del"], ["PATCH", "patch"], ["HEAD", "head"], ["OPTIONS", "options"], ["TRACE", "trace"]];
10562
10565
 
10563
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/internal/httpBody.js
10566
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/internal/httpBody.js
10564
10567
  var updateHeaders = (headers, body) => {
10565
10568
  if (body._tag === "Empty" || body._tag === "FormData") {
10566
10569
  return remove2(remove2(headers, "content-type"), "content-length");
@@ -10569,7 +10572,7 @@ var updateHeaders = (headers, body) => {
10569
10572
  return body.contentLength === void 0 ? remove2(headers, "content-length") : set2(headers, "content-length", body.contentLength.toString());
10570
10573
  };
10571
10574
 
10572
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/Url.js
10575
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/Url.js
10573
10576
  var UrlError = class extends (/* @__PURE__ */ TaggedError2("UrlError")) {
10574
10577
  };
10575
10578
  var make20 = (url, params, hash2) => try_({
@@ -10597,7 +10600,7 @@ var baseUrl = () => {
10597
10600
  return void 0;
10598
10601
  };
10599
10602
 
10600
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpClientRequest.js
10603
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpClientRequest.js
10601
10604
  var TypeId33 = "~effect/http/HttpClientRequest";
10602
10605
  var Proto8 = {
10603
10606
  [TypeId33]: TypeId33,
@@ -10694,7 +10697,7 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
10694
10697
  return makeWith(self.method, self.url, self.urlParams, self.hash, updateHeaders(self.headers, body), body);
10695
10698
  });
10696
10699
 
10697
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
10700
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
10698
10701
  var TypeId34 = "~effect/http/HttpIncomingMessage";
10699
10702
  var inspect = (self, that) => {
10700
10703
  const contentType = self.headers["content-type"] ?? "";
@@ -10721,7 +10724,7 @@ var inspect = (self, that) => {
10721
10724
  return obj;
10722
10725
  };
10723
10726
 
10724
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpClientResponse.js
10727
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpClientResponse.js
10725
10728
  var TypeId35 = "~effect/http/HttpClientResponse";
10726
10729
  var fromWeb = (request5, source) => new WebHttpClientResponse(request5, source);
10727
10730
  var stream2 = (effect2) => unwrap3(map6(effect2, (self) => self.stream));
@@ -10848,7 +10851,7 @@ var WebHttpClientResponse = class extends Class2 {
10848
10851
  }
10849
10852
  };
10850
10853
 
10851
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpTraceContext.js
10854
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpTraceContext.js
10852
10855
  var toHeaders = (span) => fromRecordUnsafe({
10853
10856
  b3: `${span.traceId}-${span.spanId}-${span.sampled ? "1" : "0"}${match(span.parent, {
10854
10857
  onNone: () => "",
@@ -10857,7 +10860,7 @@ var toHeaders = (span) => fromRecordUnsafe({
10857
10860
  traceparent: `00-${span.traceId}-${span.spanId}-${span.sampled ? "01" : "00"}`
10858
10861
  });
10859
10862
 
10860
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/HttpClient.js
10863
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/HttpClient.js
10861
10864
  var TypeId36 = "~effect/http/HttpClient";
10862
10865
  var HttpClient = /* @__PURE__ */ Service("effect/HttpClient");
10863
10866
  var transformResponse = /* @__PURE__ */ dual(2, (self, f2) => makeWith2((request5) => f2(self.postprocess(request5)), self.preprocess));
@@ -11070,7 +11073,7 @@ var InterruptibleResponse = class {
11070
11073
  }
11071
11074
  };
11072
11075
 
11073
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/NodeSink.js
11076
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/NodeSink.js
11074
11077
  var fromWritable = (options) => fromChannel2(mapDone(fromWritableChannel(options), (_2) => [_2]));
11075
11078
  var fromWritableChannel = (options) => fromTransform((pull) => {
11076
11079
  const writable = options.evaluate();
@@ -11110,7 +11113,7 @@ var pullIntoWritable = (options) => options.pull.pipe(flatMap3((chunk) => {
11110
11113
  });
11111
11114
  }) : identity);
11112
11115
 
11113
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/NodeStream.js
11116
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/NodeStream.js
11114
11117
  var fromReadable = (options) => fromChannel3(fromReadableChannel(options));
11115
11118
  var fromReadableChannel = (options) => fromTransform((_2, scope3) => readableToPullUnsafe({
11116
11119
  scope: scope3,
@@ -11169,7 +11172,7 @@ var readableToPullUnsafe = (options) => {
11169
11172
  };
11170
11173
  var defaultOnError = (error2) => new UnknownError2(error2);
11171
11174
 
11172
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/http/FetchHttpClient.js
11175
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/http/FetchHttpClient.js
11173
11176
  var Fetch = /* @__PURE__ */ Reference("effect/http/FetchHttpClient/Fetch", {
11174
11177
  defaultValue: () => globalThis.fetch
11175
11178
  });
@@ -11211,7 +11214,7 @@ var fetch = /* @__PURE__ */ make22((request5, url, signal, fiber3) => {
11211
11214
  });
11212
11215
  var layer2 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch));
11213
11216
 
11214
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Runtime.js
11217
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Runtime.js
11215
11218
  var defaultTeardown = (exit3, onExit4) => {
11216
11219
  if (isSuccess4(exit3)) return onExit4(0);
11217
11220
  if (hasInterruptsOnly2(exit3.cause)) return onExit4(130);
@@ -11257,7 +11260,7 @@ var getErrorReported = (u2) => {
11257
11260
  return true;
11258
11261
  };
11259
11262
 
11260
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/NodeRuntime.js
11263
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/NodeRuntime.js
11261
11264
  var runMain = /* @__PURE__ */ makeRunMain(({
11262
11265
  fiber: fiber3,
11263
11266
  teardown
@@ -11280,10 +11283,10 @@ var runMain = /* @__PURE__ */ makeRunMain(({
11280
11283
  process.on("SIGTERM", onSigint);
11281
11284
  });
11282
11285
 
11283
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeRuntime.js
11286
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeRuntime.js
11284
11287
  var runMain2 = runMain;
11285
11288
 
11286
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Path.js
11289
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Path.js
11287
11290
  var Path_exports = {};
11288
11291
  __export(Path_exports, {
11289
11292
  Path: () => Path,
@@ -11757,7 +11760,7 @@ var posixImpl = /* @__PURE__ */ Path.of({
11757
11760
  });
11758
11761
  var layer3 = /* @__PURE__ */ succeed5(Path)(posixImpl);
11759
11762
 
11760
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Brand.js
11763
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Brand.js
11761
11764
  function nominal() {
11762
11765
  return Object.assign((input) => input, {
11763
11766
  option: (input) => some2(input),
@@ -11766,7 +11769,7 @@ function nominal() {
11766
11769
  });
11767
11770
  }
11768
11771
 
11769
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
11772
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
11770
11773
  var ExitCode = /* @__PURE__ */ nominal();
11771
11774
  var ProcessId = /* @__PURE__ */ nominal();
11772
11775
  var HandleTypeId = "~effect/ChildProcessSpawner/ChildProcessHandle";
@@ -11798,7 +11801,7 @@ var make23 = (spawn2) => {
11798
11801
  var ChildProcessSpawner = class extends (/* @__PURE__ */ Service()("effect/process/ChildProcessSpawner")) {
11799
11802
  };
11800
11803
 
11801
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/process/ChildProcess.js
11804
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/process/ChildProcess.js
11802
11805
  var TypeId38 = "~effect/unstable/process/ChildProcess";
11803
11806
  var Proto10 = {
11804
11807
  .../* @__PURE__ */ Prototype2({
@@ -11922,7 +11925,7 @@ var splitByWhitespaces = (template, rawTemplate) => {
11922
11925
  };
11923
11926
  var concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || prevTokens.length === 0 || nextTokens.length === 0 ? [...prevTokens, ...nextTokens] : [...prevTokens.slice(0, -1), `${prevTokens.at(-1)}${nextTokens.at(0)}`, ...nextTokens.slice(1)];
11924
11927
 
11925
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/internal/utils.js
11928
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/internal/utils.js
11926
11929
  var handleErrnoException = (module, method) => (err, [path5]) => {
11927
11930
  let reason = "Unknown";
11928
11931
  switch (err.code) {
@@ -11958,7 +11961,7 @@ var handleErrnoException = (module, method) => (err, [path5]) => {
11958
11961
  });
11959
11962
  };
11960
11963
 
11961
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
11964
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
11962
11965
  var toError = (error2) => error2 instanceof globalThis.Error ? error2 : new globalThis.Error(String(error2));
11963
11966
  var toPlatformError = (method, error2, command2) => {
11964
11967
  const {
@@ -12442,7 +12445,7 @@ var flattenCommand = (command2) => {
12442
12445
  };
12443
12446
  };
12444
12447
 
12445
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Crypto.js
12448
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Crypto.js
12446
12449
  var TypeId39 = "~effect/platform/Crypto";
12447
12450
  var Crypto = /* @__PURE__ */ Service("effect/Crypto");
12448
12451
  var make27 = (impl) => {
@@ -12550,7 +12553,7 @@ var make28 = /* @__PURE__ */ make27({
12550
12553
  });
12551
12554
  var layer5 = /* @__PURE__ */ succeed5(Crypto, make28);
12552
12555
 
12553
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeCrypto.js
12556
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeCrypto.js
12554
12557
  var layer6 = layer5;
12555
12558
  var handleBadArgument = (method) => (err) => badArgument({
12556
12559
  module: "FileSystem",
@@ -12930,7 +12933,7 @@ var makeFileSystem = /* @__PURE__ */ map6(/* @__PURE__ */ serviceOption2(WatchBa
12930
12933
  }));
12931
12934
  var layer7 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
12932
12935
 
12933
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeFileSystem.js
12936
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeFileSystem.js
12934
12937
  var layer8 = layer7;
12935
12938
  var fileUrlOps = (windows) => ({
12936
12939
  fromFileUrl: (url) => try_3({
@@ -12960,20 +12963,24 @@ var layer9 = /* @__PURE__ */ succeed5(Path)({
12960
12963
  .../* @__PURE__ */ fileUrlOps(void 0)
12961
12964
  });
12962
12965
 
12963
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodePath.js
12966
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodePath.js
12964
12967
  var layer10 = layer9;
12965
12968
 
12966
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Stdio.js
12969
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Stdio.js
12967
12970
  var TypeId40 = "~effect/Stdio";
12968
12971
  var Stdio = /* @__PURE__ */ Service(TypeId40);
12969
12972
  var make29 = (options) => ({
12970
12973
  [TypeId40]: TypeId40,
12974
+ stdinIsTerminal: succeed6(false),
12975
+ stdoutIsTerminal: succeed6(false),
12971
12976
  ...options
12972
12977
  });
12973
12978
 
12974
- // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.104_effect@4.0.0-beta.104/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
12979
+ // ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.105_effect@4.0.0-beta.105/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
12975
12980
  var layer11 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make29({
12976
12981
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
12982
+ stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
12983
+ stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
12977
12984
  stdout: (options) => fromWritable({
12978
12985
  evaluate: () => process.stdout,
12979
12986
  onError: (cause) => systemError({
@@ -13006,10 +13013,10 @@ var layer11 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make29({
13006
13013
  })
13007
13014
  }));
13008
13015
 
13009
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeStdio.js
13016
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeStdio.js
13010
13017
  var layer12 = layer11;
13011
13018
 
13012
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Terminal.js
13019
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Terminal.js
13013
13020
  var TypeId41 = "~effect/platform/Terminal";
13014
13021
  var QuitErrorTypeId = "effect/platform/Terminal/QuitError";
13015
13022
  var QuitError = class extends (/* @__PURE__ */ Error4("QuitError")({
@@ -13146,13 +13153,13 @@ function defaultShouldQuit(input) {
13146
13153
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
13147
13154
  }
13148
13155
 
13149
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeTerminal.js
13156
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeTerminal.js
13150
13157
  var layer14 = layer13;
13151
13158
 
13152
- // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.104_effect@4.0.0-beta.104_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeServices.js
13159
+ // ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.105_effect@4.0.0-beta.105_ioredis@5.11.1/node_modules/@effect/platform-node/dist/NodeServices.js
13153
13160
  var layer15 = /* @__PURE__ */ provideMerge(layer4, /* @__PURE__ */ mergeAll2(layer8, layer6, layer10, layer12, layer14));
13154
13161
 
13155
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/ConfigProvider.js
13162
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/ConfigProvider.js
13156
13163
  function makeValue(value3) {
13157
13164
  return {
13158
13165
  _tag: "Value",
@@ -13247,7 +13254,7 @@ function trieNodeAt(root, path5) {
13247
13254
  return node;
13248
13255
  }
13249
13256
 
13250
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Config.js
13257
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Config.js
13251
13258
  var TypeId42 = "~effect/Config";
13252
13259
  var Proto12 = {
13253
13260
  .../* @__PURE__ */ Prototype2({
@@ -13270,10 +13277,10 @@ function make33(evaluator) {
13270
13277
  return self;
13271
13278
  }
13272
13279
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
13273
- var resolved = (value3, hasInput) => ({
13280
+ var resolved = (value3, hasInput2) => ({
13274
13281
  _tag: "Resolved",
13275
13282
  value: value3,
13276
- hasInput
13283
+ hasInput: hasInput2
13277
13284
  });
13278
13285
  var map10 = /* @__PURE__ */ dual(2, (self, f2) => {
13279
13286
  return make33((provider, pathPrefix) => map6(evaluateAt(self, provider, pathPrefix), (resolution) => resolution._tag === "Resolved" ? resolved(f2(resolution.value), resolution.hasInput) : resolution));
@@ -13289,7 +13296,7 @@ var Boolean3 = /* @__PURE__ */ Literals([...TrueValues.literals, ...FalseValues.
13289
13296
  encode: (value3) => value3 ? "true" : "false"
13290
13297
  })));
13291
13298
 
13292
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/Console.js
13299
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/Console.js
13293
13300
  var Console = ConsoleRef;
13294
13301
  var consoleWith = (f2) => withFiber((fiber3) => f2(fiber3.getRef(Console)));
13295
13302
  var error = (...args2) => consoleWith((console) => sync(() => {
@@ -13299,7 +13306,7 @@ var log2 = (...args2) => consoleWith((console) => sync(() => {
13299
13306
  console.log(...args2);
13300
13307
  }));
13301
13308
 
13302
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Argument.js
13309
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Argument.js
13303
13310
  var Argument_exports = {};
13304
13311
  __export(Argument_exports, {
13305
13312
  atLeast: () => atLeast2,
@@ -13336,7 +13343,7 @@ __export(Argument_exports, {
13336
13343
  withSchema: () => withSchema2
13337
13344
  });
13338
13345
 
13339
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/CliError.js
13346
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/CliError.js
13340
13347
  var TypeId43 = "~effect/cli/CliError";
13341
13348
  var isCliError = (u2) => hasProperty(u2, TypeId43);
13342
13349
  var UnrecognizedOption = class extends (/* @__PURE__ */ TaggedError3(`${TypeId43}/UnrecognizedOption`)("UnrecognizedOption", {
@@ -13514,7 +13521,7 @@ var ShowHelp = class extends (/* @__PURE__ */ TaggedError3(`${TypeId43}/ShowHelp
13514
13521
  }
13515
13522
  };
13516
13523
 
13517
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/encoding/Ini.js
13524
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/encoding/Ini.js
13518
13525
  var hasOwn = Object.prototype.hasOwnProperty;
13519
13526
  var splitSections = (value3) => {
13520
13527
  const sections = [];
@@ -13633,7 +13640,7 @@ var parse = (input) => {
13633
13640
  return output;
13634
13641
  };
13635
13642
 
13636
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/encoding/Toml.js
13643
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/encoding/Toml.js
13637
13644
  var hasOwn2 = Object.prototype.hasOwnProperty;
13638
13645
  var makeTable = () => /* @__PURE__ */ Object.create(null);
13639
13646
  var isTable = (value3) => typeof value3 === "object" && value3 !== null && !Array.isArray(value3) && !(value3 instanceof Date);
@@ -14051,7 +14058,7 @@ var TomlParser = class {
14051
14058
  };
14052
14059
  var parse2 = (input) => new TomlParser(input.replace(/^\uFEFF/, "")).parse();
14053
14060
 
14054
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/encoding/Yaml.js
14061
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/encoding/Yaml.js
14055
14062
  var hasOwn3 = Object.prototype.hasOwnProperty;
14056
14063
  var setProperty = (record2, key, value3) => {
14057
14064
  Object.defineProperty(record2, key, {
@@ -14504,7 +14511,7 @@ var parse3 = (input) => {
14504
14511
  return new YamlParser(lines2).parse();
14505
14512
  };
14506
14513
 
14507
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Primitive.js
14514
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Primitive.js
14508
14515
  var TypeId44 = "~effect/cli/Primitive";
14509
14516
  var Proto13 = {
14510
14517
  [TypeId44]: {
@@ -14658,7 +14665,7 @@ var getTypeName = (primitive) => {
14658
14665
  var getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
14659
14666
  var getPathType = (primitive) => primitive._tag === "Path" ? primitive.pathType : void 0;
14660
14667
 
14661
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Prompt.js
14668
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Prompt.js
14662
14669
  var Prompt_exports = {};
14663
14670
  __export(Prompt_exports, {
14664
14671
  all: () => all3,
@@ -14684,7 +14691,7 @@ __export(Prompt_exports, {
14684
14691
  toggle: () => toggle
14685
14692
  });
14686
14693
 
14687
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/ansi.js
14694
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/ansi.js
14688
14695
  var ESC = "\x1B[";
14689
14696
  var BEL = "\x07";
14690
14697
  var reset = `${ESC}0m`;
@@ -14745,7 +14752,7 @@ var eraseLines = (rows) => {
14745
14752
  return command2;
14746
14753
  };
14747
14754
 
14748
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Prompt.js
14755
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Prompt.js
14749
14756
  var TypeId45 = "~effect/cli/Prompt";
14750
14757
  var isPrompt = (u2) => hasProperty(u2, TypeId45);
14751
14758
  var defaultFigures = {
@@ -17261,7 +17268,7 @@ var entriesToDisplay = (cursor, total, maxVisible) => {
17261
17268
  };
17262
17269
  };
17263
17270
 
17264
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Param.js
17271
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Param.js
17265
17272
  var TypeId46 = "~effect/cli/Param";
17266
17273
  var argumentKind = "argument";
17267
17274
  var flagKind = "flag";
@@ -17710,7 +17717,7 @@ var getParamMetadata = (param) => {
17710
17717
  });
17711
17718
  };
17712
17719
 
17713
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Argument.js
17720
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Argument.js
17714
17721
  var string5 = (name) => string4(argumentKind, name);
17715
17722
  var integer4 = (name) => integer3(argumentKind, name);
17716
17723
  var file4 = (name, options) => file3(argumentKind, name, options);
@@ -17744,7 +17751,7 @@ var filterMap4 = /* @__PURE__ */ dual(3, (self, f2, onNone) => filterMap3(self,
17744
17751
  var orElse2 = /* @__PURE__ */ dual(2, (self, that) => orElse(self, that));
17745
17752
  var orElseResult2 = /* @__PURE__ */ dual(2, (self, that) => orElseResult(self, that));
17746
17753
 
17747
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/CliOutput.js
17754
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/CliOutput.js
17748
17755
  var Formatter = /* @__PURE__ */ Reference("effect/cli/CliOutput", {
17749
17756
  defaultValue: () => defaultFormatter2()
17750
17757
  });
@@ -17940,7 +17947,7 @@ var formatHelpDocImpl = (doc, colors2) => {
17940
17947
  return sections.join("\n");
17941
17948
  };
17942
17949
 
17943
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
17950
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
17944
17951
  var escapeForBash = (s3) => s3.replace(/'/g, "'\\''");
17945
17952
  var sanitizeFunctionName = (s3) => s3.replace(/[^a-zA-Z0-9_]/g, "_");
17946
17953
  var flagNamesForWordlist = (flag) => {
@@ -18162,7 +18169,7 @@ var generate = (executableName, descriptor) => {
18162
18169
  return lines2.join("\n");
18163
18170
  };
18164
18171
 
18165
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
18172
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
18166
18173
  var escapeFishString = (s3) => s3.replace(/'/g, "\\'");
18167
18174
  var subcommandCondition = (parentPath, childSubcommandNames) => {
18168
18175
  if (parentPath.length === 0) {
@@ -18330,7 +18337,7 @@ var generate2 = (executableName, descriptor) => {
18330
18337
  return lines2.join("\n");
18331
18338
  };
18332
18339
 
18333
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
18340
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
18334
18341
  var escapeZsh = (s3) => s3.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
18335
18342
  var sanitize = (s3) => s3.replace(/[^a-zA-Z0-9_]/g, "_");
18336
18343
  var allForms = (flag) => {
@@ -18488,7 +18495,7 @@ var generate3 = (executableName, descriptor) => {
18488
18495
  return lines2.join("\n");
18489
18496
  };
18490
18497
 
18491
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Completions.js
18498
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Completions.js
18492
18499
  var generate4 = (executableName, shell, descriptor) => {
18493
18500
  switch (shell) {
18494
18501
  case "bash":
@@ -18500,7 +18507,7 @@ var generate4 = (executableName, shell, descriptor) => {
18500
18507
  }
18501
18508
  };
18502
18509
 
18503
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Flag.js
18510
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Flag.js
18504
18511
  var Flag_exports = {};
18505
18512
  __export(Flag_exports, {
18506
18513
  atLeast: () => atLeast3,
@@ -18575,7 +18582,7 @@ var orElse3 = /* @__PURE__ */ dual(2, (self, that) => orElse(self, that));
18575
18582
  var orElseResult3 = /* @__PURE__ */ dual(2, (self, that) => orElseResult(self, that));
18576
18583
  var withSchema3 = /* @__PURE__ */ dual(2, (self, schema) => withSchema(self, schema));
18577
18584
 
18578
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/config.js
18585
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/config.js
18579
18586
  var ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
18580
18587
  var parseConfig = (config) => {
18581
18588
  const orderedParams = [];
@@ -18676,7 +18683,7 @@ var reconstructTree = (tree, results) => {
18676
18683
  }
18677
18684
  };
18678
18685
 
18679
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/command.js
18686
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/command.js
18680
18687
  var TypeId47 = "~effect/cli/Command";
18681
18688
  var toImpl = (self) => self;
18682
18689
  var Proto15 = {
@@ -18867,7 +18874,7 @@ var checkForDuplicateFlags = (parent, subcommands, options) => {
18867
18874
  }
18868
18875
  };
18869
18876
 
18870
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
18877
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
18871
18878
  var toFlagType = (single) => {
18872
18879
  const tag2 = single.primitiveType._tag;
18873
18880
  switch (tag2) {
@@ -19000,7 +19007,7 @@ var fromCommand = (cmd) => {
19000
19007
  };
19001
19008
  };
19002
19009
 
19003
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/help.js
19010
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/help.js
19004
19011
  var dedupeGlobalFlags = (flags) => {
19005
19012
  const seen = /* @__PURE__ */ new Set();
19006
19013
  const deduped = [];
@@ -19105,7 +19112,7 @@ var getHelpForCommandPath = (command2, commandPath, builtIns) => gen2(function*
19105
19112
  };
19106
19113
  });
19107
19114
 
19108
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/GlobalFlag.js
19115
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/GlobalFlag.js
19109
19116
  var action = (options) => ({
19110
19117
  _tag: "Action",
19111
19118
  flag: options.flag,
@@ -19162,7 +19169,7 @@ var LogLevel = /* @__PURE__ */ setting("log-level")({
19162
19169
  });
19163
19170
  var BuiltIns = [Help, Version, Wizard, Completions, LogLevel];
19164
19171
 
19165
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/CliConfig.js
19172
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/CliConfig.js
19166
19173
  var CliConfig = class extends (/* @__PURE__ */ Reference("effect/unstable/cli/CliConfig", {
19167
19174
  defaultValue: () => defaults
19168
19175
  })) {
@@ -19171,7 +19178,7 @@ var defaults = {
19171
19178
  builtIns: BuiltIns
19172
19179
  };
19173
19180
 
19174
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Command.js
19181
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Command.js
19175
19182
  var Command_exports = {};
19176
19183
  __export(Command_exports, {
19177
19184
  annotate: () => annotate3,
@@ -19196,7 +19203,7 @@ __export(Command_exports, {
19196
19203
  wizard: () => wizard
19197
19204
  });
19198
19205
 
19199
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/lexer.js
19206
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/lexer.js
19200
19207
  function lex(argv) {
19201
19208
  const endIndex = argv.indexOf("--");
19202
19209
  if (endIndex === -1) {
@@ -19267,7 +19274,7 @@ var lexTokens = (args2) => {
19267
19274
  return tokens;
19268
19275
  };
19269
19276
 
19270
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
19277
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
19271
19278
  var levenshtein = (a, b2) => {
19272
19279
  const m2 = a.length;
19273
19280
  const n = b2.length;
@@ -19291,7 +19298,7 @@ var suggest = (input, candidates) => {
19291
19298
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
19292
19299
  };
19293
19300
 
19294
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/parser.js
19301
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/parser.js
19295
19302
  var getCommandPath = (parsedInput) => match(parsedInput.subcommand, {
19296
19303
  onNone: () => [],
19297
19304
  onSome: (subcommand) => [subcommand.name, ...getCommandPath(subcommand.parsedInput)]
@@ -19794,7 +19801,7 @@ var scanCommandLevel = (tokens, context3) => {
19794
19801
  return toLeafResult(state);
19795
19802
  };
19796
19803
 
19797
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/internal/wizard.js
19804
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/internal/wizard.js
19798
19805
  var run4 = /* @__PURE__ */ fnUntraced2(function* (command2, options) {
19799
19806
  const commandPath = options?.commandPath ?? [command2.name];
19800
19807
  const selected = getCommandAtPath(command2, commandPath);
@@ -19998,7 +20005,7 @@ var wrapCommand = (commandLine) => {
19998
20005
  };
19999
20006
  var formatShellArg = (arg) => /^[A-Za-z0-9_./:@%+=,-]+$/.test(arg) ? arg : `'${arg.replaceAll("'", `'"'"'`)}'`;
20000
20007
 
20001
- // ../../node_modules/.pnpm/effect@4.0.0-beta.104/node_modules/effect/dist/unstable/cli/Command.js
20008
+ // ../../node_modules/.pnpm/effect@4.0.0-beta.105/node_modules/effect/dist/unstable/cli/Command.js
20002
20009
  var isCommand = (u2) => hasProperty(u2, TypeId47);
20003
20010
  var make34 = (name, config, handler) => {
20004
20011
  const parsedConfig = parseConfig(config ?? {});