lalph 0.3.29 → 0.3.30

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
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
44
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
45
45
 
46
46
  //#endregion
47
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Pipeable.js
47
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Pipeable.js
48
48
  /**
49
49
  * @since 2.0.0
50
50
  */
@@ -104,7 +104,7 @@ const Class$4 = /* @__PURE__ */ function() {
104
104
  }();
105
105
 
106
106
  //#endregion
107
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Function.js
107
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Function.js
108
108
  /**
109
109
  * Creates a function that can be used in a data-last (aka `pipe`able) or
110
110
  * data-first style.
@@ -373,7 +373,7 @@ function memoize(f) {
373
373
  }
374
374
 
375
375
  //#endregion
376
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/equal.js
376
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/equal.js
377
377
  /** @internal */
378
378
  const getAllObjectKeys = (obj) => {
379
379
  const keys = new Set(Reflect.ownKeys(obj));
@@ -393,7 +393,7 @@ const getAllObjectKeys = (obj) => {
393
393
  const byReferenceInstances = /* @__PURE__ */ new WeakSet();
394
394
 
395
395
  //#endregion
396
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Predicate.js
396
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Predicate.js
397
397
  /**
398
398
  * Predicate and Refinement helpers for runtime checks, filtering, and type narrowing.
399
399
  * This module provides small, pure functions you can combine to decide whether a
@@ -1071,7 +1071,7 @@ function isRegExp$1(input) {
1071
1071
  const or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
1072
1072
 
1073
1073
  //#endregion
1074
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Hash.js
1074
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Hash.js
1075
1075
  /**
1076
1076
  * This module provides utilities for hashing values in TypeScript.
1077
1077
  *
@@ -1421,9 +1421,41 @@ function withVisitedTracking$1(obj, fn) {
1421
1421
  }
1422
1422
 
1423
1423
  //#endregion
1424
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Equal.js
1424
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Equal.js
1425
1425
  /**
1426
- * The unique identifier used to identify objects that implement the `Equal` interface.
1426
+ * The unique string identifier for the {@link Equal} interface.
1427
+ *
1428
+ * Use this as a computed property key when implementing custom equality on a
1429
+ * class or object literal.
1430
+ *
1431
+ * When to use:
1432
+ * - As the method name when implementing the {@link Equal} interface.
1433
+ * - To check manually whether an object carries an equality method (prefer
1434
+ * {@link isEqual} instead).
1435
+ *
1436
+ * Behavior:
1437
+ * - Pure constant — no allocation or side effects.
1438
+ *
1439
+ * **Example** (implementing Equal on a class)
1440
+ *
1441
+ * ```ts
1442
+ * import { Equal, Hash } from "effect"
1443
+ *
1444
+ * class UserId implements Equal.Equal {
1445
+ * constructor(readonly id: string) {}
1446
+ *
1447
+ * [Equal.symbol](that: Equal.Equal): boolean {
1448
+ * return that instanceof UserId && this.id === that.id
1449
+ * }
1450
+ *
1451
+ * [Hash.symbol](): number {
1452
+ * return Hash.string(this.id)
1453
+ * }
1454
+ * }
1455
+ * ```
1456
+ *
1457
+ * @see {@link Equal} — the interface that uses this symbol
1458
+ * @see {@link isEqual} — type guard for `Equal` implementors
1427
1459
  *
1428
1460
  * @since 2.0.0
1429
1461
  */
@@ -1546,37 +1578,61 @@ function makeCompareSet(equivalence) {
1546
1578
  }
1547
1579
  const compareSets = /* @__PURE__ */ makeCompareSet(compareBoth);
1548
1580
  /**
1549
- * Determines if a value implements the `Equal` interface.
1581
+ * Checks whether a value implements the {@link Equal} interface.
1582
+ *
1583
+ * When to use:
1584
+ * - To branch on whether a value supports custom equality before calling
1585
+ * its `[Equal.symbol]` method directly.
1586
+ * - In generic utility code that needs to distinguish `Equal` implementors
1587
+ * from plain values.
1588
+ *
1589
+ * Behavior:
1590
+ * - Pure function, no side effects.
1591
+ * - Returns `true` if and only if `u` has a property keyed by
1592
+ * {@link symbol}.
1593
+ * - Acts as a TypeScript type guard, narrowing the input to {@link Equal}.
1594
+ *
1595
+ * **Example** (type guard)
1550
1596
  *
1551
- * @example
1552
1597
  * ```ts
1553
1598
  * import { Equal, Hash } from "effect"
1554
- * import * as assert from "node:assert"
1555
1599
  *
1556
- * class MyClass implements Equal.Equal {
1600
+ * class Token implements Equal.Equal {
1601
+ * constructor(readonly value: string) {}
1557
1602
  * [Equal.symbol](that: Equal.Equal): boolean {
1558
- * return that instanceof MyClass
1603
+ * return that instanceof Token && this.value === that.value
1559
1604
  * }
1560
1605
  * [Hash.symbol](): number {
1561
- * return 0
1606
+ * return Hash.string(this.value)
1562
1607
  * }
1563
1608
  * }
1564
1609
  *
1565
- * const instance = new MyClass()
1566
- * assert(Equal.isEqual(instance) === true)
1567
- * assert(Equal.isEqual({}) === false)
1568
- * assert(Equal.isEqual(42) === false)
1610
+ * console.log(Equal.isEqual(new Token("abc"))) // true
1611
+ * console.log(Equal.isEqual({ x: 1 })) // false
1612
+ * console.log(Equal.isEqual(42)) // false
1569
1613
  * ```
1570
1614
  *
1615
+ * @see {@link Equal} — the interface being checked
1616
+ * @see {@link symbol} — the property key that signals `Equal` support
1617
+ *
1571
1618
  * @category guards
1572
1619
  * @since 2.0.0
1573
1620
  */
1574
1621
  const isEqual = (u) => hasProperty(u, symbol$4);
1575
1622
  /**
1576
- * Creates an `Equivalence` instance using the `equals` function.
1577
- * This allows the equality logic to be used with APIs that expect an `Equivalence`.
1623
+ * Wraps {@link equals} as an `Equivalence<A>`.
1624
+ *
1625
+ * When to use:
1626
+ * - When an API (e.g. `Array.dedupeWith`, `Equivalence.mapInput`) requires an
1627
+ * `Equivalence` and you want to reuse `Equal.equals`.
1628
+ *
1629
+ * Behavior:
1630
+ * - Returns a function `(a: A, b: A) => boolean` that delegates to
1631
+ * {@link equals}.
1632
+ * - Pure; allocates a thin wrapper on each call.
1633
+ *
1634
+ * **Example** (deduplicating with Equal semantics)
1578
1635
  *
1579
- * @example
1580
1636
  * ```ts
1581
1637
  * import { Array, Equal } from "effect"
1582
1638
  *
@@ -1585,35 +1641,48 @@ const isEqual = (u) => hasProperty(u, symbol$4);
1585
1641
  * console.log(result) // [1, 2, 3]
1586
1642
  * ```
1587
1643
  *
1644
+ * @see {@link equals} — the underlying comparison function
1645
+ *
1588
1646
  * @category instances
1589
1647
  * @since 2.0.0
1590
1648
  */
1591
1649
  const asEquivalence = () => equals$2;
1592
1650
  /**
1593
- * Marks an object to use reference equality instead of structural equality, without creating a proxy.
1651
+ * Permanently marks an object to use reference equality, without creating a
1652
+ * proxy.
1594
1653
  *
1595
- * Unlike `byReference`, this function directly modifies the object's equality behavior
1596
- * without creating a proxy wrapper. This is more performant but "unsafe" because
1597
- * it permanently changes how the object is compared.
1654
+ * When to use:
1655
+ * - When you want reference equality semantics and can accept that the
1656
+ * original object is **permanently** modified.
1657
+ * - When proxy overhead is unacceptable (hot paths, large collections).
1658
+ *
1659
+ * Behavior:
1660
+ * - Adds `obj` to an internal WeakSet. From that point on, {@link equals}
1661
+ * treats it as reference-only.
1662
+ * - Returns the **same** object (not a copy or proxy), so
1663
+ * `byReferenceUnsafe(x) === x`.
1664
+ * - The marking is irreversible for the lifetime of the object.
1665
+ * - Does **not** affect the object's prototype, properties, or behavior
1666
+ * beyond equality checks.
1667
+ *
1668
+ * **Example** (marking an object for reference equality)
1598
1669
  *
1599
- * @example
1600
1670
  * ```ts
1601
1671
  * import { Equal } from "effect"
1602
- * import * as assert from "node:assert"
1603
1672
  *
1604
1673
  * const obj1 = { a: 1, b: 2 }
1605
1674
  * const obj2 = { a: 1, b: 2 }
1606
1675
  *
1607
- * // Mark obj1 for reference equality (modifies obj1 directly)
1608
- * const obj1ByRef = Equal.byReferenceUnsafe(obj1)
1609
- * assert(obj1ByRef === obj1) // Same object, no proxy created
1610
- * assert(Equal.equals(obj1ByRef, obj2) === false) // uses reference equality
1611
- * assert(Equal.equals(obj1ByRef, obj1ByRef) === true) // same reference
1676
+ * Equal.byReferenceUnsafe(obj1)
1612
1677
  *
1613
- * // The original obj1 is now permanently marked for reference equality
1614
- * assert(Equal.equals(obj1, obj2) === false) // obj1 uses reference equality
1678
+ * console.log(Equal.equals(obj1, obj2)) // false (reference)
1679
+ * console.log(Equal.equals(obj1, obj1)) // true (same reference)
1680
+ * console.log(obj1 === Equal.byReferenceUnsafe(obj1)) // true (same object)
1615
1681
  * ```
1616
1682
  *
1683
+ * @see {@link byReference} — safer alternative that creates a proxy
1684
+ * @see {@link equals} — the comparison function affected by this opt-out
1685
+ *
1617
1686
  * @category utility
1618
1687
  * @since 2.0.0
1619
1688
  */
@@ -1623,7 +1692,7 @@ const byReferenceUnsafe = (obj) => {
1623
1692
  };
1624
1693
 
1625
1694
  //#endregion
1626
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Redactable.js
1695
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Redactable.js
1627
1696
  /**
1628
1697
  * @since 4.0.0
1629
1698
  */
@@ -1718,7 +1787,7 @@ const emptyServiceMap$1 = {
1718
1787
  };
1719
1788
 
1720
1789
  //#endregion
1721
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Formatter.js
1790
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Formatter.js
1722
1791
  /**
1723
1792
  * Utilities for converting arbitrary JavaScript values into human-readable
1724
1793
  * strings, with support for circular references, redaction, and common JS
@@ -2061,7 +2130,7 @@ function formatJson$1(input, options) {
2061
2130
  }
2062
2131
 
2063
2132
  //#endregion
2064
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Inspectable.js
2133
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Inspectable.js
2065
2134
  /**
2066
2135
  * This module provides utilities for making values inspectable and debuggable in TypeScript.
2067
2136
  *
@@ -2265,7 +2334,7 @@ var Class$3 = class {
2265
2334
  };
2266
2335
 
2267
2336
  //#endregion
2268
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Utils.js
2337
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Utils.js
2269
2338
  /**
2270
2339
  * @since 2.0.0
2271
2340
  */
@@ -2343,7 +2412,7 @@ const internalCall = isNotOptimizedAway ? standard[InternalTypeId] : forced[Inte
2343
2412
  const genConstructor = function* () {}.constructor;
2344
2413
 
2345
2414
  //#endregion
2346
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/core.js
2415
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/core.js
2347
2416
  /** @internal */
2348
2417
  const EffectTypeId$1 = `~effect/Effect`;
2349
2418
  /** @internal */
@@ -2743,29 +2812,38 @@ const done$2 = (value) => {
2743
2812
  };
2744
2813
 
2745
2814
  //#endregion
2746
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Data.js
2815
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Data.js
2747
2816
  /**
2748
- * Provides a constructor for a Case Class.
2817
+ * Base class for immutable data types.
2818
+ *
2819
+ * Extend `Class` with a type parameter to declare fields. The constructor
2820
+ * accepts those fields as a single object argument. When there are no fields
2821
+ * the argument is optional.
2822
+ *
2823
+ * - Use when you need a lightweight immutable value type with `.pipe()` support.
2824
+ * - Instances are `Readonly` and `Pipeable`.
2825
+ * - If you also need a `_tag` discriminator, use {@link TaggedClass} instead.
2826
+ * - If you need a yieldable error, use {@link Error} or {@link TaggedError}.
2827
+ *
2828
+ * **Example** (defining a value class)
2749
2829
  *
2750
- * @example
2751
2830
  * ```ts
2752
2831
  * import { Data, Equal } from "effect"
2753
- * import * as assert from "node:assert"
2754
2832
  *
2755
2833
  * class Person extends Data.Class<{ readonly name: string }> {}
2756
2834
  *
2757
- * // Creating instances of Person
2758
2835
  * const mike1 = new Person({ name: "Mike" })
2759
2836
  * const mike2 = new Person({ name: "Mike" })
2760
- * const john = new Person({ name: "John" })
2761
2837
  *
2762
- * // Checking equality
2763
- * assert.deepStrictEqual(Equal.equals(mike1, mike2), true)
2764
- * assert.deepStrictEqual(Equal.equals(mike1, john), false)
2838
+ * console.log(Equal.equals(mike1, mike2))
2839
+ * // true
2765
2840
  * ```
2766
2841
  *
2767
- * @since 2.0.0
2842
+ * @see {@link TaggedClass} — adds a `_tag` field
2843
+ * @see {@link Error} — yieldable error variant
2844
+ *
2768
2845
  * @category constructors
2846
+ * @since 2.0.0
2769
2847
  */
2770
2848
  const Class$2 = class extends Class$4 {
2771
2849
  constructor(props) {
@@ -2774,44 +2852,64 @@ const Class$2 = class extends Class$4 {
2774
2852
  }
2775
2853
  };
2776
2854
  /**
2777
- * Create a constructor for a tagged union of `Data` structs.
2855
+ * Creates runtime constructors, type guards, and pattern matching for a
2856
+ * {@link TaggedEnum} type.
2778
2857
  *
2779
- * You can also pass a `TaggedEnum.WithGenerics` if you want to add generics to
2780
- * the constructor.
2858
+ * Returns an object with:
2859
+ * - One constructor per variant (keyed by tag name)
2860
+ * - `$is(tag)` — returns a type-guard function
2861
+ * - `$match` — exhaustive pattern matching (data-first or data-last)
2862
+ *
2863
+ * - Use when you have a `TaggedEnum` type and need to construct/inspect values.
2864
+ * - Constructors produce **plain objects** (not class instances).
2865
+ * - For generic enums, pass a {@link TaggedEnum.WithGenerics} interface.
2866
+ *
2867
+ * **Example** (basic usage)
2781
2868
  *
2782
- * @example
2783
2869
  * ```ts
2784
2870
  * import { Data } from "effect"
2785
2871
  *
2786
- * const { BadRequest, NotFound } = Data.taggedEnum<
2787
- * | {
2788
- * readonly _tag: "BadRequest"
2789
- * readonly status: 400
2790
- * readonly message: string
2791
- * }
2792
- * | {
2793
- * readonly _tag: "NotFound"
2794
- * readonly status: 404
2795
- * readonly message: string
2796
- * }
2797
- * >()
2872
+ * type HttpError = Data.TaggedEnum<{
2873
+ * BadRequest: { readonly message: string }
2874
+ * NotFound: { readonly url: string }
2875
+ * }>
2876
+ *
2877
+ * const { BadRequest, NotFound, $is, $match } = Data.taggedEnum<HttpError>()
2798
2878
  *
2799
- * const notFound = NotFound({ status: 404, message: "Not Found" })
2879
+ * const err = NotFound({ url: "/missing" })
2880
+ *
2881
+ * // Type guard
2882
+ * console.log($is("NotFound")(err)) // true
2883
+ *
2884
+ * // Pattern matching
2885
+ * const msg = $match(err, {
2886
+ * BadRequest: (e) => e.message,
2887
+ * NotFound: (e) => `${e.url} not found`
2888
+ * })
2889
+ * console.log(msg) // "/missing not found"
2800
2890
  * ```
2801
2891
  *
2802
- * @example
2892
+ * **Example** (generic tagged enum)
2893
+ *
2894
+ * ```ts
2803
2895
  * import { Data } from "effect"
2804
2896
  *
2805
2897
  * type MyResult<E, A> = Data.TaggedEnum<{
2806
2898
  * Failure: { readonly error: E }
2807
2899
  * Success: { readonly value: A }
2808
2900
  * }>
2809
- * interface MyResultDefinition extends Data.TaggedEnum.WithGenerics<2> {
2901
+ * interface MyResultDef extends Data.TaggedEnum.WithGenerics<2> {
2810
2902
  * readonly taggedEnum: MyResult<this["A"], this["B"]>
2811
2903
  * }
2812
- * const { Failure, Success } = Data.taggedEnum<MyResultDefinition>()
2904
+ * const { Failure, Success } = Data.taggedEnum<MyResultDef>()
2905
+ *
2906
+ * const ok = Success({ value: 42 })
2907
+ * // ok: { readonly _tag: "Success"; readonly value: number }
2908
+ * ```
2813
2909
  *
2814
- * const success = Success({ value: 1 })
2910
+ * @see {@link TaggedEnum} the type-level companion
2911
+ * @see {@link TaggedEnum.Constructor} — the returned object type
2912
+ * @see {@link TaggedEnum.WithGenerics} — generic enum support
2815
2913
  *
2816
2914
  * @category constructors
2817
2915
  * @since 2.0.0
@@ -2835,69 +2933,85 @@ function taggedMatch() {
2835
2933
  return arguments[1][value._tag](value);
2836
2934
  }
2837
2935
  /**
2838
- * Create a structured error constructor that supports Effect's error handling.
2936
+ * Base class for yieldable errors.
2839
2937
  *
2840
- * This constructor creates errors that are both `Cause.YieldableError` (can be
2841
- * yielded in Effect generators) and have structural equality semantics.
2938
+ * Extends `Cause.YieldableError`, so instances can be yielded inside
2939
+ * `Effect.gen` to fail the enclosing effect. Fields are passed as a single
2940
+ * object; when there are no fields the argument is optional.
2941
+ *
2942
+ * - Use for errors that do **not** need tag-based discrimination.
2943
+ * - If you need `Effect.catchTag` support, use {@link TaggedError} instead.
2944
+ * - If a `message` field is provided, it becomes the error's `.message`.
2945
+ *
2946
+ * **Example** (defining a yieldable error)
2842
2947
  *
2843
- * @example
2844
2948
  * ```ts
2845
2949
  * import { Data, Effect } from "effect"
2846
2950
  *
2847
- * class NetworkError extends Data.Error<{ code: number; message: string }> {}
2951
+ * class NetworkError extends Data.Error<{
2952
+ * readonly code: number
2953
+ * readonly message: string
2954
+ * }> {}
2848
2955
  *
2849
2956
  * const program = Effect.gen(function*() {
2850
- * yield* new NetworkError({ code: 500, message: "Server error" })
2957
+ * yield* new NetworkError({ code: 500, message: "timeout" })
2851
2958
  * })
2852
2959
  *
2960
+ * // The effect fails with a NetworkError
2853
2961
  * Effect.runSync(Effect.exit(program))
2854
- * // Exit.fail(NetworkError({ code: 500, message: "Server error" }))
2855
2962
  * ```
2856
2963
  *
2964
+ * @see {@link TaggedError} — adds a `_tag` for `Effect.catchTag`
2965
+ * @see {@link Class} — non-error data class
2966
+ *
2857
2967
  * @category constructors
2858
2968
  * @since 2.0.0
2859
2969
  */
2860
2970
  const Error$2 = Error$3;
2861
2971
  /**
2862
- * Create a tagged error constructor with a specific tag for discriminated unions.
2972
+ * Creates a tagged error class with a `_tag` discriminator.
2863
2973
  *
2864
- * This constructor creates errors with a `_tag` property that are both
2865
- * `Cause.YieldableError` and have structural equality semantics.
2974
+ * Like {@link Error}, but instances also carry a `readonly _tag` property,
2975
+ * enabling `Effect.catchTag` and `Effect.catchTags` for tag-based recovery.
2976
+ * The `_tag` is excluded from the constructor argument.
2977
+ *
2978
+ * - Use for domain errors in Effect applications where you want
2979
+ * discriminated-union error handling.
2980
+ * - Yielding an instance inside `Effect.gen` fails the effect with this error.
2981
+ *
2982
+ * **Example** (tag-based error recovery)
2866
2983
  *
2867
- * @example
2868
2984
  * ```ts
2869
- * import { Data, Effect, pipe } from "effect"
2985
+ * import { Data, Effect } from "effect"
2870
2986
  *
2871
- * class NetworkError extends Data.TaggedError("NetworkError")<{
2872
- * code: number
2873
- * message: string
2987
+ * class NotFound extends Data.TaggedError("NotFound")<{
2988
+ * readonly resource: string
2874
2989
  * }> {}
2875
2990
  *
2876
- * class ValidationError extends Data.TaggedError("ValidationError")<{
2877
- * field: string
2878
- * message: string
2991
+ * class Forbidden extends Data.TaggedError("Forbidden")<{
2992
+ * readonly reason: string
2879
2993
  * }> {}
2880
2994
  *
2881
2995
  * const program = Effect.gen(function*() {
2882
- * yield* new NetworkError({ code: 500, message: "Server error" })
2996
+ * yield* new NotFound({ resource: "/users/42" })
2883
2997
  * })
2884
2998
  *
2885
- * const result = pipe(
2886
- * program,
2887
- * Effect.catchTag(
2888
- * "NetworkError",
2889
- * (error) => Effect.succeed(`Network error: ${error.message}`)
2890
- * )
2999
+ * const recovered = program.pipe(
3000
+ * Effect.catchTag("NotFound", (e) =>
3001
+ * Effect.succeed(`missing: ${e.resource}`))
2891
3002
  * )
2892
3003
  * ```
2893
3004
  *
3005
+ * @see {@link Error} — without a `_tag`
3006
+ * @see {@link TaggedClass} — tagged class that is not an error
3007
+ *
2894
3008
  * @category constructors
2895
3009
  * @since 2.0.0
2896
3010
  */
2897
3011
  const TaggedError = TaggedError$1;
2898
3012
 
2899
3013
  //#endregion
2900
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Order.js
3014
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Order.js
2901
3015
  /**
2902
3016
  * This module provides the `Order` type class for defining total orderings on types.
2903
3017
  * An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
@@ -3582,7 +3696,7 @@ const clamp$2 = (O) => dual(2, (self, options) => min$3(O)(options.maximum, max$
3582
3696
  const isBetween$1 = (O) => dual(2, (self, options) => !isLessThan$4(O)(self, options.minimum) && !isGreaterThan$4(O)(self, options.maximum));
3583
3697
 
3584
3698
  //#endregion
3585
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/UndefinedOr.js
3699
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/UndefinedOr.js
3586
3700
  /**
3587
3701
  * @since 4.0.0
3588
3702
  */
@@ -3603,7 +3717,7 @@ const liftThrowable = (f) => (...a) => {
3603
3717
  };
3604
3718
 
3605
3719
  //#endregion
3606
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Duration.js
3720
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Duration.js
3607
3721
  const TypeId$68 = "~effect/time/Duration";
3608
3722
  const bigint0$2 = /* @__PURE__ */ BigInt(0);
3609
3723
  const bigint24 = /* @__PURE__ */ BigInt(24);
@@ -4340,7 +4454,7 @@ const format$3 = (self) => {
4340
4454
  };
4341
4455
 
4342
4456
  //#endregion
4343
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Equivalence.js
4457
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Equivalence.js
4344
4458
  /**
4345
4459
  * Creates a custom equivalence relation with an optimized reference equality check.
4346
4460
  *
@@ -4671,7 +4785,22 @@ function Struct$1(fields) {
4671
4785
  }
4672
4786
 
4673
4787
  //#endregion
4674
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/option.js
4788
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/doNotation.js
4789
+ /** @internal */
4790
+ const let_$2 = (map) => dual(3, (self, name, f) => map(self, (a) => ({
4791
+ ...a,
4792
+ [name]: f(a)
4793
+ })));
4794
+ /** @internal */
4795
+ const bindTo$2 = (map) => dual(2, (self, name) => map(self, (a) => ({ [name]: a })));
4796
+ /** @internal */
4797
+ const bind$3 = (map, flatMap) => dual(3, (self, name, f) => flatMap(self, (a) => map(f(a), (b) => ({
4798
+ ...a,
4799
+ [name]: b
4800
+ }))));
4801
+
4802
+ //#endregion
4803
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/option.js
4675
4804
  /**
4676
4805
  * @since 2.0.0
4677
4806
  */
@@ -4743,7 +4872,7 @@ const some$3 = (value) => {
4743
4872
  };
4744
4873
 
4745
4874
  //#endregion
4746
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/result.js
4875
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/result.js
4747
4876
  const TypeId$66 = "~effect/data/Result";
4748
4877
  const CommonProto = {
4749
4878
  [TypeId$66]: {
@@ -4825,7 +4954,7 @@ const getSuccess$3 = (self) => isFailure$5(self) ? none$5 : some$3(self.success)
4825
4954
  const fromOption$4 = /* @__PURE__ */ dual(2, (self, onNone) => isNone$1(self) ? fail$9(onNone()) : succeed$7(self.value));
4826
4955
 
4827
4956
  //#endregion
4828
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Option.js
4957
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Option.js
4829
4958
  /**
4830
4959
  * Creates an `Option` representing the absence of a value.
4831
4960
  *
@@ -5568,7 +5697,7 @@ const makeEquivalence$5 = (isEquivalent) => make$62((x, y) => isNone(x) ? isNone
5568
5697
  const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
5569
5698
 
5570
5699
  //#endregion
5571
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Result.js
5700
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Result.js
5572
5701
  /**
5573
5702
  * Creates a `Result` holding a `Success` value.
5574
5703
  *
@@ -5931,7 +6060,7 @@ const getOrThrow$1 = /* @__PURE__ */ getOrThrowWith(identity);
5931
6060
  const succeedNone$2 = /* @__PURE__ */ succeed$6(none$5);
5932
6061
 
5933
6062
  //#endregion
5934
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Filter.js
6063
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Filter.js
5935
6064
  /**
5936
6065
  * Applies a filter, predicate, or refinement to an input and returns a boxed
5937
6066
  * result. Extra arguments are forwarded to the function.
@@ -6090,7 +6219,7 @@ const toOption = (self) => (input) => {
6090
6219
  };
6091
6220
 
6092
6221
  //#endregion
6093
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/array.js
6222
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/array.js
6094
6223
  /**
6095
6224
  * @since 2.0.0
6096
6225
  */
@@ -6098,7 +6227,7 @@ const toOption = (self) => (input) => {
6098
6227
  const isArrayNonEmpty$1 = (self) => self.length > 0;
6099
6228
 
6100
6229
  //#endregion
6101
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Tuple.js
6230
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Tuple.js
6102
6231
  /**
6103
6232
  * Creates an `Equivalence` for tuples by comparing corresponding elements
6104
6233
  * using the provided per-position `Equivalence`s. Two tuples are equivalent
@@ -6156,7 +6285,7 @@ const makeEquivalence$4 = Tuple$1;
6156
6285
  const makeOrder$2 = Tuple$2;
6157
6286
 
6158
6287
  //#endregion
6159
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Iterable.js
6288
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Iterable.js
6160
6289
  /**
6161
6290
  * Return the number of elements in a `Iterable`.
6162
6291
  *
@@ -6370,7 +6499,7 @@ const filter$8 = /* @__PURE__ */ dual(2, (self, predicate) => ({ [Symbol.iterato
6370
6499
  } }));
6371
6500
 
6372
6501
  //#endregion
6373
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Record.js
6502
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Record.js
6374
6503
  /**
6375
6504
  * Creates a new, empty record.
6376
6505
  *
@@ -6574,7 +6703,7 @@ const makeEquivalence$3 = (equivalence) => {
6574
6703
  };
6575
6704
 
6576
6705
  //#endregion
6577
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Array.js
6706
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Array.js
6578
6707
  /**
6579
6708
  * Utilities for working with immutable arrays (and non-empty arrays) in a
6580
6709
  * functional style. All functions treat arrays as immutable — they return new
@@ -7512,7 +7641,7 @@ const dedupeWith = /* @__PURE__ */ dual(2, (self, isEquivalent) => {
7512
7641
  const join$3 = /* @__PURE__ */ dual(2, (self, sep) => fromIterable$4(self).join(sep));
7513
7642
 
7514
7643
  //#endregion
7515
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/ServiceMap.js
7644
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/ServiceMap.js
7516
7645
  const ServiceTypeId = "~effect/ServiceMap/Service";
7517
7646
  /**
7518
7647
  * @example
@@ -8026,7 +8155,7 @@ const mergeAll$1 = (...ctxs) => {
8026
8155
  const Reference = Service$1;
8027
8156
 
8028
8157
  //#endregion
8029
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Scheduler.js
8158
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Scheduler.js
8030
8159
  /**
8031
8160
  * @since 4.0.0
8032
8161
  * @category references
@@ -8255,7 +8384,7 @@ var MixedScheduler = class {
8255
8384
  const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBeforeYield", { defaultValue: () => 2048 });
8256
8385
 
8257
8386
  //#endregion
8258
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Tracer.js
8387
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Tracer.js
8259
8388
  /**
8260
8389
  * @since 2.0.0
8261
8390
  * @category tags
@@ -8440,7 +8569,7 @@ const randomHexString = /* @__PURE__ */ function() {
8440
8569
  }();
8441
8570
 
8442
8571
  //#endregion
8443
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/References.js
8572
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/References.js
8444
8573
  /**
8445
8574
  * This module provides a collection of reference implementations for commonly used
8446
8575
  * Effect runtime configuration values. These references allow you to access and
@@ -8903,12 +9032,12 @@ const MinimumLogLevel = /* @__PURE__ */ Reference("effect/References/MinimumLogL
8903
9032
  const CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
8904
9033
 
8905
9034
  //#endregion
8906
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/metric.js
9035
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/metric.js
8907
9036
  /** @internal */
8908
9037
  const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
8909
9038
 
8910
9039
  //#endregion
8911
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/tracer.js
9040
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/tracer.js
8912
9041
  /** @internal */
8913
9042
  const addSpanStackTrace = (options) => {
8914
9043
  if (options?.captureStackTrace === false) return options;
@@ -8939,11 +9068,11 @@ const makeStackCleaner = (line) => (stack) => {
8939
9068
  const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
8940
9069
 
8941
9070
  //#endregion
8942
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/version.js
9071
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/version.js
8943
9072
  const version$1 = "dev";
8944
9073
 
8945
9074
  //#endregion
8946
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/effect.js
9075
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/effect.js
8947
9076
  /** @internal */
8948
9077
  var Interrupt$1 = class extends ReasonBase {
8949
9078
  fiberId;
@@ -9406,6 +9535,7 @@ const fiberJoin = (self) => {
9406
9535
  /** @internal */
9407
9536
  const fiberJoinAll = (self) => callback$2((resume) => {
9408
9537
  const fibers = Array.from(self);
9538
+ if (fibers.length === 0) return resume(succeed$5(empty$15()));
9409
9539
  const out = new Array(fibers.length);
9410
9540
  const cancels = empty$15();
9411
9541
  let done = 0;
@@ -10543,6 +10673,14 @@ const filter$5 = /* @__PURE__ */ dual((args) => isIterable(args[0]) && !isEffect
10543
10673
  }), out);
10544
10674
  }));
10545
10675
  /** @internal */
10676
+ const Do$1 = /* @__PURE__ */ succeed$5({});
10677
+ /** @internal */
10678
+ const bindTo$1 = /* @__PURE__ */ bindTo$2(map$11);
10679
+ /** @internal */
10680
+ const bind$2 = /* @__PURE__ */ bind$3(map$11, flatMap$4);
10681
+ /** @internal */
10682
+ const let_$1 = /* @__PURE__ */ let_$2(map$11);
10683
+ /** @internal */
10546
10684
  const forkChild$1 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, options) => withFiber$1((fiber) => {
10547
10685
  interruptChildrenPatch();
10548
10686
  return succeed$5(forkUnsafe$1(fiber, self, options?.startImmediately, false, options?.uninterruptible ?? false));
@@ -10682,22 +10820,25 @@ var Semaphore = class {
10682
10820
  get free() {
10683
10821
  return this.permits - this.taken;
10684
10822
  }
10685
- take = (n) => callback$2((resume) => {
10686
- if (this.free < n) {
10687
- const observer = () => {
10688
- if (this.free < n) return;
10689
- this.waiters.delete(observer);
10690
- this.taken += n;
10691
- resume(succeed$5(n));
10692
- };
10693
- this.waiters.add(observer);
10694
- return sync$1(() => {
10695
- this.waiters.delete(observer);
10823
+ take = (n) => {
10824
+ const take = suspend$4(() => {
10825
+ if (this.free < n) return callback$2((resume) => {
10826
+ if (this.free >= n) return resume(take);
10827
+ const observer = () => {
10828
+ if (this.free < n) return;
10829
+ this.waiters.delete(observer);
10830
+ resume(take);
10831
+ };
10832
+ this.waiters.add(observer);
10833
+ return sync$1(() => {
10834
+ this.waiters.delete(observer);
10835
+ });
10696
10836
  });
10697
- }
10698
- this.taken += n;
10699
- return resume(succeed$5(n));
10700
- });
10837
+ this.taken += n;
10838
+ return succeed$5(n);
10839
+ });
10840
+ return take;
10841
+ };
10701
10842
  updateTakenUnsafe(fiber, f) {
10702
10843
  this.taken = f(this.taken);
10703
10844
  if (this.waiters.size > 0) fiber.currentScheduler.scheduleTask(() => {
@@ -10720,7 +10861,7 @@ var Semaphore = class {
10720
10861
  }));
10721
10862
  release = (n) => this.updateTaken((taken) => taken - n);
10722
10863
  releaseAll = /* @__PURE__ */ this.updateTaken((_) => 0);
10723
- withPermits = (n) => (self) => uninterruptibleMask$1((restore) => flatMap$4(restore(this.take(n)), (permits) => ensuring$3(restore(self), this.release(permits))));
10864
+ withPermits = (n) => (self) => uninterruptibleMask$1((restore) => flatMap$4(restore(this.take(n)), (permits) => onExitPrimitive$1(restore(self), () => this.release(permits), true)));
10724
10865
  withPermit = /* @__PURE__ */ this.withPermits(1);
10725
10866
  withPermitsIfAvailable = (n) => (self) => uninterruptibleMask$1((restore) => suspend$4(() => {
10726
10867
  if (this.free < n) return succeedNone$1;
@@ -11297,7 +11438,7 @@ function interruptChildrenPatch() {
11297
11438
  const undefined_$2 = /* @__PURE__ */ succeed$5(void 0);
11298
11439
 
11299
11440
  //#endregion
11300
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Exit.js
11441
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Exit.js
11301
11442
  ExitTypeId;
11302
11443
  /**
11303
11444
  * Tests whether an unknown value is an Exit.
@@ -11972,7 +12113,7 @@ const getCause = exitGetCause;
11972
12113
  const findErrorOption$1 = exitFindErrorOption;
11973
12114
 
11974
12115
  //#endregion
11975
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Deferred.js
12116
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Deferred.js
11976
12117
  const DeferredProto = {
11977
12118
  ["~effect/Deferred"]: {
11978
12119
  _A: identity,
@@ -12233,7 +12374,7 @@ const doneUnsafe = (self, effect) => {
12233
12374
  const into = /* @__PURE__ */ dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$4(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
12234
12375
 
12235
12376
  //#endregion
12236
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Scope.js
12377
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Scope.js
12237
12378
  /**
12238
12379
  * The `Scope` module provides functionality for managing resource lifecycles
12239
12380
  * and cleanup operations in a functional and composable manner.
@@ -12513,7 +12654,7 @@ const closeUnsafe = scopeCloseUnsafe;
12513
12654
  const use$1 = scopeUse;
12514
12655
 
12515
12656
  //#endregion
12516
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Layer.js
12657
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Layer.js
12517
12658
  const TypeId$64 = "~effect/Layer";
12518
12659
  const MemoMapTypeId = "~effect/Layer/MemoMap";
12519
12660
  /**
@@ -13374,7 +13515,7 @@ const orDie$3 = (self) => fromBuildUnsafe((memoMap, scope) => orDie$4(self.build
13374
13515
  const fresh = (self) => fromBuildUnsafe((_, scope) => self.build(makeMemoMapUnsafe(), scope));
13375
13516
 
13376
13517
  //#endregion
13377
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/ExecutionPlan.js
13518
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/ExecutionPlan.js
13378
13519
  /**
13379
13520
  * @since 3.16.0
13380
13521
  * @category Type IDs
@@ -13408,7 +13549,7 @@ const CurrentMetadata$1 = /* @__PURE__ */ Reference("effect/ExecutionPlan/Curren
13408
13549
  }) });
13409
13550
 
13410
13551
  //#endregion
13411
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Cause.js
13552
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Cause.js
13412
13553
  /**
13413
13554
  * Unique brand for `Cause` values, used for runtime type checks via {@link isCause}.
13414
13555
  *
@@ -14410,7 +14551,7 @@ const reasonAnnotations = reasonAnnotations$1;
14410
14551
  const annotations = causeAnnotations;
14411
14552
 
14412
14553
  //#endregion
14413
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Clock.js
14554
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Clock.js
14414
14555
  /**
14415
14556
  * A reference to the current Clock service in the environment.
14416
14557
  *
@@ -14486,7 +14627,7 @@ const currentTimeMillis = currentTimeMillis$1;
14486
14627
  const currentTimeNanos = currentTimeNanos$1;
14487
14628
 
14488
14629
  //#endregion
14489
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/dateTime.js
14630
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/dateTime.js
14490
14631
  /** @internal */
14491
14632
  const TypeId$61 = "~effect/time/DateTime";
14492
14633
  /** @internal */
@@ -15090,7 +15231,7 @@ const formatIsoOffset$1 = (self) => {
15090
15231
  const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
15091
15232
 
15092
15233
  //#endregion
15093
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Number.js
15234
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Number.js
15094
15235
  /**
15095
15236
  * This module provides utility functions and type class instances for working with the `number` type in TypeScript.
15096
15237
  * It includes functions for basic arithmetic operations.
@@ -15167,7 +15308,7 @@ const Order$4 = Number$6;
15167
15308
  const Equivalence$5 = Number$5;
15168
15309
 
15169
15310
  //#endregion
15170
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/String.js
15311
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/String.js
15171
15312
  /**
15172
15313
  * This module provides utility functions and type class instances for working with the `string` type in TypeScript.
15173
15314
  * It includes functions for basic string manipulation.
@@ -15262,7 +15403,7 @@ const trim = (self) => self.trim();
15262
15403
  const isNonEmpty$1 = (self) => self.length > 0;
15263
15404
 
15264
15405
  //#endregion
15265
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Pull.js
15406
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Pull.js
15266
15407
  /**
15267
15408
  * @since 4.0.0
15268
15409
  */
@@ -15344,7 +15485,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
15344
15485
  }));
15345
15486
 
15346
15487
  //#endregion
15347
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Schedule.js
15488
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Schedule.js
15348
15489
  /**
15349
15490
  * This module provides utilities for creating and composing schedules for retrying operations,
15350
15491
  * repeating effects, and implementing various timing strategies.
@@ -15890,13 +16031,13 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$11(toSt
15890
16031
  const forever$1 = /* @__PURE__ */ spaced(zero$1);
15891
16032
 
15892
16033
  //#endregion
15893
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/layer.js
16034
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/layer.js
15894
16035
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$4(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$1(self, context)));
15895
16036
  /** @internal */
15896
16037
  const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isServiceMap(source) ? provideServices$1(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
15897
16038
 
15898
16039
  //#endregion
15899
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/schedule.js
16040
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/schedule.js
15900
16041
  /** @internal */
15901
16042
  const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$4(toStepWithMetadata(schedule), (step) => {
15902
16043
  let meta = CurrentMetadata.defaultValue();
@@ -15958,7 +16099,7 @@ const buildFromOptions = (options) => {
15958
16099
  };
15959
16100
 
15960
16101
  //#endregion
15961
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/executionPlan.js
16102
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/executionPlan.js
15962
16103
  /** @internal */
15963
16104
  const withExecutionPlan$1 = /* @__PURE__ */ dual(2, (self, plan) => suspend$4(() => {
15964
16105
  let i = 0;
@@ -16017,7 +16158,7 @@ const scheduleFromStep = (step, first) => {
16017
16158
  const scheduleOnce = /* @__PURE__ */ recurs(1);
16018
16159
 
16019
16160
  //#endregion
16020
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Request.js
16161
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Request.js
16021
16162
  const TypeId$59 = "~effect/Request";
16022
16163
  const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
16023
16164
  _E: (_) => _,
@@ -16038,7 +16179,7 @@ const RequestPrototype = {
16038
16179
  const makeEntry = (options) => options;
16039
16180
 
16040
16181
  //#endregion
16041
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/request.js
16182
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/request.js
16042
16183
  /** @internal */
16043
16184
  const request$2 = /* @__PURE__ */ dual(2, (self, resolver) => {
16044
16185
  const withResolver = (resolver) => callback$2((resume) => {
@@ -16138,7 +16279,7 @@ function runBatch(batch) {
16138
16279
  }
16139
16280
 
16140
16281
  //#endregion
16141
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Effect.js
16282
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Effect.js
16142
16283
  const TypeId$58 = EffectTypeId$1;
16143
16284
  /**
16144
16285
  * Tests if a value is an `Effect`.
@@ -16795,6 +16936,43 @@ const callback$1 = callback$2;
16795
16936
  */
16796
16937
  const never$4 = never$5;
16797
16938
  /**
16939
+ * An `Effect` containing an empty record `{}`, used as the starting point for
16940
+ * do notation chains.
16941
+ *
16942
+ * @example
16943
+ * ```ts
16944
+ * import { Effect } from "effect"
16945
+ * import { pipe } from "effect/Function"
16946
+ *
16947
+ * const program = pipe(
16948
+ * Effect.Do,
16949
+ * Effect.bind("x", () => Effect.succeed(2)),
16950
+ * Effect.bind("y", ({ x }) => Effect.succeed(x + 1)),
16951
+ * Effect.let("sum", ({ x, y }) => x + y)
16952
+ * )
16953
+ * ```
16954
+ *
16955
+ * @since 4.0.0
16956
+ * @category Do notation
16957
+ */
16958
+ const Do = Do$1;
16959
+ /**
16960
+ * Gives a name to the success value of an `Effect`, creating a single-key
16961
+ * record used in do notation pipelines.
16962
+ *
16963
+ * @since 4.0.0
16964
+ * @category Do notation
16965
+ */
16966
+ const bindTo = bindTo$1;
16967
+ const let_ = let_$1;
16968
+ /**
16969
+ * Adds an `Effect` value to the do notation record under a given name.
16970
+ *
16971
+ * @since 4.0.0
16972
+ * @category Do notation
16973
+ */
16974
+ const bind$1 = bind$2;
16975
+ /**
16798
16976
  * Provides a way to write effectful code using generator functions, simplifying
16799
16977
  * control flow and error handling.
16800
16978
  *
@@ -22543,7 +22721,7 @@ const catchEager = catchEager$1;
22543
22721
  const fnUntracedEager = fnUntracedEager$1;
22544
22722
 
22545
22723
  //#endregion
22546
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/record.js
22724
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/record.js
22547
22725
  /**
22548
22726
  * @since 4.0.0
22549
22727
  */
@@ -22560,7 +22738,7 @@ function set$10(self, key, value) {
22560
22738
  }
22561
22739
 
22562
22740
  //#endregion
22563
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/schema/annotations.js
22741
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/schema/annotations.js
22564
22742
  /** @internal */
22565
22743
  function resolve$2(ast) {
22566
22744
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -22583,7 +22761,7 @@ const getExpected = /* @__PURE__ */ memoize((ast) => {
22583
22761
  });
22584
22762
 
22585
22763
  //#endregion
22586
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/RegExp.js
22764
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/RegExp.js
22587
22765
  /**
22588
22766
  * This module provides utility functions for working with RegExp in TypeScript.
22589
22767
  *
@@ -22638,7 +22816,7 @@ const isRegExp = isRegExp$1;
22638
22816
  const escape = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
22639
22817
 
22640
22818
  //#endregion
22641
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/DateTime.js
22819
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/DateTime.js
22642
22820
  TypeId$61;
22643
22821
  TimeZoneTypeId;
22644
22822
  /**
@@ -24207,7 +24385,7 @@ const formatIsoZoned = formatIsoZoned$1;
24207
24385
  const layerCurrentZoneNamed = /* @__PURE__ */ flow(zoneMakeNamedEffect$1, /* @__PURE__ */ effect$1(CurrentTimeZone));
24208
24386
 
24209
24387
  //#endregion
24210
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Encoding.js
24388
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Encoding.js
24211
24389
  /**
24212
24390
  * Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
24213
24391
  *
@@ -24541,7 +24719,7 @@ const base64codes = [
24541
24719
  const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
24542
24720
 
24543
24721
  //#endregion
24544
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/redacted.js
24722
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/redacted.js
24545
24723
  /** @internal */
24546
24724
  const redactedRegistry = /* @__PURE__ */ new WeakMap();
24547
24725
  /** @internal */
@@ -24551,7 +24729,7 @@ const value$3 = (self) => {
24551
24729
  };
24552
24730
 
24553
24731
  //#endregion
24554
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Redacted.js
24732
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Redacted.js
24555
24733
  /**
24556
24734
  * The Redacted module provides functionality for handling sensitive information
24557
24735
  * securely within your application. By using the `Redacted` data type, you can
@@ -24634,7 +24812,7 @@ const Proto$20 = {
24634
24812
  const value$2 = value$3;
24635
24813
 
24636
24814
  //#endregion
24637
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SchemaIssue.js
24815
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SchemaIssue.js
24638
24816
  const TypeId$56 = "~effect/SchemaIssue/Issue";
24639
24817
  /**
24640
24818
  * Returns `true` if the given value is an {@link Issue}.
@@ -25362,7 +25540,7 @@ function formatOption(actual) {
25362
25540
  }
25363
25541
 
25364
25542
  //#endregion
25365
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SchemaGetter.js
25543
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SchemaGetter.js
25366
25544
  /**
25367
25545
  * Composable transformation primitives for the Effect Schema system.
25368
25546
  *
@@ -25970,7 +26148,7 @@ function collectBracketPathEntries(isLeaf) {
25970
26148
  }
25971
26149
 
25972
26150
  //#endregion
25973
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/BigDecimal.js
26151
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/BigDecimal.js
25974
26152
  /**
25975
26153
  * This module provides utility functions and type class instances for working with the `BigDecimal` type in TypeScript.
25976
26154
  * It includes functions for basic arithmetic operations.
@@ -26387,7 +26565,7 @@ const isZero = (n) => n.value === bigint0;
26387
26565
  const isNegative = (n) => n.value < bigint0;
26388
26566
 
26389
26567
  //#endregion
26390
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SchemaTransformation.js
26568
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SchemaTransformation.js
26391
26569
  /**
26392
26570
  * Bidirectional transformations for the Effect Schema system.
26393
26571
  *
@@ -26945,7 +27123,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
26945
27123
  });
26946
27124
 
26947
27125
  //#endregion
26948
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SchemaAST.js
27126
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SchemaAST.js
26949
27127
  /**
26950
27128
  * Abstract Syntax Tree (AST) representation for Effect schemas.
26951
27129
  *
@@ -28979,7 +29157,7 @@ const resolveTitle = resolveTitle$1;
28979
29157
  const resolveDescription = resolveDescription$1;
28980
29158
 
28981
29159
  //#endregion
28982
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Brand.js
29160
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Brand.js
28983
29161
  /**
28984
29162
  * This function returns a `Constructor` that **does not apply any runtime
28985
29163
  * checks**, it just returns the provided value. It can be used to create
@@ -29001,7 +29179,7 @@ function nominal() {
29001
29179
  }
29002
29180
 
29003
29181
  //#endregion
29004
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/PlatformError.js
29182
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/PlatformError.js
29005
29183
  /**
29006
29184
  * @since 4.0.0
29007
29185
  */
@@ -29062,7 +29240,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
29062
29240
  const badArgument = (options) => new PlatformError(new BadArgument(options));
29063
29241
 
29064
29242
  //#endregion
29065
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Chunk.js
29243
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Chunk.js
29066
29244
  /**
29067
29245
  * The `Chunk` module provides an immutable, high-performance sequence data structure
29068
29246
  * optimized for functional programming patterns. A `Chunk` is a persistent data structure
@@ -29804,7 +29982,7 @@ const reduce$2 = reduce$3;
29804
29982
  const reduceRight = reduceRight$1;
29805
29983
 
29806
29984
  //#endregion
29807
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Fiber.js
29985
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Fiber.js
29808
29986
  `${version$1}`;
29809
29987
  const await_ = fiberAwait;
29810
29988
  /**
@@ -30012,7 +30190,7 @@ const getCurrent = getCurrentFiber;
30012
30190
  const runIn = fiberRunIn;
30013
30191
 
30014
30192
  //#endregion
30015
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Latch.js
30193
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Latch.js
30016
30194
  /**
30017
30195
  * Creates a new Latch unsafely.
30018
30196
  *
@@ -30085,7 +30263,7 @@ const makeUnsafe$9 = makeLatchUnsafe;
30085
30263
  const make$51 = makeLatch;
30086
30264
 
30087
30265
  //#endregion
30088
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/MutableList.js
30266
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/MutableList.js
30089
30267
  /**
30090
30268
  * A unique symbol used to represent an empty result when taking elements from a MutableList.
30091
30269
  * This symbol is returned by `take` when the list is empty, allowing for safe type checking.
@@ -30506,7 +30684,7 @@ const filter$3 = (self, f) => {
30506
30684
  const remove$6 = (self, value) => filter$3(self, (v) => v !== value);
30507
30685
 
30508
30686
  //#endregion
30509
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/MutableRef.js
30687
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/MutableRef.js
30510
30688
  const TypeId$50 = "~effect/MutableRef";
30511
30689
  const MutableRefProto = {
30512
30690
  [TypeId$50]: TypeId$50,
@@ -30591,7 +30769,7 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
30591
30769
  });
30592
30770
 
30593
30771
  //#endregion
30594
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/PubSub.js
30772
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/PubSub.js
30595
30773
  /**
30596
30774
  * This module provides utilities for working with publish-subscribe (PubSub) systems.
30597
30775
  *
@@ -30825,7 +31003,7 @@ var PubSubImpl = class {
30825
31003
  };
30826
31004
 
30827
31005
  //#endregion
30828
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Queue.js
31006
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Queue.js
30829
31007
  const TypeId$48 = "~effect/Queue";
30830
31008
  const EnqueueTypeId = "~effect/Queue/Enqueue";
30831
31009
  const DequeueTypeId = "~effect/Queue/Dequeue";
@@ -31456,7 +31634,7 @@ const finalize = (self, exit) => {
31456
31634
  };
31457
31635
 
31458
31636
  //#endregion
31459
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/MutableHashMap.js
31637
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/MutableHashMap.js
31460
31638
  const TypeId$47 = "~effect/collections/MutableHashMap";
31461
31639
  const MutableHashMapProto = {
31462
31640
  [TypeId$47]: TypeId$47,
@@ -31823,7 +32001,7 @@ const clear$1 = (self) => {
31823
32001
  const size$2 = (self) => self.backing.size;
31824
32002
 
31825
32003
  //#endregion
31826
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Semaphore.js
32004
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Semaphore.js
31827
32005
  /**
31828
32006
  * Unsafely creates a new Semaphore.
31829
32007
  *
@@ -31898,7 +32076,7 @@ const makeUnsafe$8 = makeSemaphoreUnsafe;
31898
32076
  const make$46 = makeSemaphore;
31899
32077
 
31900
32078
  //#endregion
31901
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Channel.js
32079
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Channel.js
31902
32080
  /**
31903
32081
  * The `Channel` module provides a powerful abstraction for bi-directional communication
31904
32082
  * and streaming operations. A `Channel` is a nexus of I/O operations that supports both
@@ -33245,7 +33423,7 @@ const toPull$1 = /* @__PURE__ */ fnUntraced(function* (self) {
33245
33423
  const toPullScoped = (self, scope) => toTransform(self)(done(), scope);
33246
33424
 
33247
33425
  //#endregion
33248
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/stream.js
33426
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/stream.js
33249
33427
  const TypeId$45 = "~effect/Stream";
33250
33428
  const streamVariance = {
33251
33429
  _R: identity,
@@ -33266,7 +33444,7 @@ const fromChannel$2 = (channel) => {
33266
33444
  };
33267
33445
 
33268
33446
  //#endregion
33269
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Sink.js
33447
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Sink.js
33270
33448
  const TypeId$44 = "~effect/Sink";
33271
33449
  const endVoid = /* @__PURE__ */ succeed$1([void 0]);
33272
33450
  const sinkVariance = {
@@ -33472,7 +33650,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$2(
33472
33650
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$8(effect, toChannel$1)));
33473
33651
 
33474
33652
  //#endregion
33475
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/RcMap.js
33653
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/RcMap.js
33476
33654
  /**
33477
33655
  * @since 3.5.0
33478
33656
  */
@@ -33672,7 +33850,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
33672
33850
  }, uninterruptible));
33673
33851
 
33674
33852
  //#endregion
33675
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/rcRef.js
33853
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/rcRef.js
33676
33854
  const TypeId$42 = "~effect/RcRef";
33677
33855
  const stateEmpty = { _tag: "Empty" };
33678
33856
  const stateClosed = { _tag: "Closed" };
@@ -33774,7 +33952,7 @@ const invalidate$3 = (self_) => {
33774
33952
  };
33775
33953
 
33776
33954
  //#endregion
33777
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/RcRef.js
33955
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/RcRef.js
33778
33956
  /**
33779
33957
  * Create an `RcRef` from an acquire `Effect`.
33780
33958
  *
@@ -33849,7 +34027,7 @@ const get$8 = get$9;
33849
34027
  const invalidate$2 = invalidate$3;
33850
34028
 
33851
34029
  //#endregion
33852
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Stream.js
34030
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Stream.js
33853
34031
  /**
33854
34032
  * @since 2.0.0
33855
34033
  */
@@ -35020,7 +35198,7 @@ const toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (
35020
35198
  const toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map$8(services(), (context) => toReadableStreamWith(self, context, options)));
35021
35199
 
35022
35200
  //#endregion
35023
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/FileSystem.js
35201
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/FileSystem.js
35024
35202
  /**
35025
35203
  * This module provides a comprehensive file system abstraction that supports both synchronous
35026
35204
  * and asynchronous file operations through Effect. It includes utilities for file I/O, directory
@@ -35243,7 +35421,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
35243
35421
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
35244
35422
 
35245
35423
  //#endregion
35246
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Path.js
35424
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Path.js
35247
35425
  /**
35248
35426
  * @since 4.0.0
35249
35427
  */
@@ -35668,7 +35846,7 @@ const posixImpl = /* @__PURE__ */ Path$1.of({
35668
35846
  });
35669
35847
 
35670
35848
  //#endregion
35671
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/ConfigProvider.js
35849
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/ConfigProvider.js
35672
35850
  /**
35673
35851
  * Creates a `Value` node representing a terminal string leaf.
35674
35852
  *
@@ -35943,7 +36121,7 @@ function trieNodeAt(root, path) {
35943
36121
  }
35944
36122
 
35945
36123
  //#endregion
35946
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/LogLevel.js
36124
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/LogLevel.js
35947
36125
  /**
35948
36126
  * @since 4.0.0
35949
36127
  * @category models
@@ -36044,7 +36222,7 @@ const isGreaterThan$1 = isLogLevelGreaterThan;
36044
36222
  const isLessThan$1 = /* @__PURE__ */ isLessThan$4(Order);
36045
36223
 
36046
36224
  //#endregion
36047
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/hashMap.js
36225
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/hashMap.js
36048
36226
  /**
36049
36227
  * @since 2.0.0
36050
36228
  */
@@ -36773,7 +36951,7 @@ const every$1 = /* @__PURE__ */ dual(2, (self, predicate) => {
36773
36951
  });
36774
36952
 
36775
36953
  //#endregion
36776
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/HashMap.js
36954
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/HashMap.js
36777
36955
  /**
36778
36956
  * @since 2.0.0
36779
36957
  */
@@ -37578,7 +37756,7 @@ const some = some$1;
37578
37756
  const every = every$1;
37579
37757
 
37580
37758
  //#endregion
37581
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Struct.js
37759
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Struct.js
37582
37760
  /**
37583
37761
  * Creates an `Equivalence` for a struct by providing an `Equivalence` for each
37584
37762
  * property. Two structs are equivalent when all their corresponding properties
@@ -37676,7 +37854,7 @@ const makeOrder = Struct$2;
37676
37854
  const lambda = (f) => f;
37677
37855
 
37678
37856
  //#endregion
37679
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SchemaParser.js
37857
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SchemaParser.js
37680
37858
  /**
37681
37859
  * @since 4.0.0
37682
37860
  */
@@ -37914,7 +38092,7 @@ const recur$1 = /* @__PURE__ */ memoize((ast) => {
37914
38092
  });
37915
38093
 
37916
38094
  //#endregion
37917
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/JsonPointer.js
38095
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/JsonPointer.js
37918
38096
  /**
37919
38097
  * Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
37920
38098
  *
@@ -38008,7 +38186,7 @@ function escapeToken(token) {
38008
38186
  }
38009
38187
 
38010
38188
  //#endregion
38011
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/schema/schema.js
38189
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/schema/schema.js
38012
38190
  /** @internal */
38013
38191
  const TypeId$38 = "~effect/Schema/Schema";
38014
38192
  const SchemaProto = {
@@ -38037,7 +38215,7 @@ function make$38(ast, options) {
38037
38215
  }
38038
38216
 
38039
38217
  //#endregion
38040
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/schema/to-codec.js
38218
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/schema/to-codec.js
38041
38219
  /** @internal */
38042
38220
  const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
38043
38221
  const out = toCodecJsonBase(ast);
@@ -38107,7 +38285,7 @@ function makeReorder(getPriority) {
38107
38285
  const unknownToNull = /* @__PURE__ */ new Link(null_, /* @__PURE__ */ new Transformation(/* @__PURE__ */ passthrough$1(), /* @__PURE__ */ transform$3(() => null)));
38108
38286
 
38109
38287
  //#endregion
38110
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/internal/schema/representation.js
38288
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/internal/schema/representation.js
38111
38289
  /** @internal */
38112
38290
  function fromAST(ast) {
38113
38291
  const { references, representations: schemas } = fromASTs([ast]);
@@ -38719,7 +38897,7 @@ function getPartPattern(part) {
38719
38897
  }
38720
38898
 
38721
38899
  //#endregion
38722
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Schema.js
38900
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Schema.js
38723
38901
  const TypeId$37 = TypeId$38;
38724
38902
  /**
38725
38903
  * An API for creating schemas for parametric types.
@@ -40819,7 +40997,7 @@ const Uint8ArrayFromBase64 = /* @__PURE__ */ Base64String.pipe(/* @__PURE__ */ d
40819
40997
  * @since 4.0.0
40820
40998
  */
40821
40999
  const DateTimeUtc = /* @__PURE__ */ declare((u) => isDateTime(u) && isUtc(u), {
40822
- typeConstructor: { _tag: "DateTime.Utc" },
41000
+ typeConstructor: { _tag: "effect/DateTime.Utc" },
40823
41001
  generation: {
40824
41002
  runtime: `Schema.DateTimeUtc`,
40825
41003
  Type: `DateTime.Utc`,
@@ -40892,7 +41070,7 @@ const DateTimeUtcFromMillis = /* @__PURE__ */ Number$1.pipe(/* @__PURE__ */ deco
40892
41070
  * @since 4.0.0
40893
41071
  */
40894
41072
  const TimeZoneOffset = /* @__PURE__ */ declare(isTimeZoneOffset, {
40895
- typeConstructor: { _tag: "DateTime.TimeZone.Offset" },
41073
+ typeConstructor: { _tag: "effect/DateTime.TimeZone.Offset" },
40896
41074
  generation: {
40897
41075
  runtime: `Schema.TimeZoneOffset`,
40898
41076
  Type: `DateTime.TimeZone.Offset`,
@@ -40918,7 +41096,7 @@ const TimeZoneOffset = /* @__PURE__ */ declare(isTimeZoneOffset, {
40918
41096
  * @since 4.0.0
40919
41097
  */
40920
41098
  const TimeZoneNamed = /* @__PURE__ */ declare(isTimeZoneNamed, {
40921
- typeConstructor: { _tag: "DateTime.TimeZone.Named" },
41099
+ typeConstructor: { _tag: "effect/DateTime.TimeZone.Named" },
40922
41100
  generation: {
40923
41101
  runtime: `Schema.TimeZoneNamed`,
40924
41102
  Type: `DateTime.TimeZone.Named`,
@@ -40948,7 +41126,7 @@ const TimeZoneNamed = /* @__PURE__ */ declare(isTimeZoneNamed, {
40948
41126
  * @since 4.0.0
40949
41127
  */
40950
41128
  const TimeZone = /* @__PURE__ */ declare(isTimeZone, {
40951
- typeConstructor: { _tag: "DateTime.TimeZone" },
41129
+ typeConstructor: { _tag: "effect/DateTime.TimeZone" },
40952
41130
  generation: {
40953
41131
  runtime: `Schema.TimeZone`,
40954
41132
  Type: `DateTime.TimeZone`,
@@ -41194,7 +41372,7 @@ function onSerializerEnsureArray(ast) {
41194
41372
  }
41195
41373
 
41196
41374
  //#endregion
41197
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Config.js
41375
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Config.js
41198
41376
  const TypeId$36 = "~effect/Config";
41199
41377
  /**
41200
41378
  * The error type produced when config loading or validation fails.
@@ -41683,7 +41861,7 @@ function int(name) {
41683
41861
  }
41684
41862
 
41685
41863
  //#endregion
41686
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/CliError.js
41864
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/CliError.js
41687
41865
  /**
41688
41866
  * @since 4.0.0
41689
41867
  */
@@ -52687,7 +52865,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
52687
52865
  }));
52688
52866
 
52689
52867
  //#endregion
52690
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Primitive.js
52868
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Primitive.js
52691
52869
  var import_ini = /* @__PURE__ */ __toESM(require_ini(), 1);
52692
52870
  var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
52693
52871
  var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
@@ -52959,7 +53137,7 @@ const getTypeName = (primitive) => {
52959
53137
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
52960
53138
 
52961
53139
  //#endregion
52962
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Terminal.js
53140
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Terminal.js
52963
53141
  const TypeId$34 = "~effect/platform/Terminal";
52964
53142
  const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
52965
53143
  /**
@@ -52997,7 +53175,7 @@ const make$35 = (impl) => Terminal.of({
52997
53175
  });
52998
53176
 
52999
53177
  //#endregion
53000
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/ansi.js
53178
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/ansi.js
53001
53179
  const ESC = "\x1B[";
53002
53180
  const BEL = "\x07";
53003
53181
  const SEP = ";";
@@ -53088,7 +53266,7 @@ const eraseLines = (rows) => {
53088
53266
  };
53089
53267
 
53090
53268
  //#endregion
53091
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Prompt.js
53269
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Prompt.js
53092
53270
  /**
53093
53271
  * @since 4.0.0
53094
53272
  */
@@ -54081,7 +54259,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
54081
54259
  };
54082
54260
 
54083
54261
  //#endregion
54084
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Param.js
54262
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Param.js
54085
54263
  /**
54086
54264
  * @internal
54087
54265
  *
@@ -54800,7 +54978,7 @@ const getParamMetadata = (param) => {
54800
54978
  };
54801
54979
 
54802
54980
  //#endregion
54803
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Argument.js
54981
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Argument.js
54804
54982
  /**
54805
54983
  * Creates a positional path argument.
54806
54984
  *
@@ -54862,7 +55040,7 @@ const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDes
54862
55040
  const withDefault$1 = withDefault$2;
54863
55041
 
54864
55042
  //#endregion
54865
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/CliOutput.js
55043
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/CliOutput.js
54866
55044
  /**
54867
55045
  * Service reference for the CLI output formatter. Provides a default implementation
54868
55046
  * that can be overridden for custom formatting or testing.
@@ -55064,7 +55242,7 @@ const formatHelpDocImpl = (doc, colors) => {
55064
55242
  };
55065
55243
 
55066
55244
  //#endregion
55067
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Console.js
55245
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Console.js
55068
55246
  /**
55069
55247
  * A reference to the current console service in the Effect system.
55070
55248
  *
@@ -55157,7 +55335,7 @@ const log = (...args) => consoleWith((console) => sync$1(() => {
55157
55335
  }));
55158
55336
 
55159
55337
  //#endregion
55160
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/config.js
55338
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/config.js
55161
55339
  const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
55162
55340
  /**
55163
55341
  * Parses a Command.Config into a ConfigInternal.
@@ -55227,7 +55405,7 @@ const reconstructTree = (tree, results) => {
55227
55405
  };
55228
55406
 
55229
55407
  //#endregion
55230
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/command.js
55408
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/command.js
55231
55409
  /**
55232
55410
  * Command Implementation
55233
55411
  * ======================
@@ -55380,7 +55558,7 @@ const getHelpForCommandPath = (command, commandPath) => {
55380
55558
  };
55381
55559
 
55382
55560
  //#endregion
55383
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
55561
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
55384
55562
  const toFlagType = (single) => {
55385
55563
  switch (single.primitiveType._tag) {
55386
55564
  case "Boolean": return { _tag: "Boolean" };
@@ -55462,7 +55640,7 @@ const fromCommand = (cmd) => {
55462
55640
  };
55463
55641
 
55464
55642
  //#endregion
55465
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
55643
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
55466
55644
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
55467
55645
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
55468
55646
  const flagNamesForWordlist = (flag) => {
@@ -55614,7 +55792,7 @@ const generate$3 = (executableName, descriptor) => {
55614
55792
  };
55615
55793
 
55616
55794
  //#endregion
55617
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
55795
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
55618
55796
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
55619
55797
  /**
55620
55798
  * Build a Fish condition that checks the current subcommand context.
@@ -55753,7 +55931,7 @@ const generate$2 = (executableName, descriptor) => {
55753
55931
  };
55754
55932
 
55755
55933
  //#endregion
55756
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
55934
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
55757
55935
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
55758
55936
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
55759
55937
  /**
@@ -55891,7 +56069,7 @@ const generate$1 = (executableName, descriptor) => {
55891
56069
  };
55892
56070
 
55893
56071
  //#endregion
55894
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/completions/Completions.js
56072
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/completions/Completions.js
55895
56073
  /**
55896
56074
  * Top-level completions dispatcher.
55897
56075
  *
@@ -55910,7 +56088,7 @@ const generate = (executableName, shell, descriptor) => {
55910
56088
  };
55911
56089
 
55912
56090
  //#endregion
55913
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/lexer.js
56091
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/lexer.js
55914
56092
  /** @internal */
55915
56093
  function lex(argv) {
55916
56094
  const endIndex = argv.indexOf("--");
@@ -55962,7 +56140,7 @@ const lexTokens = (args) => {
55962
56140
  };
55963
56141
 
55964
56142
  //#endregion
55965
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
56143
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
55966
56144
  /**
55967
56145
  * Simple Levenshtein distance implementation (small N, no perf worries)
55968
56146
  */
@@ -55991,7 +56169,7 @@ const suggest = (input, candidates) => {
55991
56169
  };
55992
56170
 
55993
56171
  //#endregion
55994
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Flag.js
56172
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Flag.js
55995
56173
  /**
55996
56174
  * Creates a boolean flag that can be enabled or disabled.
55997
56175
  *
@@ -56241,7 +56419,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
56241
56419
  const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
56242
56420
 
56243
56421
  //#endregion
56244
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/builtInFlags.js
56422
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/builtInFlags.js
56245
56423
  /**
56246
56424
  * Built-in options that are automatically available for CLI commands.
56247
56425
  * @since 4.0.0
@@ -56295,7 +56473,7 @@ const completionsFlag = /* @__PURE__ */ choice("completions", [
56295
56473
  ]).pipe(optional, /* @__PURE__ */ map$1((v) => map$14(v, (s) => s === "sh" ? "bash" : s)), /* @__PURE__ */ withDescription$1("Print shell completion script for the given shell"));
56296
56474
 
56297
56475
  //#endregion
56298
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/internal/parser.js
56476
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/internal/parser.js
56299
56477
  /**
56300
56478
  * Parsing Pipeline for CLI Commands
56301
56479
  * ==================================
@@ -56606,7 +56784,7 @@ const scanCommandLevel = (tokens, context) => {
56606
56784
  };
56607
56785
 
56608
56786
  //#endregion
56609
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/cli/Command.js
56787
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/cli/Command.js
56610
56788
  /**
56611
56789
  * @since 4.0.0
56612
56790
  */
@@ -56952,7 +57130,7 @@ const runWith = (command, config) => {
56952
57130
  };
56953
57131
 
56954
57132
  //#endregion
56955
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Cache.js
57133
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Cache.js
56956
57134
  /**
56957
57135
  * @since 4.0.0
56958
57136
  */
@@ -57370,7 +57548,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$1(() => {
57370
57548
  }));
57371
57549
 
57372
57550
  //#endregion
57373
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/FiberHandle.js
57551
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/FiberHandle.js
57374
57552
  /**
57375
57553
  * @since 2.0.0
57376
57554
  */
@@ -57566,7 +57744,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
57566
57744
  });
57567
57745
 
57568
57746
  //#endregion
57569
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/FiberMap.js
57747
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/FiberMap.js
57570
57748
  /**
57571
57749
  * @since 2.0.0
57572
57750
  */
@@ -57797,7 +57975,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
57797
57975
  });
57798
57976
 
57799
57977
  //#endregion
57800
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/FiberSet.js
57978
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/FiberSet.js
57801
57979
  /**
57802
57980
  * @since 2.0.0
57803
57981
  */
@@ -58050,7 +58228,7 @@ const awaitEmpty = (self) => whileLoop({
58050
58228
  });
58051
58229
 
58052
58230
  //#endregion
58053
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/PrimaryKey.js
58231
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/PrimaryKey.js
58054
58232
  /**
58055
58233
  * The unique identifier used to identify objects that implement the `PrimaryKey` interface.
58056
58234
  *
@@ -58088,7 +58266,7 @@ const symbol$1 = "~effect/interfaces/PrimaryKey";
58088
58266
  const value$1 = (self) => self[symbol$1]();
58089
58267
 
58090
58268
  //#endregion
58091
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/LayerMap.js
58269
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/LayerMap.js
58092
58270
  const TypeId$26 = "~effect/LayerMap";
58093
58271
  /**
58094
58272
  * @since 3.14.0
@@ -58255,7 +58433,7 @@ const Service = () => (id, options) => {
58255
58433
  };
58256
58434
 
58257
58435
  //#endregion
58258
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Logger.js
58436
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Logger.js
58259
58437
  /**
58260
58438
  * @since 2.0.0
58261
58439
  *
@@ -58703,7 +58881,7 @@ const consolePretty = consolePretty$1;
58703
58881
  const tracerLogger = tracerLogger$1;
58704
58882
 
58705
58883
  //#endregion
58706
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Ref.js
58884
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Ref.js
58707
58885
  const RefProto = {
58708
58886
  ["~effect/Ref"]: { _A: identity },
58709
58887
  ...PipeInspectableProto,
@@ -58745,7 +58923,7 @@ const makeUnsafe$2 = (value) => {
58745
58923
  };
58746
58924
 
58747
58925
  //#endregion
58748
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/reactivity/Reactivity.js
58926
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/reactivity/Reactivity.js
58749
58927
  /**
58750
58928
  * @since 4.0.0
58751
58929
  */
@@ -58882,7 +59060,7 @@ const keysToHashes = (keys, f) => {
58882
59060
  };
58883
59061
 
58884
59062
  //#endregion
58885
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
59063
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
58886
59064
  /**
58887
59065
  * @since 4.0.0
58888
59066
  */
@@ -59026,7 +59204,7 @@ const toSchemaStore = (self, schema) => {
59026
59204
  };
59027
59205
 
59028
59206
  //#endregion
59029
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/persistence/Persistable.js
59207
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/persistence/Persistable.js
59030
59208
  /**
59031
59209
  * @since 4.0.0
59032
59210
  * @category Symbols
@@ -59083,7 +59261,7 @@ const deserializeExit = (self, encoded) => {
59083
59261
  };
59084
59262
 
59085
59263
  //#endregion
59086
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/persistence/Persistence.js
59264
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/persistence/Persistence.js
59087
59265
  /**
59088
59266
  * @since 4.0.0
59089
59267
  */
@@ -59260,7 +59438,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$17.pipe(/* @__PURE__ */ provide$3(layer
59260
59438
  const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
59261
59439
 
59262
59440
  //#endregion
59263
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SynchronizedRef.js
59441
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SynchronizedRef.js
59264
59442
  const TypeId$24 = "~effect/SynchronizedRef";
59265
59443
  const Proto$10 = {
59266
59444
  ...PipeInspectableProto,
@@ -59284,7 +59462,7 @@ const makeUnsafe$1 = (value) => {
59284
59462
  };
59285
59463
 
59286
59464
  //#endregion
59287
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/ScopedRef.js
59465
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/ScopedRef.js
59288
59466
  /**
59289
59467
  * @since 2.0.0
59290
59468
  */
@@ -59350,7 +59528,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
59350
59528
  }, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
59351
59529
 
59352
59530
  //#endregion
59353
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Runtime.js
59531
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Runtime.js
59354
59532
  /**
59355
59533
  * This module provides utilities for running Effect programs and managing their execution lifecycle.
59356
59534
  *
@@ -59486,7 +59664,7 @@ const makeRunMain = (f) => dual((args) => isEffect(args[0]), (effect, options) =
59486
59664
  });
59487
59665
 
59488
59666
  //#endregion
59489
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/Stdio.js
59667
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/Stdio.js
59490
59668
  /**
59491
59669
  * @since 4.0.0
59492
59670
  * @category Type IDs
@@ -59507,7 +59685,7 @@ const make$25 = (options) => ({
59507
59685
  });
59508
59686
 
59509
59687
  //#endregion
59510
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/SubscriptionRef.js
59688
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/SubscriptionRef.js
59511
59689
  /**
59512
59690
  * @since 2.0.0
59513
59691
  */
@@ -61013,7 +61191,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
61013
61191
  var src_default = new Mime(types, types$1)._freeze();
61014
61192
 
61015
61193
  //#endregion
61016
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/Mime.js
61194
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/Mime.js
61017
61195
  /**
61018
61196
  * @since 1.0.0
61019
61197
  */
@@ -61024,7 +61202,7 @@ var src_default = new Mime(types, types$1)._freeze();
61024
61202
  var Mime_default = src_default;
61025
61203
 
61026
61204
  //#endregion
61027
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
61205
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
61028
61206
  /**
61029
61207
  * A module providing a generic service interface for spawning child processes.
61030
61208
  *
@@ -61070,7 +61248,7 @@ const makeHandle = (params) => Object.assign(Object.create(HandleProto), params)
61070
61248
  const ChildProcessSpawner = /* @__PURE__ */ Service$1("effect/process/ChildProcessSpawner");
61071
61249
 
61072
61250
  //#endregion
61073
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/process/ChildProcess.js
61251
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/process/ChildProcess.js
61074
61252
  const TypeId$20 = "~effect/unstable/process/ChildProcess";
61075
61253
  const Proto$7 = {
61076
61254
  ...PipeInspectableProto,
@@ -61407,7 +61585,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
61407
61585
  ];
61408
61586
 
61409
61587
  //#endregion
61410
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/internal/utils.js
61588
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/internal/utils.js
61411
61589
  /** @internal */
61412
61590
  const handleErrnoException = (module, method) => (err, [path]) => {
61413
61591
  let reason = "Unknown";
@@ -61445,7 +61623,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
61445
61623
  };
61446
61624
 
61447
61625
  //#endregion
61448
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeSink.js
61626
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeSink.js
61449
61627
  /**
61450
61628
  * @category constructors
61451
61629
  * @since 1.0.0
@@ -61484,7 +61662,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$2((chunk) => {
61484
61662
  }) : identity);
61485
61663
 
61486
61664
  //#endregion
61487
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeStream.js
61665
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeStream.js
61488
61666
  /**
61489
61667
  * @since 1.0.0
61490
61668
  */
@@ -61616,7 +61794,7 @@ const readableToPullUnsafe = (options) => {
61616
61794
  const defaultOnError = (error) => new UnknownError(error);
61617
61795
 
61618
61796
  //#endregion
61619
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
61797
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
61620
61798
  const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
61621
61799
  const toPlatformError = (method, error, command) => {
61622
61800
  const { commands } = flattenCommand(command);
@@ -61959,7 +62137,7 @@ const flattenCommand = (command) => {
61959
62137
  };
61960
62138
 
61961
62139
  //#endregion
61962
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/Cookies.js
62140
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/Cookies.js
61963
62141
  /**
61964
62142
  * @since 4.0.0
61965
62143
  */
@@ -62349,7 +62527,7 @@ const tryDecodeURIComponent = (str) => {
62349
62527
  };
62350
62528
 
62351
62529
  //#endregion
62352
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/Headers.js
62530
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/Headers.js
62353
62531
  /**
62354
62532
  * @since 4.0.0
62355
62533
  */
@@ -62470,7 +62648,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
62470
62648
  ] });
62471
62649
 
62472
62650
  //#endregion
62473
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpClientError.js
62651
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpClientError.js
62474
62652
  /**
62475
62653
  * @since 4.0.0
62476
62654
  */
@@ -62609,7 +62787,7 @@ var EmptyBodyError = class extends TaggedError("EmptyBodyError") {
62609
62787
  };
62610
62788
 
62611
62789
  //#endregion
62612
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/UrlParams.js
62790
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/UrlParams.js
62613
62791
  /**
62614
62792
  * @since 4.0.0
62615
62793
  */
@@ -62661,7 +62839,7 @@ const fromInput = (input) => {
62661
62839
  return make$21(out);
62662
62840
  };
62663
62841
  const fromInputNested = (input) => {
62664
- const entries = Symbol.iterator in input ? fromIterable$4(input) : Object.entries(input);
62842
+ const entries = typeof input[Symbol.iterator] === "function" ? fromIterable$4(input) : Object.entries(input);
62665
62843
  const out = [];
62666
62844
  for (const [key, value] of entries) if (Array.isArray(value)) {
62667
62845
  for (let i = 0; i < value.length; i++) if (value[i] !== void 0) out.push([key, String(value[i])]);
@@ -62822,7 +63000,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
62822
63000
  })));
62823
63001
 
62824
63002
  //#endregion
62825
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpBody.js
63003
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpBody.js
62826
63004
  /**
62827
63005
  * @since 4.0.0
62828
63006
  */
@@ -62970,7 +63148,7 @@ var Stream = class extends Proto$3 {
62970
63148
  const stream$3 = (body, contentType, contentLength) => new Stream(body, contentType ?? "application/octet-stream", contentLength);
62971
63149
 
62972
63150
  //#endregion
62973
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpClientRequest.js
63151
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpClientRequest.js
62974
63152
  const TypeId$14 = "~effect/http/HttpClientRequest";
62975
63153
  const Proto$2 = {
62976
63154
  [TypeId$14]: TypeId$14,
@@ -63116,7 +63294,7 @@ const setBody = /* @__PURE__ */ dual(2, (self, body) => {
63116
63294
  const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput(input))));
63117
63295
 
63118
63296
  //#endregion
63119
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
63297
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
63120
63298
  /**
63121
63299
  * @since 4.0.0
63122
63300
  */
@@ -63168,7 +63346,7 @@ const inspect = (self, that) => {
63168
63346
  };
63169
63347
 
63170
63348
  //#endregion
63171
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpClientResponse.js
63349
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpClientResponse.js
63172
63350
  /**
63173
63351
  * @since 4.0.0
63174
63352
  */
@@ -63292,7 +63470,7 @@ var WebHttpClientResponse = class extends Class$3 {
63292
63470
  };
63293
63471
 
63294
63472
  //#endregion
63295
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpMethod.js
63473
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpMethod.js
63296
63474
  /**
63297
63475
  * @since 4.0.0
63298
63476
  */
@@ -63308,7 +63486,7 @@ const allShort = [
63308
63486
  ];
63309
63487
 
63310
63488
  //#endregion
63311
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpTraceContext.js
63489
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpTraceContext.js
63312
63490
  /**
63313
63491
  * @since 4.0.0
63314
63492
  */
@@ -63377,7 +63555,7 @@ const w3c = (headers) => {
63377
63555
  };
63378
63556
 
63379
63557
  //#endregion
63380
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpClient.js
63558
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpClient.js
63381
63559
  const TypeId$11 = "~effect/http/HttpClient";
63382
63560
  /**
63383
63561
  * @since 4.0.0
@@ -63488,7 +63666,7 @@ const mapRequest = /* @__PURE__ */ dual(2, (self, f) => makeWith(self.postproces
63488
63666
  /**
63489
63667
  * Retries common transient errors, such as rate limiting, timeouts or network issues.
63490
63668
  *
63491
- * Use `mode` to focus on retrying errors, transient responses, or both.
63669
+ * Use `retryOn` to focus on retrying errors, transient responses, or both.
63492
63670
  *
63493
63671
  * Specifying a `while` predicate allows you to consider other errors as
63494
63672
  * transient, and is ignored in "response-only" mode.
@@ -63498,15 +63676,15 @@ const mapRequest = /* @__PURE__ */ dual(2, (self, f) => makeWith(self.postproces
63498
63676
  */
63499
63677
  const retryTransient = /* @__PURE__ */ dual(2, (self, options) => {
63500
63678
  const isOnlySchedule = isSchedule(options);
63501
- const mode = isOnlySchedule ? "both" : options.mode ?? "both";
63679
+ const retryOn = isOnlySchedule ? "errors-and-responses" : options.retryOn ?? "errors-and-responses";
63502
63680
  const schedule = isOnlySchedule ? options : options.schedule;
63503
63681
  const passthroughSchedule = schedule && passthrough$2(schedule);
63504
63682
  const times = isOnlySchedule ? void 0 : options.times;
63505
- return transformResponse(self, flow(mode === "errors-only" ? identity : repeat({
63683
+ return transformResponse(self, flow(retryOn === "errors-only" ? identity : repeat({
63506
63684
  schedule: passthroughSchedule,
63507
63685
  times,
63508
63686
  while: isTransientResponse
63509
- }), mode === "response-only" ? identity : retry$1({
63687
+ }), retryOn === "response-only" ? identity : retry$1({
63510
63688
  while: isOnlySchedule || options.while === void 0 ? isTransientError : or(isTransientError, options.while),
63511
63689
  schedule,
63512
63690
  times
@@ -64220,7 +64398,7 @@ const httpMethods = [
64220
64398
  const make$17 = make$18;
64221
64399
 
64222
64400
  //#endregion
64223
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/Template.js
64401
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/Template.js
64224
64402
  /**
64225
64403
  * @since 4.0.0
64226
64404
  */
@@ -64270,7 +64448,7 @@ function isSuccess$1(u) {
64270
64448
  }
64271
64449
 
64272
64450
  //#endregion
64273
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpServerResponse.js
64451
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpServerResponse.js
64274
64452
  /**
64275
64453
  * @since 4.0.0
64276
64454
  */
@@ -64373,7 +64551,7 @@ const makeResponse = (options) => {
64373
64551
  };
64374
64552
 
64375
64553
  //#endregion
64376
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
64554
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
64377
64555
  /**
64378
64556
  * @since 4.0.0
64379
64557
  */
@@ -64411,7 +64589,7 @@ const toResponseOrElseDefect = (u, orElse) => {
64411
64589
  };
64412
64590
 
64413
64591
  //#endregion
64414
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpServerError.js
64592
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpServerError.js
64415
64593
  /**
64416
64594
  * @since 4.0.0
64417
64595
  */
@@ -64611,7 +64789,7 @@ const exitResponse = (exit) => {
64611
64789
  };
64612
64790
 
64613
64791
  //#endregion
64614
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/socket/Socket.js
64792
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/socket/Socket.js
64615
64793
  /**
64616
64794
  * @since 4.0.0
64617
64795
  * @category Type IDs
@@ -65747,7 +65925,7 @@ const defaultIsFile = defaultIsFile$1;
65747
65925
  const decodeField = decodeField$1;
65748
65926
 
65749
65927
  //#endregion
65750
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/Multipart.js
65928
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/Multipart.js
65751
65929
  /**
65752
65930
  * @since 4.0.0
65753
65931
  */
@@ -66003,7 +66181,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
66003
66181
  const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
66004
66182
 
66005
66183
  //#endregion
66006
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpServerRequest.js
66184
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpServerRequest.js
66007
66185
  /**
66008
66186
  * @since 4.0.0
66009
66187
  * @category Type IDs
@@ -66156,7 +66334,7 @@ const toURL = (self) => {
66156
66334
  };
66157
66335
 
66158
66336
  //#endregion
66159
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpMiddleware.js
66337
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpMiddleware.js
66160
66338
  /**
66161
66339
  * @since 4.0.0
66162
66340
  */
@@ -66165,17 +66343,14 @@ const toURL = (self) => {
66165
66343
  * @category constructors
66166
66344
  */
66167
66345
  const make$11 = (middleware) => middleware;
66168
- /**
66169
- * @since 4.0.0
66170
- * @category Logger
66171
- */
66172
- const LoggerDisabled = /* @__PURE__ */ Reference("effect/http/HttpMiddleware/LoggerDisabled", { defaultValue: constFalse });
66346
+ const loggerDisabledRequests = /* @__PURE__ */ new WeakSet();
66173
66347
  /**
66174
66348
  * @since 4.0.0
66175
66349
  * @category Logger
66176
66350
  */
66177
66351
  const withLoggerDisabled = (self) => withFiber((fiber) => {
66178
- fiber.setServices(add$3(fiber.services, LoggerDisabled, true));
66352
+ const request = getUnsafe$5(fiber.services, HttpServerRequest);
66353
+ loggerDisabledRequests.add(request);
66179
66354
  return self;
66180
66355
  });
66181
66356
  /**
@@ -66197,7 +66372,7 @@ const logger = /* @__PURE__ */ make$11((httpApp) => {
66197
66372
  return withFiber((fiber) => {
66198
66373
  const request = getUnsafe$5(fiber.services, HttpServerRequest);
66199
66374
  return withLogSpan(flatMap$2(exit(httpApp), (exit) => {
66200
- if (fiber.getRef(LoggerDisabled)) return exit;
66375
+ if (loggerDisabledRequests.has(request)) return exit;
66201
66376
  else if (exit._tag === "Failure") {
66202
66377
  const [response, cause] = causeResponseStripped(exit.cause);
66203
66378
  return andThen(annotateLogs(log$1(cause ?? "Sent HTTP Response"), {
@@ -66259,7 +66434,7 @@ const tracer = /* @__PURE__ */ make$11((httpApp) => withFiber((fiber) => {
66259
66434
  }));
66260
66435
 
66261
66436
  //#endregion
66262
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpEffect.js
66437
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpEffect.js
66263
66438
  /**
66264
66439
  * @since 4.0.0
66265
66440
  * @category combinators
@@ -66332,7 +66507,7 @@ const scoped = (effect) => withFiber((fiber) => {
66332
66507
  const PreResponseHandlers = /* @__PURE__ */ Reference("effect/http/HttpEffect/PreResponseHandlers", { defaultValue: () => void 0 });
66333
66508
 
66334
66509
  //#endregion
66335
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/Etag.js
66510
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/Etag.js
66336
66511
  /**
66337
66512
  * @since 4.0.0
66338
66513
  */
@@ -66396,7 +66571,7 @@ const layerWeak = /* @__PURE__ */ succeed$2(Generator)({
66396
66571
  });
66397
66572
 
66398
66573
  //#endregion
66399
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpPlatform.js
66574
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpPlatform.js
66400
66575
  /**
66401
66576
  * @since 4.0.0
66402
66577
  */
@@ -66463,7 +66638,7 @@ const layer$14 = /* @__PURE__ */ effect$1(HttpPlatform)(flatMap$2(FileSystem.asE
66463
66638
  }))).pipe(/* @__PURE__ */ provide$3(layerWeak));
66464
66639
 
66465
66640
  //#endregion
66466
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpServer.js
66641
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpServer.js
66467
66642
  /**
66468
66643
  * @since 4.0.0
66469
66644
  */
@@ -66526,7 +66701,7 @@ const makeTestClient = /* @__PURE__ */ gen(function* () {
66526
66701
  const layerTestClient = /* @__PURE__ */ effect$1(HttpClient)(makeTestClient);
66527
66702
 
66528
66703
  //#endregion
66529
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/HttpRouter.js
66704
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/HttpRouter.js
66530
66705
  /**
66531
66706
  * @since 4.0.0
66532
66707
  */
@@ -70393,7 +70568,7 @@ var import_websocket = /* @__PURE__ */ __toESM(require_websocket(), 1);
70393
70568
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
70394
70569
 
70395
70570
  //#endregion
70396
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
70571
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
70397
70572
  /**
70398
70573
  * @since 1.0.0
70399
70574
  */
@@ -70743,7 +70918,7 @@ const makeFileSystem = /* @__PURE__ */ map$8(/* @__PURE__ */ serviceOption(Watch
70743
70918
  const layer$12 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
70744
70919
 
70745
70920
  //#endregion
70746
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeFileSystem.js
70921
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeFileSystem.js
70747
70922
  /**
70748
70923
  * @since 1.0.0
70749
70924
  */
@@ -70754,7 +70929,7 @@ const layer$12 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
70754
70929
  const layer$11 = layer$12;
70755
70930
 
70756
70931
  //#endregion
70757
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
70932
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
70758
70933
  /**
70759
70934
  * @since 1.0.0
70760
70935
  */
@@ -70825,7 +71000,7 @@ var NodeHttpIncomingMessage = class extends Class$3 {
70825
71000
  };
70826
71001
 
70827
71002
  //#endregion
70828
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/http/FetchHttpClient.js
71003
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/http/FetchHttpClient.js
70829
71004
  /**
70830
71005
  * @since 4.0.0
70831
71006
  */
@@ -70872,7 +71047,7 @@ const fetch$1 = /* @__PURE__ */ make$19((request, url, signal, fiber) => {
70872
71047
  const layer$10 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$1(fetch$1));
70873
71048
 
70874
71049
  //#endregion
70875
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
71050
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
70876
71051
  /**
70877
71052
  * @since 1.0.0
70878
71053
  */
@@ -70996,7 +71171,7 @@ var FileStream = class extends Readable {
70996
71171
  };
70997
71172
 
70998
71173
  //#endregion
70999
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeMultipart.js
71174
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeMultipart.js
71000
71175
  /**
71001
71176
  * @since 1.0.0
71002
71177
  */
@@ -71092,7 +71267,7 @@ function convertError(cause) {
71092
71267
  }
71093
71268
 
71094
71269
  //#endregion
71095
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodePath.js
71270
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodePath.js
71096
71271
  /**
71097
71272
  * @since 1.0.0
71098
71273
  */
@@ -71144,7 +71319,7 @@ const layer$8 = /* @__PURE__ */ succeed$2(Path$1)({
71144
71319
  });
71145
71320
 
71146
71321
  //#endregion
71147
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodePath.js
71322
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodePath.js
71148
71323
  /**
71149
71324
  * @since 1.0.0
71150
71325
  */
@@ -71165,7 +71340,7 @@ const layerPosix = layerPosix$1;
71165
71340
  const layerWin32 = layerWin32$1;
71166
71341
 
71167
71342
  //#endregion
71168
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
71343
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
71169
71344
  /**
71170
71345
  * @since 1.0.0
71171
71346
  */
@@ -71205,7 +71380,7 @@ const layer$6 = /* @__PURE__ */ succeed$2(Stdio, /* @__PURE__ */ make$25({
71205
71380
  }));
71206
71381
 
71207
71382
  //#endregion
71208
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeStdio.js
71383
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeStdio.js
71209
71384
  /**
71210
71385
  * @since 1.0.0
71211
71386
  */
@@ -71216,7 +71391,7 @@ const layer$6 = /* @__PURE__ */ succeed$2(Stdio, /* @__PURE__ */ make$25({
71216
71391
  const layer$5 = layer$6;
71217
71392
 
71218
71393
  //#endregion
71219
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
71394
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
71220
71395
  /**
71221
71396
  * @since 1.0.0
71222
71397
  * @category constructors
@@ -71287,7 +71462,7 @@ function defaultShouldQuit(input) {
71287
71462
  }
71288
71463
 
71289
71464
  //#endregion
71290
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeTerminal.js
71465
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeTerminal.js
71291
71466
  /**
71292
71467
  * @since 1.0.0
71293
71468
  */
@@ -71303,7 +71478,7 @@ const make$4 = make$5;
71303
71478
  const layer$3 = layer$4;
71304
71479
 
71305
71480
  //#endregion
71306
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeServices.js
71481
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeServices.js
71307
71482
  /**
71308
71483
  * @since 1.0.0
71309
71484
  * @category layer
@@ -71311,7 +71486,7 @@ const layer$3 = layer$4;
71311
71486
  const layer$2 = /* @__PURE__ */ provideMerge(layer$16, /* @__PURE__ */ mergeAll(layer$11, layer$7, layer$5, layer$3));
71312
71487
 
71313
71488
  //#endregion
71314
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpServer.js
71489
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpServer.js
71315
71490
  /**
71316
71491
  * @since 1.0.0
71317
71492
  */
@@ -71598,7 +71773,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
71598
71773
  });
71599
71774
 
71600
71775
  //#endregion
71601
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.7_effect@4.0.0-beta.7/node_modules/@effect/platform-node-shared/dist/NodeRuntime.js
71776
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.10_effect@4.0.0-beta.10/node_modules/@effect/platform-node-shared/dist/NodeRuntime.js
71602
71777
  /**
71603
71778
  * @since 1.0.0
71604
71779
  * @category Run main
@@ -71625,7 +71800,7 @@ const runMain$1 = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
71625
71800
  });
71626
71801
 
71627
71802
  //#endregion
71628
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.7_effect@4.0.0-beta.7_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeRuntime.js
71803
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.10_effect@4.0.0-beta.10_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeRuntime.js
71629
71804
  /**
71630
71805
  * @since 1.0.0
71631
71806
  */
@@ -71659,7 +71834,7 @@ const runMain$1 = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
71659
71834
  const runMain = runMain$1;
71660
71835
 
71661
71836
  //#endregion
71662
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/persistence/PersistedCache.js
71837
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/persistence/PersistedCache.js
71663
71838
  /**
71664
71839
  * @since 4.0.0
71665
71840
  */
@@ -72020,7 +72195,7 @@ const CliAgentFromId = Literals(allCliAgents.map((agent) => agent.id)).pipe(deco
72020
72195
  })));
72021
72196
 
72022
72197
  //#endregion
72023
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/reactivity/AsyncResult.js
72198
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/reactivity/AsyncResult.js
72024
72199
  /**
72025
72200
  * @since 4.0.0
72026
72201
  */
@@ -72183,7 +72358,7 @@ const toExit = (self) => {
72183
72358
  };
72184
72359
 
72185
72360
  //#endregion
72186
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
72361
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
72187
72362
  /**
72188
72363
  * @since 4.0.0
72189
72364
  */
@@ -72771,7 +72946,7 @@ function batchRebuildNode(node) {
72771
72946
  }
72772
72947
 
72773
72948
  //#endregion
72774
- //#region node_modules/.pnpm/effect@4.0.0-beta.7/node_modules/effect/dist/unstable/reactivity/Atom.js
72949
+ //#region node_modules/.pnpm/effect@4.0.0-beta.10/node_modules/effect/dist/unstable/reactivity/Atom.js
72775
72950
  /**
72776
72951
  * @since 4.0.0
72777
72952
  */
@@ -157153,12 +157328,11 @@ var ReviewComment = class extends Class$1("ReviewComment")({
157153
157328
  var NodeComments = class extends Class$1("NodeComments")({ nodes: Array$1(ReviewComment) }) {};
157154
157329
  var ReviewThreadsNode = class extends Class$1("ReviewThreadsNode")({
157155
157330
  isCollapsed: Boolean$2,
157156
- isOutdated: Boolean$2,
157157
157331
  isResolved: Boolean$2,
157158
157332
  comments: NodeComments
157159
157333
  }) {
157160
157334
  commentNodes = this.comments.nodes;
157161
- shouldDisplayThread = !this.isCollapsed && !this.isOutdated;
157335
+ shouldDisplayThread = !this.isCollapsed && !this.isResolved;
157162
157336
  };
157163
157337
  var ReviewThreads = class extends Class$1("ReviewThreads")({ nodes: Array$1(ReviewThreadsNode) }) {};
157164
157338
 
@@ -157262,7 +157436,6 @@ query FetchPRComments($owner: String!, $repo: String!, $pr: Int!) {
157262
157436
  reviewThreads(first: 100) {
157263
157437
  nodes {
157264
157438
  isCollapsed
157265
- isOutdated
157266
157439
  isResolved
157267
157440
  comments(first: 100) {
157268
157441
  nodes {
@@ -159099,7 +159272,7 @@ const commandSource = make$34("source").pipe(withDescription("Select the issue s
159099
159272
 
159100
159273
  //#endregion
159101
159274
  //#region package.json
159102
- var version = "0.3.29";
159275
+ var version = "0.3.30";
159103
159276
 
159104
159277
  //#endregion
159105
159278
  //#region src/commands/projects/ls.ts