lalph 0.3.105 → 0.3.107

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.37/node_modules/effect/dist/Pipeable.js
68
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Function.js
127
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/internal/equal.js
410
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Predicate.js
429
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Hash.js
1078
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Equal.js
1427
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Redactable.js
1697
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Formatter.js
1791
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Inspectable.js
2133
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Utils.js
2336
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/internal/core.js
2414
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Data.js
2813
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/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.37/node_modules/effect/dist/Equivalence.js
3046
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Equivalence.js
3047
3047
  /**
3048
3048
  * Creates a custom equivalence relation with an optimized reference equality check.
3049
3049
  *
@@ -3265,7 +3265,7 @@ function Array$4(item) {
3265
3265
  });
3266
3266
  }
3267
3267
  //#endregion
3268
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/option.js
3268
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/option.js
3269
3269
  /**
3270
3270
  * @since 2.0.0
3271
3271
  */
@@ -3340,7 +3340,7 @@ const some$3 = (value) => {
3340
3340
  return a;
3341
3341
  };
3342
3342
  //#endregion
3343
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/result.js
3343
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/result.js
3344
3344
  const TypeId$78 = "~effect/data/Result";
3345
3345
  const CommonProto = {
3346
3346
  [TypeId$78]: {
@@ -3415,7 +3415,7 @@ const succeed$10 = (success) => {
3415
3415
  return a;
3416
3416
  };
3417
3417
  //#endregion
3418
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Order.js
3418
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Order.js
3419
3419
  /**
3420
3420
  * This module provides the `Order` type class for defining total orderings on types.
3421
3421
  * An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
@@ -3753,7 +3753,7 @@ const isGreaterThanOrEqualTo$3 = (O) => dual(2, (self, that) => O(self, that) !=
3753
3753
  */
3754
3754
  const min$3 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
3755
3755
  //#endregion
3756
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Option.js
3756
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Option.js
3757
3757
  /**
3758
3758
  * Creates an `Option` representing the absence of a value.
3759
3759
  *
@@ -4611,7 +4611,7 @@ const makeEquivalence$6 = (isEquivalent) => make$92((x, y) => isNone(x) ? isNone
4611
4611
  */
4612
4612
  const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
4613
4613
  //#endregion
4614
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Duration.js
4614
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Duration.js
4615
4615
  const TypeId$77 = "~effect/time/Duration";
4616
4616
  const bigint0$2 = /* @__PURE__ */ BigInt(0);
4617
4617
  const bigint24 = /* @__PURE__ */ BigInt(24);
@@ -5332,14 +5332,14 @@ const format$3 = (self) => {
5332
5332
  return pieces.join(" ");
5333
5333
  };
5334
5334
  //#endregion
5335
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/array.js
5335
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/array.js
5336
5336
  /**
5337
5337
  * @since 2.0.0
5338
5338
  */
5339
5339
  /** @internal */
5340
5340
  const isArrayNonEmpty$1 = (self) => self.length > 0;
5341
5341
  //#endregion
5342
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Result.js
5342
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Result.js
5343
5343
  /**
5344
5344
  * Creates a `Result` holding a `Success` value.
5345
5345
  *
@@ -5549,7 +5549,7 @@ const map$16 = /* @__PURE__ */ dual(2, (self, f) => isSuccess$5(self) ? succeed$
5549
5549
  */
5550
5550
  const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure) => isFailure$4(self) ? onFailure(self.failure) : self.success))(constUndefined);
5551
5551
  //#endregion
5552
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Tuple.js
5552
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Tuple.js
5553
5553
  /**
5554
5554
  * Creates an `Equivalence` for tuples by comparing corresponding elements
5555
5555
  * using the provided per-position `Equivalence`s. Two tuples are equivalent
@@ -5580,7 +5580,7 @@ const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailu
5580
5580
  */
5581
5581
  const makeEquivalence$5 = Tuple$2;
5582
5582
  //#endregion
5583
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Iterable.js
5583
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Iterable.js
5584
5584
  /**
5585
5585
  * Return the number of elements in a `Iterable`.
5586
5586
  *
@@ -5732,7 +5732,7 @@ const constEmptyIterator = { next() {
5732
5732
  */
5733
5733
  const empty$19 = () => constEmpty;
5734
5734
  //#endregion
5735
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Record.js
5735
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Record.js
5736
5736
  /**
5737
5737
  * Creates a new, empty record.
5738
5738
  *
@@ -5896,7 +5896,7 @@ const makeEquivalence$4 = (equivalence) => {
5896
5896
  return (self, that) => is(self, that) && is(that, self);
5897
5897
  };
5898
5898
  //#endregion
5899
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Array.js
5899
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Array.js
5900
5900
  /**
5901
5901
  * Utilities for working with immutable arrays (and non-empty arrays) in a
5902
5902
  * functional style. All functions treat arrays as immutable — they return new
@@ -6730,7 +6730,7 @@ const composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
6730
6730
  return rightOut;
6731
6731
  });
6732
6732
  //#endregion
6733
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ServiceMap.js
6733
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ServiceMap.js
6734
6734
  const ServiceTypeId = "~effect/ServiceMap/Service";
6735
6735
  /**
6736
6736
  * @example
@@ -7260,7 +7260,7 @@ const withMapUnsafe = (self, f) => {
7260
7260
  */
7261
7261
  const Reference = Service$1;
7262
7262
  //#endregion
7263
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Scheduler.js
7263
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Scheduler.js
7264
7264
  /**
7265
7265
  * @since 4.0.0
7266
7266
  * @category references
@@ -7394,7 +7394,7 @@ const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBefo
7394
7394
  */
7395
7395
  const PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
7396
7396
  //#endregion
7397
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Tracer.js
7397
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Tracer.js
7398
7398
  /**
7399
7399
  * @since 2.0.0
7400
7400
  * @category tags
@@ -7578,7 +7578,7 @@ const randomHexString = /* @__PURE__ */ function() {
7578
7578
  };
7579
7579
  }();
7580
7580
  //#endregion
7581
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/References.js
7581
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/References.js
7582
7582
  /**
7583
7583
  * This module provides a collection of reference implementations for commonly used
7584
7584
  * Effect runtime configuration values. These references allow you to access and
@@ -8040,11 +8040,11 @@ const MinimumLogLevel = /* @__PURE__ */ Reference("effect/References/MinimumLogL
8040
8040
  */
8041
8041
  const CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
8042
8042
  //#endregion
8043
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/metric.js
8043
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/metric.js
8044
8044
  /** @internal */
8045
8045
  const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
8046
8046
  //#endregion
8047
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/tracer.js
8047
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/tracer.js
8048
8048
  /** @internal */
8049
8049
  const addSpanStackTrace = (options) => {
8050
8050
  if (options?.captureStackTrace === false) return options;
@@ -8074,7 +8074,7 @@ const makeStackCleaner = (line) => (stack) => {
8074
8074
  };
8075
8075
  const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
8076
8076
  //#endregion
8077
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/effect.js
8077
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/effect.js
8078
8078
  /** @internal */
8079
8079
  var Interrupt$1 = class extends ReasonBase {
8080
8080
  fiberId;
@@ -10327,7 +10327,7 @@ const asVoid$1 = exitAsVoid;
10327
10327
  */
10328
10328
  const getSuccess = exitGetSuccess;
10329
10329
  //#endregion
10330
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Deferred.js
10330
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Deferred.js
10331
10331
  const DeferredProto = {
10332
10332
  ["~effect/Deferred"]: {
10333
10333
  _A: identity,
@@ -10812,7 +10812,7 @@ const close = scopeClose;
10812
10812
  */
10813
10813
  const closeUnsafe = scopeCloseUnsafe;
10814
10814
  //#endregion
10815
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Layer.js
10815
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Layer.js
10816
10816
  const TypeId$75 = "~effect/Layer";
10817
10817
  const MemoMapTypeId = "~effect/Layer/MemoMap";
10818
10818
  /**
@@ -11859,7 +11859,7 @@ const makeUnimplemented = (error) => {
11859
11859
  const StreamTypeId$1 = "~effect/Stream";
11860
11860
  const ChannelTypeId = "~effect/Channel";
11861
11861
  //#endregion
11862
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ExecutionPlan.js
11862
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ExecutionPlan.js
11863
11863
  /**
11864
11864
  * @since 3.16.0
11865
11865
  * @category Type IDs
@@ -12452,7 +12452,7 @@ const UnknownError$2 = UnknownError$3;
12452
12452
  */
12453
12453
  var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
12454
12454
  //#endregion
12455
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Clock.js
12455
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Clock.js
12456
12456
  /**
12457
12457
  * A reference to the current Clock service in the environment.
12458
12458
  *
@@ -12471,7 +12471,7 @@ var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
12471
12471
  */
12472
12472
  const Clock = ClockRef;
12473
12473
  //#endregion
12474
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/dateTime.js
12474
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/dateTime.js
12475
12475
  /** @internal */
12476
12476
  const TypeId$72 = "~effect/time/DateTime";
12477
12477
  /** @internal */
@@ -12754,7 +12754,7 @@ const formatIsoOffset$1 = (self) => {
12754
12754
  /** @internal */
12755
12755
  const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
12756
12756
  //#endregion
12757
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Number.js
12757
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Number.js
12758
12758
  /**
12759
12759
  * This module provides utility functions and type class instances for working with the `number` type in TypeScript.
12760
12760
  * It includes functions for basic arithmetic operations.
@@ -12923,7 +12923,7 @@ const isNonEmpty$1 = (self) => self.length > 0;
12923
12923
  */
12924
12924
  const camelToSnake = (self) => self.replace(/([A-Z])/g, "_$1").toLowerCase();
12925
12925
  //#endregion
12926
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/random.js
12926
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/random.js
12927
12927
  /** @internal */
12928
12928
  const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () => ({
12929
12929
  nextIntUnsafe() {
@@ -12934,7 +12934,7 @@ const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () =
12934
12934
  }
12935
12935
  }) });
12936
12936
  //#endregion
12937
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Pull.js
12937
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Pull.js
12938
12938
  /**
12939
12939
  * @since 4.0.0
12940
12940
  */
@@ -13008,7 +13008,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
13008
13008
  }
13009
13009
  }));
13010
13010
  //#endregion
13011
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Schedule.js
13011
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Schedule.js
13012
13012
  /**
13013
13013
  * This module provides utilities for creating and composing schedules for retrying operations,
13014
13014
  * repeating effects, and implementing various timing strategies.
@@ -13549,12 +13549,12 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$13(toSt
13549
13549
  */
13550
13550
  const forever$1 = /* @__PURE__ */ spaced(zero$1);
13551
13551
  //#endregion
13552
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/layer.js
13552
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/layer.js
13553
13553
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$7(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$3(self, context)));
13554
13554
  /** @internal */
13555
13555
  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));
13556
13556
  //#endregion
13557
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/schedule.js
13557
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/schedule.js
13558
13558
  /** @internal */
13559
13559
  const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$7(toStepWithMetadata(schedule), (step) => {
13560
13560
  let meta = CurrentMetadata.defaultValue();
@@ -13599,7 +13599,7 @@ const buildFromOptions = (options) => {
13599
13599
  return schedule;
13600
13600
  };
13601
13601
  //#endregion
13602
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Request.js
13602
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Request.js
13603
13603
  const TypeId$70 = "~effect/Request";
13604
13604
  const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
13605
13605
  _E: (_) => _,
@@ -13666,7 +13666,7 @@ const TaggedClass$1 = (tag) => {
13666
13666
  */
13667
13667
  const makeEntry = (options) => options;
13668
13668
  //#endregion
13669
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/request.js
13669
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/request.js
13670
13670
  /** @internal */
13671
13671
  const request$3 = /* @__PURE__ */ dual(2, (self, resolver) => {
13672
13672
  const withResolver = (resolver) => callback$2((resume) => {
@@ -18407,7 +18407,7 @@ const catchEager = catchEager$1;
18407
18407
  */
18408
18408
  const fnUntracedEager = fnUntracedEager$1;
18409
18409
  //#endregion
18410
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/record.js
18410
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/record.js
18411
18411
  /**
18412
18412
  * @since 4.0.0
18413
18413
  */
@@ -18423,7 +18423,7 @@ function set$10(self, key, value) {
18423
18423
  return self;
18424
18424
  }
18425
18425
  //#endregion
18426
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/schema/annotations.js
18426
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/schema/annotations.js
18427
18427
  /** @internal */
18428
18428
  function resolve$5(ast) {
18429
18429
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -18778,7 +18778,7 @@ const subtract = subtract$1;
18778
18778
  */
18779
18779
  const formatIso = formatIso$1;
18780
18780
  //#endregion
18781
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Encoding.js
18781
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Encoding.js
18782
18782
  /**
18783
18783
  * Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
18784
18784
  *
@@ -19164,7 +19164,7 @@ const base64codes = [
19164
19164
  ];
19165
19165
  const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
19166
19166
  //#endregion
19167
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/redacted.js
19167
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/redacted.js
19168
19168
  /** @internal */
19169
19169
  const redactedRegistry = /* @__PURE__ */ new WeakMap();
19170
19170
  /** @internal */
@@ -19175,7 +19175,7 @@ const value$3 = (self) => {
19175
19175
  /** @internal */
19176
19176
  const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
19177
19177
  //#endregion
19178
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Redacted.js
19178
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Redacted.js
19179
19179
  /**
19180
19180
  * The Redacted module provides functionality for handling sensitive information
19181
19181
  * securely within your application. By using the `Redacted` data type, you can
@@ -19281,7 +19281,7 @@ const value$2 = value$3;
19281
19281
  */
19282
19282
  const makeEquivalence$2 = (isEquivalent) => make$92((x, y) => isEquivalent(value$2(x), value$2(y)));
19283
19283
  //#endregion
19284
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SchemaIssue.js
19284
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SchemaIssue.js
19285
19285
  const TypeId$68 = "~effect/SchemaIssue/Issue";
19286
19286
  /**
19287
19287
  * Returns `true` if the given value is an {@link Issue}.
@@ -20024,7 +20024,7 @@ function redact$2(issue) {
20024
20024
  }
20025
20025
  }
20026
20026
  //#endregion
20027
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SchemaGetter.js
20027
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SchemaGetter.js
20028
20028
  /**
20029
20029
  * Composable transformation primitives for the Effect Schema system.
20030
20030
  *
@@ -20999,7 +20999,7 @@ const isZero = (n) => n.value === bigint0;
20999
20999
  */
21000
21000
  const isNegative = (n) => n.value < bigint0;
21001
21001
  //#endregion
21002
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SchemaTransformation.js
21002
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SchemaTransformation.js
21003
21003
  /**
21004
21004
  * Bidirectional transformations for the Effect Schema system.
21005
21005
  *
@@ -21611,7 +21611,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
21611
21611
  encode: (utc) => succeed$4(formatIso(utc))
21612
21612
  });
21613
21613
  //#endregion
21614
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SchemaAST.js
21614
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SchemaAST.js
21615
21615
  /**
21616
21616
  * Abstract Syntax Tree (AST) representation for Effect schemas.
21617
21617
  *
@@ -23635,7 +23635,7 @@ const unknownToStringTree = /* @__PURE__ */ new Link(/* @__PURE__ */ new Declara
23635
23635
  toCodecStringTree: () => new Link(unknown$1, passthrough())
23636
23636
  }), /* @__PURE__ */ passthrough());
23637
23637
  //#endregion
23638
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Brand.js
23638
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Brand.js
23639
23639
  /**
23640
23640
  * This function returns a `Constructor` that **does not apply any runtime
23641
23641
  * checks**, it just returns the provided value. It can be used to create
@@ -23656,7 +23656,7 @@ function nominal() {
23656
23656
  });
23657
23657
  }
23658
23658
  //#endregion
23659
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/PlatformError.js
23659
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/PlatformError.js
23660
23660
  /**
23661
23661
  * @since 4.0.0
23662
23662
  */
@@ -23716,7 +23716,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
23716
23716
  */
23717
23717
  const badArgument = (options) => new PlatformError(new BadArgument(options));
23718
23718
  //#endregion
23719
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Chunk.js
23719
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Chunk.js
23720
23720
  /**
23721
23721
  * The `Chunk` module provides an immutable, high-performance sequence data structure
23722
23722
  * optimized for functional programming patterns. A `Chunk` is a persistent data structure
@@ -24359,7 +24359,7 @@ const getCurrent = getCurrentFiber;
24359
24359
  */
24360
24360
  const runIn = fiberRunIn;
24361
24361
  //#endregion
24362
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Latch.js
24362
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Latch.js
24363
24363
  /**
24364
24364
  * Creates a new Latch unsafely.
24365
24365
  *
@@ -24431,7 +24431,7 @@ const makeUnsafe$10 = makeLatchUnsafe;
24431
24431
  */
24432
24432
  const make$79 = makeLatch;
24433
24433
  //#endregion
24434
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/MutableList.js
24434
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/MutableList.js
24435
24435
  /**
24436
24436
  * @fileoverview
24437
24437
  * MutableList is an efficient, mutable linked list implementation optimized for high-throughput
@@ -25013,7 +25013,7 @@ const filter$4 = (self, f) => {
25013
25013
  */
25014
25014
  const remove$6 = (self, value) => filter$4(self, (v) => v !== value);
25015
25015
  //#endregion
25016
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/MutableRef.js
25016
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/MutableRef.js
25017
25017
  const TypeId$62 = "~effect/MutableRef";
25018
25018
  const MutableRefProto = {
25019
25019
  [TypeId$62]: TypeId$62,
@@ -25167,9 +25167,9 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
25167
25167
  * @since 2.0.0
25168
25168
  * @category general
25169
25169
  */
25170
- const update = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$15(self))));
25170
+ const update$1 = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$15(self))));
25171
25171
  //#endregion
25172
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/PubSub.js
25172
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/PubSub.js
25173
25173
  /**
25174
25174
  * This module provides utilities for working with publish-subscribe (PubSub) systems.
25175
25175
  *
@@ -26607,7 +26607,7 @@ const emptyReplayWindow = {
26607
26607
  takeAll: () => []
26608
26608
  };
26609
26609
  //#endregion
26610
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Queue.js
26610
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Queue.js
26611
26611
  /**
26612
26612
  * @since 3.8.0
26613
26613
  */
@@ -27426,7 +27426,7 @@ const finalize$1 = (self, exit) => {
27426
27426
  openState.awaiters.clear();
27427
27427
  };
27428
27428
  //#endregion
27429
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Semaphore.js
27429
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Semaphore.js
27430
27430
  /**
27431
27431
  * Unsafely creates a new Semaphore.
27432
27432
  *
@@ -27576,14 +27576,14 @@ var SemaphoreImpl = class {
27576
27576
  */
27577
27577
  const make$74 = (permits) => sync$2(() => new SemaphoreImpl(permits));
27578
27578
  //#endregion
27579
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Take.js
27579
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Take.js
27580
27580
  /**
27581
27581
  * @since 4.0.0
27582
27582
  * @category Conversions
27583
27583
  */
27584
27584
  const toPull$2 = (take) => isExit(take) ? isSuccess$3(take) ? done(take.value) : take : succeed$4(take);
27585
27585
  //#endregion
27586
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Channel.js
27586
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Channel.js
27587
27587
  /**
27588
27588
  * The `Channel` module provides a powerful abstraction for bi-directional communication
27589
27589
  * and streaming operations. A `Channel` is a nexus of I/O operations that supports both
@@ -29329,7 +29329,7 @@ const toPubSubTake$1 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(functi
29329
29329
  return pubsub;
29330
29330
  }));
29331
29331
  //#endregion
29332
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/stream.js
29332
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/stream.js
29333
29333
  const TypeId$58 = "~effect/Stream";
29334
29334
  const streamVariance = {
29335
29335
  _R: identity,
@@ -29349,7 +29349,7 @@ const fromChannel$2 = (channel) => {
29349
29349
  return self;
29350
29350
  };
29351
29351
  //#endregion
29352
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Sink.js
29352
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Sink.js
29353
29353
  const TypeId$57 = "~effect/Sink";
29354
29354
  const endVoid = /* @__PURE__ */ succeed$4([void 0]);
29355
29355
  const sinkVariance = {
@@ -29526,7 +29526,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$5(
29526
29526
  */
29527
29527
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$10(effect, toChannel$1)));
29528
29528
  //#endregion
29529
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/MutableHashMap.js
29529
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/MutableHashMap.js
29530
29530
  const TypeId$56 = "~effect/collections/MutableHashMap";
29531
29531
  const MutableHashMapProto = {
29532
29532
  [TypeId$56]: TypeId$56,
@@ -29902,7 +29902,7 @@ const forEach$2 = /* @__PURE__ */ dual(2, (self, f) => {
29902
29902
  self.backing.forEach(f);
29903
29903
  });
29904
29904
  //#endregion
29905
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/RcMap.js
29905
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/RcMap.js
29906
29906
  /**
29907
29907
  * @since 3.5.0
29908
29908
  */
@@ -30100,7 +30100,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
30100
30100
  yield* close(entry.scope, void_$3);
30101
30101
  }, uninterruptible));
30102
30102
  //#endregion
30103
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/rcRef.js
30103
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/rcRef.js
30104
30104
  const TypeId$54 = "~effect/RcRef";
30105
30105
  const stateEmpty = { _tag: "Empty" };
30106
30106
  const stateClosed = { _tag: "Closed" };
@@ -30188,7 +30188,7 @@ const get$12 = /* @__PURE__ */ fnUntraced(function* (self_) {
30188
30188
  return state.value;
30189
30189
  });
30190
30190
  //#endregion
30191
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/RcRef.js
30191
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/RcRef.js
30192
30192
  /**
30193
30193
  * Create an `RcRef` from an acquire `Effect`.
30194
30194
  *
@@ -30257,7 +30257,7 @@ const make$70 = make$71;
30257
30257
  */
30258
30258
  const get$11 = get$12;
30259
30259
  //#endregion
30260
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Stream.js
30260
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Stream.js
30261
30261
  /**
30262
30262
  * @since 2.0.0
30263
30263
  */
@@ -32279,7 +32279,7 @@ const runIntoPubSub = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, p
32279
32279
  */
32280
32280
  const toPubSubTake = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake$1(self.channel, options));
32281
32281
  //#endregion
32282
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/FileSystem.js
32282
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/FileSystem.js
32283
32283
  /**
32284
32284
  * This module provides a comprehensive file system abstraction that supports both synchronous
32285
32285
  * and asynchronous file operations through Effect. It includes utilities for file I/O, directory
@@ -32503,7 +32503,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
32503
32503
  */
32504
32504
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
32505
32505
  //#endregion
32506
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Path.js
32506
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Path.js
32507
32507
  /**
32508
32508
  * @since 4.0.0
32509
32509
  */
@@ -32927,7 +32927,7 @@ const posixImpl = /* @__PURE__ */ Path$1.of({
32927
32927
  toNamespacedPath: identity
32928
32928
  });
32929
32929
  //#endregion
32930
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ConfigProvider.js
32930
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ConfigProvider.js
32931
32931
  /**
32932
32932
  * Creates a `Value` node representing a terminal string leaf.
32933
32933
  *
@@ -33233,7 +33233,7 @@ function trieNodeAt(root, path) {
33233
33233
  */
33234
33234
  const isLessThan$1 = /* @__PURE__ */ isLessThan$4(LogLevelOrder);
33235
33235
  //#endregion
33236
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/hashMap.js
33236
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/hashMap.js
33237
33237
  /**
33238
33238
  * @since 2.0.0
33239
33239
  */
@@ -33817,7 +33817,7 @@ const set$6 = set$7;
33817
33817
  */
33818
33818
  const remove$3 = remove$4;
33819
33819
  //#endregion
33820
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Struct.js
33820
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Struct.js
33821
33821
  /**
33822
33822
  * Creates a new struct containing only the specified keys.
33823
33823
  *
@@ -33955,7 +33955,7 @@ function buildStruct(source, f) {
33955
33955
  return out;
33956
33956
  }
33957
33957
  //#endregion
33958
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/UndefinedOr.js
33958
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/UndefinedOr.js
33959
33959
  /**
33960
33960
  * @since 4.0.0
33961
33961
  */
@@ -33965,7 +33965,7 @@ const map$5 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(
33965
33965
  */
33966
33966
  const match$1 = /* @__PURE__ */ dual(2, (self, { onDefined, onUndefined }) => self === void 0 ? onUndefined() : onDefined(self));
33967
33967
  //#endregion
33968
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SchemaParser.js
33968
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SchemaParser.js
33969
33969
  /**
33970
33970
  * @since 4.0.0
33971
33971
  */
@@ -33997,7 +33997,10 @@ const recurDefaults = /* @__PURE__ */ memoize$1((ast) => {
33997
33997
  function makeEffect$1(schema) {
33998
33998
  const parser = run$7(recurDefaults(toType$1(schema.ast)));
33999
33999
  return (input, options) => {
34000
- return parser(input, options?.parseOptions);
34000
+ return parser(input, options?.disableChecks ? options?.parseOptions ? {
34001
+ ...options.parseOptions,
34002
+ disableChecks: true
34003
+ } : { disableChecks: true } : options?.parseOptions);
34001
34004
  };
34002
34005
  }
34003
34006
  /**
@@ -34146,7 +34149,7 @@ const recur$1 = /* @__PURE__ */ memoize$1((ast) => {
34146
34149
  }
34147
34150
  parser ??= ast.getParser(recur$1);
34148
34151
  let sroa = srou ? flatMapEager(srou, (ou) => parser(ou, options)) : parser(ou, options);
34149
- if (ast.checks) {
34152
+ if (ast.checks && !options?.disableChecks) {
34150
34153
  const checks = ast.checks;
34151
34154
  if (options?.errors === "all" && isStructural && isSome(ou)) sroa = catchEager(sroa, (issue) => {
34152
34155
  const issues = [];
@@ -34167,7 +34170,7 @@ const recur$1 = /* @__PURE__ */ memoize$1((ast) => {
34167
34170
  };
34168
34171
  });
34169
34172
  //#endregion
34170
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/JsonPointer.js
34173
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/JsonPointer.js
34171
34174
  /**
34172
34175
  * Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
34173
34176
  *
@@ -34260,7 +34263,7 @@ function escapeToken(token) {
34260
34263
  return token.replace(/~/g, "~0").replace(/\//g, "~1");
34261
34264
  }
34262
34265
  //#endregion
34263
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/schema/schema.js
34266
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/schema/schema.js
34264
34267
  /** @internal */
34265
34268
  const TypeId$50 = "~effect/Schema/Schema";
34266
34269
  const SchemaProto = {
@@ -34289,7 +34292,7 @@ function make$65(ast, options) {
34289
34292
  return self;
34290
34293
  }
34291
34294
  //#endregion
34292
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/schema/to-codec.js
34295
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/schema/to-codec.js
34293
34296
  /** @internal */
34294
34297
  const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
34295
34298
  const out = toCodecJsonBase(ast);
@@ -34357,7 +34360,7 @@ function makeReorder(getPriority) {
34357
34360
  };
34358
34361
  }
34359
34362
  //#endregion
34360
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/internal/schema/representation.js
34363
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/internal/schema/representation.js
34361
34364
  /** @internal */
34362
34365
  function fromAST(ast) {
34363
34366
  const { references, representations: schemas } = fromASTs([ast]);
@@ -34913,7 +34916,7 @@ function getPartPattern(part) {
34913
34916
  }
34914
34917
  }
34915
34918
  //#endregion
34916
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Schema.js
34919
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Schema.js
34917
34920
  /**
34918
34921
  * Define data shapes, validate unknown input, and transform values between formats.
34919
34922
  *
@@ -37252,17 +37255,14 @@ function makeClass(Inherited, identifier, struct$1, annotations) {
37252
37255
  return class extends Inherited {
37253
37256
  constructor(...[input, options]) {
37254
37257
  const props = input ?? {};
37255
- if (options?.disableValidation) super(props, options);
37256
- else {
37257
- const validated = struct$1.makeUnsafe(props, options);
37258
- super({
37259
- ...props,
37260
- ...validated
37261
- }, {
37262
- ...options,
37263
- disableValidation: true
37264
- });
37265
- }
37258
+ const validated = struct$1.makeUnsafe(props, options);
37259
+ super({
37260
+ ...props,
37261
+ ...validated
37262
+ }, {
37263
+ ...options,
37264
+ disableChecks: true
37265
+ });
37266
37266
  }
37267
37267
  toString() {
37268
37268
  return `${identifier}(${format$4({ ...this })})`;
@@ -37345,7 +37345,7 @@ function isStruct$1(schema) {
37345
37345
  /**
37346
37346
  * Creates a schema-backed class whose constructor validates input against a
37347
37347
  * {@link Struct} schema. Construction throws a {@link SchemaError} on invalid
37348
- * input (unless `disableValidation` is set in the options).
37348
+ * input (unless `disableChecks` is set in the options).
37349
37349
  *
37350
37350
  * Pass the desired class type as the first type parameter. The second optional
37351
37351
  * type parameter can be used to add nominal brands.
@@ -37625,7 +37625,7 @@ const Json = /* @__PURE__ */ make$64(Json$1);
37625
37625
  */
37626
37626
  const MutableJson = /* @__PURE__ */ make$64(MutableJson$1);
37627
37627
  //#endregion
37628
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Config.js
37628
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Config.js
37629
37629
  const TypeId$48 = "~effect/Config";
37630
37630
  /**
37631
37631
  * The error type produced when config loading or validation fails.
@@ -38112,7 +38112,7 @@ function redacted(name) {
38112
38112
  return schema$2(Redacted(String$1), name);
38113
38113
  }
38114
38114
  //#endregion
38115
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Runtime.js
38115
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Runtime.js
38116
38116
  /**
38117
38117
  * This module provides utilities for running Effect programs and managing their execution lifecycle.
38118
38118
  *
@@ -38318,7 +38318,7 @@ const getErrorReported = (u) => {
38318
38318
  return true;
38319
38319
  };
38320
38320
  //#endregion
38321
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/CliError.js
38321
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/CliError.js
38322
38322
  /**
38323
38323
  * @since 4.0.0
38324
38324
  */
@@ -49417,7 +49417,7 @@ const getTypeName = (primitive) => {
49417
49417
  /** @internal */
49418
49418
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
49419
49419
  //#endregion
49420
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Terminal.js
49420
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Terminal.js
49421
49421
  const TypeId$46 = "~effect/platform/Terminal";
49422
49422
  const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
49423
49423
  /**
@@ -49454,7 +49454,7 @@ const make$62 = (impl) => Terminal.of({
49454
49454
  [TypeId$46]: TypeId$46
49455
49455
  });
49456
49456
  //#endregion
49457
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/ansi.js
49457
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/ansi.js
49458
49458
  const ESC = "\x1B[";
49459
49459
  const SEP = ";";
49460
49460
  /** @internal */
@@ -49530,7 +49530,7 @@ const eraseLines = (rows) => {
49530
49530
  return command;
49531
49531
  };
49532
49532
  //#endregion
49533
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Prompt.js
49533
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Prompt.js
49534
49534
  /**
49535
49535
  * @since 4.0.0
49536
49536
  */
@@ -50844,7 +50844,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
50844
50844
  };
50845
50845
  };
50846
50846
  //#endregion
50847
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Param.js
50847
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Param.js
50848
50848
  /**
50849
50849
  * @internal
50850
50850
  *
@@ -51534,7 +51534,7 @@ const getParamMetadata = (param) => {
51534
51534
  });
51535
51535
  };
51536
51536
  //#endregion
51537
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Argument.js
51537
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Argument.js
51538
51538
  /**
51539
51539
  * Creates a positional path argument.
51540
51540
  *
@@ -51566,7 +51566,7 @@ const path = (name, options) => path$1(argumentKind, name, options);
51566
51566
  */
51567
51567
  const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDescription$3(self, description));
51568
51568
  //#endregion
51569
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/CliOutput.js
51569
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/CliOutput.js
51570
51570
  /**
51571
51571
  * Service reference for the CLI output formatter. Provides a default implementation
51572
51572
  * that can be overridden for custom formatting or testing.
@@ -51809,7 +51809,7 @@ const formatHelpDocImpl = (doc, colors) => {
51809
51809
  return sections.join("\n");
51810
51810
  };
51811
51811
  //#endregion
51812
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Console.js
51812
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Console.js
51813
51813
  /**
51814
51814
  * A reference to the current console service in the Effect system.
51815
51815
  *
@@ -51925,7 +51925,7 @@ const warn = (...args) => consoleWith((console) => sync$2(() => {
51925
51925
  console.warn(...args);
51926
51926
  }));
51927
51927
  //#endregion
51928
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Stdio.js
51928
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Stdio.js
51929
51929
  /**
51930
51930
  * @since 4.0.0
51931
51931
  * @category Type IDs
@@ -51945,7 +51945,7 @@ const make$61 = (options) => ({
51945
51945
  ...options
51946
51946
  });
51947
51947
  //#endregion
51948
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51948
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51949
51949
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
51950
51950
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
51951
51951
  const flagNamesForWordlist = (flag) => {
@@ -52096,7 +52096,7 @@ const generate$3 = (executableName, descriptor) => {
52096
52096
  return lines.join("\n");
52097
52097
  };
52098
52098
  //#endregion
52099
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
52099
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
52100
52100
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
52101
52101
  /**
52102
52102
  * Build a Fish condition that checks the current subcommand context.
@@ -52234,7 +52234,7 @@ const generate$2 = (executableName, descriptor) => {
52234
52234
  return lines.join("\n");
52235
52235
  };
52236
52236
  //#endregion
52237
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
52237
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
52238
52238
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
52239
52239
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
52240
52240
  /**
@@ -52371,7 +52371,7 @@ const generate$1 = (executableName, descriptor) => {
52371
52371
  return lines.join("\n");
52372
52372
  };
52373
52373
  //#endregion
52374
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Completions.js
52374
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Completions.js
52375
52375
  /**
52376
52376
  * @since 4.0.0
52377
52377
  */
@@ -52389,7 +52389,7 @@ const generate = (executableName, shell, descriptor) => {
52389
52389
  }
52390
52390
  };
52391
52391
  //#endregion
52392
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Flag.js
52392
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Flag.js
52393
52393
  /**
52394
52394
  * Creates a boolean flag that can be enabled or disabled.
52395
52395
  *
@@ -52622,7 +52622,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
52622
52622
  */
52623
52623
  const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
52624
52624
  //#endregion
52625
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/config.js
52625
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/config.js
52626
52626
  const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
52627
52627
  /**
52628
52628
  * Parses a Command.Config into a ConfigInternal.
@@ -52728,7 +52728,7 @@ const reconstructTree = (tree, results) => {
52728
52728
  }
52729
52729
  };
52730
52730
  //#endregion
52731
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/command.js
52731
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/command.js
52732
52732
  /**
52733
52733
  * Command Implementation
52734
52734
  * ======================
@@ -52900,7 +52900,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
52900
52900
  }
52901
52901
  };
52902
52902
  //#endregion
52903
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52903
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52904
52904
  /**
52905
52905
  * CommandDescriptor — pure-data representation of a command tree for
52906
52906
  * shell completion generation.
@@ -52988,7 +52988,7 @@ const fromCommand = (cmd) => {
52988
52988
  };
52989
52989
  };
52990
52990
  //#endregion
52991
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/help.js
52991
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/help.js
52992
52992
  /**
52993
52993
  * Help Documentation
52994
52994
  * ================
@@ -53091,7 +53091,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
53091
53091
  };
53092
53092
  });
53093
53093
  //#endregion
53094
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/GlobalFlag.js
53094
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/GlobalFlag.js
53095
53095
  /**
53096
53096
  * @since 4.0.0
53097
53097
  */
@@ -53201,7 +53201,7 @@ const BuiltIns = [
53201
53201
  LogLevel
53202
53202
  ];
53203
53203
  //#endregion
53204
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/lexer.js
53204
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/lexer.js
53205
53205
  /** @internal */
53206
53206
  function lex(argv) {
53207
53207
  const endIndex = argv.indexOf("--");
@@ -53252,7 +53252,7 @@ const lexTokens = (args) => {
53252
53252
  return tokens;
53253
53253
  };
53254
53254
  //#endregion
53255
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
53255
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
53256
53256
  /**
53257
53257
  * Simple Levenshtein distance implementation (small N, no perf worries)
53258
53258
  */
@@ -53280,7 +53280,7 @@ const suggest = (input, candidates) => {
53280
53280
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
53281
53281
  };
53282
53282
  //#endregion
53283
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/internal/parser.js
53283
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/internal/parser.js
53284
53284
  /**
53285
53285
  * Parsing Pipeline for CLI Commands
53286
53286
  * ==================================
@@ -53602,7 +53602,7 @@ const scanCommandLevel = (tokens, context) => {
53602
53602
  return toLeafResult(state);
53603
53603
  };
53604
53604
  //#endregion
53605
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/cli/Command.js
53605
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/cli/Command.js
53606
53606
  /**
53607
53607
  * @since 4.0.0
53608
53608
  * @category Guards
@@ -54100,7 +54100,7 @@ const runWith = (command, config) => {
54100
54100
  }, 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));
54101
54101
  };
54102
54102
  //#endregion
54103
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Cache.js
54103
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Cache.js
54104
54104
  /**
54105
54105
  * @since 4.0.0
54106
54106
  */
@@ -54517,7 +54517,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$2(() => {
54517
54517
  remove$5(self.map, key);
54518
54518
  }));
54519
54519
  //#endregion
54520
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ChannelSchema.js
54520
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ChannelSchema.js
54521
54521
  /**
54522
54522
  * @since 4.0.0
54523
54523
  * @category constructors
@@ -54546,7 +54546,7 @@ const decode$4 = (schema) => () => {
54546
54546
  */
54547
54547
  const ignore = "~effect/ErrorReporter/ignore";
54548
54548
  //#endregion
54549
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/FiberHandle.js
54549
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/FiberHandle.js
54550
54550
  /**
54551
54551
  * @since 2.0.0
54552
54552
  */
@@ -54741,7 +54741,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
54741
54741
  return succeed$4(fiber);
54742
54742
  });
54743
54743
  //#endregion
54744
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/FiberMap.js
54744
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/FiberMap.js
54745
54745
  /**
54746
54746
  * @since 2.0.0
54747
54747
  */
@@ -54971,7 +54971,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
54971
54971
  return succeed$4(fiber);
54972
54972
  });
54973
54973
  //#endregion
54974
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/FiberSet.js
54974
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/FiberSet.js
54975
54975
  /**
54976
54976
  * @since 2.0.0
54977
54977
  */
@@ -55223,7 +55223,7 @@ const awaitEmpty = (self) => whileLoop({
55223
55223
  step: constVoid
55224
55224
  });
55225
55225
  //#endregion
55226
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/PrimaryKey.js
55226
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/PrimaryKey.js
55227
55227
  /**
55228
55228
  * The unique identifier used to identify objects that implement the `PrimaryKey` interface.
55229
55229
  *
@@ -55260,7 +55260,7 @@ const symbol$2 = "~effect/interfaces/PrimaryKey";
55260
55260
  */
55261
55261
  const value$1 = (self) => self[symbol$2]();
55262
55262
  //#endregion
55263
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/LayerMap.js
55263
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/LayerMap.js
55264
55264
  const TypeId$37 = "~effect/LayerMap";
55265
55265
  /**
55266
55266
  * @since 3.14.0
@@ -55426,7 +55426,7 @@ const Service = () => (id, options) => {
55426
55426
  return TagClass;
55427
55427
  };
55428
55428
  //#endregion
55429
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Logger.js
55429
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Logger.js
55430
55430
  /**
55431
55431
  * @since 2.0.0
55432
55432
  *
@@ -55553,7 +55553,7 @@ const Service = () => (id, options) => {
55553
55553
  */
55554
55554
  const CurrentLoggers = CurrentLoggers$1;
55555
55555
  //#endregion
55556
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Random.js
55556
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Random.js
55557
55557
  /**
55558
55558
  * The Random module provides a service for generating random numbers in Effect
55559
55559
  * programs. It offers a testable and composable way to work with randomness,
@@ -55646,7 +55646,7 @@ const shuffle = (elements) => randomWith((r) => {
55646
55646
  return buffer;
55647
55647
  });
55648
55648
  //#endregion
55649
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Ref.js
55649
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Ref.js
55650
55650
  const RefProto = {
55651
55651
  ["~effect/Ref"]: { _A: identity },
55652
55652
  ...PipeInspectableProto,
@@ -55687,7 +55687,7 @@ const makeUnsafe$3 = (value) => {
55687
55687
  return self;
55688
55688
  };
55689
55689
  //#endregion
55690
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55690
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55691
55691
  /**
55692
55692
  * @since 4.0.0
55693
55693
  */
@@ -55822,7 +55822,7 @@ const keysToHashes = (keys, f) => {
55822
55822
  }
55823
55823
  };
55824
55824
  //#endregion
55825
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/Statement.js
55825
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/Statement.js
55826
55826
  /**
55827
55827
  * @since 4.0.0
55828
55828
  */
@@ -56381,7 +56381,7 @@ function in_() {
56381
56381
  }
56382
56382
  const neverFragment = /* @__PURE__ */ fragment([/* @__PURE__ */ literal$1("1=0")]);
56383
56383
  //#endregion
56384
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/SqlClient.js
56384
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/SqlClient.js
56385
56385
  /**
56386
56386
  * @since 4.0.0
56387
56387
  */
@@ -56475,7 +56475,7 @@ var TransactionConnection = class extends Service$1()("effect/sql/SqlClient/Tran
56475
56475
  */
56476
56476
  const SafeIntegers = /* @__PURE__ */ Reference("effect/sql/SqlClient/SafeIntegers", { defaultValue: () => false });
56477
56477
  //#endregion
56478
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
56478
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
56479
56479
  /**
56480
56480
  * @since 4.0.0
56481
56481
  */
@@ -56617,7 +56617,7 @@ const toSchemaStore = (self, schema) => {
56617
56617
  };
56618
56618
  };
56619
56619
  //#endregion
56620
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/persistence/Persistable.js
56620
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/persistence/Persistable.js
56621
56621
  /**
56622
56622
  * @since 4.0.0
56623
56623
  * @category Symbols
@@ -56671,7 +56671,7 @@ const deserializeExit = (self, encoded) => {
56671
56671
  return decodeUnknownEffect(toCodecJson(exitSchema$1(self)))(encoded);
56672
56672
  };
56673
56673
  //#endregion
56674
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/persistence/Persistence.js
56674
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/persistence/Persistence.js
56675
56675
  /**
56676
56676
  * @since 4.0.0
56677
56677
  */
@@ -56847,7 +56847,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$31.pipe(/* @__PURE__ */ provide$3(layer
56847
56847
  */
56848
56848
  const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
56849
56849
  //#endregion
56850
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/RequestResolver.js
56850
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/RequestResolver.js
56851
56851
  const TypeId$34 = "~effect/RequestResolver";
56852
56852
  const RequestResolverProto = {
56853
56853
  [TypeId$34]: {
@@ -57110,7 +57110,7 @@ const withSpan = /* @__PURE__ */ dual((args) => isRequestResolver(args[0]), (sel
57110
57110
  })
57111
57111
  }));
57112
57112
  //#endregion
57113
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SynchronizedRef.js
57113
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SynchronizedRef.js
57114
57114
  const TypeId$33 = "~effect/SynchronizedRef";
57115
57115
  const Proto$16 = {
57116
57116
  ...PipeInspectableProto,
@@ -57133,7 +57133,7 @@ const makeUnsafe$1 = (value) => {
57133
57133
  return self;
57134
57134
  };
57135
57135
  //#endregion
57136
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ScopedRef.js
57136
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ScopedRef.js
57137
57137
  /**
57138
57138
  * @since 2.0.0
57139
57139
  */
@@ -57198,7 +57198,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
57198
57198
  self.backing.backing.ref.current = [scope, value];
57199
57199
  }, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
57200
57200
  //#endregion
57201
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/ScopedCache.js
57201
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/ScopedCache.js
57202
57202
  /**
57203
57203
  * @since 4.0.0
57204
57204
  */
@@ -57295,7 +57295,7 @@ const invalidateAllImpl = (parent, map) => {
57295
57295
  return fiberAwaitAll(fibers);
57296
57296
  };
57297
57297
  //#endregion
57298
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/SubscriptionRef.js
57298
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/SubscriptionRef.js
57299
57299
  /**
57300
57300
  * @since 2.0.0
57301
57301
  */
@@ -57404,8 +57404,30 @@ const setUnsafe = (self, value) => {
57404
57404
  * @category setters
57405
57405
  */
57406
57406
  const set$3 = /* @__PURE__ */ dual(2, (self, value) => self.semaphore.withPermit(sync(() => setUnsafe(self, value))));
57407
+ /**
57408
+ * Updates the value of the `SubscriptionRef` with the result of applying a
57409
+ * function, notifying subscribers of the change.
57410
+ *
57411
+ * @example
57412
+ * ```ts
57413
+ * import { Effect, SubscriptionRef } from "effect"
57414
+ *
57415
+ * const program = Effect.gen(function*() {
57416
+ * const ref = yield* SubscriptionRef.make(10)
57417
+ *
57418
+ * yield* SubscriptionRef.update(ref, (n) => n * 2)
57419
+ *
57420
+ * const value = yield* SubscriptionRef.get(ref)
57421
+ * console.log(value)
57422
+ * })
57423
+ * ```
57424
+ *
57425
+ * @since 2.0.0
57426
+ * @category updating
57427
+ */
57428
+ const update = /* @__PURE__ */ dual(2, (self, update) => self.semaphore.withPermit(sync(() => setUnsafe(self, update(self.value)))));
57407
57429
  //#endregion
57408
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/Unify.js
57430
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/Unify.js
57409
57431
  /**
57410
57432
  * @since 2.0.0
57411
57433
  */
@@ -58825,7 +58847,7 @@ var Mime = class {
58825
58847
  };
58826
58848
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
58827
58849
  //#endregion
58828
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Mime.js
58850
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Mime.js
58829
58851
  /**
58830
58852
  * @since 1.0.0
58831
58853
  */
@@ -58835,7 +58857,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
58835
58857
  */
58836
58858
  var Mime_default = new Mime(types$1, types$2)._freeze();
58837
58859
  //#endregion
58838
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58860
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58839
58861
  /**
58840
58862
  * A module providing a generic service interface for spawning child processes.
58841
58863
  *
@@ -58898,7 +58920,7 @@ const make$46 = (spawn) => {
58898
58920
  */
58899
58921
  var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
58900
58922
  //#endregion
58901
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/process/ChildProcess.js
58923
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/process/ChildProcess.js
58902
58924
  const TypeId$29 = "~effect/unstable/process/ChildProcess";
58903
58925
  const Proto$12 = {
58904
58926
  ...PipeInspectableProto,
@@ -59182,7 +59204,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
59182
59204
  ...nextTokens.slice(1)
59183
59205
  ];
59184
59206
  //#endregion
59185
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/internal/utils.js
59207
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/internal/utils.js
59186
59208
  /** @internal */
59187
59209
  const handleErrnoException = (module, method) => (err, [path]) => {
59188
59210
  let reason = "Unknown";
@@ -59219,7 +59241,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
59219
59241
  });
59220
59242
  };
59221
59243
  //#endregion
59222
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/NodeSink.js
59244
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/NodeSink.js
59223
59245
  /**
59224
59246
  * @category constructors
59225
59247
  * @since 1.0.0
@@ -59263,7 +59285,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$5((chunk) => {
59263
59285
  });
59264
59286
  }) : identity);
59265
59287
  //#endregion
59266
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/NodeStream.js
59288
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/NodeStream.js
59267
59289
  /**
59268
59290
  * @since 1.0.0
59269
59291
  */
@@ -59429,7 +59451,7 @@ var StreamAdapter = class extends Readable {
59429
59451
  };
59430
59452
  const defaultOnError = (error) => new UnknownError$2(error);
59431
59453
  //#endregion
59432
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
59454
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
59433
59455
  const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
59434
59456
  const toPlatformError = (method, error, command) => {
59435
59457
  const { commands } = flattenCommand(command);
@@ -59763,7 +59785,7 @@ const flattenCommand = (command) => {
59763
59785
  };
59764
59786
  };
59765
59787
  //#endregion
59766
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/Cookies.js
59788
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/Cookies.js
59767
59789
  /**
59768
59790
  * @since 4.0.0
59769
59791
  */
@@ -60027,7 +60049,7 @@ const tryDecodeURIComponent = (str) => {
60027
60049
  }
60028
60050
  };
60029
60051
  //#endregion
60030
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/Headers.js
60052
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/Headers.js
60031
60053
  /**
60032
60054
  * @since 4.0.0
60033
60055
  */
@@ -60150,7 +60172,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
60150
60172
  "x-api-key"
60151
60173
  ] });
60152
60174
  //#endregion
60153
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpClientError.js
60175
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpClientError.js
60154
60176
  /**
60155
60177
  * @since 4.0.0
60156
60178
  */
@@ -60288,7 +60310,7 @@ var EmptyBodyError = class extends TaggedError("EmptyBodyError") {
60288
60310
  }
60289
60311
  };
60290
60312
  //#endregion
60291
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/UrlParams.js
60313
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/UrlParams.js
60292
60314
  /**
60293
60315
  * @since 4.0.0
60294
60316
  */
@@ -60500,7 +60522,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
60500
60522
  encode: fromInput
60501
60523
  })));
60502
60524
  //#endregion
60503
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpBody.js
60525
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpBody.js
60504
60526
  /**
60505
60527
  * @since 4.0.0
60506
60528
  */
@@ -60639,7 +60661,7 @@ var FormData$1 = class extends Proto$8 {
60639
60661
  */
60640
60662
  const formData = (body) => new FormData$1(body);
60641
60663
  //#endregion
60642
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpMethod.js
60664
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpMethod.js
60643
60665
  /**
60644
60666
  * @since 4.0.0
60645
60667
  */
@@ -60654,7 +60676,7 @@ const allShort = [
60654
60676
  ["TRACE", "trace"]
60655
60677
  ];
60656
60678
  //#endregion
60657
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60679
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60658
60680
  const TypeId$23 = "~effect/http/HttpClientRequest";
60659
60681
  const Proto$7 = {
60660
60682
  [TypeId$23]: TypeId$23,
@@ -60824,7 +60846,7 @@ const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, url
60824
60846
  */
60825
60847
  const bodyFormData = /* @__PURE__ */ dual(2, (self, body) => setBody(self, formData(body)));
60826
60848
  //#endregion
60827
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60849
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60828
60850
  /**
60829
60851
  * @since 4.0.0
60830
60852
  */
@@ -60875,7 +60897,7 @@ const inspect$1 = (self, that) => {
60875
60897
  return obj;
60876
60898
  };
60877
60899
  //#endregion
60878
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60900
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60879
60901
  /**
60880
60902
  * @since 4.0.0
60881
60903
  */
@@ -61016,7 +61038,7 @@ var WebHttpClientResponse = class extends Class$5 {
61016
61038
  }
61017
61039
  };
61018
61040
  //#endregion
61019
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpTraceContext.js
61041
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpTraceContext.js
61020
61042
  /**
61021
61043
  * @since 4.0.0
61022
61044
  */
@@ -61091,7 +61113,7 @@ const w3c = (headers) => {
61091
61113
  }
61092
61114
  };
61093
61115
  //#endregion
61094
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpClient.js
61116
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpClient.js
61095
61117
  const TypeId$20 = "~effect/http/HttpClient";
61096
61118
  /**
61097
61119
  * @since 4.0.0
@@ -61954,7 +61976,7 @@ const httpMethods = [
61954
61976
  */
61955
61977
  const make$38 = make$39;
61956
61978
  //#endregion
61957
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/Template.js
61979
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/Template.js
61958
61980
  /**
61959
61981
  * @since 4.0.0
61960
61982
  */
@@ -62003,7 +62025,7 @@ function isSuccess$1(u) {
62003
62025
  return isExit(u) && u._tag === "Success";
62004
62026
  }
62005
62027
  //#endregion
62006
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpServerResponse.js
62028
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpServerResponse.js
62007
62029
  /**
62008
62030
  * @since 4.0.0
62009
62031
  */
@@ -62092,7 +62114,7 @@ const makeResponse$2 = (options) => {
62092
62114
  return self;
62093
62115
  };
62094
62116
  //#endregion
62095
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
62117
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
62096
62118
  /**
62097
62119
  * @since 4.0.0
62098
62120
  */
@@ -62129,7 +62151,7 @@ const toResponseOrElseDefect = (u, orElse) => {
62129
62151
  return succeed$4(orElse);
62130
62152
  };
62131
62153
  //#endregion
62132
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpServerError.js
62154
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpServerError.js
62133
62155
  /**
62134
62156
  * @since 4.0.0
62135
62157
  */
@@ -62301,7 +62323,7 @@ const exitResponse = (exit) => {
62301
62323
  return causeResponseStripped(exit.cause)[0];
62302
62324
  };
62303
62325
  //#endregion
62304
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/socket/Socket.js
62326
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/socket/Socket.js
62305
62327
  /**
62306
62328
  * @since 4.0.0
62307
62329
  * @category Type IDs
@@ -63420,7 +63442,7 @@ const make$33 = make$34;
63420
63442
  const defaultIsFile = defaultIsFile$1;
63421
63443
  const decodeField = decodeField$1;
63422
63444
  //#endregion
63423
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/Multipart.js
63445
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/Multipart.js
63424
63446
  /**
63425
63447
  * @since 4.0.0
63426
63448
  */
@@ -63552,7 +63574,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
63552
63574
  */
63553
63575
  const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
63554
63576
  //#endregion
63555
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63577
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63556
63578
  /**
63557
63579
  * @since 4.0.0
63558
63580
  * @category Type IDs
@@ -63590,11 +63612,11 @@ const toURL = (self) => {
63590
63612
  }
63591
63613
  };
63592
63614
  //#endregion
63593
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63615
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63594
63616
  /** @internal */
63595
63617
  const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
63596
63618
  //#endregion
63597
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63619
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63598
63620
  /**
63599
63621
  * @since 4.0.0
63600
63622
  */
@@ -63692,7 +63714,7 @@ const tracer = /* @__PURE__ */ make$32((httpApp) => withFiber((fiber) => {
63692
63714
  }, true);
63693
63715
  }));
63694
63716
  //#endregion
63695
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpEffect.js
63717
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpEffect.js
63696
63718
  /**
63697
63719
  * @since 4.0.0
63698
63720
  * @category combinators
@@ -63762,7 +63784,7 @@ const scoped = (effect) => withFiber((fiber) => {
63762
63784
  }, true);
63763
63785
  });
63764
63786
  //#endregion
63765
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/Etag.js
63787
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/Etag.js
63766
63788
  /**
63767
63789
  * @since 4.0.0
63768
63790
  */
@@ -63828,7 +63850,7 @@ const layerWeak = /* @__PURE__ */ succeed$5(Generator)({
63828
63850
  }
63829
63851
  });
63830
63852
  //#endregion
63831
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpPlatform.js
63853
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpPlatform.js
63832
63854
  /**
63833
63855
  * @since 4.0.0
63834
63856
  */
@@ -63867,7 +63889,7 @@ const make$31 = /* @__PURE__ */ fnUntraced(function* (impl) {
63867
63889
  });
63868
63890
  });
63869
63891
  //#endregion
63870
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpServer.js
63892
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpServer.js
63871
63893
  /**
63872
63894
  * @since 4.0.0
63873
63895
  */
@@ -63912,7 +63934,7 @@ const logAddress = /* @__PURE__ */ addressFormattedWith((_) => log$1(`Listening
63912
63934
  */
63913
63935
  const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
63914
63936
  //#endregion
63915
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/HttpRouter.js
63937
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/HttpRouter.js
63916
63938
  /**
63917
63939
  * @since 4.0.0
63918
63940
  */
@@ -64228,7 +64250,7 @@ const serve = (appLayer, options) => {
64228
64250
  }).pipe(unwrap$3, provideMerge(appLayer), provide$3(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
64229
64251
  };
64230
64252
  //#endregion
64231
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/workers/Transferable.js
64253
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/workers/Transferable.js
64232
64254
  /**
64233
64255
  * @since 1.0.0
64234
64256
  */
@@ -64262,7 +64284,7 @@ const makeCollectorUnsafe = () => {
64262
64284
  });
64263
64285
  };
64264
64286
  //#endregion
64265
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/RpcSchema.js
64287
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/RpcSchema.js
64266
64288
  /**
64267
64289
  * @since 4.0.0
64268
64290
  */
@@ -64295,7 +64317,7 @@ function Stream(success, error) {
64295
64317
  }
64296
64318
  Service$1()("effect/rpc/RpcSchema/ClientAbort");
64297
64319
  //#endregion
64298
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/Rpc.js
64320
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/Rpc.js
64299
64321
  const TypeId$13 = "~effect/rpc/Rpc";
64300
64322
  const Proto$4 = {
64301
64323
  [TypeId$13]: TypeId$13,
@@ -64435,14 +64457,14 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
64435
64457
  */
64436
64458
  const isWrapper = (u) => WrapperTypeId in u;
64437
64459
  //#endregion
64438
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/RpcMessage.js
64460
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/RpcMessage.js
64439
64461
  /**
64440
64462
  * @since 4.0.0
64441
64463
  * @category request
64442
64464
  */
64443
64465
  const RequestId = (id) => typeof id === "bigint" ? id : BigInt(id);
64444
64466
  //#endregion
64445
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/Utils.js
64467
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/Utils.js
64446
64468
  /**
64447
64469
  * @since 4.0.0
64448
64470
  */
@@ -64473,7 +64495,7 @@ const withRun = () => (f) => suspend$3(() => {
64473
64495
  }));
64474
64496
  });
64475
64497
  //#endregion
64476
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/RpcClient.js
64498
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/RpcClient.js
64477
64499
  let requestIdCounter = /* @__PURE__ */ BigInt(0);
64478
64500
  /**
64479
64501
  * @since 4.0.0
@@ -64811,7 +64833,7 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
64811
64833
  };
64812
64834
  const decodeDefect = /* @__PURE__ */ decodeSync(Defect);
64813
64835
  //#endregion
64814
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64836
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64815
64837
  const RpcGroupProto = {
64816
64838
  add(...rpcs) {
64817
64839
  const requests = new Map(this.requests);
@@ -68545,7 +68567,7 @@ require_sender$1();
68545
68567
  var import_websocket = /* @__PURE__ */ __toESM(require_websocket$1(), 1);
68546
68568
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
68547
68569
  //#endregion
68548
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68570
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68549
68571
  /**
68550
68572
  * @since 1.0.0
68551
68573
  */
@@ -68883,7 +68905,7 @@ const makeFileSystem = /* @__PURE__ */ map$10(/* @__PURE__ */ serviceOption(Watc
68883
68905
  writeFile: writeFile$1
68884
68906
  }));
68885
68907
  //#endregion
68886
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68908
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68887
68909
  /**
68888
68910
  * @since 1.0.0
68889
68911
  */
@@ -68893,7 +68915,7 @@ const makeFileSystem = /* @__PURE__ */ map$10(/* @__PURE__ */ serviceOption(Watc
68893
68915
  */
68894
68916
  const layer$25 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
68895
68917
  //#endregion
68896
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68918
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68897
68919
  /**
68898
68920
  * @since 1.0.0
68899
68921
  */
@@ -90364,7 +90386,7 @@ var require_undici = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
90364
90386
  module.exports.install = install;
90365
90387
  }));
90366
90388
  //#endregion
90367
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Undici.js
90389
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Undici.js
90368
90390
  var Undici_exports = /* @__PURE__ */ __exportAll({ default: () => Undici_default });
90369
90391
  var import_undici = /* @__PURE__ */ __toESM(require_undici(), 1);
90370
90392
  __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
@@ -90374,7 +90396,7 @@ __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
90374
90396
  */
90375
90397
  var Undici_default = import_undici.default;
90376
90398
  //#endregion
90377
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/http/FetchHttpClient.js
90399
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/http/FetchHttpClient.js
90378
90400
  /**
90379
90401
  * @since 4.0.0
90380
90402
  */
@@ -90419,7 +90441,7 @@ const layer$24 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$4(/
90419
90441
  return send(void 0);
90420
90442
  })));
90421
90443
  //#endregion
90422
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpClient.js
90444
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpClient.js
90423
90445
  /**
90424
90446
  * @since 1.0.0
90425
90447
  */
@@ -90586,7 +90608,7 @@ var UndiciResponse = class extends Class$5 {
90586
90608
  */
90587
90609
  const layerUndici = /* @__PURE__ */ provide$3(/* @__PURE__ */ layerMergedServices(makeUndici), layerDispatcher);
90588
90610
  //#endregion
90589
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90611
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90590
90612
  /**
90591
90613
  * @since 1.0.0
90592
90614
  */
@@ -90707,7 +90729,7 @@ var FileStream = class extends Readable {
90707
90729
  }
90708
90730
  };
90709
90731
  //#endregion
90710
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeMultipart.js
90732
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeMultipart.js
90711
90733
  /**
90712
90734
  * @since 1.0.0
90713
90735
  */
@@ -90802,7 +90824,7 @@ function convertError(cause) {
90802
90824
  }
90803
90825
  }
90804
90826
  //#endregion
90805
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/platform-node-shared/dist/NodePath.js
90827
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/platform-node-shared/dist/NodePath.js
90806
90828
  /**
90807
90829
  * @since 1.0.0
90808
90830
  */
@@ -90825,7 +90847,7 @@ const toFileUrl = (path) => try_({
90825
90847
  ({ ...Path.posix });
90826
90848
  ({ ...Path.win32 });
90827
90849
  //#endregion
90828
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodePath.js
90850
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodePath.js
90829
90851
  /**
90830
90852
  * @since 1.0.0
90831
90853
  */
@@ -90840,7 +90862,7 @@ const layer$21 = /* @__PURE__ */ succeed$5(Path$1)({
90840
90862
  toFileUrl
90841
90863
  });
90842
90864
  //#endregion
90843
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeStdio.js
90865
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeStdio.js
90844
90866
  /**
90845
90867
  * @since 1.0.0
90846
90868
  */
@@ -90945,7 +90967,7 @@ function defaultShouldQuit(input) {
90945
90967
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
90946
90968
  }
90947
90969
  //#endregion
90948
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeServices.js
90970
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeServices.js
90949
90971
  /**
90950
90972
  * @since 1.0.0
90951
90973
  * @category layer
@@ -90957,7 +90979,7 @@ const layer$16 = /* @__PURE__ */ provideMerge(layer$30, /* @__PURE__ */ mergeAll
90957
90979
  */
90958
90980
  const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$5(WebSocketConstructor)((url, protocols) => new import_websocket.default(url, protocols));
90959
90981
  //#endregion
90960
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90982
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90961
90983
  /**
90962
90984
  * @since 1.0.0
90963
90985
  */
@@ -91250,7 +91272,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
91250
91272
  return failCause$2(headersSent ? combine$1(originalCause, die$3(originalResponse)) : cause);
91251
91273
  });
91252
91274
  //#endregion
91253
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.37_effect@4.0.0-beta.37_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeRuntime.js
91275
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.38_effect@4.0.0-beta.38_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeRuntime.js
91254
91276
  /**
91255
91277
  * @since 1.0.0
91256
91278
  */
@@ -91301,7 +91323,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
91301
91323
  process.on("SIGTERM", onSigint);
91302
91324
  });
91303
91325
  //#endregion
91304
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/persistence/PersistedCache.js
91326
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/persistence/PersistedCache.js
91305
91327
  /**
91306
91328
  * @since 4.0.0
91307
91329
  */
@@ -91848,7 +91870,7 @@ const toExit = (self) => {
91848
91870
  }
91849
91871
  };
91850
91872
  //#endregion
91851
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91873
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91852
91874
  /**
91853
91875
  * @since 4.0.0
91854
91876
  */
@@ -92435,7 +92457,7 @@ function batchRebuildNode(node) {
92435
92457
  if (node.state !== NodeState.valid) node.value();
92436
92458
  }
92437
92459
  //#endregion
92438
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/reactivity/Atom.js
92460
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/reactivity/Atom.js
92439
92461
  /**
92440
92462
  * @since 4.0.0
92441
92463
  */
@@ -178355,10 +178377,10 @@ var IssueSource = class IssueSource extends Service$1()("lalph/IssueSource") {
178355
178377
  }),
178356
178378
  capacity: Number.MAX_SAFE_INTEGER
178357
178379
  });
178358
- const update = fnUntraced(function* (projectId, issues) {
178359
- yield* set$3(yield* get$6(refs, projectId), IssuesChange.Internal({ issues }));
178380
+ const update$2 = fnUntraced(function* (projectId, f) {
178381
+ yield* update(yield* get$6(refs, projectId), (change) => IssuesChange.Internal({ issues: f(change.issues) }));
178360
178382
  });
178361
- const updateIssues = (projectId) => pipe$1(impl.issues(projectId), tap$1((issues) => update(projectId, issues)));
178383
+ const updateIssues = (projectId) => pipe$1(impl.issues(projectId), tap$1((issues) => update$2(projectId, () => issues)));
178362
178384
  return IssueSource.of({
178363
178385
  ...impl,
178364
178386
  ref: (projectId) => get$6(refs, projectId),
@@ -178367,9 +178389,21 @@ var IssueSource = class IssueSource extends Service$1()("lalph/IssueSource") {
178367
178389
  const { issues } = yield* get$5(yield* get$6(refs, projectId));
178368
178390
  return issues.find((issue) => issue.id === issueId) ?? null;
178369
178391
  }),
178370
- createIssue: (projectId, issue) => pipe$1(impl.createIssue(projectId, issue), tap$1(updateIssues(projectId))),
178371
- updateIssue: (options) => pipe$1(impl.updateIssue(options), tap$1(updateIssues(options.projectId))),
178372
- cancelIssue: (projectId, issueId) => pipe$1(impl.cancelIssue(projectId, issueId), tap$1(updateIssues(projectId)))
178392
+ createIssue: (projectId, issue) => pipe$1(impl.createIssue(projectId, issue), tap$1((createdIssue) => update$2(projectId, (issues) => {
178393
+ const nextIssue = issue.update({ id: createdIssue.id });
178394
+ const index = issues.findIndex((current) => current.id === createdIssue.id);
178395
+ if (index === -1) return [...issues, nextIssue];
178396
+ return issues.map((current, i) => i === index ? nextIssue : current);
178397
+ }))),
178398
+ updateIssue: (options) => pipe$1(impl.updateIssue(options), tap$1(() => update$2(options.projectId, (issues) => issues.map((issue) => issue.id === options.issueId ? new PrdIssue({
178399
+ ...issue,
178400
+ title: options.title ?? issue.title,
178401
+ description: options.description ?? issue.description,
178402
+ state: options.state ?? issue.state,
178403
+ blockedBy: options.blockedBy ?? issue.blockedBy,
178404
+ autoMerge: options.autoMerge ?? issue.autoMerge
178405
+ }) : issue)))),
178406
+ cancelIssue: (projectId, issueId) => pipe$1(impl.cancelIssue(projectId, issueId), tap$1(() => update$2(projectId, (issues) => issues.filter((issue) => issue.id !== issueId))))
178373
178407
  });
178374
178408
  });
178375
178409
  }
@@ -178480,7 +178514,7 @@ const parseCommand = (command) => {
178480
178514
  return args;
178481
178515
  };
178482
178516
  //#endregion
178483
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Model.js
178517
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Model.js
178484
178518
  /**
178485
178519
  * The `Model` module provides a unified interface for AI service providers.
178486
178520
  *
@@ -181703,7 +181737,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
181703
181737
  });
181704
181738
  Ze.glob = Ze;
181705
181739
  //#endregion
181706
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ApplyPatch.js
181740
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ApplyPatch.js
181707
181741
  /**
181708
181742
  * @since 1.0.0
181709
181743
  */
@@ -196576,7 +196610,7 @@ var StreamableHTTPClientTransport = class {
196576
196610
  }
196577
196611
  };
196578
196612
  //#endregion
196579
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/McpClient.js
196613
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/McpClient.js
196580
196614
  /**
196581
196615
  * @since 1.0.0
196582
196616
  */
@@ -196621,7 +196655,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
196621
196655
  });
196622
196656
  }));
196623
196657
  //#endregion
196624
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ExaSearch.js
196658
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ExaSearch.js
196625
196659
  /**
196626
196660
  * @since 1.0.0
196627
196661
  */
@@ -211571,7 +211605,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
211571
211605
  exports.impl = impl;
211572
211606
  }));
211573
211607
  //#endregion
211574
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/WebToMarkdown.js
211608
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/WebToMarkdown.js
211575
211609
  /**
211576
211610
  * @since 1.0.0
211577
211611
  */
@@ -212335,7 +212369,7 @@ const layer$11 = effect$1(WebToMarkdown, gen(function* () {
212335
212369
  });
212336
212370
  }));
212337
212371
  //#endregion
212338
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Response.js
212372
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Response.js
212339
212373
  const PartTypeId$1 = "~effect/ai/Content/Part";
212340
212374
  const constEmptyObject$1 = () => ({});
212341
212375
  const constPartTypeId$1 = () => PartTypeId$1;
@@ -212841,7 +212875,7 @@ const ErrorPart = /* @__PURE__ */ Struct$2({
212841
212875
  error: Unknown
212842
212876
  }).annotate({ identifier: "ErrorPart" });
212843
212877
  //#endregion
212844
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/AiError.js
212878
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/AiError.js
212845
212879
  /**
212846
212880
  * The `AiError` module provides comprehensive, provider-agnostic error handling
212847
212881
  * for AI operations.
@@ -214064,7 +214098,7 @@ const reasonFromHttpStatus = (params) => {
214064
214098
  }
214065
214099
  };
214066
214100
  //#endregion
214067
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Toolkit.js
214101
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Toolkit.js
214068
214102
  const TypeId$6 = "~effect/ai/Toolkit";
214069
214103
  const Proto$2 = {
214070
214104
  ...YieldableProto,
@@ -214288,7 +214322,7 @@ const merge$1 = (...toolkits) => {
214288
214322
  return makeProto(tools);
214289
214323
  };
214290
214324
  //#endregion
214291
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Tool.js
214325
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Tool.js
214292
214326
  /**
214293
214327
  * @since 1.0.0
214294
214328
  * @category type ids
@@ -214710,7 +214744,7 @@ function isEmptyParamsRecord(indexSignature) {
214710
214744
  return indexSignature.parameter === string$3 && isNever(indexSignature.type);
214711
214745
  }
214712
214746
  //#endregion
214713
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/SemanticSearch/Service.js
214747
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/SemanticSearch/Service.js
214714
214748
  /**
214715
214749
  * @since 1.0.0
214716
214750
  */
@@ -214736,7 +214770,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$5(m
214736
214770
  onSome: (service) => service.removeFile(path)
214737
214771
  })));
214738
214772
  //#endregion
214739
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/AgentTools.js
214773
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/AgentTools.js
214740
214774
  /**
214741
214775
  * @since 1.0.0
214742
214776
  */
@@ -215139,7 +215173,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
215139
215173
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
215140
215174
  var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
215141
215175
  //#endregion
215142
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/TypeBuilder.js
215176
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/TypeBuilder.js
215143
215177
  const resolveDocumentation = resolveAt("documentation");
215144
215178
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
215145
215179
  const Precedence = {
@@ -215412,7 +215446,7 @@ const render = (schema, options) => {
215412
215446
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
215413
215447
  };
215414
215448
  //#endregion
215415
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ToolkitRenderer.js
215449
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ToolkitRenderer.js
215416
215450
  /**
215417
215451
  * @since 1.0.0
215418
215452
  */
@@ -215434,7 +215468,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
215434
215468
  }) });
215435
215469
  };
215436
215470
  //#endregion
215437
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ScriptPreprocessing.js
215471
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ScriptPreprocessing.js
215438
215472
  const callTemplateTargets = ["applyPatch", "taskComplete"];
215439
215473
  const objectPropertyTargets = [{
215440
215474
  functionName: "writeFile",
@@ -215979,7 +216013,7 @@ const rewriteAssignedTargets = (script) => {
215979
216013
  };
215980
216014
  const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
215981
216015
  //#endregion
215982
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/AgentExecutor.js
216016
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/AgentExecutor.js
215983
216017
  /**
215984
216018
  * @since 1.0.0
215985
216019
  */
@@ -216164,7 +216198,7 @@ var QueueWriteStream = class extends Writable {
216164
216198
  }
216165
216199
  };
216166
216200
  //#endregion
216167
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ScriptExtraction.js
216201
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ScriptExtraction.js
216168
216202
  const stripWrappingCodeFence = (script) => {
216169
216203
  const lines = script.split(/\r?\n/);
216170
216204
  if (lines.length < 2) return script;
@@ -216189,7 +216223,7 @@ const stripWrappingCodeFence = (script) => {
216189
216223
  return lines.slice(firstNonEmpty + 1, lastNonEmpty).join(newLine);
216190
216224
  };
216191
216225
  //#endregion
216192
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Prompt.js
216226
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Prompt.js
216193
216227
  /**
216194
216228
  * The `Prompt` module provides several data structures to simplify creating and
216195
216229
  * combining prompts.
@@ -216728,7 +216762,7 @@ const setSystem = /* @__PURE__ */ dual(2, (self, content) => {
216728
216762
  return makePrompt(messages);
216729
216763
  });
216730
216764
  //#endregion
216731
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/IdGenerator.js
216765
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/IdGenerator.js
216732
216766
  /**
216733
216767
  * The `IdGenerator` service tag for dependency injection.
216734
216768
  *
@@ -216797,7 +216831,7 @@ const makeGenerator = ({ alphabet = DEFAULT_ALPHABET, prefix, separator = DEFAUL
216797
216831
  */
216798
216832
  const defaultIdGenerator = { generateId: /* @__PURE__ */ makeGenerator({ prefix: "id" }) };
216799
216833
  //#endregion
216800
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
216834
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
216801
216835
  /** @internal */
216802
216836
  const defaultCodecTransformer$1 = (codec) => {
216803
216837
  const document = toJsonSchemaDocument(codec);
@@ -216809,7 +216843,7 @@ const defaultCodecTransformer$1 = (codec) => {
216809
216843
  };
216810
216844
  };
216811
216845
  //#endregion
216812
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
216846
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
216813
216847
  /**
216814
216848
  * @since 4.0.0
216815
216849
  */
@@ -216866,7 +216900,7 @@ const make$11 = /* @__PURE__ */ sync(() => {
216866
216900
  };
216867
216901
  });
216868
216902
  //#endregion
216869
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/Telemetry.js
216903
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/Telemetry.js
216870
216904
  /**
216871
216905
  * The `Telemetry` module provides OpenTelemetry integration for operations
216872
216906
  * performed against a large language model provider by defining telemetry
@@ -216982,7 +217016,7 @@ const addGenAIAnnotations$2 = /* @__PURE__ */ dual(2, (span, options) => {
216982
217016
  */
216983
217017
  var CurrentSpanTransformer = class extends Service$1()("effect/ai/Telemetry/CurrentSpanTransformer") {};
216984
217018
  //#endregion
216985
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/LanguageModel.js
217019
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/LanguageModel.js
216986
217020
  /**
216987
217021
  * The `LanguageModel` service key for dependency injection.
216988
217022
  *
@@ -217713,7 +217747,7 @@ const applySpanTransformer = (transformer, response, options) => {
217713
217747
  });
217714
217748
  };
217715
217749
  //#endregion
217716
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/Agent.js
217750
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/Agent.js
217717
217751
  /**
217718
217752
  * @since 1.0.0
217719
217753
  */
@@ -217761,7 +217795,7 @@ ${content}
217761
217795
  let inputTokens = 0;
217762
217796
  let outputTokens = 0;
217763
217797
  const prompt = opts.disableHistory ? make$77(empty) : history;
217764
- update(prompt, concat(opts.prompt));
217798
+ update$1(prompt, concat(opts.prompt));
217765
217799
  let system = (typeof opts.system === "function" ? opts.system : defaultSystem)({
217766
217800
  toolInstructions: generateSystemTools(capabilities, conversationMode),
217767
217801
  agentsMd: getOrElse$2(agentsMd, () => "")
@@ -217856,7 +217890,7 @@ ${content}
217856
217890
  });
217857
217891
  return output;
217858
217892
  });
217859
- if (!modelConfig.systemPromptTransform) update(prompt, setSystem(system));
217893
+ if (!modelConfig.systemPromptTransform) update$1(prompt, setSystem(system));
217860
217894
  yield* gen(function* () {
217861
217895
  while (true) {
217862
217896
  if (isSome(finalSummary)) {
@@ -217864,7 +217898,7 @@ ${content}
217864
217898
  return;
217865
217899
  }
217866
217900
  if (pendingMessages.size > 0) {
217867
- update(prompt, concat(Array$2.from(pendingMessages, ({ message, resume }) => {
217901
+ update$1(prompt, concat(Array$2.from(pendingMessages, ({ message, resume }) => {
217868
217902
  resume(void_$2);
217869
217903
  return {
217870
217904
  role: "user",
@@ -217949,7 +217983,7 @@ ${content}
217949
217983
  },
217950
217984
  schedule: retryPolicy
217951
217985
  }), modelConfig.systemPromptTransform ? (effect) => modelConfig.systemPromptTransform(system, effect) : identity);
217952
- update(prompt, concat(fromResponseParts(response)));
217986
+ update$1(prompt, concat(fromResponseParts(response)));
217953
217987
  if (conversationMode && !hadToolCall && pendingMessages.size === 0) finalSummary = some$2(responseToSummary(response));
217954
217988
  }
217955
217989
  }).pipe(provideService$2(ScriptExecutor, (script) => {
@@ -218225,7 +218259,7 @@ Union$2([
218225
218259
  */
218226
218260
  var AgentFinished = class extends TaggedErrorClass()("AgentFinished", { summary: String$1 }) {};
218227
218261
  //#endregion
218228
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/encoding/Sse.js
218262
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/encoding/Sse.js
218229
218263
  /**
218230
218264
  * @since 4.0.0
218231
218265
  * @category Decoding
@@ -218408,7 +218442,7 @@ var Retry = class Retry extends TaggedClass$2("Retry") {
218408
218442
  }
218409
218443
  };
218410
218444
  //#endregion
218411
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/Generated.js
218445
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/Generated.js
218412
218446
  /**
218413
218447
  * @since 1.0.0
218414
218448
  */ const AdminApiKey = /* @__PURE__ */ Struct$2({
@@ -226476,7 +226510,7 @@ const OpenAiClientError = (tag, cause, response) => new OpenAiClientErrorImpl({
226476
226510
  request: response.request
226477
226511
  });
226478
226512
  //#endregion
226479
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/internal/errors.js
226513
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/internal/errors.js
226480
226514
  /** @internal */
226481
226515
  const OpenAiErrorBody$1 = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
226482
226516
  message: String$1,
@@ -226689,7 +226723,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
226689
226723
  }
226690
226724
  };
226691
226725
  //#endregion
226692
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
226726
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
226693
226727
  /**
226694
226728
  * @since 1.0.0
226695
226729
  */
@@ -226704,7 +226738,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
226704
226738
  static getOrUndefined = /* @__PURE__ */ map$10(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
226705
226739
  };
226706
226740
  //#endregion
226707
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/OpenAiClient.js
226741
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/OpenAiClient.js
226708
226742
  /**
226709
226743
  * OpenAI Client module for interacting with OpenAI's API.
226710
226744
  *
@@ -226921,7 +226955,7 @@ const decodeEvent = /* @__PURE__ */ decodeUnknownSync(/* @__PURE__ */ fromJsonSt
226921
226955
  */
226922
226956
  const layerWebSocketMode = /* @__PURE__ */ effectServices(makeSocket);
226923
226957
  //#endregion
226924
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
226958
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
226925
226959
  /**
226926
226960
  * The `EmbeddingModel` module provides provider-agnostic text embedding capabilities.
226927
226961
  *
@@ -227020,7 +227054,7 @@ const mapProviderResults = (inputLength, results) => {
227020
227054
  return succeed$4(embeddings);
227021
227055
  };
227022
227056
  //#endregion
227023
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
227057
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
227024
227058
  /**
227025
227059
  * OpenAI Embedding Model implementation.
227026
227060
  *
@@ -227100,7 +227134,7 @@ const invalidOutput = (description) => make$15({
227100
227134
  reason: new InvalidOutputError({ description })
227101
227135
  });
227102
227136
  //#endregion
227103
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
227137
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
227104
227138
  /**
227105
227139
  * Provides codec transformations for OpenAI structured output.
227106
227140
  *
@@ -227405,7 +227439,7 @@ const formats = [
227405
227439
  "uuid"
227406
227440
  ];
227407
227441
  //#endregion
227408
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/internal/utilities.js
227442
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/internal/utilities.js
227409
227443
  const finishReasonMap$1 = {
227410
227444
  content_filter: "content-filter",
227411
227445
  function_call: "tool-calls",
@@ -227423,7 +227457,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
227423
227457
  return reason;
227424
227458
  };
227425
227459
  //#endregion
227426
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
227460
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
227427
227461
  /**
227428
227462
  * OpenAI telemetry attributes for OpenTelemetry integration.
227429
227463
  *
@@ -227452,7 +227486,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
227452
227486
  }
227453
227487
  });
227454
227488
  //#endregion
227455
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
227489
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
227456
227490
  /**
227457
227491
  * OpenAI Language Model implementation.
227458
227492
  *
@@ -229220,7 +229254,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
229220
229254
  })));
229221
229255
  });
229222
229256
  //#endregion
229223
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/CodexAuth.js
229257
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/CodexAuth.js
229224
229258
  /**
229225
229259
  * @since 1.0.0
229226
229260
  */
@@ -229440,7 +229474,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
229440
229474
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
229441
229475
  };
229442
229476
  //#endregion
229443
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/Codex.js
229477
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/Codex.js
229444
229478
  /**
229445
229479
  * @since 1.0.0
229446
229480
  */
@@ -229466,7 +229500,7 @@ const layerModel = (model, options) => layer$7({
229466
229500
  }
229467
229501
  }).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
229468
229502
  //#endregion
229469
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/CodeChunker.js
229503
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/CodeChunker.js
229470
229504
  /**
229471
229505
  * @since 1.0.0
229472
229506
  */
@@ -229940,7 +229974,7 @@ const layer$6 = effect$1(CodeChunker, gen(function* () {
229940
229974
  });
229941
229975
  }));
229942
229976
  //#endregion
229943
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
229977
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
229944
229978
  /** @internal */
229945
229979
  const OpenAiErrorBody = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
229946
229980
  message: String$1,
@@ -230148,7 +230182,7 @@ const mapStatusCodeToReason = ({ status, headers, message, metadata, http }) =>
230148
230182
  }
230149
230183
  };
230150
230184
  //#endregion
230151
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
230185
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
230152
230186
  /**
230153
230187
  * @since 1.0.0
230154
230188
  */
@@ -230163,7 +230197,7 @@ var OpenAiConfig = class OpenAiConfig extends Service$1()("@effect/ai-openai-com
230163
230197
  static getOrUndefined = /* @__PURE__ */ map$10(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig.key));
230164
230198
  };
230165
230199
  //#endregion
230166
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
230200
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
230167
230201
  /**
230168
230202
  * @since 1.0.0
230169
230203
  */
@@ -230299,7 +230333,7 @@ const decodeChatCompletionSseData = (data) => {
230299
230333
  return isChatCompletionChunk(parsed) ? parsed : void 0;
230300
230334
  };
230301
230335
  //#endregion
230302
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
230336
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
230303
230337
  const finishReasonMap = {
230304
230338
  content_filter: "content-filter",
230305
230339
  function_call: "tool-calls",
@@ -230315,7 +230349,7 @@ const resolveFinishReason = (finishReason, hasToolCalls) => {
230315
230349
  return reason;
230316
230350
  };
230317
230351
  //#endregion
230318
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
230352
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
230319
230353
  /**
230320
230354
  * OpenAI telemetry attributes for OpenTelemetry integration.
230321
230355
  *
@@ -230344,7 +230378,7 @@ const addGenAIAnnotations = /* @__PURE__ */ dual(2, (span, options) => {
230344
230378
  }
230345
230379
  });
230346
230380
  //#endregion
230347
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
230381
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
230348
230382
  /**
230349
230383
  * OpenAI Language Model implementation.
230350
230384
  *
@@ -231226,7 +231260,7 @@ const getUsageDetailNumber = (details, field) => {
231226
231260
  return typeof value === "number" ? value : void 0;
231227
231261
  };
231228
231262
  //#endregion
231229
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/CopilotAuth.js
231263
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/CopilotAuth.js
231230
231264
  /**
231231
231265
  * @since 1.0.0
231232
231266
  */
@@ -231417,7 +231451,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
231417
231451
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
231418
231452
  };
231419
231453
  //#endregion
231420
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/Copilot.js
231454
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/Copilot.js
231421
231455
  /**
231422
231456
  * @since 1.0.0
231423
231457
  */
@@ -231837,7 +231871,7 @@ Object.defineProperties(createChalk.prototype, styles);
231837
231871
  const chalk = createChalk();
231838
231872
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
231839
231873
  //#endregion
231840
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/OutputFormatter.js
231874
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/OutputFormatter.js
231841
231875
  /**
231842
231876
  * @since 1.0.0
231843
231877
  */
@@ -231943,7 +231977,7 @@ const layerMuxer = (formatter) => effect$1(Muxer, gen(function* () {
231943
231977
  });
231944
231978
  }));
231945
231979
  //#endregion
231946
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/schema/VariantSchema.js
231980
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/schema/VariantSchema.js
231947
231981
  /**
231948
231982
  * @since 4.0.0
231949
231983
  * @category Type IDs
@@ -232051,7 +232085,7 @@ const Union$1 = (members, variants) => {
232051
232085
  return VariantUnion;
232052
232086
  };
232053
232087
  //#endregion
232054
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/schema/Model.js
232088
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/schema/Model.js
232055
232089
  const { Class, Field, FieldExcept, FieldOnly, Struct, Union, extract, fieldEvolve } = /* @__PURE__ */ make$1({
232056
232090
  variants: [
232057
232091
  "select",
@@ -232077,7 +232111,7 @@ const Generated = (schema) => Field({
232077
232111
  json: schema
232078
232112
  });
232079
232113
  //#endregion
232080
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/SqlError.js
232114
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/SqlError.js
232081
232115
  /**
232082
232116
  * @since 4.0.0
232083
232117
  */
@@ -232335,7 +232369,7 @@ var ResultLengthMismatch = class extends TaggedErrorClass("effect/sql/ResultLeng
232335
232369
  }
232336
232370
  };
232337
232371
  //#endregion
232338
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/SqlResolver.js
232372
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/SqlResolver.js
232339
232373
  /**
232340
232374
  * @since 4.0.0
232341
232375
  */
@@ -232483,7 +232517,7 @@ function transactionKey(entry) {
232483
232517
  return byReferenceUnsafe(conn);
232484
232518
  }
232485
232519
  //#endregion
232486
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/SqlSchema.js
232520
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/SqlSchema.js
232487
232521
  /**
232488
232522
  * Run a sql query with a request schema and a result schema.
232489
232523
  *
@@ -232496,7 +232530,7 @@ const findAll = (options) => {
232496
232530
  return (request) => flatMap$5(flatMap$5(encodeRequest(request), options.execute), decode);
232497
232531
  };
232498
232532
  //#endregion
232499
- //#region node_modules/.pnpm/effect@4.0.0-beta.37/node_modules/effect/dist/unstable/sql/SqlModel.js
232533
+ //#region node_modules/.pnpm/effect@4.0.0-beta.38/node_modules/effect/dist/unstable/sql/SqlModel.js
232500
232534
  /**
232501
232535
  * Create some simple data loaders from a model.
232502
232536
  *
@@ -232545,7 +232579,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
232545
232579
  };
232546
232580
  });
232547
232581
  //#endregion
232548
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/ChunkRepo.js
232582
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/ChunkRepo.js
232549
232583
  /**
232550
232584
  * @since 1.0.0
232551
232585
  * @category Models
@@ -232676,7 +232710,7 @@ const layer$3 = effect$1(ChunkRepo, gen(function* () {
232676
232710
  });
232677
232711
  }));
232678
232712
  //#endregion
232679
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
232713
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
232680
232714
  /**
232681
232715
  * @since 1.0.0
232682
232716
  */
@@ -232799,7 +232833,7 @@ const make = (options) => gen(function* () {
232799
232833
  */
232800
232834
  const layer$2 = (config) => effectServices(map$10(make(config), (client) => make$89(SqliteClient, client).pipe(add$3(SqlClient, client)))).pipe(provide$3(layer$32));
232801
232835
  //#endregion
232802
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.37_effect@4.0.0-beta.37/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
232836
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.38_effect@4.0.0-beta.38/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
232803
232837
  /**
232804
232838
  * @category constructor
232805
232839
  * @since 1.0.0
@@ -232811,7 +232845,7 @@ const run$1 = /* @__PURE__ */ make$25({});
232811
232845
  */
232812
232846
  const layer$1 = (options) => effectDiscard(run$1(options));
232813
232847
  //#endregion
232814
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/internal/sqlite-vector.js
232848
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/internal/sqlite-vector.js
232815
232849
  /**
232816
232850
  * Binary extension for each platform
232817
232851
  */
@@ -232928,7 +232962,7 @@ function getExtensionPath() {
232928
232962
  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`);
232929
232963
  }
232930
232964
  //#endregion
232931
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/Sqlite.js
232965
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/Sqlite.js
232932
232966
  /**
232933
232967
  * @since 1.0.0
232934
232968
  */
@@ -232956,7 +232990,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
232956
232990
  yield* fs.makeDirectory(directory, { recursive: true });
232957
232991
  }))));
232958
232992
  //#endregion
232959
- //#region node_modules/.pnpm/clanka@0.2.33_@effect+ai-openai-compat@4.0.0-beta.37_effect@4.0.0-beta.37__@effect+ai-o_00342e2bfaabab8f086f8b2fc53aa818/node_modules/clanka/dist/SemanticSearch.js
232993
+ //#region node_modules/.pnpm/clanka@0.2.34_@effect+ai-openai-compat@4.0.0-beta.38_effect@4.0.0-beta.38__@effect+ai-o_7f7bb8424a1d447692f4b19046cb3277/node_modules/clanka/dist/SemanticSearch.js
232960
232994
  /**
232961
232995
  * @since 1.0.0
232962
232996
  */
@@ -240781,9 +240815,6 @@ ${options.gitFlow.reviewInstructions}
240781
240815
  # Previous instructions (only for context, do not repeat)
240782
240816
 
240783
240817
  ${options.prompt}`;
240784
- const promptReviewCustom = (options) => options.removePrdNotes ? options.prompt : `${options.prompt}
240785
-
240786
- ${prdNotes(options)}`;
240787
240818
  const promptTimeout = (options) => `Your earlier attempt to complete the task with id \`${options.taskId}\` took too
240788
240819
  long and has timed out. You can find the task details in the prd.yml file.
240789
240820
 
@@ -240924,7 +240955,6 @@ Make sure to setup dependencies between the tasks using the \`blockedBy\` field.
240924
240955
  promptClanka,
240925
240956
  promptResearch,
240926
240957
  promptReview,
240927
- promptReviewCustom,
240928
240958
  promptTimeout,
240929
240959
  promptTimeoutClanka,
240930
240960
  promptTimeoutRalph,
@@ -241881,34 +241911,20 @@ const agentReviewer = fnUntraced(function* (options) {
241881
241911
  directory: worktree.directory,
241882
241912
  model: options.preset.extraArgs.join(" "),
241883
241913
  system,
241884
- prompt: match$10(customInstructions, {
241885
- onNone: () => promptGen.promptReview({
241886
- prompt: options.instructions,
241887
- gitFlow
241888
- }),
241889
- onSome: (prompt) => promptGen.promptReviewCustom({
241890
- prompt,
241891
- specsDirectory: options.specsDirectory,
241892
- removePrdNotes: true
241893
- })
241894
- }),
241914
+ prompt: getOrElse$2(customInstructions, () => promptGen.promptReview({
241915
+ prompt: options.instructions,
241916
+ gitFlow
241917
+ })),
241895
241918
  stallTimeout: options.stallTimeout,
241896
241919
  mode
241897
241920
  });
241898
241921
  return ExitCode(0);
241899
241922
  }
241900
241923
  return yield* pipe$1(options.preset.cliAgent.command({
241901
- prompt: match$10(customInstructions, {
241902
- onNone: () => promptGen.promptReview({
241903
- prompt: options.instructions,
241904
- gitFlow
241905
- }),
241906
- onSome: (prompt) => promptGen.promptReviewCustom({
241907
- prompt,
241908
- specsDirectory: options.specsDirectory,
241909
- removePrdNotes: false
241910
- })
241911
- }),
241924
+ prompt: getOrElse$2(customInstructions, () => promptGen.promptReview({
241925
+ prompt: options.instructions,
241926
+ gitFlow
241927
+ })),
241912
241928
  prdFilePath: pathService.join(".lalph", "prd.yml"),
241913
241929
  extraArgs: options.preset.extraArgs
241914
241930
  }), setCwd(worktree.directory), options.preset.withCommandPrefix).pipe(worktree.execWithStallTimeout({
@@ -242666,7 +242682,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
242666
242682
  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));
242667
242683
  //#endregion
242668
242684
  //#region package.json
242669
- var version = "0.3.105";
242685
+ var version = "0.3.107";
242670
242686
  //#endregion
242671
242687
  //#region src/Tracing.ts
242672
242688
  const TracingLayer = unwrap$3(gen(function* () {