clanka 0.10.1 → 0.12.0

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 (103) hide show
  1. package/README.md +75 -0
  2. package/dist/Acp.d.ts +1 -1
  3. package/dist/Acp.d.ts.map +1 -1
  4. package/dist/Acp.js +112 -7
  5. package/dist/Acp.js.map +1 -1
  6. package/dist/Acp.test.js +178 -0
  7. package/dist/Acp.test.js.map +1 -1
  8. package/dist/Agent.d.ts.map +1 -1
  9. package/dist/Agent.js +26 -8
  10. package/dist/Agent.js.map +1 -1
  11. package/dist/AgentExecutor.js +15 -1
  12. package/dist/AgentExecutor.js.map +1 -1
  13. package/dist/AgentExecutor.test.js +24 -4
  14. package/dist/AgentExecutor.test.js.map +1 -1
  15. package/dist/AgentSkills.test.js +0 -1
  16. package/dist/AgentSkills.test.js.map +1 -1
  17. package/dist/AgentSubagents.test.js +16 -6
  18. package/dist/AgentSubagents.test.js.map +1 -1
  19. package/dist/AgentTools.d.ts +7 -0
  20. package/dist/AgentTools.d.ts.map +1 -1
  21. package/dist/AgentTools.js +7 -0
  22. package/dist/AgentTools.js.map +1 -1
  23. package/dist/McpConfig.d.ts +36 -0
  24. package/dist/McpConfig.d.ts.map +1 -0
  25. package/dist/McpConfig.js +182 -0
  26. package/dist/McpConfig.js.map +1 -0
  27. package/dist/McpConfig.test.d.ts +2 -0
  28. package/dist/McpConfig.test.d.ts.map +1 -0
  29. package/dist/McpConfig.test.js +163 -0
  30. package/dist/McpConfig.test.js.map +1 -0
  31. package/dist/McpServers.d.ts +176 -0
  32. package/dist/McpServers.d.ts.map +1 -0
  33. package/dist/McpServers.js +707 -0
  34. package/dist/McpServers.js.map +1 -0
  35. package/dist/McpServers.test.d.ts +2 -0
  36. package/dist/McpServers.test.d.ts.map +1 -0
  37. package/dist/McpServers.test.js +717 -0
  38. package/dist/McpServers.test.js.map +1 -0
  39. package/dist/TypeBuilder.d.ts +9 -0
  40. package/dist/TypeBuilder.d.ts.map +1 -1
  41. package/dist/TypeBuilder.js +24 -11
  42. package/dist/TypeBuilder.js.map +1 -1
  43. package/dist/TypeBuilder.test.js +33 -0
  44. package/dist/TypeBuilder.test.js.map +1 -1
  45. package/dist/bin/{Effect-2jPlJ8eu.mjs → Effect-DuThyCJ1.mjs} +155 -74
  46. package/dist/bin/Effect-DuThyCJ1.mjs.map +1 -0
  47. package/dist/bin/McpClient-CIiPyMDJ.mjs +36 -0
  48. package/dist/bin/McpClient-CIiPyMDJ.mjs.map +1 -0
  49. package/dist/bin/{OutputFormatter-BFAv48k9.mjs → OutputFormatter-BvIjvUmT.mjs} +3 -3
  50. package/dist/bin/{OutputFormatter-BFAv48k9.mjs.map → OutputFormatter-BvIjvUmT.mjs.map} +1 -1
  51. package/dist/bin/{Schema-D-7VuCiC.mjs → Schema-DcXUXpRg.mjs} +1069 -124
  52. package/dist/bin/Schema-DcXUXpRg.mjs.map +1 -0
  53. package/dist/bin/{SemanticSearch-Cb8aqvGv.mjs → SemanticSearch-CdGA4CIC.mjs} +27 -21
  54. package/dist/bin/SemanticSearch-CdGA4CIC.mjs.map +1 -0
  55. package/dist/bin/{Stream-DEu2tfCV.mjs → Stream-I9SRMlLj.mjs} +60 -45
  56. package/dist/bin/Stream-I9SRMlLj.mjs.map +1 -0
  57. package/dist/bin/cli.mjs +27217 -10325
  58. package/dist/bin/cli.mjs.map +1 -1
  59. package/dist/bin/{index.min-CI3qqohw.mjs → index.min-Bkz7vIWv.mjs} +7 -7
  60. package/dist/bin/index.min-Bkz7vIWv.mjs.map +1 -0
  61. package/dist/bin/rolldown-runtime-zY4HT0JA.mjs +30 -0
  62. package/dist/bin/{turndown.cjs-DK29wZw3.mjs → turndown.cjs-LntFxFyd.mjs} +2 -2
  63. package/dist/bin/{turndown.cjs-DK29wZw3.mjs.map → turndown.cjs-LntFxFyd.mjs.map} +1 -1
  64. package/dist/cli.js +46 -7
  65. package/dist/cli.js.map +1 -1
  66. package/dist/fixtures/McpFakeServer.d.ts +47 -0
  67. package/dist/fixtures/McpFakeServer.d.ts.map +1 -0
  68. package/dist/fixtures/McpFakeServer.js +112 -0
  69. package/dist/fixtures/McpFakeServer.js.map +1 -0
  70. package/dist/fixtures/McpStdioServer.d.ts +2 -0
  71. package/dist/fixtures/McpStdioServer.d.ts.map +1 -0
  72. package/dist/fixtures/McpStdioServer.js +53 -0
  73. package/dist/fixtures/McpStdioServer.js.map +1 -0
  74. package/dist/index.d.ts +4 -0
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +4 -0
  77. package/dist/index.js.map +1 -1
  78. package/package.json +14 -14
  79. package/src/Acp.test.ts +242 -0
  80. package/src/Acp.ts +141 -5
  81. package/src/Agent.ts +38 -10
  82. package/src/AgentExecutor.test.ts +31 -5
  83. package/src/AgentExecutor.ts +14 -1
  84. package/src/AgentSkills.test.ts +0 -1
  85. package/src/AgentSubagents.test.ts +20 -6
  86. package/src/AgentTools.ts +8 -0
  87. package/src/McpConfig.test.ts +238 -0
  88. package/src/McpConfig.ts +255 -0
  89. package/src/McpServers.test.ts +1050 -0
  90. package/src/McpServers.ts +1072 -0
  91. package/src/TypeBuilder.test.ts +70 -0
  92. package/src/TypeBuilder.ts +41 -14
  93. package/src/cli.ts +92 -8
  94. package/src/fixtures/McpFakeServer.ts +162 -0
  95. package/src/fixtures/McpStdioServer.ts +60 -0
  96. package/src/index.ts +5 -0
  97. package/dist/bin/Effect-2jPlJ8eu.mjs.map +0 -1
  98. package/dist/bin/McpClient-1W508adc.mjs +0 -14179
  99. package/dist/bin/McpClient-1W508adc.mjs.map +0 -1
  100. package/dist/bin/Schema-D-7VuCiC.mjs.map +0 -1
  101. package/dist/bin/SemanticSearch-Cb8aqvGv.mjs.map +0 -1
  102. package/dist/bin/Stream-DEu2tfCV.mjs.map +0 -1
  103. package/dist/bin/index.min-CI3qqohw.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Pipeable.js
1
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pipeable.js
2
2
  const pipeArguments = (self, args) => {
3
3
  switch (args.length) {
4
4
  case 0: return self;
@@ -27,7 +27,7 @@ const Class$2 = function() {
27
27
  return PipeableBase;
28
28
  }();
29
29
  //#endregion
30
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Function.js
30
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Function.js
31
31
  const dual = function(arity, body) {
32
32
  if (typeof arity === "function") return function() {
33
33
  return arity(arguments) ? body.apply(this, arguments) : (self) => body(self, ...arguments);
@@ -117,7 +117,7 @@ function memoizeIdempotent(f) {
117
117
  };
118
118
  }
119
119
  //#endregion
120
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/equal.js
120
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/equal.js
121
121
  const getAllObjectKeys = (obj) => {
122
122
  const keys = new Set(Reflect.ownKeys(obj));
123
123
  if (obj.constructor === Object) return keys;
@@ -135,13 +135,13 @@ const getAllObjectKeys = (obj) => {
135
135
  const byReferenceInstances = new WeakSet();
136
136
  const viewBytes = (view) => new Uint8Array(view.buffer, view.byteOffset, view.byteLength);
137
137
  //#endregion
138
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/hash.js
138
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hash.js
139
139
  let backEdges = 0;
140
140
  const addBackEdge = () => {
141
141
  backEdges++;
142
142
  };
143
143
  //#endregion
144
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Predicate.js
144
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Predicate.js
145
145
  function isString(input) {
146
146
  return typeof input === "string";
147
147
  }
@@ -203,7 +203,7 @@ function isIterable(input) {
203
203
  }
204
204
  const or = dual(2, (self, that) => (a) => self(a) || that(a));
205
205
  //#endregion
206
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Hash.js
206
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Hash.js
207
207
  const symbol$1 = "~effect/Hash";
208
208
  const hash = (self) => {
209
209
  switch (typeof self) {
@@ -292,7 +292,7 @@ const randomHashCache = new WeakMap();
292
292
  const hashCache = new WeakMap();
293
293
  const visitedObjects = new WeakSet();
294
294
  //#endregion
295
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Equal.js
295
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equal.js
296
296
  const symbol = "~effect/Equal";
297
297
  function equals$1() {
298
298
  if (arguments.length === 1) return (self) => compareBoth(self, arguments[0]);
@@ -402,12 +402,13 @@ function compareHashed(self, that, hashOf, equivalent) {
402
402
  const entryHash = (entry) => hash(entry[0]);
403
403
  const equalEntries = (self, that) => compareBoth(self[0], that[0]) && compareBoth(self[1], that[1]);
404
404
  const isEqual = (u) => hasProperty(u, symbol);
405
+ const asEquivalence = () => equals$1;
405
406
  const byReferenceUnsafe = (obj) => {
406
407
  byReferenceInstances.add(obj);
407
408
  return obj;
408
409
  };
409
410
  //#endregion
410
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Redactable.js
411
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Redactable.js
411
412
  const symbolRedactable = Symbol.for("~effect/Redactable");
412
413
  const isRedactable = (u) => hasProperty(u, symbolRedactable);
413
414
  function redact(u) {
@@ -429,7 +430,7 @@ const emptyContext$1 = {
429
430
  }
430
431
  };
431
432
  //#endregion
432
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Formatter.js
433
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Formatter.js
433
434
  function format$1(input, options) {
434
435
  const space = options?.space ?? 0;
435
436
  const ancestors = new WeakSet();
@@ -556,7 +557,7 @@ function isJsonPrimitiveWrapper(object) {
556
557
  return false;
557
558
  }
558
559
  //#endregion
559
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Inspectable.js
560
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Inspectable.js
560
561
  const NodeInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
561
562
  const toJson = (input) => {
562
563
  try {
@@ -596,7 +597,7 @@ var Class$1 = class {
596
597
  }
597
598
  };
598
599
  //#endregion
599
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/stackTraceLimit.js
600
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/stackTraceLimit.js
600
601
  const isStackTraceLimitWritable = () => {
601
602
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
602
603
  if (desc === void 0) return Object.isExtensible(Error);
@@ -608,7 +609,7 @@ const setStackTraceLimit = (value) => {
608
609
  if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
609
610
  };
610
611
  //#endregion
611
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Utils.js
612
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Utils.js
612
613
  var SingleShotGen = class {
613
614
  constructor(self) {
614
615
  this.value = self;
@@ -645,7 +646,7 @@ const pickInternalCall = () => {
645
646
  };
646
647
  const internalCall = pickInternalCall();
647
648
  //#endregion
648
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/record.js
649
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/record.js
649
650
  function assignProperty(self, key, value) {
650
651
  if (key === "__proto__") Object.defineProperty(self, key, {
651
652
  value,
@@ -659,7 +660,7 @@ function assignProperties(self, source) {
659
660
  for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
660
661
  }
661
662
  //#endregion
662
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/core.js
663
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/core.js
663
664
  const EffectTypeId = `~effect/Effect`;
664
665
  const ExitTypeId = `~effect/Exit`;
665
666
  const effectVariance = {
@@ -713,7 +714,7 @@ const EffectProto = {
713
714
  return {
714
715
  _id: "Effect",
715
716
  op: this[identifier],
716
- ...args in this ? { args: this[args] } : void 0
717
+ ..."~effect/Effect/args" in this ? { args: this[args] } : void 0
717
718
  };
718
719
  }
719
720
  };
@@ -828,6 +829,11 @@ const causeCombine = dual(2, (self, that) => {
828
829
  const newCause = new CauseImpl(dedupeReasons(self.reasons, that.reasons));
829
830
  return equals$1(self, newCause) ? self : newCause;
830
831
  });
832
+ const causeAddInterrupts = (self, interrupts) => {
833
+ const reasons = self.reasons.slice();
834
+ for (const reason of interrupts.reasons) if (isInterruptReason(reason) && !reasons.some((r) => isInterruptReason(r) && r.fiberId === reason.fiberId && r.annotations === reason.annotations)) reasons.push(reason);
835
+ return reasons.length === self.reasons.length ? self : new CauseImpl(reasons);
836
+ };
831
837
  const causeEmpty = new CauseImpl([]);
832
838
  const causeFail = (error) => new CauseImpl([new Fail(error)]);
833
839
  var Die = class extends ReasonBase {
@@ -865,7 +871,7 @@ function defaultEvaluate(_fiber) {
865
871
  const makePrimitiveProto = (options) => ({
866
872
  ...EffectProto,
867
873
  [identifier]: options.op,
868
- [evaluate]: options[evaluate] ?? defaultEvaluate,
874
+ [evaluate]: options["~effect/Effect/evaluate"] ?? defaultEvaluate,
869
875
  [contA]: options[contA],
870
876
  [contE]: options[contE],
871
877
  [contAll]: options[contAll]
@@ -899,7 +905,7 @@ const makeExit = (options) => {
899
905
  };
900
906
  },
901
907
  [symbol](that) {
902
- return isExit$1(that) && that._tag === this._tag && equals$1(this[args], that[args]);
908
+ return isExit$1(that) && that._tag === this._tag && equals$1(this["~effect/Effect/args"], that["~effect/Effect/args"]);
903
909
  },
904
910
  [symbol$1]() {
905
911
  return combine$1(string(options.op), hash(this[args]));
@@ -942,7 +948,7 @@ const exitFailCause = makeExit({
942
948
  cont = fiber.getCont(contE);
943
949
  }
944
950
  if (skippedHandler) cause = causeFromReasons(cause.reasons.filter((reason) => reason._tag !== "Fail"));
945
- cause = causeCombine(cause, interruptedCause);
951
+ cause = causeAddInterrupts(cause, interruptedCause);
946
952
  annotated = true;
947
953
  }
948
954
  return cont ? cont[contE](cause, fiber, annotated ? void 0 : this) : fiber.yieldWith(annotated ? exitFailCause(cause) : this);
@@ -1025,13 +1031,13 @@ const done$2 = (value) => {
1025
1031
  return exitFail(Done$1(value));
1026
1032
  };
1027
1033
  //#endregion
1028
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Effectable.js
1034
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effectable.js
1029
1035
  const Prototype = (options) => makePrimitiveProto({
1030
1036
  op: options.label,
1031
1037
  [evaluate]: options.evaluate
1032
1038
  });
1033
1039
  //#endregion
1034
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Equivalence.js
1040
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equivalence.js
1035
1041
  const make$7 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1036
1042
  const isStrictEquivalent = (x, y) => x === y;
1037
1043
  const strictEqual = () => isStrictEquivalent;
@@ -1050,7 +1056,7 @@ function Array_(item) {
1050
1056
  });
1051
1057
  }
1052
1058
  //#endregion
1053
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/option.js
1059
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/option.js
1054
1060
  const TypeId$8 = "~effect/Option";
1055
1061
  const CommonProto$1 = {
1056
1062
  [TypeId$8]: { _A: (_) => _ },
@@ -1112,7 +1118,7 @@ const SomeImpl = function(value) {
1112
1118
  SomeImpl.prototype = SomeProto;
1113
1119
  const some$1 = (value) => new SomeImpl(value);
1114
1120
  //#endregion
1115
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/result.js
1121
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/result.js
1116
1122
  const TypeId$7 = "~effect/Result";
1117
1123
  const CommonProto = {
1118
1124
  [TypeId$7]: {
@@ -1178,12 +1184,12 @@ const SuccessImpl = function(success) {
1178
1184
  SuccessImpl.prototype = SuccessProto;
1179
1185
  const succeed$5 = (success) => new SuccessImpl(success);
1180
1186
  //#endregion
1181
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Order.js
1187
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Order.js
1182
1188
  function make$6(compare) {
1183
1189
  return (self, that) => self === that ? 0 : compare(self, that);
1184
1190
  }
1185
1191
  const String$1 = make$6((self, that) => self < that ? -1 : 1);
1186
- const Number$1 = make$6((self, that) => {
1192
+ const Number$2 = make$6((self, that) => {
1187
1193
  if (globalThis.Number.isNaN(self) && globalThis.Number.isNaN(that)) return 0;
1188
1194
  if (globalThis.Number.isNaN(self)) return -1;
1189
1195
  if (globalThis.Number.isNaN(that)) return 1;
@@ -1191,7 +1197,7 @@ const Number$1 = make$6((self, that) => {
1191
1197
  });
1192
1198
  const BigInt$1 = make$6((self, that) => self < that ? -1 : 1);
1193
1199
  const mapInput = dual(2, (self, f) => make$6((b1, b2) => self(f(b1), f(b2))));
1194
- const Date$1 = mapInput(Number$1, (date) => date.getTime());
1200
+ const Date$1 = mapInput(Number$2, (date) => date.getTime());
1195
1201
  const isLessThan = (O) => dual(2, (self, that) => O(self, that) === -1);
1196
1202
  const isGreaterThan = (O) => dual(2, (self, that) => O(self, that) === 1);
1197
1203
  const isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
@@ -1199,7 +1205,7 @@ const isGreaterThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !==
1199
1205
  const min$2 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
1200
1206
  const max$1 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
1201
1207
  //#endregion
1202
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Option.js
1208
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Option.js
1203
1209
  const none = () => none$1;
1204
1210
  const some = some$1;
1205
1211
  const isOption = isOption$1;
@@ -1251,7 +1257,7 @@ const toArray = (self) => isNone(self) ? [] : [self.value];
1251
1257
  const filter = dual(2, (self, predicate) => isNone(self) ? none() : predicate(self.value) ? some(self.value) : none());
1252
1258
  const exists = dual(2, (self, refinement) => isNone(self) ? false : refinement(self.value));
1253
1259
  //#endregion
1254
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Context.js
1260
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Context.js
1255
1261
  const ServiceTypeId = "~effect/Context/Service";
1256
1262
  const Service = function() {
1257
1263
  function KeyClass() {}
@@ -1438,7 +1444,7 @@ const mergeAll$1 = (...ctxs) => {
1438
1444
  };
1439
1445
  const Reference = Service;
1440
1446
  //#endregion
1441
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Duration.js
1447
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Duration.js
1442
1448
  const TypeId$5 = "~effect/Duration";
1443
1449
  const bigint0$1 = BigInt(0);
1444
1450
  const bigint1 = BigInt(1);
@@ -1449,7 +1455,7 @@ const bigint60 = BigInt(60);
1449
1455
  const bigint1e3 = BigInt(1e3);
1450
1456
  const bigint1e6 = BigInt(1e6);
1451
1457
  const roundTiesAwayFromZero = (input) => BigInt(Math.sign(input) * Math.round(Math.abs(input)));
1452
- const roundMillisToNanos = (millis) => roundTiesAwayFromZero(millis * 1e6);
1458
+ const roundMillisToNanos = (millis) => Number.isInteger(millis) ? BigInt(millis) * bigint1e6 : roundTiesAwayFromZero(millis * 1e6);
1453
1459
  const fromNanosNumber = (nanos) => make$4(Number.isFinite(nanos) ? roundTiesAwayFromZero(nanos) : nanos);
1454
1460
  const parseNanos = (input, scale) => {
1455
1461
  const decimalIndex = input.indexOf(".");
@@ -1532,10 +1538,7 @@ const DurationProto = {
1532
1538
  [TypeId$5]: TypeId$5,
1533
1539
  [symbol$1]() {
1534
1540
  switch (this.value._tag) {
1535
- case "Millis": {
1536
- const nanos = this.value.millis * 1e6;
1537
- return Number.isFinite(nanos) ? hash(roundTiesAwayFromZero(nanos)) : number(this.value.millis);
1538
- }
1541
+ case "Millis": return hash(roundMillisToNanos(this.value.millis));
1539
1542
  case "Nanos": return hash(this.value.nanos);
1540
1543
  default: return structure(this.value);
1541
1544
  }
@@ -1740,10 +1743,10 @@ const format = (self) => {
1740
1743
  return pieces.join(" ");
1741
1744
  };
1742
1745
  //#endregion
1743
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/array.js
1746
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/array.js
1744
1747
  const isArrayNonEmpty$1 = (self) => self.length > 0;
1745
1748
  //#endregion
1746
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Result.js
1749
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Result.js
1747
1750
  const succeed$4 = succeed$5;
1748
1751
  const fail$4 = fail$5;
1749
1752
  const failVoid = fail$4(void 0);
@@ -1772,7 +1775,13 @@ const getOrThrowWith = dual(2, (self, onFailure) => {
1772
1775
  const getOrThrow = getOrThrowWith(identity);
1773
1776
  const flatMap$4 = dual(2, (self, f) => isFailure$1(self) ? fail$4(self.failure) : f(self.success));
1774
1777
  //#endregion
1775
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Iterable.js
1778
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Iterable.js
1779
+ const size$1 = (self) => {
1780
+ const iterator = self[Symbol.iterator]();
1781
+ let count = 0;
1782
+ while (!iterator.next().done) count++;
1783
+ return count;
1784
+ };
1776
1785
  const headUnsafe = (self) => {
1777
1786
  const result = self[Symbol.iterator]().next();
1778
1787
  if (result.done) throw new Error("headUnsafe: empty iterable");
@@ -1800,7 +1809,7 @@ const constEmptyIterator = { next() {
1800
1809
  } };
1801
1810
  const empty$3 = () => constEmpty;
1802
1811
  //#endregion
1803
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Array.js
1812
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Array.js
1804
1813
  const Array$1 = globalThis.Array;
1805
1814
  const fromIterable$1 = (collection) => Array$1.isArray(collection) ? collection : Array$1.from(collection);
1806
1815
  const match$2 = dual(2, (self, { onEmpty, onNonEmpty }) => isReadonlyArrayNonEmpty(self) ? onNonEmpty(self) : onEmpty());
@@ -1851,6 +1860,17 @@ const sort = dual(2, (self, O) => {
1851
1860
  out.sort(O);
1852
1861
  return out;
1853
1862
  });
1863
+ const hashBucketsAdd = (buckets, value) => {
1864
+ const hash$5 = hash(value);
1865
+ const bucket = buckets.get(hash$5);
1866
+ if (bucket === void 0) {
1867
+ buckets.set(hash$5, [value]);
1868
+ return true;
1869
+ }
1870
+ for (const previous of bucket) if (equals$1(previous, value)) return false;
1871
+ bucket.push(value);
1872
+ return true;
1873
+ };
1854
1874
  const empty$2 = () => [];
1855
1875
  const of = (a) => [a];
1856
1876
  const map$3 = dual(2, (self, f) => self.map(f));
@@ -1867,9 +1887,17 @@ const reduce = dual(3, (self, b, f) => fromIterable$1(self).reduce((b, a, i) =>
1867
1887
  const fromNullishOr = (a) => a == null ? empty$2() : [a];
1868
1888
  const flatMapNullishOr = dual(2, (self, f) => flatMap$3(self, (a) => fromNullishOr(f(a))));
1869
1889
  const makeEquivalence = Array_;
1890
+ const dedupe = (self) => {
1891
+ const input = fromIterable$1(self);
1892
+ if (input.length < 2) return [...input];
1893
+ const buckets = new Map();
1894
+ const out = [];
1895
+ for (const value of input) if (hashBucketsAdd(buckets, value)) out.push(value);
1896
+ return out;
1897
+ };
1870
1898
  const join = dual(2, (self, sep) => fromIterable$1(self).join(sep));
1871
1899
  //#endregion
1872
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Filter.js
1900
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Filter.js
1873
1901
  const toPredicate = (self) => (input) => !isFailure$1(self(input));
1874
1902
  const has$1 = (key) => (input) => input.has(key) ? succeed$4(input) : fail$4(input);
1875
1903
  const compose = dual(2, (left, right) => (input) => {
@@ -1877,12 +1905,19 @@ const compose = dual(2, (left, right) => (input) => {
1877
1905
  if (isFailure$1(leftOut)) return leftOut;
1878
1906
  return right(leftOut.success);
1879
1907
  });
1908
+ const composePassthrough = dual(2, (left, right) => (input) => {
1909
+ const leftOut = left(input);
1910
+ if (isFailure$1(leftOut)) return fail$4(input);
1911
+ const rightOut = right(leftOut.success);
1912
+ if (isFailure$1(rightOut)) return fail$4(input);
1913
+ return rightOut;
1914
+ });
1880
1915
  const toOption = (self) => (input) => {
1881
1916
  const result = self(input);
1882
1917
  return isFailure$1(result) ? none() : some(result.success);
1883
1918
  };
1884
1919
  //#endregion
1885
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Scheduler.js
1920
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scheduler.js
1886
1921
  const Scheduler = Reference("effect/Scheduler", {
1887
1922
  fiberCached: true,
1888
1923
  defaultValue: () => new MixedScheduler()
@@ -1986,7 +2021,7 @@ const PreventSchedulerYield = Reference("effect/Scheduler/PreventSchedulerYield"
1986
2021
  defaultValue: () => false
1987
2022
  });
1988
2023
  //#endregion
1989
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/encoding/Hex.js
2024
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/Hex.js
1990
2025
  const encode = (input) => typeof input === "string" ? hexEncodeUint8Array(encoder.encode(input)) : hexEncodeUint8Array(input);
1991
2026
  const random = (length) => {
1992
2027
  switch (length) {
@@ -2025,7 +2060,7 @@ const hexEncodeUint8Array = (bytes) => {
2025
2060
  return result;
2026
2061
  };
2027
2062
  //#endregion
2028
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Tracer.js
2063
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tracer.js
2029
2064
  const ParentSpanKey = "effect/Tracer/ParentSpan";
2030
2065
  var ParentSpan = class extends Service()(ParentSpanKey, { fiberCached: true }) {};
2031
2066
  const make$3 = (options) => options;
@@ -2096,10 +2131,10 @@ var NativeSpan = class {
2096
2131
  }
2097
2132
  };
2098
2133
  //#endregion
2099
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/metric.js
2134
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/metric.js
2100
2135
  const FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
2101
2136
  //#endregion
2102
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/references.js
2137
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/references.js
2103
2138
  const CurrentStackFrame = Reference("effect/References/CurrentStackFrame", {
2104
2139
  fiberCached: true,
2105
2140
  defaultValue: constUndefined
@@ -2122,7 +2157,7 @@ const MinimumLogLevel$1 = Reference("effect/References/MinimumLogLevel", {
2122
2157
  });
2123
2158
  const CurrentLogSpans$1 = Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
2124
2159
  //#endregion
2125
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/tracer.js
2160
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/tracer.js
2126
2161
  const addSpanStackTrace = (options) => {
2127
2162
  if (options?.captureStackTrace === false) return options;
2128
2163
  else if (options?.captureStackTrace !== void 0 && typeof options.captureStackTrace !== "boolean") return options;
@@ -2154,7 +2189,7 @@ const makeStackCleaner = (line) => (stack) => {
2154
2189
  };
2155
2190
  const spanCleaner = makeStackCleaner(3);
2156
2191
  //#endregion
2157
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/effect.js
2192
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js
2158
2193
  var Interrupt = class extends ReasonBase {
2159
2194
  constructor(fiberId, annotations = constEmptyAnnotations) {
2160
2195
  super("Interrupt", annotations, "Interrupted");
@@ -2173,7 +2208,7 @@ var Interrupt = class extends ReasonBase {
2173
2208
  return isInterruptReason(that) && this.fiberId === that.fiberId && this.annotations === that.annotations;
2174
2209
  }
2175
2210
  [symbol$1]() {
2176
- return combine$1(string(`${this._tag}:${this.fiberId}`))(random$1(this.annotations));
2211
+ return string(`${this._tag}:${this.fiberId}`);
2177
2212
  }
2178
2213
  };
2179
2214
  const makeInterruptReason$1 = (fiberId) => new Interrupt(fiberId);
@@ -2189,7 +2224,7 @@ const findError$1 = (self) => {
2189
2224
  }
2190
2225
  return fail$4(self);
2191
2226
  };
2192
- const findErrorOption$1 = toOption(findError$1);
2227
+ const findErrorOption$2 = toOption(findError$1);
2193
2228
  const findDefect = (self) => {
2194
2229
  const reason = self.reasons.find(isDieReason$1);
2195
2230
  return reason ? succeed$4(reason.defect) : fail$4(self);
@@ -2404,7 +2439,7 @@ var FiberImpl = class {
2404
2439
  let cause = causeInterrupt(fiberId);
2405
2440
  if (this.cache.stackFrame) cause = causeAnnotate(cause, make$5(StackTraceKey, this.cache.stackFrame));
2406
2441
  if (annotations) cause = causeAnnotate(cause, annotations);
2407
- this._interruptedCause = this._interruptedCause ? causeCombine(this._interruptedCause, cause) : cause;
2442
+ this._interruptedCause = this._interruptedCause ? causeAddInterrupts(this._interruptedCause, cause) : cause;
2408
2443
  if (this.interruptible) {
2409
2444
  if (this._running) this._deferredInterrupt = true;
2410
2445
  else this.evaluate(failCause$3(this._interruptedCause));
@@ -2470,7 +2505,7 @@ var FiberImpl = class {
2470
2505
  current = cache.tracerContext ? cache.tracerContext(current, this) : current[evaluate](this);
2471
2506
  if (current === Yield) {
2472
2507
  const yielded = this._yielded;
2473
- if (ExitTypeId in yielded) {
2508
+ if ("~effect/Exit" in yielded) {
2474
2509
  this._deferredInterrupt = false;
2475
2510
  this._yielded = void 0;
2476
2511
  return yielded;
@@ -2482,7 +2517,7 @@ var FiberImpl = class {
2482
2517
  return Yield;
2483
2518
  }
2484
2519
  } catch (error) {
2485
- if (!hasProperty(current, evaluate)) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
2520
+ if (!hasProperty(current, "~effect/Effect/evaluate")) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
2486
2521
  current = exitDie(error);
2487
2522
  }
2488
2523
  } finally {
@@ -2667,7 +2702,7 @@ const yieldNowWith = makePrimitive({
2667
2702
  fiber.currentDispatcher.scheduleTask(() => {
2668
2703
  if (resumed) return;
2669
2704
  fiber.evaluate(exitVoid);
2670
- }, this[args] ?? 0);
2705
+ }, this["~effect/Effect/args"] ?? 0);
2671
2706
  return fiber.yieldWith(() => {
2672
2707
  resumed = true;
2673
2708
  });
@@ -2992,6 +3027,7 @@ const exitInterrupt = (fiberId) => exitFailCause(causeInterrupt(fiberId));
2992
3027
  const exitIsSuccess = (self) => self._tag === "Success";
2993
3028
  const exitIsFailure = (self) => self._tag === "Failure";
2994
3029
  const exitFilterCause = (self) => self._tag === "Failure" ? succeed$4(self.cause) : fail$4(self);
3030
+ const exitFindError = composePassthrough(exitFilterCause, findError$1);
2995
3031
  const exitHasInterrupts = (self) => self._tag === "Failure" && hasInterrupts$1(self.cause);
2996
3032
  const exitVoid = exitSucceed(void 0);
2997
3033
  const exitMap = dual(2, (self, f) => self._tag === "Success" ? exitSucceed(f(self.value)) : self);
@@ -3013,6 +3049,10 @@ const exitAsVoidAll = (exits) => {
3013
3049
  for (const exit of exits) if (exit._tag === "Failure") failures.push(...exit.cause.reasons);
3014
3050
  return failures.length === 0 ? exitVoid : exitFailCause(causeFromReasons(failures));
3015
3051
  };
3052
+ const exitFindErrorOption = (self) => {
3053
+ const error = exitFindError(self);
3054
+ return isFailure$1(error) ? none() : some(error.success);
3055
+ };
3016
3056
  const service$1 = (service) => service;
3017
3057
  const serviceOption$1 = (service) => withFiber$1((fiber) => succeed$3(getOption(fiber.context, service)));
3018
3058
  const updateContext$1 = dual(2, (self, f) => withFiber$1((fiber) => {
@@ -3213,7 +3253,7 @@ const exitPrimitive = makePrimitive({
3213
3253
  }
3214
3254
  });
3215
3255
  const delay$1 = dual(2, (self, duration) => andThen$1(sleep$1(duration), self));
3216
- const timeoutOrElse$1 = dual(2, (self, options) => flatMap$2(timeoutOption(self, options.duration), (option) => isNone(option) ? options.orElse() : succeed$3(option.value)));
3256
+ const timeoutOrElse$1 = dual(2, (self, options) => flatMap$2(timeoutOption$1(self, options.duration), (option) => isNone(option) ? options.orElse() : succeed$3(option.value)));
3217
3257
  const timeoutErrorFromDuration = (duration) => new TimeoutError$1(`Operation timed out after '${format(duration)}'`);
3218
3258
  const timeout$1 = dual(2, (self, duration) => {
3219
3259
  const decoded = fromInputUnsafe(duration);
@@ -3222,7 +3262,7 @@ const timeout$1 = dual(2, (self, duration) => {
3222
3262
  orElse: () => fail$3(timeoutErrorFromDuration(decoded))
3223
3263
  });
3224
3264
  });
3225
- const timeoutOption = dual(2, (self, duration) => raceFirst$1(asSome$1(self), as$1(sleep$1(duration), none())));
3265
+ const timeoutOption$1 = dual(2, (self, duration) => raceFirst$1(asSome$1(self), as$1(sleep$1(duration), none())));
3226
3266
  const ScopeTypeId = "~effect/Scope";
3227
3267
  const ScopeCloseableTypeId = "~effect/Scope/Closeable";
3228
3268
  const scopeTag = Service("effect/Scope");
@@ -3265,6 +3305,7 @@ const scopeCloseFinalizers = fnUntraced$1(function* (self, finalizers, exit_) {
3265
3305
  if (fibers.length > 0) exits = yield* fiberAwaitAll(fibers);
3266
3306
  return yield* exitAsVoidAll(exits);
3267
3307
  });
3308
+ const scopeFork = (scope, finalizerStrategy) => sync$1(() => scopeForkUnsafe(scope, finalizerStrategy));
3268
3309
  const scopeForkUnsafe = (scope, finalizerStrategy) => {
3269
3310
  const child = makeScope(finalizerStrategy, scope);
3270
3311
  if (scope.state._tag === "Closed") {
@@ -3491,14 +3532,14 @@ const whileLoop$1 = makePrimitive({
3491
3532
  op: "While",
3492
3533
  [contA](value, fiber) {
3493
3534
  this[args].step(value);
3494
- if (this[args].while()) {
3535
+ if (this["~effect/Effect/args"].while()) {
3495
3536
  fiber._stack.push(this);
3496
3537
  return this[args].body();
3497
3538
  }
3498
3539
  return exitVoid;
3499
3540
  },
3500
3541
  [evaluate](fiber) {
3501
- if (this[args].while()) {
3542
+ if (this["~effect/Effect/args"].while()) {
3502
3543
  fiber._stack.push(this);
3503
3544
  return this[args].body();
3504
3545
  }
@@ -4033,7 +4074,7 @@ const logLevelToOrder = (level) => {
4033
4074
  case "None": return Number.MAX_SAFE_INTEGER;
4034
4075
  }
4035
4076
  };
4036
- const LogLevelOrder = mapInput(Number$1, logLevelToOrder);
4077
+ const LogLevelOrder = mapInput(Number$2, logLevelToOrder);
4037
4078
  const isLogLevelGreaterThan = isGreaterThan(LogLevelOrder);
4038
4079
  const CurrentLoggers = Reference("effect/Logger/CurrentLoggers", { defaultValue: () => new Set([defaultLogger, tracerLogger]) });
4039
4080
  const LogToStderr = Reference("effect/Logger/LogToStderr", { defaultValue: constFalse });
@@ -4138,7 +4179,7 @@ function interruptChildrenPatch() {
4138
4179
  }
4139
4180
  const undefined_$1 = succeed$3(void 0);
4140
4181
  //#endregion
4141
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Exit.js
4182
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Exit.js
4142
4183
  const isExit = isExit$1;
4143
4184
  const succeed$2 = exitSucceed;
4144
4185
  const failCause$2 = exitFailCause;
@@ -4149,8 +4190,9 @@ const void_$1 = exitVoid;
4149
4190
  const isSuccess = exitIsSuccess;
4150
4191
  const isFailure = exitIsFailure;
4151
4192
  const asVoidAll = exitAsVoidAll;
4193
+ const findErrorOption$1 = exitFindErrorOption;
4152
4194
  //#endregion
4153
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Deferred.js
4195
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Deferred.js
4154
4196
  const TypeId$4 = "~effect/Deferred";
4155
4197
  const DeferredProto = {
4156
4198
  [TypeId$4]: {
@@ -4197,23 +4239,24 @@ const doneUnsafe = (self, effect) => {
4197
4239
  };
4198
4240
  const into = dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$2(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
4199
4241
  //#endregion
4200
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/References.js
4242
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/References.js
4201
4243
  const CurrentLogAnnotations = CurrentLogAnnotations$1;
4202
4244
  const CurrentLogSpans = CurrentLogSpans$1;
4203
4245
  const MinimumLogLevel = MinimumLogLevel$1;
4204
4246
  const TracerTimingEnabled = TracerTimingEnabled$1;
4205
4247
  //#endregion
4206
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Scope.js
4248
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scope.js
4207
4249
  const Scope = scopeTag;
4208
4250
  const make$1 = scopeMake;
4209
4251
  const makeUnsafe = scopeMakeUnsafe;
4210
4252
  const provide$3 = provideScope;
4211
4253
  const addFinalizerExit = scopeAddFinalizerExit;
4212
4254
  const addFinalizer$1 = scopeAddFinalizer;
4255
+ const fork = scopeFork;
4213
4256
  const forkUnsafe = scopeForkUnsafe;
4214
4257
  const close = scopeClose;
4215
4258
  //#endregion
4216
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Layer.js
4259
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Layer.js
4217
4260
  const TypeId$3 = "~effect/Layer";
4218
4261
  const MemoMapTypeId = "~effect/Layer/MemoMap";
4219
4262
  const makeMemoMapEntry = (memoMap, layer) => {
@@ -4369,7 +4412,7 @@ const makeUnimplemented = (error) => {
4369
4412
  const StreamTypeId = "~effect/Stream";
4370
4413
  const ChannelTypeId = "~effect/Channel";
4371
4414
  //#endregion
4372
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Cause.js
4415
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cause.js
4373
4416
  const isCause = isCause$1;
4374
4417
  const isReason = isCauseReason;
4375
4418
  const isFailReason = isFailReason$1;
@@ -4385,7 +4428,7 @@ const map$1 = causeMap;
4385
4428
  const combine = causeCombine;
4386
4429
  const squash = causeSquash;
4387
4430
  const findError = findError$1;
4388
- const findErrorOption = findErrorOption$1;
4431
+ const findErrorOption = findErrorOption$2;
4389
4432
  const hasInterrupts = hasInterrupts$1;
4390
4433
  const interruptors = causeInterruptors;
4391
4434
  const filterInterruptors = causeFilterInterruptors;
@@ -4402,7 +4445,44 @@ const annotate = causeAnnotate;
4402
4445
  const reasonAnnotations = reasonAnnotations$1;
4403
4446
  var StackTrace = class extends Service()("effect/Cause/StackTrace") {};
4404
4447
  //#endregion
4405
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/random.js
4448
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Number.js
4449
+ const Number$1 = globalThis.Number;
4450
+ const remainder = dual(2, (self, divisor) => {
4451
+ if (!globalThis.Number.isFinite(self) || !globalThis.Number.isFinite(divisor) || divisor === 0) return NaN;
4452
+ if (globalThis.Number.isInteger(self) && globalThis.Number.isInteger(divisor)) return self % divisor;
4453
+ const [selfCoefficient, selfExponent] = toScientificInteger(self);
4454
+ const [divisorCoefficient, divisorExponent] = toScientificInteger(divisor);
4455
+ const exponent = Math.min(selfExponent, divisorExponent);
4456
+ const out = selfCoefficient * BigInt(10) ** BigInt(selfExponent - exponent) % (divisorCoefficient * BigInt(10) ** BigInt(divisorExponent - exponent));
4457
+ if (out === BigInt(0)) return self < 0 || Object.is(self, -0) ? -0 : 0;
4458
+ const remainder = globalThis.Number(`${out}e${exponent}`);
4459
+ return remainder === 0 ? Math.sign(self) * globalThis.Number.MIN_VALUE : remainder;
4460
+ });
4461
+ function toScientificInteger(n) {
4462
+ if (globalThis.Number.isInteger(n)) return [BigInt(n), 0];
4463
+ const scientific = Math.abs(n).toExponential();
4464
+ const eIndex = scientific.indexOf("e");
4465
+ const digits = scientific.slice(0, eIndex).replace(".", "");
4466
+ return [BigInt(digits) * (n < 0 ? -BigInt(1) : BigInt(1)), globalThis.Number(scientific.slice(eIndex + 1)) - digits.length + 1];
4467
+ }
4468
+ const nextPow2 = (n) => {
4469
+ const nextPow = Math.ceil(Math.log(n) / Math.log(2));
4470
+ return Math.max(Math.pow(2, nextPow), 2);
4471
+ };
4472
+ const parse = (s) => {
4473
+ if (s === "NaN") return some(NaN);
4474
+ if (s === "Infinity") return some(Infinity);
4475
+ if (s === "-Infinity") return some(-Infinity);
4476
+ if (s.trim() === "") return none();
4477
+ const n = Number$1(s);
4478
+ return Number$1.isNaN(n) ? none() : some(n);
4479
+ };
4480
+ const round = dual(2, (self, precision) => {
4481
+ const factor = Math.pow(10, precision);
4482
+ return Math.round(self * factor) / factor;
4483
+ });
4484
+ //#endregion
4485
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/random.js
4406
4486
  const Random = Reference("effect/Random", { defaultValue: () => ({
4407
4487
  nextIntUnsafe() {
4408
4488
  return Math.floor(Math.random() * (Number.MAX_SAFE_INTEGER - Number.MIN_SAFE_INTEGER + 1)) + Number.MIN_SAFE_INTEGER;
@@ -4422,7 +4502,7 @@ const nextBetween = (min, max, draw) => {
4422
4502
  return view.getFloat64(0);
4423
4503
  };
4424
4504
  //#endregion
4425
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Pull.js
4505
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pull.js
4426
4506
  const catchDone = dual(2, (effect, f) => catchCauseFilter(effect, filterDoneLeftover, (l) => f(l)));
4427
4507
  const isDoneCause = (cause) => cause.reasons.some(isDoneFailure);
4428
4508
  const isDoneFailure = (failure) => failure._tag === "Fail" && isDone(failure.error);
@@ -4450,7 +4530,7 @@ const matchEffect$1 = dual(2, (self, options) => matchCauseEffect$1(self, {
4450
4530
  }
4451
4531
  }));
4452
4532
  //#endregion
4453
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Schedule.js
4533
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schedule.js
4454
4534
  const TypeId$2 = "~effect/Schedule";
4455
4535
  const randomNext = Random.useSync((random) => random.nextDoubleUnsafe());
4456
4536
  const CurrentMetadata = Reference("effect/Schedule/CurrentMetadata", { defaultValue: constant({
@@ -4574,11 +4654,11 @@ const while_ = dual(2, (self, predicate) => fromStep(map$2(toStep(self), (step)
4574
4654
  })));
4575
4655
  const forever$1 = spaced(zero);
4576
4656
  //#endregion
4577
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/layer.js
4657
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/layer.js
4578
4658
  const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$2(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext$1(self, context)));
4579
4659
  const provide$1 = dual((args) => isEffect$1(args[0]), (self, source, options) => isContext(source) ? provideContext$1(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
4580
4660
  //#endregion
4581
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/schedule.js
4661
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schedule.js
4582
4662
  const findErrorOnly = (cause) => cause.reasons.every(isFailReason$1) ? findError$1(cause) : fail$4(cause);
4583
4663
  const repeatOrElse = dual(3, (self, schedule, orElse) => flatMap$2(toStepWithMetadata(schedule), (step) => {
4584
4664
  let meta = CurrentMetadata.defaultValue();
@@ -4621,7 +4701,7 @@ const buildFromOptions = (options) => {
4621
4701
  return schedule;
4622
4702
  };
4623
4703
  //#endregion
4624
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/MutableHashMap.js
4704
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableHashMap.js
4625
4705
  const TypeId$1 = "~effect/MutableHashMap";
4626
4706
  const MutableHashMapProto = {
4627
4707
  [TypeId$1]: TypeId$1,
@@ -4721,7 +4801,7 @@ const forEach$1 = dual(2, (self, f) => {
4721
4801
  self.backing.forEach(f);
4722
4802
  });
4723
4803
  //#endregion
4724
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Request.js
4804
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Request.js
4725
4805
  const TypeId = "~effect/Request";
4726
4806
  const requestVariance = byReferenceUnsafe({
4727
4807
  _E: (_) => _,
@@ -4746,7 +4826,7 @@ const TaggedClass = (tag) => {
4746
4826
  };
4747
4827
  const makeEntry = (options) => options;
4748
4828
  //#endregion
4749
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/request.js
4829
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/request.js
4750
4830
  const request$1 = dual(2, (self, resolver) => {
4751
4831
  const withResolver = (resolver) => callback$1((resume) => {
4752
4832
  const entry = addEntry(resolver, self, resume, getCurrentFiber());
@@ -4853,7 +4933,7 @@ function runBatch(batch) {
4853
4933
  return batch.run;
4854
4934
  }
4855
4935
  //#endregion
4856
- //#region node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Effect.js
4936
+ //#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js
4857
4937
  const isEffect = isEffect$1;
4858
4938
  const all = all$1;
4859
4939
  const forEach = forEach$2;
@@ -4908,6 +4988,7 @@ const retry = retry$1;
4908
4988
  const ignore = ignore$1;
4909
4989
  const orElseSucceed = orElseSucceed$1;
4910
4990
  const timeout = timeout$1;
4991
+ const timeoutOption = timeoutOption$1;
4911
4992
  const timeoutOrElse = timeoutOrElse$1;
4912
4993
  const delay = delay$1;
4913
4994
  const sleep = sleep$1;
@@ -4996,6 +5077,6 @@ const flatMapEager = flatMapEager$1;
4996
5077
  const catchEager = catchEager$1;
4997
5078
  const fnUntracedEager = fnUntracedEager$1;
4998
5079
  //#endregion
4999
- export { interruptible as $, Service as $a, compose as $i, findError as $n, evaluate as $o, asVoidAll as $r, or as $s, try_ as $t, effectify as A, getOrUndefined as Aa, flatMap$2 as Ai, jittered as An, orElse as Ao, succeed$1 as Ar, structure as As, request as At, fn as B, isDuration as Ba, onExitPrimitive$1 as Bi, nextBetween as Bn, isLessThan as Bo, provide$3 as Br, isNotNull as Bs, service as Bt, catchTags as C, sort as Ca, fiberAwait as Ci, remove as Cn, isNone as Co, fresh as Cr, symbol as Cs, orElseSucceed as Ct, contextWith as D, failVoid as Da, fiberInterruptAs as Di, forever$1 as Dn, map$5 as Do, orDie$1 as Dr, number as Ds, provideService as Dt, context as E, fail$4 as Ea, fiberInterruptAllAs as Ei, exponential as En, liftThrowable as Eo, mock as Er, hash as Es, provideContext as Et, failCauseSync as F, succeed$4 as Fa, makeLatch as Fi, doneExitFromCause as Fn, Date$1 as Fo, addFinalizerExit as Fr, isBoolean as Fs, runSync as Ft, forkChild as G, minutes as Ga, suspend$1 as Gi, TimeoutError as Gn, strictEqual as Go, done$1 as Gr, isNumber as Gs, succeedSome as Gt, fnUntracedEager as H, isZero as Ha, resolveConcurrency as Hi, IllegalArgumentError as Hn, make$6 as Ho, MinimumLogLevel as Hr, isNotUndefined as Hs, sleep as Ht, filterOrFail as I, try_$2 as Ia, makeLatchUnsafe as Ii, filterDone as In, Number$1 as Io, close as Ir, isError as Is, runSyncExit as It, fromOption as J, seconds as Ja, updateContext$1 as Ji, combine as Jn, Error$1 as Jo, into as Jr, isPropertyKey as Js, tap as Jt, forkIn as K, nanos as Ka, sync$1 as Ki, UnknownError as Kn, Prototype as Ko, doneUnsafe as Kr, isObject as Ks, suspend as Kt, flatMap as L, format as La, makeSpanUnsafe as Li, isDoneCause as Ln, String$1 as Lo, forkUnsafe as Lr, isFunction as Ls, scope as Lt, exit as M, isSuccess$1 as Ma, getCurrentFiber as Mi, spaced as Mn, some as Mo, unwrap as Mr, symbol$1 as Ms, retry as Mt, fail as N, map$4 as Na, iterateConcurrent as Ni, toStep as Nn, toArray as No, Scope as Nr, hasProperty as Ns, runFork as Nt, delay as O, flatMap$4 as Oa, fiberJoin as Oi, fromStep as On, match$5 as Oo, provide$2 as Or, optimize as Os, raceFirst as Ot, failCause as P, match$3 as Pa, iterateEager as Pi, catchDone as Pn, BigInt$1 as Po, addFinalizer$1 as Pr, isBigInt as Ps, runForkWith as Pt, interrupt as Q, Reference as Qa, encode as Qi, filterInterruptors as Qn, causeFail as Qo, makeUnsafe$1 as Qr, isUnknown as Qs, tryPromise as Qt, flatMapEager as R, fromInputUnsafe as Ra, map$2 as Ri, matchEffect$1 as Rn, isGreaterThan as Ro, make$1 as Rr, isIterable as Rs, scoped as Rt, catchTag as S, reduce as Sa, exitZipRight as Si, make as Sn, getOrUndefined$2 as So, empty$1 as Sr, equals$1 as Ss, orDie as St, clockWith as T, headUnsafe as Ta, fiberInterruptAll as Ti, size as Tn, isSome as To, mergeAll as Tr, combine$1 as Ts, provide as Tt, forEach as U, max as Ua, succeed$3 as Ui, NoSuchElementError as Un, Tuple as Uo, TracerTimingEnabled as Ur, isNull as Us, succeed as Ut, fnUntraced as V, isFinite as Va, onExitUnsafe as Vi, Done as Vn, isLessThanOrEqualTo as Vo, CurrentLogAnnotations as Vr, isNotNullish as Vs, serviceOption as Vt, forever as W, millis as Wa, succeedNone$1 as Wi, StackTrace as Wn, make$7 as Wo, _await as Wr, isNullish as Ws, succeedNone as Wt, gen as X, toSeconds as Xa, DisablePropagation as Xi, done as Xn, TaggedError as Xo, isDoneUnsafe as Xr, isTagged as Xs, timeout as Xt, fromResult as Y, toMillis as Ya, void_$2 as Yi, die$1 as Yn, PipeInspectableProto as Yo, isDone$1 as Yr, isString as Ys, tapCause as Yt, ignore as Z, zero as Za, ParentSpan as Zi, fail$1 as Zn, args as Zo, make$2 as Zr, isUndefined as Zs, timeoutOrElse as Zt, catchEager as _, lastNonEmpty as _a, effectIsExit as _i, TaggedClass as _n, fromNullishOr$1 as _o, build as _r, formatPath as _s, onError as _t, andThen as a, empty$2 as aa, dual as ac, isFailure as ai, useSpan as an, getOrUndefinedUnsafe as ao, isCause as ar, withFiber$1 as as, logWarning as at, catchNoSuchElement as b, match$2 as ba, exitInterrupt as bi, get as bn, getOrNull as bo, effectContext as br, symbolRedactable as bs, onInterrupt as bt, as as c, findLast as ca, memoize as cc, void_$1 as ci, whileLoop as cn, makeUnsafe$2 as co, isReason as cr, getStackTraceLimit as cs, mapBothEager as ct, cached as d, headNonEmpty as da, Class$2 as dc, LogToStderr as di, withParentSpan as dn, exists as do, makeFailReason as dr, Class$1 as ds, mapErrorEager as dt, has$1 as ea, constFalse as ec, die$2 as ei, undefined_ as en, add as eo, findErrorOption as er, exitFail as es, isEffect as et, cachedWithTTL as f, isArrayNonEmpty as fa, Prototype$1 as fc, andThen$1 as fi, withSpan as fn, filter as fo, makeInterruptReason as fr, NodeInspectSymbol as fs, match as ft, catchDefect as g, last as ga, currentTimeMillis as gi, Class as gn, fromNullOr as go, squash as gr, formatJson as gs, never as gt, catchCauseIf as h, join as ha, contextWith$1 as hi, equalBatchKeys as hn, flatten$3 as ho, reasonAnnotations as hr, formatDate as hs, matchEffect as ht, all as i, appendAll as ia, constant as ic, isExit as ii, updateService as in, getOrUndefined$1 as io, interruptors as ir, makePrimitive as is, logInfo as it, ensuring as j, isFailure$1 as ja, forkUnsafe$1 as ji, min as jn, orElseSome as jo, succeedContext as jr, structureKeys as js, result as jt, die as k, getOrThrow as ka, fiberRunIn as ki, isSchedule as kn, none as ko, provideMerge as kr, string as ks, repeat as kt, asSome as l, flatMapNullishOr as la, memoizeIdempotent as lc, ClockRef as li, withFiber as ln, merge$1 as lo, isTimeoutError as lr, setStackTraceLimit as ls, mapEager as lt, catchCause as m, isReadonlyArrayNonEmpty as ma, callback$1 as mi, zipWith as mn, flatMapNullishOr$1 as mo, pretty as mr, format$1 as ms, matchCauseEffect as mt, acquireUseRelease as n, Array$1 as na, constUndefined as nc, failCause$2 as ni, uninterruptibleMask as nn, get$1 as no, hasInterrupts as nr, exitSucceed as ns, logError as nt, annotateCurrentSpan as o, findFirst as oa, flow as oc, isSuccess as oi, void_ as on, getUnsafe$1 as oo, isDieReason as or, assignProperties as os, makeSpanScoped as ot, callback as p, isCanonicalArrayIndex as pa, pipeArguments as pc, asSome$1 as pi, yieldNow as pn, flatMap$5 as po, map$1 as pr, toJson as ps, matchCauseEager as pt, forkScoped as q, negativeInfinity as qa, uninterruptibleMask$1 as qi, annotate as qn, Done$1 as qo, interruptWith as qr, isObjectKeyword as qs, sync as qt, addFinalizer as r, append as ra, constVoid as rc, interrupt$1 as ri, updateContext as rn, getOption as ro, hasInterruptsOnly as rr, isExit$1 as rs, logFatal as rt, annotateLogs as s, findFirstIndex as sa, identity as sc, succeed$2 as si, when as sn, make$5 as so, isFailReason as sr, assignProperty as ss, map as st, acquireRelease as t, toPredicate as ta, constTrue as tc, fail$2 as ti, uninterruptible as tn, empty$4 as to, fromReasons as tr, exitFailCause as ts, logDebug as tt, asVoid as u, fromIterable$1 as ua, pipe as uc, ConsoleRef as ui, withLogSpan as un, all$2 as uo, makeDieReason as ur, BaseProto as us, mapError as ut, catchFilter as v, makeEquivalence as va, endSpan as vi, empty as vn, fromUndefinedOr as vo, buildWithScope as vr, formatPropertyKey as vs, onExit as vt, catch_ as w, empty$3 as wa, fiberInterrupt as wi, set as wn, isOption as wo, merge as wr, array as ws, promise as wt, catchReason as x, of as xa, exitVoid as xi, isEmpty as xn, getOrThrow$1 as xo, effectDiscard as xr, byReferenceUnsafe as xs, option as xt, catchIf as y, map$3 as ya, exitHasInterrupts as yi, forEach$1 as yn, getOrElse$1 as yo, effect as yr, redact as ys, onExitPrimitive as yt, flatten as z, infinity as za, monotonicTimeNanos as zi, Random as zn, isGreaterThanOrEqualTo as zo, makeUnsafe as zr, isNever as zs, scopedWith as zt };
5080
+ export { interruptible as $, millis as $a, sync$1 as $i, combine as $n, make$7 as $o, interruptWith as $r, isNotUndefined as $s, tryPromise as $t, effectify as A, reduce as Aa, fiberAwait as Ai, isSchedule as An, getOrThrow$1 as Ao, mergeAll as Ar, symbolRedactable as As, request as At, fn as B, isFailure$1 as Ba, iterateConcurrent as Bi, Random as Bn, orElseSome as Bo, addFinalizerExit as Br, string as Bs, service as Bt, catchTags as C, join as Ca, Class$2 as Cc, currentTimeMillis as Ci, make as Cn, flatMapNullishOr$1 as Co, buildWithScope as Cr, format$1 as Cs, orElseSucceed as Ct, contextWith as D, map$3 as Da, exitInterrupt as Di, exponential as Dn, fromUndefinedOr as Do, empty$1 as Dr, formatPropertyKey as Ds, provideService as Dt, context as E, makeEquivalence as Ea, exitHasInterrupts as Ei, size as En, fromNullishOr$1 as Eo, effectDiscard as Er, formatPath as Es, provideContext as Et, failCauseSync as F, fail$4 as Fa, fiberJoin as Fi, catchDone as Fn, liftThrowable as Fo, succeed$1 as Fr, array as Fs, runSync as Ft, forkChild as G, try_$2 as Ga, map$2 as Gi, round as Gn, Number$2 as Go, makeUnsafe as Gr, isBigInt as Gs, succeedSome as Gt, fnUntracedEager as H, map$4 as Ha, makeLatch as Hi, nextPow2 as Hn, toArray as Ho, fork as Hr, structureKeys as Hs, sleep as Ht, filterOrFail as I, failVoid as Ia, fiberRunIn as Ii, doneExitFromCause as In, map$5 as Io, succeedContext as Ir, combine$1 as Is, runSyncExit as It, fromOption as J, infinity as Ja, onExitUnsafe as Ji, NoSuchElementError as Jn, isGreaterThanOrEqualTo as Jo, MinimumLogLevel as Jr, isFunction as Js, tap as Jt, forkIn as K, format as Ka, monotonicTimeNanos as Ki, Done as Kn, String$1 as Ko, provide$3 as Kr, isBoolean as Ks, suspend as Kt, flatMap as L, flatMap$4 as La, flatMap$2 as Li, filterDone as Ln, match$5 as Lo, unwrap as Lr, hash as Ls, scope as Lt, exit as M, empty$3 as Ma, fiberInterruptAll as Mi, min as Mn, isNone as Mo, orDie$1 as Mr, byReferenceUnsafe as Ms, retry as Mt, fail as N, headUnsafe as Na, fiberInterruptAllAs as Ni, spaced as Nn, isOption as No, provide$2 as Nr, equals$1 as Ns, runFork as Nt, delay as O, match$2 as Oa, exitVoid as Oi, forever$1 as On, getOrElse$1 as Oo, fresh as Or, currentFiberTypeId as Os, raceFirst as Ot, failCause as P, size$1 as Pa, fiberInterruptAs as Pi, toStep as Pn, isSome as Po, provideMerge as Pr, symbol as Ps, runForkWith as Pt, interrupt as Q, max as Qa, suspend$1 as Qi, annotate as Qn, Tuple as Qo, doneUnsafe as Qr, isNotNullish as Qs, timeoutOrElse as Qt, flatMapEager as R, getOrThrow as Ra, forkUnsafe$1 as Ri, isDoneCause as Rn, none as Ro, Scope as Rr, number as Rs, scoped as Rt, catchTag as S, isReadonlyArrayNonEmpty as Sa, pipe as Sc, contextWith$1 as Si, isEmpty as Sn, flatMap$5 as So, build as Sr, toJson as Ss, orDie as St, clockWith as T, lastNonEmpty as Ta, pipeArguments as Tc, endSpan as Ti, set as Tn, fromNullOr as To, effectContext as Tr, formatJson as Ts, provide as Tt, forEach as U, match$3 as Ua, makeLatchUnsafe as Ui, parse as Un, BigInt$1 as Uo, forkUnsafe as Ur, symbol$1 as Us, succeed as Ut, fnUntraced as V, isSuccess$1 as Va, iterateEager as Vi, nextBetween as Vn, some as Vo, close as Vr, structure as Vs, serviceOption as Vt, forever as W, succeed$4 as Wa, makeSpanUnsafe as Wi, remainder as Wn, Date$1 as Wo, make$1 as Wr, hasProperty as Ws, succeedNone as Wt, gen as X, isFinite as Xa, succeed$3 as Xi, TimeoutError as Xn, isLessThanOrEqualTo as Xo, _await as Xr, isNever as Xs, timeout as Xt, fromResult as Y, isDuration as Ya, resolveConcurrency as Yi, StackTrace as Yn, isLessThan as Yo, TracerTimingEnabled as Yr, isIterable as Ys, tapCause as Yt, ignore as Z, isZero as Za, succeedNone$1 as Zi, UnknownError as Zn, make$6 as Zo, done$1 as Zr, isNotNull as Zs, timeoutOption as Zt, catchEager as _, flatMapNullishOr as _a, dual as _c, ConsoleRef as _i, Class as _n, makeUnsafe$2 as _o, makeInterruptReason as _r, getStackTraceLimit as _s, onError as _t, andThen as a, encode as aa, isPropertyKey as ac, asVoidAll as ai, updateService as an, toSeconds as ao, findErrorOption as ar, TaggedError as as, logWarning as at, catchNoSuchElement as b, isArrayNonEmpty as ba, memoize as bc, asSome$1 as bi, forEach$1 as bn, exists as bo, reasonAnnotations as br, Class$1 as bs, onInterrupt as bt, as as c, toPredicate as ca, isTagged as cc, failCause$2 as ci, when as cn, Service as co, hasInterruptsOnly as cr, evaluate as cs, mapBothEager as ct, cached as d, appendAll as da, or as dc, isExit as di, withLogSpan as dn, get$1 as do, isDieReason as dr, exitSucceed as ds, mapErrorEager as dt, uninterruptibleMask$1 as ea, isNull as ec, into as ei, try_ as en, minutes as eo, die$1 as er, strictEqual as es, isEffect as et, cachedWithTTL as f, dedupe as fa, constFalse as fc, isFailure as fi, withParentSpan as fn, getOption as fo, isFailReason as fr, isExit$1 as fs, match as ft, catchDefect as g, findLast as ga, constant as gc, ClockRef as gi, equalBatchKeys as gn, make$5 as go, makeFailReason as gr, assignProperty as gs, never as gt, catchCauseIf as h, findFirstIndex as ha, constVoid as hc, void_$1 as hi, zipWith as hn, getUnsafe$1 as ho, makeDieReason as hr, assignProperties as hs, matchEffect as ht, all as i, ParentSpan as ia, isObjectKeyword as ic, makeUnsafe$1 as ii, updateContext as in, toMillis as io, findError as ir, PipeInspectableProto as is, logInfo as it, ensuring as j, sort as ja, fiberInterrupt as ji, jittered as jn, getOrUndefined$2 as jo, mock as jr, asEquivalence as js, result as jt, die as k, of as ka, exitZipRight as ki, fromStep as kn, getOrNull as ko, merge as kr, redact as ks, repeat as kt, asSome as l, Array$1 as la, isUndefined as lc, findErrorOption$1 as li, whileLoop as ln, add as lo, interruptors as lr, exitFail as ls, mapEager as lt, catchCause as m, findFirst as ma, constUndefined as mc, succeed$2 as mi, yieldNow as mn, getOrUndefinedUnsafe as mo, isTimeoutError as mr, withFiber$1 as ms, matchCauseEffect as mt, acquireUseRelease as n, void_$2 as na, isNumber as nc, isDoneUnsafe as ni, uninterruptible as nn, negativeInfinity as no, fail$1 as nr, Done$1 as ns, logError as nt, annotateCurrentSpan as o, compose as oa, isString as oc, die$2 as oi, useSpan as on, zero as oo, fromReasons as or, args as os, makeSpanScoped as ot, callback as p, empty$2 as pa, constTrue as pc, isSuccess as pi, withSpan as pn, getOrUndefined$1 as po, isReason as pr, makePrimitive as ps, matchCauseEager as pt, forkScoped as q, fromInputUnsafe as qa, onExitPrimitive$1 as qi, IllegalArgumentError as qn, isGreaterThan as qo, CurrentLogAnnotations as qr, isError as qs, sync as qt, addFinalizer as r, DisablePropagation as ra, isObject as rc, make$2 as ri, uninterruptibleMask as rn, seconds as ro, filterInterruptors as rr, Error$1 as rs, logFatal as rt, annotateLogs as s, has$1 as sa, isSymbol as sc, fail$2 as si, void_ as sn, Reference as so, hasInterrupts as sr, causeFail as ss, map as st, acquireRelease as t, updateContext$1 as ta, isNullish as tc, isDone$1 as ti, undefined_ as tn, nanos as to, done as tr, Prototype as ts, logDebug as tt, asVoid as u, append as ua, isUnknown as uc, interrupt$1 as ui, withFiber as un, empty$4 as uo, isCause as ur, exitFailCause as us, mapError as ut, catchFilter as v, fromIterable$1 as va, flow as vc, LogToStderr as vi, TaggedClass as vn, merge$1 as vo, map$1 as vr, setStackTraceLimit as vs, onExit as vt, catch_ as w, last as wa, Prototype$1 as wc, effectIsExit as wi, remove as wn, flatten$3 as wo, effect as wr, formatDate as ws, promise as wt, catchReason as x, isCanonicalArrayIndex as xa, memoizeIdempotent as xc, callback$1 as xi, get as xn, filter as xo, squash as xr, NodeInspectSymbol as xs, option as xt, catchIf as y, headNonEmpty as ya, identity as yc, andThen$1 as yi, empty as yn, all$2 as yo, pretty as yr, BaseProto as ys, onExitPrimitive as yt, flatten as z, getOrUndefined as za, getCurrentFiber as zi, matchEffect$1 as zn, orElse as zo, addFinalizer$1 as zr, optimize as zs, scopedWith as zt };
5000
5081
 
5001
- //# sourceMappingURL=Effect-2jPlJ8eu.mjs.map
5082
+ //# sourceMappingURL=Effect-DuThyCJ1.mjs.map