lalph 0.3.135 → 0.3.136

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.75/node_modules/effect/dist/Pipeable.js
68
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Pipeable.js
69
69
  /**
70
70
  * The `Pipeable` module defines the shared interface and implementation helpers
71
71
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -178,7 +178,7 @@ const Class$6 = /* @__PURE__ */ function() {
178
178
  return PipeableBase;
179
179
  }();
180
180
  //#endregion
181
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Function.js
181
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Function.js
182
182
  /**
183
183
  * Creates a function that can be called in data-first style or data-last
184
184
  * (`pipe`-friendly) style.
@@ -508,7 +508,7 @@ function memoize$1(f) {
508
508
  };
509
509
  }
510
510
  //#endregion
511
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/equal.js
511
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/equal.js
512
512
  /** @internal */
513
513
  const getAllObjectKeys = (obj) => {
514
514
  const keys = new Set(Reflect.ownKeys(obj));
@@ -527,7 +527,7 @@ const getAllObjectKeys = (obj) => {
527
527
  /** @internal */
528
528
  const byReferenceInstances = /* @__PURE__ */ new WeakSet();
529
529
  //#endregion
530
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Predicate.js
530
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Predicate.js
531
531
  /**
532
532
  * Predicates are small boolean functions for checking values at runtime.
533
533
  * Refinements are predicates that also narrow TypeScript types after a
@@ -1166,6 +1166,34 @@ const hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObjectKeyword(
1166
1166
  */
1167
1167
  const isTagged = /* @__PURE__ */ dual(2, (self, tag) => hasProperty(self, "_tag") && self["_tag"] === tag);
1168
1168
  /**
1169
+ * Checks whether a value is an `Error`.
1170
+ *
1171
+ * **When to use**
1172
+ *
1173
+ * Use when you need a `Predicate` guard for errors caught from unknown sources.
1174
+ *
1175
+ * **Details**
1176
+ *
1177
+ * Uses `instanceof Error`.
1178
+ *
1179
+ * **Example** (Guard error)
1180
+ *
1181
+ * ```ts
1182
+ * import { Predicate } from "effect"
1183
+ *
1184
+ * const data: unknown = new Error("boom")
1185
+ *
1186
+ * console.log(Predicate.isError(data))
1187
+ * ```
1188
+ *
1189
+ * @see {@link isUnknown}
1190
+ * @category guards
1191
+ * @since 2.0.0
1192
+ */
1193
+ function isError(input) {
1194
+ return input instanceof Error;
1195
+ }
1196
+ /**
1169
1197
  * Checks whether a value is iterable.
1170
1198
  *
1171
1199
  * **When to use**
@@ -1224,7 +1252,7 @@ function isIterable(input) {
1224
1252
  */
1225
1253
  const or$1 = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
1226
1254
  //#endregion
1227
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Hash.js
1255
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Hash.js
1228
1256
  /**
1229
1257
  * The `Hash` module computes Effect hash values and defines the interface for
1230
1258
  * objects that want to provide their own hash implementation. Hashes are small
@@ -1703,7 +1731,7 @@ function withVisitedTracking$1(obj, fn) {
1703
1731
  return result;
1704
1732
  }
1705
1733
  //#endregion
1706
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Equal.js
1734
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Equal.js
1707
1735
  /**
1708
1736
  * Defines the unique string identifier for the `Equal` interface.
1709
1737
  *
@@ -1981,7 +2009,7 @@ const byReferenceUnsafe = (obj) => {
1981
2009
  return obj;
1982
2010
  };
1983
2011
  //#endregion
1984
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Redactable.js
2012
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Redactable.js
1985
2013
  /**
1986
2014
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1987
2015
  * protocol.
@@ -2095,7 +2123,7 @@ const emptyContext$1 = {
2095
2123
  }
2096
2124
  };
2097
2125
  //#endregion
2098
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Formatter.js
2126
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Formatter.js
2099
2127
  /**
2100
2128
  * Utilities for converting arbitrary JavaScript values into human-readable
2101
2129
  * strings, with support for circular references, redaction, and common JS
@@ -2369,7 +2397,7 @@ function formatJson(input, options) {
2369
2397
  }, options?.space);
2370
2398
  }
2371
2399
  //#endregion
2372
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Inspectable.js
2400
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Inspectable.js
2373
2401
  /**
2374
2402
  * Inspection protocol for stable string, JSON, and Node.js representations.
2375
2403
  *
@@ -2641,7 +2669,7 @@ var Class$5 = class {
2641
2669
  }
2642
2670
  };
2643
2671
  //#endregion
2644
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Utils.js
2672
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Utils.js
2645
2673
  /**
2646
2674
  * Yields its wrapped value exactly once through an `IterableIterator`.
2647
2675
  *
@@ -2729,7 +2757,7 @@ const forced = { [InternalTypeId]: (body) => {
2729
2757
  /** @internal */
2730
2758
  const internalCall = /* @__PURE__ */ standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
2731
2759
  //#endregion
2732
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/core.js
2760
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/core.js
2733
2761
  /** @internal */
2734
2762
  const EffectTypeId$1 = `~effect/Effect`;
2735
2763
  /** @internal */
@@ -3052,7 +3080,7 @@ const YieldableError = /* @__PURE__ */ function() {
3052
3080
  return YieldableError;
3053
3081
  }();
3054
3082
  /** @internal */
3055
- const Error$4 = /* @__PURE__ */ function() {
3083
+ const Error$3 = /* @__PURE__ */ function() {
3056
3084
  const plainArgsSymbol = /* @__PURE__ */ Symbol.for("effect/Data/Error/plainArgs");
3057
3085
  return class Base extends YieldableError {
3058
3086
  constructor(args) {
@@ -3075,7 +3103,7 @@ const Error$4 = /* @__PURE__ */ function() {
3075
3103
  }();
3076
3104
  /** @internal */
3077
3105
  const TaggedError$1 = (tag) => {
3078
- class Base extends Error$4 {
3106
+ class Base extends Error$3 {
3079
3107
  _tag = tag;
3080
3108
  }
3081
3109
  Base.prototype.name = tag;
@@ -3117,7 +3145,7 @@ const done$2 = (value) => {
3117
3145
  return exitFail(Done$1(value));
3118
3146
  };
3119
3147
  //#endregion
3120
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Effectable.js
3148
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Effectable.js
3121
3149
  /**
3122
3150
  * Create a low-level `Effect` prototype.
3123
3151
  *
@@ -3141,7 +3169,7 @@ const Prototype = (options) => makePrimitiveProto({
3141
3169
  [evaluate]: options.evaluate
3142
3170
  });
3143
3171
  //#endregion
3144
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Equivalence.js
3172
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Equivalence.js
3145
3173
  /**
3146
3174
  * Creates a custom equivalence relation with an optimized reference equality check.
3147
3175
  *
@@ -3317,7 +3345,7 @@ function Array_(item) {
3317
3345
  });
3318
3346
  }
3319
3347
  //#endregion
3320
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/option.js
3348
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/option.js
3321
3349
  /**
3322
3350
  * @since 2.0.0
3323
3351
  */
@@ -3388,7 +3416,7 @@ const some$1 = (value) => {
3388
3416
  return a;
3389
3417
  };
3390
3418
  //#endregion
3391
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/result.js
3419
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/result.js
3392
3420
  const TypeId$78 = "~effect/data/Result";
3393
3421
  const CommonProto = {
3394
3422
  [TypeId$78]: {
@@ -3460,7 +3488,7 @@ const succeed$10 = (success) => {
3460
3488
  return a;
3461
3489
  };
3462
3490
  //#endregion
3463
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Order.js
3491
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Order.js
3464
3492
  /**
3465
3493
  * The `Order` module defines total orderings: pure comparison functions that
3466
3494
  * decide whether one value is less than, equal to, or greater than another. An
@@ -3772,7 +3800,7 @@ const isGreaterThanOrEqualTo$3 = (O) => dual(2, (self, that) => O(self, that) !=
3772
3800
  */
3773
3801
  const min$1 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
3774
3802
  //#endregion
3775
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Option.js
3803
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Option.js
3776
3804
  /**
3777
3805
  * Creates an `Option` representing the absence of a value.
3778
3806
  *
@@ -4629,7 +4657,7 @@ const makeEquivalence$5 = (isEquivalent) => make$91((x, y) => isNone(x) ? isNone
4629
4657
  */
4630
4658
  const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some(b) : none());
4631
4659
  //#endregion
4632
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Context.js
4660
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Context.js
4633
4661
  /**
4634
4662
  * Runtime type identifier attached to `Context` service keys and used by
4635
4663
  * `isKey` to recognize them.
@@ -5354,7 +5382,7 @@ const withMapUnsafe = (self, f) => {
5354
5382
  */
5355
5383
  const Reference = Service$1;
5356
5384
  //#endregion
5357
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Data.js
5385
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Data.js
5358
5386
  /**
5359
5387
  * Provides a base class for immutable data types.
5360
5388
  *
@@ -5560,7 +5588,7 @@ function taggedMatch() {
5560
5588
  * @category constructors
5561
5589
  * @since 2.0.0
5562
5590
  */
5563
- const Error$3 = Error$4;
5591
+ const Error$2 = Error$3;
5564
5592
  /**
5565
5593
  * Creates a tagged error class with a `_tag` discriminator.
5566
5594
  *
@@ -5606,7 +5634,7 @@ const Error$3 = Error$4;
5606
5634
  */
5607
5635
  const TaggedError = TaggedError$1;
5608
5636
  //#endregion
5609
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Duration.js
5637
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Duration.js
5610
5638
  const TypeId$76 = "~effect/time/Duration";
5611
5639
  const bigint0$2 = /* @__PURE__ */ BigInt(0);
5612
5640
  const bigint24 = /* @__PURE__ */ BigInt(24);
@@ -6384,14 +6412,14 @@ const format$1 = (self) => {
6384
6412
  return pieces.join(" ");
6385
6413
  };
6386
6414
  //#endregion
6387
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/array.js
6415
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/array.js
6388
6416
  /**
6389
6417
  * @since 2.0.0
6390
6418
  */
6391
6419
  /** @internal */
6392
6420
  const isArrayNonEmpty$1 = (self) => self.length > 0;
6393
6421
  //#endregion
6394
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Result.js
6422
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Result.js
6395
6423
  /**
6396
6424
  * Creates a `Result` holding a `Success` value.
6397
6425
  *
@@ -6648,7 +6676,7 @@ const match$5 = /* @__PURE__ */ dual(2, (self, { onFailure, onSuccess }) => isFa
6648
6676
  */
6649
6677
  const getOrUndefined = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure) => isFailure$2(self) ? onFailure(self.failure) : self.success))(constUndefined);
6650
6678
  //#endregion
6651
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Tuple.js
6679
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Tuple.js
6652
6680
  /**
6653
6681
  * Creates an `Equivalence` for tuples by comparing corresponding elements
6654
6682
  * using the provided per-position `Equivalence`s. Two tuples are equivalent
@@ -6682,7 +6710,7 @@ const getOrUndefined = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure
6682
6710
  */
6683
6711
  const makeEquivalence$4 = Tuple$1;
6684
6712
  //#endregion
6685
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Iterable.js
6713
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Iterable.js
6686
6714
  /**
6687
6715
  * Returns the number of elements in a `Iterable`.
6688
6716
  *
@@ -6843,7 +6871,7 @@ const constEmptyIterator = { next() {
6843
6871
  */
6844
6872
  const empty$18 = () => constEmpty;
6845
6873
  //#endregion
6846
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Record.js
6874
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Record.js
6847
6875
  /**
6848
6876
  * Creates a new, empty record.
6849
6877
  *
@@ -7023,7 +7051,7 @@ const makeEquivalence$3 = (equivalence) => {
7023
7051
  return (self, that) => is(self, that) && is(that, self);
7024
7052
  };
7025
7053
  //#endregion
7026
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Array.js
7054
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Array.js
7027
7055
  /**
7028
7056
  * The `Array` module provides functional operations for JavaScript arrays,
7029
7057
  * readonly arrays, and arrays that are known to contain at least one element.
@@ -7941,7 +7969,7 @@ const dedupeWith = /* @__PURE__ */ dual(2, (self, isEquivalent) => {
7941
7969
  */
7942
7970
  const join$3 = /* @__PURE__ */ dual(2, (self, sep) => fromIterable$3(self).join(sep));
7943
7971
  //#endregion
7944
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Filter.js
7972
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Filter.js
7945
7973
  /**
7946
7974
  * Converts a Filter into a predicate function.
7947
7975
  *
@@ -8019,7 +8047,7 @@ const composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
8019
8047
  return rightOut;
8020
8048
  });
8021
8049
  //#endregion
8022
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Scheduler.js
8050
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Scheduler.js
8023
8051
  /**
8024
8052
  * The `Scheduler` module defines the runtime scheduling services used by
8025
8053
  * Effect fibers. A scheduler decides how runnable tasks are enqueued, when they
@@ -8228,7 +8256,7 @@ const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBefo
8228
8256
  */
8229
8257
  const PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
8230
8258
  //#endregion
8231
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Tracer.js
8259
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Tracer.js
8232
8260
  /**
8233
8261
  * The `Tracer` module defines the low-level tracing model used by Effect to
8234
8262
  * describe and propagate spans. A span records the lifetime of an operation,
@@ -8554,11 +8582,11 @@ const randomHexString = /* @__PURE__ */ function() {
8554
8582
  };
8555
8583
  }();
8556
8584
  //#endregion
8557
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/metric.js
8585
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/metric.js
8558
8586
  /** @internal */
8559
8587
  const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
8560
8588
  //#endregion
8561
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/references.js
8589
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/references.js
8562
8590
  /** @internal */
8563
8591
  const CurrentConcurrency$1 = /* @__PURE__ */ Reference("effect/References/CurrentConcurrency", { defaultValue: () => "unbounded" });
8564
8592
  /** @internal */
@@ -8582,7 +8610,7 @@ const MinimumLogLevel$1 = /* @__PURE__ */ Reference("effect/References/MinimumLo
8582
8610
  /** @internal */
8583
8611
  const CurrentLogSpans$1 = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
8584
8612
  //#endregion
8585
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/tracer.js
8613
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/tracer.js
8586
8614
  /** @internal */
8587
8615
  const addSpanStackTrace = (options) => {
8588
8616
  if (options?.captureStackTrace === false) return options;
@@ -8612,7 +8640,7 @@ const makeStackCleaner = (line) => (stack) => {
8612
8640
  };
8613
8641
  const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
8614
8642
  //#endregion
8615
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/effect.js
8643
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/effect.js
8616
8644
  /** @internal */
8617
8645
  var Interrupt$1 = class extends ReasonBase {
8618
8646
  fiberId;
@@ -10619,7 +10647,7 @@ const reportCauseUnsafe = (fiber, cause, defectsOnly) => {
10619
10647
  reporters.forEach((reporter) => reporter.report(opts));
10620
10648
  };
10621
10649
  //#endregion
10622
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Exit.js
10650
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Exit.js
10623
10651
  /**
10624
10652
  * Checks whether an unknown value is an Exit.
10625
10653
  *
@@ -11278,7 +11306,7 @@ const doneUnsafe = (self, effect) => {
11278
11306
  */
11279
11307
  const into = /* @__PURE__ */ dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$5(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
11280
11308
  //#endregion
11281
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/References.js
11309
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/References.js
11282
11310
  /**
11283
11311
  * Context reference for controlling the current concurrency limit. Can be set to "unbounded"
11284
11312
  * for unlimited concurrency or a specific number to limit concurrent operations.
@@ -11604,7 +11632,7 @@ const TracerEnabled = TracerEnabled$1;
11604
11632
  */
11605
11633
  const TracerTimingEnabled = TracerTimingEnabled$1;
11606
11634
  //#endregion
11607
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Scope.js
11635
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Scope.js
11608
11636
  /**
11609
11637
  * The `Scope` module manages resource lifetimes by collecting finalizers and
11610
11638
  * running them when a scope is closed. It is the low-level mechanism behind
@@ -11949,7 +11977,7 @@ const close = scopeClose;
11949
11977
  */
11950
11978
  const closeUnsafe = scopeCloseUnsafe;
11951
11979
  //#endregion
11952
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Layer.js
11980
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Layer.js
11953
11981
  const TypeId$74 = "~effect/Layer";
11954
11982
  const MemoMapTypeId = "~effect/Layer/MemoMap";
11955
11983
  const memoMapReuse = (entry, scope) => {
@@ -13135,7 +13163,7 @@ const makeUnimplemented = (error) => {
13135
13163
  const StreamTypeId$1 = "~effect/Stream";
13136
13164
  const ChannelTypeId = "~effect/Channel";
13137
13165
  //#endregion
13138
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Cause.js
13166
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Cause.js
13139
13167
  /**
13140
13168
  * Structured representation of how an Effect can fail.
13141
13169
  *
@@ -13919,7 +13947,7 @@ const UnknownError$2 = UnknownError$3;
13919
13947
  var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
13920
13948
  Service$1()("effect/Cause/InterruptorStackTrace");
13921
13949
  //#endregion
13922
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Clock.js
13950
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Clock.js
13923
13951
  /**
13924
13952
  * Context reference for the active time service in the environment.
13925
13953
  *
@@ -13948,7 +13976,7 @@ Service$1()("effect/Cause/InterruptorStackTrace");
13948
13976
  */
13949
13977
  const Clock = ClockRef;
13950
13978
  //#endregion
13951
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/dateTime.js
13979
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/dateTime.js
13952
13980
  /** @internal */
13953
13981
  const TypeId$73 = "~effect/time/DateTime";
13954
13982
  /** @internal */
@@ -14231,7 +14259,7 @@ const formatIsoOffset = (self) => {
14231
14259
  /** @internal */
14232
14260
  const formatIsoZoned = (self) => self.zone._tag === "Offset" ? formatIsoOffset(self) : `${formatIsoOffset(self)}[${self.zone.id}]`;
14233
14261
  //#endregion
14234
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Number.js
14262
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Number.js
14235
14263
  /**
14236
14264
  * Exposes the global number constructor.
14237
14265
  *
@@ -14429,7 +14457,7 @@ const isNonEmpty$1 = (self) => self.length > 0;
14429
14457
  */
14430
14458
  const camelToSnake = (self) => self.replace(/([A-Z])/g, "_$1").toLowerCase();
14431
14459
  //#endregion
14432
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/random.js
14460
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/random.js
14433
14461
  /** @internal */
14434
14462
  const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () => ({
14435
14463
  nextIntUnsafe() {
@@ -14440,7 +14468,7 @@ const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () =
14440
14468
  }
14441
14469
  }) });
14442
14470
  //#endregion
14443
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Pull.js
14471
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Pull.js
14444
14472
  /**
14445
14473
  * The `Pull` module provides the low-level pull-step abstraction used by
14446
14474
  * stream-like consumers. A `Pull<A, E, Done, R>` is an `Effect` that can
@@ -14610,7 +14638,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
14610
14638
  }
14611
14639
  }));
14612
14640
  //#endregion
14613
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Schedule.js
14641
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Schedule.js
14614
14642
  /**
14615
14643
  * Declarative policies for retrying, repeating, and pacing Effect programs.
14616
14644
  *
@@ -15245,12 +15273,12 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$8(toSte
15245
15273
  */
15246
15274
  const forever$1 = /* @__PURE__ */ spaced(zero$1);
15247
15275
  //#endregion
15248
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/layer.js
15276
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/layer.js
15249
15277
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$5(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext$3(self, context)));
15250
15278
  /** @internal */
15251
15279
  const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isContext(source) ? provideContext$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll$2(...source) : source, options));
15252
15280
  //#endregion
15253
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/schedule.js
15281
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/schedule.js
15254
15282
  /** @internal */
15255
15283
  const repeatOrElse = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$5(toStepWithMetadata(schedule), (step) => {
15256
15284
  let meta = CurrentMetadata.defaultValue();
@@ -15295,7 +15323,7 @@ const buildFromOptions = (options) => {
15295
15323
  return schedule;
15296
15324
  };
15297
15325
  //#endregion
15298
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Request.js
15326
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Request.js
15299
15327
  const TypeId$71 = "~effect/Request";
15300
15328
  const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
15301
15329
  /* c8 ignore next */
@@ -15399,7 +15427,7 @@ const TaggedClass$1 = (tag) => {
15399
15427
  */
15400
15428
  const makeEntry = (options) => options;
15401
15429
  //#endregion
15402
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/request.js
15430
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/request.js
15403
15431
  /** @internal */
15404
15432
  const request$3 = /* @__PURE__ */ dual(2, (self, resolver) => {
15405
15433
  const withResolver = (resolver) => callback$2((resume) => {
@@ -15492,7 +15520,7 @@ function runBatch(batch) {
15492
15520
  return batch.run;
15493
15521
  }
15494
15522
  //#endregion
15495
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Effect.js
15523
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Effect.js
15496
15524
  /**
15497
15525
  * Checks whether a value is an `Effect`.
15498
15526
  *
@@ -20408,7 +20436,7 @@ const catchEager = catchEager$1;
20408
20436
  */
20409
20437
  const fnUntracedEager = fnUntracedEager$1;
20410
20438
  //#endregion
20411
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/record.js
20439
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/record.js
20412
20440
  /**
20413
20441
  * @since 4.0.0
20414
20442
  */
@@ -20424,7 +20452,7 @@ function set$10(self, key, value) {
20424
20452
  return self;
20425
20453
  }
20426
20454
  //#endregion
20427
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/schema/annotations.js
20455
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/schema/annotations.js
20428
20456
  /** @internal */
20429
20457
  function resolve$3(ast) {
20430
20458
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -20467,7 +20495,7 @@ globalThis.RegExp;
20467
20495
  */
20468
20496
  const escape$1 = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
20469
20497
  //#endregion
20470
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/DateTime.js
20498
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/DateTime.js
20471
20499
  /**
20472
20500
  * Checks whether a value is a `DateTime`.
20473
20501
  *
@@ -20897,7 +20925,7 @@ const subtract = subtract$1;
20897
20925
  */
20898
20926
  const formatIso = formatIso$1;
20899
20927
  //#endregion
20900
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Encoding.js
20928
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Encoding.js
20901
20929
  /**
20902
20930
  * Encode and decode text and bytes as Base64, Base64Url, and hexadecimal.
20903
20931
  *
@@ -21432,7 +21460,7 @@ const base64codes = [
21432
21460
  ];
21433
21461
  const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
21434
21462
  //#endregion
21435
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/redacted.js
21463
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/redacted.js
21436
21464
  /** @internal */
21437
21465
  const redactedRegistry = /* @__PURE__ */ new WeakMap();
21438
21466
  /** @internal */
@@ -21443,7 +21471,7 @@ const value$3 = (self) => {
21443
21471
  /** @internal */
21444
21472
  const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
21445
21473
  //#endregion
21446
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Redacted.js
21474
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Redacted.js
21447
21475
  /**
21448
21476
  * The `Redacted` module wraps sensitive values so normal rendering paths show
21449
21477
  * a placeholder instead of the underlying value. It is designed to reduce
@@ -21620,7 +21648,7 @@ const value$2 = value$3;
21620
21648
  */
21621
21649
  const makeEquivalence$1 = (isEquivalent) => make$91((x, y) => isEquivalent(value$2(x), value$2(y)));
21622
21650
  //#endregion
21623
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SchemaIssue.js
21651
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SchemaIssue.js
21624
21652
  const TypeId$69 = "~effect/SchemaIssue/Issue";
21625
21653
  /**
21626
21654
  * Returns `true` if the given value is an {@link Issue}.
@@ -22369,7 +22397,7 @@ function redact$2(issue) {
22369
22397
  }
22370
22398
  }
22371
22399
  //#endregion
22372
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SchemaGetter.js
22400
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SchemaGetter.js
22373
22401
  /**
22374
22402
  * Composable transformation primitives for the Effect Schema system.
22375
22403
  *
@@ -23070,7 +23098,7 @@ function decodeBase64() {
23070
23098
  return transformOrFail$1((input) => mapErrorEager(fromResult(decodeBase64$1(input)), (e) => new InvalidValue$1(some(input), { message: e.message })));
23071
23099
  }
23072
23100
  //#endregion
23073
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/BigDecimal.js
23101
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/BigDecimal.js
23074
23102
  /**
23075
23103
  * Decimal arithmetic backed by an unscaled `bigint` and a decimal scale.
23076
23104
  *
@@ -23512,7 +23540,7 @@ const isZero = (n) => n.value === bigint0;
23512
23540
  */
23513
23541
  const isNegative = (n) => n.value < bigint0;
23514
23542
  //#endregion
23515
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SchemaTransformation.js
23543
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SchemaTransformation.js
23516
23544
  /**
23517
23545
  * Middleware that wraps the entire parsing `Effect` pipeline for both
23518
23546
  * decode and encode directions.
@@ -23897,22 +23925,49 @@ const numberFromString = /* @__PURE__ */ new Transformation(/* @__PURE__ */ Numb
23897
23925
  * @since 4.0.0
23898
23926
  */
23899
23927
  const bigintFromString = /* @__PURE__ */ new Transformation(/* @__PURE__ */ BigInt$3(), /* @__PURE__ */ String$3());
23900
- /** @internal */
23901
- const errorFromErrorJsonEncoded = (options) => transform$3({
23902
- decode: (i) => {
23903
- const err = new Error(i.message);
23904
- if (typeof i.name === "string" && i.name !== "Error") err.name = i.name;
23905
- if (typeof i.stack === "string") err.stack = i.stack;
23906
- return err;
23907
- },
23908
- encode: (a) => {
23909
- const e = {
23910
- name: a.name,
23911
- message: a.message
23912
- };
23913
- if (options?.includeStack && typeof a.stack === "string") e.stack = a.stack;
23914
- return e;
23928
+ const isJsonError = (input) => isObject$2(input) && typeof input["message"] === "string";
23929
+ const decodeJsonError = (input) => {
23930
+ const err = Object.hasOwn(input, "cause") ? new Error(input.message, { cause: decodeDefect$1(input.cause) }) : new Error(input.message);
23931
+ if (typeof input.name === "string" && input.name !== "Error") err.name = input.name;
23932
+ if (typeof input.stack === "string") err.stack = input.stack;
23933
+ return err;
23934
+ };
23935
+ const encodeUnknownAsJson = (input) => {
23936
+ try {
23937
+ const json = formatJson(input);
23938
+ return json === void 0 ? format$2(input) : JSON.parse(json);
23939
+ } catch {
23940
+ return format$2(input);
23915
23941
  }
23942
+ };
23943
+ const encodeJsonError = (input, options, encodeDefect) => {
23944
+ const encoded = {
23945
+ name: input.name,
23946
+ message: typeof input.message === "string" ? input.message : ""
23947
+ };
23948
+ if (options?.includeStack && typeof input.stack === "string") encoded.stack = input.stack;
23949
+ if (!options?.excludeCause && input.cause !== void 0) encoded.cause = encodeDefect(input.cause);
23950
+ return encoded;
23951
+ };
23952
+ const makeEncodeDefect = (options) => {
23953
+ const seen = /* @__PURE__ */ new WeakSet();
23954
+ const encode = (input) => {
23955
+ if (isError(input)) {
23956
+ if (seen.has(input)) return "[Circular]";
23957
+ seen.add(input);
23958
+ const encoded = encodeJsonError(input, options, encode);
23959
+ seen.delete(input);
23960
+ return encoded;
23961
+ }
23962
+ return encodeUnknownAsJson(input);
23963
+ };
23964
+ return encode;
23965
+ };
23966
+ const decodeDefect$1 = (input) => isJsonError(input) ? decodeJsonError(input) : input;
23967
+ /** @internal */
23968
+ const defectFromJson = (options) => transform$3({
23969
+ decode: decodeDefect$1,
23970
+ encode: makeEncodeDefect(options)
23916
23971
  });
23917
23972
  /**
23918
23973
  * Decodes optional values into `Option<T>` and encodes `Option.none()` back to
@@ -24089,7 +24144,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
24089
24144
  encode: (utc) => succeed$4(formatIso(utc))
24090
24145
  });
24091
24146
  //#endregion
24092
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SchemaAST.js
24147
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SchemaAST.js
24093
24148
  /**
24094
24149
  * Abstract Syntax Tree (AST) representation for Effect schemas.
24095
24150
  *
@@ -26233,7 +26288,8 @@ const Json$1 = /* @__PURE__ */ new Declaration([], () => (input, ast) => isJson(
26233
26288
  Type: `Schema.Json`
26234
26289
  },
26235
26290
  expected: "JSON value",
26236
- toCodecJson: () => new Link(unknown$1, passthrough())
26291
+ toCodecJson: () => new Link(unknown$1, passthrough()),
26292
+ toArbitrary: () => (fc) => fc.jsonValue()
26237
26293
  });
26238
26294
  /** @internal */
26239
26295
  const MutableJson$1 = /* @__PURE__ */ annotate$1(Json$1, {
@@ -26272,7 +26328,7 @@ const unknownToStringTree = /* @__PURE__ */ new Link(/* @__PURE__ */ new Declara
26272
26328
  toCodecStringTree: () => new Link(unknown$1, passthrough())
26273
26329
  }), /* @__PURE__ */ passthrough());
26274
26330
  //#endregion
26275
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Brand.js
26331
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Brand.js
26276
26332
  /**
26277
26333
  * Returns a `Constructor` that **does not apply any runtime checks** and just
26278
26334
  * returns the provided value.
@@ -26296,7 +26352,7 @@ function nominal() {
26296
26352
  });
26297
26353
  }
26298
26354
  //#endregion
26299
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/PlatformError.js
26355
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/PlatformError.js
26300
26356
  /**
26301
26357
  * The `PlatformError` module defines the normalized error model used by
26302
26358
  * platform APIs when adapting host operations into Effect programs. It gives
@@ -26386,7 +26442,7 @@ var BadArgument = class extends TaggedError("BadArgument") {
26386
26442
  * @category models
26387
26443
  * @since 4.0.0
26388
26444
  */
26389
- var SystemError = class extends Error$3 {
26445
+ var SystemError = class extends Error$2 {
26390
26446
  /**
26391
26447
  * Formats the normalized system error tag with operation and path details.
26392
26448
  *
@@ -26470,7 +26526,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
26470
26526
  */
26471
26527
  const badArgument = (options) => new PlatformError(new BadArgument(options));
26472
26528
  //#endregion
26473
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Chunk.js
26529
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Chunk.js
26474
26530
  const TypeId$64 = "~effect/collections/Chunk";
26475
26531
  function copy$1(src, srcPos, dest, destPos, len) {
26476
26532
  for (let i = srcPos; i < Math.min(src.length, srcPos + len); i++) dest[destPos + i - srcPos] = src[i];
@@ -27185,7 +27241,7 @@ const getCurrent = getCurrentFiber;
27185
27241
  */
27186
27242
  const runIn = fiberRunIn;
27187
27243
  //#endregion
27188
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Latch.js
27244
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Latch.js
27189
27245
  /**
27190
27246
  * Creates a `Latch` synchronously, outside of `Effect`.
27191
27247
  *
@@ -27268,7 +27324,7 @@ const makeUnsafe$9 = makeLatchUnsafe;
27268
27324
  */
27269
27325
  const make$78 = makeLatch;
27270
27326
  //#endregion
27271
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/MutableList.js
27327
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/MutableList.js
27272
27328
  /**
27273
27329
  * The `MutableList` module provides a mutable linked list for accumulating,
27274
27330
  * ordering, inspecting, and draining values with efficient operations at both
@@ -27904,7 +27960,7 @@ const filter$2 = (self, f) => {
27904
27960
  */
27905
27961
  const remove$6 = (self, value) => filter$2(self, (v) => v !== value);
27906
27962
  //#endregion
27907
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/MutableRef.js
27963
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/MutableRef.js
27908
27964
  const TypeId$63 = "~effect/MutableRef";
27909
27965
  const MutableRefProto = {
27910
27966
  [TypeId$63]: TypeId$63,
@@ -28082,7 +28138,7 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
28082
28138
  */
28083
28139
  const update$1 = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$13(self))));
28084
28140
  //#endregion
28085
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/PubSub.js
28141
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/PubSub.js
28086
28142
  /**
28087
28143
  * The `PubSub` module provides asynchronous publish-subscribe hubs for
28088
28144
  * broadcasting values to many subscribers. Publishers add messages with
@@ -29665,7 +29721,7 @@ const emptyReplayWindow = {
29665
29721
  takeAll: () => []
29666
29722
  };
29667
29723
  //#endregion
29668
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Queue.js
29724
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Queue.js
29669
29725
  /**
29670
29726
  * The `Queue` module provides asynchronous queues for communicating between
29671
29727
  * fibers. A `Queue<A, E>` accepts values of type `A`, hands each value to one
@@ -30641,7 +30697,7 @@ const finalize$1 = (self, exit) => {
30641
30697
  openState.awaiters.clear();
30642
30698
  };
30643
30699
  //#endregion
30644
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Semaphore.js
30700
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Semaphore.js
30645
30701
  /**
30646
30702
  * Creates a `Semaphore` synchronously with the specified total
30647
30703
  * number of permits.
@@ -30790,7 +30846,7 @@ var SemaphoreImpl = class {
30790
30846
  */
30791
30847
  const make$73 = (permits) => sync$1(() => new SemaphoreImpl(permits));
30792
30848
  //#endregion
30793
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Take.js
30849
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Take.js
30794
30850
  /**
30795
30851
  * Converts a `Take` into a `Pull`, succeeding with value batches, failing with
30796
30852
  * failure exits, and translating successful exits into pull completion.
@@ -30805,7 +30861,7 @@ const make$73 = (permits) => sync$1(() => new SemaphoreImpl(permits));
30805
30861
  */
30806
30862
  const toPull$2 = (take) => isExit(take) ? isSuccess$2(take) ? done(take.value) : take : succeed$4(take);
30807
30863
  //#endregion
30808
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Channel.js
30864
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Channel.js
30809
30865
  /**
30810
30866
  * The `Channel` module provides the low-level stream processing primitive used
30811
30867
  * to build Effect streams, sinks, and stream operators.
@@ -32816,7 +32872,7 @@ const toPubSubTake$1 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(functi
32816
32872
  return pubsub;
32817
32873
  }));
32818
32874
  //#endregion
32819
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/stream.js
32875
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/stream.js
32820
32876
  const TypeId$59 = "~effect/Stream";
32821
32877
  const streamVariance = {
32822
32878
  _R: identity,
@@ -32836,7 +32892,7 @@ const fromChannel$2 = (channel) => {
32836
32892
  return self;
32837
32893
  };
32838
32894
  //#endregion
32839
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Sink.js
32895
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Sink.js
32840
32896
  const TypeId$58 = "~effect/Sink";
32841
32897
  const endVoid = /* @__PURE__ */ succeed$4([void 0]);
32842
32898
  const sinkVariance = {
@@ -33057,7 +33113,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$3(
33057
33113
  */
33058
33114
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$7(effect, toChannel$1)));
33059
33115
  //#endregion
33060
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/MutableHashMap.js
33116
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/MutableHashMap.js
33061
33117
  const TypeId$57 = "~effect/collections/MutableHashMap";
33062
33118
  const MutableHashMapProto = {
33063
33119
  [TypeId$57]: TypeId$57,
@@ -33547,7 +33603,7 @@ const forEach = /* @__PURE__ */ dual(2, (self, f) => {
33547
33603
  self.backing.forEach(f);
33548
33604
  });
33549
33605
  //#endregion
33550
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/RcMap.js
33606
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/RcMap.js
33551
33607
  /**
33552
33608
  * The `RcMap` module provides a scoped, reference-counted map for sharing
33553
33609
  * resources by key. It is useful when many fibers may request the same
@@ -33797,7 +33853,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
33797
33853
  yield* close(entry.scope, void_$3);
33798
33854
  }, uninterruptible));
33799
33855
  //#endregion
33800
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/rcRef.js
33856
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/rcRef.js
33801
33857
  const TypeId$55 = "~effect/RcRef";
33802
33858
  const stateEmpty = { _tag: "Empty" };
33803
33859
  const stateClosed = { _tag: "Closed" };
@@ -33898,7 +33954,7 @@ const invalidate$3 = (self_) => {
33898
33954
  }));
33899
33955
  };
33900
33956
  //#endregion
33901
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/RcRef.js
33957
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/RcRef.js
33902
33958
  /**
33903
33959
  * Creates an `RcRef` from an acquire effect.
33904
33960
  *
@@ -34009,7 +34065,7 @@ const get$9 = get$10;
34009
34065
  */
34010
34066
  const invalidate$2 = invalidate$3;
34011
34067
  //#endregion
34012
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Stream.js
34068
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Stream.js
34013
34069
  /**
34014
34070
  * The `Stream` module describes effectful sequences that may emit many values
34015
34071
  * over time. A `Stream<A, E, R>` can produce zero or more `A` values, fail with
@@ -36271,7 +36327,7 @@ const runIntoPubSub = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, p
36271
36327
  */
36272
36328
  const toPubSubTake = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake$1(self.channel, options));
36273
36329
  //#endregion
36274
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/FileSystem.js
36330
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/FileSystem.js
36275
36331
  /**
36276
36332
  * Effect service for reading, writing, inspecting, and watching files.
36277
36333
  *
@@ -36563,7 +36619,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
36563
36619
  */
36564
36620
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
36565
36621
  //#endregion
36566
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Path.js
36622
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Path.js
36567
36623
  /**
36568
36624
  * The `Path` module provides a platform path service for manipulating file
36569
36625
  * system paths through Effect's environment. It models path operations as a
@@ -36680,7 +36736,7 @@ const TypeId$52 = "~effect/platform/Path";
36680
36736
  */
36681
36737
  const Path$1 = /* @__PURE__ */ Service$1("effect/Path");
36682
36738
  //#endregion
36683
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/ConfigProvider.js
36739
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/ConfigProvider.js
36684
36740
  /**
36685
36741
  * Provides the data source layer for the `Config` module. A `ConfigProvider`
36686
36742
  * knows how to load raw configuration nodes from a backing store (environment
@@ -37088,7 +37144,7 @@ function trieNodeAt(root, path) {
37088
37144
  */
37089
37145
  const isLessThan$1 = /* @__PURE__ */ isLessThan$4(LogLevelOrder);
37090
37146
  //#endregion
37091
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/hashMap.js
37147
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/hashMap.js
37092
37148
  /**
37093
37149
  * @since 2.0.0
37094
37150
  */
@@ -37614,7 +37670,7 @@ const remove$4 = /* @__PURE__ */ dual(2, (self, key) => {
37614
37670
  return new HashMapImpl(false, impl._edit, newRoot, impl._size - 1);
37615
37671
  });
37616
37672
  //#endregion
37617
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/HashMap.js
37673
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/HashMap.js
37618
37674
  /**
37619
37675
  * The `HashMap` module provides an immutable key-value data structure with
37620
37676
  * efficient lookup, insertion, removal, and transformation operations. A
@@ -37751,7 +37807,7 @@ const set$6 = set$7;
37751
37807
  */
37752
37808
  const remove$3 = remove$4;
37753
37809
  //#endregion
37754
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Struct.js
37810
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Struct.js
37755
37811
  /**
37756
37812
  * Creates a new struct containing only the specified keys.
37757
37813
  *
@@ -37904,7 +37960,7 @@ function buildStruct(source, f) {
37904
37960
  return out;
37905
37961
  }
37906
37962
  //#endregion
37907
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/UndefinedOr.js
37963
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/UndefinedOr.js
37908
37964
  /**
37909
37965
  * Maps a defined value with `f`, or returns `undefined` unchanged.
37910
37966
  *
@@ -37936,7 +37992,7 @@ const map$4 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(
37936
37992
  */
37937
37993
  const match$1 = /* @__PURE__ */ dual(2, (self, { onDefined, onUndefined }) => self === void 0 ? onUndefined() : onDefined(self));
37938
37994
  //#endregion
37939
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SchemaParser.js
37995
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SchemaParser.js
37940
37996
  /**
37941
37997
  * Build reusable runtime parsers from Effect schemas.
37942
37998
  *
@@ -38272,7 +38328,7 @@ const recur$1 = /* @__PURE__ */ memoize$1((ast) => {
38272
38328
  };
38273
38329
  });
38274
38330
  //#endregion
38275
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/JsonPointer.js
38331
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/JsonPointer.js
38276
38332
  /**
38277
38333
  * Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
38278
38334
  *
@@ -38397,7 +38453,7 @@ function unescapeToken(token) {
38397
38453
  return token.replace(/~1/g, "/").replace(/~0/g, "~");
38398
38454
  }
38399
38455
  //#endregion
38400
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/schema/schema.js
38456
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/schema/schema.js
38401
38457
  /** @internal */
38402
38458
  const TypeId$51 = "~effect/Schema/Schema";
38403
38459
  const SchemaProto = {
@@ -38471,7 +38527,7 @@ function makeReorder(getPriority) {
38471
38527
  };
38472
38528
  }
38473
38529
  //#endregion
38474
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/internal/schema/representation.js
38530
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/internal/schema/representation.js
38475
38531
  /** @internal */
38476
38532
  function fromAST(ast) {
38477
38533
  const { references, representations: schemas } = fromASTs([ast]);
@@ -38974,6 +39030,7 @@ function toJsonSchemaMultiDocument(multiDocument, options) {
38974
39030
  case "isMaxLength": return type === "array" ? { maxItems: meta.maxLength } : { maxLength: meta.maxLength };
38975
39031
  case "isLengthBetween": return type === "array" ? { allOf: [{ minItems: meta.minimum }, { maxItems: meta.maximum }] } : { allOf: [{ minLength: meta.minimum }, { maxLength: meta.maximum }] };
38976
39032
  case "isPattern":
39033
+ case "isGUID":
38977
39034
  case "isULID":
38978
39035
  case "isBase64":
38979
39036
  case "isBase64Url":
@@ -39072,7 +39129,7 @@ function getPartPattern(part) {
39072
39129
  }
39073
39130
  }
39074
39131
  //#endregion
39075
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/JsonSchema.js
39132
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/JsonSchema.js
39076
39133
  /**
39077
39134
  * Resolves a `$ref` string by looking up the last path segment in a
39078
39135
  * definitions map.
@@ -39165,7 +39222,7 @@ function resolveTopLevel$ref(document) {
39165
39222
  return document;
39166
39223
  }
39167
39224
  //#endregion
39168
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Schema.js
39225
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Schema.js
39169
39226
  /**
39170
39227
  * Define data shapes, validate unknown input, and transform values between formats.
39171
39228
  *
@@ -39199,7 +39256,7 @@ function resolveTopLevel$ref(document) {
39199
39256
  * - Type guard: {@link is}
39200
39257
  * - Assertion: {@link asserts}
39201
39258
  * - Add constraints: `.check(...)` with filters like {@link isMinLength},
39202
- * {@link isGreaterThan}, {@link isPattern}, {@link isUUID}
39259
+ * {@link isGreaterThan}, {@link isPattern}, {@link isUUID}, {@link isGUID}
39203
39260
  * - Transform between schemas: {@link decodeTo}, {@link encodeTo}
39204
39261
  * - Add a default for missing keys: {@link withDecodingDefault}, {@link withDecodingDefaultKey}
39205
39262
  * - Create branded types: {@link brand}
@@ -41109,59 +41166,68 @@ function causeToFormatter(error, defect) {
41109
41166
  const causeReason = causeReasonToFormatter(error, defect);
41110
41167
  return (t) => `Cause([${t.reasons.map(causeReason).join(", ")}])`;
41111
41168
  }
41112
- const ErrorJsonEncoded = /* @__PURE__ */ Struct$2({
41113
- message: String$1,
41114
- name: /* @__PURE__ */ optionalKey(String$1),
41115
- stack: /* @__PURE__ */ optionalKey(String$1)
41116
- });
41169
+ const getErrorOptionsKey = (options) => (options?.includeStack === true ? 1 : 0) | (options?.excludeCause === true ? 2 : 0);
41170
+ const getErrorOptions = (key) => {
41171
+ switch (key) {
41172
+ case 0: return;
41173
+ case 1: return { includeStack: true };
41174
+ case 2: return { excludeCause: true };
41175
+ case 3: return {
41176
+ includeStack: true,
41177
+ excludeCause: true
41178
+ };
41179
+ }
41180
+ };
41181
+ const defectSchemaCache = [];
41117
41182
  /**
41118
- * Schema for JavaScript `Error` objects.
41183
+ * Schema for unexpected defect values represented as `unknown` with a JSON
41184
+ * encoded form.
41185
+ *
41186
+ * **When to use**
41187
+ *
41188
+ * Use when you need a schema for `Cause` defects or other unexpected failures
41189
+ * whose runtime value may be any value.
41119
41190
  *
41120
41191
  * **Details**
41121
41192
  *
41122
- * Default JSON serializer:
41123
- * Encodes an `Error` as an object with `message` and optional `name` properties,
41124
- * and decodes that object back into an `Error`. The stack trace is omitted from
41125
- * the encoded form for security.
41193
+ * The encoded side is {@link Json}. During decoding, JSON objects with a string
41194
+ * `message` property are decoded into JavaScript `Error` values, preserving a
41195
+ * non-default `name` and any string `stack`. Other JSON values decode
41196
+ * unchanged.
41126
41197
  *
41127
- * @category schemas
41128
- * @since 4.0.0
41129
- */
41130
- const Error$2 = /* @__PURE__ */ instanceOf(globalThis.Error, {
41131
- typeConstructor: { _tag: "Error" },
41132
- generation: {
41133
- runtime: `Schema.Error`,
41134
- Type: `globalThis.Error`
41135
- },
41136
- expected: "Error",
41137
- toCodecJson: () => link$1()(ErrorJsonEncoded, errorFromErrorJsonEncoded()),
41138
- toArbitrary: () => (fc) => fc.string().map((message) => new globalThis.Error(message))
41139
- });
41140
- globalThis.Error;
41141
- const defectTransformation = /* @__PURE__ */ new Transformation(/* @__PURE__ */ passthrough$1(), /* @__PURE__ */ transform$4((u) => {
41142
- try {
41143
- return JSON.parse(JSON.stringify(u));
41144
- } catch {
41145
- return format$2(u);
41146
- }
41147
- }));
41148
- /**
41149
- * Schema for defect values, accepting either JavaScript `Error` values encoded
41150
- * with `message` and optional `name`, or arbitrary unknown defect values.
41198
+ * During encoding, JavaScript `Error` values encode to JSON objects with
41199
+ * `name`, `message`, and optional `cause` properties. Pass
41200
+ * `{ includeStack: true }` to include string stack traces in encoded `Error`
41201
+ * defects, or `{ excludeCause: true }` to omit causes. Other values are
41202
+ * serialized through Effect's JSON formatter and then parsed back into JSON
41203
+ * when possible.
41151
41204
  *
41152
- * **Details**
41205
+ * **Gotchas**
41153
41206
  *
41154
- * Default JSON serializer:
41155
- * Unknown defects are serialized with `JSON.stringify` when possible and fall
41156
- * back to Effect's formatted representation when JSON serialization fails.
41207
+ * This schema is for carrying defects across JSON boundaries, not for
41208
+ * preserving every JavaScript value exactly. Some values cannot round-trip
41209
+ * unchanged:
41157
41210
  *
41211
+ * - A non-`Error` object such as `{ message: "boom" }` encodes as an
41212
+ * error-shaped JSON object and decodes back as an `Error`.
41213
+ * - JSON serialization normalizes unsupported values. For example,
41214
+ * `undefined` array elements encode as `null`, unsupported object properties
41215
+ * are omitted, and circular references are dropped.
41216
+ * - Values that cannot be represented as JSON fall back to Effect's formatted
41217
+ * string representation.
41218
+ *
41219
+ * @see {@link Error} for a schema that only accepts JavaScript `Error` values.
41158
41220
  * @category constructors
41159
- * @since 3.10.0
41221
+ * @since 4.0.0
41160
41222
  */
41161
- const Defect = /* @__PURE__ */ Union$2([/* @__PURE__ */ ErrorJsonEncoded.pipe(/* @__PURE__ */ decodeTo(Error$2, /* @__PURE__ */ errorFromErrorJsonEncoded())), /* @__PURE__ */ Any.pipe(/* @__PURE__ */ decodeTo(/* @__PURE__ */ Unknown.annotate({
41162
- toCodecJson: () => link$1()(Any, defectTransformation),
41163
- toArbitrary: () => (fc) => fc.json()
41164
- }), defectTransformation))]);
41223
+ function Defect(options) {
41224
+ const key = getErrorOptionsKey(options);
41225
+ const cached = defectSchemaCache[key];
41226
+ if (cached !== void 0) return cached;
41227
+ const schema = Json.pipe(decodeTo(Unknown, defectFromJson(getErrorOptions(key))));
41228
+ defectSchemaCache[key] = schema;
41229
+ return schema;
41230
+ }
41165
41231
  /**
41166
41232
  * Creates a schema for `Exit` values using schemas for the success value, typed
41167
41233
  * failure, and unexpected defect channels.
@@ -41784,7 +41850,7 @@ const TaggedClass = (identifier) => {
41784
41850
  * @since 4.0.0
41785
41851
  */
41786
41852
  const ErrorClass = (identifier) => (schema, annotations) => {
41787
- return makeClass(Error$4, identifier, isStruct$1(schema) ? schema : Struct$2(schema), annotations, (identifier) => ({ name: identifier }));
41853
+ return makeClass(Error$3, identifier, isStruct$1(schema) ? schema : Struct$2(schema), annotations, (identifier) => ({ name: identifier }));
41788
41854
  };
41789
41855
  /**
41790
41856
  * Defines a schema-backed yieldable error class with an automatically populated
@@ -42006,7 +42072,7 @@ const Json = /* @__PURE__ */ make$64(Json$1);
42006
42072
  */
42007
42073
  const MutableJson = /* @__PURE__ */ make$64(MutableJson$1);
42008
42074
  //#endregion
42009
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Config.js
42075
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Config.js
42010
42076
  const TypeId$49 = "~effect/Config";
42011
42077
  /**
42012
42078
  * Represents the error type produced when config loading or validation fails.
@@ -42541,7 +42607,7 @@ function redacted(name) {
42541
42607
  return schema$1(Redacted(String$1), name);
42542
42608
  }
42543
42609
  //#endregion
42544
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Runtime.js
42610
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Runtime.js
42545
42611
  /**
42546
42612
  * Runtime helpers for turning an `Effect` program into a host application's
42547
42613
  * main entry point.
@@ -42894,7 +42960,7 @@ const getErrorReported = (u) => {
42894
42960
  return true;
42895
42961
  };
42896
42962
  //#endregion
42897
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/CliError.js
42963
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/CliError.js
42898
42964
  /**
42899
42965
  * The `CliError` module defines the structured error model used by the
42900
42966
  * unstable CLI parser and runner. It distinguishes command-line parse failures,
@@ -43306,7 +43372,7 @@ var UnknownSubcommand = class extends ErrorClass(`${TypeId$48}/UnknownSubcommand
43306
43372
  */
43307
43373
  var UserError = class extends ErrorClass(`${TypeId$48}/UserError`)({
43308
43374
  _tag: /* @__PURE__ */ tag("UserError"),
43309
- cause: Defect
43375
+ cause: /* @__PURE__ */ Defect()
43310
43376
  }) {
43311
43377
  /**
43312
43378
  * Marks this value as a user handler error for runtime guards.
@@ -54512,7 +54578,7 @@ const getTypeName = (primitive) => {
54512
54578
  /** @internal */
54513
54579
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
54514
54580
  //#endregion
54515
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Terminal.js
54581
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Terminal.js
54516
54582
  const TypeId$47 = "~effect/platform/Terminal";
54517
54583
  const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
54518
54584
  /**
@@ -54591,7 +54657,7 @@ const make$62 = (impl) => Terminal.of({
54591
54657
  [TypeId$47]: TypeId$47
54592
54658
  });
54593
54659
  //#endregion
54594
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/ansi.js
54660
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/ansi.js
54595
54661
  /**
54596
54662
  * Internal ANSI escape sequence helpers used by the unstable CLI rendering
54597
54663
  * implementation. This module centralizes the control codes for text styling,
@@ -54680,7 +54746,7 @@ const eraseLines = (rows) => {
54680
54746
  return command;
54681
54747
  };
54682
54748
  //#endregion
54683
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Prompt.js
54749
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Prompt.js
54684
54750
  /**
54685
54751
  * The `Prompt` module provides composable, effectful building blocks for
54686
54752
  * interactive command-line questions. A `Prompt<A>` describes terminal UI that
@@ -56076,7 +56142,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
56076
56142
  };
56077
56143
  };
56078
56144
  //#endregion
56079
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Param.js
56145
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Param.js
56080
56146
  /**
56081
56147
  * The `Param` module defines the shared parser tree used by the unstable CLI
56082
56148
  * `Argument` and `Flag` modules. A `Param<Kind, A>` describes how to consume
@@ -56860,7 +56926,7 @@ const getParamMetadata = (param) => {
56860
56926
  });
56861
56927
  };
56862
56928
  //#endregion
56863
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Argument.js
56929
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Argument.js
56864
56930
  /**
56865
56931
  * Creates a positional path argument.
56866
56932
  *
@@ -56894,7 +56960,7 @@ const path = (name, options) => path$1(argumentKind, name, options);
56894
56960
  */
56895
56961
  const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDescription$3(self, description));
56896
56962
  //#endregion
56897
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/CliOutput.js
56963
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/CliOutput.js
56898
56964
  /**
56899
56965
  * The `CliOutput` module provides the formatting service used by Effect CLI
56900
56966
  * applications to turn parsed CLI metadata and failures into terminal text.
@@ -57163,7 +57229,7 @@ const formatHelpDocImpl = (doc, colors) => {
57163
57229
  return sections.join("\n");
57164
57230
  };
57165
57231
  //#endregion
57166
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Console.js
57232
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Console.js
57167
57233
  /**
57168
57234
  * Context reference for the current console service in the Effect system, allowing access to the active console implementation from within the Effect context.
57169
57235
  *
@@ -57260,7 +57326,7 @@ const log = (...args) => consoleWith((console) => sync$1(() => {
57260
57326
  console.log(...args);
57261
57327
  }));
57262
57328
  //#endregion
57263
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Stdio.js
57329
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Stdio.js
57264
57330
  /**
57265
57331
  * Service contract for process standard input, output, error output, and
57266
57332
  * command-line arguments.
@@ -57344,7 +57410,7 @@ const make$61 = (options) => ({
57344
57410
  ...options
57345
57411
  });
57346
57412
  //#endregion
57347
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
57413
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
57348
57414
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
57349
57415
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
57350
57416
  const flagNamesForWordlist = (flag) => {
@@ -57495,7 +57561,7 @@ const generate$3 = (executableName, descriptor) => {
57495
57561
  return lines.join("\n");
57496
57562
  };
57497
57563
  //#endregion
57498
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
57564
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
57499
57565
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
57500
57566
  /**
57501
57567
  * Build a Fish condition that checks the current subcommand context.
@@ -57633,7 +57699,7 @@ const generate$2 = (executableName, descriptor) => {
57633
57699
  return lines.join("\n");
57634
57700
  };
57635
57701
  //#endregion
57636
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
57702
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
57637
57703
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
57638
57704
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
57639
57705
  /**
@@ -57770,7 +57836,7 @@ const generate$1 = (executableName, descriptor) => {
57770
57836
  return lines.join("\n");
57771
57837
  };
57772
57838
  //#endregion
57773
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Completions.js
57839
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Completions.js
57774
57840
  /**
57775
57841
  * The `Completions` module turns a plain description of an Effect CLI command
57776
57842
  * tree into shell completion scripts for Bash, Zsh, and Fish. It is the
@@ -57830,7 +57896,7 @@ const generate = (executableName, shell, descriptor) => {
57830
57896
  }
57831
57897
  };
57832
57898
  //#endregion
57833
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Flag.js
57899
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Flag.js
57834
57900
  /**
57835
57901
  * Creates a boolean flag that can be enabled or disabled.
57836
57902
  *
@@ -58086,7 +58152,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
58086
58152
  */
58087
58153
  const map = /* @__PURE__ */ dual(2, (self, f) => map$1(self, f));
58088
58154
  //#endregion
58089
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/config.js
58155
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/config.js
58090
58156
  const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
58091
58157
  /**
58092
58158
  * Parses a Command.Config into a ConfigInternal.
@@ -58192,7 +58258,7 @@ const reconstructTree = (tree, results) => {
58192
58258
  }
58193
58259
  };
58194
58260
  //#endregion
58195
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/command.js
58261
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/command.js
58196
58262
  /**
58197
58263
  * Command Implementation
58198
58264
  * ======================
@@ -58381,7 +58447,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
58381
58447
  }
58382
58448
  };
58383
58449
  //#endregion
58384
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
58450
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
58385
58451
  /**
58386
58452
  * CommandDescriptor — pure-data representation of a command tree for
58387
58453
  * shell completion generation.
@@ -58473,7 +58539,7 @@ const fromCommand = (cmd) => {
58473
58539
  };
58474
58540
  };
58475
58541
  //#endregion
58476
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/help.js
58542
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/help.js
58477
58543
  /**
58478
58544
  * Help Documentation
58479
58545
  * ================
@@ -58580,7 +58646,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
58580
58646
  };
58581
58647
  });
58582
58648
  //#endregion
58583
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/GlobalFlag.js
58649
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/GlobalFlag.js
58584
58650
  /**
58585
58651
  * The `GlobalFlag` module defines flags that are available to every command in
58586
58652
  * an Effect CLI application. Global flags are useful for cross-cutting command
@@ -58749,7 +58815,7 @@ const BuiltIns = [
58749
58815
  LogLevel
58750
58816
  ];
58751
58817
  //#endregion
58752
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/lexer.js
58818
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/lexer.js
58753
58819
  /** @internal */
58754
58820
  function lex(argv) {
58755
58821
  const endIndex = argv.indexOf("--");
@@ -58800,7 +58866,7 @@ const lexTokens = (args) => {
58800
58866
  return tokens;
58801
58867
  };
58802
58868
  //#endregion
58803
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
58869
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
58804
58870
  /**
58805
58871
  * Simple Levenshtein distance implementation (small N, no perf worries)
58806
58872
  */
@@ -58828,7 +58894,7 @@ const suggest = (input, candidates) => {
58828
58894
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
58829
58895
  };
58830
58896
  //#endregion
58831
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/internal/parser.js
58897
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/internal/parser.js
58832
58898
  /**
58833
58899
  * Parsing Pipeline for CLI Commands
58834
58900
  * ==================================
@@ -59345,7 +59411,7 @@ const scanCommandLevel = (tokens, context) => {
59345
59411
  return toLeafResult(state);
59346
59412
  };
59347
59413
  //#endregion
59348
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/cli/Command.js
59414
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/cli/Command.js
59349
59415
  /**
59350
59416
  * Returns `true` if the provided value is a `Command`.
59351
59417
  *
@@ -59881,7 +59947,7 @@ const runWith = (command, config) => {
59881
59947
  }, 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));
59882
59948
  };
59883
59949
  //#endregion
59884
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Cache.js
59950
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Cache.js
59885
59951
  /**
59886
59952
  * The `Cache` module provides an effectful, mutable key-value cache for values
59887
59953
  * computed by lookup effects. A `Cache<Key, A, E, R>` stores lookup exits for
@@ -60349,7 +60415,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$1(() => {
60349
60415
  remove$5(self.map, key);
60350
60416
  }));
60351
60417
  //#endregion
60352
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/ChannelSchema.js
60418
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/ChannelSchema.js
60353
60419
  /**
60354
60420
  * Creates a channel that decodes non-empty chunks from the schema's encoded
60355
60421
  * representation into schema values.
@@ -60375,7 +60441,7 @@ const decode$3 = (schema) => () => {
60375
60441
  return fromTransform$1((upstream, _scope) => succeed$4(flatMap$3(upstream, (chunk) => decode(chunk))));
60376
60442
  };
60377
60443
  //#endregion
60378
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Crypto.js
60444
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Crypto.js
60379
60445
  /**
60380
60446
  * The `Crypto` module provides a platform-agnostic service for cryptographic
60381
60447
  * operations. Runtime packages such as `@effect/platform-node`,
@@ -60563,7 +60629,7 @@ const formatUUIDv7 = (timestampMillis, bytes) => {
60563
60629
  return formatUUID(bytes);
60564
60630
  };
60565
60631
  //#endregion
60566
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/ErrorReporter.js
60632
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/ErrorReporter.js
60567
60633
  /**
60568
60634
  * Defines the runtime property key used to mark an object error as ignored by error
60569
60635
  * reporting.
@@ -60598,7 +60664,7 @@ const formatUUIDv7 = (timestampMillis, bytes) => {
60598
60664
  */
60599
60665
  const ignore = "~effect/ErrorReporter/ignore";
60600
60666
  //#endregion
60601
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/FiberHandle.js
60667
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/FiberHandle.js
60602
60668
  /**
60603
60669
  * The `FiberHandle` module provides a scoped handle for managing the lifecycle
60604
60670
  * of at most one fiber at a time. A `FiberHandle<A, E>` can hold one
@@ -60856,7 +60922,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
60856
60922
  return succeed$4(fiber);
60857
60923
  });
60858
60924
  //#endregion
60859
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/FiberMap.js
60925
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/FiberMap.js
60860
60926
  /**
60861
60927
  * The `FiberMap` module provides a scoped, mutable collection for managing
60862
60928
  * fibers by key. A `FiberMap<K, A, E>` owns a set of running fibers, interrupts
@@ -61154,7 +61220,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
61154
61220
  return succeed$4(fiber);
61155
61221
  });
61156
61222
  //#endregion
61157
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/FiberSet.js
61223
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/FiberSet.js
61158
61224
  /**
61159
61225
  * The `FiberSet` module provides a scoped container for managing many fibers as
61160
61226
  * one lifecycle. A `FiberSet<A, E>` tracks fibers whose successful values are
@@ -61465,7 +61531,7 @@ const awaitEmpty = (self) => whileLoop({
61465
61531
  step: constVoid
61466
61532
  });
61467
61533
  //#endregion
61468
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/PrimaryKey.js
61534
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/PrimaryKey.js
61469
61535
  /**
61470
61536
  * Defines the unique identifier used to identify objects that implement the `PrimaryKey` interface.
61471
61537
  *
@@ -61518,7 +61584,7 @@ const symbol$2 = "~effect/interfaces/PrimaryKey";
61518
61584
  */
61519
61585
  const value$1 = (self) => self[symbol$2]();
61520
61586
  //#endregion
61521
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/LayerMap.js
61587
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/LayerMap.js
61522
61588
  /**
61523
61589
  * The `LayerMap` module provides utilities for managing scoped resources that
61524
61590
  * are selected by key and built from `Layer` values. A `LayerMap<K, I, E>` turns
@@ -61730,7 +61796,7 @@ const Service = () => (id, options) => {
61730
61796
  return TagClass;
61731
61797
  };
61732
61798
  //#endregion
61733
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Logger.js
61799
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Logger.js
61734
61800
  /**
61735
61801
  * Context reference containing the active loggers for the current fiber.
61736
61802
  *
@@ -61766,7 +61832,7 @@ const Service = () => (id, options) => {
61766
61832
  */
61767
61833
  const CurrentLoggers = CurrentLoggers$1;
61768
61834
  //#endregion
61769
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Random.js
61835
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Random.js
61770
61836
  /**
61771
61837
  * Represents a service for generating pseudo-random numbers.
61772
61838
  *
@@ -61857,7 +61923,7 @@ const shuffle = (elements) => randomWith((r) => {
61857
61923
  return buffer;
61858
61924
  });
61859
61925
  //#endregion
61860
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Ref.js
61926
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Ref.js
61861
61927
  const RefProto = {
61862
61928
  ["~effect/Ref"]: { _A: identity },
61863
61929
  ...PipeInspectableProto,
@@ -61905,7 +61971,7 @@ const makeUnsafe$3 = (value) => {
61905
61971
  return self;
61906
61972
  };
61907
61973
  //#endregion
61908
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/reactivity/Reactivity.js
61974
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/reactivity/Reactivity.js
61909
61975
  /**
61910
61976
  * The `Reactivity` module provides process-local invalidation for connecting
61911
61977
  * writes to dependent reads. It does not cache values itself; it tracks keys,
@@ -62114,7 +62180,7 @@ const keysToHashes = (keys, f) => {
62114
62180
  }
62115
62181
  };
62116
62182
  //#endregion
62117
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/Statement.js
62183
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/Statement.js
62118
62184
  /**
62119
62185
  * Low-level SQL statement and fragment primitives.
62120
62186
  *
@@ -62770,7 +62836,7 @@ function in_() {
62770
62836
  }
62771
62837
  const neverFragment = /* @__PURE__ */ fragment([/* @__PURE__ */ literal$1("1=0")]);
62772
62838
  //#endregion
62773
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/SqlClient.js
62839
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/SqlClient.js
62774
62840
  /**
62775
62841
  * Defines the `SqlClient` service, the central runtime entry point for Effect's
62776
62842
  * unstable SQL support.
@@ -62913,7 +62979,7 @@ const TransactionConnection = (clientId) => Service$1(`effect/sql/SqlClient/Tran
62913
62979
  */
62914
62980
  const SafeIntegers = /* @__PURE__ */ Reference("effect/sql/SqlClient/SafeIntegers", { defaultValue: () => false });
62915
62981
  //#endregion
62916
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
62982
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
62917
62983
  /**
62918
62984
  * Effectful key/value storage for persistence backends.
62919
62985
  *
@@ -63106,7 +63172,7 @@ const toSchemaStore = (self, schema) => {
63106
63172
  };
63107
63173
  };
63108
63174
  //#endregion
63109
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/persistence/Persistable.js
63175
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/persistence/Persistable.js
63110
63176
  /**
63111
63177
  * Defines the property key used to attach success and error schemas to persistable
63112
63178
  * requests.
@@ -63158,7 +63224,7 @@ const Class$1 = () => (tag, options) => {
63158
63224
  const exitSchema$1 = (self) => {
63159
63225
  let schema = exitSchemaCache$1.get(self);
63160
63226
  if (schema) return schema;
63161
- schema = Exit(self[symbol$1].success, self[symbol$1].error, Defect);
63227
+ schema = Exit(self[symbol$1].success, self[symbol$1].error, Defect());
63162
63228
  exitSchemaCache$1.set(self, schema);
63163
63229
  return schema;
63164
63230
  };
@@ -63184,7 +63250,7 @@ const deserializeExit = (self, encoded) => {
63184
63250
  return decodeUnknownEffect(toCodecJson(exitSchema$1(self)))(encoded);
63185
63251
  };
63186
63252
  //#endregion
63187
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/persistence/Persistence.js
63253
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/persistence/Persistence.js
63188
63254
  /**
63189
63255
  * Durable storage for encoded `Persistable` request results.
63190
63256
  *
@@ -63221,7 +63287,7 @@ const ErrorTypeId = "~effect/persistence/Persistence/PersistenceError";
63221
63287
  var PersistenceError = class extends ErrorClass(ErrorTypeId)({
63222
63288
  _tag: /* @__PURE__ */ tag("PersistenceError"),
63223
63289
  message: String$1,
63224
- cause: /* @__PURE__ */ optional$3(Defect)
63290
+ cause: /* @__PURE__ */ optional$3(/* @__PURE__ */ Defect())
63225
63291
  }) {
63226
63292
  /**
63227
63293
  * Marks this value as a persistence error for runtime guards.
@@ -63416,7 +63482,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$32.pipe(/* @__PURE__ */ provide$3(layer
63416
63482
  */
63417
63483
  const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
63418
63484
  //#endregion
63419
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/RequestResolver.js
63485
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/RequestResolver.js
63420
63486
  const TypeId$34 = "~effect/RequestResolver";
63421
63487
  const RequestResolverProto = {
63422
63488
  [TypeId$34]: {
@@ -63721,7 +63787,7 @@ const withSpan = /* @__PURE__ */ dual((args) => isRequestResolver(args[0]), (sel
63721
63787
  })
63722
63788
  }));
63723
63789
  //#endregion
63724
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SynchronizedRef.js
63790
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SynchronizedRef.js
63725
63791
  const TypeId$33 = "~effect/SynchronizedRef";
63726
63792
  const Proto$16 = {
63727
63793
  ...PipeInspectableProto,
@@ -63751,7 +63817,7 @@ const makeUnsafe$1 = (value) => {
63751
63817
  return self;
63752
63818
  };
63753
63819
  //#endregion
63754
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/ScopedRef.js
63820
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/ScopedRef.js
63755
63821
  /**
63756
63822
  * The `ScopedRef` module provides a mutable reference for values that are tied
63757
63823
  * to scoped resources. Each value stored in a `ScopedRef` is acquired within its
@@ -63862,7 +63928,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
63862
63928
  self.backing.backing.ref.current = [scope, value];
63863
63929
  }, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
63864
63930
  //#endregion
63865
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/ScopedCache.js
63931
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/ScopedCache.js
63866
63932
  /**
63867
63933
  * The `ScopedCache` module provides a cache for values that acquire scoped
63868
63934
  * resources during lookup. Each cached entry owns a `Scope`, so resources
@@ -64036,7 +64102,7 @@ const invalidateAllImpl = (parent, map) => {
64036
64102
  return fiberAwaitAll(fibers);
64037
64103
  };
64038
64104
  //#endregion
64039
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/SubscriptionRef.js
64105
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/SubscriptionRef.js
64040
64106
  /**
64041
64107
  * The `SubscriptionRef` module combines a fiber-safe mutable reference with a
64042
64108
  * replaying stream of state changes. A `SubscriptionRef<A>` stores the latest
@@ -64256,7 +64322,7 @@ const set$3 = /* @__PURE__ */ dual(2, (self, value) => self.semaphore.withPermit
64256
64322
  */
64257
64323
  const update = /* @__PURE__ */ dual(2, (self, update) => self.semaphore.withPermit(sync(() => setUnsafe(self, update(self.value)))));
64258
64324
  //#endregion
64259
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/Unify.js
64325
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/Unify.js
64260
64326
  /**
64261
64327
  * The `Unify` module defines the type-level protocol Effect uses to collapse
64262
64328
  * unions of protocol-enabled values into their public data types. It is mostly
@@ -65716,7 +65782,7 @@ var Mime = class {
65716
65782
  };
65717
65783
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
65718
65784
  //#endregion
65719
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/Mime.js
65785
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/Mime.js
65720
65786
  /**
65721
65787
  * Re-exports the `mime` package through the `@effect/platform-node/Mime`
65722
65788
  * module and the `Mime` namespace in the package barrel.
@@ -65732,7 +65798,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
65732
65798
  */
65733
65799
  var Mime_default = new Mime(types$1, types$2)._freeze();
65734
65800
  //#endregion
65735
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
65801
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
65736
65802
  /**
65737
65803
  * Service contract and helpers for running child processes through Effect.
65738
65804
  *
@@ -65812,7 +65878,7 @@ const make$46 = (spawn) => {
65812
65878
  */
65813
65879
  var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
65814
65880
  //#endregion
65815
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/process/ChildProcess.js
65881
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/process/ChildProcess.js
65816
65882
  /**
65817
65883
  * An Effect-native module for working with child processes.
65818
65884
  *
@@ -66149,7 +66215,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
66149
66215
  ...nextTokens.slice(1)
66150
66216
  ];
66151
66217
  //#endregion
66152
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/internal/utils.js
66218
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/internal/utils.js
66153
66219
  /** @internal */
66154
66220
  const handleErrnoException = (module, method) => (err, [path]) => {
66155
66221
  let reason = "Unknown";
@@ -66186,7 +66252,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
66186
66252
  });
66187
66253
  };
66188
66254
  //#endregion
66189
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodeSink.js
66255
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodeSink.js
66190
66256
  /**
66191
66257
  * Creates a `Sink` that writes chunks to a Node writable stream, respecting
66192
66258
  * backpressure, mapping writable errors with `onError`, and ending the stream
@@ -66251,7 +66317,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$3((chunk) => {
66251
66317
  });
66252
66318
  }) : identity);
66253
66319
  //#endregion
66254
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodeStream.js
66320
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodeStream.js
66255
66321
  /**
66256
66322
  * Adapters between Node streams and Effect streams, channels, and readables.
66257
66323
  *
@@ -66466,7 +66532,7 @@ var StreamAdapter = class extends Readable {
66466
66532
  };
66467
66533
  const defaultOnError = (error) => new UnknownError$2(error);
66468
66534
  //#endregion
66469
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
66535
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
66470
66536
  const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
66471
66537
  const toPlatformError = (method, error, command) => {
66472
66538
  const { commands } = flattenCommand(command);
@@ -66849,7 +66915,7 @@ const flattenCommand = (command) => {
66849
66915
  };
66850
66916
  };
66851
66917
  //#endregion
66852
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/Cookies.js
66918
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/Cookies.js
66853
66919
  /**
66854
66920
  * Immutable HTTP cookie values and collections for request and response
66855
66921
  * workflows.
@@ -67179,7 +67245,7 @@ const tryDecodeURIComponent = (str) => {
67179
67245
  }
67180
67246
  };
67181
67247
  //#endregion
67182
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/Headers.js
67248
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/Headers.js
67183
67249
  /**
67184
67250
  * Immutable HTTP header collections for the unstable HTTP modules.
67185
67251
  *
@@ -67408,7 +67474,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
67408
67474
  "x-api-key"
67409
67475
  ] });
67410
67476
  //#endregion
67411
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpClientError.js
67477
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpClientError.js
67412
67478
  /**
67413
67479
  * Typed failure model for Effect HTTP client operations.
67414
67480
  *
@@ -67624,10 +67690,10 @@ ErrorClass(TypeId$26)({
67624
67690
  "StatusCodeError",
67625
67691
  "EmptyBodyError"
67626
67692
  ]),
67627
- cause: /* @__PURE__ */ optional$3(Defect)
67693
+ cause: /* @__PURE__ */ optional$3(/* @__PURE__ */ Defect())
67628
67694
  });
67629
67695
  //#endregion
67630
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/UrlParams.js
67696
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/UrlParams.js
67631
67697
  /**
67632
67698
  * Immutable URL query parameters represented as ordered string pairs.
67633
67699
  *
@@ -67934,7 +68000,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
67934
68000
  encode: fromInput
67935
68001
  })));
67936
68002
  //#endregion
67937
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpBody.js
68003
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpBody.js
67938
68004
  /**
67939
68005
  * Describes the body attached to outgoing HTTP requests and server responses.
67940
68006
  *
@@ -68139,7 +68205,7 @@ const jsonUnsafe = (body, contentType) => text$1(JSON.stringify(body), contentTy
68139
68205
  */
68140
68206
  const urlParams = (urlParams, contentType) => text$1(toString$1(urlParams), contentType ?? "application/x-www-form-urlencoded");
68141
68207
  //#endregion
68142
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpMethod.js
68208
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpMethod.js
68143
68209
  /**
68144
68210
  * Provides tuples mapping each supported HTTP method to its short
68145
68211
  * request-constructor name.
@@ -68163,7 +68229,7 @@ const allShort = [
68163
68229
  ["TRACE", "trace"]
68164
68230
  ];
68165
68231
  //#endregion
68166
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpClientRequest.js
68232
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpClientRequest.js
68167
68233
  const TypeId$23 = "~effect/http/HttpClientRequest";
68168
68234
  const Proto$7 = {
68169
68235
  [TypeId$23]: TypeId$23,
@@ -68367,7 +68433,7 @@ const bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jso
68367
68433
  */
68368
68434
  const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput(input))));
68369
68435
  //#endregion
68370
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
68436
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
68371
68437
  /**
68372
68438
  * Shared utilities for reading and decoding incoming HTTP messages.
68373
68439
  *
@@ -68453,7 +68519,7 @@ const inspect$1 = (self, that) => {
68453
68519
  return obj;
68454
68520
  };
68455
68521
  //#endregion
68456
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpClientResponse.js
68522
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpClientResponse.js
68457
68523
  /**
68458
68524
  * HTTP client response values, status helpers, and body decoders.
68459
68525
  *
@@ -68629,7 +68695,7 @@ var WebHttpClientResponse = class extends Class$5 {
68629
68695
  }
68630
68696
  };
68631
68697
  //#endregion
68632
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpTraceContext.js
68698
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpTraceContext.js
68633
68699
  /**
68634
68700
  * HTTP propagation helpers for Effect tracing context.
68635
68701
  *
@@ -68769,7 +68835,7 @@ const w3c = (headers) => {
68769
68835
  }
68770
68836
  };
68771
68837
  //#endregion
68772
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpClient.js
68838
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpClient.js
68773
68839
  const TypeId$20 = "~effect/http/HttpClient";
68774
68840
  /**
68775
68841
  * Returns `true` if the provided value is an `HttpClient`.
@@ -69668,7 +69734,7 @@ const httpMethods = [
69668
69734
  */
69669
69735
  const make$38 = make$39;
69670
69736
  //#endregion
69671
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/Template.js
69737
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/Template.js
69672
69738
  /**
69673
69739
  * Effect-aware template literal rendering for HTTP response text.
69674
69740
  *
@@ -69752,7 +69818,7 @@ function isSuccess$1(u) {
69752
69818
  return isExit(u) && u._tag === "Success";
69753
69819
  }
69754
69820
  //#endregion
69755
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpServerResponse.js
69821
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpServerResponse.js
69756
69822
  const TypeId$19 = "~effect/http/HttpServerResponse";
69757
69823
  /**
69758
69824
  * Returns `true` when the supplied value is an `HttpServerResponse`.
@@ -69865,7 +69931,7 @@ const makeResponse$2 = (options) => {
69865
69931
  return self;
69866
69932
  };
69867
69933
  //#endregion
69868
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
69934
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
69869
69935
  /**
69870
69936
  * Protocol for values that can render themselves as HTTP server responses.
69871
69937
  *
@@ -69953,7 +70019,7 @@ const toResponseOrElseDefect = (u, orElse) => {
69953
70019
  return succeed$4(orElse);
69954
70020
  };
69955
70021
  //#endregion
69956
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpServerError.js
70022
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpServerError.js
69957
70023
  /**
69958
70024
  * Error model used by the unstable HTTP server runtime.
69959
70025
  *
@@ -70221,7 +70287,7 @@ const exitResponse = (exit) => {
70221
70287
  return causeResponseStripped(exit.cause)[0];
70222
70288
  };
70223
70289
  //#endregion
70224
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/socket/Socket.js
70290
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/socket/Socket.js
70225
70291
  /**
70226
70292
  * Runtime type identifier attached to `Socket` services.
70227
70293
  *
@@ -70287,7 +70353,7 @@ const isSocketError = (u) => hasProperty(u, SocketErrorTypeId);
70287
70353
  */
70288
70354
  var SocketReadError = class extends ErrorClass("effect/socket/Socket/SocketReadError")({
70289
70355
  _tag: /* @__PURE__ */ tag("SocketReadError"),
70290
- cause: Defect
70356
+ cause: /* @__PURE__ */ Defect()
70291
70357
  }) {
70292
70358
  /**
70293
70359
  * Default message used for socket read failures.
@@ -70304,7 +70370,7 @@ var SocketReadError = class extends ErrorClass("effect/socket/Socket/SocketReadE
70304
70370
  */
70305
70371
  var SocketWriteError = class extends ErrorClass("effect/socket/Socket/SocketWriteError")({
70306
70372
  _tag: /* @__PURE__ */ tag("SocketWriteError"),
70307
- cause: Defect
70373
+ cause: /* @__PURE__ */ Defect()
70308
70374
  }) {
70309
70375
  /**
70310
70376
  * Default message used for socket write failures.
@@ -70323,7 +70389,7 @@ var SocketWriteError = class extends ErrorClass("effect/socket/Socket/SocketWrit
70323
70389
  var SocketOpenError = class extends ErrorClass("effect/socket/Socket/SocketOpenError")({
70324
70390
  _tag: /* @__PURE__ */ tag("SocketOpenError"),
70325
70391
  kind: /* @__PURE__ */ Literals(["Unknown", "Timeout"]),
70326
- cause: Defect
70392
+ cause: /* @__PURE__ */ Defect()
70327
70393
  }) {
70328
70394
  /**
70329
70395
  * Formats timeout and unknown open failures for display.
@@ -71411,7 +71477,7 @@ const make$32 = make$33;
71411
71477
  const defaultIsFile = defaultIsFile$1;
71412
71478
  const decodeField = decodeField$1;
71413
71479
  //#endregion
71414
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/Multipart.js
71480
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/Multipart.js
71415
71481
  /**
71416
71482
  * Parses and persists HTTP `multipart/form-data` request bodies.
71417
71483
  *
@@ -71472,7 +71538,7 @@ const MultipartErrorTypeId = "~effect/http/Multipart/MultipartError";
71472
71538
  * @category errors
71473
71539
  * @since 4.0.0
71474
71540
  */
71475
- var MultipartErrorReason = class extends Error$3 {};
71541
+ var MultipartErrorReason = class extends Error$2 {};
71476
71542
  /**
71477
71543
  * Error raised while parsing, streaming, or persisting multipart form data.
71478
71544
  *
@@ -71647,7 +71713,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
71647
71713
  */
71648
71714
  const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
71649
71715
  //#endregion
71650
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpServerRequest.js
71716
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpServerRequest.js
71651
71717
  /**
71652
71718
  * Runtime type identifier for `HttpServerRequest` values.
71653
71719
  *
@@ -71716,11 +71782,11 @@ const toURL = (self) => {
71716
71782
  }
71717
71783
  };
71718
71784
  //#endregion
71719
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
71785
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
71720
71786
  /** @internal */
71721
71787
  const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
71722
71788
  //#endregion
71723
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpMiddleware.js
71789
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpMiddleware.js
71724
71790
  /**
71725
71791
  * Server-side HTTP middleware for wrapping `HttpServerResponse` effects with
71726
71792
  * cross-cutting request and response behavior.
@@ -71857,7 +71923,7 @@ const tracer = /* @__PURE__ */ make$31((httpApp) => withFiber((fiber) => {
71857
71923
  }, true);
71858
71924
  }));
71859
71925
  //#endregion
71860
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpEffect.js
71926
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpEffect.js
71861
71927
  /**
71862
71928
  * Runs an HTTP server effect, sends the produced response with the supplied handler, and converts failures into HTTP responses.
71863
71929
  *
@@ -71929,7 +71995,7 @@ const scoped = (effect) => withFiber((fiber) => {
71929
71995
  }, true);
71930
71996
  });
71931
71997
  //#endregion
71932
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/Etag.js
71998
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/Etag.js
71933
71999
  /**
71934
72000
  * HTTP entity tag values and metadata-based generator layers.
71935
72001
  *
@@ -72047,7 +72113,7 @@ const layerWeak = /* @__PURE__ */ succeed$5(Generator)({
72047
72113
  }
72048
72114
  });
72049
72115
  //#endregion
72050
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpPlatform.js
72116
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpPlatform.js
72051
72117
  /**
72052
72118
  * Platform-specific support for serving files as HTTP server responses.
72053
72119
  *
@@ -72111,7 +72177,7 @@ const make$30 = /* @__PURE__ */ fnUntraced(function* (impl) {
72111
72177
  });
72112
72178
  });
72113
72179
  //#endregion
72114
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpServer.js
72180
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpServer.js
72115
72181
  /**
72116
72182
  * Runtime boundary for serving Effect HTTP responses on a concrete HTTP server.
72117
72183
  *
@@ -72220,7 +72286,7 @@ const logAddress = /* @__PURE__ */ addressFormattedWith((_) => log$1(`Listening
72220
72286
  */
72221
72287
  const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
72222
72288
  //#endregion
72223
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/HttpRouter.js
72289
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/HttpRouter.js
72224
72290
  /**
72225
72291
  * Layer-based server-side routing for Effect HTTP applications.
72226
72292
  *
@@ -72639,7 +72705,7 @@ const serve = (appLayer, options) => {
72639
72705
  }).pipe(unwrap$3, provideMerge(appLayer), provide$3(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
72640
72706
  };
72641
72707
  //#endregion
72642
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/workers/Transferable.js
72708
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/workers/Transferable.js
72643
72709
  /**
72644
72710
  * Marks encoded worker message fields that should move through `postMessage` as
72645
72711
  * transfer-list entries.
@@ -72709,7 +72775,7 @@ const makeCollectorUnsafe = () => {
72709
72775
  });
72710
72776
  };
72711
72777
  //#endregion
72712
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/RpcSchema.js
72778
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/RpcSchema.js
72713
72779
  /**
72714
72780
  * RPC schema markers and interruption annotations.
72715
72781
  *
@@ -72780,7 +72846,7 @@ function Stream(success, error) {
72780
72846
  }
72781
72847
  Service$1()("effect/rpc/RpcSchema/ClientAbort");
72782
72848
  //#endregion
72783
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/Rpc.js
72849
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/Rpc.js
72784
72850
  const TypeId$13 = "~effect/rpc/Rpc";
72785
72851
  const Proto$4 = {
72786
72852
  [TypeId$13]: TypeId$13,
@@ -72888,7 +72954,7 @@ const makeProto$2 = (options) => {
72888
72954
  const make$27 = (tag, options) => {
72889
72955
  const successSchema = options?.success ?? Void;
72890
72956
  const errorSchema = options?.error ?? Never;
72891
- const defectSchema = options?.defect ?? Defect;
72957
+ const defectSchema = options?.defect ?? Defect();
72892
72958
  let payloadSchema;
72893
72959
  if (options?.primaryKey) payloadSchema = class Payload extends Class$2(`effect/rpc/Rpc/${tag}`)(options.payload) {
72894
72960
  [symbol$2]() {
@@ -72939,7 +73005,7 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
72939
73005
  */
72940
73006
  const isWrapper = (u) => WrapperTypeId in u;
72941
73007
  //#endregion
72942
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/RpcMessage.js
73008
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/RpcMessage.js
72943
73009
  /**
72944
73010
  * Converts a bigint or string request id into the branded `RequestId` type.
72945
73011
  *
@@ -72948,7 +73014,7 @@ const isWrapper = (u) => WrapperTypeId in u;
72948
73014
  */
72949
73015
  const RequestId = (id) => typeof id === "bigint" ? id : BigInt(id);
72950
73016
  //#endregion
72951
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/Utils.js
73017
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/Utils.js
72952
73018
  /**
72953
73019
  * Builds an RPC client protocol service that tracks active client IDs and
72954
73020
  * buffers server responses per client until that client's `run` handler is
@@ -72995,7 +73061,7 @@ const withRunClient = (f) => suspend$3(() => {
72995
73061
  }));
72996
73062
  });
72997
73063
  //#endregion
72998
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/RpcClient.js
73064
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/RpcClient.js
72999
73065
  let requestIdCounter = /* @__PURE__ */ BigInt(0);
73000
73066
  /**
73001
73067
  * Creates an RPC client for an already-decoded message channel, returning the
@@ -73359,9 +73425,9 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
73359
73425
  static make = withRunClient;
73360
73426
  };
73361
73427
  Service$1()("effect/rpc/RpcClient/ConnectionHooks");
73362
- const decodeDefect = /* @__PURE__ */ decodeSync(Defect);
73428
+ const decodeDefect = /* @__PURE__ */ decodeSync(/* @__PURE__ */ Defect());
73363
73429
  //#endregion
73364
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/rpc/RpcGroup.js
73430
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/rpc/RpcGroup.js
73365
73431
  const RpcGroupProto = {
73366
73432
  add(...rpcs) {
73367
73433
  const requests = new Map(this.requests);
@@ -73614,7 +73680,7 @@ const fromRecord = (migrations) => pipe$1(Object.keys(migrations), flatMapNullis
73614
73680
  succeed$4(migrations[key])
73615
73681
  ]), sort(migrationOrder), succeed$4);
73616
73682
  //#endregion
73617
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/SqlError.js
73683
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/SqlError.js
73618
73684
  /**
73619
73685
  * Structured SQL failures for unstable SQL clients and driver integrations.
73620
73686
  *
@@ -73655,7 +73721,7 @@ const fromRecord = (migrations) => pipe$1(Object.keys(migrations), flatMapNullis
73655
73721
  const TypeId$12 = "~effect/sql/SqlError";
73656
73722
  const ReasonTypeId$1 = "~effect/sql/SqlError/Reason";
73657
73723
  const ReasonFields = {
73658
- cause: Defect,
73724
+ cause: /* @__PURE__ */ Defect(),
73659
73725
  message: /* @__PURE__ */ optional$3(String$1),
73660
73726
  operation: /* @__PURE__ */ optional$3(String$1)
73661
73727
  };
@@ -77590,7 +77656,7 @@ require_subprotocol();
77590
77656
  var import_websocket = /* @__PURE__ */ __toESM(require_websocket$1(), 1);
77591
77657
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
77592
77658
  //#endregion
77593
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
77659
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
77594
77660
  /**
77595
77661
  * Shared Node-compatible implementation of Effect's `FileSystem` service.
77596
77662
  *
@@ -77959,7 +78025,7 @@ const makeFileSystem = /* @__PURE__ */ map$7(/* @__PURE__ */ serviceOption(Watch
77959
78025
  writeFile: writeFile$1
77960
78026
  }));
77961
78027
  //#endregion
77962
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeFileSystem.js
78028
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeFileSystem.js
77963
78029
  /**
77964
78030
  * Node.js `FileSystem` layer for programs that perform real filesystem I/O.
77965
78031
  *
@@ -77996,7 +78062,7 @@ const makeFileSystem = /* @__PURE__ */ map$7(/* @__PURE__ */ serviceOption(Watch
77996
78062
  */
77997
78063
  const layer$27 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
77998
78064
  //#endregion
77999
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
78065
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
78000
78066
  /**
78001
78067
  * Adapter base for exposing Node `http.IncomingMessage` values as Effect HTTP
78002
78068
  * incoming messages.
@@ -100027,7 +100093,7 @@ var require_undici = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
100027
100093
  module.exports.install = install;
100028
100094
  }));
100029
100095
  //#endregion
100030
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/Undici.js
100096
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/Undici.js
100031
100097
  var Undici_exports = /* @__PURE__ */ __exportAll({ default: () => Undici_default });
100032
100098
  var import_undici = /* @__PURE__ */ __toESM(require_undici(), 1);
100033
100099
  __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
@@ -100037,7 +100103,7 @@ __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
100037
100103
  */
100038
100104
  var Undici_default = import_undici.default;
100039
100105
  //#endregion
100040
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/http/FetchHttpClient.js
100106
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/http/FetchHttpClient.js
100041
100107
  /**
100042
100108
  * Fetch-based implementation of the Effect HTTP client service.
100043
100109
  *
@@ -100155,7 +100221,7 @@ const layer$26 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed$4(/*
100155
100221
  return send(void 0);
100156
100222
  })));
100157
100223
  //#endregion
100158
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpClient.js
100224
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpClient.js
100159
100225
  /**
100160
100226
  * Node.js implementations of the Effect `HttpClient`.
100161
100227
  *
@@ -100382,7 +100448,7 @@ var UndiciResponse = class extends Class$5 {
100382
100448
  const layerUndici = /* @__PURE__ */ provide$3(/* @__PURE__ */ layerMergedContext(makeUndici), layerDispatcher);
100383
100449
  Service$1()("@effect/platform-node/NodeHttpClient/HttpAgent");
100384
100450
  //#endregion
100385
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
100451
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
100386
100452
  /**
100387
100453
  * Node.js implementation of the Effect HTTP platform service.
100388
100454
  *
@@ -100530,7 +100596,7 @@ var FileStream = class extends Readable {
100530
100596
  }
100531
100597
  };
100532
100598
  //#endregion
100533
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeMultipart.js
100599
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeMultipart.js
100534
100600
  /**
100535
100601
  * Node.js multipart parsing for HTTP `multipart/form-data` request bodies.
100536
100602
  *
@@ -100664,7 +100730,7 @@ function convertError(cause) {
100664
100730
  }
100665
100731
  }
100666
100732
  //#endregion
100667
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
100733
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
100668
100734
  /**
100669
100735
  * The `NodeCrypto` module implements Effect's `Crypto` service with
100670
100736
  * Node-compatible `node:crypto` APIs. It exports {@link make} as the concrete
@@ -100709,7 +100775,7 @@ const digest = (algorithm, data) => try_({
100709
100775
  })
100710
100776
  });
100711
100777
  //#endregion
100712
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeCrypto.js
100778
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeCrypto.js
100713
100779
  /**
100714
100780
  * The `NodeCrypto` module provides the Node.js `Crypto` service layer for
100715
100781
  * Effect programs. Provide {@link layer} at the edge of a Node application,
@@ -100734,7 +100800,7 @@ const layer$23 = /* @__PURE__ */ succeed$5(Crypto$1, /* @__PURE__ */ make$58({
100734
100800
  digest
100735
100801
  }));
100736
100802
  //#endregion
100737
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/platform-node-shared/dist/NodePath.js
100803
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/platform-node-shared/dist/NodePath.js
100738
100804
  /**
100739
100805
  * Node-backed provider for Effect's `Path` service.
100740
100806
  *
@@ -100780,7 +100846,7 @@ const toFileUrl = (path) => try_({
100780
100846
  ({ ...Path.posix });
100781
100847
  ({ ...Path.win32 });
100782
100848
  //#endregion
100783
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodePath.js
100849
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodePath.js
100784
100850
  /**
100785
100851
  * Node.js layers for Effect's `Path` service.
100786
100852
  *
@@ -100825,7 +100891,7 @@ const layer$21 = /* @__PURE__ */ succeed$5(Path$1)({
100825
100891
  toFileUrl
100826
100892
  });
100827
100893
  //#endregion
100828
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeStdio.js
100894
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeStdio.js
100829
100895
  /**
100830
100896
  * Node.js `Stdio` layer for the current process.
100831
100897
  *
@@ -100962,7 +101028,7 @@ function defaultShouldQuit(input) {
100962
101028
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
100963
101029
  }
100964
101030
  //#endregion
100965
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeServices.js
101031
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeServices.js
100966
101032
  /**
100967
101033
  * Provides the default Node implementations for child process spawning,
100968
101034
  * filesystem, path, stdio, and terminal services.
@@ -100972,7 +101038,7 @@ function defaultShouldQuit(input) {
100972
101038
  */
100973
101039
  const layer$16 = /* @__PURE__ */ provideMerge(layer$31, /* @__PURE__ */ mergeAll$2(layer$27, layer$23, layer$21, layer$19, layer$18));
100974
101040
  //#endregion
100975
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeSocket.js
101041
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeSocket.js
100976
101042
  /**
100977
101043
  * Node.js socket constructors and layers for Effect sockets.
100978
101044
  *
@@ -101017,7 +101083,7 @@ const layer$16 = /* @__PURE__ */ provideMerge(layer$31, /* @__PURE__ */ mergeAll
101017
101083
  */
101018
101084
  const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$5(WebSocketConstructor)((url, protocols) => new import_websocket.default(url, protocols));
101019
101085
  //#endregion
101020
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpServer.js
101086
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeHttpServer.js
101021
101087
  /**
101022
101088
  * Node.js implementation of the Effect `HttpServer`.
101023
101089
  *
@@ -101359,7 +101425,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
101359
101425
  return failCause$2(headersSent ? combine$1(originalCause, die$3(originalResponse)) : cause);
101360
101426
  });
101361
101427
  //#endregion
101362
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.75_effect@4.0.0-beta.75_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeRuntime.js
101428
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.78_effect@4.0.0-beta.78_ioredis@5.10.1/node_modules/@effect/platform-node/dist/NodeRuntime.js
101363
101429
  /**
101364
101430
  * Node.js process runner for starting an Effect program at the application
101365
101431
  * edge.
@@ -101432,7 +101498,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
101432
101498
  process.on("SIGTERM", onSigint);
101433
101499
  });
101434
101500
  //#endregion
101435
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/persistence/PersistedCache.js
101501
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/persistence/PersistedCache.js
101436
101502
  /**
101437
101503
  * Combines scoped memory caching with durable persistence for `Persistable`
101438
101504
  * lookup keys.
@@ -102088,7 +102154,7 @@ const toExit = (self) => {
102088
102154
  }
102089
102155
  };
102090
102156
  //#endregion
102091
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
102157
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
102092
102158
  /**
102093
102159
  * The `AtomRegistry` module provides the runtime cache for unstable reactivity
102094
102160
  * atoms. A registry owns the node graph for a group of atoms, stores current
@@ -102783,7 +102849,7 @@ function batchRebuildNode(node) {
102783
102849
  if (node.state !== NodeState.valid) node.value();
102784
102850
  }
102785
102851
  //#endregion
102786
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/reactivity/Atom.js
102852
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/reactivity/Atom.js
102787
102853
  /**
102788
102854
  * Reactive state primitives for values evaluated by an {@link AtomRegistry}.
102789
102855
  *
@@ -199390,10 +199456,7 @@ var IssueSource = class IssueSource extends Service$1()("lalph/IssueSource") {
199390
199456
  });
199391
199457
  }
199392
199458
  };
199393
- var IssueSourceError = class extends ErrorClass("lalph/IssueSourceError")({
199394
- _tag: tag("IssueSourceError"),
199395
- cause: Defect
199396
- }) {
199459
+ var IssueSourceError = class extends TaggedErrorClass()("IssueSourceError", { cause: Defect() }) {
199397
199460
  message = "An error occurred in the IssueSource";
199398
199461
  };
199399
199462
  //#endregion
@@ -199469,7 +199532,7 @@ const parseCommand = (command) => {
199469
199532
  return args;
199470
199533
  };
199471
199534
  //#endregion
199472
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Model.js
199535
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Model.js
199473
199536
  /**
199474
199537
  * The `Model` module wraps a provider-specific language model layer with the
199475
199538
  * metadata Effect AI needs at runtime. A `Model` is still a `Layer`, but it
@@ -202725,7 +202788,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
202725
202788
  });
202726
202789
  Ze.glob = Ze;
202727
202790
  //#endregion
202728
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ApplyPatch.js
202791
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ApplyPatch.js
202729
202792
  /**
202730
202793
  * @since 1.0.0
202731
202794
  */
@@ -218851,7 +218914,7 @@ var StreamableHTTPClientTransport = class {
218851
218914
  }
218852
218915
  };
218853
218916
  //#endregion
218854
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/McpClient.js
218917
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/McpClient.js
218855
218918
  /**
218856
218919
  * @since 1.0.0
218857
218920
  */
@@ -218896,7 +218959,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
218896
218959
  });
218897
218960
  }));
218898
218961
  //#endregion
218899
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ExaSearch.js
218962
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ExaSearch.js
218900
218963
  /**
218901
218964
  * @since 1.0.0
218902
218965
  */
@@ -233952,7 +234015,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
233952
234015
  exports.impl = impl;
233953
234016
  }));
233954
234017
  //#endregion
233955
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/WebToMarkdown.js
234018
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/WebToMarkdown.js
233956
234019
  /**
233957
234020
  * @since 1.0.0
233958
234021
  */
@@ -234769,7 +234832,7 @@ const layer$11 = effect$1(WebToMarkdown, gen(function* () {
234769
234832
  });
234770
234833
  }));
234771
234834
  //#endregion
234772
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Response.js
234835
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Response.js
234773
234836
  const PartTypeId$1 = "~effect/ai/Content/Part";
234774
234837
  /**
234775
234838
  * Creates a Schema for non-streaming response parts based on a toolkit.
@@ -235336,7 +235399,7 @@ const ErrorPart = /* @__PURE__ */ Struct$2({
235336
235399
  error: Unknown
235337
235400
  }).annotate({ identifier: "ErrorPart" });
235338
235401
  //#endregion
235339
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/AiError.js
235402
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/AiError.js
235340
235403
  /**
235341
235404
  * The `AiError` module provides comprehensive, provider-agnostic error handling
235342
235405
  * for AI operations.
@@ -236693,7 +236756,7 @@ const reasonFromHttpStatus = (params) => {
236693
236756
  }
236694
236757
  };
236695
236758
  //#endregion
236696
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Toolkit.js
236759
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Toolkit.js
236697
236760
  const TypeId$5 = "~effect/ai/Toolkit";
236698
236761
  const Proto$2 = {
236699
236762
  .../* @__PURE__ */ Prototype({
@@ -236924,7 +236987,7 @@ const merge$1 = (...toolkits) => {
236924
236987
  return makeProto(tools);
236925
236988
  };
236926
236989
  //#endregion
236927
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Tool.js
236990
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Tool.js
236928
236991
  /**
236929
236992
  * The `Tool` module describes callable capabilities that a language model can
236930
236993
  * request during a workflow. A tool definition names the operation, describes
@@ -237491,7 +237554,7 @@ function isEmptyParamsRecord(indexSignature) {
237491
237554
  return indexSignature.parameter === string$3 && isNever(indexSignature.type);
237492
237555
  }
237493
237556
  //#endregion
237494
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/SemanticSearch/Service.js
237557
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/SemanticSearch/Service.js
237495
237558
  /**
237496
237559
  * @since 1.0.0
237497
237560
  */
@@ -237517,7 +237580,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$3(m
237517
237580
  onSome: (service) => service.removeFile(path)
237518
237581
  })));
237519
237582
  //#endregion
237520
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/AgentTools.js
237583
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/AgentTools.js
237521
237584
  /**
237522
237585
  * @since 1.0.0
237523
237586
  */
@@ -237920,7 +237983,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
237920
237983
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
237921
237984
  var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
237922
237985
  //#endregion
237923
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/TypeBuilder.js
237986
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/TypeBuilder.js
237924
237987
  const resolveDocumentation = resolveAt("documentation");
237925
237988
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
237926
237989
  const Precedence = {
@@ -238193,7 +238256,7 @@ const render = (schema, options) => {
238193
238256
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
238194
238257
  };
238195
238258
  //#endregion
238196
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ToolkitRenderer.js
238259
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ToolkitRenderer.js
238197
238260
  /**
238198
238261
  * @since 1.0.0
238199
238262
  */
@@ -238215,7 +238278,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
238215
238278
  }) });
238216
238279
  };
238217
238280
  //#endregion
238218
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ScriptPreprocessing.js
238281
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ScriptPreprocessing.js
238219
238282
  const callTemplateTargets = ["applyPatch", "taskComplete"];
238220
238283
  const objectPropertyTargets = [{
238221
238284
  functionName: "writeFile",
@@ -238884,7 +238947,7 @@ const rewriteAssignedTargets = (script) => {
238884
238947
  };
238885
238948
  const preprocessScript = (script) => rewriteAssignedTargets(rewriteDirectTemplates(script));
238886
238949
  //#endregion
238887
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/AgentExecutor.js
238950
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/AgentExecutor.js
238888
238951
  /**
238889
238952
  * @since 1.0.0
238890
238953
  */
@@ -239089,7 +239152,7 @@ var QueueWriteStream = class extends Writable {
239089
239152
  }
239090
239153
  };
239091
239154
  //#endregion
239092
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ScriptExtraction.js
239155
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ScriptExtraction.js
239093
239156
  const stripWrappingCodeFence = (script) => {
239094
239157
  const lines = script.split(/\r?\n/);
239095
239158
  if (lines.length < 2) return script;
@@ -239114,7 +239177,7 @@ const stripWrappingCodeFence = (script) => {
239114
239177
  return lines.slice(firstNonEmpty + 1, lastNonEmpty).join(newLine);
239115
239178
  };
239116
239179
  //#endregion
239117
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Prompt.js
239180
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Prompt.js
239118
239181
  /**
239119
239182
  * The `Prompt` module provides several data structures to simplify creating and
239120
239183
  * combining prompts.
@@ -239660,7 +239723,7 @@ const setSystem = /* @__PURE__ */ dual(2, (self, content) => {
239660
239723
  return makePrompt(messages);
239661
239724
  });
239662
239725
  //#endregion
239663
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/IdGenerator.js
239726
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/IdGenerator.js
239664
239727
  /**
239665
239728
  * Service tag for AI identifier generation services.
239666
239729
  *
@@ -239740,7 +239803,7 @@ const makeGenerator = ({ alphabet = DEFAULT_ALPHABET, prefix, separator = DEFAUL
239740
239803
  */
239741
239804
  const defaultIdGenerator = { generateId: /* @__PURE__ */ makeGenerator({ prefix: "id" }) };
239742
239805
  //#endregion
239743
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
239806
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
239744
239807
  /** @internal */
239745
239808
  const defaultCodecTransformer$1 = (codec) => {
239746
239809
  const document = resolveTopLevel$ref(toJsonSchemaDocument(codec));
@@ -239752,7 +239815,7 @@ const defaultCodecTransformer$1 = (codec) => {
239752
239815
  };
239753
239816
  };
239754
239817
  //#endregion
239755
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
239818
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
239756
239819
  /**
239757
239820
  * Track provider response IDs for incremental language model calls.
239758
239821
  *
@@ -239861,7 +239924,7 @@ const make$10 = /* @__PURE__ */ sync(() => {
239861
239924
  };
239862
239925
  });
239863
239926
  //#endregion
239864
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/Telemetry.js
239927
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/Telemetry.js
239865
239928
  /**
239866
239929
  * OpenTelemetry span annotation helpers for Effect AI operations.
239867
239930
  *
@@ -240000,7 +240063,7 @@ const addGenAIAnnotations$2 = /* @__PURE__ */ dual(2, (span, options) => {
240000
240063
  */
240001
240064
  var CurrentSpanTransformer = class extends Service$1()("effect/ai/Telemetry/CurrentSpanTransformer") {};
240002
240065
  //#endregion
240003
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/LanguageModel.js
240066
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/LanguageModel.js
240004
240067
  /**
240005
240068
  * Service tag for AI model services.
240006
240069
  *
@@ -240791,7 +240854,7 @@ const applySpanTransformer = (transformer, response, options) => {
240791
240854
  });
240792
240855
  };
240793
240856
  //#endregion
240794
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/AgentOutput.js
240857
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/AgentOutput.js
240795
240858
  /**
240796
240859
  * @since 1.0.0
240797
240860
  */
@@ -240912,7 +240975,7 @@ Union$2([
240912
240975
  */
240913
240976
  var AgentFinished = class extends TaggedErrorClass()("AgentFinished", { summary: String$1 }) {};
240914
240977
  //#endregion
240915
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/Agent.js
240978
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/Agent.js
240916
240979
  /**
240917
240980
  * @since 1.0.0
240918
240981
  */
@@ -241359,7 +241422,7 @@ const responseToSummary = (response) => {
241359
241422
  return parts.join("\n\n");
241360
241423
  };
241361
241424
  //#endregion
241362
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/encoding/Sse.js
241425
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/encoding/Sse.js
241363
241426
  /**
241364
241427
  * Creates a channel that parses Server-Sent Events text chunks into `Event` values.
241365
241428
  *
@@ -241670,7 +241733,7 @@ const ModelIdsResponses = /* @__PURE__ */ Union$2([ModelIdsShared, /* @__PURE__
241670
241733
  "gpt-5.1-codex-max"
241671
241734
  ]).annotate({ "title": "ResponsesOnlyModel" })]);
241672
241735
  //#endregion
241673
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/internal/errors.js
241736
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/internal/errors.js
241674
241737
  /** @internal */
241675
241738
  const OpenAiErrorBody$1 = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
241676
241739
  message: String$1,
@@ -241883,7 +241946,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
241883
241946
  }
241884
241947
  };
241885
241948
  //#endregion
241886
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
241949
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
241887
241950
  /**
241888
241951
  * The `OpenAiConfig` module carries request-time configuration for the
241889
241952
  * `@effect/ai-openai` package through Effect's context. It currently exposes a
@@ -241939,7 +242002,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
241939
242002
  static getOrUndefined = /* @__PURE__ */ map$7(/* @__PURE__ */ context$1(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
241940
242003
  };
241941
242004
  //#endregion
241942
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiSchema.js
242005
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiSchema.js
241943
242006
  /**
241944
242007
  * The `OpenAiSchema` module defines the request, response, streaming, and
241945
242008
  * embedding schemas used by the handwritten OpenAI client. These schemas are
@@ -242526,7 +242589,7 @@ const CreateEmbeddingResponse = /* @__PURE__ */ Struct$2({
242526
242589
  }))
242527
242590
  });
242528
242591
  //#endregion
242529
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiClient.js
242592
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiClient.js
242530
242593
  /**
242531
242594
  * The `OpenAiClient` module provides the handwritten Effect service used by
242532
242595
  * the OpenAI integration for Responses API and embedding requests. It builds on
@@ -242836,7 +242899,7 @@ const decodeEvent = /* @__PURE__ */ decodeUnknownSync(/* @__PURE__ */ fromJsonSt
242836
242899
  */
242837
242900
  const layerWebSocketMode = /* @__PURE__ */ effectContext(makeSocket);
242838
242901
  //#endregion
242839
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
242902
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
242840
242903
  /**
242841
242904
  * The `EmbeddingModel` module defines the provider-neutral service for turning
242842
242905
  * text into embedding vectors. It exposes single-input `embed` and ordered
@@ -243032,7 +243095,7 @@ const mapProviderResults = (inputLength, results) => {
243032
243095
  return succeed$4(embeddings);
243033
243096
  };
243034
243097
  //#endregion
243035
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
243098
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
243036
243099
  /**
243037
243100
  * The `OpenAiEmbeddingModel` module provides the OpenAI implementation of
243038
243101
  * Effect AI's `EmbeddingModel` service. It adapts the OpenAI embeddings
@@ -243199,7 +243262,7 @@ const invalidOutput = (description) => make$14({
243199
243262
  reason: new InvalidOutputError({ description })
243200
243263
  });
243201
243264
  //#endregion
243202
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
243265
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
243203
243266
  /**
243204
243267
  * Adapt Effect Schema codecs to the JSON Schema subset accepted by OpenAI
243205
243268
  * structured output.
@@ -243555,7 +243618,7 @@ const formats = [
243555
243618
  "uuid"
243556
243619
  ];
243557
243620
  //#endregion
243558
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/internal/utilities.js
243621
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/internal/utilities.js
243559
243622
  const finishReasonMap$1 = {
243560
243623
  content_filter: "content-filter",
243561
243624
  function_call: "tool-calls",
@@ -243573,7 +243636,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
243573
243636
  return reason;
243574
243637
  };
243575
243638
  //#endregion
243576
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
243639
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
243577
243640
  /**
243578
243641
  * OpenAI-specific telemetry annotations for GenAI spans.
243579
243642
  *
@@ -243629,7 +243692,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
243629
243692
  }
243630
243693
  });
243631
243694
  //#endregion
243632
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
243695
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
243633
243696
  /**
243634
243697
  * The `OpenAiLanguageModel` module provides the OpenAI Responses API
243635
243698
  * implementation of Effect AI's `LanguageModel` service. It translates Effect
@@ -245553,11 +245616,11 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
245553
245616
  })));
245554
245617
  });
245555
245618
  //#endregion
245556
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/DeviceCodeHandler.js
245619
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/DeviceCodeHandler.js
245557
245620
  var DeviceCodeHandler = class extends Service$1()("clanka/DeviceCodeHandler") {};
245558
245621
  const layerConsole = succeed$5(DeviceCodeHandler, { onCode: (options) => log(`Open ${options.verifyUrl} and enter code ${options.deviceCode}.`) });
245559
245622
  //#endregion
245560
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/CodexAuth.js
245623
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/CodexAuth.js
245561
245624
  /**
245562
245625
  * @since 1.0.0
245563
245626
  */
@@ -245782,7 +245845,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
245782
245845
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
245783
245846
  };
245784
245847
  //#endregion
245785
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/Codex.js
245848
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/Codex.js
245786
245849
  /**
245787
245850
  * @since 1.0.0
245788
245851
  */
@@ -245809,7 +245872,7 @@ const layerModel = (model, options) => layer$7({
245809
245872
  }
245810
245873
  }).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
245811
245874
  //#endregion
245812
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/CodeChunker.js
245875
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/CodeChunker.js
245813
245876
  /**
245814
245877
  * @since 1.0.0
245815
245878
  */
@@ -246283,7 +246346,7 @@ const layer$6 = effect$1(CodeChunker, gen(function* () {
246283
246346
  });
246284
246347
  }));
246285
246348
  //#endregion
246286
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
246349
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
246287
246350
  /** @internal */
246288
246351
  const OpenAiErrorBody = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
246289
246352
  message: String$1,
@@ -246491,7 +246554,7 @@ const mapStatusCodeToReason = ({ status, headers, message, metadata, http }) =>
246491
246554
  }
246492
246555
  };
246493
246556
  //#endregion
246494
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
246557
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
246495
246558
  /**
246496
246559
  * The `OpenAiConfig` module provides shared configuration for clients that
246497
246560
  * talk to OpenAI-compatible APIs. It is used to customize the HTTP client
@@ -246538,7 +246601,7 @@ var OpenAiConfig = class OpenAiConfig extends Service$1()("@effect/ai-openai-com
246538
246601
  static getOrUndefined = /* @__PURE__ */ map$7(/* @__PURE__ */ context$1(), (context) => context.mapUnsafe.get(OpenAiConfig.key));
246539
246602
  };
246540
246603
  //#endregion
246541
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
246604
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
246542
246605
  /**
246543
246606
  * The `OpenAiClient` module provides an Effect service for calling
246544
246607
  * OpenAI-compatible chat completions and embeddings APIs. It builds on the
@@ -246745,7 +246808,7 @@ const decodeChatCompletionSseData = (data) => {
246745
246808
  return isChatCompletionChunk(parsed) ? parsed : void 0;
246746
246809
  };
246747
246810
  //#endregion
246748
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
246811
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
246749
246812
  const finishReasonMap = {
246750
246813
  content_filter: "content-filter",
246751
246814
  function_call: "tool-calls",
@@ -246761,7 +246824,7 @@ const resolveFinishReason = (finishReason, hasToolCalls) => {
246761
246824
  return reason;
246762
246825
  };
246763
246826
  //#endregion
246764
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
246827
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
246765
246828
  /**
246766
246829
  * The `OpenAiTelemetry` module adds OpenAI-compatible provider attributes to
246767
246830
  * the provider-neutral GenAI telemetry model. It keeps the standard
@@ -246829,7 +246892,7 @@ const addGenAIAnnotations = /* @__PURE__ */ dual(2, (span, options) => {
246829
246892
  }
246830
246893
  });
246831
246894
  //#endregion
246832
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
246895
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
246833
246896
  /**
246834
246897
  * The `OpenAiLanguageModel` module adapts OpenAI-compatible chat-completions
246835
246898
  * providers to the shared Effect AI `LanguageModel` interface. It translates
@@ -247770,7 +247833,7 @@ const getUsageDetailNumber = (details, field) => {
247770
247833
  return typeof value === "number" ? value : void 0;
247771
247834
  };
247772
247835
  //#endregion
247773
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/CopilotAuth.js
247836
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/CopilotAuth.js
247774
247837
  /**
247775
247838
  * @since 1.0.0
247776
247839
  */
@@ -247966,7 +248029,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
247966
248029
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
247967
248030
  };
247968
248031
  //#endregion
247969
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/Copilot.js
248032
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/Copilot.js
247970
248033
  /**
247971
248034
  * @since 1.0.0
247972
248035
  */
@@ -248386,7 +248449,7 @@ Object.defineProperties(createChalk.prototype, styles);
248386
248449
  const chalk = createChalk();
248387
248450
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
248388
248451
  //#endregion
248389
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/OutputFormatter.js
248452
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/OutputFormatter.js
248390
248453
  /**
248391
248454
  * @since 1.0.0
248392
248455
  */
@@ -248492,7 +248555,7 @@ const layerMuxer = (formatter) => effect$1(Muxer, gen(function* () {
248492
248555
  });
248493
248556
  }));
248494
248557
  //#endregion
248495
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/schema/VariantSchema.js
248558
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/schema/VariantSchema.js
248496
248559
  /**
248497
248560
  * Runtime type identifier attached to variant schema structs.
248498
248561
  *
@@ -248609,7 +248672,7 @@ const Union$1 = (members, variants) => {
248609
248672
  return VariantUnion;
248610
248673
  };
248611
248674
  //#endregion
248612
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/schema/Model.js
248675
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/schema/Model.js
248613
248676
  const { Class, Field, FieldExcept, FieldOnly, Struct, Union, extract, fieldEvolve } = /* @__PURE__ */ make$1({
248614
248677
  variants: [
248615
248678
  "select",
@@ -248622,7 +248685,7 @@ const { Class, Field, FieldExcept, FieldOnly, Struct, Union, extract, fieldEvolv
248622
248685
  defaultVariant: "select"
248623
248686
  });
248624
248687
  //#endregion
248625
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/SqlResolver.js
248688
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/SqlResolver.js
248626
248689
  /**
248627
248690
  * Schema-aware `RequestResolver` helpers for SQL-backed data loading.
248628
248691
  *
@@ -248804,7 +248867,7 @@ function transactionKey(entry) {
248804
248867
  return byReferenceUnsafe(conn);
248805
248868
  }
248806
248869
  //#endregion
248807
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/SqlSchema.js
248870
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/SqlSchema.js
248808
248871
  /**
248809
248872
  * Builds a query function that encodes the request and decodes all result rows,
248810
248873
  * allowing an empty result set.
@@ -248825,7 +248888,7 @@ const findAll = (options) => {
248825
248888
  return (request) => flatMap$3(flatMap$3(encodeRequest(request), options.execute), decode);
248826
248889
  };
248827
248890
  //#endregion
248828
- //#region node_modules/.pnpm/effect@4.0.0-beta.75/node_modules/effect/dist/unstable/sql/SqlModel.js
248891
+ //#region node_modules/.pnpm/effect@4.0.0-beta.78/node_modules/effect/dist/unstable/sql/SqlModel.js
248829
248892
  /**
248830
248893
  * Creates batched request resolvers for a schema model's insert, insert-void,
248831
248894
  * find-by-id, and delete operations, honoring the optional soft-delete column.
@@ -248869,7 +248932,7 @@ select * from ${sql(options.tableName)} where ${withSoftDeleteFilter(sql`${sql(i
248869
248932
  };
248870
248933
  });
248871
248934
  //#endregion
248872
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/ChunkRepo.js
248935
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/ChunkRepo.js
248873
248936
  /**
248874
248937
  * @since 1.0.0
248875
248938
  * @category Models
@@ -249004,7 +249067,7 @@ const layer$3 = effect$1(ChunkRepo, gen(function* () {
249004
249067
  });
249005
249068
  }));
249006
249069
  //#endregion
249007
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.66_effect@4.0.0-beta.75/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
249070
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.66_effect@4.0.0-beta.78/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
249008
249071
  /**
249009
249072
  * @since 1.0.0
249010
249073
  */
@@ -249127,7 +249190,7 @@ const make = (options) => gen(function* () {
249127
249190
  */
249128
249191
  const layer$2 = (config) => effectContext(map$7(make(config), (client) => make$89(SqliteClient, client).pipe(add$3(SqlClient, client)))).pipe(provide$3(layer$33));
249129
249192
  //#endregion
249130
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.66_effect@4.0.0-beta.75/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
249193
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.66_effect@4.0.0-beta.78/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
249131
249194
  /**
249132
249195
  * @category constructor
249133
249196
  * @since 1.0.0
@@ -249139,7 +249202,7 @@ const run$1 = /* @__PURE__ */ make$24({});
249139
249202
  */
249140
249203
  const layer$1 = (options) => effectDiscard(run$1(options));
249141
249204
  //#endregion
249142
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/internal/sqlite-vector.js
249205
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/internal/sqlite-vector.js
249143
249206
  /**
249144
249207
  * Binary extension for each platform
249145
249208
  */
@@ -249256,7 +249319,7 @@ function getExtensionPath() {
249256
249319
  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`);
249257
249320
  }
249258
249321
  //#endregion
249259
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/Sqlite.js
249322
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/Sqlite.js
249260
249323
  /**
249261
249324
  * @since 1.0.0
249262
249325
  */
@@ -249284,7 +249347,7 @@ const SqliteLayer = (database) => layer$1({ loader: fromRecord({ "0001_create_ch
249284
249347
  yield* fs.makeDirectory(directory, { recursive: true });
249285
249348
  }))));
249286
249349
  //#endregion
249287
- //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.75_effect@4.0.0-beta.75__@effect+ai-o_e41f9340daa12f6cbb58bec4bb2ad3f6/node_modules/clanka/dist/SemanticSearch.js
249350
+ //#region node_modules/.pnpm/clanka@0.2.67_@effect+ai-openai-compat@4.0.0-beta.78_effect@4.0.0-beta.78__@effect+ai-o_3e32dd1fe96eddb7157fe7b73d64ec5c/node_modules/clanka/dist/SemanticSearch.js
249288
249351
  /**
249289
249352
  * @since 1.0.0
249290
249353
  */
@@ -249830,7 +249893,7 @@ const LinearIssueSource = effect$1(IssueSource, gen(function* () {
249830
249893
  ]));
249831
249894
  var LinearError = class extends ErrorClass("lalph/LinearError")({
249832
249895
  _tag: tag("LinearError"),
249833
- cause: Defect
249896
+ cause: Defect()
249834
249897
  }) {};
249835
249898
  const selectedProjectId = new ProjectSetting("linear.selectedProjectId", String$1);
249836
249899
  const selectProject$1 = gen(function* () {
@@ -257456,11 +257519,12 @@ const addOrUpdateProject = fnUntraced(function* (existing, fromPlanMode = false)
257456
257519
  });
257457
257520
  const concurrency = yield* integer$3({
257458
257521
  message: "Concurrency (number of tasks to run in parallel)",
257459
- min: 1
257522
+ min: 1,
257523
+ default: existing ? existing.concurrency : 1
257460
257524
  });
257461
257525
  const targetBranch = pipe$1(yield* text$2({
257462
257526
  message: "Target branch (leave empty to use HEAD)",
257463
- default: existing ? getOrElse$2(existing.targetBranch, () => "") : ""
257527
+ default: existing ? getOrElse$2(existing.targetBranch, () => id) : id
257464
257528
  }), trim, liftPredicate(isNonEmpty$1));
257465
257529
  const gitFlow = yield* select({
257466
257530
  message: "Git flow",
@@ -257490,7 +257554,10 @@ const addOrUpdateProject = fnUntraced(function* (existing, fromPlanMode = false)
257490
257554
  if (gitFlow === "ralph" && !fromPlanMode) {
257491
257555
  const cwd = pathService.resolve(".");
257492
257556
  const relativeRoot = pipe$1(yield* findProjectRoot(cwd), getOrElse$2(() => cwd));
257493
- ralphSpec = yield* file$3({ message: "Path to Ralph spec file" }).pipe(map$7((selectedPath) => pathService.relative(relativeRoot, selectedPath)), map$7(some));
257557
+ ralphSpec = yield* file$3({
257558
+ message: "Path to Ralph spec file",
257559
+ default: existing?.ralphSpec
257560
+ }).pipe(map$7((selectedPath) => pathService.relative(relativeRoot, selectedPath)), map$7(some));
257494
257561
  }
257495
257562
  if (gitFlow === "ralph") ralphPreset = some((yield* selectCliAgentPreset(existing?.ralphPreset)).id);
257496
257563
  const researchAgent = yield* toggle({
@@ -259042,7 +259109,7 @@ const commandEdit = make$60("edit").pipe(withDescription("Open the selected proj
259042
259109
  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));
259043
259110
  //#endregion
259044
259111
  //#region package.json
259045
- var version = "0.3.135";
259112
+ var version = "0.3.136";
259046
259113
  //#endregion
259047
259114
  //#region src/Tracing.ts
259048
259115
  const TracingLayer = unwrap$3(gen(function* () {