lalph 0.3.122 → 0.3.123

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.mjs CHANGED
@@ -65,7 +65,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
65
65
  }) : target, mod));
66
66
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
67
67
  //#endregion
68
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Pipeable.js
68
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Pipeable.js
69
69
  /**
70
70
  * @since 2.0.0
71
71
  */
@@ -124,7 +124,7 @@ const Class$6 = /* @__PURE__ */ function() {
124
124
  return PipeableBase;
125
125
  }();
126
126
  //#endregion
127
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Function.js
127
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Function.js
128
128
  /**
129
129
  * Creates a function that can be used in a data-last (aka `pipe`able) or
130
130
  * data-first style.
@@ -407,7 +407,7 @@ function memoize$1(f) {
407
407
  };
408
408
  }
409
409
  //#endregion
410
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/equal.js
410
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/equal.js
411
411
  /** @internal */
412
412
  const getAllObjectKeys = (obj) => {
413
413
  const keys = new Set(Reflect.ownKeys(obj));
@@ -426,7 +426,7 @@ const getAllObjectKeys = (obj) => {
426
426
  /** @internal */
427
427
  const byReferenceInstances = /* @__PURE__ */ new WeakSet();
428
428
  //#endregion
429
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Predicate.js
429
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Predicate.js
430
430
  /**
431
431
  * Predicate and Refinement helpers for runtime checks, filtering, and type narrowing.
432
432
  * This module provides small, pure functions you can combine to decide whether a
@@ -1075,7 +1075,7 @@ function isIterable(input) {
1075
1075
  */
1076
1076
  const or$1 = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
1077
1077
  //#endregion
1078
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Hash.js
1078
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Hash.js
1079
1079
  /**
1080
1080
  * This module provides utilities for hashing values in TypeScript.
1081
1081
  *
@@ -1424,7 +1424,7 @@ function withVisitedTracking$1(obj, fn) {
1424
1424
  return result;
1425
1425
  }
1426
1426
  //#endregion
1427
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Equal.js
1427
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Equal.js
1428
1428
  /**
1429
1429
  * The unique string identifier for the {@link Equal} interface.
1430
1430
  *
@@ -1694,7 +1694,7 @@ const byReferenceUnsafe = (obj) => {
1694
1694
  return obj;
1695
1695
  };
1696
1696
  //#endregion
1697
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Redactable.js
1697
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Redactable.js
1698
1698
  /**
1699
1699
  * @since 4.0.0
1700
1700
  */
@@ -1788,7 +1788,7 @@ const emptyServiceMap$1 = {
1788
1788
  }
1789
1789
  };
1790
1790
  //#endregion
1791
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Formatter.js
1791
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Formatter.js
1792
1792
  /**
1793
1793
  * Utilities for converting arbitrary JavaScript values into human-readable
1794
1794
  * strings, with support for circular references, redaction, and common JS
@@ -2130,7 +2130,7 @@ function formatJson$1(input, options) {
2130
2130
  return out;
2131
2131
  }
2132
2132
  //#endregion
2133
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Inspectable.js
2133
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Inspectable.js
2134
2134
  /**
2135
2135
  * This module provides utilities for making values inspectable and debuggable in TypeScript.
2136
2136
  *
@@ -2333,7 +2333,7 @@ var Class$5 = class {
2333
2333
  }
2334
2334
  };
2335
2335
  //#endregion
2336
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Utils.js
2336
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Utils.js
2337
2337
  /**
2338
2338
  * An `IterableIterator` that yields its wrapped value exactly once.
2339
2339
  *
@@ -2411,7 +2411,7 @@ const forced = { [InternalTypeId]: (body) => {
2411
2411
  /** @internal */
2412
2412
  const internalCall = /* @__PURE__ */ standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
2413
2413
  //#endregion
2414
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/core.js
2414
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/core.js
2415
2415
  /** @internal */
2416
2416
  const EffectTypeId$1 = `~effect/Effect`;
2417
2417
  /** @internal */
@@ -2810,7 +2810,7 @@ const done$2 = (value) => {
2810
2810
  return exitFail(Done$1(value));
2811
2811
  };
2812
2812
  //#endregion
2813
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Data.js
2813
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Data.js
2814
2814
  /**
2815
2815
  * Base class for immutable data types.
2816
2816
  *
@@ -3043,7 +3043,7 @@ const Error$3 = Error$4;
3043
3043
  */
3044
3044
  const TaggedError = TaggedError$1;
3045
3045
  //#endregion
3046
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Equivalence.js
3046
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Equivalence.js
3047
3047
  /**
3048
3048
  * Creates a custom equivalence relation with an optimized reference equality check.
3049
3049
  *
@@ -3218,7 +3218,7 @@ function Array_$1(item) {
3218
3218
  });
3219
3219
  }
3220
3220
  //#endregion
3221
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/option.js
3221
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/option.js
3222
3222
  /**
3223
3223
  * @since 2.0.0
3224
3224
  */
@@ -3293,7 +3293,7 @@ const some$3 = (value) => {
3293
3293
  return a;
3294
3294
  };
3295
3295
  //#endregion
3296
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/result.js
3296
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/result.js
3297
3297
  const TypeId$77 = "~effect/data/Result";
3298
3298
  const CommonProto = {
3299
3299
  [TypeId$77]: {
@@ -3368,7 +3368,7 @@ const succeed$10 = (success) => {
3368
3368
  return a;
3369
3369
  };
3370
3370
  //#endregion
3371
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Order.js
3371
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Order.js
3372
3372
  /**
3373
3373
  * This module provides the `Order` type class for defining total orderings on types.
3374
3374
  * An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
@@ -3706,7 +3706,7 @@ const isGreaterThanOrEqualTo$3 = (O) => dual(2, (self, that) => O(self, that) !=
3706
3706
  */
3707
3707
  const min$3 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
3708
3708
  //#endregion
3709
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Option.js
3709
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Option.js
3710
3710
  /**
3711
3711
  * Creates an `Option` representing the absence of a value.
3712
3712
  *
@@ -4564,7 +4564,7 @@ const makeEquivalence$6 = (isEquivalent) => make$92((x, y) => isNone(x) ? isNone
4564
4564
  */
4565
4565
  const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
4566
4566
  //#endregion
4567
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Duration.js
4567
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Duration.js
4568
4568
  const TypeId$76 = "~effect/time/Duration";
4569
4569
  const bigint0$2 = /* @__PURE__ */ BigInt(0);
4570
4570
  const bigint24 = /* @__PURE__ */ BigInt(24);
@@ -5285,14 +5285,14 @@ const format$3 = (self) => {
5285
5285
  return pieces.join(" ");
5286
5286
  };
5287
5287
  //#endregion
5288
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/array.js
5288
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/array.js
5289
5289
  /**
5290
5290
  * @since 2.0.0
5291
5291
  */
5292
5292
  /** @internal */
5293
5293
  const isArrayNonEmpty$1 = (self) => self.length > 0;
5294
5294
  //#endregion
5295
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Result.js
5295
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Result.js
5296
5296
  /**
5297
5297
  * Creates a `Result` holding a `Success` value.
5298
5298
  *
@@ -5502,7 +5502,7 @@ const map$16 = /* @__PURE__ */ dual(2, (self, f) => isSuccess$5(self) ? succeed$
5502
5502
  */
5503
5503
  const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure) => isFailure$4(self) ? onFailure(self.failure) : self.success))(constUndefined);
5504
5504
  //#endregion
5505
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Tuple.js
5505
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Tuple.js
5506
5506
  /**
5507
5507
  * Creates an `Equivalence` for tuples by comparing corresponding elements
5508
5508
  * using the provided per-position `Equivalence`s. Two tuples are equivalent
@@ -5533,7 +5533,7 @@ const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailu
5533
5533
  */
5534
5534
  const makeEquivalence$5 = Tuple$2;
5535
5535
  //#endregion
5536
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Iterable.js
5536
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Iterable.js
5537
5537
  /**
5538
5538
  * Return the number of elements in a `Iterable`.
5539
5539
  *
@@ -5685,7 +5685,7 @@ const constEmptyIterator = { next() {
5685
5685
  */
5686
5686
  const empty$19 = () => constEmpty;
5687
5687
  //#endregion
5688
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Record.js
5688
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Record.js
5689
5689
  /**
5690
5690
  * Creates a new, empty record.
5691
5691
  *
@@ -5849,7 +5849,7 @@ const makeEquivalence$4 = (equivalence) => {
5849
5849
  return (self, that) => is(self, that) && is(that, self);
5850
5850
  };
5851
5851
  //#endregion
5852
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Array.js
5852
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Array.js
5853
5853
  /**
5854
5854
  * Utilities for working with immutable arrays (and non-empty arrays) in a
5855
5855
  * functional style. All functions treat arrays as immutable — they return new
@@ -6683,7 +6683,7 @@ const composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
6683
6683
  return rightOut;
6684
6684
  });
6685
6685
  //#endregion
6686
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/ServiceMap.js
6686
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/ServiceMap.js
6687
6687
  /**
6688
6688
  * @since 4.0.0
6689
6689
  * @category Type Identifiers
@@ -7214,7 +7214,7 @@ const withMapUnsafe = (self, f) => {
7214
7214
  */
7215
7215
  const Reference = Service$1;
7216
7216
  //#endregion
7217
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Scheduler.js
7217
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Scheduler.js
7218
7218
  /**
7219
7219
  * @since 4.0.0
7220
7220
  * @category references
@@ -7348,7 +7348,7 @@ const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBefo
7348
7348
  */
7349
7349
  const PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
7350
7350
  //#endregion
7351
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Tracer.js
7351
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Tracer.js
7352
7352
  /**
7353
7353
  * @since 2.0.0
7354
7354
  * @category tags
@@ -7532,11 +7532,11 @@ const randomHexString = /* @__PURE__ */ function() {
7532
7532
  };
7533
7533
  }();
7534
7534
  //#endregion
7535
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/metric.js
7535
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/metric.js
7536
7536
  /** @internal */
7537
7537
  const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
7538
7538
  //#endregion
7539
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/references.js
7539
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/references.js
7540
7540
  /** @internal */
7541
7541
  const CurrentConcurrency$1 = /* @__PURE__ */ Reference("effect/References/CurrentConcurrency", { defaultValue: () => "unbounded" });
7542
7542
  /** @internal */
@@ -7560,7 +7560,7 @@ const MinimumLogLevel$1 = /* @__PURE__ */ Reference("effect/References/MinimumLo
7560
7560
  /** @internal */
7561
7561
  const CurrentLogSpans$1 = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
7562
7562
  //#endregion
7563
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/tracer.js
7563
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/tracer.js
7564
7564
  /** @internal */
7565
7565
  const addSpanStackTrace = (options) => {
7566
7566
  if (options?.captureStackTrace === false) return options;
@@ -7590,7 +7590,7 @@ const makeStackCleaner = (line) => (stack) => {
7590
7590
  };
7591
7591
  const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
7592
7592
  //#endregion
7593
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/effect.js
7593
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/effect.js
7594
7594
  /** @internal */
7595
7595
  var Interrupt$1 = class extends ReasonBase {
7596
7596
  fiberId;
@@ -9804,7 +9804,7 @@ const asVoid$1 = exitAsVoid;
9804
9804
  */
9805
9805
  const getSuccess = exitGetSuccess;
9806
9806
  //#endregion
9807
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Deferred.js
9807
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Deferred.js
9808
9808
  const DeferredProto = {
9809
9809
  ["~effect/Deferred"]: {
9810
9810
  _A: identity,
@@ -10064,7 +10064,7 @@ const doneUnsafe = (self, effect) => {
10064
10064
  */
10065
10065
  const into = /* @__PURE__ */ dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$7(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
10066
10066
  //#endregion
10067
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/References.js
10067
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/References.js
10068
10068
  /**
10069
10069
  * This module provides a collection of reference implementations for commonly used
10070
10070
  * Effect runtime configuration values. These references allow you to access and
@@ -10593,7 +10593,7 @@ const close = scopeClose;
10593
10593
  */
10594
10594
  const closeUnsafe = scopeCloseUnsafe;
10595
10595
  //#endregion
10596
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Layer.js
10596
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Layer.js
10597
10597
  const TypeId$74 = "~effect/Layer";
10598
10598
  const MemoMapTypeId = "~effect/Layer/MemoMap";
10599
10599
  const LayerProto = {
@@ -12185,7 +12185,7 @@ const UnknownError$2 = UnknownError$3;
12185
12185
  var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
12186
12186
  Service$1()("effect/Cause/InterruptorStackTrace");
12187
12187
  //#endregion
12188
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Clock.js
12188
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Clock.js
12189
12189
  /**
12190
12190
  * A reference to the current Clock service in the environment.
12191
12191
  *
@@ -12204,7 +12204,7 @@ Service$1()("effect/Cause/InterruptorStackTrace");
12204
12204
  */
12205
12205
  const Clock = ClockRef;
12206
12206
  //#endregion
12207
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/dateTime.js
12207
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/dateTime.js
12208
12208
  /** @internal */
12209
12209
  const TypeId$72 = "~effect/time/DateTime";
12210
12210
  /** @internal */
@@ -12487,7 +12487,7 @@ const formatIsoOffset$1 = (self) => {
12487
12487
  /** @internal */
12488
12488
  const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
12489
12489
  //#endregion
12490
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Number.js
12490
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Number.js
12491
12491
  /**
12492
12492
  * This module provides utility functions and type class instances for working with the `number` type in TypeScript.
12493
12493
  * It includes functions for basic arithmetic operations.
@@ -12656,7 +12656,7 @@ const isNonEmpty$1 = (self) => self.length > 0;
12656
12656
  */
12657
12657
  const camelToSnake = (self) => self.replace(/([A-Z])/g, "_$1").toLowerCase();
12658
12658
  //#endregion
12659
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/random.js
12659
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/random.js
12660
12660
  /** @internal */
12661
12661
  const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () => ({
12662
12662
  nextIntUnsafe() {
@@ -12667,7 +12667,7 @@ const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () =
12667
12667
  }
12668
12668
  }) });
12669
12669
  //#endregion
12670
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Pull.js
12670
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Pull.js
12671
12671
  /**
12672
12672
  * @since 4.0.0
12673
12673
  */
@@ -12741,7 +12741,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
12741
12741
  }
12742
12742
  }));
12743
12743
  //#endregion
12744
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Schedule.js
12744
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Schedule.js
12745
12745
  /**
12746
12746
  * This module provides utilities for creating and composing schedules for retrying operations,
12747
12747
  * repeating effects, and implementing various timing strategies.
@@ -13282,12 +13282,12 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$13(toSt
13282
13282
  */
13283
13283
  const forever$1 = /* @__PURE__ */ spaced(zero$1);
13284
13284
  //#endregion
13285
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/layer.js
13285
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/layer.js
13286
13286
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$7(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$3(self, context)));
13287
13287
  /** @internal */
13288
13288
  const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isServiceMap(source) ? provideServices$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll$2(...source) : source, options));
13289
13289
  //#endregion
13290
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/schedule.js
13290
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/schedule.js
13291
13291
  /** @internal */
13292
13292
  const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$7(toStepWithMetadata(schedule), (step) => {
13293
13293
  let meta = CurrentMetadata.defaultValue();
@@ -13332,7 +13332,7 @@ const buildFromOptions = (options) => {
13332
13332
  return schedule;
13333
13333
  };
13334
13334
  //#endregion
13335
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Request.js
13335
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Request.js
13336
13336
  const TypeId$70 = "~effect/Request";
13337
13337
  const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
13338
13338
  _E: (_) => _,
@@ -13399,7 +13399,7 @@ const TaggedClass$1 = (tag) => {
13399
13399
  */
13400
13400
  const makeEntry = (options) => options;
13401
13401
  //#endregion
13402
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/request.js
13402
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/request.js
13403
13403
  /** @internal */
13404
13404
  const request$3 = /* @__PURE__ */ dual(2, (self, resolver) => {
13405
13405
  const withResolver = (resolver) => callback$2((resume) => {
@@ -18156,7 +18156,7 @@ const catchEager = catchEager$1;
18156
18156
  */
18157
18157
  const fnUntracedEager = fnUntracedEager$1;
18158
18158
  //#endregion
18159
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/record.js
18159
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/record.js
18160
18160
  /**
18161
18161
  * @since 4.0.0
18162
18162
  */
@@ -18172,7 +18172,7 @@ function set$10(self, key, value) {
18172
18172
  return self;
18173
18173
  }
18174
18174
  //#endregion
18175
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/schema/annotations.js
18175
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/schema/annotations.js
18176
18176
  /** @internal */
18177
18177
  function resolve$4(ast) {
18178
18178
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -18527,7 +18527,7 @@ const subtract = subtract$1;
18527
18527
  */
18528
18528
  const formatIso = formatIso$1;
18529
18529
  //#endregion
18530
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Encoding.js
18530
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Encoding.js
18531
18531
  /**
18532
18532
  * Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
18533
18533
  *
@@ -18913,7 +18913,7 @@ const base64codes = [
18913
18913
  ];
18914
18914
  const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
18915
18915
  //#endregion
18916
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/redacted.js
18916
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/redacted.js
18917
18917
  /** @internal */
18918
18918
  const redactedRegistry = /* @__PURE__ */ new WeakMap();
18919
18919
  /** @internal */
@@ -18924,7 +18924,7 @@ const value$3 = (self) => {
18924
18924
  /** @internal */
18925
18925
  const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
18926
18926
  //#endregion
18927
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Redacted.js
18927
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Redacted.js
18928
18928
  /**
18929
18929
  * The Redacted module provides functionality for handling sensitive information
18930
18930
  * securely within your application. By using the `Redacted` data type, you can
@@ -19030,7 +19030,7 @@ const value$2 = value$3;
19030
19030
  */
19031
19031
  const makeEquivalence$2 = (isEquivalent) => make$92((x, y) => isEquivalent(value$2(x), value$2(y)));
19032
19032
  //#endregion
19033
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SchemaIssue.js
19033
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SchemaIssue.js
19034
19034
  const TypeId$68 = "~effect/SchemaIssue/Issue";
19035
19035
  /**
19036
19036
  * Returns `true` if the given value is an {@link Issue}.
@@ -19773,7 +19773,7 @@ function redact$2(issue) {
19773
19773
  }
19774
19774
  }
19775
19775
  //#endregion
19776
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SchemaGetter.js
19776
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SchemaGetter.js
19777
19777
  /**
19778
19778
  * Composable transformation primitives for the Effect Schema system.
19779
19779
  *
@@ -20748,7 +20748,7 @@ const isZero = (n) => n.value === bigint0;
20748
20748
  */
20749
20749
  const isNegative = (n) => n.value < bigint0;
20750
20750
  //#endregion
20751
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SchemaTransformation.js
20751
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SchemaTransformation.js
20752
20752
  /**
20753
20753
  * Bidirectional transformations for the Effect Schema system.
20754
20754
  *
@@ -21360,7 +21360,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
21360
21360
  encode: (utc) => succeed$4(formatIso(utc))
21361
21361
  });
21362
21362
  //#endregion
21363
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SchemaAST.js
21363
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SchemaAST.js
21364
21364
  /**
21365
21365
  * Abstract Syntax Tree (AST) representation for Effect schemas.
21366
21366
  *
@@ -23384,7 +23384,7 @@ const unknownToStringTree = /* @__PURE__ */ new Link(/* @__PURE__ */ new Declara
23384
23384
  toCodecStringTree: () => new Link(unknown$1, passthrough())
23385
23385
  }), /* @__PURE__ */ passthrough());
23386
23386
  //#endregion
23387
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Brand.js
23387
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Brand.js
23388
23388
  /**
23389
23389
  * This function returns a `Constructor` that **does not apply any runtime
23390
23390
  * checks**, it just returns the provided value. It can be used to create
@@ -23405,7 +23405,7 @@ function nominal() {
23405
23405
  });
23406
23406
  }
23407
23407
  //#endregion
23408
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/PlatformError.js
23408
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/PlatformError.js
23409
23409
  /**
23410
23410
  * @since 4.0.0
23411
23411
  */
@@ -23465,7 +23465,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
23465
23465
  */
23466
23466
  const badArgument = (options) => new PlatformError(new BadArgument(options));
23467
23467
  //#endregion
23468
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Chunk.js
23468
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Chunk.js
23469
23469
  /**
23470
23470
  * The `Chunk` module provides an immutable, high-performance sequence data structure
23471
23471
  * optimized for functional programming patterns. A `Chunk` is a persistent data structure
@@ -24108,7 +24108,7 @@ const getCurrent = getCurrentFiber;
24108
24108
  */
24109
24109
  const runIn = fiberRunIn;
24110
24110
  //#endregion
24111
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Latch.js
24111
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Latch.js
24112
24112
  /**
24113
24113
  * Creates a new Latch unsafely.
24114
24114
  *
@@ -24180,7 +24180,7 @@ const makeUnsafe$10 = makeLatchUnsafe;
24180
24180
  */
24181
24181
  const make$79 = makeLatch;
24182
24182
  //#endregion
24183
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/MutableList.js
24183
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/MutableList.js
24184
24184
  /**
24185
24185
  * @fileoverview
24186
24186
  * MutableList is an efficient, mutable linked list implementation optimized for high-throughput
@@ -24763,7 +24763,7 @@ const filter$4 = (self, f) => {
24763
24763
  */
24764
24764
  const remove$6 = (self, value) => filter$4(self, (v) => v !== value);
24765
24765
  //#endregion
24766
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/MutableRef.js
24766
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/MutableRef.js
24767
24767
  const TypeId$62 = "~effect/MutableRef";
24768
24768
  const MutableRefProto = {
24769
24769
  [TypeId$62]: TypeId$62,
@@ -24919,7 +24919,7 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
24919
24919
  */
24920
24920
  const update$1 = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$15(self))));
24921
24921
  //#endregion
24922
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/PubSub.js
24922
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/PubSub.js
24923
24923
  /**
24924
24924
  * This module provides utilities for working with publish-subscribe (PubSub) systems.
24925
24925
  *
@@ -26357,7 +26357,7 @@ const emptyReplayWindow = {
26357
26357
  takeAll: () => []
26358
26358
  };
26359
26359
  //#endregion
26360
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Queue.js
26360
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Queue.js
26361
26361
  /**
26362
26362
  * @since 3.8.0
26363
26363
  */
@@ -27176,7 +27176,7 @@ const finalize$1 = (self, exit) => {
27176
27176
  openState.awaiters.clear();
27177
27177
  };
27178
27178
  //#endregion
27179
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Semaphore.js
27179
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Semaphore.js
27180
27180
  /**
27181
27181
  * Unsafely creates a new Semaphore.
27182
27182
  *
@@ -27326,14 +27326,14 @@ var SemaphoreImpl = class {
27326
27326
  */
27327
27327
  const make$74 = (permits) => sync$2(() => new SemaphoreImpl(permits));
27328
27328
  //#endregion
27329
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Take.js
27329
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Take.js
27330
27330
  /**
27331
27331
  * @since 4.0.0
27332
27332
  * @category Conversions
27333
27333
  */
27334
27334
  const toPull$2 = (take) => isExit(take) ? isSuccess$3(take) ? done(take.value) : take : succeed$4(take);
27335
27335
  //#endregion
27336
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Channel.js
27336
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Channel.js
27337
27337
  /**
27338
27338
  * The `Channel` module provides a powerful abstraction for bi-directional communication
27339
27339
  * and streaming operations. A `Channel` is a nexus of I/O operations that supports both
@@ -29079,7 +29079,7 @@ const toPubSubTake$1 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(functi
29079
29079
  return pubsub;
29080
29080
  }));
29081
29081
  //#endregion
29082
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/stream.js
29082
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/stream.js
29083
29083
  const TypeId$58 = "~effect/Stream";
29084
29084
  const streamVariance = {
29085
29085
  _R: identity,
@@ -29099,7 +29099,7 @@ const fromChannel$2 = (channel) => {
29099
29099
  return self;
29100
29100
  };
29101
29101
  //#endregion
29102
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Sink.js
29102
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Sink.js
29103
29103
  const TypeId$57 = "~effect/Sink";
29104
29104
  const endVoid = /* @__PURE__ */ succeed$4([void 0]);
29105
29105
  const sinkVariance = {
@@ -29276,7 +29276,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$5(
29276
29276
  */
29277
29277
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$10(effect, toChannel$1)));
29278
29278
  //#endregion
29279
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/MutableHashMap.js
29279
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/MutableHashMap.js
29280
29280
  const TypeId$56 = "~effect/collections/MutableHashMap";
29281
29281
  const MutableHashMapProto = {
29282
29282
  [TypeId$56]: TypeId$56,
@@ -29652,7 +29652,7 @@ const forEach$2 = /* @__PURE__ */ dual(2, (self, f) => {
29652
29652
  self.backing.forEach(f);
29653
29653
  });
29654
29654
  //#endregion
29655
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/RcMap.js
29655
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/RcMap.js
29656
29656
  /**
29657
29657
  * @since 3.5.0
29658
29658
  */
@@ -29850,7 +29850,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
29850
29850
  yield* close(entry.scope, void_$3);
29851
29851
  }, uninterruptible));
29852
29852
  //#endregion
29853
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/rcRef.js
29853
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/rcRef.js
29854
29854
  const TypeId$54 = "~effect/RcRef";
29855
29855
  const stateEmpty = { _tag: "Empty" };
29856
29856
  const stateClosed = { _tag: "Closed" };
@@ -29914,9 +29914,9 @@ const getState = (self) => uninterruptibleMask((restore) => {
29914
29914
  const get$12 = /* @__PURE__ */ fnUntraced(function* (self_) {
29915
29915
  const self = self_;
29916
29916
  const state = yield* getState(self);
29917
- const scope$10 = yield* scope;
29917
+ const scope$12 = yield* scope;
29918
29918
  const isFinite = self.idleTimeToLive !== void 0 && isFinite$2(self.idleTimeToLive);
29919
- yield* addFinalizerExit(scope$10, () => {
29919
+ yield* addFinalizerExit(scope$12, () => {
29920
29920
  state.refCount--;
29921
29921
  if (state.refCount > 0) return void_$2;
29922
29922
  if (self.idleTimeToLive === void 0) {
@@ -29951,7 +29951,7 @@ const invalidate$3 = (self_) => {
29951
29951
  }));
29952
29952
  };
29953
29953
  //#endregion
29954
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/RcRef.js
29954
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/RcRef.js
29955
29955
  /**
29956
29956
  * Create an `RcRef` from an acquire `Effect`.
29957
29957
  *
@@ -30025,7 +30025,7 @@ const get$11 = get$12;
30025
30025
  */
30026
30026
  const invalidate$2 = invalidate$3;
30027
30027
  //#endregion
30028
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Stream.js
30028
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Stream.js
30029
30029
  /**
30030
30030
  * @since 2.0.0
30031
30031
  */
@@ -32047,7 +32047,7 @@ const runIntoPubSub = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, p
32047
32047
  */
32048
32048
  const toPubSubTake = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake$1(self.channel, options));
32049
32049
  //#endregion
32050
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/FileSystem.js
32050
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/FileSystem.js
32051
32051
  /**
32052
32052
  * This module provides a comprehensive file system abstraction that supports both synchronous
32053
32053
  * and asynchronous file operations through Effect. It includes utilities for file I/O, directory
@@ -32271,7 +32271,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
32271
32271
  */
32272
32272
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
32273
32273
  //#endregion
32274
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Path.js
32274
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Path.js
32275
32275
  /**
32276
32276
  * @since 4.0.0
32277
32277
  */
@@ -32336,7 +32336,7 @@ const TypeId$51 = "~effect/platform/Path";
32336
32336
  */
32337
32337
  const Path$1 = /* @__PURE__ */ Service$1("effect/Path");
32338
32338
  //#endregion
32339
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/ConfigProvider.js
32339
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/ConfigProvider.js
32340
32340
  /**
32341
32341
  * Provides the data source layer for the `Config` module. A `ConfigProvider`
32342
32342
  * knows how to load raw configuration nodes from a backing store (environment
@@ -32722,7 +32722,7 @@ function trieNodeAt(root, path) {
32722
32722
  */
32723
32723
  const isLessThan$1 = /* @__PURE__ */ isLessThan$4(LogLevelOrder);
32724
32724
  //#endregion
32725
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/hashMap.js
32725
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/hashMap.js
32726
32726
  /**
32727
32727
  * @since 2.0.0
32728
32728
  */
@@ -33306,7 +33306,7 @@ const set$6 = set$7;
33306
33306
  */
33307
33307
  const remove$3 = remove$4;
33308
33308
  //#endregion
33309
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Struct.js
33309
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Struct.js
33310
33310
  /**
33311
33311
  * Creates a new struct containing only the specified keys.
33312
33312
  *
@@ -33444,7 +33444,7 @@ function buildStruct(source, f) {
33444
33444
  return out;
33445
33445
  }
33446
33446
  //#endregion
33447
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/UndefinedOr.js
33447
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/UndefinedOr.js
33448
33448
  /**
33449
33449
  * @since 4.0.0
33450
33450
  */
@@ -33454,7 +33454,7 @@ const map$5 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(
33454
33454
  */
33455
33455
  const match$1 = /* @__PURE__ */ dual(2, (self, { onDefined, onUndefined }) => self === void 0 ? onUndefined() : onDefined(self));
33456
33456
  //#endregion
33457
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SchemaParser.js
33457
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SchemaParser.js
33458
33458
  /**
33459
33459
  * @since 4.0.0
33460
33460
  */
@@ -33659,7 +33659,7 @@ const recur$1 = /* @__PURE__ */ memoize$1((ast) => {
33659
33659
  };
33660
33660
  });
33661
33661
  //#endregion
33662
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/JsonPointer.js
33662
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/JsonPointer.js
33663
33663
  /**
33664
33664
  * Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
33665
33665
  *
@@ -33751,8 +33751,46 @@ const recur$1 = /* @__PURE__ */ memoize$1((ast) => {
33751
33751
  function escapeToken(token) {
33752
33752
  return token.replace(/~/g, "~0").replace(/\//g, "~1");
33753
33753
  }
33754
+ /**
33755
+ * Unescapes a JSON Pointer reference token according to RFC 6901.
33756
+ *
33757
+ * Decodes escaped characters in a reference token to recover the original token value.
33758
+ *
33759
+ * ## When to use this
33760
+ *
33761
+ * - Parsing JSON Pointers to extract the original token values from escaped segments
33762
+ * - Converting escaped tokens back to their original form for use as object keys or identifiers
33763
+ * - Resolving schema references or JSON Patch paths that use escaped tokens
33764
+ *
33765
+ * ## Behavior
33766
+ *
33767
+ * - Does not mutate the input string; returns a new unescaped string
33768
+ * - Replaces `~1` with `/` (forward slash) and `~0` with `~` (tilde)
33769
+ * - Replacement order matters: `~1` is replaced before `~0` to prevent incorrect decoding
33770
+ * - Returns the input unchanged if it contains no escaped sequences
33771
+ * - Empty strings are valid and returned unchanged
33772
+ *
33773
+ * **Example** (Unescaping special characters)
33774
+ *
33775
+ * ```ts
33776
+ * import { unescapeToken } from "effect/JsonPointer"
33777
+ *
33778
+ * unescapeToken("a~1b") // "a/b"
33779
+ * unescapeToken("c~0d") // "c~d"
33780
+ * unescapeToken("path~1to~0key") // "path/to~key"
33781
+ * ```
33782
+ *
33783
+ * ## See also
33784
+ *
33785
+ * - {@link escapeToken} - The inverse operation for encoding tokens
33786
+ *
33787
+ * @since 4.0.0
33788
+ */
33789
+ function unescapeToken(token) {
33790
+ return token.replace(/~1/g, "/").replace(/~0/g, "~");
33791
+ }
33754
33792
  //#endregion
33755
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/schema/schema.js
33793
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/schema/schema.js
33756
33794
  /** @internal */
33757
33795
  const TypeId$50 = "~effect/Schema/Schema";
33758
33796
  const SchemaProto = {
@@ -33781,7 +33819,7 @@ function make$65(ast, options) {
33781
33819
  return self;
33782
33820
  }
33783
33821
  //#endregion
33784
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/schema/to-codec.js
33822
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/schema/to-codec.js
33785
33823
  /** @internal */
33786
33824
  const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
33787
33825
  const out = toCodecJsonBase(ast);
@@ -33849,7 +33887,7 @@ function makeReorder(getPriority) {
33849
33887
  };
33850
33888
  }
33851
33889
  //#endregion
33852
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/internal/schema/representation.js
33890
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/internal/schema/representation.js
33853
33891
  /** @internal */
33854
33892
  function fromAST(ast) {
33855
33893
  const { references, representations: schemas } = fromASTs([ast]);
@@ -34423,7 +34461,91 @@ function getPartPattern(part) {
34423
34461
  }
34424
34462
  }
34425
34463
  //#endregion
34426
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Schema.js
34464
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/JsonSchema.js
34465
+ /**
34466
+ * Resolves a `$ref` string by looking up the last path segment in a
34467
+ * definitions map.
34468
+ *
34469
+ * - Use when you need to dereference a `$ref` pointer to get the
34470
+ * actual schema it points to.
34471
+ * - Only resolves the final segment of the ref path (e.g. `"User"` from
34472
+ * `"#/$defs/User"`); does not follow arbitrary JSON Pointer paths.
34473
+ * - Returns `undefined` if the definition is not found.
34474
+ * - Does not mutate anything. Pure function.
34475
+ *
34476
+ * **Example** (Resolving a $ref)
34477
+ *
34478
+ * ```ts
34479
+ * import { JsonSchema } from "effect"
34480
+ *
34481
+ * const definitions: JsonSchema.Definitions = {
34482
+ * User: { type: "object", properties: { name: { type: "string" } } }
34483
+ * }
34484
+ *
34485
+ * const result = JsonSchema.resolve$ref("#/$defs/User", definitions)
34486
+ * console.log(result) // { type: "object", properties: { name: { type: "string" } } }
34487
+ *
34488
+ * const missing = JsonSchema.resolve$ref("#/$defs/Unknown", definitions)
34489
+ * console.log(missing) // undefined
34490
+ * ```
34491
+ *
34492
+ * @see {@link resolveTopLevel$ref}
34493
+ * @see {@link Definitions}
34494
+ *
34495
+ * @since 4.0.0
34496
+ */
34497
+ function resolve$ref($ref, definitions) {
34498
+ const tokens = $ref.split("/");
34499
+ if (tokens.length > 0) {
34500
+ const definition = definitions[unescapeToken(tokens[tokens.length - 1])];
34501
+ if (definition !== void 0) return definition;
34502
+ }
34503
+ }
34504
+ /**
34505
+ * If the root schema of a document is a `$ref`, resolves it against the
34506
+ * document's definitions and returns a new document with the inlined
34507
+ * schema. Returns the original document unchanged if the root schema is
34508
+ * not a `$ref` or if the referenced definition is not found.
34509
+ *
34510
+ * - Use to dereference a top-level `$ref` before inspecting the root
34511
+ * schema's properties directly.
34512
+ * - Does not mutate the input. Returns the same object if no change is
34513
+ * needed, or a shallow copy with the resolved schema.
34514
+ *
34515
+ * **Example** (Resolving a top-level $ref)
34516
+ *
34517
+ * ```ts
34518
+ * import { JsonSchema } from "effect"
34519
+ *
34520
+ * const doc: JsonSchema.Document<"draft-2020-12"> = {
34521
+ * dialect: "draft-2020-12",
34522
+ * schema: { $ref: "#/$defs/User" },
34523
+ * definitions: {
34524
+ * User: { type: "object", properties: { name: { type: "string" } } }
34525
+ * }
34526
+ * }
34527
+ *
34528
+ * const resolved = JsonSchema.resolveTopLevel$ref(doc)
34529
+ * console.log(resolved.schema) // { type: "object", properties: { name: { type: "string" } } }
34530
+ * ```
34531
+ *
34532
+ * @see {@link resolve$ref}
34533
+ * @see {@link Document}
34534
+ *
34535
+ * @since 4.0.0
34536
+ */
34537
+ function resolveTopLevel$ref(document) {
34538
+ if (typeof document.schema.$ref === "string") {
34539
+ const schema = resolve$ref(document.schema.$ref, document.definitions);
34540
+ if (schema !== void 0) return {
34541
+ ...document,
34542
+ schema
34543
+ };
34544
+ }
34545
+ return document;
34546
+ }
34547
+ //#endregion
34548
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Schema.js
34427
34549
  /**
34428
34550
  * Define data shapes, validate unknown input, and transform values between formats.
34429
34551
  *
@@ -37118,7 +37240,7 @@ const Json = /* @__PURE__ */ make$64(Json$1);
37118
37240
  */
37119
37241
  const MutableJson = /* @__PURE__ */ make$64(MutableJson$1);
37120
37242
  //#endregion
37121
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Config.js
37243
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Config.js
37122
37244
  const TypeId$48 = "~effect/Config";
37123
37245
  /**
37124
37246
  * The error type produced when config loading or validation fails.
@@ -37605,7 +37727,7 @@ function redacted(name) {
37605
37727
  return schema$2(Redacted(String$1), name);
37606
37728
  }
37607
37729
  //#endregion
37608
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Runtime.js
37730
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Runtime.js
37609
37731
  /**
37610
37732
  * This module provides utilities for running Effect programs and managing their execution lifecycle.
37611
37733
  *
@@ -37811,7 +37933,7 @@ const getErrorReported = (u) => {
37811
37933
  return true;
37812
37934
  };
37813
37935
  //#endregion
37814
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/CliError.js
37936
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/CliError.js
37815
37937
  /**
37816
37938
  * @since 4.0.0
37817
37939
  */
@@ -48910,7 +49032,7 @@ const getTypeName = (primitive) => {
48910
49032
  /** @internal */
48911
49033
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
48912
49034
  //#endregion
48913
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Terminal.js
49035
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Terminal.js
48914
49036
  const TypeId$46 = "~effect/platform/Terminal";
48915
49037
  const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
48916
49038
  /**
@@ -48947,7 +49069,7 @@ const make$62 = (impl) => Terminal.of({
48947
49069
  [TypeId$46]: TypeId$46
48948
49070
  });
48949
49071
  //#endregion
48950
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/ansi.js
49072
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/ansi.js
48951
49073
  const ESC = "\x1B[";
48952
49074
  const SEP = ";";
48953
49075
  /** @internal */
@@ -49023,7 +49145,7 @@ const eraseLines = (rows) => {
49023
49145
  return command;
49024
49146
  };
49025
49147
  //#endregion
49026
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Prompt.js
49148
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Prompt.js
49027
49149
  /**
49028
49150
  * @since 4.0.0
49029
49151
  */
@@ -50337,7 +50459,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
50337
50459
  };
50338
50460
  };
50339
50461
  //#endregion
50340
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Param.js
50462
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Param.js
50341
50463
  /**
50342
50464
  * @internal
50343
50465
  *
@@ -51027,7 +51149,7 @@ const getParamMetadata = (param) => {
51027
51149
  });
51028
51150
  };
51029
51151
  //#endregion
51030
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Argument.js
51152
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Argument.js
51031
51153
  /**
51032
51154
  * Creates a positional path argument.
51033
51155
  *
@@ -51059,7 +51181,7 @@ const path = (name, options) => path$1(argumentKind, name, options);
51059
51181
  */
51060
51182
  const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDescription$3(self, description));
51061
51183
  //#endregion
51062
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/CliOutput.js
51184
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/CliOutput.js
51063
51185
  /**
51064
51186
  * Service reference for the CLI output formatter. Provides a default implementation
51065
51187
  * that can be overridden for custom formatting or testing.
@@ -51302,7 +51424,7 @@ const formatHelpDocImpl = (doc, colors) => {
51302
51424
  return sections.join("\n");
51303
51425
  };
51304
51426
  //#endregion
51305
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Console.js
51427
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Console.js
51306
51428
  /**
51307
51429
  * A reference to the current console service in the Effect system.
51308
51430
  *
@@ -51418,7 +51540,7 @@ const warn = (...args) => consoleWith((console) => sync$2(() => {
51418
51540
  console.warn(...args);
51419
51541
  }));
51420
51542
  //#endregion
51421
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Stdio.js
51543
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Stdio.js
51422
51544
  /**
51423
51545
  * @since 4.0.0
51424
51546
  * @category Type IDs
@@ -51438,7 +51560,7 @@ const make$61 = (options) => ({
51438
51560
  ...options
51439
51561
  });
51440
51562
  //#endregion
51441
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51563
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51442
51564
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
51443
51565
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
51444
51566
  const flagNamesForWordlist = (flag) => {
@@ -51589,7 +51711,7 @@ const generate$3 = (executableName, descriptor) => {
51589
51711
  return lines.join("\n");
51590
51712
  };
51591
51713
  //#endregion
51592
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
51714
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
51593
51715
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
51594
51716
  /**
51595
51717
  * Build a Fish condition that checks the current subcommand context.
@@ -51727,7 +51849,7 @@ const generate$2 = (executableName, descriptor) => {
51727
51849
  return lines.join("\n");
51728
51850
  };
51729
51851
  //#endregion
51730
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
51852
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
51731
51853
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
51732
51854
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
51733
51855
  /**
@@ -51864,7 +51986,7 @@ const generate$1 = (executableName, descriptor) => {
51864
51986
  return lines.join("\n");
51865
51987
  };
51866
51988
  //#endregion
51867
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Completions.js
51989
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Completions.js
51868
51990
  /**
51869
51991
  * @since 4.0.0
51870
51992
  */
@@ -51882,7 +52004,7 @@ const generate = (executableName, shell, descriptor) => {
51882
52004
  }
51883
52005
  };
51884
52006
  //#endregion
51885
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Flag.js
52007
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Flag.js
51886
52008
  /**
51887
52009
  * Creates a boolean flag that can be enabled or disabled.
51888
52010
  *
@@ -52115,7 +52237,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
52115
52237
  */
52116
52238
  const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
52117
52239
  //#endregion
52118
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/config.js
52240
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/config.js
52119
52241
  const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
52120
52242
  /**
52121
52243
  * Parses a Command.Config into a ConfigInternal.
@@ -52221,7 +52343,7 @@ const reconstructTree = (tree, results) => {
52221
52343
  }
52222
52344
  };
52223
52345
  //#endregion
52224
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/command.js
52346
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/command.js
52225
52347
  /**
52226
52348
  * Command Implementation
52227
52349
  * ======================
@@ -52401,7 +52523,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
52401
52523
  }
52402
52524
  };
52403
52525
  //#endregion
52404
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52526
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52405
52527
  /**
52406
52528
  * CommandDescriptor — pure-data representation of a command tree for
52407
52529
  * shell completion generation.
@@ -52489,7 +52611,7 @@ const fromCommand = (cmd) => {
52489
52611
  };
52490
52612
  };
52491
52613
  //#endregion
52492
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/help.js
52614
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/help.js
52493
52615
  /**
52494
52616
  * Help Documentation
52495
52617
  * ================
@@ -52592,7 +52714,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
52592
52714
  };
52593
52715
  });
52594
52716
  //#endregion
52595
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/GlobalFlag.js
52717
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/GlobalFlag.js
52596
52718
  /**
52597
52719
  * @since 4.0.0
52598
52720
  */
@@ -52702,7 +52824,7 @@ const BuiltIns = [
52702
52824
  LogLevel
52703
52825
  ];
52704
52826
  //#endregion
52705
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/lexer.js
52827
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/lexer.js
52706
52828
  /** @internal */
52707
52829
  function lex(argv) {
52708
52830
  const endIndex = argv.indexOf("--");
@@ -52753,7 +52875,7 @@ const lexTokens = (args) => {
52753
52875
  return tokens;
52754
52876
  };
52755
52877
  //#endregion
52756
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
52878
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
52757
52879
  /**
52758
52880
  * Simple Levenshtein distance implementation (small N, no perf worries)
52759
52881
  */
@@ -52781,7 +52903,7 @@ const suggest = (input, candidates) => {
52781
52903
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
52782
52904
  };
52783
52905
  //#endregion
52784
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/internal/parser.js
52906
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/internal/parser.js
52785
52907
  /**
52786
52908
  * Parsing Pipeline for CLI Commands
52787
52909
  * ==================================
@@ -53103,7 +53225,7 @@ const scanCommandLevel = (tokens, context) => {
53103
53225
  return toLeafResult(state);
53104
53226
  };
53105
53227
  //#endregion
53106
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/cli/Command.js
53228
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/cli/Command.js
53107
53229
  /**
53108
53230
  * @since 4.0.0
53109
53231
  * @category Guards
@@ -53601,7 +53723,7 @@ const runWith = (command, config) => {
53601
53723
  }, catchFilter$2((error) => isCliError(error) && error._tag === "ShowHelp" ? succeed$9(error) : fail$10(error), (error) => andThen(showHelp(command, error), fail$6(error))), catchFilter$2((e) => isQuitError(e) ? succeed$9(e) : fail$10(e), (_) => interrupt$1));
53602
53724
  };
53603
53725
  //#endregion
53604
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Cache.js
53726
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Cache.js
53605
53727
  /**
53606
53728
  * @since 4.0.0
53607
53729
  */
@@ -54018,7 +54140,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$2(() => {
54018
54140
  remove$5(self.map, key);
54019
54141
  }));
54020
54142
  //#endregion
54021
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/ChannelSchema.js
54143
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/ChannelSchema.js
54022
54144
  /**
54023
54145
  * @since 4.0.0
54024
54146
  * @category constructors
@@ -54047,7 +54169,7 @@ const decode$4 = (schema) => () => {
54047
54169
  */
54048
54170
  const ignore = "~effect/ErrorReporter/ignore";
54049
54171
  //#endregion
54050
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/FiberHandle.js
54172
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/FiberHandle.js
54051
54173
  /**
54052
54174
  * @since 2.0.0
54053
54175
  */
@@ -54242,7 +54364,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
54242
54364
  return succeed$4(fiber);
54243
54365
  });
54244
54366
  //#endregion
54245
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/FiberMap.js
54367
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/FiberMap.js
54246
54368
  /**
54247
54369
  * @since 2.0.0
54248
54370
  */
@@ -54472,7 +54594,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
54472
54594
  return succeed$4(fiber);
54473
54595
  });
54474
54596
  //#endregion
54475
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/FiberSet.js
54597
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/FiberSet.js
54476
54598
  /**
54477
54599
  * @since 2.0.0
54478
54600
  */
@@ -54724,7 +54846,7 @@ const awaitEmpty = (self) => whileLoop({
54724
54846
  step: constVoid
54725
54847
  });
54726
54848
  //#endregion
54727
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/PrimaryKey.js
54849
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/PrimaryKey.js
54728
54850
  /**
54729
54851
  * The unique identifier used to identify objects that implement the `PrimaryKey` interface.
54730
54852
  *
@@ -54761,7 +54883,7 @@ const symbol$2 = "~effect/interfaces/PrimaryKey";
54761
54883
  */
54762
54884
  const value$1 = (self) => self[symbol$2]();
54763
54885
  //#endregion
54764
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/LayerMap.js
54886
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/LayerMap.js
54765
54887
  const TypeId$37 = "~effect/LayerMap";
54766
54888
  /**
54767
54889
  * @since 3.14.0
@@ -54927,7 +55049,7 @@ const Service = () => (id, options) => {
54927
55049
  return TagClass;
54928
55050
  };
54929
55051
  //#endregion
54930
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Logger.js
55052
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Logger.js
54931
55053
  /**
54932
55054
  * @since 2.0.0
54933
55055
  *
@@ -55054,7 +55176,7 @@ const Service = () => (id, options) => {
55054
55176
  */
55055
55177
  const CurrentLoggers = CurrentLoggers$2;
55056
55178
  //#endregion
55057
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Random.js
55179
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Random.js
55058
55180
  /**
55059
55181
  * The Random module provides a service for generating random numbers in Effect
55060
55182
  * programs. It offers a testable and composable way to work with randomness,
@@ -55147,7 +55269,7 @@ const shuffle = (elements) => randomWith((r) => {
55147
55269
  return buffer;
55148
55270
  });
55149
55271
  //#endregion
55150
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Ref.js
55272
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Ref.js
55151
55273
  const RefProto = {
55152
55274
  ["~effect/Ref"]: { _A: identity },
55153
55275
  ...PipeInspectableProto,
@@ -55188,7 +55310,7 @@ const makeUnsafe$3 = (value) => {
55188
55310
  return self;
55189
55311
  };
55190
55312
  //#endregion
55191
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55313
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55192
55314
  /**
55193
55315
  * @since 4.0.0
55194
55316
  */
@@ -55323,7 +55445,7 @@ const keysToHashes = (keys, f) => {
55323
55445
  }
55324
55446
  };
55325
55447
  //#endregion
55326
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/Statement.js
55448
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/Statement.js
55327
55449
  /**
55328
55450
  * @since 4.0.0
55329
55451
  */
@@ -55882,7 +56004,7 @@ function in_() {
55882
56004
  }
55883
56005
  const neverFragment = /* @__PURE__ */ fragment([/* @__PURE__ */ literal$1("1=0")]);
55884
56006
  //#endregion
55885
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/SqlClient.js
56007
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/SqlClient.js
55886
56008
  /**
55887
56009
  * @since 4.0.0
55888
56010
  */
@@ -55976,7 +56098,7 @@ var TransactionConnection = class extends Service$1()("effect/sql/SqlClient/Tran
55976
56098
  */
55977
56099
  const SafeIntegers = /* @__PURE__ */ Reference("effect/sql/SqlClient/SafeIntegers", { defaultValue: () => false });
55978
56100
  //#endregion
55979
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
56101
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
55980
56102
  /**
55981
56103
  * @since 4.0.0
55982
56104
  */
@@ -56118,7 +56240,7 @@ const toSchemaStore = (self, schema) => {
56118
56240
  };
56119
56241
  };
56120
56242
  //#endregion
56121
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/persistence/Persistable.js
56243
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/persistence/Persistable.js
56122
56244
  /**
56123
56245
  * @since 4.0.0
56124
56246
  * @category Symbols
@@ -56172,7 +56294,7 @@ const deserializeExit = (self, encoded) => {
56172
56294
  return decodeUnknownEffect(toCodecJson(exitSchema$1(self)))(encoded);
56173
56295
  };
56174
56296
  //#endregion
56175
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/persistence/Persistence.js
56297
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/persistence/Persistence.js
56176
56298
  /**
56177
56299
  * @since 4.0.0
56178
56300
  */
@@ -56207,7 +56329,7 @@ var BackingPersistence = class extends Service$1()("effect/persistence/BackingPe
56207
56329
  */
56208
56330
  const layer$31 = /* @__PURE__ */ effect$1(Persistence)(/* @__PURE__ */ gen(function* () {
56209
56331
  const backing = yield* BackingPersistence;
56210
- const scope$8 = yield* scope;
56332
+ const scope$10 = yield* scope;
56211
56333
  return Persistence.of({ make: fnUntraced(function* (options) {
56212
56334
  const storage = yield* backing.make(options.storeId);
56213
56335
  const timeToLive = options.timeToLive ?? (() => infinity);
@@ -56242,7 +56364,7 @@ const layer$31 = /* @__PURE__ */ effect$1(Persistence)(/* @__PURE__ */ gen(funct
56242
56364
  }
56243
56365
  out[i] = exit$3.value;
56244
56366
  }
56245
- if (toRemove) for (let i = 0; i < toRemove.length; i++) yield* forkIn(storage.remove(toRemove[i]), scope$8);
56367
+ if (toRemove) for (let i = 0; i < toRemove.length; i++) yield* forkIn(storage.remove(toRemove[i]), scope$10);
56246
56368
  return out;
56247
56369
  }),
56248
56370
  set(key, value) {
@@ -56348,7 +56470,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$31.pipe(/* @__PURE__ */ provide$3(layer
56348
56470
  */
56349
56471
  const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
56350
56472
  //#endregion
56351
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/RequestResolver.js
56473
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/RequestResolver.js
56352
56474
  const TypeId$34 = "~effect/RequestResolver";
56353
56475
  const RequestResolverProto = {
56354
56476
  [TypeId$34]: {
@@ -56611,7 +56733,7 @@ const withSpan = /* @__PURE__ */ dual((args) => isRequestResolver(args[0]), (sel
56611
56733
  })
56612
56734
  }));
56613
56735
  //#endregion
56614
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SynchronizedRef.js
56736
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SynchronizedRef.js
56615
56737
  const TypeId$33 = "~effect/SynchronizedRef";
56616
56738
  const Proto$16 = {
56617
56739
  ...PipeInspectableProto,
@@ -56634,7 +56756,7 @@ const makeUnsafe$1 = (value) => {
56634
56756
  return self;
56635
56757
  };
56636
56758
  //#endregion
56637
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/ScopedRef.js
56759
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/ScopedRef.js
56638
56760
  /**
56639
56761
  * @since 2.0.0
56640
56762
  */
@@ -56699,7 +56821,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
56699
56821
  self.backing.backing.ref.current = [scope, value];
56700
56822
  }, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
56701
56823
  //#endregion
56702
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/ScopedCache.js
56824
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/ScopedCache.js
56703
56825
  /**
56704
56826
  * @since 4.0.0
56705
56827
  */
@@ -56796,7 +56918,7 @@ const invalidateAllImpl = (parent, map) => {
56796
56918
  return fiberAwaitAll(fibers);
56797
56919
  };
56798
56920
  //#endregion
56799
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/SubscriptionRef.js
56921
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/SubscriptionRef.js
56800
56922
  /**
56801
56923
  * @since 2.0.0
56802
56924
  */
@@ -56928,7 +57050,7 @@ const set$3 = /* @__PURE__ */ dual(2, (self, value) => self.semaphore.withPermit
56928
57050
  */
56929
57051
  const update = /* @__PURE__ */ dual(2, (self, update) => self.semaphore.withPermit(sync(() => setUnsafe(self, update(self.value)))));
56930
57052
  //#endregion
56931
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/Unify.js
57053
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/Unify.js
56932
57054
  /**
56933
57055
  * @since 2.0.0
56934
57056
  */
@@ -58348,7 +58470,7 @@ var Mime = class {
58348
58470
  };
58349
58471
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
58350
58472
  //#endregion
58351
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Mime.js
58473
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Mime.js
58352
58474
  /**
58353
58475
  * @since 1.0.0
58354
58476
  */
@@ -58358,7 +58480,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
58358
58480
  */
58359
58481
  var Mime_default = new Mime(types$1, types$2)._freeze();
58360
58482
  //#endregion
58361
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58483
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58362
58484
  /**
58363
58485
  * A module providing a generic service interface for spawning child processes.
58364
58486
  *
@@ -58421,7 +58543,7 @@ const make$46 = (spawn) => {
58421
58543
  */
58422
58544
  var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
58423
58545
  //#endregion
58424
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/process/ChildProcess.js
58546
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/process/ChildProcess.js
58425
58547
  const TypeId$29 = "~effect/unstable/process/ChildProcess";
58426
58548
  const Proto$12 = {
58427
58549
  ...PipeInspectableProto,
@@ -58705,7 +58827,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
58705
58827
  ...nextTokens.slice(1)
58706
58828
  ];
58707
58829
  //#endregion
58708
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/internal/utils.js
58830
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/internal/utils.js
58709
58831
  /** @internal */
58710
58832
  const handleErrnoException = (module, method) => (err, [path]) => {
58711
58833
  let reason = "Unknown";
@@ -58742,7 +58864,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
58742
58864
  });
58743
58865
  };
58744
58866
  //#endregion
58745
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/NodeSink.js
58867
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/NodeSink.js
58746
58868
  /**
58747
58869
  * @category constructors
58748
58870
  * @since 1.0.0
@@ -58786,7 +58908,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$5((chunk) => {
58786
58908
  });
58787
58909
  }) : identity);
58788
58910
  //#endregion
58789
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/NodeStream.js
58911
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/NodeStream.js
58790
58912
  /**
58791
58913
  * @since 1.0.0
58792
58914
  */
@@ -58952,7 +59074,7 @@ var StreamAdapter = class extends Readable {
58952
59074
  };
58953
59075
  const defaultOnError = (error) => new UnknownError$2(error);
58954
59076
  //#endregion
58955
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
59077
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
58956
59078
  const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
58957
59079
  const toPlatformError = (method, error, command) => {
58958
59080
  const { commands } = flattenCommand(command);
@@ -59286,7 +59408,7 @@ const flattenCommand = (command) => {
59286
59408
  };
59287
59409
  };
59288
59410
  //#endregion
59289
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/Cookies.js
59411
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/Cookies.js
59290
59412
  /**
59291
59413
  * @since 4.0.0
59292
59414
  */
@@ -59550,7 +59672,7 @@ const tryDecodeURIComponent = (str) => {
59550
59672
  }
59551
59673
  };
59552
59674
  //#endregion
59553
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/Headers.js
59675
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/Headers.js
59554
59676
  /**
59555
59677
  * @since 4.0.0
59556
59678
  */
@@ -59673,7 +59795,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
59673
59795
  "x-api-key"
59674
59796
  ] });
59675
59797
  //#endregion
59676
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpClientError.js
59798
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpClientError.js
59677
59799
  /**
59678
59800
  * @since 4.0.0
59679
59801
  */
@@ -59824,7 +59946,7 @@ ErrorClass(TypeId$26)({
59824
59946
  cause: /* @__PURE__ */ optional$3(Defect)
59825
59947
  });
59826
59948
  //#endregion
59827
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/UrlParams.js
59949
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/UrlParams.js
59828
59950
  /**
59829
59951
  * @since 4.0.0
59830
59952
  */
@@ -60036,7 +60158,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
60036
60158
  encode: fromInput
60037
60159
  })));
60038
60160
  //#endregion
60039
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpBody.js
60161
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpBody.js
60040
60162
  /**
60041
60163
  * @since 4.0.0
60042
60164
  */
@@ -60175,7 +60297,7 @@ var FormData$1 = class extends Proto$8 {
60175
60297
  */
60176
60298
  const formData = (body) => new FormData$1(body);
60177
60299
  //#endregion
60178
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpMethod.js
60300
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpMethod.js
60179
60301
  /**
60180
60302
  * @since 4.0.0
60181
60303
  */
@@ -60190,7 +60312,7 @@ const allShort = [
60190
60312
  ["TRACE", "trace"]
60191
60313
  ];
60192
60314
  //#endregion
60193
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60315
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60194
60316
  const TypeId$23 = "~effect/http/HttpClientRequest";
60195
60317
  const Proto$7 = {
60196
60318
  [TypeId$23]: TypeId$23,
@@ -60360,7 +60482,7 @@ const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, url
60360
60482
  */
60361
60483
  const bodyFormData = /* @__PURE__ */ dual(2, (self, body) => setBody(self, formData(body)));
60362
60484
  //#endregion
60363
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60485
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60364
60486
  /**
60365
60487
  * @since 4.0.0
60366
60488
  */
@@ -60411,7 +60533,7 @@ const inspect$1 = (self, that) => {
60411
60533
  return obj;
60412
60534
  };
60413
60535
  //#endregion
60414
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60536
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60415
60537
  /**
60416
60538
  * @since 4.0.0
60417
60539
  */
@@ -60552,7 +60674,7 @@ var WebHttpClientResponse = class extends Class$5 {
60552
60674
  }
60553
60675
  };
60554
60676
  //#endregion
60555
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpTraceContext.js
60677
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpTraceContext.js
60556
60678
  /**
60557
60679
  * @since 4.0.0
60558
60680
  */
@@ -60627,7 +60749,7 @@ const w3c = (headers) => {
60627
60749
  }
60628
60750
  };
60629
60751
  //#endregion
60630
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpClient.js
60752
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpClient.js
60631
60753
  const TypeId$20 = "~effect/http/HttpClient";
60632
60754
  /**
60633
60755
  * @since 4.0.0
@@ -61490,7 +61612,7 @@ const httpMethods = [
61490
61612
  */
61491
61613
  const make$38 = make$39;
61492
61614
  //#endregion
61493
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/Template.js
61615
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/Template.js
61494
61616
  /**
61495
61617
  * @since 4.0.0
61496
61618
  */
@@ -61539,7 +61661,7 @@ function isSuccess$1(u) {
61539
61661
  return isExit(u) && u._tag === "Success";
61540
61662
  }
61541
61663
  //#endregion
61542
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpServerResponse.js
61664
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpServerResponse.js
61543
61665
  /**
61544
61666
  * @since 4.0.0
61545
61667
  */
@@ -61628,7 +61750,7 @@ const makeResponse$2 = (options) => {
61628
61750
  return self;
61629
61751
  };
61630
61752
  //#endregion
61631
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
61753
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
61632
61754
  /**
61633
61755
  * @since 4.0.0
61634
61756
  */
@@ -61665,7 +61787,7 @@ const toResponseOrElseDefect = (u, orElse) => {
61665
61787
  return succeed$4(orElse);
61666
61788
  };
61667
61789
  //#endregion
61668
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpServerError.js
61790
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpServerError.js
61669
61791
  /**
61670
61792
  * @since 4.0.0
61671
61793
  */
@@ -61837,7 +61959,7 @@ const exitResponse = (exit) => {
61837
61959
  return causeResponseStripped(exit.cause)[0];
61838
61960
  };
61839
61961
  //#endregion
61840
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/socket/Socket.js
61962
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/socket/Socket.js
61841
61963
  /**
61842
61964
  * @since 4.0.0
61843
61965
  * @category Type IDs
@@ -62956,7 +63078,7 @@ const make$33 = make$34;
62956
63078
  const defaultIsFile = defaultIsFile$1;
62957
63079
  const decodeField = decodeField$1;
62958
63080
  //#endregion
62959
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/Multipart.js
63081
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/Multipart.js
62960
63082
  /**
62961
63083
  * @since 4.0.0
62962
63084
  */
@@ -63088,7 +63210,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
63088
63210
  */
63089
63211
  const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
63090
63212
  //#endregion
63091
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63213
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63092
63214
  /**
63093
63215
  * @since 4.0.0
63094
63216
  * @category Type IDs
@@ -63126,11 +63248,11 @@ const toURL = (self) => {
63126
63248
  }
63127
63249
  };
63128
63250
  //#endregion
63129
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63251
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63130
63252
  /** @internal */
63131
63253
  const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
63132
63254
  //#endregion
63133
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63255
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63134
63256
  /**
63135
63257
  * @since 4.0.0
63136
63258
  */
@@ -63228,7 +63350,7 @@ const tracer = /* @__PURE__ */ make$32((httpApp) => withFiber((fiber) => {
63228
63350
  }, true);
63229
63351
  }));
63230
63352
  //#endregion
63231
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpEffect.js
63353
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpEffect.js
63232
63354
  /**
63233
63355
  * @since 4.0.0
63234
63356
  * @category combinators
@@ -63298,7 +63420,7 @@ const scoped = (effect) => withFiber((fiber) => {
63298
63420
  }, true);
63299
63421
  });
63300
63422
  //#endregion
63301
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/Etag.js
63423
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/Etag.js
63302
63424
  /**
63303
63425
  * @since 4.0.0
63304
63426
  */
@@ -63364,7 +63486,7 @@ const layerWeak = /* @__PURE__ */ succeed$5(Generator)({
63364
63486
  }
63365
63487
  });
63366
63488
  //#endregion
63367
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpPlatform.js
63489
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpPlatform.js
63368
63490
  /**
63369
63491
  * @since 4.0.0
63370
63492
  */
@@ -63403,7 +63525,7 @@ const make$31 = /* @__PURE__ */ fnUntraced(function* (impl) {
63403
63525
  });
63404
63526
  });
63405
63527
  //#endregion
63406
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpServer.js
63528
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpServer.js
63407
63529
  /**
63408
63530
  * @since 4.0.0
63409
63531
  */
@@ -63448,7 +63570,7 @@ const logAddress = /* @__PURE__ */ addressFormattedWith((_) => log$1(`Listening
63448
63570
  */
63449
63571
  const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
63450
63572
  //#endregion
63451
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/HttpRouter.js
63573
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/HttpRouter.js
63452
63574
  /**
63453
63575
  * @since 4.0.0
63454
63576
  */
@@ -63764,7 +63886,7 @@ const serve = (appLayer, options) => {
63764
63886
  }).pipe(unwrap$3, provideMerge(appLayer), provide$3(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
63765
63887
  };
63766
63888
  //#endregion
63767
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/workers/Transferable.js
63889
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/workers/Transferable.js
63768
63890
  /**
63769
63891
  * @since 1.0.0
63770
63892
  */
@@ -63798,7 +63920,7 @@ const makeCollectorUnsafe = () => {
63798
63920
  });
63799
63921
  };
63800
63922
  //#endregion
63801
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/RpcSchema.js
63923
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/RpcSchema.js
63802
63924
  /**
63803
63925
  * @since 4.0.0
63804
63926
  */
@@ -63831,7 +63953,7 @@ function Stream(success, error) {
63831
63953
  }
63832
63954
  Service$1()("effect/rpc/RpcSchema/ClientAbort");
63833
63955
  //#endregion
63834
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/Rpc.js
63956
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/Rpc.js
63835
63957
  const TypeId$13 = "~effect/rpc/Rpc";
63836
63958
  const Proto$4 = {
63837
63959
  [TypeId$13]: TypeId$13,
@@ -63971,14 +64093,14 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
63971
64093
  */
63972
64094
  const isWrapper = (u) => WrapperTypeId in u;
63973
64095
  //#endregion
63974
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/RpcMessage.js
64096
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/RpcMessage.js
63975
64097
  /**
63976
64098
  * @since 4.0.0
63977
64099
  * @category request
63978
64100
  */
63979
64101
  const RequestId = (id) => typeof id === "bigint" ? id : BigInt(id);
63980
64102
  //#endregion
63981
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/Utils.js
64103
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/Utils.js
63982
64104
  /**
63983
64105
  * @since 4.0.0
63984
64106
  */
@@ -64009,7 +64131,7 @@ const withRun = () => (f) => suspend$3(() => {
64009
64131
  }));
64010
64132
  });
64011
64133
  //#endregion
64012
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/RpcClient.js
64134
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/RpcClient.js
64013
64135
  let requestIdCounter = /* @__PURE__ */ BigInt(0);
64014
64136
  /**
64015
64137
  * @since 4.0.0
@@ -64347,7 +64469,7 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
64347
64469
  };
64348
64470
  const decodeDefect = /* @__PURE__ */ decodeSync(Defect);
64349
64471
  //#endregion
64350
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64472
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64351
64473
  const RpcGroupProto = {
64352
64474
  add(...rpcs) {
64353
64475
  const requests = new Map(this.requests);
@@ -64580,7 +64702,7 @@ const fromRecord = (migrations) => pipe$1(Object.keys(migrations), flatMapNullis
64580
64702
  succeed$4(migrations[key])
64581
64703
  ]), sort(migrationOrder), succeed$4);
64582
64704
  //#endregion
64583
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/SqlError.js
64705
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/SqlError.js
64584
64706
  /**
64585
64707
  * @since 4.0.0
64586
64708
  */
@@ -68350,7 +68472,7 @@ require_subprotocol();
68350
68472
  var import_websocket = /* @__PURE__ */ __toESM(require_websocket$1(), 1);
68351
68473
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
68352
68474
  //#endregion
68353
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68475
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68354
68476
  /**
68355
68477
  * @since 1.0.0
68356
68478
  */
@@ -68688,7 +68810,7 @@ const makeFileSystem = /* @__PURE__ */ map$10(/* @__PURE__ */ serviceOption(Watc
68688
68810
  writeFile: writeFile$1
68689
68811
  }));
68690
68812
  //#endregion
68691
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68813
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68692
68814
  /**
68693
68815
  * @since 1.0.0
68694
68816
  */
@@ -68698,7 +68820,7 @@ const makeFileSystem = /* @__PURE__ */ map$10(/* @__PURE__ */ serviceOption(Watc
68698
68820
  */
68699
68821
  const layer$25 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
68700
68822
  //#endregion
68701
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68823
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68702
68824
  /**
68703
68825
  * @since 1.0.0
68704
68826
  */
@@ -90206,7 +90328,7 @@ var require_undici = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
90206
90328
  module.exports.install = install;
90207
90329
  }));
90208
90330
  //#endregion
90209
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Undici.js
90331
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Undici.js
90210
90332
  var Undici_exports = /* @__PURE__ */ __exportAll({ default: () => Undici_default });
90211
90333
  var import_undici = /* @__PURE__ */ __toESM(require_undici(), 1);
90212
90334
  __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
@@ -90216,7 +90338,7 @@ __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
90216
90338
  */
90217
90339
  var Undici_default = import_undici.default;
90218
90340
  //#endregion
90219
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/http/FetchHttpClient.js
90341
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/http/FetchHttpClient.js
90220
90342
  /**
90221
90343
  * @since 4.0.0
90222
90344
  */
@@ -90261,7 +90383,7 @@ const layer$24 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$4(/
90261
90383
  return send(void 0);
90262
90384
  })));
90263
90385
  //#endregion
90264
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpClient.js
90386
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpClient.js
90265
90387
  /**
90266
90388
  * @since 1.0.0
90267
90389
  */
@@ -90429,7 +90551,7 @@ var UndiciResponse = class extends Class$5 {
90429
90551
  const layerUndici = /* @__PURE__ */ provide$3(/* @__PURE__ */ layerMergedServices(makeUndici), layerDispatcher);
90430
90552
  Service$1()("@effect/platform-node/NodeHttpClient/HttpAgent");
90431
90553
  //#endregion
90432
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90554
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90433
90555
  /**
90434
90556
  * @since 1.0.0
90435
90557
  */
@@ -90550,7 +90672,7 @@ var FileStream = class extends Readable {
90550
90672
  }
90551
90673
  };
90552
90674
  //#endregion
90553
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeMultipart.js
90675
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeMultipart.js
90554
90676
  /**
90555
90677
  * @since 1.0.0
90556
90678
  */
@@ -90645,7 +90767,7 @@ function convertError(cause) {
90645
90767
  }
90646
90768
  }
90647
90769
  //#endregion
90648
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/platform-node-shared/dist/NodePath.js
90770
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/platform-node-shared/dist/NodePath.js
90649
90771
  /**
90650
90772
  * @since 1.0.0
90651
90773
  */
@@ -90668,7 +90790,7 @@ const toFileUrl = (path) => try_({
90668
90790
  ({ ...Path.posix });
90669
90791
  ({ ...Path.win32 });
90670
90792
  //#endregion
90671
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodePath.js
90793
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodePath.js
90672
90794
  /**
90673
90795
  * @since 1.0.0
90674
90796
  */
@@ -90683,7 +90805,7 @@ const layer$21 = /* @__PURE__ */ succeed$5(Path$1)({
90683
90805
  toFileUrl
90684
90806
  });
90685
90807
  //#endregion
90686
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeStdio.js
90808
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeStdio.js
90687
90809
  /**
90688
90810
  * @since 1.0.0
90689
90811
  */
@@ -90788,7 +90910,7 @@ function defaultShouldQuit(input) {
90788
90910
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
90789
90911
  }
90790
90912
  //#endregion
90791
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeServices.js
90913
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeServices.js
90792
90914
  /**
90793
90915
  * @since 1.0.0
90794
90916
  * @category layer
@@ -90800,7 +90922,7 @@ const layer$16 = /* @__PURE__ */ provideMerge(layer$30, /* @__PURE__ */ mergeAll
90800
90922
  */
90801
90923
  const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$5(WebSocketConstructor)((url, protocols) => new import_websocket.default(url, protocols));
90802
90924
  //#endregion
90803
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90925
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90804
90926
  /**
90805
90927
  * @since 1.0.0
90806
90928
  */
@@ -90809,7 +90931,7 @@ const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$5(WebSocketConstruct
90809
90931
  * @category constructors
90810
90932
  */
90811
90933
  const make$20 = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
90812
- const scope$5 = yield* scope;
90934
+ const scope$7 = yield* scope;
90813
90935
  const server = evaluate();
90814
90936
  const shutdown = yield* callback$1((resume) => {
90815
90937
  if (!server.listening) return resume(void_$2);
@@ -90822,7 +90944,7 @@ const make$20 = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
90822
90944
  duration: options.gracefulShutdownTimeout ?? seconds(20),
90823
90945
  orElse: () => void_$2
90824
90946
  });
90825
- yield* addFinalizer$1(scope$5, shutdown);
90947
+ yield* addFinalizer$1(scope$7, shutdown);
90826
90948
  yield* callback$1((resume) => {
90827
90949
  function onError(cause) {
90828
90950
  resume(fail$6(new ServeError({ cause })));
@@ -90836,7 +90958,7 @@ const make$20 = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
90836
90958
  const address = server.address();
90837
90959
  const wss = yield* acquireRelease(sync(() => new import_websocket_server.default({ noServer: true })), (wss) => callback$1((resume) => {
90838
90960
  wss.close(() => resume(void_$2));
90839
- })).pipe(provide$4(scope$5), cached$1);
90961
+ })).pipe(provide$4(scope$7), cached$1);
90840
90962
  return make$30({
90841
90963
  address: typeof address === "string" ? {
90842
90964
  _tag: "UnixAddress",
@@ -90848,14 +90970,14 @@ const make$20 = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
90848
90970
  },
90849
90971
  serve: fnUntraced(function* (httpApp, middleware) {
90850
90972
  const serveScope = yield* scope;
90851
- const scope$6 = forkUnsafe(serveScope, "parallel");
90973
+ const scope$8 = forkUnsafe(serveScope, "parallel");
90852
90974
  const handler = yield* makeHandler(httpApp, {
90853
90975
  middleware,
90854
- scope: scope$6
90976
+ scope: scope$8
90855
90977
  });
90856
90978
  const upgradeHandler = yield* makeUpgradeHandler(wss, httpApp, {
90857
90979
  middleware,
90858
- scope: scope$6
90980
+ scope: scope$8
90859
90981
  });
90860
90982
  yield* addFinalizerExit(serveScope, () => {
90861
90983
  server.off("request", handler);
@@ -91093,7 +91215,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
91093
91215
  return failCause$2(headersSent ? combine$1(originalCause, die$3(originalResponse)) : cause);
91094
91216
  });
91095
91217
  //#endregion
91096
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.42_effect@4.0.0-beta.42_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeRuntime.js
91218
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.43_effect@4.0.0-beta.43_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeRuntime.js
91097
91219
  /**
91098
91220
  * @since 1.0.0
91099
91221
  */
@@ -91144,7 +91266,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
91144
91266
  process.on("SIGTERM", onSigint);
91145
91267
  });
91146
91268
  //#endregion
91147
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/persistence/PersistedCache.js
91269
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/persistence/PersistedCache.js
91148
91270
  /**
91149
91271
  * @since 4.0.0
91150
91272
  */
@@ -91503,7 +91625,9 @@ ${prompt}` : prompt
91503
91625
  ], {
91504
91626
  stdout: "pipe",
91505
91627
  stderr: "pipe",
91506
- stdin: "inherit"
91628
+ stdin: "inherit",
91629
+ env: { FORCE_COLOR: "1" },
91630
+ extendEnv: true
91507
91631
  }),
91508
91632
  commandPlan: ({ prompt, prdFilePath, dangerous }) => make$45("codex", [
91509
91633
  ...dangerous ? ["--dangerously-bypass-approvals-and-sandbox"] : [],
@@ -91696,7 +91820,7 @@ const toExit = (self) => {
91696
91820
  }
91697
91821
  };
91698
91822
  //#endregion
91699
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91823
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91700
91824
  /**
91701
91825
  * @since 4.0.0
91702
91826
  */
@@ -91720,12 +91844,12 @@ const AtomRegistry = /* @__PURE__ */ Service$1(TypeId$9);
91720
91844
  * @category Layers
91721
91845
  */
91722
91846
  const layerOptions = (options) => effect$1(AtomRegistry, gen(function* () {
91723
- const scope$4 = yield* scope;
91847
+ const scope$6 = yield* scope;
91724
91848
  const registry = make$18({
91725
91849
  ...options,
91726
91850
  scheduleTask: options?.scheduleTask
91727
91851
  });
91728
- yield* addFinalizer$1(scope$4, sync(() => registry.dispose()));
91852
+ yield* addFinalizer$1(scope$6, sync(() => registry.dispose()));
91729
91853
  return registry;
91730
91854
  }));
91731
91855
  /**
@@ -92283,7 +92407,7 @@ function batchRebuildNode(node) {
92283
92407
  if (node.state !== NodeState.valid) node.value();
92284
92408
  }
92285
92409
  //#endregion
92286
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/reactivity/Atom.js
92410
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/reactivity/Atom.js
92287
92411
  /**
92288
92412
  * @since 4.0.0
92289
92413
  */
@@ -179520,7 +179644,7 @@ const parseCommand = (command) => {
179520
179644
  return args;
179521
179645
  };
179522
179646
  //#endregion
179523
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Model.js
179647
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Model.js
179524
179648
  /**
179525
179649
  * The `Model` module provides a unified interface for AI service providers.
179526
179650
  *
@@ -182743,7 +182867,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
182743
182867
  });
182744
182868
  Ze.glob = Ze;
182745
182869
  //#endregion
182746
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ApplyPatch.js
182870
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ApplyPatch.js
182747
182871
  /**
182748
182872
  * @since 1.0.0
182749
182873
  */
@@ -197624,7 +197748,7 @@ var StreamableHTTPClientTransport = class {
197624
197748
  }
197625
197749
  };
197626
197750
  //#endregion
197627
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/McpClient.js
197751
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/McpClient.js
197628
197752
  /**
197629
197753
  * @since 1.0.0
197630
197754
  */
@@ -197669,7 +197793,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
197669
197793
  });
197670
197794
  }));
197671
197795
  //#endregion
197672
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ExaSearch.js
197796
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ExaSearch.js
197673
197797
  /**
197674
197798
  * @since 1.0.0
197675
197799
  */
@@ -212619,7 +212743,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
212619
212743
  exports.impl = impl;
212620
212744
  }));
212621
212745
  //#endregion
212622
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/WebToMarkdown.js
212746
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/WebToMarkdown.js
212623
212747
  /**
212624
212748
  * @since 1.0.0
212625
212749
  */
@@ -213383,7 +213507,7 @@ const layer$11 = effect$1(WebToMarkdown, gen(function* () {
213383
213507
  });
213384
213508
  }));
213385
213509
  //#endregion
213386
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Response.js
213510
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Response.js
213387
213511
  const PartTypeId$1 = "~effect/ai/Content/Part";
213388
213512
  const constEmptyObject$1 = () => ({});
213389
213513
  const constPartTypeId$1 = () => PartTypeId$1;
@@ -213889,7 +214013,7 @@ const ErrorPart = /* @__PURE__ */ Struct$2({
213889
214013
  error: Unknown
213890
214014
  }).annotate({ identifier: "ErrorPart" });
213891
214015
  //#endregion
213892
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/AiError.js
214016
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/AiError.js
213893
214017
  /**
213894
214018
  * The `AiError` module provides comprehensive, provider-agnostic error handling
213895
214019
  * for AI operations.
@@ -215112,7 +215236,7 @@ const reasonFromHttpStatus = (params) => {
215112
215236
  }
215113
215237
  };
215114
215238
  //#endregion
215115
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Toolkit.js
215239
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Toolkit.js
215116
215240
  const TypeId$5 = "~effect/ai/Toolkit";
215117
215241
  const Proto$2 = {
215118
215242
  ...YieldableProto,
@@ -215336,7 +215460,7 @@ const merge$1 = (...toolkits) => {
215336
215460
  return makeProto(tools);
215337
215461
  };
215338
215462
  //#endregion
215339
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Tool.js
215463
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Tool.js
215340
215464
  /**
215341
215465
  * @since 1.0.0
215342
215466
  * @category type ids
@@ -215760,7 +215884,7 @@ function isEmptyParamsRecord(indexSignature) {
215760
215884
  return indexSignature.parameter === string$3 && isNever(indexSignature.type);
215761
215885
  }
215762
215886
  //#endregion
215763
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/SemanticSearch/Service.js
215887
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/SemanticSearch/Service.js
215764
215888
  /**
215765
215889
  * @since 1.0.0
215766
215890
  */
@@ -215786,7 +215910,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$5(m
215786
215910
  onSome: (service) => service.removeFile(path)
215787
215911
  })));
215788
215912
  //#endregion
215789
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/AgentTools.js
215913
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/AgentTools.js
215790
215914
  /**
215791
215915
  * @since 1.0.0
215792
215916
  */
@@ -216189,7 +216313,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
216189
216313
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
216190
216314
  var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
216191
216315
  //#endregion
216192
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/TypeBuilder.js
216316
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/TypeBuilder.js
216193
216317
  const resolveDocumentation = resolveAt("documentation");
216194
216318
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
216195
216319
  const Precedence = {
@@ -216462,7 +216586,7 @@ const render = (schema, options) => {
216462
216586
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
216463
216587
  };
216464
216588
  //#endregion
216465
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ToolkitRenderer.js
216589
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ToolkitRenderer.js
216466
216590
  /**
216467
216591
  * @since 1.0.0
216468
216592
  */
@@ -216484,7 +216608,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
216484
216608
  }) });
216485
216609
  };
216486
216610
  //#endregion
216487
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ScriptPreprocessing.js
216611
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ScriptPreprocessing.js
216488
216612
  const callTemplateTargets = ["applyPatch", "taskComplete"];
216489
216613
  const objectPropertyTargets = [{
216490
216614
  functionName: "writeFile",
@@ -216988,6 +217112,35 @@ const collectObjectPropertyIdentifiers = (script, target) => {
216988
217112
  }
216989
217113
  return identifiers;
216990
217114
  };
217115
+ const collectAssignedValueRootIdentifiers = (script, variableName) => {
217116
+ const identifiers = /* @__PURE__ */ new Set();
217117
+ let cursor = 0;
217118
+ while (cursor < script.length) {
217119
+ const variableStart = findNextIdentifier(script, variableName, cursor);
217120
+ if (variableStart === -1) break;
217121
+ let assignmentStart = skipWhitespace(script, variableStart + variableName.length);
217122
+ if (script[assignmentStart] === ":") {
217123
+ assignmentStart = findTypeAnnotationAssignment(script, assignmentStart + 1);
217124
+ if (assignmentStart === -1) {
217125
+ cursor = variableStart + variableName.length;
217126
+ continue;
217127
+ }
217128
+ }
217129
+ if (script[assignmentStart] !== "=" || script[assignmentStart + 1] === "=" || script[assignmentStart + 1] === ">") {
217130
+ cursor = variableStart + variableName.length;
217131
+ continue;
217132
+ }
217133
+ const valueStart = skipWhitespace(script, assignmentStart + 1);
217134
+ const rootIdentifier = parseIdentifier(script, valueStart);
217135
+ if (rootIdentifier !== void 0) {
217136
+ identifiers.add(rootIdentifier.name);
217137
+ cursor = rootIdentifier.end;
217138
+ continue;
217139
+ }
217140
+ cursor = valueStart + 1;
217141
+ }
217142
+ return identifiers;
217143
+ };
216991
217144
  const rewriteAssignedTemplate = (script, variableName) => rewriteTemplateContents(script, (text, from) => {
216992
217145
  let cursor = from;
216993
217146
  while (cursor < text.length) {
@@ -217080,6 +217233,17 @@ const collectReferencedTemplateIdentifiers = (script) => {
217080
217233
  for (const functionName of callTemplateTargets) for (const identifier of collectCallArgumentIdentifiers(script, functionName)) templateIdentifiers.add(identifier);
217081
217234
  for (const target of objectPropertyTargets) for (const identifier of collectObjectPropertyIdentifiers(script, target)) templateIdentifiers.add(identifier);
217082
217235
  if (script.includes("*** Begin Patch")) templateIdentifiers.add("patch");
217236
+ const pendingIdentifiers = Array.from(templateIdentifiers);
217237
+ const visitedIdentifiers = /* @__PURE__ */ new Set();
217238
+ while (pendingIdentifiers.length > 0) {
217239
+ const identifier = pendingIdentifiers.pop();
217240
+ if (visitedIdentifiers.has(identifier)) continue;
217241
+ visitedIdentifiers.add(identifier);
217242
+ for (const source of collectAssignedValueRootIdentifiers(script, identifier)) if (!templateIdentifiers.has(source)) {
217243
+ templateIdentifiers.add(source);
217244
+ pendingIdentifiers.push(source);
217245
+ }
217246
+ }
217083
217247
  const objectIdentifiers = /* @__PURE__ */ new Set();
217084
217248
  for (const identifier of templateIdentifiers) for (const source of collectObjectEntryMapSources(script, identifier)) objectIdentifiers.add(source);
217085
217249
  return {
@@ -217096,7 +217260,7 @@ const rewriteAssignedTargets = (script) => {
217096
217260
  };
217097
217261
  const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
217098
217262
  //#endregion
217099
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/AgentExecutor.js
217263
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/AgentExecutor.js
217100
217264
  /**
217101
217265
  * @since 1.0.0
217102
217266
  */
@@ -217281,7 +217445,7 @@ var QueueWriteStream = class extends Writable {
217281
217445
  }
217282
217446
  };
217283
217447
  //#endregion
217284
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ScriptExtraction.js
217448
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ScriptExtraction.js
217285
217449
  const stripWrappingCodeFence = (script) => {
217286
217450
  const lines = script.split(/\r?\n/);
217287
217451
  if (lines.length < 2) return script;
@@ -217306,7 +217470,7 @@ const stripWrappingCodeFence = (script) => {
217306
217470
  return lines.slice(firstNonEmpty + 1, lastNonEmpty).join(newLine);
217307
217471
  };
217308
217472
  //#endregion
217309
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Prompt.js
217473
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Prompt.js
217310
217474
  /**
217311
217475
  * The `Prompt` module provides several data structures to simplify creating and
217312
217476
  * combining prompts.
@@ -217845,7 +218009,7 @@ const setSystem = /* @__PURE__ */ dual(2, (self, content) => {
217845
218009
  return makePrompt(messages);
217846
218010
  });
217847
218011
  //#endregion
217848
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/IdGenerator.js
218012
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/IdGenerator.js
217849
218013
  /**
217850
218014
  * The `IdGenerator` service tag for dependency injection.
217851
218015
  *
@@ -217914,11 +218078,11 @@ const makeGenerator = ({ alphabet = DEFAULT_ALPHABET, prefix, separator = DEFAUL
217914
218078
  */
217915
218079
  const defaultIdGenerator = { generateId: /* @__PURE__ */ makeGenerator({ prefix: "id" }) };
217916
218080
  //#endregion
217917
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
218081
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
217918
218082
  /** @internal */
217919
218083
  const defaultCodecTransformer$1 = (codec) => {
217920
- const document = toJsonSchemaDocument(codec);
217921
- const jsonSchema = document.schema;
218084
+ const document = resolveTopLevel$ref(toJsonSchemaDocument(codec));
218085
+ const jsonSchema = { ...document.schema };
217922
218086
  if (Object.keys(document.definitions).length > 0) jsonSchema.$defs = document.definitions;
217923
218087
  return {
217924
218088
  codec,
@@ -217926,7 +218090,7 @@ const defaultCodecTransformer$1 = (codec) => {
217926
218090
  };
217927
218091
  };
217928
218092
  //#endregion
217929
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
218093
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
217930
218094
  /**
217931
218095
  * @since 4.0.0
217932
218096
  */
@@ -217983,7 +218147,7 @@ const make$11 = /* @__PURE__ */ sync(() => {
217983
218147
  };
217984
218148
  });
217985
218149
  //#endregion
217986
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/Telemetry.js
218150
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/Telemetry.js
217987
218151
  /**
217988
218152
  * The `Telemetry` module provides OpenTelemetry integration for operations
217989
218153
  * performed against a large language model provider by defining telemetry
@@ -218099,7 +218263,7 @@ const addGenAIAnnotations$2 = /* @__PURE__ */ dual(2, (span, options) => {
218099
218263
  */
218100
218264
  var CurrentSpanTransformer = class extends Service$1()("effect/ai/Telemetry/CurrentSpanTransformer") {};
218101
218265
  //#endregion
218102
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/LanguageModel.js
218266
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/LanguageModel.js
218103
218267
  /**
218104
218268
  * The `LanguageModel` service key for dependency injection.
218105
218269
  *
@@ -218852,7 +219016,7 @@ const applySpanTransformer = (transformer, response, options) => {
218852
219016
  });
218853
219017
  };
218854
219018
  //#endregion
218855
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/Agent.js
219019
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/Agent.js
218856
219020
  /**
218857
219021
  * @since 1.0.0
218858
219022
  */
@@ -219415,7 +219579,7 @@ Union$2([
219415
219579
  */
219416
219580
  var AgentFinished = class extends TaggedErrorClass()("AgentFinished", { summary: String$1 }) {};
219417
219581
  //#endregion
219418
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/encoding/Sse.js
219582
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/encoding/Sse.js
219419
219583
  /**
219420
219584
  * @since 4.0.0
219421
219585
  * @category Decoding
@@ -219598,7 +219762,7 @@ var Retry = class Retry extends TaggedClass$2("Retry") {
219598
219762
  }
219599
219763
  };
219600
219764
  //#endregion
219601
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/Generated.js
219765
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/Generated.js
219602
219766
  /**
219603
219767
  * @since 1.0.0
219604
219768
  */ const AdminApiKey = /* @__PURE__ */ Struct$2({
@@ -227666,7 +227830,7 @@ const OpenAiClientError = (tag, cause, response) => new OpenAiClientErrorImpl({
227666
227830
  request: response.request
227667
227831
  });
227668
227832
  //#endregion
227669
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/internal/errors.js
227833
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/internal/errors.js
227670
227834
  /** @internal */
227671
227835
  const OpenAiErrorBody$1 = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
227672
227836
  message: String$1,
@@ -227879,7 +228043,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
227879
228043
  }
227880
228044
  };
227881
228045
  //#endregion
227882
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
228046
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
227883
228047
  /**
227884
228048
  * @since 1.0.0
227885
228049
  */
@@ -227894,7 +228058,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
227894
228058
  static getOrUndefined = /* @__PURE__ */ map$10(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
227895
228059
  };
227896
228060
  //#endregion
227897
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/OpenAiClient.js
228061
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/OpenAiClient.js
227898
228062
  /**
227899
228063
  * OpenAI Client module for interacting with OpenAI's API.
227900
228064
  *
@@ -227978,15 +228142,22 @@ var OpenAiSocket = class extends Service$1()("@effect/ai-openai/OpenAiClient/Ope
227978
228142
  const makeSocket = /* @__PURE__ */ gen(function* () {
227979
228143
  const client = yield* OpenAiClient$1;
227980
228144
  const tracker = yield* make$11;
227981
- const request = yield* orDie$2(client.client.httpClient.preprocess(post("/responses")));
228145
+ const socketScope = yield* scope;
228146
+ const makeRequest = orDie$2(client.client.httpClient.preprocess(post("/responses")));
228147
+ const makeWebSocket$1 = yield* WebSocketConstructor;
227982
228148
  const decoder = new TextDecoder();
227983
228149
  const queueRef = yield* make$70({
227984
228150
  idleTimeToLive: 6e4,
227985
228151
  acquire: gen(function* () {
227986
- const request = yield* orDie$2(client.client.httpClient.preprocess(post("/responses")));
227987
- const socket = yield* makeWebSocket(request.url.replace(/^http/, "ws"), { closeCodeIsError: constTrue }).pipe(updateService(WebSocketConstructor, (f) => (url) => f(url, { headers: request.headers })));
228152
+ const scope$5 = yield* scope;
228153
+ const request = yield* makeRequest;
228154
+ const socket = yield* makeWebSocket(request.url.replace(/^http/, "ws")).pipe(provideService$2(WebSocketConstructor, (url) => makeWebSocket$1(url, { headers: request.headers })));
227988
228155
  const write = yield* socket.writer;
227989
- let incoming = yield* unbounded();
228156
+ yield* addFinalizerExit(scope$5, () => {
228157
+ tracker.clearUnsafe();
228158
+ return void_$2;
228159
+ });
228160
+ const incoming = yield* unbounded();
227990
228161
  const send = (message) => write(JSON.stringify({
227991
228162
  type: "response.create",
227992
228163
  ...message
@@ -228006,11 +228177,9 @@ const makeSocket = /* @__PURE__ */ gen(function* () {
228006
228177
  })
228007
228178
  })));
228008
228179
  yield* socket.runRaw((msg) => {
228009
- if (!incoming) return;
228010
228180
  const text = typeof msg === "string" ? msg : decoder.decode(msg);
228011
228181
  try {
228012
228182
  const event = decodeEvent(text);
228013
- if (event.type === "error") tracker.clearUnsafe();
228014
228183
  if (event.type === "error" && "status" in event) {
228015
228184
  const json = JSON.stringify(event.error);
228016
228185
  return fail$6(make$15({
@@ -228035,7 +228204,7 @@ const makeSocket = /* @__PURE__ */ gen(function* () {
228035
228204
  }
228036
228205
  offerUnsafe(incoming, event);
228037
228206
  } catch {}
228038
- }).pipe(catchCause$1((cause) => fail$4(incoming, make$15({
228207
+ }).pipe(catchTag$1("SocketError", (error) => make$15({
228039
228208
  module: "OpenAiClient",
228040
228209
  method: "createResponseStream",
228041
228210
  reason: new NetworkError({
@@ -228047,32 +228216,31 @@ const makeSocket = /* @__PURE__ */ gen(function* () {
228047
228216
  hash: void 0,
228048
228217
  headers: request.headers
228049
228218
  },
228050
- description: pretty$1(cause)
228219
+ description: error.message
228051
228220
  })
228052
- }))), ensuring$2(invalidate$2(queueRef)), forkScoped({ startImmediately: true }));
228221
+ }).asEffect()), catchCause$1((cause) => failCause$1(incoming, cause)), ensuring$2(forkIn(invalidate$2(queueRef), socketScope, { startImmediately: true })), forkScoped({ startImmediately: true }));
228053
228222
  return {
228054
228223
  send,
228055
228224
  incoming
228056
228225
  };
228057
228226
  })
228058
228227
  });
228059
- yield* forkScoped(get$11(queueRef));
228228
+ yield* scoped$1(get$11(queueRef));
228060
228229
  const semaphore = makeUnsafe$9(1);
228230
+ const request = yield* makeRequest;
228061
228231
  return OpenAiSocket.serviceMap({ createResponseStream(options) {
228062
- const stream = gen(function* () {
228232
+ const stream = unwrap(gen(function* () {
228233
+ const scope$4 = yield* scope;
228063
228234
  yield* acquireRelease(semaphore.take(1), () => semaphore.release(1), { interruptible: true });
228064
228235
  const { send, incoming } = yield* get$11(queueRef);
228065
228236
  let done = false;
228066
- yield* acquireRelease(send(options), () => {
228067
- if (done) return void_$2;
228068
- tracker.clearUnsafe();
228069
- return invalidate$2(queueRef);
228070
- }, { interruptible: true }).pipe(forkScoped({ startImmediately: true }));
228237
+ yield* addFinalizerExit(scope$4, () => done ? void_$2 : invalidate$2(queueRef));
228238
+ yield* send(options).pipe(forkScoped({ startImmediately: true }));
228071
228239
  return fromQueue(incoming).pipe(takeUntil((e) => {
228072
228240
  done = e.type === "response.completed" || e.type === "response.incomplete";
228073
228241
  return done;
228074
228242
  }));
228075
- }).pipe(unwrap);
228243
+ }));
228076
228244
  return succeed$4([fromWeb(request, new Response()), stream]);
228077
228245
  } }).pipe(add$3(ResponseIdTracker, tracker));
228078
228246
  });
@@ -228100,7 +228268,7 @@ const decodeEvent = /* @__PURE__ */ decodeUnknownSync(/* @__PURE__ */ fromJsonSt
228100
228268
  */
228101
228269
  const layerWebSocketMode = /* @__PURE__ */ effectServices(makeSocket);
228102
228270
  //#endregion
228103
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
228271
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
228104
228272
  /**
228105
228273
  * The `EmbeddingModel` module provides provider-agnostic text embedding capabilities.
228106
228274
  *
@@ -228199,7 +228367,7 @@ const mapProviderResults = (inputLength, results) => {
228199
228367
  return succeed$4(embeddings);
228200
228368
  };
228201
228369
  //#endregion
228202
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
228370
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
228203
228371
  /**
228204
228372
  * OpenAI Embedding Model implementation.
228205
228373
  *
@@ -228279,7 +228447,7 @@ const invalidOutput = (description) => make$15({
228279
228447
  reason: new InvalidOutputError({ description })
228280
228448
  });
228281
228449
  //#endregion
228282
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
228450
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
228283
228451
  /**
228284
228452
  * Provides codec transformations for OpenAI structured output.
228285
228453
  *
@@ -228316,7 +228484,7 @@ function toCodecOpenAI(schema) {
228316
228484
  const to = schema.ast;
228317
228485
  const from = recurOpenAI(toEncoded$1(to));
228318
228486
  const codec = from === to ? schema : make$64(decodeTo$1(from, to, passthrough()));
228319
- const document = toJsonSchemaDocument(codec);
228487
+ const document = resolveTopLevel$ref(toJsonSchemaDocument(codec));
228320
228488
  const jsonSchema = rewriteOpenAI(document.schema);
228321
228489
  if (Object.keys(document.definitions).length > 0) jsonSchema.$defs = map$15(document.definitions, rewriteOpenAI);
228322
228490
  return {
@@ -228585,7 +228753,7 @@ const formats = [
228585
228753
  "uuid"
228586
228754
  ];
228587
228755
  //#endregion
228588
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/internal/utilities.js
228756
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/internal/utilities.js
228589
228757
  const finishReasonMap$1 = {
228590
228758
  content_filter: "content-filter",
228591
228759
  function_call: "tool-calls",
@@ -228603,7 +228771,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
228603
228771
  return reason;
228604
228772
  };
228605
228773
  //#endregion
228606
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
228774
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
228607
228775
  /**
228608
228776
  * OpenAI telemetry attributes for OpenTelemetry integration.
228609
228777
  *
@@ -228632,7 +228800,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
228632
228800
  }
228633
228801
  });
228634
228802
  //#endregion
228635
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
228803
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
228636
228804
  /**
228637
228805
  * OpenAI Language Model implementation.
228638
228806
  *
@@ -230404,7 +230572,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
230404
230572
  })));
230405
230573
  });
230406
230574
  //#endregion
230407
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/CodexAuth.js
230575
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/CodexAuth.js
230408
230576
  /**
230409
230577
  * @since 1.0.0
230410
230578
  */
@@ -230624,7 +230792,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
230624
230792
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
230625
230793
  };
230626
230794
  //#endregion
230627
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/Codex.js
230795
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/Codex.js
230628
230796
  /**
230629
230797
  * @since 1.0.0
230630
230798
  */
@@ -230650,7 +230818,7 @@ const layerModel = (model, options) => layer$7({
230650
230818
  }
230651
230819
  }).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
230652
230820
  //#endregion
230653
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/CodeChunker.js
230821
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/CodeChunker.js
230654
230822
  /**
230655
230823
  * @since 1.0.0
230656
230824
  */
@@ -231124,7 +231292,7 @@ const layer$6 = effect$1(CodeChunker, gen(function* () {
231124
231292
  });
231125
231293
  }));
231126
231294
  //#endregion
231127
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
231295
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
231128
231296
  /** @internal */
231129
231297
  const OpenAiErrorBody = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
231130
231298
  message: String$1,
@@ -231332,7 +231500,7 @@ const mapStatusCodeToReason = ({ status, headers, message, metadata, http }) =>
231332
231500
  }
231333
231501
  };
231334
231502
  //#endregion
231335
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
231503
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
231336
231504
  /**
231337
231505
  * @since 1.0.0
231338
231506
  */
@@ -231347,7 +231515,7 @@ var OpenAiConfig = class OpenAiConfig extends Service$1()("@effect/ai-openai-com
231347
231515
  static getOrUndefined = /* @__PURE__ */ map$10(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig.key));
231348
231516
  };
231349
231517
  //#endregion
231350
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
231518
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
231351
231519
  /**
231352
231520
  * @since 1.0.0
231353
231521
  */
@@ -231483,7 +231651,7 @@ const decodeChatCompletionSseData = (data) => {
231483
231651
  return isChatCompletionChunk(parsed) ? parsed : void 0;
231484
231652
  };
231485
231653
  //#endregion
231486
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
231654
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
231487
231655
  const finishReasonMap = {
231488
231656
  content_filter: "content-filter",
231489
231657
  function_call: "tool-calls",
@@ -231499,7 +231667,7 @@ const resolveFinishReason = (finishReason, hasToolCalls) => {
231499
231667
  return reason;
231500
231668
  };
231501
231669
  //#endregion
231502
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
231670
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
231503
231671
  /**
231504
231672
  * OpenAI telemetry attributes for OpenTelemetry integration.
231505
231673
  *
@@ -231528,7 +231696,7 @@ const addGenAIAnnotations = /* @__PURE__ */ dual(2, (span, options) => {
231528
231696
  }
231529
231697
  });
231530
231698
  //#endregion
231531
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
231699
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
231532
231700
  /**
231533
231701
  * OpenAI Language Model implementation.
231534
231702
  *
@@ -232410,7 +232578,7 @@ const getUsageDetailNumber = (details, field) => {
232410
232578
  return typeof value === "number" ? value : void 0;
232411
232579
  };
232412
232580
  //#endregion
232413
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/CopilotAuth.js
232581
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/CopilotAuth.js
232414
232582
  /**
232415
232583
  * @since 1.0.0
232416
232584
  */
@@ -232601,7 +232769,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
232601
232769
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
232602
232770
  };
232603
232771
  //#endregion
232604
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/Copilot.js
232772
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/Copilot.js
232605
232773
  /**
232606
232774
  * @since 1.0.0
232607
232775
  */
@@ -233021,7 +233189,7 @@ Object.defineProperties(createChalk.prototype, styles);
233021
233189
  const chalk = createChalk();
233022
233190
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
233023
233191
  //#endregion
233024
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/OutputFormatter.js
233192
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/OutputFormatter.js
233025
233193
  /**
233026
233194
  * @since 1.0.0
233027
233195
  */
@@ -233127,7 +233295,7 @@ const layerMuxer = (formatter) => effect$1(Muxer, gen(function* () {
233127
233295
  });
233128
233296
  }));
233129
233297
  //#endregion
233130
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/schema/VariantSchema.js
233298
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/schema/VariantSchema.js
233131
233299
  /**
233132
233300
  * @since 4.0.0
233133
233301
  * @category Type IDs
@@ -233235,7 +233403,7 @@ const Union$1 = (members, variants) => {
233235
233403
  return VariantUnion;
233236
233404
  };
233237
233405
  //#endregion
233238
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/schema/Model.js
233406
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/schema/Model.js
233239
233407
  const { Class, Field, FieldExcept, FieldOnly, Struct, Union, extract, fieldEvolve } = /* @__PURE__ */ make$1({
233240
233408
  variants: [
233241
233409
  "select",
@@ -233261,7 +233429,7 @@ const Generated = (schema) => Field({
233261
233429
  json: schema
233262
233430
  });
233263
233431
  //#endregion
233264
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/SqlResolver.js
233432
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/SqlResolver.js
233265
233433
  /**
233266
233434
  * @since 4.0.0
233267
233435
  */
@@ -233409,7 +233577,7 @@ function transactionKey(entry) {
233409
233577
  return byReferenceUnsafe(conn);
233410
233578
  }
233411
233579
  //#endregion
233412
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/SqlSchema.js
233580
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/SqlSchema.js
233413
233581
  /**
233414
233582
  * Run a sql query with a request schema and a result schema.
233415
233583
  *
@@ -233422,7 +233590,7 @@ const findAll = (options) => {
233422
233590
  return (request) => flatMap$5(flatMap$5(encodeRequest(request), options.execute), decode);
233423
233591
  };
233424
233592
  //#endregion
233425
- //#region node_modules/.pnpm/effect@4.0.0-beta.42/node_modules/effect/dist/unstable/sql/SqlModel.js
233593
+ //#region node_modules/.pnpm/effect@4.0.0-beta.43/node_modules/effect/dist/unstable/sql/SqlModel.js
233426
233594
  /**
233427
233595
  * Create some simple data loaders from a model.
233428
233596
  *
@@ -233471,7 +233639,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
233471
233639
  };
233472
233640
  });
233473
233641
  //#endregion
233474
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/ChunkRepo.js
233642
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/ChunkRepo.js
233475
233643
  /**
233476
233644
  * @since 1.0.0
233477
233645
  * @category Models
@@ -233602,7 +233770,7 @@ const layer$3 = effect$1(ChunkRepo, gen(function* () {
233602
233770
  });
233603
233771
  }));
233604
233772
  //#endregion
233605
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
233773
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
233606
233774
  /**
233607
233775
  * @since 1.0.0
233608
233776
  */
@@ -233725,7 +233893,7 @@ const make = (options) => gen(function* () {
233725
233893
  */
233726
233894
  const layer$2 = (config) => effectServices(map$10(make(config), (client) => make$89(SqliteClient, client).pipe(add$3(SqlClient, client)))).pipe(provide$3(layer$32));
233727
233895
  //#endregion
233728
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.42_effect@4.0.0-beta.42/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
233896
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.43_effect@4.0.0-beta.43/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
233729
233897
  /**
233730
233898
  * @category constructor
233731
233899
  * @since 1.0.0
@@ -233737,7 +233905,7 @@ const run$1 = /* @__PURE__ */ make$25({});
233737
233905
  */
233738
233906
  const layer$1 = (options) => effectDiscard(run$1(options));
233739
233907
  //#endregion
233740
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/internal/sqlite-vector.js
233908
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/internal/sqlite-vector.js
233741
233909
  /**
233742
233910
  * Binary extension for each platform
233743
233911
  */
@@ -233854,7 +234022,7 @@ function getExtensionPath() {
233854
234022
  throw new ExtensionNotFoundError(`SQLite Vector extension not found for platform: ${getCurrentPlatform()}\n\nThe platform-specific package "${getPlatformPackageName()}" is not installed.\nThis usually happens when:\n 1. Your platform is not supported\n 2. npm failed to install optional dependencies\n 3. You're installing with --no-optional flag\n\nTry running: npm install --force`);
233855
234023
  }
233856
234024
  //#endregion
233857
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/Sqlite.js
234025
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/Sqlite.js
233858
234026
  /**
233859
234027
  * @since 1.0.0
233860
234028
  */
@@ -233882,7 +234050,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
233882
234050
  yield* fs.makeDirectory(directory, { recursive: true });
233883
234051
  }))));
233884
234052
  //#endregion
233885
- //#region node_modules/.pnpm/clanka@0.2.47_@effect+ai-openai-compat@4.0.0-beta.42_effect@4.0.0-beta.42__@effect+ai-o_44c6bb3103ca5aa236afb4ef52b52c58/node_modules/clanka/dist/SemanticSearch.js
234053
+ //#region node_modules/.pnpm/clanka@0.2.49_@effect+ai-openai-compat@4.0.0-beta.43_effect@4.0.0-beta.43__@effect+ai-o_3a2c1e7582815b20ac31aeba1722d03f/node_modules/clanka/dist/SemanticSearch.js
233886
234054
  /**
233887
234055
  * @since 1.0.0
233888
234056
  */
@@ -241983,6 +242151,7 @@ const welcomeWizard = gen(function* () {
241983
242151
  return yield* addOrUpdateProject();
241984
242152
  });
241985
242153
  const addOrUpdateProject = fnUntraced(function* (existing, fromPlanMode = false) {
242154
+ const pathService = yield* Path$1;
241986
242155
  const projects = yield* getAllProjects;
241987
242156
  const id = existing ? existing.id : yield* text$2({
241988
242157
  message: "Project name",
@@ -242025,7 +242194,11 @@ const addOrUpdateProject = fnUntraced(function* (existing, fromPlanMode = false)
242025
242194
  ]
242026
242195
  });
242027
242196
  let ralphSpec = none$4();
242028
- if (gitFlow === "ralph" && !fromPlanMode) ralphSpec = yield* file$3({ message: "Path to Ralph spec file" }).pipe(fromYieldable, map$10(some$2));
242197
+ if (gitFlow === "ralph" && !fromPlanMode) {
242198
+ const cwd = pathService.resolve(".");
242199
+ const relativeRoot = pipe$1(yield* findProjectRoot(cwd), getOrElse$2(() => cwd));
242200
+ ralphSpec = yield* file$3({ message: "Path to Ralph spec file" }).pipe(fromYieldable, map$10((selectedPath) => pathService.relative(relativeRoot, selectedPath)), map$10(some$2));
242201
+ }
242029
242202
  const researchAgent = yield* toggle({
242030
242203
  message: "Enable research agent?",
242031
242204
  initial: existing ? existing.researchAgent : false
@@ -243563,7 +243736,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
243563
243736
  const commandSource = make$60("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
243564
243737
  //#endregion
243565
243738
  //#region package.json
243566
- var version = "0.3.122";
243739
+ var version = "0.3.123";
243567
243740
  //#endregion
243568
243741
  //#region src/Tracing.ts
243569
243742
  const TracingLayer = unwrap$3(gen(function* () {