repo-dive 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -17,7 +17,7 @@ import { access, mkdir, mkdtemp, readFile, readdir, rm, writeFile } from "node:f
17
17
  import * as readline from "node:readline";
18
18
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
19
19
  //#endregion
20
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Pipeable.js
20
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Pipeable.js
21
21
  /**
22
22
  * The `Pipeable` module defines the shared interface and implementation helpers
23
23
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -119,7 +119,7 @@ var Class$3 = /*#__PURE__*/ function() {
119
119
  return PipeableBase;
120
120
  }();
121
121
  //#endregion
122
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Function.js
122
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Function.js
123
123
  /**
124
124
  * Creates a function that can be called in data-first style or data-last
125
125
  * (`pipe`-friendly) style.
@@ -402,7 +402,7 @@ function memoize(f) {
402
402
  };
403
403
  }
404
404
  //#endregion
405
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/equal.js
405
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/equal.js
406
406
  /** @internal */
407
407
  var getAllObjectKeys = (obj) => {
408
408
  const keys = new Set(Reflect.ownKeys(obj));
@@ -421,7 +421,7 @@ var getAllObjectKeys = (obj) => {
421
421
  /** @internal */
422
422
  var byReferenceInstances = /*#__PURE__*/ new WeakSet();
423
423
  //#endregion
424
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Predicate.js
424
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Predicate.js
425
425
  /**
426
426
  * Defines runtime checks for values.
427
427
  *
@@ -1033,7 +1033,7 @@ function isIterable(input) {
1033
1033
  return hasProperty(input, Symbol.iterator) || isString(input);
1034
1034
  }
1035
1035
  //#endregion
1036
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Hash.js
1036
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Hash.js
1037
1037
  /**
1038
1038
  * Computes Effect hash values and defines the interface for objects that want
1039
1039
  * to provide their own hash implementation. Hashes are small numeric
@@ -1470,7 +1470,7 @@ function withVisitedTracking$1(obj, fn) {
1470
1470
  return result;
1471
1471
  }
1472
1472
  //#endregion
1473
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Equal.js
1473
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Equal.js
1474
1474
  /**
1475
1475
  * Defines the unique string identifier for the `Equal` interface.
1476
1476
  *
@@ -1703,7 +1703,7 @@ var isEqual = (u) => hasProperty(u, symbol$2);
1703
1703
  */
1704
1704
  var asEquivalence = () => equals$2;
1705
1705
  //#endregion
1706
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Redactable.js
1706
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Redactable.js
1707
1707
  /**
1708
1708
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1709
1709
  * protocol.
@@ -1817,7 +1817,7 @@ var emptyContext$1 = {
1817
1817
  }
1818
1818
  };
1819
1819
  //#endregion
1820
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Formatter.js
1820
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Formatter.js
1821
1821
  /**
1822
1822
  * Formats JavaScript values into readable strings.
1823
1823
  *
@@ -2052,7 +2052,7 @@ function formatJson(input, options) {
2052
2052
  }, options?.space);
2053
2053
  }
2054
2054
  //#endregion
2055
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Inspectable.js
2055
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Inspectable.js
2056
2056
  /**
2057
2057
  * Controls how values appear in logs and debugging output.
2058
2058
  *
@@ -2199,7 +2199,7 @@ var BaseProto = {
2199
2199
  }
2200
2200
  };
2201
2201
  //#endregion
2202
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Utils.js
2202
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Utils.js
2203
2203
  /**
2204
2204
  * Yields its wrapped value exactly once through an `IterableIterator`.
2205
2205
  *
@@ -2290,7 +2290,7 @@ var pickInternalCall = () => {
2290
2290
  /** @internal */
2291
2291
  var internalCall = /*#__PURE__*/ pickInternalCall();
2292
2292
  //#endregion
2293
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/core.js
2293
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/core.js
2294
2294
  /** @internal */
2295
2295
  var EffectTypeId = `~effect/Effect`;
2296
2296
  /** @internal */
@@ -2663,7 +2663,7 @@ var done$2 = (value) => {
2663
2663
  return exitFail(Done$1(value));
2664
2664
  };
2665
2665
  //#endregion
2666
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Equivalence.js
2666
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Equivalence.js
2667
2667
  /**
2668
2668
  * Creates a custom equivalence relation with an optimized reference equality check.
2669
2669
  *
@@ -2773,14 +2773,14 @@ function Array_(item) {
2773
2773
  });
2774
2774
  }
2775
2775
  //#endregion
2776
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/array.js
2776
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/array.js
2777
2777
  /**
2778
2778
  * @since 2.0.0
2779
2779
  */
2780
2780
  /** @internal */
2781
2781
  var isArrayNonEmpty$1 = (self) => self.length > 0;
2782
2782
  //#endregion
2783
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/option.js
2783
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/option.js
2784
2784
  /**
2785
2785
  * @since 2.0.0
2786
2786
  */
@@ -2850,7 +2850,7 @@ var some$1 = (value) => {
2850
2850
  return a;
2851
2851
  };
2852
2852
  //#endregion
2853
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/result.js
2853
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/result.js
2854
2854
  var TypeId$51 = "~effect/data/Result";
2855
2855
  var CommonProto = {
2856
2856
  [TypeId$51]: {
@@ -2922,7 +2922,7 @@ var succeed$8 = (success) => {
2922
2922
  return a;
2923
2923
  };
2924
2924
  //#endregion
2925
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Order.js
2925
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Order.js
2926
2926
  /**
2927
2927
  * Defines comparison functions for ordered values.
2928
2928
  *
@@ -3165,7 +3165,7 @@ var isLessThanOrEqualTo$1 = (O) => dual(2, (self, that) => O(self, that) !== 1);
3165
3165
  */
3166
3166
  var isGreaterThanOrEqualTo$1 = (O) => dual(2, (self, that) => O(self, that) !== -1);
3167
3167
  //#endregion
3168
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Option.js
3168
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Option.js
3169
3169
  /**
3170
3170
  * Creates an `Option` representing the absence of a value.
3171
3171
  *
@@ -3654,7 +3654,7 @@ var flatMap$3 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : f(sel
3654
3654
  */
3655
3655
  var filter$1 = /*#__PURE__*/ dual(2, (self, predicate) => isNone(self) ? none() : predicate(self.value) ? some(self.value) : none());
3656
3656
  //#endregion
3657
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Result.js
3657
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Result.js
3658
3658
  /**
3659
3659
  * Creates a `Result` holding a `Success` value.
3660
3660
  *
@@ -3781,7 +3781,7 @@ var isFailure$1 = isFailure$2;
3781
3781
  */
3782
3782
  var match$4 = /*#__PURE__*/ dual(2, (self, { onFailure, onSuccess }) => isFailure$1(self) ? onFailure(self.failure) : onSuccess(self.success));
3783
3783
  //#endregion
3784
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Iterable.js
3784
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Iterable.js
3785
3785
  /**
3786
3786
  * Returns the first element that satisfies the specified
3787
3787
  * predicate, or `None` if no such element exists.
@@ -3834,7 +3834,7 @@ var findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
3834
3834
  return none();
3835
3835
  });
3836
3836
  //#endregion
3837
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Record.js
3837
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Record.js
3838
3838
  /**
3839
3839
  * Creates a new, empty record.
3840
3840
  *
@@ -4014,7 +4014,7 @@ var makeEquivalence$2 = (equivalence) => {
4014
4014
  return (self, that) => is(self, that) && is(that, self);
4015
4015
  };
4016
4016
  //#endregion
4017
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Array.js
4017
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Array.js
4018
4018
  /**
4019
4019
  * Works with JavaScript arrays, readonly arrays, and non-empty arrays.
4020
4020
  *
@@ -4591,7 +4591,7 @@ var dedupeWith = /*#__PURE__*/ dual(2, (self, isEquivalent) => {
4591
4591
  return [];
4592
4592
  });
4593
4593
  //#endregion
4594
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Effectable.js
4594
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Effectable.js
4595
4595
  /**
4596
4596
  * Create a low-level `Effect` prototype.
4597
4597
  *
@@ -4615,7 +4615,7 @@ var Prototype = (options) => makePrimitiveProto({
4615
4615
  [evaluate]: options.evaluate
4616
4616
  });
4617
4617
  //#endregion
4618
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/stackTraceLimit.js
4618
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/stackTraceLimit.js
4619
4619
  var ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4620
4620
  var ObjectPrototypeHasOwnProperty = Object.prototype.hasOwnProperty;
4621
4621
  var ObjectIsExtensible = Object.isExtensible;
@@ -4650,7 +4650,7 @@ var setStackTraceLimit = (value) => {
4650
4650
  if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
4651
4651
  };
4652
4652
  //#endregion
4653
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Context.js
4653
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Context.js
4654
4654
  /**
4655
4655
  * Runtime type identifier attached to `Context` service keys and used by
4656
4656
  * `isKey` to recognize them.
@@ -5297,7 +5297,7 @@ var withMapUnsafe = (self, f) => {
5297
5297
  */
5298
5298
  var Reference = Service$1;
5299
5299
  //#endregion
5300
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Duration.js
5300
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Duration.js
5301
5301
  var TypeId$49 = "~effect/time/Duration";
5302
5302
  var bigint0$2 = /*#__PURE__*/ BigInt(0);
5303
5303
  var bigint1 = /*#__PURE__*/ BigInt(1);
@@ -5991,7 +5991,7 @@ var format$2 = (self) => {
5991
5991
  return pieces.join(" ");
5992
5992
  };
5993
5993
  //#endregion
5994
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Filter.js
5994
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Filter.js
5995
5995
  /**
5996
5996
  * Composes two filters sequentially, passing the successful output of the first
5997
5997
  * filter to the second.
@@ -6012,7 +6012,7 @@ var composePassthrough = /*#__PURE__*/ dual(2, (left, right) => (input) => {
6012
6012
  return rightOut;
6013
6013
  });
6014
6014
  //#endregion
6015
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Scheduler.js
6015
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Scheduler.js
6016
6016
  /**
6017
6017
  * Controls how runnable Effect fiber tasks are dispatched.
6018
6018
  *
@@ -6210,7 +6210,7 @@ var MaxOpsBeforeYield = /*#__PURE__*/ Reference("effect/Scheduler/MaxOpsBeforeYi
6210
6210
  */
6211
6211
  var PreventSchedulerYield = /*#__PURE__*/ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
6212
6212
  //#endregion
6213
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Tracer.js
6213
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Tracer.js
6214
6214
  /**
6215
6215
  * Defines the low-level tracing model used by Effect.
6216
6216
  *
@@ -6506,11 +6506,11 @@ var randomHexString = /*#__PURE__*/ function() {
6506
6506
  };
6507
6507
  }();
6508
6508
  //#endregion
6509
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/metric.js
6509
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/metric.js
6510
6510
  /** @internal */
6511
6511
  var FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
6512
6512
  //#endregion
6513
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/references.js
6513
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/references.js
6514
6514
  /** @internal */
6515
6515
  var CurrentConcurrency = /*#__PURE__*/ Reference("effect/References/CurrentConcurrency", { defaultValue: () => "unbounded" });
6516
6516
  /** @internal */
@@ -6534,7 +6534,7 @@ var MinimumLogLevel$1 = /*#__PURE__*/ Reference("effect/References/MinimumLogLev
6534
6534
  /** @internal */
6535
6535
  var CurrentLogSpans = /*#__PURE__*/ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
6536
6536
  //#endregion
6537
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/tracer.js
6537
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/tracer.js
6538
6538
  /** @internal */
6539
6539
  var addSpanStackTrace = (options) => {
6540
6540
  if (options?.captureStackTrace === false) return options;
@@ -6564,7 +6564,7 @@ var makeStackCleaner = (line) => (stack) => {
6564
6564
  };
6565
6565
  var spanCleaner = /*#__PURE__*/ makeStackCleaner(3);
6566
6566
  //#endregion
6567
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/effect.js
6567
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/effect.js
6568
6568
  /** @internal */
6569
6569
  var Interrupt = class extends ReasonBase {
6570
6570
  fiberId;
@@ -6792,7 +6792,6 @@ var FiberImpl = class {
6792
6792
  this.setContext(context);
6793
6793
  this.id = ++fiberIdStore.id;
6794
6794
  this.currentOpCount = 0;
6795
- this.currentLoopCount = 0;
6796
6795
  this.interruptible = interruptible;
6797
6796
  this._stack = [];
6798
6797
  this._observers = [];
@@ -6800,20 +6799,22 @@ var FiberImpl = class {
6800
6799
  this._children = void 0;
6801
6800
  this._interruptedCause = void 0;
6802
6801
  this._yielded = void 0;
6802
+ this._running = false;
6803
+ this._deferredInterrupt = false;
6803
6804
  this.runtimeMetrics?.recordFiberStart(this.context);
6804
6805
  }
6805
6806
  [FiberTypeId];
6806
6807
  id;
6807
6808
  interruptible;
6808
6809
  currentOpCount;
6809
- currentLoopCount;
6810
6810
  _stack;
6811
6811
  _observers;
6812
6812
  _exit;
6813
- _currentExit;
6814
6813
  _children;
6815
6814
  _interruptedCause;
6816
6815
  _yielded;
6816
+ _running;
6817
+ _deferredInterrupt;
6817
6818
  context;
6818
6819
  currentScheduler;
6819
6820
  currentTracerContext;
@@ -6848,7 +6849,8 @@ var FiberImpl = class {
6848
6849
  if (this.currentStackFrame) cause = causeAnnotate(cause, make$46(StackTraceKey, this.currentStackFrame));
6849
6850
  if (annotations) cause = causeAnnotate(cause, annotations);
6850
6851
  this._interruptedCause = this._interruptedCause ? causeCombine(this._interruptedCause, cause) : cause;
6851
- if (this.interruptible) this.evaluate(failCause$4(this._interruptedCause));
6852
+ if (this.interruptible) if (this._running) this._deferredInterrupt = true;
6853
+ else this.evaluate(failCause$4(this._interruptedCause));
6852
6854
  }
6853
6855
  pollUnsafe() {
6854
6856
  return this._exit;
@@ -6868,16 +6870,24 @@ var FiberImpl = class {
6868
6870
  this.runtimeMetrics?.recordFiberEnd(this.context, this._exit);
6869
6871
  for (let i = 0; i < this._observers.length; i++) this._observers[i](exit);
6870
6872
  this._observers.length = 0;
6873
+ this._stack.length = 0;
6874
+ this._children = void 0;
6875
+ this.context = empty$8();
6871
6876
  }
6872
6877
  runLoop(effect) {
6873
6878
  const prevFiber = globalThis[currentFiberTypeId];
6874
6879
  globalThis[currentFiberTypeId] = this;
6880
+ const prevRunning = this._running;
6881
+ this._running = true;
6875
6882
  let yielding = false;
6876
6883
  let current = effect;
6877
6884
  this.currentOpCount = 0;
6878
- const currentLoop = ++this.currentLoopCount;
6879
6885
  try {
6880
6886
  while (true) {
6887
+ if (this._deferredInterrupt) {
6888
+ this._deferredInterrupt = false;
6889
+ current = failCause$4(this._interruptedCause);
6890
+ }
6881
6891
  this.currentOpCount++;
6882
6892
  if (!yielding && !this.currentPreventYield && this.currentScheduler.shouldYield(this)) {
6883
6893
  yielding = true;
@@ -6885,12 +6895,16 @@ var FiberImpl = class {
6885
6895
  current = flatMap$2(yieldNow, () => prev);
6886
6896
  }
6887
6897
  current = this.currentTracerContext ? this.currentTracerContext(current, this) : current[evaluate](this);
6888
- if (currentLoop !== this.currentLoopCount) return Yield;
6889
- else if (current === Yield) {
6898
+ if (current === Yield) {
6890
6899
  const yielded = this._yielded;
6891
6900
  if (ExitTypeId in yielded) {
6901
+ this._deferredInterrupt = false;
6892
6902
  this._yielded = void 0;
6893
6903
  return yielded;
6904
+ } else if (this._deferredInterrupt) {
6905
+ this._yielded = void 0;
6906
+ yielded();
6907
+ continue;
6894
6908
  }
6895
6909
  return Yield;
6896
6910
  }
@@ -6899,10 +6913,15 @@ var FiberImpl = class {
6899
6913
  if (!hasProperty(current, evaluate)) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
6900
6914
  return this.runLoop(exitDie(error));
6901
6915
  } finally {
6916
+ this._running = prevRunning;
6902
6917
  globalThis[currentFiberTypeId] = prevFiber;
6903
6918
  }
6904
6919
  }
6905
6920
  getCont(symbol) {
6921
+ if (this._deferredInterrupt) {
6922
+ this._deferredInterrupt = false;
6923
+ return deferredInterruptCont;
6924
+ }
6906
6925
  while (true) {
6907
6926
  const op = this._stack.pop();
6908
6927
  if (!op) return void 0;
@@ -6945,6 +6964,14 @@ var FiberImpl = class {
6945
6964
  return this.currentSpan?._tag === "Span" ? this.currentSpan : void 0;
6946
6965
  }
6947
6966
  };
6967
+ var deferredInterruptCont = {
6968
+ [contA](_value, fiber) {
6969
+ return failCause$4(fiber._interruptedCause);
6970
+ },
6971
+ [contE](_cause, fiber) {
6972
+ return failCause$4(fiber._interruptedCause);
6973
+ }
6974
+ };
6948
6975
  var fiberMiddleware = { interruptChildren: void 0 };
6949
6976
  var fiberStackAnnotations = (fiber) => {
6950
6977
  if (!fiber.currentStackFrame) return void 0;
@@ -8387,7 +8414,7 @@ var reportCauseUnsafe = (fiber, cause, defectsOnly) => {
8387
8414
  reporters.forEach((reporter) => reporter.report(opts));
8388
8415
  };
8389
8416
  //#endregion
8390
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Deferred.js
8417
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Deferred.js
8391
8418
  var TypeId$48 = "~effect/Deferred";
8392
8419
  /**
8393
8420
  * Checks whether a value is a `Deferred`.
@@ -8562,7 +8589,7 @@ var doneUnsafe = (self, effect) => {
8562
8589
  return true;
8563
8590
  };
8564
8591
  //#endregion
8565
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Exit.js
8592
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Exit.js
8566
8593
  /**
8567
8594
  * Checks whether an unknown value is an Exit.
8568
8595
  *
@@ -8797,7 +8824,7 @@ var isSuccess = exitIsSuccess;
8797
8824
  */
8798
8825
  var isFailure = exitIsFailure;
8799
8826
  //#endregion
8800
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/References.js
8827
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/References.js
8801
8828
  /**
8802
8829
  * Context reference for managing log annotations that are automatically added to all log entries.
8803
8830
  * These annotations provide contextual metadata that appears in every log message.
@@ -8967,7 +8994,7 @@ var CurrentLogLevel = CurrentLogLevel$1;
8967
8994
  */
8968
8995
  var MinimumLogLevel = MinimumLogLevel$1;
8969
8996
  //#endregion
8970
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Scope.js
8997
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Scope.js
8971
8998
  /**
8972
8999
  * Controls how long resources stay open.
8973
9000
  *
@@ -9277,7 +9304,7 @@ var close = scopeClose;
9277
9304
  */
9278
9305
  var closeUnsafe = scopeCloseUnsafe;
9279
9306
  //#endregion
9280
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Layer.js
9307
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Layer.js
9281
9308
  var TypeId$47 = "~effect/Layer";
9282
9309
  var MemoMapTypeId = "~effect/Layer/MemoMap";
9283
9310
  var memoMapReuse = (entry, scope) => {
@@ -10068,7 +10095,7 @@ var provideMerge = /*#__PURE__*/ dual(2, (self, that) => provideWith(self, that,
10068
10095
  */
10069
10096
  var launch = (self) => scoped$1(andThen$1(build(self), never$2));
10070
10097
  //#endregion
10071
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Cause.js
10098
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Cause.js
10072
10099
  /**
10073
10100
  * Records the full reason an `Effect` failed.
10074
10101
  *
@@ -10686,7 +10713,7 @@ var UnknownError$1 = UnknownError$2;
10686
10713
  var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
10687
10714
  Service$1()("effect/Cause/InterruptorStackTrace");
10688
10715
  //#endregion
10689
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Data.js
10716
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Data.js
10690
10717
  /**
10691
10718
  * Provides a base class for immutable data types.
10692
10719
  *
@@ -10901,7 +10928,7 @@ var Error$1 = Error$2;
10901
10928
  */
10902
10929
  var TaggedError = TaggedError$1;
10903
10930
  //#endregion
10904
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Clock.js
10931
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Clock.js
10905
10932
  /**
10906
10933
  * Context reference for the active time service in the environment.
10907
10934
  *
@@ -10930,7 +10957,7 @@ var TaggedError = TaggedError$1;
10930
10957
  */
10931
10958
  var Clock = ClockRef;
10932
10959
  //#endregion
10933
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/dateTime.js
10960
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/dateTime.js
10934
10961
  /** @internal */
10935
10962
  var TypeId$46 = "~effect/time/DateTime";
10936
10963
  /** @internal */
@@ -11082,7 +11109,7 @@ var round = /*#__PURE__*/ dual(2, (self, precision) => {
11082
11109
  return Math.round(self * factor) / factor;
11083
11110
  });
11084
11111
  //#endregion
11085
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Pull.js
11112
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Pull.js
11086
11113
  /**
11087
11114
  * Models one low-level pull step for stream-like consumers.
11088
11115
  *
@@ -11235,7 +11262,7 @@ var matchEffect$1 = /*#__PURE__*/ dual(2, (self, options) => matchCauseEffect$1(
11235
11262
  }
11236
11263
  }));
11237
11264
  //#endregion
11238
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Schedule.js
11265
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Schedule.js
11239
11266
  var TypeId$45 = "~effect/Schedule";
11240
11267
  /**
11241
11268
  * Context reference containing metadata for the currently running schedule step.
@@ -11564,12 +11591,12 @@ var while_ = /*#__PURE__*/ dual(2, (self, predicate) => fromStep(map$9(toStep(se
11564
11591
  */
11565
11592
  var forever$1 = /*#__PURE__*/ spaced(zero$1);
11566
11593
  //#endregion
11567
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/layer.js
11594
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/layer.js
11568
11595
  var provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$2(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext$3(self, context)));
11569
11596
  /** @internal */
11570
11597
  var provide$1 = /*#__PURE__*/ dual((args) => isEffect$1(args[0]), (self, source, options) => isContext(source) ? provideContext$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
11571
11598
  //#endregion
11572
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/schedule.js
11599
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/schedule.js
11573
11600
  /** @internal */
11574
11601
  var retryOrElse = /*#__PURE__*/ dual(3, (self, policy, orElse) => flatMap$2(toStepWithMetadata(policy), (step) => {
11575
11602
  let meta = CurrentMetadata.defaultValue();
@@ -11603,7 +11630,7 @@ var buildFromOptions = (options) => {
11603
11630
  return schedule;
11604
11631
  };
11605
11632
  //#endregion
11606
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Effect.js
11633
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Effect.js
11607
11634
  /**
11608
11635
  * Checks whether a value is an `Effect`.
11609
11636
  *
@@ -15544,7 +15571,7 @@ var flatMapEager = flatMapEager$1;
15544
15571
  */
15545
15572
  var fnUntracedEager = fnUntracedEager$1;
15546
15573
  //#endregion
15547
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/record.js
15574
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/record.js
15548
15575
  /**
15549
15576
  * @since 4.0.0
15550
15577
  */
@@ -15560,7 +15587,7 @@ function set$3(self, key, value) {
15560
15587
  return self;
15561
15588
  }
15562
15589
  //#endregion
15563
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/schema/annotations.js
15590
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/schema/annotations.js
15564
15591
  /** @internal */
15565
15592
  function resolve(ast) {
15566
15593
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -15580,7 +15607,7 @@ var getExpected = /*#__PURE__*/ memoize((ast) => {
15580
15607
  return ast.getExpected(getExpected);
15581
15608
  });
15582
15609
  //#endregion
15583
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/redacted.js
15610
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/redacted.js
15584
15611
  /** @internal */
15585
15612
  var redactedRegistry = /*#__PURE__*/ new WeakMap();
15586
15613
  /** @internal */
@@ -15589,7 +15616,7 @@ var value$1 = (self) => {
15589
15616
  else throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
15590
15617
  };
15591
15618
  //#endregion
15592
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Redacted.js
15619
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Redacted.js
15593
15620
  /**
15594
15621
  * Wraps sensitive values so normal output does not reveal them.
15595
15622
  *
@@ -15733,7 +15760,7 @@ var value = value$1;
15733
15760
  */
15734
15761
  var makeEquivalence = (isEquivalent) => make$48((x, y) => isEquivalent(value(x), value(y)));
15735
15762
  //#endregion
15736
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaIssue.js
15763
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaIssue.js
15737
15764
  var TypeId$43 = "~effect/SchemaIssue/Issue";
15738
15765
  /**
15739
15766
  * Returns `true` if the given value is an {@link Issue}.
@@ -16482,7 +16509,7 @@ function redact$2(issue) {
16482
16509
  }
16483
16510
  }
16484
16511
  //#endregion
16485
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/schema/cause.js
16512
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/schema/cause.js
16486
16513
  /** @internal */
16487
16514
  function getSchemaIssue(cause) {
16488
16515
  let issue;
@@ -16499,7 +16526,7 @@ function getSchemaIssueOrThrow(cause, message) {
16499
16526
  return issue;
16500
16527
  }
16501
16528
  //#endregion
16502
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/DateTime.js
16529
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/DateTime.js
16503
16530
  /**
16504
16531
  * Checks whether a value is a `DateTime`.
16505
16532
  *
@@ -16723,7 +16750,7 @@ Service$1()("effect/DateTime/CurrentTimeZone");
16723
16750
  */
16724
16751
  var formatIso = formatIso$1;
16725
16752
  //#endregion
16726
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Encoding.js
16753
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Encoding.js
16727
16754
  /**
16728
16755
  * Encoding and decoding helpers for Base64, Base64Url, and hexadecimal text.
16729
16756
  * The functions convert between strings, UTF-8 text, and `Uint8Array` bytes.
@@ -17104,7 +17131,7 @@ var base64codes = [
17104
17131
  51
17105
17132
  ];
17106
17133
  //#endregion
17107
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaGetter.js
17134
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaGetter.js
17108
17135
  /**
17109
17136
  * Builds one-way conversions used by schemas.
17110
17137
  *
@@ -17588,7 +17615,7 @@ function decodeBase64() {
17588
17615
  return transformOrFail$1((input) => mapErrorEager(fromResult(decodeBase64$1(input)), (e) => new InvalidValue$1(some(input), { message: e.message })));
17589
17616
  }
17590
17617
  //#endregion
17591
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/BigDecimal.js
17618
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/BigDecimal.js
17592
17619
  /**
17593
17620
  * Decimal numbers and arithmetic for cases where JavaScript `number` rounding
17594
17621
  * is not precise enough. A `BigDecimal` stores digits as a `bigint` plus a
@@ -17980,7 +18007,7 @@ var isZero = (n) => n.value === bigint0;
17980
18007
  */
17981
18008
  var isNegative = (n) => n.value < bigint0;
17982
18009
  //#endregion
17983
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaTransformation.js
18010
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaTransformation.js
17984
18011
  /**
17985
18012
  * Middleware that wraps the entire parsing `Effect` pipeline for both
17986
18013
  * decode and encode directions.
@@ -18426,7 +18453,7 @@ var dateTimeUtcFromString = /*#__PURE__*/ transformOrFail({
18426
18453
  encode: (utc) => succeed$3(formatIso(utc))
18427
18454
  });
18428
18455
  //#endregion
18429
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaAST.js
18456
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaAST.js
18430
18457
  /**
18431
18458
  * Represents Effect schemas as runtime trees.
18432
18459
  *
@@ -20626,7 +20653,7 @@ function isStringTree(u) {
20626
20653
  /** @internal */
20627
20654
  var unknownToStringTree = /*#__PURE__*/ new Link(/* @__PURE__ */ new Declaration([], () => (input, ast) => isStringTree(input) ? succeed$3(input) : fail$3(new InvalidType(ast, some(input))), { expected: "StringTree" }), /*#__PURE__*/ passthrough());
20628
20655
  //#endregion
20629
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Brand.js
20656
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Brand.js
20630
20657
  /**
20631
20658
  * Returns a `Constructor` that **does not apply any runtime checks** and just
20632
20659
  * returns the provided value.
@@ -20650,7 +20677,7 @@ function nominal() {
20650
20677
  });
20651
20678
  }
20652
20679
  //#endregion
20653
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/PlatformError.js
20680
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/PlatformError.js
20654
20681
  /**
20655
20682
  * Normalized errors for platform APIs.
20656
20683
  *
@@ -20927,7 +20954,7 @@ var getCurrent = getCurrentFiber;
20927
20954
  */
20928
20955
  var runIn = fiberRunIn;
20929
20956
  //#endregion
20930
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Latch.js
20957
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Latch.js
20931
20958
  /**
20932
20959
  * Creates a `Latch` synchronously, outside of `Effect`.
20933
20960
  *
@@ -20969,7 +20996,7 @@ var runIn = fiberRunIn;
20969
20996
  */
20970
20997
  var makeUnsafe$2 = makeLatchUnsafe;
20971
20998
  //#endregion
20972
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/MutableList.js
20999
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/MutableList.js
20973
21000
  /**
20974
21001
  * Mutable lists for collecting ordered values and draining them from the front.
20975
21002
  * A `MutableList<A>` can append values to the end, prepend values to the
@@ -21365,7 +21392,7 @@ var take$1 = (self) => {
21365
21392
  return message;
21366
21393
  };
21367
21394
  //#endregion
21368
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/MutableRef.js
21395
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/MutableRef.js
21369
21396
  var TypeId$38 = "~effect/MutableRef";
21370
21397
  var MutableRefProto = {
21371
21398
  [TypeId$38]: TypeId$38,
@@ -21412,7 +21439,7 @@ var make$35 = (value) => {
21412
21439
  return ref;
21413
21440
  };
21414
21441
  //#endregion
21415
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Queue.js
21442
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Queue.js
21416
21443
  /**
21417
21444
  * Passes values asynchronously between fibers.
21418
21445
  *
@@ -22270,7 +22297,7 @@ var finalize = (self, exit) => {
22270
22297
  openState.awaiters.clear();
22271
22298
  };
22272
22299
  //#endregion
22273
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Semaphore.js
22300
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Semaphore.js
22274
22301
  /**
22275
22302
  * Creates a `Semaphore` synchronously with the specified total
22276
22303
  * number of permits.
@@ -22419,7 +22446,7 @@ var SemaphoreImpl = class {
22419
22446
  */
22420
22447
  var make$33 = (permits) => sync$1(() => new SemaphoreImpl(permits));
22421
22448
  //#endregion
22422
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Channel.js
22449
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Channel.js
22423
22450
  /**
22424
22451
  * Provides low-level building blocks for streaming data through Effect.
22425
22452
  *
@@ -23412,7 +23439,7 @@ var runFold$1 = /*#__PURE__*/ dual(3, (self, initial, f) => suspend$2(() => {
23412
23439
  */
23413
23440
  var toPullScoped = (self, scope) => toTransform(self)(done(), scope);
23414
23441
  //#endregion
23415
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/stream.js
23442
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/stream.js
23416
23443
  var TypeId$35 = "~effect/Stream";
23417
23444
  var streamVariance = {
23418
23445
  _R: identity,
@@ -23432,7 +23459,7 @@ var fromChannel$2 = (channel) => {
23432
23459
  return self;
23433
23460
  };
23434
23461
  //#endregion
23435
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Sink.js
23462
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Sink.js
23436
23463
  var TypeId$34 = "~effect/Sink";
23437
23464
  var endVoid = /*#__PURE__*/ succeed$3([void 0]);
23438
23465
  var sinkVariance = {
@@ -23653,7 +23680,7 @@ var forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$1(f)
23653
23680
  */
23654
23681
  var unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$7(effect, toChannel$1)));
23655
23682
  //#endregion
23656
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/MutableHashMap.js
23683
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/MutableHashMap.js
23657
23684
  var TypeId$33 = "~effect/collections/MutableHashMap";
23658
23685
  var MutableHashMapProto = {
23659
23686
  [TypeId$33]: TypeId$33,
@@ -24004,7 +24031,7 @@ var clear = (self) => {
24004
24031
  */
24005
24032
  var size = (self) => self.backing.size;
24006
24033
  //#endregion
24007
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/RcMap.js
24034
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/RcMap.js
24008
24035
  /**
24009
24036
  * Shares scoped resources by key and releases them when no one is using them.
24010
24037
  *
@@ -24196,7 +24223,7 @@ var release = (self, key, entry) => withFiber((fiber) => {
24196
24223
  return void_$1;
24197
24224
  });
24198
24225
  //#endregion
24199
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/rcRef.js
24226
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/rcRef.js
24200
24227
  var TypeId$31 = "~effect/RcRef";
24201
24228
  var stateEmpty = { _tag: "Empty" };
24202
24229
  var stateClosed = { _tag: "Closed" };
@@ -24284,7 +24311,7 @@ var get$1 = /*#__PURE__*/ fnUntraced(function* (self_) {
24284
24311
  return state.value;
24285
24312
  });
24286
24313
  //#endregion
24287
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/RcRef.js
24314
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/RcRef.js
24288
24315
  /**
24289
24316
  * Creates an `RcRef` from an acquire effect.
24290
24317
  *
@@ -24372,7 +24399,7 @@ var make$30 = make$31;
24372
24399
  */
24373
24400
  var get = get$1;
24374
24401
  //#endregion
24375
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Stream.js
24402
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Stream.js
24376
24403
  /**
24377
24404
  * Describes effectful sources that emit values over time.
24378
24405
  *
@@ -25158,7 +25185,7 @@ var runForEachArray = /*#__PURE__*/ dual(2, (self, f) => runForEach$1(self.chann
25158
25185
  */
25159
25186
  var mkString = (self) => runFold$1(self.channel, () => "", (acc, chunk) => acc + chunk.join(""));
25160
25187
  //#endregion
25161
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/FileSystem.js
25188
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/FileSystem.js
25162
25189
  /**
25163
25190
  * Defines the portable file system service for Effect programs.
25164
25191
  *
@@ -25407,7 +25434,7 @@ var FileDescriptor = /*#__PURE__*/ nominal();
25407
25434
  */
25408
25435
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
25409
25436
  //#endregion
25410
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Path.js
25437
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Path.js
25411
25438
  /**
25412
25439
  * Provides path operations through the Effect environment.
25413
25440
  *
@@ -25502,7 +25529,7 @@ var TypeId$28 = "~effect/platform/Path";
25502
25529
  */
25503
25530
  var Path$1 = /*#__PURE__*/ Service$1("effect/Path");
25504
25531
  //#endregion
25505
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
25532
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
25506
25533
  /**
25507
25534
  * Service boundary for starting and controlling child processes.
25508
25535
  *
@@ -25574,7 +25601,7 @@ var make$27 = (spawn) => {
25574
25601
  */
25575
25602
  var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
25576
25603
  //#endregion
25577
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/process/ChildProcess.js
25604
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/process/ChildProcess.js
25578
25605
  /**
25579
25606
  * Describes child processes before they are started.
25580
25607
  *
@@ -25780,7 +25807,7 @@ var concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || prevT
25780
25807
  ...nextTokens.slice(1)
25781
25808
  ];
25782
25809
  //#endregion
25783
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/internal/utils.js
25810
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/internal/utils.js
25784
25811
  /** @internal */
25785
25812
  var handleErrnoException = (module, method) => (err, [path]) => {
25786
25813
  let reason = "Unknown";
@@ -25817,7 +25844,7 @@ var handleErrnoException = (module, method) => (err, [path]) => {
25817
25844
  });
25818
25845
  };
25819
25846
  //#endregion
25820
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodeSink.js
25847
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodeSink.js
25821
25848
  /**
25822
25849
  * Creates a `Sink` that writes chunks to a Node writable stream, respecting
25823
25850
  * backpressure, mapping writable errors with `onError`, and ending the stream
@@ -25882,7 +25909,7 @@ var pullIntoWritable = (options) => options.pull.pipe(flatMap$1((chunk) => {
25882
25909
  });
25883
25910
  }) : identity);
25884
25911
  //#endregion
25885
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodeStream.js
25912
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodeStream.js
25886
25913
  /**
25887
25914
  * Adapters between Node streams and Effect streams, channels, and readables.
25888
25915
  *
@@ -25962,7 +25989,7 @@ var readableToPullUnsafe = (options) => {
25962
25989
  };
25963
25990
  var defaultOnError = (error) => new UnknownError$1(error);
25964
25991
  //#endregion
25965
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
25992
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
25966
25993
  var toError$8 = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
25967
25994
  var toPlatformError = (method, error, command) => {
25968
25995
  const { commands } = flattenCommand(command);
@@ -26360,7 +26387,7 @@ var flattenCommand = (command) => {
26360
26387
  };
26361
26388
  };
26362
26389
  //#endregion
26363
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Struct.js
26390
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Struct.js
26364
26391
  /**
26365
26392
  * Wraps a plain function as a {@link Lambda} value so it can be used with
26366
26393
  * {@link map}, {@link mapPick}, and {@link mapOmit}.
@@ -26399,7 +26426,7 @@ var flattenCommand = (command) => {
26399
26426
  */
26400
26427
  var lambda = (f) => f;
26401
26428
  //#endregion
26402
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaParser.js
26429
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaParser.js
26403
26430
  /**
26404
26431
  * Runs schemas against real values.
26405
26432
  *
@@ -26412,13 +26439,13 @@ var lambda = (f) => f;
26412
26439
  *
26413
26440
  * @since 4.0.0
26414
26441
  */
26415
- var recurDefaults = /*#__PURE__*/ memoize((ast) => {
26442
+ var toConstructorAST = /*#__PURE__*/ memoize((ast) => {
26416
26443
  switch (ast._tag) {
26417
26444
  case "Declaration": {
26418
26445
  const getLink = ast.annotations?.[ClassTypeId];
26419
26446
  if (isFunction(getLink)) {
26420
26447
  const link = getLink(ast.typeParameters);
26421
- const to = recurDefaults(link.to);
26448
+ const to = toConstructorAST(link.to);
26422
26449
  return replaceEncoding(ast, to === link.to ? [link] : [new Link(to, link.transformation)]);
26423
26450
  }
26424
26451
  return ast;
@@ -26426,10 +26453,13 @@ var recurDefaults = /*#__PURE__*/ memoize((ast) => {
26426
26453
  case "Objects":
26427
26454
  case "Arrays": return ast.recur((ast) => {
26428
26455
  const defaultValue = ast.context?.defaultValue;
26429
- if (defaultValue) return replaceEncoding(recurDefaults(ast), defaultValue);
26430
- return recurDefaults(ast);
26456
+ if (defaultValue) {
26457
+ const out = toConstructorAST(ast);
26458
+ return replaceEncoding(out, out.encoding ? [...out.encoding, ...defaultValue] : defaultValue);
26459
+ }
26460
+ return toConstructorAST(ast);
26431
26461
  });
26432
- case "Suspend": return ast.recur(recurDefaults);
26462
+ case "Suspend": return ast.recur(toConstructorAST);
26433
26463
  default: return ast;
26434
26464
  }
26435
26465
  });
@@ -26451,7 +26481,7 @@ var recurDefaults = /*#__PURE__*/ memoize((ast) => {
26451
26481
  * @since 4.0.0
26452
26482
  */
26453
26483
  function makeEffect(schema) {
26454
- const parser = run$4(recurDefaults(toType$1(schema.ast)));
26484
+ const parser = run$4(toConstructorAST(toType$1(schema.ast)));
26455
26485
  return (input, options) => {
26456
26486
  return parser(input, options?.disableChecks ? options?.parseOptions ? {
26457
26487
  ...options.parseOptions,
@@ -26691,7 +26721,7 @@ var recur = /*#__PURE__*/ memoize((ast) => {
26691
26721
  };
26692
26722
  });
26693
26723
  //#endregion
26694
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/JsonPointer.js
26724
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/JsonPointer.js
26695
26725
  /**
26696
26726
  * Helpers for escaping and unescaping JSON Pointer path segments. JSON Pointer
26697
26727
  * uses `/` to separate path tokens inside a JSON document, so token text must
@@ -26757,7 +26787,7 @@ globalThis.RegExp;
26757
26787
  */
26758
26788
  var escape = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
26759
26789
  //#endregion
26760
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/SchemaError.js
26790
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/SchemaError.js
26761
26791
  /**
26762
26792
  * @since 4.0.0
26763
26793
  */
@@ -26815,7 +26845,7 @@ function isSchemaError(u) {
26815
26845
  return hasProperty(u, TypeId$26);
26816
26846
  }
26817
26847
  //#endregion
26818
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/schema/schema.js
26848
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/schema/schema.js
26819
26849
  /** @internal */
26820
26850
  var TypeId$25 = "~effect/Schema/Schema";
26821
26851
  var SchemaProto = {
@@ -26877,7 +26907,7 @@ function makeReorder(getPriority) {
26877
26907
  };
26878
26908
  }
26879
26909
  //#endregion
26880
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/internal/schema/representation.js
26910
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/internal/schema/representation.js
26881
26911
  /** @internal */
26882
26912
  function fromAST(ast) {
26883
26913
  const { references, representations: schemas } = fromASTs([ast]);
@@ -27476,7 +27506,7 @@ function getPartPattern(part) {
27476
27506
  }
27477
27507
  }
27478
27508
  //#endregion
27479
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Schema.js
27509
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Schema.js
27480
27510
  var TypeId$24 = TypeId$25;
27481
27511
  /**
27482
27512
  * Creates a schema for a **parametric** type (a generic container such as
@@ -28840,10 +28870,10 @@ function isInt(annotations) {
28840
28870
  * @category Redacted
28841
28871
  * @since 3.10.0
28842
28872
  */
28843
- function Redacted(value$4, options) {
28873
+ function Redacted(value$3, options) {
28844
28874
  const decodeLabel = typeof options?.label === "string" ? decodeUnknownEffect$1(Literal(options.label)) : void 0;
28845
- return make$22(declareConstructor()([value$4], ([value$5]) => (input, ast, poptions) => {
28846
- if (isRedacted(input)) return flatMapEager(decodeLabel !== void 0 ? mapErrorEager(decodeLabel(input.label, poptions), (issue) => new Pointer(["label"], issue)) : void_$1, () => mapBothEager(decodeUnknownEffect$1(value$5)(value(input), poptions), {
28875
+ return make$22(declareConstructor()([value$3], ([value$4]) => (input, ast, poptions) => {
28876
+ if (isRedacted(input)) return flatMapEager(decodeLabel !== void 0 ? mapErrorEager(decodeLabel(input.label, poptions), (issue) => new Pointer(["label"], issue)) : void_$1, () => mapBothEager(decodeUnknownEffect$1(value$4)(value(input), poptions), {
28847
28877
  onSuccess: () => input,
28848
28878
  onFailure: () => {
28849
28879
  const oinput = some(input);
@@ -28862,7 +28892,7 @@ function Redacted(value$4, options) {
28862
28892
  importDeclaration: `import * as Redacted from "effect/Redacted"`
28863
28893
  },
28864
28894
  expected: "Redacted",
28865
- toCodecJson: ([value$3]) => link$1()(redact$1(value$3), {
28895
+ toCodecJson: ([value$2]) => link$1()(redact$1(value$2), {
28866
28896
  decode: transform$2((e) => make$41(e, { label: options?.label })),
28867
28897
  encode: options?.disallowJsonEncode ? forbidden((oe) => "Cannot serialize Redacted" + (isSome(oe) && typeof oe.value.label === "string" ? ` with label: "${oe.value.label}"` : "")) : transform$2(value)
28868
28898
  }),
@@ -28872,7 +28902,7 @@ function Redacted(value$4, options) {
28872
28902
  }),
28873
28903
  toFormatter: () => globalThis.String,
28874
28904
  toEquivalence: ([value]) => makeEquivalence(value)
28875
- }).ast, { value: value$4 });
28905
+ }).ast, { value: value$3 });
28876
28906
  }
28877
28907
  /**
28878
28908
  * Middleware that wraps decoded errors in `Redacted`, preventing sensitive
@@ -29774,7 +29804,7 @@ var Json = /*#__PURE__*/ make$22(Json$1);
29774
29804
  */
29775
29805
  var MutableJson = /*#__PURE__*/ make$22(MutableJson$1);
29776
29806
  //#endregion
29777
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/Cookies.js
29807
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/Cookies.js
29778
29808
  /**
29779
29809
  * Models HTTP cookies and cookie collections for requests and responses.
29780
29810
  *
@@ -29832,7 +29862,7 @@ var fromIterable = (cookies) => {
29832
29862
  var empty$3 = /*#__PURE__*/ fromIterable([]);
29833
29863
  ({ ...BaseProto });
29834
29864
  //#endregion
29835
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/Headers.js
29865
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/Headers.js
29836
29866
  /**
29837
29867
  * Models HTTP headers for the unstable HTTP client and server modules.
29838
29868
  *
@@ -29999,7 +30029,7 @@ var CurrentRedactedNames = /*#__PURE__*/ Reference("effect/Headers/CurrentRedact
29999
30029
  "x-api-key"
30000
30030
  ] });
30001
30031
  //#endregion
30002
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/HttpClientError.js
30032
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpClientError.js
30003
30033
  /**
30004
30034
  * Typed failure model for Effect HTTP client operations.
30005
30035
  *
@@ -30044,7 +30074,7 @@ var fromInputNested = (input) => {
30044
30074
  return out;
30045
30075
  };
30046
30076
  //#endregion
30047
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/HttpBody.js
30077
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpBody.js
30048
30078
  /**
30049
30079
  * Describes HTTP request and response bodies before they reach a platform
30050
30080
  * adapter.
@@ -30689,7 +30719,7 @@ var httpMethods = [
30689
30719
  */
30690
30720
  var make$18 = make$19;
30691
30721
  //#endregion
30692
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/ErrorReporter.js
30722
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/ErrorReporter.js
30693
30723
  /**
30694
30724
  * Defines the runtime property key used to mark an object error as ignored by error
30695
30725
  * reporting.
@@ -30724,7 +30754,7 @@ var make$18 = make$19;
30724
30754
  */
30725
30755
  var ignore = "~effect/ErrorReporter/ignore";
30726
30756
  //#endregion
30727
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/HttpServerResponse.js
30757
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpServerResponse.js
30728
30758
  var TypeId$16 = "~effect/http/HttpServerResponse";
30729
30759
  /**
30730
30760
  * Creates an empty HTTP response.
@@ -30826,17 +30856,17 @@ TaggedError("MultipartError");
30826
30856
  var HttpServerRequest = /*#__PURE__*/ Service$1("effect/http/HttpServerRequest");
30827
30857
  Service$1()("effect/http/ParsedSearchParams");
30828
30858
  //#endregion
30829
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
30859
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
30830
30860
  /** @internal */
30831
30861
  var requestPreResponseHandlers = /*#__PURE__*/ new WeakMap();
30832
30862
  /** @internal */
30833
- var appendPreResponseHandlerUnsafe = (request, handler) => {
30863
+ var appendPreResponseHandlerUnsafe$1 = (request, handler) => {
30834
30864
  const prev = requestPreResponseHandlers.get(request.source);
30835
30865
  const next = prev ? (request, response) => flatMap$1(prev(request, response), (response) => handler(request, response)) : handler;
30836
30866
  requestPreResponseHandlers.set(request.source, next);
30837
30867
  };
30838
30868
  //#endregion
30839
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/HttpMiddleware.js
30869
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpMiddleware.js
30840
30870
  var loggerDisabledRequests = /*#__PURE__*/ new WeakSet();
30841
30871
  /**
30842
30872
  * Runs an effect with HTTP response logging disabled for the current server request.
@@ -30850,7 +30880,16 @@ var withLoggerDisabled = (self) => withFiber((fiber) => {
30850
30880
  return self;
30851
30881
  });
30852
30882
  //#endregion
30853
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/http/HttpRouter.js
30883
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpEffect.js
30884
+ /**
30885
+ * Registers a pre-response handler for the supplied HTTP server request.
30886
+ *
30887
+ * @category fiber refs
30888
+ * @since 4.0.0
30889
+ */
30890
+ var appendPreResponseHandlerUnsafe = appendPreResponseHandlerUnsafe$1;
30891
+ //#endregion
30892
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/http/HttpRouter.js
30854
30893
  /**
30855
30894
  * Builds server-side routers for Effect HTTP applications.
30856
30895
  *
@@ -30991,7 +31030,7 @@ var getMiddleware = (context) => {
30991
31030
  };
30992
31031
  (/*#__PURE__*/ middleware(withLoggerDisabled)).layer;
30993
31032
  //#endregion
30994
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/workers/Transferable.js
31033
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/workers/Transferable.js
30995
31034
  /**
30996
31035
  * Marks encoded worker message fields that should move through `postMessage` as
30997
31036
  * transfer-list entries.
@@ -31040,7 +31079,7 @@ var makeCollectorUnsafe = () => {
31040
31079
  });
31041
31080
  };
31042
31081
  //#endregion
31043
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/PrimaryKey.js
31082
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/PrimaryKey.js
31044
31083
  /**
31045
31084
  * Defines the unique identifier used to identify objects that implement the `PrimaryKey` interface.
31046
31085
  *
@@ -31058,7 +31097,7 @@ var makeCollectorUnsafe = () => {
31058
31097
  */
31059
31098
  var symbol = "~effect/interfaces/PrimaryKey";
31060
31099
  //#endregion
31061
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcSchema.js
31100
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcSchema.js
31062
31101
  /**
31063
31102
  * RPC schema markers and interruption annotations.
31064
31103
  *
@@ -31117,7 +31156,7 @@ var ClientAbort = class extends Service$1()("effect/rpc/RpcSchema/ClientAbort")
31117
31156
  }));
31118
31157
  };
31119
31158
  //#endregion
31120
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/Rpc.js
31159
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/Rpc.js
31121
31160
  var TypeId$12 = "~effect/rpc/Rpc";
31122
31161
  /**
31123
31162
  * Represents server-side metadata for the client associated with an RPC request.
@@ -31304,7 +31343,7 @@ var WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
31304
31343
  */
31305
31344
  var isWrapper = (u) => WrapperTypeId in u;
31306
31345
  //#endregion
31307
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcMessage.js
31346
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcMessage.js
31308
31347
  /**
31309
31348
  * Converts a bigint or string request id into the branded `RequestId` type.
31310
31349
  *
@@ -33162,7 +33201,7 @@ defaultPackr.pack;
33162
33201
  defaultPackr.pack;
33163
33202
  var { NEVER, ALWAYS, DECIMAL_ROUND, DECIMAL_FIT } = FLOAT32_OPTIONS;
33164
33203
  //#endregion
33165
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcSerialization.js
33204
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcSerialization.js
33166
33205
  /**
33167
33206
  * Service that describes how RPC protocol messages are encoded and decoded,
33168
33207
  * including the content type and whether the serialization format provides
@@ -33410,7 +33449,7 @@ var jsonRpcInternalError = -32603;
33410
33449
  */
33411
33450
  var layerNdJsonRpc = (options) => succeed$4(RpcSerialization)(ndJsonRpc(options));
33412
33451
  //#endregion
33413
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/Utils.js
33452
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/Utils.js
33414
33453
  /**
33415
33454
  * Builds a service with a `run` method that buffers writes until `run` installs
33416
33455
  * a writer, replays buffered writes with their original contexts, and restores
@@ -33488,7 +33527,7 @@ var withRunClient = (f) => suspend$2(() => {
33488
33527
  }));
33489
33528
  });
33490
33529
  //#endregion
33491
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcClient.js
33530
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcClient.js
33492
33531
  var requestIdCounter = 0;
33493
33532
  /**
33494
33533
  * Creates an RPC client for an already-decoded message channel, returning the
@@ -33854,7 +33893,7 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
33854
33893
  Service$1()("effect/rpc/RpcClient/ConnectionHooks");
33855
33894
  var decodeDefect = /*#__PURE__*/ decodeSync(/*#__PURE__*/ Defect());
33856
33895
  //#endregion
33857
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Stdio.js
33896
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Stdio.js
33858
33897
  /**
33859
33898
  * Service contract for command-line arguments and standard input, output, and
33860
33899
  * error output. It lets programs depend on standard I/O through the Effect
@@ -33919,7 +33958,7 @@ var make$11 = (options) => ({
33919
33958
  ...options
33920
33959
  });
33921
33960
  //#endregion
33922
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcServer.js
33961
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcServer.js
33923
33962
  /**
33924
33963
  * Creates an RPC server for an already-decoded message channel, running
33925
33964
  * handlers for a group and sending decoded server responses through
@@ -34381,7 +34420,7 @@ var layerProtocolStdio = /*#__PURE__*/ effect(Protocol, /* @__PURE__ */ gen(func
34381
34420
  }));
34382
34421
  }));
34383
34422
  //#endregion
34384
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcGroup.js
34423
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcGroup.js
34385
34424
  var RpcGroupProto = {
34386
34425
  add(...rpcs) {
34387
34426
  const requests = new Map(this.requests);
@@ -34515,7 +34554,7 @@ var make$9 = (...rpcs) => makeProto$1({
34515
34554
  annotations: empty$8()
34516
34555
  });
34517
34556
  //#endregion
34518
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/ConfigProvider.js
34557
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/ConfigProvider.js
34519
34558
  /**
34520
34559
  * Data sources used by `Config` to load raw configuration values. A
34521
34560
  * `ConfigProvider` reads paths from places such as environment variables,
@@ -34874,7 +34913,7 @@ var Boolean$1 = /*#__PURE__*/ Literals([...TrueValues.literals, ...FalseValues.l
34874
34913
  encode: (value) => value ? "true" : "false"
34875
34914
  })));
34876
34915
  //#endregion
34877
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
34916
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
34878
34917
  /**
34879
34918
  * Shared Node-compatible implementation of Effect's `FileSystem` service.
34880
34919
  *
@@ -35228,7 +35267,7 @@ var makeFileSystem = /*#__PURE__*/ map$7(/*#__PURE__*/ serviceOption(WatchBacken
35228
35267
  writeFile: writeFile$1
35229
35268
  }));
35230
35269
  //#endregion
35231
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
35270
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
35232
35271
  /**
35233
35272
  * Node.js `FileSystem` layer for programs that perform real filesystem I/O.
35234
35273
  *
@@ -35247,7 +35286,7 @@ var makeFileSystem = /*#__PURE__*/ map$7(/*#__PURE__*/ serviceOption(WatchBacken
35247
35286
  */
35248
35287
  var layer$10 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
35249
35288
  //#endregion
35250
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Crypto.js
35289
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Crypto.js
35251
35290
  /**
35252
35291
  * Defines a platform-independent service for cryptographic operations.
35253
35292
  *
@@ -35391,7 +35430,7 @@ var formatUUIDv7 = (timestampMillis, bytes) => {
35391
35430
  return formatUUID(bytes);
35392
35431
  };
35393
35432
  //#endregion
35394
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
35433
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
35395
35434
  /**
35396
35435
  * Node-compatible implementation of Effect's `Crypto` service.
35397
35436
  *
@@ -35421,7 +35460,7 @@ var digest = (algorithm, data) => try_({
35421
35460
  })
35422
35461
  });
35423
35462
  //#endregion
35424
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeCrypto.js
35463
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeCrypto.js
35425
35464
  /**
35426
35465
  * The `NodeCrypto` module provides the Node.js `Crypto` service layer for
35427
35466
  * Effect programs. Provide {@link layer} at the edge of a Node application,
@@ -35446,7 +35485,7 @@ var layer$8 = /* @__PURE__ */ succeed$4(Crypto, /* @__PURE__ */ make$7({
35446
35485
  digest
35447
35486
  }));
35448
35487
  //#endregion
35449
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.99_effect@4.0.0-beta.99/node_modules/@effect/platform-node-shared/dist/NodePath.js
35488
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.100_effect@4.0.0-beta.100/node_modules/@effect/platform-node-shared/dist/NodePath.js
35450
35489
  /**
35451
35490
  * Node-backed provider for Effect's `Path` service.
35452
35491
  *
@@ -35476,7 +35515,7 @@ var toFileUrl = (path) => try_({
35476
35515
  ({ ...Path.posix });
35477
35516
  ({ ...Path.win32 });
35478
35517
  //#endregion
35479
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodePath.js
35518
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodePath.js
35480
35519
  /**
35481
35520
  * Node.js layers for Effect's `Path` service.
35482
35521
  *
@@ -35501,7 +35540,7 @@ var layer$6 = /* @__PURE__ */ succeed$4(Path$1)({
35501
35540
  toFileUrl
35502
35541
  });
35503
35542
  //#endregion
35504
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeStdio.js
35543
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeStdio.js
35505
35544
  /**
35506
35545
  * Node.js `Stdio` layer for the current process.
35507
35546
  *
@@ -35553,7 +35592,7 @@ var layer$4 = /* @__PURE__ */ succeed$4(Stdio, /*#__PURE__*/ make$11({
35553
35592
  })
35554
35593
  }));
35555
35594
  //#endregion
35556
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Terminal.js
35595
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Terminal.js
35557
35596
  var TypeId$8 = "~effect/platform/Terminal";
35558
35597
  var QuitErrorTypeId = "effect/platform/Terminal/QuitError";
35559
35598
  /**
@@ -35700,7 +35739,7 @@ function defaultShouldQuit(input) {
35700
35739
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
35701
35740
  }
35702
35741
  //#endregion
35703
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeServices.js
35742
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeServices.js
35704
35743
  /**
35705
35744
  * Provides the default Node implementations for child process spawning,
35706
35745
  * filesystem, path, stdio, and terminal services.
@@ -35710,7 +35749,7 @@ function defaultShouldQuit(input) {
35710
35749
  */
35711
35750
  var layer$1 = /*#__PURE__*/ provideMerge(layer$12, /*#__PURE__*/ mergeAll(layer$10, layer$8, layer$6, layer$4, layer$3));
35712
35751
  //#endregion
35713
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Runtime.js
35752
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Runtime.js
35714
35753
  /**
35715
35754
  * Helpers for turning an `Effect` program into a host application's main entry
35716
35755
  * point. This module is the low-level layer used by platform adapters to run a
@@ -36015,7 +36054,7 @@ var getErrorReported = (u) => {
36015
36054
  return true;
36016
36055
  };
36017
36056
  //#endregion
36018
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.99_effect@4.0.0-beta.99_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeRuntime.js
36057
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.100_effect@4.0.0-beta.100_ioredis@5.11.1_supports-color@7.2.0_/node_modules/@effect/platform-node/dist/NodeRuntime.js
36019
36058
  /**
36020
36059
  * Node.js process runner for Effect programs.
36021
36060
  *
@@ -36067,7 +36106,7 @@ var runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
36067
36106
  process.on("SIGTERM", onSigint);
36068
36107
  });
36069
36108
  //#endregion
36070
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Console.js
36109
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Console.js
36071
36110
  /**
36072
36111
  * Context reference for the current console service in the Effect system, allowing access to the active console implementation from within the Effect context.
36073
36112
  *
@@ -36164,7 +36203,7 @@ var log = (...args) => consoleWith((console) => sync$1(() => {
36164
36203
  console.log(...args);
36165
36204
  }));
36166
36205
  //#endregion
36167
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/Logger.js
36206
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/Logger.js
36168
36207
  /**
36169
36208
  * Context reference that routes the built-in default logger and TTY pretty
36170
36209
  * console logger to stderr.
@@ -36188,7 +36227,7 @@ var log = (...args) => consoleWith((console) => sync$1(() => {
36188
36227
  */
36189
36228
  var LogToStderr = LogToStderr$1;
36190
36229
  //#endregion
36191
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/CliError.js
36230
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/CliError.js
36192
36231
  /**
36193
36232
  * Defines structured errors for the unstable CLI parser and runner.
36194
36233
  *
@@ -36476,9 +36515,10 @@ var InvalidValue = class extends TaggedErrorClass(`${TypeId$7}/InvalidValue`)("I
36476
36515
  * @since 4.0.0
36477
36516
  */
36478
36517
  get message() {
36479
- if (this.kind === "argument") return `Invalid value for argument <${this.option}>: "${this.value}". Expected: ${this.expected}`;
36480
- if (this.value.length === 0) return `Missing value for flag --${this.option}. Expected: ${this.expected}`;
36481
- return `Invalid value for flag --${this.option}: "${this.value}". Expected: ${this.expected}`;
36518
+ const expectation = this.expected.startsWith("Expected ") || this.expected.startsWith("Expected:") ? this.expected : `Expected: ${this.expected}`;
36519
+ if (this.kind === "argument") return `Invalid value for argument <${this.option}>: "${this.value}". ${expectation}`;
36520
+ if (this.value.length === 0) return `Missing value for flag --${this.option}. ${expectation}`;
36521
+ return `Invalid value for flag --${this.option}: "${this.value}". ${expectation}`;
36482
36522
  }
36483
36523
  };
36484
36524
  /**
@@ -46898,7 +46938,7 @@ var choice$2 = (choices) => {
46898
46938
  const validChoices = choices.map(([key]) => format$3(key)).join(" | ");
46899
46939
  const primitive = makePrimitive("Choice", (value) => {
46900
46940
  if (choiceMap.has(value)) return succeed$3(choiceMap.get(value));
46901
- return fail$3(`Expected ${validChoices}, got ${format$3(value)}`);
46941
+ return fail$3(validChoices);
46902
46942
  });
46903
46943
  return Object.assign(primitive, { choiceKeys: choices.map(([key]) => key) });
46904
46944
  };
@@ -46952,7 +46992,7 @@ var getTypeName = (primitive) => {
46952
46992
  /** @internal */
46953
46993
  var getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
46954
46994
  //#endregion
46955
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/ansi.js
46995
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/ansi.js
46956
46996
  /**
46957
46997
  * Internal ANSI escape sequence helpers used by the unstable CLI rendering
46958
46998
  * implementation. This module centralizes the control codes for text styling,
@@ -47032,7 +47072,7 @@ var eraseLines = (rows) => {
47032
47072
  return command;
47033
47073
  };
47034
47074
  //#endregion
47035
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Prompt.js
47075
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Prompt.js
47036
47076
  /**
47037
47077
  * Builds interactive terminal prompts for CLI applications.
47038
47078
  *
@@ -48599,7 +48639,7 @@ var entriesToDisplay = (cursor, total, maxVisible) => {
48599
48639
  };
48600
48640
  };
48601
48641
  //#endregion
48602
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Param.js
48642
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Param.js
48603
48643
  var TypeId$5 = "~effect/cli/Param";
48604
48644
  /**
48605
48645
  * Defines the kind discriminator for positional argument parameters.
@@ -49256,7 +49296,7 @@ var getParamMetadata = (param) => {
49256
49296
  });
49257
49297
  };
49258
49298
  //#endregion
49259
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Argument.js
49299
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Argument.js
49260
49300
  /**
49261
49301
  * Creates a positional string argument.
49262
49302
  *
@@ -49290,7 +49330,7 @@ var string$1 = (name) => string$2(argumentKind, name);
49290
49330
  */
49291
49331
  var withDescription$2 = /*#__PURE__*/ dual(2, (self, description) => withDescription$3(self, description));
49292
49332
  //#endregion
49293
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/CliOutput.js
49333
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/CliOutput.js
49294
49334
  /**
49295
49335
  * Formats CLI help and errors as text.
49296
49336
  *
@@ -49546,7 +49586,7 @@ var formatHelpDocImpl = (doc, colors) => {
49546
49586
  return sections.join("\n");
49547
49587
  };
49548
49588
  //#endregion
49549
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
49589
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
49550
49590
  var escapeForBash = (s) => s.replace(/'/g, "'\\''");
49551
49591
  var sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
49552
49592
  var flagNamesForWordlist = (flag) => {
@@ -49697,7 +49737,7 @@ var generate$3 = (executableName, descriptor) => {
49697
49737
  return lines.join("\n");
49698
49738
  };
49699
49739
  //#endregion
49700
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
49740
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
49701
49741
  var escapeFishString = (s) => s.replace(/'/g, "\\'");
49702
49742
  /**
49703
49743
  * Build a Fish condition that checks the current subcommand context.
@@ -49835,7 +49875,7 @@ var generate$2 = (executableName, descriptor) => {
49835
49875
  return lines.join("\n");
49836
49876
  };
49837
49877
  //#endregion
49838
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
49878
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
49839
49879
  var escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
49840
49880
  var sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
49841
49881
  /**
@@ -49972,7 +50012,7 @@ var generate$1 = (executableName, descriptor) => {
49972
50012
  return lines.join("\n");
49973
50013
  };
49974
50014
  //#endregion
49975
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Completions.js
50015
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Completions.js
49976
50016
  /**
49977
50017
  * The `Completions` module turns a plain description of an Effect CLI command
49978
50018
  * tree into shell completion scripts for Bash, Zsh, and Fish. It is the
@@ -50008,7 +50048,7 @@ var generate = (executableName, shell, descriptor) => {
50008
50048
  }
50009
50049
  };
50010
50050
  //#endregion
50011
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Flag.js
50051
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Flag.js
50012
50052
  /**
50013
50053
  * Creates a string flag that accepts text input.
50014
50054
  *
@@ -50249,7 +50289,7 @@ var withDefault = withDefault$1;
50249
50289
  */
50250
50290
  var map = /*#__PURE__*/ dual(2, (self, f) => map$1(self, f));
50251
50291
  //#endregion
50252
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/config.js
50292
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/config.js
50253
50293
  /**
50254
50294
  * Config Internal
50255
50295
  * ================
@@ -50368,7 +50408,7 @@ var reconstructTree = (tree, results) => {
50368
50408
  }
50369
50409
  };
50370
50410
  //#endregion
50371
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/command.js
50411
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/command.js
50372
50412
  /**
50373
50413
  * Command Implementation
50374
50414
  * ======================
@@ -50557,7 +50597,7 @@ var checkForDuplicateFlags = (parent, subcommands, options) => {
50557
50597
  }
50558
50598
  };
50559
50599
  //#endregion
50560
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
50600
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
50561
50601
  /**
50562
50602
  * CommandDescriptor — pure-data representation of a command tree for
50563
50603
  * shell completion generation.
@@ -50649,7 +50689,7 @@ var fromCommand = (cmd) => {
50649
50689
  };
50650
50690
  };
50651
50691
  //#endregion
50652
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/help.js
50692
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/help.js
50653
50693
  /**
50654
50694
  * Help Documentation
50655
50695
  * ================
@@ -50756,7 +50796,7 @@ var getHelpForCommandPath = (command, commandPath, builtIns) => gen(function* ()
50756
50796
  };
50757
50797
  });
50758
50798
  //#endregion
50759
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/GlobalFlag.js
50799
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/GlobalFlag.js
50760
50800
  /**
50761
50801
  * Global flags for Effect CLI command trees. Global flags are parsed outside a
50762
50802
  * single command's local flags and can apply to a command and its descendants.
@@ -50927,7 +50967,7 @@ var BuiltIns = [
50927
50967
  LogLevel
50928
50968
  ];
50929
50969
  //#endregion
50930
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/CliConfig.js
50970
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/CliConfig.js
50931
50971
  /**
50932
50972
  * Configuration for Effect CLI command execution.
50933
50973
  *
@@ -50954,7 +50994,7 @@ var CliConfig = class extends Reference("effect/unstable/cli/CliConfig", { defau
50954
50994
  */
50955
50995
  var defaults = { builtIns: BuiltIns };
50956
50996
  //#endregion
50957
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/lexer.js
50997
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/lexer.js
50958
50998
  /** @internal */
50959
50999
  function lex(argv) {
50960
51000
  const endIndex = argv.indexOf("--");
@@ -51005,7 +51045,7 @@ var lexTokens = (args) => {
51005
51045
  return tokens;
51006
51046
  };
51007
51047
  //#endregion
51008
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
51048
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
51009
51049
  /**
51010
51050
  * Simple Levenshtein distance implementation (small N, no perf worries)
51011
51051
  */
@@ -51033,7 +51073,7 @@ var suggest = (input, candidates) => {
51033
51073
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
51034
51074
  };
51035
51075
  //#endregion
51036
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/parser.js
51076
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/parser.js
51037
51077
  /**
51038
51078
  * Parsing Pipeline for CLI Commands
51039
51079
  * ==================================
@@ -51559,7 +51599,7 @@ var scanCommandLevel = (tokens, context) => {
51559
51599
  return toLeafResult(state);
51560
51600
  };
51561
51601
  //#endregion
51562
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/internal/wizard.js
51602
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/internal/wizard.js
51563
51603
  var run$2 = /*#__PURE__*/ fnUntraced(function* (command, options) {
51564
51604
  const commandPath = options?.commandPath ?? [command.name];
51565
51605
  const selected = getCommandAtPath(command, commandPath);
@@ -51719,7 +51759,7 @@ var wrapCommand = (commandLine) => {
51719
51759
  };
51720
51760
  var formatShellArg = (arg) => /^[A-Za-z0-9_./:@%+=,-]+$/.test(arg) ? arg : `'${arg.replaceAll("'", `'"'"'`)}'`;
51721
51761
  //#endregion
51722
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/cli/Command.js
51762
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/cli/Command.js
51723
51763
  /**
51724
51764
  * Returns `true` if the provided value is a `Command`.
51725
51765
  *
@@ -52170,7 +52210,7 @@ var runWith = (command, config) => {
52170
52210
  };
52171
52211
  var package_default = {
52172
52212
  name: "repo-dive",
52173
- version: "0.4.2",
52213
+ version: "0.4.3",
52174
52214
  description: "Dive into a git repository's history: per-commit snapshots, an indexed metrics catalog and an interactive dashboard",
52175
52215
  keywords: [
52176
52216
  "git",
@@ -52243,7 +52283,7 @@ var package_default = {
52243
52283
  "@changesets/changelog-github": "0.7.0",
52244
52284
  "@changesets/cli": "2.31.1",
52245
52285
  "@changesets/config": "3.1.4",
52246
- "@effect/platform-node": "4.0.0-beta.99",
52286
+ "@effect/platform-node": "4.0.0-beta.100",
52247
52287
  "@kachkaev/eslint-config-base": "1.1.1",
52248
52288
  "@kachkaev/markdownlint-config": "1.0.1",
52249
52289
  "@kachkaev/prettier-config": "2.2.1",
@@ -52260,26 +52300,26 @@ var package_default = {
52260
52300
  "@visx/group": "4.0.0",
52261
52301
  "@visx/scale": "4.0.0",
52262
52302
  "@visx/shape": "4.0.0",
52263
- "@vitejs/plugin-react": "6.0.3",
52303
+ "@vitejs/plugin-react": "6.0.4",
52264
52304
  "cspell": "10.0.1",
52265
52305
  "d3-array": "3.2.4",
52266
- "effect": "4.0.0-beta.99",
52306
+ "effect": "4.0.0-beta.100",
52267
52307
  "eslint": "9.39.5",
52268
52308
  "husky": "9.1.7",
52269
- "knip": "6.27.0",
52309
+ "knip": "6.29.0",
52270
52310
  "lint-staged": "17.1.0",
52271
52311
  "markdownlint-cli": "0.49.1",
52272
52312
  "npm-run-all2": "9.0.2",
52273
- "prettier": "3.9.5",
52274
- "react": "19.2.7",
52275
- "react-dom": "19.2.7",
52313
+ "prettier": "3.9.6",
52314
+ "react": "19.2.8",
52315
+ "react-dom": "19.2.8",
52276
52316
  "tailwindcss": "4.3.3",
52277
52317
  "typescript": "6.0.3",
52278
52318
  "vite": "8.1.5",
52279
52319
  "vitest": "4.1.10",
52280
52320
  "yaml": "2.9.0"
52281
52321
  },
52282
- packageManager: "pnpm@11.15.1",
52322
+ packageManager: "pnpm@11.17.0",
52283
52323
  engines: { "node": ">=22.13.0" },
52284
52324
  publishConfig: {
52285
52325
  "access": "public",
@@ -53026,7 +53066,7 @@ var parserFor = (filePath) => lockfileParsers.find((parser) => parser.fileName =
53026
53066
  var dependenciesCollector = {
53027
53067
  name: "dependencies",
53028
53068
  description: "Dependency counts from package-manager lockfiles: total resolved packages and direct/dev dependencies (pnpm)",
53029
- version: "1",
53069
+ version: "2",
53030
53070
  strategy: "tree",
53031
53071
  defaultSampling: "all",
53032
53072
  collect: ({ repoRoot, sha, cacheKey }) => scanTreeFilesWithBlobCache({
@@ -53059,7 +53099,8 @@ var dependenciesCollector = {
53059
53099
  })),
53060
53100
  normalize: (raw) => {
53061
53101
  const facts = [];
53062
- for (const lockfile of arrayAt(raw, "lockfiles")) {
53102
+ const lockfiles = arrayAt(raw, "lockfiles");
53103
+ for (const lockfile of lockfiles) {
53063
53104
  const categories = {
53064
53105
  packageManager: stringAt(lockfile, "packageManager"),
53065
53106
  lockfile: stringAt(lockfile, "path")
@@ -53083,6 +53124,10 @@ var dependenciesCollector = {
53083
53124
  }
53084
53125
  });
53085
53126
  }
53127
+ if (lockfiles.length === 0) facts.push({
53128
+ metric: "dependencies.scanned",
53129
+ value: 1
53130
+ });
53086
53131
  return facts;
53087
53132
  }
53088
53133
  };
@@ -53814,7 +53859,7 @@ var buildDashboardData = (repoRoot, commits, config) => {
53814
53859
  todos: sumMetric(commit, "todos.count")
53815
53860
  };
53816
53861
  });
53817
- const dependencies = commits.filter((commit) => hasMetric(commit, "dependencies.resolved")).map((commit) => {
53862
+ const dependencies = commits.filter((commit) => hasMetric(commit, "dependencies.resolved") || hasMetric(commit, "dependencies.scanned")).map((commit) => {
53818
53863
  const byKind = groupMetric(commit, "dependencies.direct", "kind");
53819
53864
  return {
53820
53865
  sha: commit.sha.slice(0, 10),
@@ -53833,12 +53878,16 @@ var buildDashboardData = (repoRoot, commits, config) => {
53833
53878
  })) : [];
53834
53879
  const survival = commits.filter((commit) => hasMetric(commit, "survival.lines")).map((commit) => {
53835
53880
  const byContributorYear = {};
53881
+ const byExtensionYear = {};
53836
53882
  for (const facts of commit.factsByCollector.values()) for (const fact of facts) {
53837
53883
  if (fact.metric !== "survival.lines") continue;
53838
53884
  const label = config.resolveContributor(fact.categories?.["author"] ?? "").label;
53839
53885
  const year = (fact.categories?.["cohort"] ?? "").slice(0, 4) || "?";
53840
53886
  const byYear = byContributorYear[label] ??= {};
53841
53887
  byYear[year] = (byYear[year] ?? 0) + fact.value;
53888
+ const extension = fact.categories?.["extension"] ?? "";
53889
+ const extensionYears = byExtensionYear[extension] ??= {};
53890
+ extensionYears[year] = (extensionYears[year] ?? 0) + fact.value;
53842
53891
  }
53843
53892
  return {
53844
53893
  sha: commit.sha.slice(0, 10),
@@ -53846,7 +53895,8 @@ var buildDashboardData = (repoRoot, commits, config) => {
53846
53895
  byCohort: groupMetric(commit, "survival.lines", "cohort"),
53847
53896
  byContributor: sumByKey(groupMetric(commit, "survival.lines", "author"), (email) => config.resolveContributor(email).label),
53848
53897
  byContributorYear,
53849
- byExtension: groupMetric(commit, "survival.lines", "extension")
53898
+ byExtension: groupMetric(commit, "survival.lines", "extension"),
53899
+ byExtensionYear
53850
53900
  };
53851
53901
  });
53852
53902
  const contributorMap = /* @__PURE__ */ new Map();
@@ -53864,7 +53914,7 @@ var buildDashboardData = (repoRoot, commits, config) => {
53864
53914
  added: 0,
53865
53915
  deleted: 0
53866
53916
  };
53867
- bucket.name = resolved.displayName ?? (commit.authorName || bucket.name);
53917
+ bucket.name = resolved.displayName ?? (commit.authorName ? normalizeContributorName(commit.authorName) : bucket.name);
53868
53918
  bucket.commits += 1;
53869
53919
  bucket.added += row.added;
53870
53920
  bucket.deleted += row.deleted;
@@ -54036,12 +54086,24 @@ var botPattern = /\brenovate\b|\bdependabot\b|github-actions|\[bot\]/i;
54036
54086
  var aiPattern = /claude|copilot|cursor|chatgpt|openai|gemini|aider|devin|coderabbit|codegen|sweep|windsurf/i;
54037
54087
  /** Classifies a `"Name <email>"` identity when the config leaves `kind` unset. */
54038
54088
  var deriveContributorKind = (identity) => botPattern.test(identity) ? "bot" : aiPattern.test(identity) ? "ai" : "human";
54089
+ /**
54090
+ * Tidies an auto-derived name for display. The kind badge (🤖 / ✨) already
54091
+ * marks bots and AI agents, so the `[bot]` suffix GitHub bakes into author names
54092
+ * is redundant double-labeling: `renovate[bot]` reads better as `Renovate`.
54093
+ * Strips a trailing `[bot]` and capitalizes the leading letter; leaves names
54094
+ * without the suffix (ordinary people, configured display names) untouched.
54095
+ */
54096
+ var normalizeContributorName = (name) => {
54097
+ const stripped = name.replace(/\s*\[bot\]$/i, "");
54098
+ if (stripped === name || stripped === "") return name;
54099
+ return stripped.charAt(0).toUpperCase() + stripped.slice(1);
54100
+ };
54039
54101
  var bareResolveContributor = (aliases, email, name) => {
54040
54102
  const entry = aliases.get(email.toLowerCase()) ?? aliases.get(prettifyAuthorEmail(email).toLowerCase());
54041
54103
  const canonicalEmail = prettifyAuthorEmail(entry?.canonicalEmail ?? email);
54042
54104
  return {
54043
54105
  canonicalEmail,
54044
- label: entry?.displayName ?? canonicalEmail,
54106
+ label: entry?.displayName ?? normalizeContributorName(canonicalEmail),
54045
54107
  displayName: entry?.displayName,
54046
54108
  url: entry?.url,
54047
54109
  kind: entry?.kind ?? deriveContributorKind(`${name ?? ""} <${email}>`)
@@ -54754,7 +54816,7 @@ var gcCommand = make$3("gc", {
54754
54816
  //#region src/commands/index-command.ts
54755
54817
  var indexCommand = make$3("index", { repoPath: string("repo").pipe(withDefault("."), withDescription$1("Path to the git repository whose catalog to index (defaults to the current directory)")) }).pipe(withDescription("Normalize collected snapshots into the metrics cube (SQLite) and dashboard data (always rebuilt from raw outputs)"), withHandler((config) => runIndex({ repoPath: config.repoPath })));
54756
54818
  //#endregion
54757
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/Response.js
54819
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/Response.js
54758
54820
  /**
54759
54821
  * Schema for HTTP request details associated with an AI response.
54760
54822
  *
@@ -54868,7 +54930,7 @@ Class("effect/ai/AiResponse/Usage")({
54868
54930
  })
54869
54931
  });
54870
54932
  //#endregion
54871
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/AiError.js
54933
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/AiError.js
54872
54934
  /**
54873
54935
  * Defines shared errors for AI operations.
54874
54936
  *
@@ -56106,7 +56168,7 @@ var isAiErrorReason = (u) => hasProperty(u, ReasonTypeId);
56106
56168
  */
56107
56169
  var make$2 = (params) => new AiError(params);
56108
56170
  //#endregion
56109
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/Toolkit.js
56171
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/Toolkit.js
56110
56172
  var TypeId$2 = "~effect/ai/Toolkit";
56111
56173
  var Proto$1 = {
56112
56174
  .../*#__PURE__*/ Prototype({
@@ -56289,7 +56351,7 @@ var resolveInput = (...tools) => {
56289
56351
  */
56290
56352
  var make$1 = (...tools) => makeProto(resolveInput(...tools));
56291
56353
  //#endregion
56292
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/Tool.js
56354
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/Tool.js
56293
56355
  /**
56294
56356
  * Definitions and helpers for tools that AI models can request during a
56295
56357
  * workflow.
@@ -56656,7 +56718,7 @@ var OpenWorld = /*#__PURE__*/ Reference("effect/ai/Tool/OpenWorld", { defaultVal
56656
56718
  */
56657
56719
  var EmptyParams = /*#__PURE__*/ Record(String$1, Never);
56658
56720
  //#endregion
56659
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/rpc/RpcMiddleware.js
56721
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/rpc/RpcMiddleware.js
56660
56722
  /**
56661
56723
  * Middleware services for the unstable RPC runtime.
56662
56724
  *
@@ -56702,7 +56764,7 @@ var Service = () => (id, options) => {
56702
56764
  return ServiceClass;
56703
56765
  };
56704
56766
  //#endregion
56705
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/McpSchema.js
56767
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/McpSchema.js
56706
56768
  /**
56707
56769
  * Defines schemas for Model Context Protocol messages.
56708
56770
  *
@@ -58609,7 +58671,7 @@ var ServerNotificationRpcs = class extends make$9(CancelledNotification, Progres
58609
58671
  */
58610
58672
  var EnabledWhen = class extends Service$1()("effect/unstable/ai/McpSchema/EnabledWhen") {};
58611
58673
  //#endregion
58612
- //#region node_modules/.pnpm/effect@4.0.0-beta.99/node_modules/effect/dist/unstable/ai/McpServer.js
58674
+ //#region node_modules/.pnpm/effect@4.0.0-beta.100/node_modules/effect/dist/unstable/ai/McpServer.js
58613
58675
  /**
58614
58676
  * Builds Model Context Protocol (MCP) servers with Effect.
58615
58677
  *