clanka 0.10.0 → 0.11.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.
- package/README.md +26 -0
- package/dist/Agent.d.ts.map +1 -1
- package/dist/Agent.js +1 -0
- package/dist/Agent.js.map +1 -1
- package/dist/AgentExecutor.test.js +24 -4
- package/dist/AgentExecutor.test.js.map +1 -1
- package/dist/AgentSkills.test.js +0 -1
- package/dist/AgentSkills.test.js.map +1 -1
- package/dist/AgentSubagents.test.js +16 -6
- package/dist/AgentSubagents.test.js.map +1 -1
- package/dist/AgentTools.d.ts +4 -0
- package/dist/AgentTools.d.ts.map +1 -1
- package/dist/AgentTools.js +6 -1
- package/dist/AgentTools.js.map +1 -1
- package/dist/AgentToolsReadFile.test.d.ts +2 -0
- package/dist/AgentToolsReadFile.test.d.ts.map +1 -0
- package/dist/AgentToolsReadFile.test.js +49 -0
- package/dist/AgentToolsReadFile.test.js.map +1 -0
- package/dist/bin/{Effect-2jPlJ8eu.mjs → Effect-zUBunSAW.mjs} +70 -67
- package/dist/bin/Effect-zUBunSAW.mjs.map +1 -0
- package/dist/bin/{McpClient-1W508adc.mjs → McpClient-CnP2P7c9.mjs} +19 -19
- package/dist/bin/{McpClient-1W508adc.mjs.map → McpClient-CnP2P7c9.mjs.map} +1 -1
- package/dist/bin/{OutputFormatter-BFAv48k9.mjs → OutputFormatter-BPdc6RmH.mjs} +3 -3
- package/dist/bin/{OutputFormatter-BFAv48k9.mjs.map → OutputFormatter-BPdc6RmH.mjs.map} +1 -1
- package/dist/bin/{Schema-D-7VuCiC.mjs → Schema-C2Y2y3tU.mjs} +243 -94
- package/dist/bin/Schema-C2Y2y3tU.mjs.map +1 -0
- package/dist/bin/{SemanticSearch-Cb8aqvGv.mjs → SemanticSearch-BKZxP19F.mjs} +26 -20
- package/dist/bin/SemanticSearch-BKZxP19F.mjs.map +1 -0
- package/dist/bin/{Stream-DEu2tfCV.mjs → Stream-BvmRbTMu.mjs} +44 -27
- package/dist/bin/Stream-BvmRbTMu.mjs.map +1 -0
- package/dist/bin/cli.mjs +2874 -2820
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/bin/{index.min-CI3qqohw.mjs → index.min-DbZbUHX3.mjs} +3 -3
- package/dist/bin/index.min-DbZbUHX3.mjs.map +1 -0
- package/dist/bin/turndown.cjs-DK29wZw3.mjs.map +1 -1
- package/dist/cli.js +23 -6
- package/dist/cli.js.map +1 -1
- package/package.json +14 -14
- package/src/Agent.ts +1 -0
- package/src/AgentExecutor.test.ts +31 -5
- package/src/AgentSkills.test.ts +0 -1
- package/src/AgentSubagents.test.ts +20 -6
- package/src/AgentTools.ts +12 -0
- package/src/AgentToolsReadFile.test.ts +61 -0
- package/src/cli.ts +46 -8
- package/dist/bin/Effect-2jPlJ8eu.mjs.map +0 -1
- package/dist/bin/Schema-D-7VuCiC.mjs.map +0 -1
- package/dist/bin/SemanticSearch-Cb8aqvGv.mjs.map +0 -1
- package/dist/bin/Stream-DEu2tfCV.mjs.map +0 -1
- package/dist/bin/index.min-CI3qqohw.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,7 +1184,7 @@ 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.
|
|
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
|
}
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,7 @@ 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.
|
|
1778
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Iterable.js
|
|
1776
1779
|
const headUnsafe = (self) => {
|
|
1777
1780
|
const result = self[Symbol.iterator]().next();
|
|
1778
1781
|
if (result.done) throw new Error("headUnsafe: empty iterable");
|
|
@@ -1800,7 +1803,7 @@ const constEmptyIterator = { next() {
|
|
|
1800
1803
|
} };
|
|
1801
1804
|
const empty$3 = () => constEmpty;
|
|
1802
1805
|
//#endregion
|
|
1803
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
1806
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Array.js
|
|
1804
1807
|
const Array$1 = globalThis.Array;
|
|
1805
1808
|
const fromIterable$1 = (collection) => Array$1.isArray(collection) ? collection : Array$1.from(collection);
|
|
1806
1809
|
const match$2 = dual(2, (self, { onEmpty, onNonEmpty }) => isReadonlyArrayNonEmpty(self) ? onNonEmpty(self) : onEmpty());
|
|
@@ -1869,7 +1872,7 @@ const flatMapNullishOr = dual(2, (self, f) => flatMap$3(self, (a) => fromNullish
|
|
|
1869
1872
|
const makeEquivalence = Array_;
|
|
1870
1873
|
const join = dual(2, (self, sep) => fromIterable$1(self).join(sep));
|
|
1871
1874
|
//#endregion
|
|
1872
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
1875
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Filter.js
|
|
1873
1876
|
const toPredicate = (self) => (input) => !isFailure$1(self(input));
|
|
1874
1877
|
const has$1 = (key) => (input) => input.has(key) ? succeed$4(input) : fail$4(input);
|
|
1875
1878
|
const compose = dual(2, (left, right) => (input) => {
|
|
@@ -1882,7 +1885,7 @@ const toOption = (self) => (input) => {
|
|
|
1882
1885
|
return isFailure$1(result) ? none() : some(result.success);
|
|
1883
1886
|
};
|
|
1884
1887
|
//#endregion
|
|
1885
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
1888
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scheduler.js
|
|
1886
1889
|
const Scheduler = Reference("effect/Scheduler", {
|
|
1887
1890
|
fiberCached: true,
|
|
1888
1891
|
defaultValue: () => new MixedScheduler()
|
|
@@ -1986,7 +1989,7 @@ const PreventSchedulerYield = Reference("effect/Scheduler/PreventSchedulerYield"
|
|
|
1986
1989
|
defaultValue: () => false
|
|
1987
1990
|
});
|
|
1988
1991
|
//#endregion
|
|
1989
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
1992
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/Hex.js
|
|
1990
1993
|
const encode = (input) => typeof input === "string" ? hexEncodeUint8Array(encoder.encode(input)) : hexEncodeUint8Array(input);
|
|
1991
1994
|
const random = (length) => {
|
|
1992
1995
|
switch (length) {
|
|
@@ -2025,7 +2028,7 @@ const hexEncodeUint8Array = (bytes) => {
|
|
|
2025
2028
|
return result;
|
|
2026
2029
|
};
|
|
2027
2030
|
//#endregion
|
|
2028
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
2031
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tracer.js
|
|
2029
2032
|
const ParentSpanKey = "effect/Tracer/ParentSpan";
|
|
2030
2033
|
var ParentSpan = class extends Service()(ParentSpanKey, { fiberCached: true }) {};
|
|
2031
2034
|
const make$3 = (options) => options;
|
|
@@ -2096,10 +2099,10 @@ var NativeSpan = class {
|
|
|
2096
2099
|
}
|
|
2097
2100
|
};
|
|
2098
2101
|
//#endregion
|
|
2099
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
2102
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/metric.js
|
|
2100
2103
|
const FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
|
|
2101
2104
|
//#endregion
|
|
2102
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
2105
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/references.js
|
|
2103
2106
|
const CurrentStackFrame = Reference("effect/References/CurrentStackFrame", {
|
|
2104
2107
|
fiberCached: true,
|
|
2105
2108
|
defaultValue: constUndefined
|
|
@@ -2122,7 +2125,7 @@ const MinimumLogLevel$1 = Reference("effect/References/MinimumLogLevel", {
|
|
|
2122
2125
|
});
|
|
2123
2126
|
const CurrentLogSpans$1 = Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
|
|
2124
2127
|
//#endregion
|
|
2125
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
2128
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/tracer.js
|
|
2126
2129
|
const addSpanStackTrace = (options) => {
|
|
2127
2130
|
if (options?.captureStackTrace === false) return options;
|
|
2128
2131
|
else if (options?.captureStackTrace !== void 0 && typeof options.captureStackTrace !== "boolean") return options;
|
|
@@ -2154,7 +2157,7 @@ const makeStackCleaner = (line) => (stack) => {
|
|
|
2154
2157
|
};
|
|
2155
2158
|
const spanCleaner = makeStackCleaner(3);
|
|
2156
2159
|
//#endregion
|
|
2157
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
2160
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js
|
|
2158
2161
|
var Interrupt = class extends ReasonBase {
|
|
2159
2162
|
constructor(fiberId, annotations = constEmptyAnnotations) {
|
|
2160
2163
|
super("Interrupt", annotations, "Interrupted");
|
|
@@ -2173,7 +2176,7 @@ var Interrupt = class extends ReasonBase {
|
|
|
2173
2176
|
return isInterruptReason(that) && this.fiberId === that.fiberId && this.annotations === that.annotations;
|
|
2174
2177
|
}
|
|
2175
2178
|
[symbol$1]() {
|
|
2176
|
-
return
|
|
2179
|
+
return string(`${this._tag}:${this.fiberId}`);
|
|
2177
2180
|
}
|
|
2178
2181
|
};
|
|
2179
2182
|
const makeInterruptReason$1 = (fiberId) => new Interrupt(fiberId);
|
|
@@ -2404,7 +2407,7 @@ var FiberImpl = class {
|
|
|
2404
2407
|
let cause = causeInterrupt(fiberId);
|
|
2405
2408
|
if (this.cache.stackFrame) cause = causeAnnotate(cause, make$5(StackTraceKey, this.cache.stackFrame));
|
|
2406
2409
|
if (annotations) cause = causeAnnotate(cause, annotations);
|
|
2407
|
-
this._interruptedCause = this._interruptedCause ?
|
|
2410
|
+
this._interruptedCause = this._interruptedCause ? causeAddInterrupts(this._interruptedCause, cause) : cause;
|
|
2408
2411
|
if (this.interruptible) {
|
|
2409
2412
|
if (this._running) this._deferredInterrupt = true;
|
|
2410
2413
|
else this.evaluate(failCause$3(this._interruptedCause));
|
|
@@ -2470,7 +2473,7 @@ var FiberImpl = class {
|
|
|
2470
2473
|
current = cache.tracerContext ? cache.tracerContext(current, this) : current[evaluate](this);
|
|
2471
2474
|
if (current === Yield) {
|
|
2472
2475
|
const yielded = this._yielded;
|
|
2473
|
-
if (
|
|
2476
|
+
if ("~effect/Exit" in yielded) {
|
|
2474
2477
|
this._deferredInterrupt = false;
|
|
2475
2478
|
this._yielded = void 0;
|
|
2476
2479
|
return yielded;
|
|
@@ -2482,7 +2485,7 @@ var FiberImpl = class {
|
|
|
2482
2485
|
return Yield;
|
|
2483
2486
|
}
|
|
2484
2487
|
} catch (error) {
|
|
2485
|
-
if (!hasProperty(current, evaluate)) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
|
|
2488
|
+
if (!hasProperty(current, "~effect/Effect/evaluate")) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
|
|
2486
2489
|
current = exitDie(error);
|
|
2487
2490
|
}
|
|
2488
2491
|
} finally {
|
|
@@ -2667,7 +2670,7 @@ const yieldNowWith = makePrimitive({
|
|
|
2667
2670
|
fiber.currentDispatcher.scheduleTask(() => {
|
|
2668
2671
|
if (resumed) return;
|
|
2669
2672
|
fiber.evaluate(exitVoid);
|
|
2670
|
-
}, this[args] ?? 0);
|
|
2673
|
+
}, this["~effect/Effect/args"] ?? 0);
|
|
2671
2674
|
return fiber.yieldWith(() => {
|
|
2672
2675
|
resumed = true;
|
|
2673
2676
|
});
|
|
@@ -3491,14 +3494,14 @@ const whileLoop$1 = makePrimitive({
|
|
|
3491
3494
|
op: "While",
|
|
3492
3495
|
[contA](value, fiber) {
|
|
3493
3496
|
this[args].step(value);
|
|
3494
|
-
if (this[args].while()) {
|
|
3497
|
+
if (this["~effect/Effect/args"].while()) {
|
|
3495
3498
|
fiber._stack.push(this);
|
|
3496
3499
|
return this[args].body();
|
|
3497
3500
|
}
|
|
3498
3501
|
return exitVoid;
|
|
3499
3502
|
},
|
|
3500
3503
|
[evaluate](fiber) {
|
|
3501
|
-
if (this[args].while()) {
|
|
3504
|
+
if (this["~effect/Effect/args"].while()) {
|
|
3502
3505
|
fiber._stack.push(this);
|
|
3503
3506
|
return this[args].body();
|
|
3504
3507
|
}
|
|
@@ -4138,7 +4141,7 @@ function interruptChildrenPatch() {
|
|
|
4138
4141
|
}
|
|
4139
4142
|
const undefined_$1 = succeed$3(void 0);
|
|
4140
4143
|
//#endregion
|
|
4141
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4144
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Exit.js
|
|
4142
4145
|
const isExit = isExit$1;
|
|
4143
4146
|
const succeed$2 = exitSucceed;
|
|
4144
4147
|
const failCause$2 = exitFailCause;
|
|
@@ -4150,7 +4153,7 @@ const isSuccess = exitIsSuccess;
|
|
|
4150
4153
|
const isFailure = exitIsFailure;
|
|
4151
4154
|
const asVoidAll = exitAsVoidAll;
|
|
4152
4155
|
//#endregion
|
|
4153
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4156
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Deferred.js
|
|
4154
4157
|
const TypeId$4 = "~effect/Deferred";
|
|
4155
4158
|
const DeferredProto = {
|
|
4156
4159
|
[TypeId$4]: {
|
|
@@ -4197,13 +4200,13 @@ const doneUnsafe = (self, effect) => {
|
|
|
4197
4200
|
};
|
|
4198
4201
|
const into = dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$2(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
|
|
4199
4202
|
//#endregion
|
|
4200
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4203
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/References.js
|
|
4201
4204
|
const CurrentLogAnnotations = CurrentLogAnnotations$1;
|
|
4202
4205
|
const CurrentLogSpans = CurrentLogSpans$1;
|
|
4203
4206
|
const MinimumLogLevel = MinimumLogLevel$1;
|
|
4204
4207
|
const TracerTimingEnabled = TracerTimingEnabled$1;
|
|
4205
4208
|
//#endregion
|
|
4206
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4209
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scope.js
|
|
4207
4210
|
const Scope = scopeTag;
|
|
4208
4211
|
const make$1 = scopeMake;
|
|
4209
4212
|
const makeUnsafe = scopeMakeUnsafe;
|
|
@@ -4213,7 +4216,7 @@ const addFinalizer$1 = scopeAddFinalizer;
|
|
|
4213
4216
|
const forkUnsafe = scopeForkUnsafe;
|
|
4214
4217
|
const close = scopeClose;
|
|
4215
4218
|
//#endregion
|
|
4216
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4219
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Layer.js
|
|
4217
4220
|
const TypeId$3 = "~effect/Layer";
|
|
4218
4221
|
const MemoMapTypeId = "~effect/Layer/MemoMap";
|
|
4219
4222
|
const makeMemoMapEntry = (memoMap, layer) => {
|
|
@@ -4369,7 +4372,7 @@ const makeUnimplemented = (error) => {
|
|
|
4369
4372
|
const StreamTypeId = "~effect/Stream";
|
|
4370
4373
|
const ChannelTypeId = "~effect/Channel";
|
|
4371
4374
|
//#endregion
|
|
4372
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4375
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cause.js
|
|
4373
4376
|
const isCause = isCause$1;
|
|
4374
4377
|
const isReason = isCauseReason;
|
|
4375
4378
|
const isFailReason = isFailReason$1;
|
|
@@ -4402,7 +4405,7 @@ const annotate = causeAnnotate;
|
|
|
4402
4405
|
const reasonAnnotations = reasonAnnotations$1;
|
|
4403
4406
|
var StackTrace = class extends Service()("effect/Cause/StackTrace") {};
|
|
4404
4407
|
//#endregion
|
|
4405
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4408
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/random.js
|
|
4406
4409
|
const Random = Reference("effect/Random", { defaultValue: () => ({
|
|
4407
4410
|
nextIntUnsafe() {
|
|
4408
4411
|
return Math.floor(Math.random() * (Number.MAX_SAFE_INTEGER - Number.MIN_SAFE_INTEGER + 1)) + Number.MIN_SAFE_INTEGER;
|
|
@@ -4422,7 +4425,7 @@ const nextBetween = (min, max, draw) => {
|
|
|
4422
4425
|
return view.getFloat64(0);
|
|
4423
4426
|
};
|
|
4424
4427
|
//#endregion
|
|
4425
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4428
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pull.js
|
|
4426
4429
|
const catchDone = dual(2, (effect, f) => catchCauseFilter(effect, filterDoneLeftover, (l) => f(l)));
|
|
4427
4430
|
const isDoneCause = (cause) => cause.reasons.some(isDoneFailure);
|
|
4428
4431
|
const isDoneFailure = (failure) => failure._tag === "Fail" && isDone(failure.error);
|
|
@@ -4450,7 +4453,7 @@ const matchEffect$1 = dual(2, (self, options) => matchCauseEffect$1(self, {
|
|
|
4450
4453
|
}
|
|
4451
4454
|
}));
|
|
4452
4455
|
//#endregion
|
|
4453
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4456
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schedule.js
|
|
4454
4457
|
const TypeId$2 = "~effect/Schedule";
|
|
4455
4458
|
const randomNext = Random.useSync((random) => random.nextDoubleUnsafe());
|
|
4456
4459
|
const CurrentMetadata = Reference("effect/Schedule/CurrentMetadata", { defaultValue: constant({
|
|
@@ -4574,11 +4577,11 @@ const while_ = dual(2, (self, predicate) => fromStep(map$2(toStep(self), (step)
|
|
|
4574
4577
|
})));
|
|
4575
4578
|
const forever$1 = spaced(zero);
|
|
4576
4579
|
//#endregion
|
|
4577
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4580
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/layer.js
|
|
4578
4581
|
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
4582
|
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
4583
|
//#endregion
|
|
4581
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4584
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schedule.js
|
|
4582
4585
|
const findErrorOnly = (cause) => cause.reasons.every(isFailReason$1) ? findError$1(cause) : fail$4(cause);
|
|
4583
4586
|
const repeatOrElse = dual(3, (self, schedule, orElse) => flatMap$2(toStepWithMetadata(schedule), (step) => {
|
|
4584
4587
|
let meta = CurrentMetadata.defaultValue();
|
|
@@ -4621,7 +4624,7 @@ const buildFromOptions = (options) => {
|
|
|
4621
4624
|
return schedule;
|
|
4622
4625
|
};
|
|
4623
4626
|
//#endregion
|
|
4624
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4627
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableHashMap.js
|
|
4625
4628
|
const TypeId$1 = "~effect/MutableHashMap";
|
|
4626
4629
|
const MutableHashMapProto = {
|
|
4627
4630
|
[TypeId$1]: TypeId$1,
|
|
@@ -4721,7 +4724,7 @@ const forEach$1 = dual(2, (self, f) => {
|
|
|
4721
4724
|
self.backing.forEach(f);
|
|
4722
4725
|
});
|
|
4723
4726
|
//#endregion
|
|
4724
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4727
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Request.js
|
|
4725
4728
|
const TypeId = "~effect/Request";
|
|
4726
4729
|
const requestVariance = byReferenceUnsafe({
|
|
4727
4730
|
_E: (_) => _,
|
|
@@ -4746,7 +4749,7 @@ const TaggedClass = (tag) => {
|
|
|
4746
4749
|
};
|
|
4747
4750
|
const makeEntry = (options) => options;
|
|
4748
4751
|
//#endregion
|
|
4749
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4752
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/request.js
|
|
4750
4753
|
const request$1 = dual(2, (self, resolver) => {
|
|
4751
4754
|
const withResolver = (resolver) => callback$1((resume) => {
|
|
4752
4755
|
const entry = addEntry(resolver, self, resume, getCurrentFiber());
|
|
@@ -4853,7 +4856,7 @@ function runBatch(batch) {
|
|
|
4853
4856
|
return batch.run;
|
|
4854
4857
|
}
|
|
4855
4858
|
//#endregion
|
|
4856
|
-
//#region node_modules/.pnpm/effect@4.0.
|
|
4859
|
+
//#region node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js
|
|
4857
4860
|
const isEffect = isEffect$1;
|
|
4858
4861
|
const all = all$1;
|
|
4859
4862
|
const forEach = forEach$2;
|
|
@@ -4996,6 +4999,6 @@ const flatMapEager = flatMapEager$1;
|
|
|
4996
4999
|
const catchEager = catchEager$1;
|
|
4997
5000
|
const fnUntracedEager = fnUntracedEager$1;
|
|
4998
5001
|
//#endregion
|
|
4999
|
-
export { interruptible as $, Service as $a, compose as $i, findError as $n, evaluate as $o, asVoidAll as $r,
|
|
5002
|
+
export { interruptible as $, Service as $a, compose as $i, findError as $n, evaluate as $o, asVoidAll as $r, isUndefined 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, optimize 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, isIterable as Bs, service as Bt, catchTags as C, sort as Ca, fiberAwait as Ci, remove as Cn, isNone as Co, fresh as Cr, byReferenceUnsafe 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, combine$1 as Ds, provideService as Dt, context as E, fail$4 as Ea, fiberInterruptAllAs as Ei, exponential as En, liftThrowable as Eo, mock as Er, array 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, hasProperty 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, isNull as Gs, succeedSome as Gt, fnUntracedEager as H, isZero as Ha, resolveConcurrency as Hi, IllegalArgumentError as Hn, make$6 as Ho, MinimumLogLevel as Hr, isNotNull 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, isBigInt 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, isObject as Js, tap as Jt, forkIn as K, nanos as Ka, sync$1 as Ki, UnknownError as Kn, Prototype as Ko, doneUnsafe as Kr, isNullish as Ks, suspend as Kt, flatMap as L, format as La, makeSpanUnsafe as Li, isDoneCause as Ln, String$1 as Lo, forkUnsafe as Lr, isBoolean as Ls, scope as Lt, exit as M, isSuccess$1 as Ma, getCurrentFiber as Mi, spaced as Mn, some as Mo, unwrap as Mr, structure as Ms, retry as Mt, fail as N, map$4 as Na, iterateConcurrent as Ni, toStep as Nn, toArray as No, Scope as Nr, structureKeys 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, hash 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, symbol$1 as Ps, runForkWith as Pt, interrupt as Q, Reference as Qa, encode as Qi, filterInterruptors as Qn, causeFail as Qo, makeUnsafe$1 as Qr, isTagged 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, isError 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, asEquivalence as Ss, orDie as St, clockWith as T, headUnsafe as Ta, fiberInterruptAll as Ti, size as Tn, isSome as To, mergeAll as Tr, symbol as Ts, provide as Tt, forEach as U, max as Ua, succeed$3 as Ui, NoSuchElementError as Un, Tuple as Uo, TracerTimingEnabled as Ur, isNotNullish as Us, succeed as Ut, fnUntraced as V, isFinite as Va, onExitUnsafe as Vi, Done as Vn, isLessThanOrEqualTo as Vo, CurrentLogAnnotations as Vr, isNever 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, isNotUndefined as Ws, succeedNone as Wt, gen as X, toSeconds as Xa, DisablePropagation as Xi, done as Xn, TaggedError as Xo, isDoneUnsafe as Xr, isPropertyKey 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, isObjectKeyword 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, isString 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, constVoid 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, redact as bs, onInterrupt as bt, as as c, findLast as ca, flow 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, memoizeIdempotent 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, isUnknown 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, pipe 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, pipeArguments as hc, 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, constUndefined 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, string as js, result as jt, die as k, getOrThrow as ka, fiberRunIn as ki, isSchedule as kn, none as ko, provideMerge as kr, number as ks, repeat as kt, asSome as l, flatMapNullishOr as la, identity 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, Prototype$1 as mc, 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, constFalse 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, constant 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, Class$2 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, isNumber as qs, sync as qt, addFinalizer as r, append as ra, constTrue 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, dual 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, or 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, memoize 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, equals$1 as ws, promise as wt, catchReason as x, of as xa, exitVoid as xi, isEmpty as xn, getOrThrow$1 as xo, effectDiscard as xr, symbolRedactable 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, currentFiberTypeId as ys, onExitPrimitive as yt, flatten as z, infinity as za, monotonicTimeNanos as zi, Random as zn, isGreaterThanOrEqualTo as zo, makeUnsafe as zr, isFunction as zs, scopedWith as zt };
|
|
5000
5003
|
|
|
5001
|
-
//# sourceMappingURL=Effect-
|
|
5004
|
+
//# sourceMappingURL=Effect-zUBunSAW.mjs.map
|