lalph 0.3.81 → 0.3.83

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.
Files changed (3) hide show
  1. package/dist/cli.mjs +667 -326
  2. package/package.json +3 -3
  3. package/src/Clanka.ts +1 -1
package/dist/cli.mjs CHANGED
@@ -65,7 +65,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
65
65
  }) : target, mod));
66
66
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
67
67
  //#endregion
68
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Pipeable.js
68
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Pipeable.js
69
69
  /**
70
70
  * @since 2.0.0
71
71
  */
@@ -124,7 +124,7 @@ const Class$6 = /* @__PURE__ */ function() {
124
124
  return PipeableBase;
125
125
  }();
126
126
  //#endregion
127
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Function.js
127
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Function.js
128
128
  /**
129
129
  * Creates a function that can be used in a data-last (aka `pipe`able) or
130
130
  * data-first style.
@@ -407,7 +407,7 @@ function memoize(f) {
407
407
  };
408
408
  }
409
409
  //#endregion
410
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/equal.js
410
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/equal.js
411
411
  /** @internal */
412
412
  const getAllObjectKeys = (obj) => {
413
413
  const keys = new Set(Reflect.ownKeys(obj));
@@ -426,7 +426,7 @@ const getAllObjectKeys = (obj) => {
426
426
  /** @internal */
427
427
  const byReferenceInstances = /* @__PURE__ */ new WeakSet();
428
428
  //#endregion
429
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Predicate.js
429
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Predicate.js
430
430
  /**
431
431
  * Predicate and Refinement helpers for runtime checks, filtering, and type narrowing.
432
432
  * This module provides small, pure functions you can combine to decide whether a
@@ -1075,7 +1075,7 @@ function isIterable(input) {
1075
1075
  */
1076
1076
  const or$1 = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
1077
1077
  //#endregion
1078
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Hash.js
1078
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Hash.js
1079
1079
  /**
1080
1080
  * This module provides utilities for hashing values in TypeScript.
1081
1081
  *
@@ -1424,7 +1424,7 @@ function withVisitedTracking$1(obj, fn) {
1424
1424
  return result;
1425
1425
  }
1426
1426
  //#endregion
1427
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Equal.js
1427
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Equal.js
1428
1428
  /**
1429
1429
  * The unique string identifier for the {@link Equal} interface.
1430
1430
  *
@@ -1694,7 +1694,7 @@ const byReferenceUnsafe = (obj) => {
1694
1694
  return obj;
1695
1695
  };
1696
1696
  //#endregion
1697
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Redactable.js
1697
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Redactable.js
1698
1698
  /**
1699
1699
  * @since 4.0.0
1700
1700
  */
@@ -1788,7 +1788,7 @@ const emptyServiceMap$1 = {
1788
1788
  }
1789
1789
  };
1790
1790
  //#endregion
1791
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Formatter.js
1791
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Formatter.js
1792
1792
  /**
1793
1793
  * Utilities for converting arbitrary JavaScript values into human-readable
1794
1794
  * strings, with support for circular references, redaction, and common JS
@@ -2130,7 +2130,7 @@ function formatJson$1(input, options) {
2130
2130
  return out;
2131
2131
  }
2132
2132
  //#endregion
2133
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Inspectable.js
2133
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Inspectable.js
2134
2134
  /**
2135
2135
  * This module provides utilities for making values inspectable and debuggable in TypeScript.
2136
2136
  *
@@ -2333,7 +2333,7 @@ var Class$5 = class {
2333
2333
  }
2334
2334
  };
2335
2335
  //#endregion
2336
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Utils.js
2336
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Utils.js
2337
2337
  /**
2338
2338
  * An `IterableIterator` that yields its wrapped value exactly once.
2339
2339
  *
@@ -2411,7 +2411,7 @@ const forced = { [InternalTypeId]: (body) => {
2411
2411
  /** @internal */
2412
2412
  const internalCall = /* @__PURE__ */ standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
2413
2413
  //#endregion
2414
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/core.js
2414
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/core.js
2415
2415
  /** @internal */
2416
2416
  const EffectTypeId$1 = `~effect/Effect`;
2417
2417
  /** @internal */
@@ -2810,7 +2810,7 @@ const done$2 = (value) => {
2810
2810
  return exitFail(Done$1(value));
2811
2811
  };
2812
2812
  //#endregion
2813
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Data.js
2813
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Data.js
2814
2814
  /**
2815
2815
  * Base class for immutable data types.
2816
2816
  *
@@ -3043,7 +3043,7 @@ const Error$3 = Error$4;
3043
3043
  */
3044
3044
  const TaggedError = TaggedError$1;
3045
3045
  //#endregion
3046
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Equivalence.js
3046
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Equivalence.js
3047
3047
  /**
3048
3048
  * Creates a custom equivalence relation with an optimized reference equality check.
3049
3049
  *
@@ -3265,7 +3265,7 @@ function Array$4(item) {
3265
3265
  });
3266
3266
  }
3267
3267
  //#endregion
3268
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/option.js
3268
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/option.js
3269
3269
  /**
3270
3270
  * @since 2.0.0
3271
3271
  */
@@ -3340,7 +3340,7 @@ const some$3 = (value) => {
3340
3340
  return a;
3341
3341
  };
3342
3342
  //#endregion
3343
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/result.js
3343
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/result.js
3344
3344
  const TypeId$77 = "~effect/data/Result";
3345
3345
  const CommonProto = {
3346
3346
  [TypeId$77]: {
@@ -3415,7 +3415,7 @@ const succeed$9 = (success) => {
3415
3415
  return a;
3416
3416
  };
3417
3417
  //#endregion
3418
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Order.js
3418
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Order.js
3419
3419
  /**
3420
3420
  * This module provides the `Order` type class for defining total orderings on types.
3421
3421
  * An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
@@ -3753,7 +3753,7 @@ const isGreaterThanOrEqualTo$3 = (O) => dual(2, (self, that) => O(self, that) !=
3753
3753
  */
3754
3754
  const min$3 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
3755
3755
  //#endregion
3756
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Option.js
3756
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Option.js
3757
3757
  /**
3758
3758
  * Creates an `Option` representing the absence of a value.
3759
3759
  *
@@ -4611,7 +4611,7 @@ const makeEquivalence$6 = (isEquivalent) => make$90((x, y) => isNone(x) ? isNone
4611
4611
  */
4612
4612
  const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
4613
4613
  //#endregion
4614
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Duration.js
4614
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Duration.js
4615
4615
  const TypeId$76 = "~effect/time/Duration";
4616
4616
  const bigint0$2 = /* @__PURE__ */ BigInt(0);
4617
4617
  const bigint24 = /* @__PURE__ */ BigInt(24);
@@ -5332,14 +5332,14 @@ const format$3 = (self) => {
5332
5332
  return pieces.join(" ");
5333
5333
  };
5334
5334
  //#endregion
5335
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/array.js
5335
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/array.js
5336
5336
  /**
5337
5337
  * @since 2.0.0
5338
5338
  */
5339
5339
  /** @internal */
5340
5340
  const isArrayNonEmpty$1 = (self) => self.length > 0;
5341
5341
  //#endregion
5342
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Result.js
5342
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Result.js
5343
5343
  /**
5344
5344
  * Creates a `Result` holding a `Success` value.
5345
5345
  *
@@ -5549,7 +5549,7 @@ const map$15 = /* @__PURE__ */ dual(2, (self, f) => isSuccess$5(self) ? succeed$
5549
5549
  */
5550
5550
  const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure) => isFailure$4(self) ? onFailure(self.failure) : self.success))(constUndefined);
5551
5551
  //#endregion
5552
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Tuple.js
5552
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Tuple.js
5553
5553
  /**
5554
5554
  * Creates an `Equivalence` for tuples by comparing corresponding elements
5555
5555
  * using the provided per-position `Equivalence`s. Two tuples are equivalent
@@ -5580,7 +5580,7 @@ const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailu
5580
5580
  */
5581
5581
  const makeEquivalence$5 = Tuple$2;
5582
5582
  //#endregion
5583
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Iterable.js
5583
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Iterable.js
5584
5584
  /**
5585
5585
  * Return the number of elements in a `Iterable`.
5586
5586
  *
@@ -5732,7 +5732,7 @@ const constEmptyIterator = { next() {
5732
5732
  */
5733
5733
  const empty$19 = () => constEmpty;
5734
5734
  //#endregion
5735
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Record.js
5735
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Record.js
5736
5736
  /**
5737
5737
  * Creates a new, empty record.
5738
5738
  *
@@ -5896,7 +5896,7 @@ const makeEquivalence$4 = (equivalence) => {
5896
5896
  return (self, that) => is(self, that) && is(that, self);
5897
5897
  };
5898
5898
  //#endregion
5899
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Array.js
5899
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Array.js
5900
5900
  /**
5901
5901
  * Utilities for working with immutable arrays (and non-empty arrays) in a
5902
5902
  * functional style. All functions treat arrays as immutable — they return new
@@ -6730,7 +6730,7 @@ const composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
6730
6730
  return rightOut;
6731
6731
  });
6732
6732
  //#endregion
6733
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/ServiceMap.js
6733
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/ServiceMap.js
6734
6734
  const ServiceTypeId = "~effect/ServiceMap/Service";
6735
6735
  /**
6736
6736
  * @example
@@ -7260,7 +7260,7 @@ const withMapUnsafe = (self, f) => {
7260
7260
  */
7261
7261
  const Reference = Service$1;
7262
7262
  //#endregion
7263
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Scheduler.js
7263
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Scheduler.js
7264
7264
  /**
7265
7265
  * @since 4.0.0
7266
7266
  * @category references
@@ -7394,7 +7394,7 @@ const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBefo
7394
7394
  */
7395
7395
  const PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
7396
7396
  //#endregion
7397
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Tracer.js
7397
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Tracer.js
7398
7398
  /**
7399
7399
  * @since 2.0.0
7400
7400
  * @category tags
@@ -7578,7 +7578,7 @@ const randomHexString = /* @__PURE__ */ function() {
7578
7578
  };
7579
7579
  }();
7580
7580
  //#endregion
7581
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/References.js
7581
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/References.js
7582
7582
  /**
7583
7583
  * This module provides a collection of reference implementations for commonly used
7584
7584
  * Effect runtime configuration values. These references allow you to access and
@@ -8040,11 +8040,11 @@ const MinimumLogLevel = /* @__PURE__ */ Reference("effect/References/MinimumLogL
8040
8040
  */
8041
8041
  const CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
8042
8042
  //#endregion
8043
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/metric.js
8043
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/metric.js
8044
8044
  /** @internal */
8045
8045
  const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
8046
8046
  //#endregion
8047
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/tracer.js
8047
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/tracer.js
8048
8048
  /** @internal */
8049
8049
  const addSpanStackTrace = (options) => {
8050
8050
  if (options?.captureStackTrace === false) return options;
@@ -8074,7 +8074,7 @@ const makeStackCleaner = (line) => (stack) => {
8074
8074
  };
8075
8075
  const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
8076
8076
  //#endregion
8077
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/effect.js
8077
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/effect.js
8078
8078
  /** @internal */
8079
8079
  var Interrupt$1 = class extends ReasonBase {
8080
8080
  fiberId;
@@ -8965,6 +8965,11 @@ const catchCauseFilter$2 = /* @__PURE__ */ dual(3, (self, filter, f) => catchCau
8965
8965
  /** @internal */
8966
8966
  const catch_$3 = /* @__PURE__ */ dual(2, (self, f) => catchCauseFilter$2(self, findError$2, (e) => f(e)));
8967
8967
  /** @internal */
8968
+ const catchNoSuchElement$1 = (self) => matchEffect$2(self, {
8969
+ onFailure: (error) => isNoSuchElementError$1(error) ? succeedNone$1 : fail$9(error),
8970
+ onSuccess: succeedSome$1
8971
+ });
8972
+ /** @internal */
8968
8973
  const catchDefect$1 = /* @__PURE__ */ dual(2, (self, f) => catchCauseFilter$2(self, findDefect$2, f));
8969
8974
  /** @internal */
8970
8975
  const tapCause$2 = /* @__PURE__ */ dual(2, (self, f) => catchCause$3(self, (cause) => andThen$1(internalCall(() => f(cause)), failCause$5(cause))));
@@ -10280,7 +10285,7 @@ const asVoid$1 = exitAsVoid;
10280
10285
  */
10281
10286
  const getSuccess = exitGetSuccess;
10282
10287
  //#endregion
10283
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Deferred.js
10288
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Deferred.js
10284
10289
  const DeferredProto = {
10285
10290
  ["~effect/Deferred"]: {
10286
10291
  _A: identity,
@@ -10765,7 +10770,7 @@ const close = scopeClose;
10765
10770
  */
10766
10771
  const closeUnsafe = scopeCloseUnsafe;
10767
10772
  //#endregion
10768
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Layer.js
10773
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Layer.js
10769
10774
  const TypeId$74 = "~effect/Layer";
10770
10775
  const MemoMapTypeId = "~effect/Layer/MemoMap";
10771
10776
  /**
@@ -11812,7 +11817,7 @@ const makeUnimplemented = (error) => {
11812
11817
  const StreamTypeId$1 = "~effect/Stream";
11813
11818
  const ChannelTypeId = "~effect/Channel";
11814
11819
  //#endregion
11815
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/ExecutionPlan.js
11820
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/ExecutionPlan.js
11816
11821
  /**
11817
11822
  * @since 3.16.0
11818
11823
  * @category Type IDs
@@ -12389,7 +12394,7 @@ const UnknownError$1 = UnknownError$2;
12389
12394
  */
12390
12395
  var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
12391
12396
  //#endregion
12392
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Clock.js
12397
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Clock.js
12393
12398
  /**
12394
12399
  * A reference to the current Clock service in the environment.
12395
12400
  *
@@ -12408,7 +12413,7 @@ var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
12408
12413
  */
12409
12414
  const Clock = ClockRef;
12410
12415
  //#endregion
12411
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/dateTime.js
12416
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/dateTime.js
12412
12417
  /** @internal */
12413
12418
  const TypeId$71 = "~effect/time/DateTime";
12414
12419
  /** @internal */
@@ -12691,7 +12696,7 @@ const formatIsoOffset$1 = (self) => {
12691
12696
  /** @internal */
12692
12697
  const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
12693
12698
  //#endregion
12694
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Number.js
12699
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Number.js
12695
12700
  /**
12696
12701
  * This module provides utility functions and type class instances for working with the `number` type in TypeScript.
12697
12702
  * It includes functions for basic arithmetic operations.
@@ -12860,7 +12865,7 @@ const isNonEmpty$1 = (self) => self.length > 0;
12860
12865
  */
12861
12866
  const camelToSnake = (self) => self.replace(/([A-Z])/g, "_$1").toLowerCase();
12862
12867
  //#endregion
12863
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/random.js
12868
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/random.js
12864
12869
  /** @internal */
12865
12870
  const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () => ({
12866
12871
  nextIntUnsafe() {
@@ -12871,7 +12876,7 @@ const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () =
12871
12876
  }
12872
12877
  }) });
12873
12878
  //#endregion
12874
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Pull.js
12879
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Pull.js
12875
12880
  /**
12876
12881
  * @since 4.0.0
12877
12882
  */
@@ -12945,7 +12950,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
12945
12950
  }
12946
12951
  }));
12947
12952
  //#endregion
12948
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Schedule.js
12953
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Schedule.js
12949
12954
  /**
12950
12955
  * This module provides utilities for creating and composing schedules for retrying operations,
12951
12956
  * repeating effects, and implementing various timing strategies.
@@ -13486,12 +13491,12 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$12(toSt
13486
13491
  */
13487
13492
  const forever$1 = /* @__PURE__ */ spaced(zero$1);
13488
13493
  //#endregion
13489
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/layer.js
13494
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/layer.js
13490
13495
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$6(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$3(self, context)));
13491
13496
  /** @internal */
13492
13497
  const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isServiceMap(source) ? provideServices$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll$2(...source) : source, options));
13493
13498
  //#endregion
13494
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/schedule.js
13499
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/schedule.js
13495
13500
  /** @internal */
13496
13501
  const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$6(toStepWithMetadata(schedule), (step) => {
13497
13502
  let meta = CurrentMetadata.defaultValue();
@@ -13536,7 +13541,7 @@ const buildFromOptions = (options) => {
13536
13541
  return schedule;
13537
13542
  };
13538
13543
  //#endregion
13539
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Request.js
13544
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Request.js
13540
13545
  const TypeId$69 = "~effect/Request";
13541
13546
  const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
13542
13547
  _E: (_) => _,
@@ -13603,7 +13608,7 @@ const TaggedClass$1 = (tag) => {
13603
13608
  */
13604
13609
  const makeEntry = (options) => options;
13605
13610
  //#endregion
13606
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/request.js
13611
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/request.js
13607
13612
  /** @internal */
13608
13613
  const request$3 = /* @__PURE__ */ dual(2, (self, resolver) => {
13609
13614
  const withResolver = (resolver) => callback$2((resume) => {
@@ -15261,6 +15266,33 @@ const catchIf$2 = catchIf$3;
15261
15266
  */
15262
15267
  const catchFilter$2 = catchFilter$3;
15263
15268
  /**
15269
+ * Catches `NoSuchElementError` failures and converts them to `Option.none`.
15270
+ *
15271
+ * Success values become `Option.some`, `NoSuchElementError` becomes
15272
+ * `Option.none`, and all other errors are preserved.
15273
+ *
15274
+ * @example
15275
+ * ```ts
15276
+ * import { Effect, Option } from "effect"
15277
+ *
15278
+ * const some = Effect.fromNullishOr(1).pipe(Effect.catchNoSuchElement)
15279
+ * const none = Effect.fromNullishOr(null).pipe(Effect.catchNoSuchElement)
15280
+ *
15281
+ * Effect.runPromise(some).then(console.log) // { _id: 'Option', _tag: 'Some', value: 1 }
15282
+ * Effect.runPromise(none).then(console.log) // { _id: 'Option', _tag: 'None' }
15283
+ * ```
15284
+ *
15285
+ * **Previously Known As**
15286
+ *
15287
+ * This API replaces the following from Effect 3.x:
15288
+ *
15289
+ * - `Effect.optionFromOptional`
15290
+ *
15291
+ * @since 2.0.0
15292
+ * @category Error Handling
15293
+ */
15294
+ const catchNoSuchElement = catchNoSuchElement$1;
15295
+ /**
15264
15296
  * The `mapError` function is used to transform or modify the error
15265
15297
  * produced by an effect, without affecting its success value.
15266
15298
  *
@@ -18207,7 +18239,7 @@ const catchEager = catchEager$1;
18207
18239
  */
18208
18240
  const fnUntracedEager = fnUntracedEager$1;
18209
18241
  //#endregion
18210
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/record.js
18242
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/record.js
18211
18243
  /**
18212
18244
  * @since 4.0.0
18213
18245
  */
@@ -18223,7 +18255,7 @@ function set$10(self, key, value) {
18223
18255
  return self;
18224
18256
  }
18225
18257
  //#endregion
18226
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/schema/annotations.js
18258
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/schema/annotations.js
18227
18259
  /** @internal */
18228
18260
  function resolve$5(ast) {
18229
18261
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -18578,7 +18610,7 @@ const subtract = subtract$1;
18578
18610
  */
18579
18611
  const formatIso = formatIso$1;
18580
18612
  //#endregion
18581
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Encoding.js
18613
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Encoding.js
18582
18614
  /**
18583
18615
  * Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
18584
18616
  *
@@ -18964,7 +18996,7 @@ const base64codes = [
18964
18996
  ];
18965
18997
  const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
18966
18998
  //#endregion
18967
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/redacted.js
18999
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/redacted.js
18968
19000
  /** @internal */
18969
19001
  const redactedRegistry = /* @__PURE__ */ new WeakMap();
18970
19002
  /** @internal */
@@ -18975,7 +19007,7 @@ const value$3 = (self) => {
18975
19007
  /** @internal */
18976
19008
  const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
18977
19009
  //#endregion
18978
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Redacted.js
19010
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Redacted.js
18979
19011
  /**
18980
19012
  * The Redacted module provides functionality for handling sensitive information
18981
19013
  * securely within your application. By using the `Redacted` data type, you can
@@ -19081,7 +19113,7 @@ const value$2 = value$3;
19081
19113
  */
19082
19114
  const makeEquivalence$2 = (isEquivalent) => make$90((x, y) => isEquivalent(value$2(x), value$2(y)));
19083
19115
  //#endregion
19084
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SchemaIssue.js
19116
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SchemaIssue.js
19085
19117
  const TypeId$67 = "~effect/SchemaIssue/Issue";
19086
19118
  /**
19087
19119
  * Returns `true` if the given value is an {@link Issue}.
@@ -19824,7 +19856,7 @@ function redact$2(issue) {
19824
19856
  }
19825
19857
  }
19826
19858
  //#endregion
19827
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SchemaGetter.js
19859
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SchemaGetter.js
19828
19860
  /**
19829
19861
  * Composable transformation primitives for the Effect Schema system.
19830
19862
  *
@@ -20799,7 +20831,7 @@ const isZero = (n) => n.value === bigint0;
20799
20831
  */
20800
20832
  const isNegative = (n) => n.value < bigint0;
20801
20833
  //#endregion
20802
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SchemaTransformation.js
20834
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SchemaTransformation.js
20803
20835
  /**
20804
20836
  * Bidirectional transformations for the Effect Schema system.
20805
20837
  *
@@ -21411,7 +21443,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
21411
21443
  encode: (utc) => succeed$3(formatIso(utc))
21412
21444
  });
21413
21445
  //#endregion
21414
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SchemaAST.js
21446
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SchemaAST.js
21415
21447
  /**
21416
21448
  * Abstract Syntax Tree (AST) representation for Effect schemas.
21417
21449
  *
@@ -23435,7 +23467,7 @@ const unknownToStringTree = /* @__PURE__ */ new Link(/* @__PURE__ */ new Declara
23435
23467
  toCodecStringTree: () => new Link(unknown$1, passthrough())
23436
23468
  }), /* @__PURE__ */ passthrough());
23437
23469
  //#endregion
23438
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Brand.js
23470
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Brand.js
23439
23471
  /**
23440
23472
  * This function returns a `Constructor` that **does not apply any runtime
23441
23473
  * checks**, it just returns the provided value. It can be used to create
@@ -23456,7 +23488,7 @@ function nominal() {
23456
23488
  });
23457
23489
  }
23458
23490
  //#endregion
23459
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/PlatformError.js
23491
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/PlatformError.js
23460
23492
  /**
23461
23493
  * @since 4.0.0
23462
23494
  */
@@ -23516,7 +23548,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
23516
23548
  */
23517
23549
  const badArgument = (options) => new PlatformError(new BadArgument(options));
23518
23550
  //#endregion
23519
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Chunk.js
23551
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Chunk.js
23520
23552
  /**
23521
23553
  * The `Chunk` module provides an immutable, high-performance sequence data structure
23522
23554
  * optimized for functional programming patterns. A `Chunk` is a persistent data structure
@@ -24159,7 +24191,7 @@ const getCurrent = getCurrentFiber;
24159
24191
  */
24160
24192
  const runIn = fiberRunIn;
24161
24193
  //#endregion
24162
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Latch.js
24194
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Latch.js
24163
24195
  /**
24164
24196
  * Creates a new Latch unsafely.
24165
24197
  *
@@ -24231,7 +24263,7 @@ const makeUnsafe$10 = makeLatchUnsafe;
24231
24263
  */
24232
24264
  const make$77 = makeLatch;
24233
24265
  //#endregion
24234
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/MutableList.js
24266
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/MutableList.js
24235
24267
  /**
24236
24268
  * @fileoverview
24237
24269
  * MutableList is an efficient, mutable linked list implementation optimized for high-throughput
@@ -24813,7 +24845,7 @@ const filter$4 = (self, f) => {
24813
24845
  */
24814
24846
  const remove$6 = (self, value) => filter$4(self, (v) => v !== value);
24815
24847
  //#endregion
24816
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/MutableRef.js
24848
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/MutableRef.js
24817
24849
  const TypeId$61 = "~effect/MutableRef";
24818
24850
  const MutableRefProto = {
24819
24851
  [TypeId$61]: TypeId$61,
@@ -25053,7 +25085,7 @@ const update = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$14(self)))
25053
25085
  */
25054
25086
  const updateAndGet = /* @__PURE__ */ dual(2, (self, f) => setAndGet(self, f(get$14(self))));
25055
25087
  //#endregion
25056
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/PubSub.js
25088
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/PubSub.js
25057
25089
  /**
25058
25090
  * This module provides utilities for working with publish-subscribe (PubSub) systems.
25059
25091
  *
@@ -26486,7 +26518,7 @@ const emptyReplayWindow = {
26486
26518
  takeAll: () => []
26487
26519
  };
26488
26520
  //#endregion
26489
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Queue.js
26521
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Queue.js
26490
26522
  /**
26491
26523
  * @since 3.8.0
26492
26524
  */
@@ -27305,7 +27337,7 @@ const finalize$1 = (self, exit) => {
27305
27337
  openState.awaiters.clear();
27306
27338
  };
27307
27339
  //#endregion
27308
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Semaphore.js
27340
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Semaphore.js
27309
27341
  /**
27310
27342
  * Unsafely creates a new Semaphore.
27311
27343
  *
@@ -27455,14 +27487,14 @@ var SemaphoreImpl = class {
27455
27487
  */
27456
27488
  const make$72 = (permits) => sync$2(() => new SemaphoreImpl(permits));
27457
27489
  //#endregion
27458
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Take.js
27490
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Take.js
27459
27491
  /**
27460
27492
  * @since 4.0.0
27461
27493
  * @category Conversions
27462
27494
  */
27463
27495
  const toPull$2 = (take) => isExit(take) ? isSuccess$3(take) ? done(take.value) : take : succeed$3(take);
27464
27496
  //#endregion
27465
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Channel.js
27497
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Channel.js
27466
27498
  /**
27467
27499
  * The `Channel` module provides a powerful abstraction for bi-directional communication
27468
27500
  * and streaming operations. A `Channel` is a nexus of I/O operations that supports both
@@ -29247,7 +29279,7 @@ const toPubSubTake$1 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(functi
29247
29279
  return pubsub;
29248
29280
  }));
29249
29281
  //#endregion
29250
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/stream.js
29282
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/stream.js
29251
29283
  const TypeId$57 = "~effect/Stream";
29252
29284
  const streamVariance = {
29253
29285
  _R: identity,
@@ -29267,7 +29299,7 @@ const fromChannel$2 = (channel) => {
29267
29299
  return self;
29268
29300
  };
29269
29301
  //#endregion
29270
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Sink.js
29302
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Sink.js
29271
29303
  const TypeId$56 = "~effect/Sink";
29272
29304
  const endVoid = /* @__PURE__ */ succeed$3([void 0]);
29273
29305
  const sinkVariance = {
@@ -29444,7 +29476,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$4(
29444
29476
  */
29445
29477
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$9(effect, toChannel$1)));
29446
29478
  //#endregion
29447
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/MutableHashMap.js
29479
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/MutableHashMap.js
29448
29480
  const TypeId$55 = "~effect/collections/MutableHashMap";
29449
29481
  const MutableHashMapProto = {
29450
29482
  [TypeId$55]: TypeId$55,
@@ -29820,7 +29852,7 @@ const forEach$2 = /* @__PURE__ */ dual(2, (self, f) => {
29820
29852
  self.backing.forEach(f);
29821
29853
  });
29822
29854
  //#endregion
29823
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/RcMap.js
29855
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/RcMap.js
29824
29856
  /**
29825
29857
  * @since 3.5.0
29826
29858
  */
@@ -30018,7 +30050,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
30018
30050
  yield* close(entry.scope, void_$3);
30019
30051
  }, uninterruptible));
30020
30052
  //#endregion
30021
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/rcRef.js
30053
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/rcRef.js
30022
30054
  const TypeId$53 = "~effect/RcRef";
30023
30055
  const stateEmpty = { _tag: "Empty" };
30024
30056
  const stateClosed = { _tag: "Closed" };
@@ -30106,7 +30138,7 @@ const get$11 = /* @__PURE__ */ fnUntraced(function* (self_) {
30106
30138
  return state.value;
30107
30139
  });
30108
30140
  //#endregion
30109
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/RcRef.js
30141
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/RcRef.js
30110
30142
  /**
30111
30143
  * Create an `RcRef` from an acquire `Effect`.
30112
30144
  *
@@ -30175,7 +30207,7 @@ const make$68 = make$69;
30175
30207
  */
30176
30208
  const get$10 = get$11;
30177
30209
  //#endregion
30178
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Stream.js
30210
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Stream.js
30179
30211
  /**
30180
30212
  * @since 2.0.0
30181
30213
  */
@@ -32261,7 +32293,7 @@ const runIntoPubSub = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, p
32261
32293
  */
32262
32294
  const toPubSubTake = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake$1(self.channel, options));
32263
32295
  //#endregion
32264
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/FileSystem.js
32296
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/FileSystem.js
32265
32297
  /**
32266
32298
  * This module provides a comprehensive file system abstraction that supports both synchronous
32267
32299
  * and asynchronous file operations through Effect. It includes utilities for file I/O, directory
@@ -32485,7 +32517,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
32485
32517
  */
32486
32518
  var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
32487
32519
  //#endregion
32488
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Path.js
32520
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Path.js
32489
32521
  /**
32490
32522
  * @since 4.0.0
32491
32523
  */
@@ -32909,7 +32941,7 @@ const posixImpl = /* @__PURE__ */ Path$1.of({
32909
32941
  toNamespacedPath: identity
32910
32942
  });
32911
32943
  //#endregion
32912
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/ConfigProvider.js
32944
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/ConfigProvider.js
32913
32945
  /**
32914
32946
  * Creates a `Value` node representing a terminal string leaf.
32915
32947
  *
@@ -33215,7 +33247,7 @@ function trieNodeAt(root, path) {
33215
33247
  */
33216
33248
  const isLessThan$1 = /* @__PURE__ */ isLessThan$4(LogLevelOrder);
33217
33249
  //#endregion
33218
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/hashMap.js
33250
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/hashMap.js
33219
33251
  /**
33220
33252
  * @since 2.0.0
33221
33253
  */
@@ -33799,7 +33831,7 @@ const set$6 = set$7;
33799
33831
  */
33800
33832
  const remove$3 = remove$4;
33801
33833
  //#endregion
33802
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Struct.js
33834
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Struct.js
33803
33835
  /**
33804
33836
  * Creates a new struct containing only the specified keys.
33805
33837
  *
@@ -33937,7 +33969,7 @@ function buildStruct(source, f) {
33937
33969
  return out;
33938
33970
  }
33939
33971
  //#endregion
33940
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/UndefinedOr.js
33972
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/UndefinedOr.js
33941
33973
  /**
33942
33974
  * @since 4.0.0
33943
33975
  */
@@ -33947,7 +33979,7 @@ const map$4 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(
33947
33979
  */
33948
33980
  const match$1 = /* @__PURE__ */ dual(2, (self, { onDefined, onUndefined }) => self === void 0 ? onUndefined() : onDefined(self));
33949
33981
  //#endregion
33950
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SchemaParser.js
33982
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SchemaParser.js
33951
33983
  /**
33952
33984
  * @since 4.0.0
33953
33985
  */
@@ -34149,7 +34181,7 @@ const recur$1 = /* @__PURE__ */ memoize((ast) => {
34149
34181
  };
34150
34182
  });
34151
34183
  //#endregion
34152
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/JsonPointer.js
34184
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/JsonPointer.js
34153
34185
  /**
34154
34186
  * Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
34155
34187
  *
@@ -34242,7 +34274,7 @@ function escapeToken(token) {
34242
34274
  return token.replace(/~/g, "~0").replace(/\//g, "~1");
34243
34275
  }
34244
34276
  //#endregion
34245
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/schema/schema.js
34277
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/schema/schema.js
34246
34278
  /** @internal */
34247
34279
  const TypeId$49 = "~effect/Schema/Schema";
34248
34280
  const SchemaProto = {
@@ -34271,7 +34303,7 @@ function make$63(ast, options) {
34271
34303
  return self;
34272
34304
  }
34273
34305
  //#endregion
34274
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/schema/to-codec.js
34306
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/schema/to-codec.js
34275
34307
  /** @internal */
34276
34308
  const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
34277
34309
  const out = toCodecJsonBase(ast);
@@ -34339,7 +34371,7 @@ function makeReorder(getPriority) {
34339
34371
  };
34340
34372
  }
34341
34373
  //#endregion
34342
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/internal/schema/representation.js
34374
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/internal/schema/representation.js
34343
34375
  /** @internal */
34344
34376
  function fromAST(ast) {
34345
34377
  const { references, representations: schemas } = fromASTs([ast]);
@@ -34895,7 +34927,7 @@ function getPartPattern(part) {
34895
34927
  }
34896
34928
  }
34897
34929
  //#endregion
34898
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Schema.js
34930
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Schema.js
34899
34931
  /**
34900
34932
  * Define data shapes, validate unknown input, and transform values between formats.
34901
34933
  *
@@ -37580,7 +37612,7 @@ const Json = /* @__PURE__ */ make$62(Json$1);
37580
37612
  */
37581
37613
  const MutableJson = /* @__PURE__ */ make$62(MutableJson$1);
37582
37614
  //#endregion
37583
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Config.js
37615
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Config.js
37584
37616
  const TypeId$47 = "~effect/Config";
37585
37617
  /**
37586
37618
  * The error type produced when config loading or validation fails.
@@ -38067,7 +38099,7 @@ function redacted(name) {
38067
38099
  return schema$2(Redacted(String$1), name);
38068
38100
  }
38069
38101
  //#endregion
38070
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Runtime.js
38102
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Runtime.js
38071
38103
  /**
38072
38104
  * This module provides utilities for running Effect programs and managing their execution lifecycle.
38073
38105
  *
@@ -38273,7 +38305,7 @@ const getErrorReported = (u) => {
38273
38305
  return true;
38274
38306
  };
38275
38307
  //#endregion
38276
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/CliError.js
38308
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/CliError.js
38277
38309
  /**
38278
38310
  * @since 4.0.0
38279
38311
  */
@@ -49363,7 +49395,7 @@ const getTypeName = (primitive) => {
49363
49395
  /** @internal */
49364
49396
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
49365
49397
  //#endregion
49366
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Terminal.js
49398
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Terminal.js
49367
49399
  const TypeId$45 = "~effect/platform/Terminal";
49368
49400
  const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
49369
49401
  /**
@@ -49400,7 +49432,7 @@ const make$60 = (impl) => Terminal.of({
49400
49432
  [TypeId$45]: TypeId$45
49401
49433
  });
49402
49434
  //#endregion
49403
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/ansi.js
49435
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/ansi.js
49404
49436
  const ESC = "\x1B[";
49405
49437
  const SEP = ";";
49406
49438
  /** @internal */
@@ -49476,7 +49508,7 @@ const eraseLines = (rows) => {
49476
49508
  return command;
49477
49509
  };
49478
49510
  //#endregion
49479
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Prompt.js
49511
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Prompt.js
49480
49512
  /**
49481
49513
  * @since 4.0.0
49482
49514
  */
@@ -50476,7 +50508,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
50476
50508
  };
50477
50509
  };
50478
50510
  //#endregion
50479
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Param.js
50511
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Param.js
50480
50512
  /**
50481
50513
  * @internal
50482
50514
  *
@@ -51166,7 +51198,7 @@ const getParamMetadata = (param) => {
51166
51198
  });
51167
51199
  };
51168
51200
  //#endregion
51169
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Argument.js
51201
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Argument.js
51170
51202
  /**
51171
51203
  * Creates a positional path argument.
51172
51204
  *
@@ -51198,7 +51230,7 @@ const path = (name, options) => path$1(argumentKind, name, options);
51198
51230
  */
51199
51231
  const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDescription$3(self, description));
51200
51232
  //#endregion
51201
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/CliOutput.js
51233
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/CliOutput.js
51202
51234
  /**
51203
51235
  * Service reference for the CLI output formatter. Provides a default implementation
51204
51236
  * that can be overridden for custom formatting or testing.
@@ -51441,7 +51473,7 @@ const formatHelpDocImpl = (doc, colors) => {
51441
51473
  return sections.join("\n");
51442
51474
  };
51443
51475
  //#endregion
51444
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Console.js
51476
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Console.js
51445
51477
  /**
51446
51478
  * A reference to the current console service in the Effect system.
51447
51479
  *
@@ -51557,7 +51589,7 @@ const warn = (...args) => consoleWith((console) => sync$2(() => {
51557
51589
  console.warn(...args);
51558
51590
  }));
51559
51591
  //#endregion
51560
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Stdio.js
51592
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Stdio.js
51561
51593
  /**
51562
51594
  * @since 4.0.0
51563
51595
  * @category Type IDs
@@ -51577,7 +51609,7 @@ const make$59 = (options) => ({
51577
51609
  ...options
51578
51610
  });
51579
51611
  //#endregion
51580
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51612
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
51581
51613
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
51582
51614
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
51583
51615
  const flagNamesForWordlist = (flag) => {
@@ -51728,7 +51760,7 @@ const generate$3 = (executableName, descriptor) => {
51728
51760
  return lines.join("\n");
51729
51761
  };
51730
51762
  //#endregion
51731
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
51763
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
51732
51764
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
51733
51765
  /**
51734
51766
  * Build a Fish condition that checks the current subcommand context.
@@ -51866,7 +51898,7 @@ const generate$2 = (executableName, descriptor) => {
51866
51898
  return lines.join("\n");
51867
51899
  };
51868
51900
  //#endregion
51869
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
51901
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
51870
51902
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
51871
51903
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
51872
51904
  /**
@@ -52003,7 +52035,7 @@ const generate$1 = (executableName, descriptor) => {
52003
52035
  return lines.join("\n");
52004
52036
  };
52005
52037
  //#endregion
52006
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Completions.js
52038
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Completions.js
52007
52039
  /**
52008
52040
  * @since 4.0.0
52009
52041
  */
@@ -52021,7 +52053,7 @@ const generate = (executableName, shell, descriptor) => {
52021
52053
  }
52022
52054
  };
52023
52055
  //#endregion
52024
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Flag.js
52056
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Flag.js
52025
52057
  /**
52026
52058
  * Creates a boolean flag that can be enabled or disabled.
52027
52059
  *
@@ -52254,7 +52286,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
52254
52286
  */
52255
52287
  const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
52256
52288
  //#endregion
52257
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/config.js
52289
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/config.js
52258
52290
  const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
52259
52291
  /**
52260
52292
  * Parses a Command.Config into a ConfigInternal.
@@ -52360,7 +52392,7 @@ const reconstructTree = (tree, results) => {
52360
52392
  }
52361
52393
  };
52362
52394
  //#endregion
52363
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/command.js
52395
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/command.js
52364
52396
  /**
52365
52397
  * Command Implementation
52366
52398
  * ======================
@@ -52532,7 +52564,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
52532
52564
  }
52533
52565
  };
52534
52566
  //#endregion
52535
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52567
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
52536
52568
  /**
52537
52569
  * CommandDescriptor — pure-data representation of a command tree for
52538
52570
  * shell completion generation.
@@ -52620,7 +52652,7 @@ const fromCommand = (cmd) => {
52620
52652
  };
52621
52653
  };
52622
52654
  //#endregion
52623
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/help.js
52655
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/help.js
52624
52656
  /**
52625
52657
  * Help Documentation
52626
52658
  * ================
@@ -52723,7 +52755,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
52723
52755
  };
52724
52756
  });
52725
52757
  //#endregion
52726
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/GlobalFlag.js
52758
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/GlobalFlag.js
52727
52759
  /**
52728
52760
  * @since 4.0.0
52729
52761
  */
@@ -52833,7 +52865,7 @@ const BuiltIns = [
52833
52865
  LogLevel
52834
52866
  ];
52835
52867
  //#endregion
52836
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/lexer.js
52868
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/lexer.js
52837
52869
  /** @internal */
52838
52870
  function lex(argv) {
52839
52871
  const endIndex = argv.indexOf("--");
@@ -52884,7 +52916,7 @@ const lexTokens = (args) => {
52884
52916
  return tokens;
52885
52917
  };
52886
52918
  //#endregion
52887
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
52919
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
52888
52920
  /**
52889
52921
  * Simple Levenshtein distance implementation (small N, no perf worries)
52890
52922
  */
@@ -52912,7 +52944,7 @@ const suggest = (input, candidates) => {
52912
52944
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
52913
52945
  };
52914
52946
  //#endregion
52915
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/internal/parser.js
52947
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/internal/parser.js
52916
52948
  /**
52917
52949
  * Parsing Pipeline for CLI Commands
52918
52950
  * ==================================
@@ -53234,7 +53266,7 @@ const scanCommandLevel = (tokens, context) => {
53234
53266
  return toLeafResult(state);
53235
53267
  };
53236
53268
  //#endregion
53237
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/cli/Command.js
53269
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/cli/Command.js
53238
53270
  /**
53239
53271
  * @since 4.0.0
53240
53272
  * @category Guards
@@ -53732,7 +53764,7 @@ const runWith = (command, config) => {
53732
53764
  }, catchFilter$2((error) => isCliError(error) && error._tag === "ShowHelp" ? succeed$8(error) : fail$10(error), (error) => andThen(showHelp(command, error), fail$6(error))), catchFilter$2((e) => isQuitError(e) ? succeed$8(e) : fail$10(e), (_) => interrupt$1));
53733
53765
  };
53734
53766
  //#endregion
53735
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Cache.js
53767
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Cache.js
53736
53768
  /**
53737
53769
  * @since 4.0.0
53738
53770
  */
@@ -54149,7 +54181,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$2(() => {
54149
54181
  remove$5(self.map, key);
54150
54182
  }));
54151
54183
  //#endregion
54152
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/ChannelSchema.js
54184
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/ChannelSchema.js
54153
54185
  /**
54154
54186
  * @since 4.0.0
54155
54187
  * @category constructors
@@ -54178,7 +54210,7 @@ const decode$4 = (schema) => () => {
54178
54210
  */
54179
54211
  const ignore = "~effect/ErrorReporter/ignore";
54180
54212
  //#endregion
54181
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/FiberHandle.js
54213
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/FiberHandle.js
54182
54214
  /**
54183
54215
  * @since 2.0.0
54184
54216
  */
@@ -54373,7 +54405,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
54373
54405
  return succeed$3(fiber);
54374
54406
  });
54375
54407
  //#endregion
54376
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/FiberMap.js
54408
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/FiberMap.js
54377
54409
  /**
54378
54410
  * @since 2.0.0
54379
54411
  */
@@ -54603,7 +54635,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
54603
54635
  return succeed$3(fiber);
54604
54636
  });
54605
54637
  //#endregion
54606
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/FiberSet.js
54638
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/FiberSet.js
54607
54639
  /**
54608
54640
  * @since 2.0.0
54609
54641
  */
@@ -54855,7 +54887,7 @@ const awaitEmpty = (self) => whileLoop({
54855
54887
  step: constVoid
54856
54888
  });
54857
54889
  //#endregion
54858
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/PrimaryKey.js
54890
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/PrimaryKey.js
54859
54891
  /**
54860
54892
  * The unique identifier used to identify objects that implement the `PrimaryKey` interface.
54861
54893
  *
@@ -54892,7 +54924,7 @@ const symbol$2 = "~effect/interfaces/PrimaryKey";
54892
54924
  */
54893
54925
  const value$1 = (self) => self[symbol$2]();
54894
54926
  //#endregion
54895
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/LayerMap.js
54927
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/LayerMap.js
54896
54928
  const TypeId$36 = "~effect/LayerMap";
54897
54929
  /**
54898
54930
  * @since 3.14.0
@@ -55058,7 +55090,7 @@ const Service = () => (id, options) => {
55058
55090
  return TagClass;
55059
55091
  };
55060
55092
  //#endregion
55061
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Logger.js
55093
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Logger.js
55062
55094
  /**
55063
55095
  * @since 2.0.0
55064
55096
  *
@@ -55185,7 +55217,7 @@ const Service = () => (id, options) => {
55185
55217
  */
55186
55218
  const CurrentLoggers = CurrentLoggers$1;
55187
55219
  //#endregion
55188
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Random.js
55220
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Random.js
55189
55221
  /**
55190
55222
  * The Random module provides a service for generating random numbers in Effect
55191
55223
  * programs. It offers a testable and composable way to work with randomness,
@@ -55278,7 +55310,7 @@ const shuffle = (elements) => randomWith((r) => {
55278
55310
  return buffer;
55279
55311
  });
55280
55312
  //#endregion
55281
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Ref.js
55313
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Ref.js
55282
55314
  const RefProto = {
55283
55315
  ["~effect/Ref"]: { _A: identity },
55284
55316
  ...PipeInspectableProto,
@@ -55319,7 +55351,7 @@ const makeUnsafe$3 = (value) => {
55319
55351
  return self;
55320
55352
  };
55321
55353
  //#endregion
55322
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55354
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/reactivity/Reactivity.js
55323
55355
  /**
55324
55356
  * @since 4.0.0
55325
55357
  */
@@ -55454,7 +55486,7 @@ const keysToHashes = (keys, f) => {
55454
55486
  }
55455
55487
  };
55456
55488
  //#endregion
55457
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/Statement.js
55489
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/Statement.js
55458
55490
  /**
55459
55491
  * @since 4.0.0
55460
55492
  */
@@ -56013,7 +56045,7 @@ function in_() {
56013
56045
  }
56014
56046
  const neverFragment = /* @__PURE__ */ fragment([/* @__PURE__ */ literal$1("1=0")]);
56015
56047
  //#endregion
56016
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/SqlClient.js
56048
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/SqlClient.js
56017
56049
  /**
56018
56050
  * @since 4.0.0
56019
56051
  */
@@ -56107,7 +56139,7 @@ var TransactionConnection = class extends Service$1()("effect/sql/SqlClient/Tran
56107
56139
  */
56108
56140
  const SafeIntegers = /* @__PURE__ */ Reference("effect/sql/SqlClient/SafeIntegers", { defaultValue: () => false });
56109
56141
  //#endregion
56110
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
56142
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
56111
56143
  /**
56112
56144
  * @since 4.0.0
56113
56145
  */
@@ -56249,7 +56281,7 @@ const toSchemaStore = (self, schema) => {
56249
56281
  };
56250
56282
  };
56251
56283
  //#endregion
56252
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/persistence/Persistable.js
56284
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/persistence/Persistable.js
56253
56285
  /**
56254
56286
  * @since 4.0.0
56255
56287
  * @category Symbols
@@ -56303,7 +56335,7 @@ const deserializeExit = (self, encoded) => {
56303
56335
  return decodeUnknownEffect(toCodecJson(exitSchema$1(self)))(encoded);
56304
56336
  };
56305
56337
  //#endregion
56306
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/persistence/Persistence.js
56338
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/persistence/Persistence.js
56307
56339
  /**
56308
56340
  * @since 4.0.0
56309
56341
  */
@@ -56479,7 +56511,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$31.pipe(/* @__PURE__ */ provide$3(layer
56479
56511
  */
56480
56512
  const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
56481
56513
  //#endregion
56482
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/RequestResolver.js
56514
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/RequestResolver.js
56483
56515
  const TypeId$33 = "~effect/RequestResolver";
56484
56516
  const RequestResolverProto = {
56485
56517
  [TypeId$33]: {
@@ -56742,7 +56774,7 @@ const withSpan = /* @__PURE__ */ dual((args) => isRequestResolver(args[0]), (sel
56742
56774
  })
56743
56775
  }));
56744
56776
  //#endregion
56745
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SynchronizedRef.js
56777
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SynchronizedRef.js
56746
56778
  const TypeId$32 = "~effect/SynchronizedRef";
56747
56779
  const Proto$15 = {
56748
56780
  ...PipeInspectableProto,
@@ -56765,7 +56797,7 @@ const makeUnsafe$1 = (value) => {
56765
56797
  return self;
56766
56798
  };
56767
56799
  //#endregion
56768
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/ScopedRef.js
56800
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/ScopedRef.js
56769
56801
  /**
56770
56802
  * @since 2.0.0
56771
56803
  */
@@ -56830,7 +56862,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
56830
56862
  self.backing.backing.ref.current = [scope, value];
56831
56863
  }, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
56832
56864
  //#endregion
56833
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/SubscriptionRef.js
56865
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/SubscriptionRef.js
56834
56866
  /**
56835
56867
  * @since 2.0.0
56836
56868
  */
@@ -56917,7 +56949,7 @@ const setUnsafe = (self, value) => {
56917
56949
  */
56918
56950
  const set$3 = /* @__PURE__ */ dual(2, (self, value) => self.semaphore.withPermit(sync(() => setUnsafe(self, value))));
56919
56951
  //#endregion
56920
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/Unify.js
56952
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/Unify.js
56921
56953
  /**
56922
56954
  * @since 2.0.0
56923
56955
  */
@@ -58337,7 +58369,7 @@ var Mime = class {
58337
58369
  };
58338
58370
  _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
58339
58371
  //#endregion
58340
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Mime.js
58372
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/Mime.js
58341
58373
  /**
58342
58374
  * @since 1.0.0
58343
58375
  */
@@ -58347,7 +58379,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
58347
58379
  */
58348
58380
  var Mime_default = new Mime(types$1, types$2)._freeze();
58349
58381
  //#endregion
58350
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58382
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
58351
58383
  /**
58352
58384
  * A module providing a generic service interface for spawning child processes.
58353
58385
  *
@@ -58410,7 +58442,7 @@ const make$46 = (spawn) => {
58410
58442
  */
58411
58443
  var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
58412
58444
  //#endregion
58413
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/process/ChildProcess.js
58445
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/process/ChildProcess.js
58414
58446
  const TypeId$29 = "~effect/unstable/process/ChildProcess";
58415
58447
  const Proto$12 = {
58416
58448
  ...PipeInspectableProto,
@@ -58694,7 +58726,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
58694
58726
  ...nextTokens.slice(1)
58695
58727
  ];
58696
58728
  //#endregion
58697
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/internal/utils.js
58729
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/internal/utils.js
58698
58730
  /** @internal */
58699
58731
  const handleErrnoException = (module, method) => (err, [path]) => {
58700
58732
  let reason = "Unknown";
@@ -58731,7 +58763,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
58731
58763
  });
58732
58764
  };
58733
58765
  //#endregion
58734
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/NodeSink.js
58766
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/NodeSink.js
58735
58767
  /**
58736
58768
  * @category constructors
58737
58769
  * @since 1.0.0
@@ -58775,7 +58807,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$4((chunk) => {
58775
58807
  });
58776
58808
  }) : identity);
58777
58809
  //#endregion
58778
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/NodeStream.js
58810
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/NodeStream.js
58779
58811
  /**
58780
58812
  * @since 1.0.0
58781
58813
  */
@@ -58941,7 +58973,7 @@ var StreamAdapter = class extends Readable {
58941
58973
  };
58942
58974
  const defaultOnError = (error) => new UnknownError$1(error);
58943
58975
  //#endregion
58944
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
58976
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
58945
58977
  const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
58946
58978
  const toPlatformError = (method, error, command) => {
58947
58979
  const { commands } = flattenCommand(command);
@@ -59275,7 +59307,7 @@ const flattenCommand = (command) => {
59275
59307
  };
59276
59308
  };
59277
59309
  //#endregion
59278
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/Cookies.js
59310
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/Cookies.js
59279
59311
  /**
59280
59312
  * @since 4.0.0
59281
59313
  */
@@ -59539,7 +59571,7 @@ const tryDecodeURIComponent = (str) => {
59539
59571
  }
59540
59572
  };
59541
59573
  //#endregion
59542
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/Headers.js
59574
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/Headers.js
59543
59575
  /**
59544
59576
  * @since 4.0.0
59545
59577
  */
@@ -59662,7 +59694,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
59662
59694
  "x-api-key"
59663
59695
  ] });
59664
59696
  //#endregion
59665
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpClientError.js
59697
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpClientError.js
59666
59698
  /**
59667
59699
  * @since 4.0.0
59668
59700
  */
@@ -59800,7 +59832,7 @@ var EmptyBodyError = class extends TaggedError("EmptyBodyError") {
59800
59832
  }
59801
59833
  };
59802
59834
  //#endregion
59803
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/UrlParams.js
59835
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/UrlParams.js
59804
59836
  /**
59805
59837
  * @since 4.0.0
59806
59838
  */
@@ -60012,7 +60044,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
60012
60044
  encode: fromInput
60013
60045
  })));
60014
60046
  //#endregion
60015
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpBody.js
60047
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpBody.js
60016
60048
  /**
60017
60049
  * @since 4.0.0
60018
60050
  */
@@ -60151,7 +60183,7 @@ var FormData$1 = class extends Proto$8 {
60151
60183
  */
60152
60184
  const formData = (body) => new FormData$1(body);
60153
60185
  //#endregion
60154
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60186
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpClientRequest.js
60155
60187
  const TypeId$23 = "~effect/http/HttpClientRequest";
60156
60188
  const Proto$7 = {
60157
60189
  [TypeId$23]: TypeId$23,
@@ -60321,7 +60353,7 @@ const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, url
60321
60353
  */
60322
60354
  const bodyFormData = /* @__PURE__ */ dual(2, (self, body) => setBody(self, formData(body)));
60323
60355
  //#endregion
60324
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60356
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
60325
60357
  /**
60326
60358
  * @since 4.0.0
60327
60359
  */
@@ -60372,7 +60404,7 @@ const inspect$1 = (self, that) => {
60372
60404
  return obj;
60373
60405
  };
60374
60406
  //#endregion
60375
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60407
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpClientResponse.js
60376
60408
  /**
60377
60409
  * @since 4.0.0
60378
60410
  */
@@ -60513,7 +60545,7 @@ var WebHttpClientResponse = class extends Class$5 {
60513
60545
  }
60514
60546
  };
60515
60547
  //#endregion
60516
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpMethod.js
60548
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpMethod.js
60517
60549
  /**
60518
60550
  * @since 4.0.0
60519
60551
  */
@@ -60528,7 +60560,7 @@ const allShort = [
60528
60560
  ["TRACE", "trace"]
60529
60561
  ];
60530
60562
  //#endregion
60531
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpTraceContext.js
60563
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpTraceContext.js
60532
60564
  /**
60533
60565
  * @since 4.0.0
60534
60566
  */
@@ -60603,7 +60635,7 @@ const w3c = (headers) => {
60603
60635
  }
60604
60636
  };
60605
60637
  //#endregion
60606
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpClient.js
60638
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpClient.js
60607
60639
  const TypeId$20 = "~effect/http/HttpClient";
60608
60640
  /**
60609
60641
  * @since 4.0.0
@@ -61466,7 +61498,7 @@ const httpMethods = [
61466
61498
  */
61467
61499
  const make$38 = make$39;
61468
61500
  //#endregion
61469
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/Template.js
61501
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/Template.js
61470
61502
  /**
61471
61503
  * @since 4.0.0
61472
61504
  */
@@ -61515,7 +61547,7 @@ function isSuccess$1(u) {
61515
61547
  return isExit(u) && u._tag === "Success";
61516
61548
  }
61517
61549
  //#endregion
61518
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpServerResponse.js
61550
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpServerResponse.js
61519
61551
  /**
61520
61552
  * @since 4.0.0
61521
61553
  */
@@ -61604,7 +61636,7 @@ const makeResponse$2 = (options) => {
61604
61636
  return self;
61605
61637
  };
61606
61638
  //#endregion
61607
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
61639
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
61608
61640
  /**
61609
61641
  * @since 4.0.0
61610
61642
  */
@@ -61641,7 +61673,7 @@ const toResponseOrElseDefect = (u, orElse) => {
61641
61673
  return succeed$3(orElse);
61642
61674
  };
61643
61675
  //#endregion
61644
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpServerError.js
61676
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpServerError.js
61645
61677
  /**
61646
61678
  * @since 4.0.0
61647
61679
  */
@@ -61813,7 +61845,7 @@ const exitResponse = (exit) => {
61813
61845
  return causeResponseStripped(exit.cause)[0];
61814
61846
  };
61815
61847
  //#endregion
61816
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/socket/Socket.js
61848
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/socket/Socket.js
61817
61849
  /**
61818
61850
  * @since 4.0.0
61819
61851
  * @category Type IDs
@@ -62932,7 +62964,7 @@ const make$33 = make$34;
62932
62964
  const defaultIsFile = defaultIsFile$1;
62933
62965
  const decodeField = decodeField$1;
62934
62966
  //#endregion
62935
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/Multipart.js
62967
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/Multipart.js
62936
62968
  /**
62937
62969
  * @since 4.0.0
62938
62970
  */
@@ -63064,7 +63096,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
63064
63096
  */
63065
63097
  const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
63066
63098
  //#endregion
63067
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63099
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpServerRequest.js
63068
63100
  /**
63069
63101
  * @since 4.0.0
63070
63102
  * @category Type IDs
@@ -63102,11 +63134,11 @@ const toURL = (self) => {
63102
63134
  }
63103
63135
  };
63104
63136
  //#endregion
63105
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63137
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
63106
63138
  /** @internal */
63107
63139
  const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
63108
63140
  //#endregion
63109
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63141
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpMiddleware.js
63110
63142
  /**
63111
63143
  * @since 4.0.0
63112
63144
  */
@@ -63204,7 +63236,7 @@ const tracer = /* @__PURE__ */ make$32((httpApp) => withFiber((fiber) => {
63204
63236
  }, true);
63205
63237
  }));
63206
63238
  //#endregion
63207
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpEffect.js
63239
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpEffect.js
63208
63240
  /**
63209
63241
  * @since 4.0.0
63210
63242
  * @category combinators
@@ -63274,7 +63306,7 @@ const scoped = (effect) => withFiber((fiber) => {
63274
63306
  }, true);
63275
63307
  });
63276
63308
  //#endregion
63277
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/Etag.js
63309
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/Etag.js
63278
63310
  /**
63279
63311
  * @since 4.0.0
63280
63312
  */
@@ -63340,7 +63372,7 @@ const layerWeak = /* @__PURE__ */ succeed$4(Generator)({
63340
63372
  }
63341
63373
  });
63342
63374
  //#endregion
63343
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpPlatform.js
63375
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpPlatform.js
63344
63376
  /**
63345
63377
  * @since 4.0.0
63346
63378
  */
@@ -63379,7 +63411,7 @@ const make$31 = /* @__PURE__ */ fnUntraced(function* (impl) {
63379
63411
  });
63380
63412
  });
63381
63413
  //#endregion
63382
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpServer.js
63414
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpServer.js
63383
63415
  /**
63384
63416
  * @since 4.0.0
63385
63417
  */
@@ -63424,7 +63456,7 @@ const logAddress = /* @__PURE__ */ addressFormattedWith((_) => log$1(`Listening
63424
63456
  */
63425
63457
  const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
63426
63458
  //#endregion
63427
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/HttpRouter.js
63459
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/HttpRouter.js
63428
63460
  /**
63429
63461
  * @since 4.0.0
63430
63462
  */
@@ -63740,7 +63772,7 @@ const serve = (appLayer, options) => {
63740
63772
  }).pipe(unwrap$3, provideMerge(appLayer), provide$3(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
63741
63773
  };
63742
63774
  //#endregion
63743
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/workers/Transferable.js
63775
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/workers/Transferable.js
63744
63776
  /**
63745
63777
  * @since 1.0.0
63746
63778
  */
@@ -63774,7 +63806,7 @@ const makeCollectorUnsafe = () => {
63774
63806
  });
63775
63807
  };
63776
63808
  //#endregion
63777
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/RpcSchema.js
63809
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/RpcSchema.js
63778
63810
  /**
63779
63811
  * @since 4.0.0
63780
63812
  */
@@ -63807,7 +63839,7 @@ function Stream(success, error) {
63807
63839
  }
63808
63840
  Service$1()("effect/rpc/RpcSchema/ClientAbort");
63809
63841
  //#endregion
63810
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/Rpc.js
63842
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/Rpc.js
63811
63843
  const TypeId$13 = "~effect/rpc/Rpc";
63812
63844
  const Proto$4 = {
63813
63845
  [TypeId$13]: TypeId$13,
@@ -63947,14 +63979,14 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
63947
63979
  */
63948
63980
  const isWrapper = (u) => WrapperTypeId in u;
63949
63981
  //#endregion
63950
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/RpcMessage.js
63982
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/RpcMessage.js
63951
63983
  /**
63952
63984
  * @since 4.0.0
63953
63985
  * @category request
63954
63986
  */
63955
63987
  const RequestId = (id) => typeof id === "bigint" ? id : BigInt(id);
63956
63988
  //#endregion
63957
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/Utils.js
63989
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/Utils.js
63958
63990
  /**
63959
63991
  * @since 4.0.0
63960
63992
  */
@@ -63985,7 +64017,7 @@ const withRun = () => (f) => suspend$3(() => {
63985
64017
  }));
63986
64018
  });
63987
64019
  //#endregion
63988
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/RpcClient.js
64020
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/RpcClient.js
63989
64021
  let requestIdCounter = /* @__PURE__ */ BigInt(0);
63990
64022
  /**
63991
64023
  * @since 4.0.0
@@ -64323,7 +64355,7 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
64323
64355
  };
64324
64356
  const decodeDefect = /* @__PURE__ */ decodeSync(Defect);
64325
64357
  //#endregion
64326
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64358
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/rpc/RpcGroup.js
64327
64359
  const RpcGroupProto = {
64328
64360
  add(...rpcs) {
64329
64361
  const requests = new Map(this.requests);
@@ -68057,7 +68089,7 @@ require_sender$1();
68057
68089
  var import_websocket = /* @__PURE__ */ __toESM(require_websocket$1(), 1);
68058
68090
  var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
68059
68091
  //#endregion
68060
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68092
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
68061
68093
  /**
68062
68094
  * @since 1.0.0
68063
68095
  */
@@ -68395,7 +68427,7 @@ const makeFileSystem = /* @__PURE__ */ map$9(/* @__PURE__ */ serviceOption(Watch
68395
68427
  writeFile: writeFile$1
68396
68428
  }));
68397
68429
  //#endregion
68398
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68430
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeFileSystem.js
68399
68431
  /**
68400
68432
  * @since 1.0.0
68401
68433
  */
@@ -68405,7 +68437,7 @@ const makeFileSystem = /* @__PURE__ */ map$9(/* @__PURE__ */ serviceOption(Watch
68405
68437
  */
68406
68438
  const layer$25 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
68407
68439
  //#endregion
68408
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68440
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
68409
68441
  /**
68410
68442
  * @since 1.0.0
68411
68443
  */
@@ -89876,7 +89908,7 @@ var require_undici = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
89876
89908
  module.exports.install = install;
89877
89909
  }));
89878
89910
  //#endregion
89879
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/Undici.js
89911
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/Undici.js
89880
89912
  var Undici_exports = /* @__PURE__ */ __exportAll({ default: () => Undici_default });
89881
89913
  var import_undici = /* @__PURE__ */ __toESM(require_undici(), 1);
89882
89914
  __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
@@ -89886,7 +89918,7 @@ __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
89886
89918
  */
89887
89919
  var Undici_default = import_undici.default;
89888
89920
  //#endregion
89889
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/http/FetchHttpClient.js
89921
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/http/FetchHttpClient.js
89890
89922
  /**
89891
89923
  * @since 4.0.0
89892
89924
  */
@@ -89931,7 +89963,7 @@ const layer$24 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$3(/
89931
89963
  return send(void 0);
89932
89964
  })));
89933
89965
  //#endregion
89934
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpClient.js
89966
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeHttpClient.js
89935
89967
  /**
89936
89968
  * @since 1.0.0
89937
89969
  */
@@ -90098,7 +90130,7 @@ var UndiciResponse = class extends Class$5 {
90098
90130
  */
90099
90131
  const layerUndici = /* @__PURE__ */ provide$3(/* @__PURE__ */ layerMergedServices(makeUndici), layerDispatcher);
90100
90132
  //#endregion
90101
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90133
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
90102
90134
  /**
90103
90135
  * @since 1.0.0
90104
90136
  */
@@ -90219,7 +90251,7 @@ var FileStream = class extends Readable {
90219
90251
  }
90220
90252
  };
90221
90253
  //#endregion
90222
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeMultipart.js
90254
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeMultipart.js
90223
90255
  /**
90224
90256
  * @since 1.0.0
90225
90257
  */
@@ -90314,7 +90346,7 @@ function convertError(cause) {
90314
90346
  }
90315
90347
  }
90316
90348
  //#endregion
90317
- //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/platform-node-shared/dist/NodePath.js
90349
+ //#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-s_5ff58dc9ae61c13b97ceaa57220bc469/node_modules/@effect/platform-node-shared/dist/NodePath.js
90318
90350
  /**
90319
90351
  * @since 1.0.0
90320
90352
  */
@@ -90337,7 +90369,7 @@ const toFileUrl = (path) => try_({
90337
90369
  ({ ...Path.posix });
90338
90370
  ({ ...Path.win32 });
90339
90371
  //#endregion
90340
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodePath.js
90372
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodePath.js
90341
90373
  /**
90342
90374
  * @since 1.0.0
90343
90375
  */
@@ -90352,7 +90384,7 @@ const layer$21 = /* @__PURE__ */ succeed$4(Path$1)({
90352
90384
  toFileUrl
90353
90385
  });
90354
90386
  //#endregion
90355
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeStdio.js
90387
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeStdio.js
90356
90388
  /**
90357
90389
  * @since 1.0.0
90358
90390
  */
@@ -90457,7 +90489,7 @@ function defaultShouldQuit(input) {
90457
90489
  return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
90458
90490
  }
90459
90491
  //#endregion
90460
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeServices.js
90492
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeServices.js
90461
90493
  /**
90462
90494
  * @since 1.0.0
90463
90495
  * @category layer
@@ -90469,7 +90501,7 @@ const layer$16 = /* @__PURE__ */ provideMerge(layer$30, /* @__PURE__ */ mergeAll
90469
90501
  */
90470
90502
  const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$4(WebSocketConstructor)((url, protocols) => new import_websocket.default(url, protocols));
90471
90503
  //#endregion
90472
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90504
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeHttpServer.js
90473
90505
  /**
90474
90506
  * @since 1.0.0
90475
90507
  */
@@ -90762,7 +90794,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
90762
90794
  return failCause$2(headersSent ? combine$1(originalCause, die$3(originalResponse)) : cause);
90763
90795
  });
90764
90796
  //#endregion
90765
- //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@4.0.0-beta.35_ioredis@5.10.0/node_modules/@effect/platform-node/dist/NodeRuntime.js
90797
+ //#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+eff_dd4f6720c7fe6e3728ab87c9ce6cd5a7/node_modules/@effect/platform-node/dist/NodeRuntime.js
90766
90798
  /**
90767
90799
  * @since 1.0.0
90768
90800
  */
@@ -90813,7 +90845,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
90813
90845
  process.on("SIGTERM", onSigint);
90814
90846
  });
90815
90847
  //#endregion
90816
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/persistence/PersistedCache.js
90848
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/persistence/PersistedCache.js
90817
90849
  /**
90818
90850
  * @since 4.0.0
90819
90851
  */
@@ -91349,7 +91381,7 @@ const toExit = (self) => {
91349
91381
  }
91350
91382
  };
91351
91383
  //#endregion
91352
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91384
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
91353
91385
  /**
91354
91386
  * @since 4.0.0
91355
91387
  */
@@ -91971,7 +92003,7 @@ function batchRebuildNode(node) {
91971
92003
  if (node.state !== NodeState.valid) node.value();
91972
92004
  }
91973
92005
  //#endregion
91974
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/reactivity/Atom.js
92006
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/reactivity/Atom.js
91975
92007
  /**
91976
92008
  * @since 4.0.0
91977
92009
  */
@@ -178010,7 +178042,7 @@ const parseCommand = (command) => {
178010
178042
  return args;
178011
178043
  };
178012
178044
  //#endregion
178013
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Model.js
178045
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Model.js
178014
178046
  /**
178015
178047
  * The `Model` module provides a unified interface for AI service providers.
178016
178048
  *
@@ -181233,7 +181265,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
181233
181265
  });
181234
181266
  Ze.glob = Ze;
181235
181267
  //#endregion
181236
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/ApplyPatch.js
181268
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ApplyPatch.js
181237
181269
  /**
181238
181270
  * @since 1.0.0
181239
181271
  */
@@ -196106,7 +196138,7 @@ var StreamableHTTPClientTransport = class {
196106
196138
  }
196107
196139
  };
196108
196140
  //#endregion
196109
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/McpClient.js
196141
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/McpClient.js
196110
196142
  /**
196111
196143
  * @since 1.0.0
196112
196144
  */
@@ -196151,7 +196183,7 @@ const layer$13 = effect$1(McpClient, gen(function* () {
196151
196183
  });
196152
196184
  }));
196153
196185
  //#endregion
196154
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/ExaSearch.js
196186
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ExaSearch.js
196155
196187
  /**
196156
196188
  * @since 1.0.0
196157
196189
  */
@@ -211101,7 +211133,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
211101
211133
  exports.impl = impl;
211102
211134
  }));
211103
211135
  //#endregion
211104
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/WebToMarkdown.js
211136
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/WebToMarkdown.js
211105
211137
  /**
211106
211138
  * @since 1.0.0
211107
211139
  */
@@ -211865,7 +211897,7 @@ const layer$11 = effect$1(WebToMarkdown, gen(function* () {
211865
211897
  });
211866
211898
  }));
211867
211899
  //#endregion
211868
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Response.js
211900
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Response.js
211869
211901
  const PartTypeId$1 = "~effect/ai/Content/Part";
211870
211902
  const constEmptyObject$1 = () => ({});
211871
211903
  const constPartTypeId$1 = () => PartTypeId$1;
@@ -212371,7 +212403,7 @@ const ErrorPart = /* @__PURE__ */ Struct$2({
212371
212403
  error: Unknown
212372
212404
  }).annotate({ identifier: "ErrorPart" });
212373
212405
  //#endregion
212374
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/AiError.js
212406
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/AiError.js
212375
212407
  /**
212376
212408
  * The `AiError` module provides comprehensive, provider-agnostic error handling
212377
212409
  * for AI operations.
@@ -213594,7 +213626,7 @@ const reasonFromHttpStatus = (params) => {
213594
213626
  }
213595
213627
  };
213596
213628
  //#endregion
213597
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Toolkit.js
213629
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Toolkit.js
213598
213630
  const TypeId$6 = "~effect/ai/Toolkit";
213599
213631
  const Proto$2 = {
213600
213632
  ...YieldableProto,
@@ -213818,7 +213850,7 @@ const merge$1 = (...toolkits) => {
213818
213850
  return makeProto(tools);
213819
213851
  };
213820
213852
  //#endregion
213821
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Tool.js
213853
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Tool.js
213822
213854
  /**
213823
213855
  * @since 1.0.0
213824
213856
  * @category type ids
@@ -214240,7 +214272,7 @@ function isEmptyParamsRecord(indexSignature) {
214240
214272
  return indexSignature.parameter === string$3 && isNever(indexSignature.type);
214241
214273
  }
214242
214274
  //#endregion
214243
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/schema/VariantSchema.js
214275
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/schema/VariantSchema.js
214244
214276
  /**
214245
214277
  * @since 4.0.0
214246
214278
  * @category Type IDs
@@ -214348,7 +214380,7 @@ const Union$1 = (members, variants) => {
214348
214380
  return VariantUnion;
214349
214381
  };
214350
214382
  //#endregion
214351
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/schema/Model.js
214383
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/schema/Model.js
214352
214384
  const { Class, Field, FieldExcept, FieldOnly, Struct, Union, extract, fieldEvolve } = /* @__PURE__ */ make$12({
214353
214385
  variants: [
214354
214386
  "select",
@@ -214374,7 +214406,7 @@ const Generated = (schema) => Field({
214374
214406
  json: schema
214375
214407
  });
214376
214408
  //#endregion
214377
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/SqlError.js
214409
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/SqlError.js
214378
214410
  /**
214379
214411
  * @since 4.0.0
214380
214412
  */
@@ -214410,7 +214442,7 @@ var ResultLengthMismatch = class extends TaggedErrorClass("effect/sql/ResultLeng
214410
214442
  }
214411
214443
  };
214412
214444
  //#endregion
214413
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/SqlResolver.js
214445
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/SqlResolver.js
214414
214446
  /**
214415
214447
  * @since 4.0.0
214416
214448
  */
@@ -214558,7 +214590,7 @@ function transactionKey(entry) {
214558
214590
  return byReferenceUnsafe(conn);
214559
214591
  }
214560
214592
  //#endregion
214561
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/SqlSchema.js
214593
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/SqlSchema.js
214562
214594
  /**
214563
214595
  * Run a sql query with a request schema and a result schema.
214564
214596
  *
@@ -214571,7 +214603,7 @@ const findAll = (options) => {
214571
214603
  return (request) => flatMap$4(flatMap$4(encodeRequest(request), options.execute), decode);
214572
214604
  };
214573
214605
  //#endregion
214574
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/sql/SqlModel.js
214606
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/sql/SqlModel.js
214575
214607
  /**
214576
214608
  * Create some simple data loaders from a model.
214577
214609
  *
@@ -214620,7 +214652,7 @@ select * from ${sql(options.tableName)} where ${sql(idColumn)} = LAST_INSERT_ID(
214620
214652
  };
214621
214653
  });
214622
214654
  //#endregion
214623
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
214655
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/EmbeddingModel.js
214624
214656
  /**
214625
214657
  * The `EmbeddingModel` module provides provider-agnostic text embedding capabilities.
214626
214658
  *
@@ -214719,7 +214751,7 @@ const mapProviderResults = (inputLength, results) => {
214719
214751
  return succeed$3(embeddings);
214720
214752
  };
214721
214753
  //#endregion
214722
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/ChunkRepo.js
214754
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ChunkRepo.js
214723
214755
  /**
214724
214756
  * @since 1.0.0
214725
214757
  * @category Models
@@ -214760,8 +214792,6 @@ const Float32ArrayField = Field({
214760
214792
  var Chunk = class extends Class("Chunk")({
214761
214793
  id: Generated(ChunkId),
214762
214794
  path: String$1,
214763
- startLine: Number$1,
214764
- endLine: Number$1,
214765
214795
  content: String$1,
214766
214796
  hash: String$1,
214767
214797
  vector: Float32ArrayField,
@@ -214808,12 +214838,23 @@ const layer$10 = effect$1(ChunkRepo, gen(function* () {
214808
214838
  }),
214809
214839
  Result: Chunk,
214810
214840
  execute: ({ vector, limit }) => sql`
214811
- select chunks.id, chunks.path, chunks.startLine, chunks.endLine, chunks.content, chunks.hash, chunks.syncId
214841
+ select chunks.id, chunks.path, chunks.content, chunks.hash, chunks.syncId
214812
214842
  from chunks
214813
214843
  JOIN vector_quantize_scan('chunks', 'vector', ${vector}, CAST(${limit} AS INTEGER)) AS v
214814
214844
  ON chunks.id = v.rowid
214815
214845
  `
214816
214846
  });
214847
+ const exists = findById({
214848
+ Id: String$1,
214849
+ Result: Struct$2({
214850
+ id: ChunkId,
214851
+ hash: String$1
214852
+ }),
214853
+ ResultId(result) {
214854
+ return result.hash;
214855
+ },
214856
+ execute: (hashes) => sql`select id, hash from chunks where ${sql.in("hash", hashes)}`
214857
+ }).pipe(setDelay(5));
214817
214858
  return ChunkRepo.of({
214818
214859
  insert: (insert) => {
214819
214860
  needsQuantization = true;
@@ -214823,7 +214864,10 @@ const layer$10 = effect$1(ChunkRepo, gen(function* () {
214823
214864
  }));
214824
214865
  },
214825
214866
  findById: (id) => loaders.findById(id).pipe(catchTags$1({ SchemaError: die$2 })),
214826
- exists: ({ path, startLine, hash }) => sql`select id from chunks where path = ${path} and startLine = ${startLine} and hash = ${hash}`.pipe(map$9((result) => fromNullishOr$3(result[0]?.id)), mapError$2((reason) => new ChunkRepoError({ reason }))),
214867
+ exists: (hash) => request$1(hash, exists).pipe(map$9((result) => result.id), catchNoSuchElement, catchTags$1({
214868
+ SqlError: (reason) => fail$6(new ChunkRepoError({ reason })),
214869
+ SchemaError: die$2
214870
+ })),
214827
214871
  search: fn("ChunkRepo.search")(function* (options) {
214828
214872
  yield* maybeQuantize;
214829
214873
  return yield* search(options).pipe(catchTags$1({
@@ -214838,7 +214882,7 @@ const layer$10 = effect$1(ChunkRepo, gen(function* () {
214838
214882
  });
214839
214883
  }));
214840
214884
  //#endregion
214841
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/CodeChunker.js
214885
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/CodeChunker.js
214842
214886
  /**
214843
214887
  * @since 1.0.0
214844
214888
  */
@@ -215021,9 +215065,24 @@ const nodeText = (node) => {
215021
215065
  return value.length === 0 ? void 0 : value;
215022
215066
  };
215023
215067
  const nodeFieldText = (node, fieldName) => nodeText(node.childForFieldName(fieldName));
215024
- const unwrapExportNode = (node) => {
215025
- if (node.type !== "export_statement") return node;
215026
- return node.childForFieldName("declaration") ?? node;
215068
+ const isNamespaceNode = (node) => node.type === "internal_module" || node.type === "module";
215069
+ const unwrapDeclarationNode = (node) => {
215070
+ let current = node;
215071
+ while (true) {
215072
+ if (current.type === "export_statement") {
215073
+ const declaration = current.childForFieldName("declaration") ?? current.namedChildren[0];
215074
+ if (declaration === void 0) return current;
215075
+ current = declaration;
215076
+ continue;
215077
+ }
215078
+ if (current.type === "ambient_declaration") {
215079
+ const declaration = current.namedChildren.find((child) => child.type.endsWith("_declaration") || isNamespaceNode(child));
215080
+ if (declaration === void 0) return current;
215081
+ current = declaration;
215082
+ continue;
215083
+ }
215084
+ return current;
215085
+ }
215027
215086
  };
215028
215087
  const variableDeclarators = (node) => node.namedChildren.filter((child) => child.type === "variable_declarator");
215029
215088
  const variableTypeFromDeclarator = (node) => {
@@ -215041,6 +215100,8 @@ const chunkTypeFromNode = (node) => {
215041
215100
  case "enum_declaration": return "enum";
215042
215101
  case "function_declaration":
215043
215102
  case "generator_function_declaration": return "function";
215103
+ case "internal_module":
215104
+ case "module": return "namespace";
215044
215105
  case "interface_declaration": return "interface";
215045
215106
  case "generator_method_definition":
215046
215107
  case "method_definition": return "method";
@@ -215062,7 +215123,9 @@ const nameFromNode = (node) => {
215062
215123
  case "enum_declaration":
215063
215124
  case "function_declaration":
215064
215125
  case "generator_function_declaration":
215126
+ case "internal_module":
215065
215127
  case "interface_declaration":
215128
+ case "module":
215066
215129
  case "generator_method_definition":
215067
215130
  case "method_definition":
215068
215131
  case "type_alias_declaration":
@@ -215101,26 +215164,30 @@ const collectAstRanges = (path, content, lines) => {
215101
215164
  const parser = new TreeSitter();
215102
215165
  parser.setLanguage(language);
215103
215166
  const tree = parser.parse(content, void 0, { bufferSize: 1024 * 1024 });
215104
- const out = [];
215105
- const topLevelNodes = tree.rootNode.namedChildren;
215106
- for (let index = 0; index < topLevelNodes.length; index++) {
215107
- const topLevelNode = topLevelNodes[index];
215108
- if (topLevelNode.type === "comment" || topLevelNode.type.includes("import")) continue;
215109
- const declarationNode = unwrapExportNode(topLevelNode);
215110
- const type = chunkTypeFromNode(declarationNode);
215111
- const name = nameFromNode(declarationNode);
215112
- out.push({
215113
- ...lineRangeWithLeadingComments(topLevelNode, topLevelNodes, index, lines),
215114
- name,
215115
- type,
215116
- parent: void 0
215117
- });
215118
- if (declarationNode.type === "class_declaration") {
215119
- const parent = formatParent(type, name);
215120
- out.push(...collectClassMethodRanges(declarationNode, parent, lines));
215167
+ const collectDeclarationRanges = (siblings, parent) => {
215168
+ const out = [];
215169
+ for (let index = 0; index < siblings.length; index++) {
215170
+ const sibling = siblings[index];
215171
+ if (sibling.type === "comment" || sibling.type.includes("import")) continue;
215172
+ const declarationNode = unwrapDeclarationNode(sibling);
215173
+ const type = chunkTypeFromNode(declarationNode);
215174
+ const name = nameFromNode(declarationNode);
215175
+ if (type === void 0 && name === void 0) continue;
215176
+ out.push({
215177
+ ...lineRangeWithLeadingComments(sibling, siblings, index, lines),
215178
+ name,
215179
+ type,
215180
+ parent
215181
+ });
215182
+ if (declarationNode.type === "class_declaration") out.push(...collectClassMethodRanges(declarationNode, formatParent(type, name), lines));
215183
+ if (isNamespaceNode(declarationNode)) {
215184
+ const body = declarationNode.childForFieldName("body");
215185
+ if (body !== null) out.push(...collectDeclarationRanges(body.namedChildren, formatParent(type, name)));
215186
+ }
215121
215187
  }
215122
- }
215123
- return out;
215188
+ return out;
215189
+ };
215190
+ return collectDeclarationRanges(tree.rootNode.namedChildren, void 0);
215124
215191
  } catch {
215125
215192
  return [];
215126
215193
  }
@@ -215259,7 +215326,7 @@ const layer$9 = effect$1(CodeChunker, gen(function* () {
215259
215326
  });
215260
215327
  }));
215261
215328
  //#endregion
215262
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
215329
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+e_d74c1adea9fb055cfc24244c39c8f88c/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
215263
215330
  /**
215264
215331
  * @since 1.0.0
215265
215332
  */
@@ -215396,7 +215463,7 @@ const make$10 = (options) => gen(function* () {
215396
215463
  */
215397
215464
  const layer$8 = (config) => effectServices(map$9(make$10(config), (client) => make$87(SqliteClient, client).pipe(add$3(SqlClient, client)))).pipe(provide$3(layer$32));
215398
215465
  //#endregion
215399
- //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
215466
+ //#region node_modules/.pnpm/@effect+sql-sqlite-node@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+e_d74c1adea9fb055cfc24244c39c8f88c/node_modules/@effect/sql-sqlite-node/dist/SqliteMigrator.js
215400
215467
  /**
215401
215468
  * @category constructor
215402
215469
  * @since 1.0.0
@@ -215408,7 +215475,7 @@ const run$1 = /* @__PURE__ */ make$25({});
215408
215475
  */
215409
215476
  const layer$7 = (options) => effectDiscard(run$1(options));
215410
215477
  //#endregion
215411
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/internal/sqlite-vector.js
215478
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/internal/sqlite-vector.js
215412
215479
  /**
215413
215480
  * Binary extension for each platform
215414
215481
  */
@@ -215525,7 +215592,7 @@ function getExtensionPath() {
215525
215592
  throw new ExtensionNotFoundError(`SQLite Vector extension not found for platform: ${getCurrentPlatform()}\n\nThe platform-specific package "${getPlatformPackageName()}" is not installed.\nThis usually happens when:\n 1. Your platform is not supported\n 2. npm failed to install optional dependencies\n 3. You're installing with --no-optional flag\n\nTry running: npm install --force`);
215526
215593
  }
215527
215594
  //#endregion
215528
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/Sqlite.js
215595
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/Sqlite.js
215529
215596
  /**
215530
215597
  * @since 1.0.0
215531
215598
  */
@@ -215536,16 +215603,14 @@ function getExtensionPath() {
215536
215603
  const SqliteLayer = (database) => layer$7({ loader: fromRecord({ "0001_create_chunks": gen(function* () {
215537
215604
  const sql = yield* SqlClient;
215538
215605
  yield* sql`CREATE TABLE IF NOT EXISTS chunks (
215539
- id INTEGER PRIMARY KEY AUTOINCREMENT,
215540
- path TEXT NOT NULL,
215541
- startLine INTEGER NOT NULL,
215542
- endLine INTEGER NOT NULL,
215543
- content TEXT NOT NULL,
215544
- hash TEXT NOT NULL,
215545
- vector BLOB NOT NULL,
215546
- syncId TEXT NOT NULL
215547
- )`;
215548
- yield* sql`CREATE INDEX IF NOT EXISTS idx_chunks_path_start_end ON chunks (path, startLine, hash)`;
215606
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
215607
+ path TEXT NOT NULL,
215608
+ content TEXT NOT NULL,
215609
+ hash TEXT NOT NULL,
215610
+ vector BLOB NOT NULL,
215611
+ syncId TEXT NOT NULL
215612
+ )`;
215613
+ yield* sql`CREATE INDEX IF NOT EXISTS idx_chunks_hash ON chunks (hash)`;
215549
215614
  }) }) }).pipe(provide$3(effectDiscard(gen(function* () {
215550
215615
  yield* (yield* SqliteClient).loadExtension(getExtensionPath());
215551
215616
  }))), provideMerge(layer$8({ filename: database })), provide$3(effectDiscard(gen(function* () {
@@ -215555,7 +215620,7 @@ const SqliteLayer = (database) => layer$7({ loader: fromRecord({ "0001_create_ch
215555
215620
  yield* fs.makeDirectory(directory, { recursive: true });
215556
215621
  }))));
215557
215622
  //#endregion
215558
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/SemanticSearch.js
215623
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/SemanticSearch.js
215559
215624
  /**
215560
215625
  * @since 1.0.0
215561
215626
  */
@@ -215609,11 +215674,7 @@ const layer$6 = (options) => effect$1(SemanticSearch, gen(function* () {
215609
215674
  const input = chunkEmbeddingInput(options.chunk);
215610
215675
  const hash = hashChunkInput(input);
215611
215676
  if (options.checkExisting) {
215612
- const id = yield* repo.exists({
215613
- path: options.chunk.path,
215614
- startLine: options.chunk.startLine,
215615
- hash
215616
- });
215677
+ const id = yield* repo.exists(hash);
215617
215678
  if (isSome(id)) {
215618
215679
  yield* repo.setSyncId(id.value, options.syncId);
215619
215680
  return;
@@ -215623,8 +215684,6 @@ const layer$6 = (options) => effect$1(SemanticSearch, gen(function* () {
215623
215684
  const vector = new Float32Array(result.vector);
215624
215685
  yield* repo.insert(Chunk.insert.makeUnsafe({
215625
215686
  path: options.chunk.path,
215626
- startLine: options.chunk.startLine,
215627
- endLine: options.chunk.endLine,
215628
215687
  hash,
215629
215688
  content: input,
215630
215689
  vector,
@@ -215703,7 +215762,7 @@ const maybeRemoveFile = (path) => serviceOption(SemanticSearch).pipe(flatMap$4(m
215703
215762
  onSome: (service) => service.removeFile(path)
215704
215763
  })));
215705
215764
  //#endregion
215706
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/AgentTools.js
215765
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/AgentTools.js
215707
215766
  /**
215708
215767
  * @since 1.0.0
215709
215768
  */
@@ -215817,11 +215876,8 @@ const AgentTools = make$14(make$13("readFile", {
215817
215876
  * @category Toolkit
215818
215877
  */
215819
215878
  const AgentToolsWithSearch = merge$1(make$14(make$13("search", {
215820
- description: "Semantic code search",
215821
- parameters: Struct$2({
215822
- query: String$1.annotate({ documentation: "Describe what you are looking for" }),
215823
- limit: optional$3(Finite).annotate({ documentation: "Number of results (defaults to 5, max 10)" })
215824
- }),
215879
+ description: "Semantic code search - you just need to describe what you are looking for",
215880
+ parameters: String$1.annotate({ identifier: "query" }),
215825
215881
  success: String$1,
215826
215882
  dependencies: [SemanticSearch]
215827
215883
  })), AgentTools);
@@ -215882,11 +215938,11 @@ const AgentToolHandlersNoDeps = AgentToolsWithSearch.toLayer(gen(function* () {
215882
215938
  const cwd = yield* CurrentDirectory;
215883
215939
  return yield* fs.readDirectory(pathService.resolve(cwd, path)).pipe(orDie$2);
215884
215940
  }),
215885
- search: fn("AgentTools.search")(function* (options) {
215886
- yield* logInfo(`Calling "search"`).pipe(annotateLogs(options));
215941
+ search: fn("AgentTools.search")(function* (query) {
215942
+ yield* logInfo(`Calling "search"`).pipe(annotateLogs({ query }));
215887
215943
  return yield* (yield* SemanticSearch).search({
215888
- query: options.query,
215889
- limit: Math.min(10, options.limit ?? 5)
215944
+ query,
215945
+ limit: 5
215890
215946
  });
215891
215947
  }),
215892
215948
  rg: fn("AgentTools.rg")(function* (options) {
@@ -216057,7 +216113,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$12, laye
216057
216113
  AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
216058
216114
  var ApplyPatchError = class extends TaggedClass$2("ApplyPatchError") {};
216059
216115
  //#endregion
216060
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/TypeBuilder.js
216116
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/TypeBuilder.js
216061
216117
  const resolveDocumentation = resolveAt("documentation");
216062
216118
  const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
216063
216119
  const Precedence = {
@@ -216330,7 +216386,7 @@ const render = (schema, options) => {
216330
216386
  return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
216331
216387
  };
216332
216388
  //#endregion
216333
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/ToolkitRenderer.js
216389
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ToolkitRenderer.js
216334
216390
  /**
216335
216391
  * @since 1.0.0
216336
216392
  */
@@ -216352,7 +216408,269 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
216352
216408
  }) });
216353
216409
  };
216354
216410
  //#endregion
216355
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/AgentExecutor.js
216411
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ScriptPreprocessing.js
216412
+ const isIdentifierChar = (char) => char !== void 0 && /[A-Za-z0-9_$]/.test(char);
216413
+ const isIdentifierStartChar = (char) => char !== void 0 && /[A-Za-z_$]/.test(char);
216414
+ const hasIdentifierBoundary = (text, index, length) => !isIdentifierChar(text[index - 1]) && !isIdentifierChar(text[index + length]);
216415
+ const findNextIdentifier = (text, identifier, from) => {
216416
+ let index = text.indexOf(identifier, from);
216417
+ while (index !== -1) {
216418
+ if (hasIdentifierBoundary(text, index, identifier.length)) return index;
216419
+ index = text.indexOf(identifier, index + identifier.length);
216420
+ }
216421
+ return -1;
216422
+ };
216423
+ const skipWhitespace = (text, start) => {
216424
+ let i = start;
216425
+ while (i < text.length && /\s/.test(text[i])) i++;
216426
+ return i;
216427
+ };
216428
+ const parseIdentifier = (text, start) => {
216429
+ if (!isIdentifierStartChar(text[start])) return;
216430
+ let end = start + 1;
216431
+ while (end < text.length && isIdentifierChar(text[end])) end++;
216432
+ return {
216433
+ name: text.slice(start, end),
216434
+ end
216435
+ };
216436
+ };
216437
+ const isEscaped = (text, index) => {
216438
+ let slashCount = 0;
216439
+ let i = index - 1;
216440
+ while (i >= 0 && text[i] === "\\") {
216441
+ slashCount++;
216442
+ i--;
216443
+ }
216444
+ return slashCount % 2 === 1;
216445
+ };
216446
+ const needsTemplateEscaping = (text) => {
216447
+ for (let i = 0; i < text.length; i++) {
216448
+ const char = text[i];
216449
+ if (char === "`" && !isEscaped(text, i)) return true;
216450
+ if (char === "$" && text[i + 1] === "{" && !isEscaped(text, i)) return true;
216451
+ }
216452
+ return false;
216453
+ };
216454
+ const escapeTemplateLiteralContent = (text) => {
216455
+ if (!needsTemplateEscaping(text)) return text;
216456
+ let out = "";
216457
+ for (let i = 0; i < text.length; i++) {
216458
+ const char = text[i];
216459
+ if (char === "\\") {
216460
+ out += "\\\\";
216461
+ continue;
216462
+ }
216463
+ if (char === "`" && !isEscaped(text, i)) {
216464
+ out += "\\`";
216465
+ continue;
216466
+ }
216467
+ if (char === "$" && text[i + 1] === "{" && !isEscaped(text, i)) {
216468
+ out += "\\$";
216469
+ continue;
216470
+ }
216471
+ out += char;
216472
+ }
216473
+ return out;
216474
+ };
216475
+ const findTemplateEnd = (text, start, isTerminator) => {
216476
+ for (let i = start + 1; i < text.length; i++) {
216477
+ if (text[i] !== "`" || isEscaped(text, i)) continue;
216478
+ if (isTerminator(text[skipWhitespace(text, i + 1)])) return i;
216479
+ }
216480
+ return -1;
216481
+ };
216482
+ const findTypeAnnotationAssignment = (text, start) => {
216483
+ let i = start;
216484
+ while (i < text.length) {
216485
+ const char = text[i];
216486
+ if (char === "=") return i;
216487
+ if (char === "\n" || char === ";") return -1;
216488
+ i++;
216489
+ }
216490
+ return -1;
216491
+ };
216492
+ const fixCallTemplateArgument = (script, functionName, isTerminator) => {
216493
+ let out = script;
216494
+ let cursor = 0;
216495
+ while (cursor < out.length) {
216496
+ const callStart = findNextIdentifier(out, functionName, cursor);
216497
+ if (callStart === -1) break;
216498
+ const openParen = skipWhitespace(out, callStart + functionName.length);
216499
+ if (out[openParen] !== "(") {
216500
+ cursor = callStart + functionName.length;
216501
+ continue;
216502
+ }
216503
+ const templateStart = skipWhitespace(out, openParen + 1);
216504
+ if (out[templateStart] !== "`") {
216505
+ cursor = openParen + 1;
216506
+ continue;
216507
+ }
216508
+ const templateEnd = findTemplateEnd(out, templateStart, isTerminator);
216509
+ if (templateEnd === -1) {
216510
+ cursor = templateStart + 1;
216511
+ continue;
216512
+ }
216513
+ const original = out.slice(templateStart + 1, templateEnd);
216514
+ const escaped = escapeTemplateLiteralContent(original);
216515
+ if (escaped !== original) {
216516
+ out = `${out.slice(0, templateStart + 1)}${escaped}${out.slice(templateEnd)}`;
216517
+ cursor = templateEnd + (escaped.length - original.length) + 1;
216518
+ continue;
216519
+ }
216520
+ cursor = templateEnd + 1;
216521
+ }
216522
+ return out;
216523
+ };
216524
+ const collectCallArgumentIdentifiers = (script, functionName) => {
216525
+ const out = /* @__PURE__ */ new Set();
216526
+ let cursor = 0;
216527
+ while (cursor < script.length) {
216528
+ const callStart = findNextIdentifier(script, functionName, cursor);
216529
+ if (callStart === -1) break;
216530
+ const openParen = skipWhitespace(script, callStart + functionName.length);
216531
+ if (script[openParen] !== "(") {
216532
+ cursor = callStart + functionName.length;
216533
+ continue;
216534
+ }
216535
+ const identifier = parseIdentifier(script, skipWhitespace(script, openParen + 1));
216536
+ if (identifier === void 0) {
216537
+ cursor = openParen + 1;
216538
+ continue;
216539
+ }
216540
+ const argumentEnd = skipWhitespace(script, identifier.end);
216541
+ if (script[argumentEnd] === ")" || script[argumentEnd] === ",") out.add(identifier.name);
216542
+ cursor = identifier.end;
216543
+ }
216544
+ return out;
216545
+ };
216546
+ const fixWriteFileContentTemplates = (script) => {
216547
+ let out = script;
216548
+ let cursor = 0;
216549
+ while (cursor < out.length) {
216550
+ const callStart = findNextIdentifier(out, "writeFile", cursor);
216551
+ if (callStart === -1) break;
216552
+ const openParen = skipWhitespace(out, callStart + 9);
216553
+ if (out[openParen] !== "(") {
216554
+ cursor = callStart + 9;
216555
+ continue;
216556
+ }
216557
+ const contentKey = findNextIdentifier(out, "content", openParen + 1);
216558
+ if (contentKey === -1) {
216559
+ cursor = openParen + 1;
216560
+ continue;
216561
+ }
216562
+ const colon = skipWhitespace(out, contentKey + 7);
216563
+ if (out[colon] !== ":") {
216564
+ cursor = contentKey + 7;
216565
+ continue;
216566
+ }
216567
+ const templateStart = skipWhitespace(out, colon + 1);
216568
+ if (out[templateStart] !== "`") {
216569
+ cursor = templateStart + 1;
216570
+ continue;
216571
+ }
216572
+ const templateEnd = findTemplateEnd(out, templateStart, (char) => char === "}" || char === ",");
216573
+ if (templateEnd === -1) {
216574
+ cursor = templateStart + 1;
216575
+ continue;
216576
+ }
216577
+ const original = out.slice(templateStart + 1, templateEnd);
216578
+ const escaped = escapeTemplateLiteralContent(original);
216579
+ if (escaped !== original) {
216580
+ out = `${out.slice(0, templateStart + 1)}${escaped}${out.slice(templateEnd)}`;
216581
+ cursor = templateEnd + (escaped.length - original.length) + 1;
216582
+ continue;
216583
+ }
216584
+ cursor = templateEnd + 1;
216585
+ }
216586
+ return out;
216587
+ };
216588
+ const collectWriteFileContentIdentifiers = (script) => {
216589
+ const out = /* @__PURE__ */ new Set();
216590
+ let cursor = 0;
216591
+ while (cursor < script.length) {
216592
+ const callStart = findNextIdentifier(script, "writeFile", cursor);
216593
+ if (callStart === -1) break;
216594
+ const openParen = skipWhitespace(script, callStart + 9);
216595
+ if (script[openParen] !== "(") {
216596
+ cursor = callStart + 9;
216597
+ continue;
216598
+ }
216599
+ const contentKey = findNextIdentifier(script, "content", openParen + 1);
216600
+ if (contentKey === -1) {
216601
+ cursor = openParen + 1;
216602
+ continue;
216603
+ }
216604
+ const afterContent = skipWhitespace(script, contentKey + 7);
216605
+ if (script[afterContent] === ":") {
216606
+ const valueStart = skipWhitespace(script, afterContent + 1);
216607
+ const identifier = parseIdentifier(script, valueStart);
216608
+ if (identifier !== void 0) {
216609
+ const valueEnd = skipWhitespace(script, identifier.end);
216610
+ if (script[valueEnd] === "}" || script[valueEnd] === ",") out.add(identifier.name);
216611
+ }
216612
+ cursor = valueStart + 1;
216613
+ continue;
216614
+ }
216615
+ if (script[afterContent] === "}" || script[afterContent] === ",") {
216616
+ out.add("content");
216617
+ cursor = afterContent + 1;
216618
+ continue;
216619
+ }
216620
+ cursor = afterContent + 1;
216621
+ }
216622
+ return out;
216623
+ };
216624
+ const fixAssignedTemplate = (script, variableName) => {
216625
+ let out = script;
216626
+ let cursor = 0;
216627
+ while (cursor < out.length) {
216628
+ const variableStart = findNextIdentifier(out, variableName, cursor);
216629
+ if (variableStart === -1) break;
216630
+ let assignmentStart = skipWhitespace(out, variableStart + variableName.length);
216631
+ if (out[assignmentStart] === ":") {
216632
+ assignmentStart = findTypeAnnotationAssignment(out, assignmentStart + 1);
216633
+ if (assignmentStart === -1) {
216634
+ cursor = variableStart + variableName.length;
216635
+ continue;
216636
+ }
216637
+ }
216638
+ if (out[assignmentStart] !== "=" || out[assignmentStart + 1] === "=" || out[assignmentStart + 1] === ">") {
216639
+ cursor = variableStart + variableName.length;
216640
+ continue;
216641
+ }
216642
+ const templateStart = skipWhitespace(out, assignmentStart + 1);
216643
+ if (out[templateStart] !== "`") {
216644
+ cursor = templateStart + 1;
216645
+ continue;
216646
+ }
216647
+ const templateEnd = findTemplateEnd(out, templateStart, (char) => char === void 0 || char === ";" || char === "," || char === ")" || char === "}" || char === "]");
216648
+ if (templateEnd === -1) {
216649
+ cursor = templateStart + 1;
216650
+ continue;
216651
+ }
216652
+ const original = out.slice(templateStart + 1, templateEnd);
216653
+ const escaped = escapeTemplateLiteralContent(original);
216654
+ if (escaped !== original) {
216655
+ out = `${out.slice(0, templateStart + 1)}${escaped}${out.slice(templateEnd)}`;
216656
+ cursor = templateEnd + (escaped.length - original.length) + 1;
216657
+ continue;
216658
+ }
216659
+ cursor = templateEnd + 1;
216660
+ }
216661
+ return out;
216662
+ };
216663
+ const fixAssignedTemplatesForToolCalls = (script) => {
216664
+ const identifiers = /* @__PURE__ */ new Set();
216665
+ for (const functionName of ["applyPatch", "taskComplete"]) for (const identifier of collectCallArgumentIdentifiers(script, functionName)) identifiers.add(identifier);
216666
+ for (const identifier of collectWriteFileContentIdentifiers(script)) identifiers.add(identifier);
216667
+ let out = script;
216668
+ for (const identifier of identifiers) out = fixAssignedTemplate(out, identifier);
216669
+ return out;
216670
+ };
216671
+ const preprocessScript = (script) => fixAssignedTemplatesForToolCalls(["applyPatch", "taskComplete"].reduce((current, functionName) => fixCallTemplateArgument(current, functionName, (char) => char === ")"), fixWriteFileContentTemplates(script)));
216672
+ //#endregion
216673
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/AgentExecutor.js
216356
216674
  /**
216357
216675
  * @since 1.0.0
216358
216676
  */
@@ -216402,9 +216720,7 @@ const makeLocal = fnUntraced(function* (options) {
216402
216720
  yield* gen(function* () {
216403
216721
  const console = yield* Console$1;
216404
216722
  let running = 0;
216405
- const vmScript = new NodeVm.Script(`async function main() {
216406
- ${opts.script}
216407
- }`);
216723
+ const vmScript = compileScript(opts.script);
216408
216724
  const sandbox = {
216409
216725
  main: defaultMain,
216410
216726
  console,
@@ -216500,6 +216816,23 @@ var Rpcs = class extends make$26(make$28("capabilities", { success: Capabilities
216500
216816
  success: ExecuteOutput,
216501
216817
  stream: true
216502
216818
  })) {};
216819
+ const wrapScript = (script) => `async function main() {
216820
+ ${script}
216821
+ }`;
216822
+ const compileScript = (script) => {
216823
+ try {
216824
+ return new NodeVm.Script(wrapScript(script));
216825
+ } catch (error) {
216826
+ if (!(error instanceof SyntaxError)) throw error;
216827
+ const preprocessed = preprocessScript(script);
216828
+ if (preprocessed === script) throw error;
216829
+ try {
216830
+ return new NodeVm.Script(wrapScript(preprocessed));
216831
+ } catch {
216832
+ throw error;
216833
+ }
216834
+ }
216835
+ };
216503
216836
  const defaultMain = () => Promise.resolve();
216504
216837
  const makeConsole = fn(function* (queue) {
216505
216838
  const writable = new QueueWriteStream(queue);
@@ -216522,7 +216855,7 @@ var QueueWriteStream = class extends Writable {
216522
216855
  }
216523
216856
  };
216524
216857
  //#endregion
216525
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/ScriptExtraction.js
216858
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/ScriptExtraction.js
216526
216859
  const stripWrappingCodeFence = (script) => {
216527
216860
  const lines = script.split(/\r?\n/);
216528
216861
  if (lines.length < 2) return script;
@@ -216547,7 +216880,7 @@ const stripWrappingCodeFence = (script) => {
216547
216880
  return lines.slice(firstNonEmpty + 1, lastNonEmpty).join(newLine);
216548
216881
  };
216549
216882
  //#endregion
216550
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Prompt.js
216883
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Prompt.js
216551
216884
  /**
216552
216885
  * The `Prompt` module provides several data structures to simplify creating and
216553
216886
  * combining prompts.
@@ -217086,7 +217419,7 @@ const setSystem = /* @__PURE__ */ dual(2, (self, content) => {
217086
217419
  return makePrompt(messages);
217087
217420
  });
217088
217421
  //#endregion
217089
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/IdGenerator.js
217422
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/IdGenerator.js
217090
217423
  /**
217091
217424
  * The `IdGenerator` service tag for dependency injection.
217092
217425
  *
@@ -217155,7 +217488,7 @@ const makeGenerator = ({ alphabet = DEFAULT_ALPHABET, prefix, separator = DEFAUL
217155
217488
  */
217156
217489
  const defaultIdGenerator = { generateId: /* @__PURE__ */ makeGenerator({ prefix: "id" }) };
217157
217490
  //#endregion
217158
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
217491
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
217159
217492
  /** @internal */
217160
217493
  const defaultCodecTransformer$1 = (codec) => {
217161
217494
  const document = toJsonSchemaDocument(codec);
@@ -217167,7 +217500,7 @@ const defaultCodecTransformer$1 = (codec) => {
217167
217500
  };
217168
217501
  };
217169
217502
  //#endregion
217170
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
217503
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
217171
217504
  /**
217172
217505
  * @since 4.0.0
217173
217506
  */
@@ -217224,7 +217557,7 @@ const make$8 = /* @__PURE__ */ sync(() => {
217224
217557
  };
217225
217558
  });
217226
217559
  //#endregion
217227
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/Telemetry.js
217560
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/Telemetry.js
217228
217561
  /**
217229
217562
  * The `Telemetry` module provides OpenTelemetry integration for operations
217230
217563
  * performed against a large language model provider by defining telemetry
@@ -217340,7 +217673,7 @@ const addGenAIAnnotations$2 = /* @__PURE__ */ dual(2, (span, options) => {
217340
217673
  */
217341
217674
  var CurrentSpanTransformer = class extends Service$1()("effect/ai/Telemetry/CurrentSpanTransformer") {};
217342
217675
  //#endregion
217343
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/LanguageModel.js
217676
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/LanguageModel.js
217344
217677
  /**
217345
217678
  * The `LanguageModel` service key for dependency injection.
217346
217679
  *
@@ -217820,6 +218153,7 @@ const make$7 = /* @__PURE__ */ fnUntraced(function* (params) {
217820
218153
  }
217821
218154
  const decodeParts = decodeEffect(NonEmptyArray(StreamPart(toolkit)));
217822
218155
  const queue = yield* make$73();
218156
+ const deferredFinishParts = [];
217823
218157
  if (preResolvedStreamParts.length > 0) yield* offerAll(queue, preResolvedStreamParts);
217824
218158
  const toolCallFibers = yield* make$54();
217825
218159
  const handleToolCall = fnUntraced(function* (part) {
@@ -217846,9 +218180,12 @@ const make$7 = /* @__PURE__ */ fnUntraced(function* (params) {
217846
218180
  if (tracker) {
217847
218181
  for (const part of parts) if (part.type === "response-metadata" && part.id) tracker.markParts(providerOptions.prompt.content, part.id);
217848
218182
  }
217849
- yield* offerAll(queue, parts);
218183
+ const immediateParts = [];
218184
+ for (const part of parts) if (part.type === "finish") deferredFinishParts.push(part);
218185
+ else immediateParts.push(part);
218186
+ if (immediateParts.length > 0) yield* offerAll(queue, immediateParts);
217850
218187
  for (const part of chunk) if (part.type === "tool-call" && part.providerExecuted !== true) yield* run$2(toolCallFibers, handleToolCall(part));
217851
- })), andThen(raceFirst(join$1(toolCallFibers), awaitEmpty(toolCallFibers))), andThen(end(queue)), tapCause((cause) => failCause$1(queue, cause)), forkScoped);
218188
+ })), andThen(raceFirst(join$1(toolCallFibers), awaitEmpty(toolCallFibers))), andThen(deferredFinishParts.length > 0 ? offerAll(queue, deferredFinishParts) : void_$2), andThen(end(queue)), tapCause((cause) => failCause$1(queue, cause)), forkScoped);
217852
218189
  return fromQueue(queue);
217853
218190
  });
217854
218191
  return {
@@ -218067,7 +218404,7 @@ const applySpanTransformer = (transformer, response, options) => {
218067
218404
  });
218068
218405
  };
218069
218406
  //#endregion
218070
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/Agent.js
218407
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/Agent.js
218071
218408
  /**
218072
218409
  * @since 1.0.0
218073
218410
  */
@@ -218554,7 +218891,7 @@ Union$2([
218554
218891
  */
218555
218892
  var AgentFinished = class extends TaggedErrorClass()("AgentFinished", { summary: String$1 }) {};
218556
218893
  //#endregion
218557
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/encoding/Sse.js
218894
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/encoding/Sse.js
218558
218895
  /**
218559
218896
  * @since 4.0.0
218560
218897
  * @category Decoding
@@ -218737,7 +219074,7 @@ var Retry = class Retry extends TaggedClass$2("Retry") {
218737
219074
  }
218738
219075
  };
218739
219076
  //#endregion
218740
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/Generated.js
219077
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/Generated.js
218741
219078
  /**
218742
219079
  * @since 1.0.0
218743
219080
  */ const AdminApiKey = /* @__PURE__ */ Struct$2({
@@ -226805,7 +227142,7 @@ const OpenAiClientError = (tag, cause, response) => new OpenAiClientErrorImpl({
226805
227142
  request: response.request
226806
227143
  });
226807
227144
  //#endregion
226808
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/internal/errors.js
227145
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/internal/errors.js
226809
227146
  /** @internal */
226810
227147
  const OpenAiErrorBody$1 = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
226811
227148
  message: String$1,
@@ -227018,7 +227355,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
227018
227355
  }
227019
227356
  };
227020
227357
  //#endregion
227021
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
227358
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
227022
227359
  /**
227023
227360
  * @since 1.0.0
227024
227361
  */
@@ -227033,7 +227370,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
227033
227370
  static getOrUndefined = /* @__PURE__ */ map$9(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
227034
227371
  };
227035
227372
  //#endregion
227036
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/OpenAiClient.js
227373
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/OpenAiClient.js
227037
227374
  /**
227038
227375
  * OpenAI Client module for interacting with OpenAI's API.
227039
227376
  *
@@ -227250,7 +227587,7 @@ const decodeEvent = /* @__PURE__ */ decodeUnknownSync(/* @__PURE__ */ fromJsonSt
227250
227587
  */
227251
227588
  const layerWebSocketMode = /* @__PURE__ */ effectServices(makeSocket);
227252
227589
  //#endregion
227253
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
227590
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/OpenAiEmbeddingModel.js
227254
227591
  /**
227255
227592
  * OpenAI Embedding Model implementation.
227256
227593
  *
@@ -227330,7 +227667,7 @@ const invalidOutput = (description) => make$15({
227330
227667
  reason: new InvalidOutputError({ description })
227331
227668
  });
227332
227669
  //#endregion
227333
- //#region node_modules/.pnpm/effect@4.0.0-beta.35/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
227670
+ //#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@60fcbcc_338176017269832da8fd53d4c1e8e0b3/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
227334
227671
  /**
227335
227672
  * Provides codec transformations for OpenAI structured output.
227336
227673
  *
@@ -227635,7 +227972,7 @@ const formats = [
227635
227972
  "uuid"
227636
227973
  ];
227637
227974
  //#endregion
227638
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/internal/utilities.js
227975
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/internal/utilities.js
227639
227976
  const finishReasonMap$1 = {
227640
227977
  content_filter: "content-filter",
227641
227978
  function_call: "tool-calls",
@@ -227653,7 +227990,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
227653
227990
  return reason;
227654
227991
  };
227655
227992
  //#endregion
227656
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
227993
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
227657
227994
  /**
227658
227995
  * OpenAI telemetry attributes for OpenTelemetry integration.
227659
227996
  *
@@ -227682,7 +228019,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
227682
228019
  }
227683
228020
  });
227684
228021
  //#endregion
227685
- //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
228022
+ //#region node_modules/.pnpm/@effect+ai-openai@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@_6773b28fe45a0dd14799503b7a3fe668/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
227686
228023
  /**
227687
228024
  * OpenAI Language Model implementation.
227688
228025
  *
@@ -229397,7 +229734,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
229397
229734
  })));
229398
229735
  });
229399
229736
  //#endregion
229400
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/CodexAuth.js
229737
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/CodexAuth.js
229401
229738
  /**
229402
229739
  * @since 1.0.0
229403
229740
  */
@@ -229617,7 +229954,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
229617
229954
  static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
229618
229955
  };
229619
229956
  //#endregion
229620
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/Codex.js
229957
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/Codex.js
229621
229958
  /**
229622
229959
  * @since 1.0.0
229623
229960
  */
@@ -229638,12 +229975,12 @@ const layerModel = (model, options) => layer$2({
229638
229975
  store: false,
229639
229976
  reasoning: {
229640
229977
  effort: options?.reasoning?.effort ?? "medium",
229641
- summary: "auto"
229978
+ summary: options?.reasoning?.summary ?? "detailed"
229642
229979
  }
229643
229980
  }
229644
229981
  }).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
229645
229982
  //#endregion
229646
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
229983
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
229647
229984
  /** @internal */
229648
229985
  const OpenAiErrorBody = /* @__PURE__ */ Struct$2({ error: /* @__PURE__ */ Struct$2({
229649
229986
  message: String$1,
@@ -229851,7 +230188,7 @@ const mapStatusCodeToReason = ({ status, headers, message, metadata, http }) =>
229851
230188
  }
229852
230189
  };
229853
230190
  //#endregion
229854
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
230191
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
229855
230192
  /**
229856
230193
  * @since 1.0.0
229857
230194
  */
@@ -229866,7 +230203,7 @@ var OpenAiConfig = class OpenAiConfig extends Service$1()("@effect/ai-openai-com
229866
230203
  static getOrUndefined = /* @__PURE__ */ map$9(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig.key));
229867
230204
  };
229868
230205
  //#endregion
229869
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
230206
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
229870
230207
  /**
229871
230208
  * @since 1.0.0
229872
230209
  */
@@ -230002,7 +230339,7 @@ const decodeChatCompletionSseData = (data) => {
230002
230339
  return isChatCompletionChunk(parsed) ? parsed : void 0;
230003
230340
  };
230004
230341
  //#endregion
230005
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
230342
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
230006
230343
  const finishReasonMap = {
230007
230344
  content_filter: "content-filter",
230008
230345
  function_call: "tool-calls",
@@ -230018,7 +230355,7 @@ const resolveFinishReason = (finishReason, hasToolCalls) => {
230018
230355
  return reason;
230019
230356
  };
230020
230357
  //#endregion
230021
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
230358
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
230022
230359
  /**
230023
230360
  * OpenAI telemetry attributes for OpenTelemetry integration.
230024
230361
  *
@@ -230047,7 +230384,7 @@ const addGenAIAnnotations = /* @__PURE__ */ dual(2, (span, options) => {
230047
230384
  }
230048
230385
  });
230049
230386
  //#endregion
230050
- //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
230387
+ //#region node_modules/.pnpm/@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-TS+effect-smol+_ed5d8a73c9e908efc4998fa08f2a4481/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
230051
230388
  /**
230052
230389
  * OpenAI Language Model implementation.
230053
230390
  *
@@ -230929,7 +231266,7 @@ const getUsageDetailNumber = (details, field) => {
230929
231266
  return typeof value === "number" ? value : void 0;
230930
231267
  };
230931
231268
  //#endregion
230932
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/CopilotAuth.js
231269
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/CopilotAuth.js
230933
231270
  /**
230934
231271
  * @since 1.0.0
230935
231272
  */
@@ -231120,7 +231457,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
231120
231457
  static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
231121
231458
  };
231122
231459
  //#endregion
231123
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/Copilot.js
231460
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/Copilot.js
231124
231461
  /**
231125
231462
  * @since 1.0.0
231126
231463
  */
@@ -231540,7 +231877,7 @@ Object.defineProperties(createChalk.prototype, styles);
231540
231877
  const chalk = createChalk();
231541
231878
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
231542
231879
  //#endregion
231543
- //#region node_modules/.pnpm/clanka@0.2.10_@effect+ai-openai-compat@4.0.0-beta.35_effect@4.0.0-beta.35__@effect+ai-o_85846d8cd1adb3e5ef4a2c90c1e1ce73/node_modules/clanka/dist/OutputFormatter.js
231880
+ //#region node_modules/.pnpm/clanka@0.2.14_@effect+ai-openai-compat@4.0.0-beta.35_effect@https+++pkg.pr.new+Effect-T_c289ea4fac9e27bcca2bfdaf553f0a09/node_modules/clanka/dist/OutputFormatter.js
231544
231881
  /**
231545
231882
  * @since 1.0.0
231546
231883
  */
@@ -231548,35 +231885,39 @@ createChalk({ level: stderrColor ? stderrColor.level : 0 });
231548
231885
  * @since 1.0.0
231549
231886
  * @category Pretty
231550
231887
  */
231551
- const pretty = (stream) => stream.pipe(map$7((output) => {
231552
- let prefix = "";
231553
- if (output._tag === "SubagentPart") {
231554
- prefix = chalk.magenta(`Subagent #${output.id}:`) + " ";
231555
- output = output.part;
231556
- }
231557
- switch (output._tag) {
231558
- case "AgentStart": return `${chalkAgentHeading(`${subagentIcon} Agent #${output.id} starting (${output.modelAndProvider})`)}\n\n${promptToString(output.prompt)}\n\n`;
231559
- case "SubagentStart": return `${chalkSubagentHeading(`${subagentIcon} Subagent #${output.id} starting (${output.modelAndProvider})`)}
231888
+ const pretty = (options) => {
231889
+ const maxLines = typeof options?.outputTruncation === "number" ? options.outputTruncation : 20;
231890
+ const truncate = options?.outputTruncation === true || typeof options?.outputTruncation === "number" ? (text) => {
231891
+ const lines = text.split("\n");
231892
+ if (lines.length > maxLines) return lines.slice(0, maxLines).join("\n") + `\n... (truncated, total ${lines.length} lines)`;
231893
+ return text;
231894
+ } : identity;
231895
+ return (stream) => stream.pipe(map$7((output) => {
231896
+ let prefix = "";
231897
+ if (output._tag === "SubagentPart") {
231898
+ prefix = chalk.magenta(`Subagent #${output.id}:`) + " ";
231899
+ output = output.part;
231900
+ }
231901
+ switch (output._tag) {
231902
+ case "AgentStart": return `${chalkAgentHeading(`${subagentIcon} Agent #${output.id} starting (${output.modelAndProvider})`)}\n\n${promptToString(output.prompt)}\n\n`;
231903
+ case "SubagentStart": return `${chalkSubagentHeading(`${subagentIcon} Subagent #${output.id} starting (${output.modelAndProvider})`)}
231560
231904
 
231561
231905
  ${chalk.dim(output.prompt)}\n\n`;
231562
- case "SubagentComplete": return `${chalkSubagentHeading(`${subagentIcon} Subagent #${output.id} complete`)}
231906
+ case "SubagentComplete": return `${chalkSubagentHeading(`${subagentIcon} Subagent #${output.id} complete`)}
231563
231907
 
231564
231908
  ${output.summary}\n\n`;
231565
- case "ReasoningStart": return prefix + chalkReasoningHeading(`${thinkingIcon} Thinking:`) + " ";
231566
- case "ReasoningDelta": return output.delta;
231567
- case "ReasoningEnd": return "\n\n";
231568
- case "ScriptStart": return `${prefix}${chalkScriptHeading(`${scriptIcon} Executing script`)}\n\n`;
231569
- case "ScriptDelta": return chalk.dim(output.delta);
231570
- case "ScriptEnd": return "\n\n";
231571
- case "ScriptOutput": {
231572
- const lines = output.output.split("\n");
231573
- const truncated = lines.length > 20 ? lines.slice(0, 20).join("\n") + "\n... (truncated)" : output.output;
231574
- return `${prefix}${chalkScriptHeading(`${scriptIcon} Script output`)}\n\n${chalk.dim(truncated)}\n\n`;
231575
- }
231576
- case "ErrorRetry": return `${prefix}${chalk.red(`Error: ${output.error.reason._tag}. Retrying...`)}\n\n${chalk.dim(pretty$1(fail$7(output.error)))}\n\n`;
231577
- case "Usage": return `${prefix}${chalkInfoHeading(`${infoIcon} Usage:`)} ${numberFormat.format(output.contextTokens)} context / ${numberFormat.format(output.inputTokens)} input / ${numberFormat.format(output.outputTokens)} output\n\n`;
231578
- }
231579
- }), catchTag("AgentFinished", (finished) => succeed$1(`\n${chalk.bold.green(`${doneIcon} Task complete:`)}\n\n${finished.summary}`)));
231909
+ case "ReasoningStart": return prefix + chalkReasoningHeading(`${thinkingIcon} Thinking:`) + " ";
231910
+ case "ReasoningDelta": return output.delta;
231911
+ case "ReasoningEnd": return "\n\n";
231912
+ case "ScriptStart": return `${prefix}${chalkScriptHeading(`${scriptIcon} Executing script`)}\n\n`;
231913
+ case "ScriptDelta": return chalk.dim(output.delta);
231914
+ case "ScriptEnd": return "\n\n";
231915
+ case "ScriptOutput": return `${prefix}${chalkScriptHeading(`${scriptIcon} Script output`)}\n\n${chalk.dim(truncate(output.output))}\n\n`;
231916
+ case "ErrorRetry": return `${prefix}${chalk.red(`Error: ${output.error.reason._tag}. Retrying...`)}\n\n${chalk.dim(pretty$1(fail$7(output.error)))}\n\n`;
231917
+ case "Usage": return `${prefix}${chalkInfoHeading(`${infoIcon} Usage:`)} ${numberFormat.format(output.contextTokens)} context / ${numberFormat.format(output.inputTokens)} input / ${numberFormat.format(output.outputTokens)} output\n\n`;
231918
+ }
231919
+ }), catchTag("AgentFinished", (finished) => succeed$1(`\n${chalk.bold.green(`${doneIcon} Task complete:`)}\n\n${finished.summary}`)));
231920
+ };
231580
231921
  const promptToString = (prompt) => {
231581
231922
  let textParts = [];
231582
231923
  for (const message of prompt.content) {
@@ -240107,7 +240448,7 @@ const ClankaMuxerLayer = effectDiscard(gen(function* () {
240107
240448
  const muxer = yield* Muxer;
240108
240449
  const stdio = yield* Stdio;
240109
240450
  yield* muxer.output.pipe(run$8(stdio.stdout()), forkScoped);
240110
- })).pipe(provideMerge(layerMuxer(pretty)));
240451
+ })).pipe(provideMerge(layerMuxer(pretty())));
240111
240452
  const SemanticSearchLayer = unwrap$3(gen(function* () {
240112
240453
  const worktree = yield* Worktree;
240113
240454
  const pathService = yield* Path$1;
@@ -240926,7 +241267,7 @@ const commandEdit = make$58("edit").pipe(withDescription("Open the selected proj
240926
241267
  const commandSource = make$58("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
240927
241268
  //#endregion
240928
241269
  //#region package.json
240929
- var version = "0.3.81";
241270
+ var version = "0.3.83";
240930
241271
  //#endregion
240931
241272
  //#region src/commands/projects/ls.ts
240932
241273
  const commandProjectsLs = make$58("ls").pipe(withDescription("List configured projects and how they run (enabled state, concurrency, branch, git flow, review agent)."), withHandler(fnUntraced(function* () {