@foldkit/devtools-mcp 0.22.0-canary.8d43089f4065 → 0.22.0-canary.93afb016d72a

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 (2) hide show
  1. package/dist/server.js +115 -95
  2. package/package.json +7 -7
package/dist/server.js CHANGED
@@ -33,7 +33,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  }) : target, mod));
34
34
  var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
35
35
  //#endregion
36
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Pipeable.js
36
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Pipeable.js
37
37
  /**
38
38
  * The `Pipeable` module defines the shared interface and implementation helpers
39
39
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -135,7 +135,7 @@ const Class$1 = /*#__PURE__*/ function() {
135
135
  return PipeableBase;
136
136
  }();
137
137
  //#endregion
138
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Function.js
138
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Function.js
139
139
  /**
140
140
  * Creates a function that can be called in data-first style or data-last
141
141
  * (`pipe`-friendly) style.
@@ -469,7 +469,7 @@ function memoizeIdempotent(f) {
469
469
  };
470
470
  }
471
471
  //#endregion
472
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/equal.js
472
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/equal.js
473
473
  /** @internal */
474
474
  const getAllObjectKeys = (obj) => {
475
475
  const keys = new Set(Reflect.ownKeys(obj));
@@ -488,7 +488,7 @@ const getAllObjectKeys = (obj) => {
488
488
  /** @internal */
489
489
  const byReferenceInstances = /*#__PURE__*/ new WeakSet();
490
490
  //#endregion
491
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Predicate.js
491
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Predicate.js
492
492
  /**
493
493
  * Defines runtime checks for values.
494
494
  *
@@ -894,7 +894,7 @@ const hasProperty = /*#__PURE__*/ dual(2, (self, property) => isObjectKeyword(se
894
894
  */
895
895
  const isTagged = /*#__PURE__*/ dual(2, (self, tag) => hasProperty(self, "_tag") && self["_tag"] === tag);
896
896
  //#endregion
897
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Hash.js
897
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Hash.js
898
898
  /**
899
899
  * Computes Effect hash values and defines the interface for objects that want
900
900
  * to provide their own hash implementation. Hashes are small numeric
@@ -1303,7 +1303,7 @@ function withVisitedTracking$1(obj, fn) {
1303
1303
  return result;
1304
1304
  }
1305
1305
  //#endregion
1306
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Equal.js
1306
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Equal.js
1307
1307
  /**
1308
1308
  * Defines the unique string identifier for the `Equal` interface.
1309
1309
  *
@@ -1529,7 +1529,7 @@ const compareSets = /*#__PURE__*/ makeCompareSet(compareBoth);
1529
1529
  */
1530
1530
  const isEqual = (u) => hasProperty(u, symbol);
1531
1531
  //#endregion
1532
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Equivalence.js
1532
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Equivalence.js
1533
1533
  /**
1534
1534
  * Creates a custom equivalence relation with an optimized reference equality check.
1535
1535
  *
@@ -1580,14 +1580,14 @@ const isEqual = (u) => hasProperty(u, symbol);
1580
1580
  */
1581
1581
  const make$19 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1582
1582
  //#endregion
1583
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/array.js
1583
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/array.js
1584
1584
  /**
1585
1585
  * @since 2.0.0
1586
1586
  */
1587
1587
  /** @internal */
1588
1588
  const isArrayNonEmpty$1 = (self) => self.length > 0;
1589
1589
  //#endregion
1590
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/count.js
1590
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/count.js
1591
1591
  /**
1592
1592
  * Normalizes a collection count to a non-negative integer. `NaN` and
1593
1593
  * non-positive values become `0`; positive infinity is preserved.
@@ -1596,7 +1596,7 @@ const isArrayNonEmpty$1 = (self) => self.length > 0;
1596
1596
  */
1597
1597
  const normalize$1 = (n) => n > 0 ? Math.floor(n) : 0;
1598
1598
  //#endregion
1599
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/record.js
1599
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/record.js
1600
1600
  /** @internal */
1601
1601
  function assignProperty(self, key, value) {
1602
1602
  if (key === "__proto__") Object.defineProperty(self, key, {
@@ -1612,7 +1612,7 @@ function assignProperties(self, source) {
1612
1612
  for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
1613
1613
  }
1614
1614
  //#endregion
1615
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Redactable.js
1615
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Redactable.js
1616
1616
  /**
1617
1617
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1618
1618
  * protocol.
@@ -1731,7 +1731,7 @@ const emptyContext$1 = {
1731
1731
  }
1732
1732
  };
1733
1733
  //#endregion
1734
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Formatter.js
1734
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Formatter.js
1735
1735
  /**
1736
1736
  * Formats JavaScript values into readable strings.
1737
1737
  *
@@ -1975,7 +1975,7 @@ function formatJson(input, options) {
1975
1975
  }, options?.space) ?? "null";
1976
1976
  }
1977
1977
  //#endregion
1978
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Inspectable.js
1978
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Inspectable.js
1979
1979
  /**
1980
1980
  * Controls how values appear in logs and debugging output.
1981
1981
  *
@@ -2124,7 +2124,7 @@ const BaseProto = {
2124
2124
  }
2125
2125
  };
2126
2126
  //#endregion
2127
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/stackTraceLimit.js
2127
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/stackTraceLimit.js
2128
2128
  /**
2129
2129
  * Check if `Error.stackTraceLimit` is writable.
2130
2130
  * Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
@@ -2156,7 +2156,7 @@ const setStackTraceLimit = (value) => {
2156
2156
  if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
2157
2157
  };
2158
2158
  //#endregion
2159
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Utils.js
2159
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Utils.js
2160
2160
  /**
2161
2161
  * Yields its wrapped value exactly once through an `IterableIterator`.
2162
2162
  *
@@ -2243,7 +2243,7 @@ const pickInternalCall = () => {
2243
2243
  /** @internal */
2244
2244
  const internalCall = /*#__PURE__*/ pickInternalCall();
2245
2245
  //#endregion
2246
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/core.js
2246
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/core.js
2247
2247
  /** @internal */
2248
2248
  const EffectTypeId = `~effect/Effect`;
2249
2249
  /** @internal */
@@ -2606,7 +2606,7 @@ const done$2 = (value) => {
2606
2606
  return exitFail(Done(value));
2607
2607
  };
2608
2608
  //#endregion
2609
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/option.js
2609
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/option.js
2610
2610
  /**
2611
2611
  * @since 2.0.0
2612
2612
  */
@@ -2677,7 +2677,7 @@ SomeImpl.prototype = SomeProto;
2677
2677
  /** @internal */
2678
2678
  const some$1 = (value) => new SomeImpl(value);
2679
2679
  //#endregion
2680
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/result.js
2680
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/result.js
2681
2681
  const TypeId$24 = "~effect/Result";
2682
2682
  const CommonProto = {
2683
2683
  [TypeId$24]: {
@@ -2751,7 +2751,7 @@ SuccessImpl.prototype = SuccessProto;
2751
2751
  /** @internal */
2752
2752
  const succeed$7 = (success) => new SuccessImpl(success);
2753
2753
  //#endregion
2754
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Order.js
2754
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Order.js
2755
2755
  /**
2756
2756
  * Defines comparison functions for ordered values.
2757
2757
  *
@@ -3057,7 +3057,7 @@ const isGreaterThanOrEqualTo$1 = (O) => dual(2, (self, that) => O(self, that) !=
3057
3057
  */
3058
3058
  const min$1 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
3059
3059
  //#endregion
3060
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Option.js
3060
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Option.js
3061
3061
  /**
3062
3062
  * Creates an `Option` representing the absence of a value.
3063
3063
  *
@@ -3463,7 +3463,7 @@ const filter$1 = /*#__PURE__*/ dual(2, (self, predicate) => isNone(self) ? none(
3463
3463
  */
3464
3464
  const exists = /*#__PURE__*/ dual(2, (self, refinement) => isNone(self) ? false : refinement(self.value));
3465
3465
  //#endregion
3466
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Result.js
3466
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Result.js
3467
3467
  /**
3468
3468
  * Creates a `Result` holding a `Success` value.
3469
3469
  *
@@ -3604,7 +3604,7 @@ const isFailure = isFailure$1;
3604
3604
  */
3605
3605
  const isSuccess$1 = isSuccess$2;
3606
3606
  //#endregion
3607
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Array.js
3607
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Array.js
3608
3608
  /**
3609
3609
  * Exposes the global array constructor.
3610
3610
  *
@@ -3974,7 +3974,7 @@ const filter = /*#__PURE__*/ dual(2, (self, predicate) => {
3974
3974
  return out;
3975
3975
  });
3976
3976
  //#endregion
3977
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/BigDecimal.js
3977
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/BigDecimal.js
3978
3978
  /**
3979
3979
  * Decimal numbers and arithmetic for cases where JavaScript `number` rounding
3980
3980
  * is not precise enough. A `BigDecimal` stores digits as a `bigint` plus a
@@ -4374,7 +4374,7 @@ const isZero$1 = (n) => n.value === bigint0$2;
4374
4374
  */
4375
4375
  const isNegative$1 = (n) => n.value < bigint0$2;
4376
4376
  //#endregion
4377
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/BigInt.js
4377
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/BigInt.js
4378
4378
  /**
4379
4379
  * Exposes the global bigint constructor for JavaScript bigint coercion.
4380
4380
  *
@@ -4437,7 +4437,7 @@ const toNumber = (b) => {
4437
4437
  return some(Number(b));
4438
4438
  };
4439
4439
  //#endregion
4440
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Effectable.js
4440
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Effectable.js
4441
4441
  /**
4442
4442
  * Create a low-level `Effect` prototype.
4443
4443
  *
@@ -4462,7 +4462,7 @@ const Prototype = (options) => makePrimitiveProto({
4462
4462
  [evaluate]: options.evaluate
4463
4463
  });
4464
4464
  //#endregion
4465
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Context.js
4465
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Context.js
4466
4466
  /**
4467
4467
  * Runtime type identifier attached to `Context` service keys and used by
4468
4468
  * `isKey` to recognize them.
@@ -5061,7 +5061,7 @@ const mergeAll$1 = (...ctxs) => {
5061
5061
  */
5062
5062
  const Reference = Service;
5063
5063
  //#endregion
5064
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Duration.js
5064
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Duration.js
5065
5065
  const TypeId$21 = "~effect/Duration";
5066
5066
  const bigint0$1 = /*#__PURE__*/ BigInt(0);
5067
5067
  const bigint1$1 = /*#__PURE__*/ BigInt(1);
@@ -5776,7 +5776,7 @@ const format = (self) => {
5776
5776
  return pieces.join(" ");
5777
5777
  };
5778
5778
  //#endregion
5779
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Scheduler.js
5779
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Scheduler.js
5780
5780
  /**
5781
5781
  * Controls how runnable Effect fiber tasks are dispatched.
5782
5782
  *
@@ -6085,7 +6085,7 @@ const Error$1 = Error$2;
6085
6085
  const TaggedError = TaggedError$1;
6086
6086
  TaggedError("EncodingError");
6087
6087
  //#endregion
6088
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Tracer.js
6088
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Tracer.js
6089
6089
  /**
6090
6090
  * Defines the low-level tracing model used by Effect.
6091
6091
  *
@@ -6132,11 +6132,11 @@ Service()(ParentSpanKey, { fiberCached: true });
6132
6132
  */
6133
6133
  const TracerKey = "effect/Tracer";
6134
6134
  //#endregion
6135
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/metric.js
6135
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/metric.js
6136
6136
  /** @internal */
6137
6137
  const FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
6138
6138
  //#endregion
6139
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/references.js
6139
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/references.js
6140
6140
  /** @internal */
6141
6141
  const CurrentStackFrame = /*#__PURE__*/ Reference("effect/References/CurrentStackFrame", {
6142
6142
  fiberCached: true,
@@ -6162,7 +6162,7 @@ const MinimumLogLevel = /*#__PURE__*/ Reference("effect/References/MinimumLogLev
6162
6162
  /** @internal */
6163
6163
  const CurrentLogSpans = /*#__PURE__*/ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
6164
6164
  //#endregion
6165
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/effect.js
6165
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/effect.js
6166
6166
  /** @internal */
6167
6167
  var Interrupt = class extends ReasonBase {
6168
6168
  constructor(fiberId, annotations = constEmptyAnnotations) {
@@ -7802,7 +7802,7 @@ const tracerLogger = /*#__PURE__*/ loggerMake(({ cause, fiber, logLevel, message
7802
7802
  span.event(toStringUnknown(Array.isArray(message) && message.length === 1 ? message[0] : message), clock.currentTimeNanosUnsafe(), attributes);
7803
7803
  });
7804
7804
  //#endregion
7805
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Cause.js
7805
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Cause.js
7806
7806
  /**
7807
7807
  * Records the full reason an `Effect` failed.
7808
7808
  *
@@ -7998,7 +7998,7 @@ const done$1 = done$2;
7998
7998
  Service()("effect/Cause/StackTrace");
7999
7999
  Service()("effect/Cause/InterruptorStackTrace");
8000
8000
  //#endregion
8001
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Exit.js
8001
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Exit.js
8002
8002
  /**
8003
8003
  * Creates a successful Exit containing the given value.
8004
8004
  *
@@ -8319,7 +8319,7 @@ const doneUnsafe = (self, effect) => {
8319
8319
  return true;
8320
8320
  };
8321
8321
  //#endregion
8322
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Scope.js
8322
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Scope.js
8323
8323
  /**
8324
8324
  * Controls how long resources stay open.
8325
8325
  *
@@ -8504,7 +8504,7 @@ const forkUnsafe = scopeForkUnsafe;
8504
8504
  */
8505
8505
  const close = scopeClose;
8506
8506
  //#endregion
8507
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Layer.js
8507
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Layer.js
8508
8508
  const TypeId$19 = "~effect/Layer";
8509
8509
  const MemoMapTypeId = "~effect/Layer/MemoMap";
8510
8510
  const memoMapReuse = (entry, scope) => {
@@ -9044,7 +9044,7 @@ const mergeAllEffect = (layers, memoMap, scope) => {
9044
9044
  */
9045
9045
  const mergeAll = (...layers) => fromBuild((memoMap, scope) => mergeAllEffect(layers, memoMap, scope));
9046
9046
  //#endregion
9047
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/dateTime.js
9047
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/dateTime.js
9048
9048
  /** @internal */
9049
9049
  const TypeId$18 = "~effect/DateTime";
9050
9050
  /** @internal */
@@ -9091,7 +9091,7 @@ globalThis.String;
9091
9091
  */
9092
9092
  const endsWith = (searchString, position) => (self) => self.endsWith(searchString, position);
9093
9093
  //#endregion
9094
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Pull.js
9094
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Pull.js
9095
9095
  /**
9096
9096
  * Models one low-level pull step for stream-like consumers.
9097
9097
  *
@@ -9235,7 +9235,7 @@ const matchEffect$1 = /*#__PURE__*/ dual(2, (self, options) => matchCauseEffect(
9235
9235
  }
9236
9236
  }));
9237
9237
  //#endregion
9238
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Schedule.js
9238
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Schedule.js
9239
9239
  const TypeId$17 = "~effect/Schedule";
9240
9240
  /**
9241
9241
  * Context reference containing metadata for the currently running schedule step.
@@ -9600,12 +9600,12 @@ const while_ = /*#__PURE__*/ dual(2, (self, predicate) => fromStep(map$3(toStep(
9600
9600
  */
9601
9601
  const forever$1 = /*#__PURE__*/ spaced(zero);
9602
9602
  //#endregion
9603
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/layer.js
9603
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/layer.js
9604
9604
  const provideLayer = (self, layer, options) => scopedWith((scope) => flatMap$1(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext(self, context)));
9605
9605
  /** @internal */
9606
9606
  const provide$1 = /*#__PURE__*/ dual((args) => isEffect(args[0]), (self, source, options) => isContext(source) ? provideContext(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
9607
9607
  //#endregion
9608
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schedule.js
9608
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schedule.js
9609
9609
  /** @internal */
9610
9610
  const retryOrElse = /*#__PURE__*/ dual(3, (self, policy, orElse) => flatMap$1(toStepWithMetadata(policy), (step) => {
9611
9611
  let meta = CurrentMetadata.defaultValue();
@@ -9640,7 +9640,7 @@ const buildFromOptions = (options) => {
9640
9640
  return schedule;
9641
9641
  };
9642
9642
  //#endregion
9643
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Effect.js
9643
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Effect.js
9644
9644
  /**
9645
9645
  * Executes an effectful operation for each element in an `Iterable`.
9646
9646
  *
@@ -11770,7 +11770,7 @@ const catchEager = catchEager$1;
11770
11770
  */
11771
11771
  const fnUntracedEager = fnUntracedEager$1;
11772
11772
  //#endregion
11773
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/annotations.js
11773
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/annotations.js
11774
11774
  /** @internal */
11775
11775
  function resolve$1(ast) {
11776
11776
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -11828,7 +11828,7 @@ const annotationExcludedKeys = /*#__PURE__*/ new Set([
11828
11828
  "toCodecArbitrary"
11829
11829
  ]);
11830
11830
  //#endregion
11831
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/parser.js
11831
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/parser.js
11832
11832
  /** @internal */
11833
11833
  const missing = /*#__PURE__*/ Symbol();
11834
11834
  /** @internal */
@@ -11842,7 +11842,7 @@ const toOption = (value) => value === missing ? none() : some(value);
11842
11842
  /** @internal */
11843
11843
  const fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed(option.value);
11844
11844
  //#endregion
11845
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaIssue.js
11845
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaIssue.js
11846
11846
  /**
11847
11847
  * Describes problems found while decoding, encoding, or checking data with
11848
11848
  * schemas.
@@ -12327,7 +12327,7 @@ function findMessage(issue) {
12327
12327
  if (typeof message === "string") return message;
12328
12328
  }
12329
12329
  //#endregion
12330
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/cause.js
12330
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/cause.js
12331
12331
  /** @internal */
12332
12332
  function getSchemaIssue(cause) {
12333
12333
  let issue;
@@ -12345,7 +12345,7 @@ function getSchemaIssueOrThrow(cause, message) {
12345
12345
  }
12346
12346
  Service()("effect/DateTime/CurrentTimeZone");
12347
12347
  //#endregion
12348
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaGetter.js
12348
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaGetter.js
12349
12349
  const makeGetter = (fields) => Object.assign(Object.create(Prototype$1), fields);
12350
12350
  const passthrough_$1 = /*#__PURE__*/ makeGetter({ _tag: "Passthrough" });
12351
12351
  function passthrough$1() {
@@ -12657,7 +12657,7 @@ function stringifyJson(options) {
12657
12657
  }));
12658
12658
  }
12659
12659
  //#endregion
12660
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/ByteSize.js
12660
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/ByteSize.js
12661
12661
  const bigint0 = /*#__PURE__*/ BigInt(0);
12662
12662
  const bigint1 = /*#__PURE__*/ BigInt(1);
12663
12663
  const decimalBase = /*#__PURE__*/ BigInt(1e3);
@@ -12897,7 +12897,7 @@ const fromInputUnsafe = (input) => {
12897
12897
  */
12898
12898
  const bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
12899
12899
  //#endregion
12900
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaTransformation.js
12900
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaTransformation.js
12901
12901
  /**
12902
12902
  * Constructs schema middleware from its decode and encode functions.
12903
12903
  *
@@ -13164,7 +13164,7 @@ function fromJsonString$1(options) {
13164
13164
  return new Transformation(parseJson(options ?? {}), stringifyJson(options));
13165
13165
  }
13166
13166
  //#endregion
13167
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaAST.js
13167
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaAST.js
13168
13168
  /**
13169
13169
  * Represents Effect schemas as runtime trees.
13170
13170
  *
@@ -15045,7 +15045,7 @@ const unknownToStringTree = /*#__PURE__*/ new Link(/* @__PURE__ */ new Declarati
15045
15045
  toCodecStringTree: () => void 0
15046
15046
  }), /*#__PURE__*/ passthrough());
15047
15047
  //#endregion
15048
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Fiber.js
15048
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Fiber.js
15049
15049
  /**
15050
15050
  * Interrupts a fiber, causing it to stop executing and clean up any
15051
15051
  * acquired resources.
@@ -15087,7 +15087,7 @@ const unknownToStringTree = /*#__PURE__*/ new Link(/* @__PURE__ */ new Declarati
15087
15087
  */
15088
15088
  const interrupt = fiberInterrupt;
15089
15089
  //#endregion
15090
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/MutableRef.js
15090
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/MutableRef.js
15091
15091
  const TypeId$13 = "~effect/MutableRef";
15092
15092
  const MutableRefProto = {
15093
15093
  [TypeId$13]: TypeId$13,
@@ -15191,7 +15191,7 @@ const set$3 = /*#__PURE__*/ dual(2, (self, value) => {
15191
15191
  return self;
15192
15192
  });
15193
15193
  //#endregion
15194
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/MutableList.js
15194
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/MutableList.js
15195
15195
  /**
15196
15196
  * Defines the unique symbol used to represent an empty result when taking elements from a MutableList.
15197
15197
  * This symbol is returned by `take` when the list is empty, allowing for safe type checking.
@@ -15390,7 +15390,7 @@ const take = (self) => {
15390
15390
  return message;
15391
15391
  };
15392
15392
  //#endregion
15393
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Queue.js
15393
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Queue.js
15394
15394
  const TypeId$12 = "~effect/Queue";
15395
15395
  const EnqueueTypeId = "~effect/Queue/Enqueue";
15396
15396
  const DequeueTypeId = "~effect/Queue/Dequeue";
@@ -15682,8 +15682,8 @@ const endUnsafe = (self) => failCauseUnsafe(self, causeFail(Done()));
15682
15682
  *
15683
15683
  * **Details**
15684
15684
  *
15685
- * The operation is idempotent and returns `true`, including when the queue has
15686
- * already been shut down or completed.
15685
+ * Returns `true` when the queue is shut down by this call, or `false` when it
15686
+ * has already been shut down or completed.
15687
15687
  *
15688
15688
  * **Example** (Shutting down queues)
15689
15689
  *
@@ -15708,21 +15708,41 @@ const endUnsafe = (self) => failCauseUnsafe(self, causeFail(Done()));
15708
15708
  * await Effect.runPromise(program) // => { wasShutdown: true, size: 0 }
15709
15709
  * ```
15710
15710
  *
15711
+ * @see {@link shutdownUnsafe} for synchronous shutdown
15711
15712
  * @category completion
15712
15713
  * @since 2.0.0
15713
15714
  */
15714
- const shutdown = (self) => sync$1(() => {
15715
- if (self.state._tag === "Done") return true;
15715
+ const shutdown = (self) => sync$1(() => shutdownUnsafe(self));
15716
+ /**
15717
+ * Shuts down the queue synchronously, discarding buffered messages and resuming
15718
+ * pending operations.
15719
+ *
15720
+ * **When to use**
15721
+ *
15722
+ * Use when a synchronous callback must discard buffered messages and settle
15723
+ * pending queue operations before returning.
15724
+ *
15725
+ * **Details**
15726
+ *
15727
+ * An open queue completes with an interruption. A queue already closing retains
15728
+ * its completion cause. Call `failCauseUnsafe` first to shut down with a specific
15729
+ * failure. Returns `true` when the queue is shut down by this call, or `false`
15730
+ * when it has already been shut down or completed.
15731
+ *
15732
+ * @see {@link shutdown} for the effectful variant
15733
+ * @see {@link failCauseUnsafe} to set a failure before discarding buffered messages
15734
+ * @category completion
15735
+ * @since 4.0.0
15736
+ */
15737
+ const shutdownUnsafe = (self) => {
15738
+ if (self.state._tag === "Done") return false;
15716
15739
  clear(self.messages);
15717
15740
  const offers = self.state.offers;
15718
15741
  finalize$1(self, self.state._tag === "Open" ? exitInterrupt : self.state.exit);
15719
- if (offers.size > 0) {
15720
- for (const entry of offers) if (entry._tag === "Single") entry.resume(exitFalse);
15721
- else entry.resume(exitSucceed(entry.remaining.slice(entry.offset)));
15722
- offers.clear();
15723
- }
15742
+ for (const entry of offers) if (entry._tag === "Single") entry.resume(exitFalse);
15743
+ else entry.resume(exitSucceed(entry.remaining.slice(entry.offset)));
15724
15744
  return true;
15725
- });
15745
+ };
15726
15746
  /**
15727
15747
  * Takes all currently available messages, waiting until at least one message
15728
15748
  * is available when the queue is empty.
@@ -16097,7 +16117,7 @@ const unwrap$2 = (channel) => fromTransform$1((upstream, scope) => {
16097
16117
  }));
16098
16118
  });
16099
16119
  //#endregion
16100
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/hashMap.js
16120
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/hashMap.js
16101
16121
  /**
16102
16122
  * @since 2.0.0
16103
16123
  */
@@ -16640,7 +16660,7 @@ const remove$2 = /*#__PURE__*/ dual(2, (self, key) => {
16640
16660
  return removeHash(self, key, hash(key));
16641
16661
  });
16642
16662
  //#endregion
16643
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/HashMap.js
16663
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/HashMap.js
16644
16664
  /**
16645
16665
  * Stores key/value entries in an immutable hash map.
16646
16666
  *
@@ -16745,7 +16765,7 @@ const set$1 = set$2;
16745
16765
  */
16746
16766
  const remove$1 = remove$2;
16747
16767
  //#endregion
16748
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/interpreter.js
16768
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/interpreter.js
16749
16769
  const flatMapTransformation = (result, current, f) => result === sameExit ? f(current) : flatMapEager(result, f);
16750
16770
  function compileTransformation(transformation) {
16751
16771
  if (transformation._tag === "Middleware") return (result, current, options) => {
@@ -16880,7 +16900,7 @@ function compile(ast, compile, compileField, base, specialize) {
16880
16900
  };
16881
16901
  }
16882
16902
  //#endregion
16883
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/compilerRegistry.js
16903
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/compilerRegistry.js
16884
16904
  /** @internal */
16885
16905
  const invalid = /*#__PURE__*/ Symbol();
16886
16906
  const cache = /*#__PURE__*/ new WeakMap();
@@ -16911,7 +16931,7 @@ function resolve(ast) {
16911
16931
  return entry;
16912
16932
  }
16913
16933
  //#endregion
16914
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaParser.js
16934
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaParser.js
16915
16935
  /**
16916
16936
  * Runs schemas against real values.
16917
16937
  *
@@ -17211,7 +17231,7 @@ function makeConstructorSync(ast) {
17211
17231
  const normalCompiler = (ast) => resolve(ast).parser;
17212
17232
  const constructorCompiler = (ast) => resolve(ast).makeEffect;
17213
17233
  //#endregion
17214
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/make.js
17234
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/make.js
17215
17235
  /** @internal */
17216
17236
  const TypeId$10 = "~effect/Schema/Schema";
17217
17237
  const SchemaProto = {
@@ -17243,7 +17263,7 @@ function make$6(ast, options) {
17243
17263
  return self;
17244
17264
  }
17245
17265
  //#endregion
17246
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/JsonPointer.js
17266
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/JsonPointer.js
17247
17267
  /**
17248
17268
  * Helpers for escaping JSON Pointer path segments and converting JSON Pointer
17249
17269
  * URI fragments. JSON Pointer uses `/` to separate path tokens inside a JSON
@@ -17340,7 +17360,7 @@ function decodeUriFragment(fragment) {
17340
17360
  }
17341
17361
  }
17342
17362
  //#endregion
17343
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/JsonSchema.js
17363
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/JsonSchema.js
17344
17364
  /**
17345
17365
  * Helpers for normalizing and converting JSON Schema and OpenAPI schema
17346
17366
  * documents. Supported inputs include JSON Schema Draft-07, Draft 2020-12,
@@ -17428,7 +17448,7 @@ const PRE_2020_TO_2020_COLLISIONS = [
17428
17448
  [...PRE_2020_TO_2020_COLLISIONS];
17429
17449
  [...PRE_2020_TO_2020_COLLISIONS];
17430
17450
  //#endregion
17431
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/toCodec.js
17451
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/toCodec.js
17432
17452
  /** @internal */
17433
17453
  const toCodecJsonAST = /*#__PURE__*/ applyToSelfOrLastLinkEncodingIdempotent((ast) => {
17434
17454
  const out = toCodecJsonASTStep(ast, toCodecJsonAST);
@@ -17582,14 +17602,14 @@ globalThis.RegExp;
17582
17602
  */
17583
17603
  const escape$1 = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
17584
17604
  //#endregion
17585
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/errors.js
17605
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/errors.js
17586
17606
  /** @internal */
17587
17607
  function errorWithPath(message, path) {
17588
17608
  if (path.length > 0) message += `\n at ${formatPath(path)}`;
17589
17609
  return new Error(message);
17590
17610
  }
17591
17611
  //#endregion
17592
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
17612
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
17593
17613
  function formatDefinitionReference(key) {
17594
17614
  return `#/$defs/${formatUriFragmentToken(key)}`;
17595
17615
  }
@@ -18097,7 +18117,7 @@ function toJsonSchemaDocument$1(document, options) {
18097
18117
  };
18098
18118
  }
18099
18119
  //#endregion
18100
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/toRepresentation.js
18120
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/toRepresentation.js
18101
18121
  const defaultReferencePolicy = ({ identifier }) => identifier;
18102
18122
  function annotationsField(annotations) {
18103
18123
  return annotations === void 0 ? void 0 : { annotations };
@@ -18363,7 +18383,7 @@ function toRepresentations(asts, options) {
18363
18383
  }
18364
18384
  }
18365
18385
  //#endregion
18366
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Struct.js
18386
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Struct.js
18367
18387
  /**
18368
18388
  * Wraps a plain function as a {@link Lambda} value so it can be used with
18369
18389
  * {@link map}, {@link mapPick}, and {@link mapOmit}.
@@ -18402,7 +18422,7 @@ function toRepresentations(asts, options) {
18402
18422
  */
18403
18423
  const lambda = (f) => f;
18404
18424
  //#endregion
18405
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schemaError.js
18425
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schemaError.js
18406
18426
  const SchemaErrorTypeId = "~effect/Schema/SchemaError";
18407
18427
  function isSchemaError$1(u) {
18408
18428
  return hasProperty(u, "~effect/Schema/SchemaError") && u["~effect/Schema/SchemaError"] === "~effect/Schema/SchemaError";
@@ -18412,7 +18432,7 @@ TaggedError("CookiesError");
18412
18432
  ({ ...BaseProto });
18413
18433
  ({ ...PipeInspectableProto });
18414
18434
  //#endregion
18415
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Schema.js
18435
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Schema.js
18416
18436
  const TypeId$7 = TypeId$10;
18417
18437
  /**
18418
18438
  * Creates a schema for a **parametric** type (a generic container such as
@@ -19801,7 +19821,7 @@ function toJsonSchemaDocument(schema, options) {
19801
19821
  */
19802
19822
  const toCodecStringTree = toCodecStringTree$1;
19803
19823
  //#endregion
19804
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/PlatformError.js
19824
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/PlatformError.js
19805
19825
  /**
19806
19826
  * Normalized errors for platform APIs.
19807
19827
  *
@@ -19953,7 +19973,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
19953
19973
  */
19954
19974
  const badArgument = (options) => new PlatformError(new BadArgument(options));
19955
19975
  //#endregion
19956
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/stream.js
19976
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/stream.js
19957
19977
  const TypeId$5 = "~effect/Stream";
19958
19978
  const streamVariance = {
19959
19979
  _R: identity,
@@ -19972,7 +19992,7 @@ Stream.prototype = {
19972
19992
  /** @internal */
19973
19993
  const fromChannel$2 = (channel) => new Stream(channel);
19974
19994
  //#endregion
19975
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Sink.js
19995
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Sink.js
19976
19996
  const TypeId$4 = "~effect/Sink";
19977
19997
  const endVoid = /*#__PURE__*/ succeed$1([void 0]);
19978
19998
  const sinkVariance = {
@@ -20121,7 +20141,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap(f)
20121
20141
  */
20122
20142
  const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$1(effect, toChannel$1)));
20123
20143
  //#endregion
20124
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Stream.js
20144
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Stream.js
20125
20145
  /**
20126
20146
  * Creates a stream from a array-emitting `Channel`.
20127
20147
  *
@@ -20244,7 +20264,7 @@ const callback = (f, options) => fromChannel(callbackArray(f, options));
20244
20264
  */
20245
20265
  const unwrap = (effect) => fromChannel(unwrap$2(map$1(effect, toChannel)));
20246
20266
  //#endregion
20247
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/FileSystem.js
20267
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/FileSystem.js
20248
20268
  /**
20249
20269
  * Defines the portable file system service for Effect programs.
20250
20270
  *
@@ -20425,7 +20445,7 @@ const FileTypeId = "~effect/FileSystem/File";
20425
20445
  */
20426
20446
  var WatchBackend = class extends Service()("effect/FileSystem/WatchBackend") {};
20427
20447
  //#endregion
20428
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Path.js
20448
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Path.js
20429
20449
  /**
20430
20450
  * Provides path operations through the Effect environment.
20431
20451
  *
@@ -20519,7 +20539,7 @@ const TypeId$2 = "~effect/Path";
20519
20539
  */
20520
20540
  const Path$1 = /*#__PURE__*/ Service("effect/Path");
20521
20541
  //#endregion
20522
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/ConfigProvider.js
20542
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/ConfigProvider.js
20523
20543
  /**
20524
20544
  * Data sources used by `Config` to load raw configuration values. A
20525
20545
  * `ConfigProvider` reads paths from places such as environment variables,
@@ -20866,7 +20886,7 @@ function trieNodeAt(root, path) {
20866
20886
  return node;
20867
20887
  }
20868
20888
  //#endregion
20869
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Config.js
20889
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Config.js
20870
20890
  const TypeId$1 = "~effect/Config";
20871
20891
  /**
20872
20892
  * Represents the error type produced when config loading or validation fails.
@@ -21239,7 +21259,7 @@ function String$1(name) {
21239
21259
  return schema(String$2, name);
21240
21260
  }
21241
21261
  //#endregion
21242
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Console.js
21262
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Console.js
21243
21263
  /**
21244
21264
  * Context reference for the current console service in the Effect system, allowing access to the active console implementation from within the Effect context.
21245
21265
  *
@@ -21442,7 +21462,7 @@ const exhaustive = (self) => {
21442
21462
  };
21443
21463
  };
21444
21464
  //#endregion
21445
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Match.js
21465
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Match.js
21446
21466
  /**
21447
21467
  * Builds pattern matchers for TypeScript values.
21448
21468
  *
@@ -21653,7 +21673,7 @@ const tagsExhaustive = tagsExhaustive$1;
21653
21673
  */
21654
21674
  const orElse = orElse$1;
21655
21675
  //#endregion
21656
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Ref.js
21676
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Ref.js
21657
21677
  /**
21658
21678
  * Stores fiber-safe mutable state inside Effect programs.
21659
21679
  *
@@ -21831,7 +21851,7 @@ const update = /*#__PURE__*/ dual(2, (self, f) => sync(() => {
21831
21851
  self.ref.current = f(self.ref.current);
21832
21852
  }));
21833
21853
  //#endregion
21834
- //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.116_effect@4.0.0-rc.116/node_modules/@effect/platform-node-shared/dist/internal/utils.js
21854
+ //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.117_effect@4.0.0-rc.117/node_modules/@effect/platform-node-shared/dist/internal/utils.js
21835
21855
  /** @internal */
21836
21856
  const handleErrnoException = (module, method) => (err, [path]) => {
21837
21857
  let reason = "Unknown";
@@ -21866,7 +21886,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
21866
21886
  });
21867
21887
  };
21868
21888
  //#endregion
21869
- //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.116_effect@4.0.0-rc.116/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
21889
+ //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.117_effect@4.0.0-rc.117/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
21870
21890
  /**
21871
21891
  * Shared Node-compatible implementation of Effect's `FileSystem` service.
21872
21892
  *
@@ -22240,7 +22260,7 @@ const makeFileSystem = /*#__PURE__*/ map$1(/*#__PURE__*/ serviceOption(WatchBack
22240
22260
  writeFile
22241
22261
  }));
22242
22262
  //#endregion
22243
- //#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-rc.116_effect@4.0.0-rc.116_redis@6.2.1_@opentelemetry+api@1.9.0_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
22263
+ //#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-rc.117_effect@4.0.0-rc.117_redis@6.2.1_@opentelemetry+api@1.9.0_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
22244
22264
  /**
22245
22265
  * Node.js `FileSystem` layer for programs that perform real filesystem I/O.
22246
22266
  *
@@ -22259,7 +22279,7 @@ const makeFileSystem = /*#__PURE__*/ map$1(/*#__PURE__*/ serviceOption(WatchBack
22259
22279
  */
22260
22280
  const layer$2 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
22261
22281
  //#endregion
22262
- //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.116_effect@4.0.0-rc.116/node_modules/@effect/platform-node-shared/dist/NodePath.js
22282
+ //#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-rc.117_effect@4.0.0-rc.117/node_modules/@effect/platform-node-shared/dist/NodePath.js
22263
22283
  /**
22264
22284
  * Node-backed provider for Effect's `Path` service.
22265
22285
  *
@@ -22297,7 +22317,7 @@ const fileUrlOps = (windows) => ({
22297
22317
  .../*#__PURE__*/ fileUrlOps(true)
22298
22318
  });
22299
22319
  //#endregion
22300
- //#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-rc.116_effect@4.0.0-rc.116_redis@6.2.1_@opentelemetry+api@1.9.0_/node_modules/@effect/platform-node/dist/NodePath.js
22320
+ //#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-rc.117_effect@4.0.0-rc.117_redis@6.2.1_@opentelemetry+api@1.9.0_/node_modules/@effect/platform-node/dist/NodePath.js
22301
22321
  /**
22302
22322
  * Node.js layers for Effect's `Path` service.
22303
22323
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foldkit/devtools-mcp",
3
- "version": "0.22.0-canary.8d43089f4065",
3
+ "version": "0.22.0-canary.93afb016d72a",
4
4
  "description": "MCP server exposing Foldkit DevTools to AI agents (Claude Code, Cursor, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/server.js",
@@ -16,25 +16,25 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "effect": "4.0.0-rc.116",
20
- "foldkit": "0.163.0-canary.8d43089f4065"
19
+ "effect": "4.0.0-rc.117",
20
+ "foldkit": "0.163.0-canary.93afb016d72a"
21
21
  },
22
22
  "dependencies": {
23
23
  "@modelcontextprotocol/sdk": "1.29.0",
24
24
  "ws": "^8.21.3"
25
25
  },
26
26
  "devDependencies": {
27
- "@effect/platform-node": "4.0.0-rc.116",
27
+ "@effect/platform-node": "4.0.0-rc.117",
28
28
  "@types/node": "^26.4.0",
29
29
  "@types/ws": "^8.18.1",
30
- "effect": "4.0.0-rc.116",
30
+ "effect": "4.0.0-rc.117",
31
31
  "rimraf": "^6.1.3",
32
32
  "rolldown": "^1.2.6",
33
33
  "typescript": "^7.0.2",
34
34
  "vite": "^8.2.2",
35
35
  "vitest": "^4.1.11",
36
- "foldkit": "0.163.0-canary.8d43089f4065",
37
- "@foldkit/vite-plugin": "0.24.0-canary.8d43089f4065"
36
+ "@foldkit/vite-plugin": "0.24.0-canary.93afb016d72a",
37
+ "foldkit": "0.163.0-canary.93afb016d72a"
38
38
  },
39
39
  "files": [
40
40
  "dist"