lalph 0.3.30 → 0.3.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +888 -618
- package/package.json +3 -3
- package/src/Tracing.ts +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
44
44
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
47
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Pipeable.js
|
|
48
48
|
/**
|
|
49
49
|
* @since 2.0.0
|
|
50
50
|
*/
|
|
@@ -104,7 +104,7 @@ const Class$4 = /* @__PURE__ */ function() {
|
|
|
104
104
|
}();
|
|
105
105
|
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
107
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Function.js
|
|
108
108
|
/**
|
|
109
109
|
* Creates a function that can be used in a data-last (aka `pipe`able) or
|
|
110
110
|
* data-first style.
|
|
@@ -373,7 +373,7 @@ function memoize(f) {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
//#endregion
|
|
376
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
376
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/equal.js
|
|
377
377
|
/** @internal */
|
|
378
378
|
const getAllObjectKeys = (obj) => {
|
|
379
379
|
const keys = new Set(Reflect.ownKeys(obj));
|
|
@@ -393,7 +393,7 @@ const getAllObjectKeys = (obj) => {
|
|
|
393
393
|
const byReferenceInstances = /* @__PURE__ */ new WeakSet();
|
|
394
394
|
|
|
395
395
|
//#endregion
|
|
396
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
396
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Predicate.js
|
|
397
397
|
/**
|
|
398
398
|
* Predicate and Refinement helpers for runtime checks, filtering, and type narrowing.
|
|
399
399
|
* This module provides small, pure functions you can combine to decide whether a
|
|
@@ -1071,7 +1071,7 @@ function isRegExp$1(input) {
|
|
|
1071
1071
|
const or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
|
|
1072
1072
|
|
|
1073
1073
|
//#endregion
|
|
1074
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
1074
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Hash.js
|
|
1075
1075
|
/**
|
|
1076
1076
|
* This module provides utilities for hashing values in TypeScript.
|
|
1077
1077
|
*
|
|
@@ -1086,7 +1086,7 @@ const or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
|
|
|
1086
1086
|
*
|
|
1087
1087
|
* @since 2.0.0
|
|
1088
1088
|
*/
|
|
1089
|
-
const symbol$
|
|
1089
|
+
const symbol$6 = "~effect/interfaces/Hash";
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Computes a hash value for any given value.
|
|
1092
1092
|
*
|
|
@@ -1138,7 +1138,7 @@ const hash = (self) => {
|
|
|
1138
1138
|
if (byReferenceInstances.has(self)) return random(self);
|
|
1139
1139
|
if (hashCache.has(self)) return hashCache.get(self);
|
|
1140
1140
|
const h = withVisitedTracking$1(self, () => {
|
|
1141
|
-
if (isHash(self)) return self[symbol$
|
|
1141
|
+
if (isHash(self)) return self[symbol$6]();
|
|
1142
1142
|
else if (typeof self === "function") return random(self);
|
|
1143
1143
|
else if (Array.isArray(self)) return array(self);
|
|
1144
1144
|
else if (self instanceof Map) return hashMap(self);
|
|
@@ -1253,7 +1253,7 @@ const optimize = (n) => n & 3221225471 | n >>> 1 & 1073741824;
|
|
|
1253
1253
|
* @category guards
|
|
1254
1254
|
* @since 2.0.0
|
|
1255
1255
|
*/
|
|
1256
|
-
const isHash = (u) => hasProperty(u, symbol$
|
|
1256
|
+
const isHash = (u) => hasProperty(u, symbol$6);
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Computes a hash value for a number.
|
|
1259
1259
|
*
|
|
@@ -1421,7 +1421,7 @@ function withVisitedTracking$1(obj, fn) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
1423
|
//#endregion
|
|
1424
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
1424
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Equal.js
|
|
1425
1425
|
/**
|
|
1426
1426
|
* The unique string identifier for the {@link Equal} interface.
|
|
1427
1427
|
*
|
|
@@ -1459,7 +1459,7 @@ function withVisitedTracking$1(obj, fn) {
|
|
|
1459
1459
|
*
|
|
1460
1460
|
* @since 2.0.0
|
|
1461
1461
|
*/
|
|
1462
|
-
const symbol$
|
|
1462
|
+
const symbol$5 = "~effect/interfaces/Equal";
|
|
1463
1463
|
function equals$2() {
|
|
1464
1464
|
if (arguments.length === 1) return (self) => compareBoth(self, arguments[0]);
|
|
1465
1465
|
return compareBoth(arguments[0], arguments[1]);
|
|
@@ -1505,7 +1505,7 @@ function compareObjects(self, that) {
|
|
|
1505
1505
|
const bothEquals = selfIsEqual && thatIsEqual;
|
|
1506
1506
|
if (typeof self === "function" && !bothEquals) return false;
|
|
1507
1507
|
return withVisitedTracking(self, that, () => {
|
|
1508
|
-
if (bothEquals) return self[symbol$
|
|
1508
|
+
if (bothEquals) return self[symbol$5](that);
|
|
1509
1509
|
else if (Array.isArray(self)) {
|
|
1510
1510
|
if (!Array.isArray(that) || self.length !== that.length) return false;
|
|
1511
1511
|
return compareArrays(self, that);
|
|
@@ -1618,7 +1618,7 @@ const compareSets = /* @__PURE__ */ makeCompareSet(compareBoth);
|
|
|
1618
1618
|
* @category guards
|
|
1619
1619
|
* @since 2.0.0
|
|
1620
1620
|
*/
|
|
1621
|
-
const isEqual = (u) => hasProperty(u, symbol$
|
|
1621
|
+
const isEqual = (u) => hasProperty(u, symbol$5);
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Wraps {@link equals} as an `Equivalence<A>`.
|
|
1624
1624
|
*
|
|
@@ -1692,7 +1692,7 @@ const byReferenceUnsafe = (obj) => {
|
|
|
1692
1692
|
};
|
|
1693
1693
|
|
|
1694
1694
|
//#endregion
|
|
1695
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
1695
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Redactable.js
|
|
1696
1696
|
/**
|
|
1697
1697
|
* @since 4.0.0
|
|
1698
1698
|
*/
|
|
@@ -1787,7 +1787,7 @@ const emptyServiceMap$1 = {
|
|
|
1787
1787
|
};
|
|
1788
1788
|
|
|
1789
1789
|
//#endregion
|
|
1790
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
1790
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Formatter.js
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Utilities for converting arbitrary JavaScript values into human-readable
|
|
1793
1793
|
* strings, with support for circular references, redaction, and common JS
|
|
@@ -2130,7 +2130,7 @@ function formatJson$1(input, options) {
|
|
|
2130
2130
|
}
|
|
2131
2131
|
|
|
2132
2132
|
//#endregion
|
|
2133
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
2133
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Inspectable.js
|
|
2134
2134
|
/**
|
|
2135
2135
|
* This module provides utilities for making values inspectable and debuggable in TypeScript.
|
|
2136
2136
|
*
|
|
@@ -2334,7 +2334,7 @@ var Class$3 = class {
|
|
|
2334
2334
|
};
|
|
2335
2335
|
|
|
2336
2336
|
//#endregion
|
|
2337
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
2337
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Utils.js
|
|
2338
2338
|
/**
|
|
2339
2339
|
* @since 2.0.0
|
|
2340
2340
|
*/
|
|
@@ -2412,7 +2412,7 @@ const internalCall = isNotOptimizedAway ? standard[InternalTypeId] : forced[Inte
|
|
|
2412
2412
|
const genConstructor = function* () {}.constructor;
|
|
2413
2413
|
|
|
2414
2414
|
//#endregion
|
|
2415
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
2415
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/core.js
|
|
2416
2416
|
/** @internal */
|
|
2417
2417
|
const EffectTypeId$1 = `~effect/Effect`;
|
|
2418
2418
|
/** @internal */
|
|
@@ -2456,10 +2456,10 @@ const PipeInspectableProto = {
|
|
|
2456
2456
|
};
|
|
2457
2457
|
/** @internal */
|
|
2458
2458
|
const StructuralProto = {
|
|
2459
|
-
[symbol$
|
|
2459
|
+
[symbol$6]() {
|
|
2460
2460
|
return structureKeys(this, Object.keys(this));
|
|
2461
2461
|
},
|
|
2462
|
-
[symbol$
|
|
2462
|
+
[symbol$5](that) {
|
|
2463
2463
|
const selfKeys = Object.keys(this);
|
|
2464
2464
|
const thatKeys = Object.keys(that);
|
|
2465
2465
|
if (selfKeys.length !== thatKeys.length) return false;
|
|
@@ -2531,10 +2531,10 @@ var CauseImpl = class {
|
|
|
2531
2531
|
[NodeInspectSymbol]() {
|
|
2532
2532
|
return this.toJSON();
|
|
2533
2533
|
}
|
|
2534
|
-
[symbol$
|
|
2534
|
+
[symbol$5](that) {
|
|
2535
2535
|
return isCause$1(that) && this.reasons.length === that.reasons.length && this.reasons.every((e, i) => equals$2(e, that.reasons[i]));
|
|
2536
2536
|
}
|
|
2537
|
-
[symbol$
|
|
2537
|
+
[symbol$6]() {
|
|
2538
2538
|
return array(this.reasons);
|
|
2539
2539
|
}
|
|
2540
2540
|
};
|
|
@@ -2593,10 +2593,10 @@ var Fail = class extends ReasonBase {
|
|
|
2593
2593
|
error: this.error
|
|
2594
2594
|
};
|
|
2595
2595
|
}
|
|
2596
|
-
[symbol$
|
|
2596
|
+
[symbol$5](that) {
|
|
2597
2597
|
return isFailReason$1(that) && equals$2(this.error, that.error) && equals$2(this.annotations, that.annotations);
|
|
2598
2598
|
}
|
|
2599
|
-
[symbol$
|
|
2599
|
+
[symbol$6]() {
|
|
2600
2600
|
return combine$2(string$4(this._tag))(combine$2(hash(this.error))(hash(this.annotations)));
|
|
2601
2601
|
}
|
|
2602
2602
|
};
|
|
@@ -2622,10 +2622,10 @@ var Die = class extends ReasonBase {
|
|
|
2622
2622
|
defect: this.defect
|
|
2623
2623
|
};
|
|
2624
2624
|
}
|
|
2625
|
-
[symbol$
|
|
2625
|
+
[symbol$5](that) {
|
|
2626
2626
|
return isDieReason$1(that) && equals$2(this.defect, that.defect) && equals$2(this.annotations, that.annotations);
|
|
2627
2627
|
}
|
|
2628
|
-
[symbol$
|
|
2628
|
+
[symbol$6]() {
|
|
2629
2629
|
return combine$2(string$4(this._tag))(combine$2(hash(this.defect))(hash(this.annotations)));
|
|
2630
2630
|
}
|
|
2631
2631
|
};
|
|
@@ -2682,10 +2682,10 @@ const makeExit = (options) => {
|
|
|
2682
2682
|
[options.prop]: this[args]
|
|
2683
2683
|
};
|
|
2684
2684
|
},
|
|
2685
|
-
[symbol$
|
|
2685
|
+
[symbol$5](that) {
|
|
2686
2686
|
return isExit$1(that) && that._tag === this._tag && equals$2(this[args], that[args]);
|
|
2687
2687
|
},
|
|
2688
|
-
[symbol$
|
|
2688
|
+
[symbol$6]() {
|
|
2689
2689
|
return combine$2(string$4(options.op), hash(this[args]));
|
|
2690
2690
|
}
|
|
2691
2691
|
};
|
|
@@ -2812,7 +2812,7 @@ const done$2 = (value) => {
|
|
|
2812
2812
|
};
|
|
2813
2813
|
|
|
2814
2814
|
//#endregion
|
|
2815
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
2815
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Data.js
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Base class for immutable data types.
|
|
2818
2818
|
*
|
|
@@ -3011,7 +3011,7 @@ const Error$2 = Error$3;
|
|
|
3011
3011
|
const TaggedError = TaggedError$1;
|
|
3012
3012
|
|
|
3013
3013
|
//#endregion
|
|
3014
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
3014
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Order.js
|
|
3015
3015
|
/**
|
|
3016
3016
|
* This module provides the `Order` type class for defining total orderings on types.
|
|
3017
3017
|
* An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
|
|
@@ -3696,7 +3696,7 @@ const clamp$2 = (O) => dual(2, (self, options) => min$3(O)(options.maximum, max$
|
|
|
3696
3696
|
const isBetween$1 = (O) => dual(2, (self, options) => !isLessThan$4(O)(self, options.minimum) && !isGreaterThan$4(O)(self, options.maximum));
|
|
3697
3697
|
|
|
3698
3698
|
//#endregion
|
|
3699
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
3699
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/UndefinedOr.js
|
|
3700
3700
|
/**
|
|
3701
3701
|
* @since 4.0.0
|
|
3702
3702
|
*/
|
|
@@ -3717,8 +3717,8 @@ const liftThrowable = (f) => (...a) => {
|
|
|
3717
3717
|
};
|
|
3718
3718
|
|
|
3719
3719
|
//#endregion
|
|
3720
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
3721
|
-
const TypeId$
|
|
3720
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Duration.js
|
|
3721
|
+
const TypeId$67 = "~effect/time/Duration";
|
|
3722
3722
|
const bigint0$2 = /* @__PURE__ */ BigInt(0);
|
|
3723
3723
|
const bigint24 = /* @__PURE__ */ BigInt(24);
|
|
3724
3724
|
const bigint60 = /* @__PURE__ */ BigInt(60);
|
|
@@ -3804,11 +3804,11 @@ const zeroDurationValue = {
|
|
|
3804
3804
|
const infinityDurationValue = { _tag: "Infinity" };
|
|
3805
3805
|
const negativeInfinityDurationValue = { _tag: "NegativeInfinity" };
|
|
3806
3806
|
const DurationProto = {
|
|
3807
|
-
[TypeId$
|
|
3808
|
-
[symbol$
|
|
3807
|
+
[TypeId$67]: TypeId$67,
|
|
3808
|
+
[symbol$6]() {
|
|
3809
3809
|
return structure(this.value);
|
|
3810
3810
|
},
|
|
3811
|
-
[symbol$
|
|
3811
|
+
[symbol$5](that) {
|
|
3812
3812
|
return isDuration(that) && equals$1(this, that);
|
|
3813
3813
|
},
|
|
3814
3814
|
toString() {
|
|
@@ -3881,7 +3881,7 @@ const make$63 = (input) => {
|
|
|
3881
3881
|
* @since 2.0.0
|
|
3882
3882
|
* @category guards
|
|
3883
3883
|
*/
|
|
3884
|
-
const isDuration = (u) => hasProperty(u, TypeId$
|
|
3884
|
+
const isDuration = (u) => hasProperty(u, TypeId$67);
|
|
3885
3885
|
/**
|
|
3886
3886
|
* Checks if a Duration is finite (not infinite).
|
|
3887
3887
|
*
|
|
@@ -4454,7 +4454,7 @@ const format$3 = (self) => {
|
|
|
4454
4454
|
};
|
|
4455
4455
|
|
|
4456
4456
|
//#endregion
|
|
4457
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
4457
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Equivalence.js
|
|
4458
4458
|
/**
|
|
4459
4459
|
* Creates a custom equivalence relation with an optimized reference equality check.
|
|
4460
4460
|
*
|
|
@@ -4785,7 +4785,7 @@ function Struct$1(fields) {
|
|
|
4785
4785
|
}
|
|
4786
4786
|
|
|
4787
4787
|
//#endregion
|
|
4788
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
4788
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/doNotation.js
|
|
4789
4789
|
/** @internal */
|
|
4790
4790
|
const let_$2 = (map) => dual(3, (self, name, f) => map(self, (a) => ({
|
|
4791
4791
|
...a,
|
|
@@ -4800,23 +4800,23 @@ const bind$3 = (map, flatMap) => dual(3, (self, name, f) => flatMap(self, (a) =>
|
|
|
4800
4800
|
}))));
|
|
4801
4801
|
|
|
4802
4802
|
//#endregion
|
|
4803
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
4803
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/option.js
|
|
4804
4804
|
/**
|
|
4805
4805
|
* @since 2.0.0
|
|
4806
4806
|
*/
|
|
4807
|
-
const TypeId$
|
|
4807
|
+
const TypeId$66 = "~effect/data/Option";
|
|
4808
4808
|
const CommonProto$1 = {
|
|
4809
|
-
[TypeId$
|
|
4809
|
+
[TypeId$66]: { _A: (_) => _ },
|
|
4810
4810
|
...PipeInspectableProto,
|
|
4811
4811
|
...YieldableProto
|
|
4812
4812
|
};
|
|
4813
4813
|
const SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto$1), {
|
|
4814
4814
|
_tag: "Some",
|
|
4815
4815
|
_op: "Some",
|
|
4816
|
-
[symbol$
|
|
4816
|
+
[symbol$5](that) {
|
|
4817
4817
|
return isOption$1(that) && isSome$1(that) && equals$2(this.value, that.value);
|
|
4818
4818
|
},
|
|
4819
|
-
[symbol$
|
|
4819
|
+
[symbol$6]() {
|
|
4820
4820
|
return combine$2(hash(this._tag))(hash(this.value));
|
|
4821
4821
|
},
|
|
4822
4822
|
toString() {
|
|
@@ -4837,10 +4837,10 @@ const NoneHash = /* @__PURE__ */ hash("None");
|
|
|
4837
4837
|
const NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto$1), {
|
|
4838
4838
|
_tag: "None",
|
|
4839
4839
|
_op: "None",
|
|
4840
|
-
[symbol$
|
|
4840
|
+
[symbol$5](that) {
|
|
4841
4841
|
return isOption$1(that) && isNone$1(that);
|
|
4842
4842
|
},
|
|
4843
|
-
[symbol$
|
|
4843
|
+
[symbol$6]() {
|
|
4844
4844
|
return NoneHash;
|
|
4845
4845
|
},
|
|
4846
4846
|
toString() {
|
|
@@ -4857,7 +4857,7 @@ const NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Co
|
|
|
4857
4857
|
}
|
|
4858
4858
|
});
|
|
4859
4859
|
/** @internal */
|
|
4860
|
-
const isOption$1 = (input) => hasProperty(input, TypeId$
|
|
4860
|
+
const isOption$1 = (input) => hasProperty(input, TypeId$66);
|
|
4861
4861
|
/** @internal */
|
|
4862
4862
|
const isNone$1 = (fa) => fa._tag === "None";
|
|
4863
4863
|
/** @internal */
|
|
@@ -4872,10 +4872,10 @@ const some$3 = (value) => {
|
|
|
4872
4872
|
};
|
|
4873
4873
|
|
|
4874
4874
|
//#endregion
|
|
4875
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
4876
|
-
const TypeId$
|
|
4875
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/result.js
|
|
4876
|
+
const TypeId$65 = "~effect/data/Result";
|
|
4877
4877
|
const CommonProto = {
|
|
4878
|
-
[TypeId$
|
|
4878
|
+
[TypeId$65]: {
|
|
4879
4879
|
_A: (_) => _,
|
|
4880
4880
|
_E: (_) => _
|
|
4881
4881
|
},
|
|
@@ -4885,10 +4885,10 @@ const CommonProto = {
|
|
|
4885
4885
|
const SuccessProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto), {
|
|
4886
4886
|
_tag: "Success",
|
|
4887
4887
|
_op: "Success",
|
|
4888
|
-
[symbol$
|
|
4888
|
+
[symbol$5](that) {
|
|
4889
4889
|
return isResult$1(that) && isSuccess$6(that) && equals$2(this.success, that.success);
|
|
4890
4890
|
},
|
|
4891
|
-
[symbol$
|
|
4891
|
+
[symbol$6]() {
|
|
4892
4892
|
return combine$2(hash(this._tag))(hash(this.success));
|
|
4893
4893
|
},
|
|
4894
4894
|
toString() {
|
|
@@ -4908,10 +4908,10 @@ const SuccessProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create
|
|
|
4908
4908
|
const FailureProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto), {
|
|
4909
4909
|
_tag: "Failure",
|
|
4910
4910
|
_op: "Failure",
|
|
4911
|
-
[symbol$
|
|
4911
|
+
[symbol$5](that) {
|
|
4912
4912
|
return isResult$1(that) && isFailure$5(that) && equals$2(this.failure, that.failure);
|
|
4913
4913
|
},
|
|
4914
|
-
[symbol$
|
|
4914
|
+
[symbol$6]() {
|
|
4915
4915
|
return combine$2(hash(this._tag))(hash(this.failure));
|
|
4916
4916
|
},
|
|
4917
4917
|
toString() {
|
|
@@ -4929,7 +4929,7 @@ const FailureProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create
|
|
|
4929
4929
|
}
|
|
4930
4930
|
});
|
|
4931
4931
|
/** @internal */
|
|
4932
|
-
const isResult$1 = (input) => hasProperty(input, TypeId$
|
|
4932
|
+
const isResult$1 = (input) => hasProperty(input, TypeId$65);
|
|
4933
4933
|
/** @internal */
|
|
4934
4934
|
const isFailure$5 = (result) => result._tag === "Failure";
|
|
4935
4935
|
/** @internal */
|
|
@@ -4954,7 +4954,7 @@ const getSuccess$3 = (self) => isFailure$5(self) ? none$5 : some$3(self.success)
|
|
|
4954
4954
|
const fromOption$4 = /* @__PURE__ */ dual(2, (self, onNone) => isNone$1(self) ? fail$9(onNone()) : succeed$7(self.value));
|
|
4955
4955
|
|
|
4956
4956
|
//#endregion
|
|
4957
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
4957
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Option.js
|
|
4958
4958
|
/**
|
|
4959
4959
|
* Creates an `Option` representing the absence of a value.
|
|
4960
4960
|
*
|
|
@@ -5697,7 +5697,7 @@ const makeEquivalence$5 = (isEquivalent) => make$62((x, y) => isNone(x) ? isNone
|
|
|
5697
5697
|
const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
|
|
5698
5698
|
|
|
5699
5699
|
//#endregion
|
|
5700
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
5700
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Result.js
|
|
5701
5701
|
/**
|
|
5702
5702
|
* Creates a `Result` holding a `Success` value.
|
|
5703
5703
|
*
|
|
@@ -6060,7 +6060,7 @@ const getOrThrow$1 = /* @__PURE__ */ getOrThrowWith(identity);
|
|
|
6060
6060
|
const succeedNone$2 = /* @__PURE__ */ succeed$6(none$5);
|
|
6061
6061
|
|
|
6062
6062
|
//#endregion
|
|
6063
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6063
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Filter.js
|
|
6064
6064
|
/**
|
|
6065
6065
|
* Applies a filter, predicate, or refinement to an input and returns a boxed
|
|
6066
6066
|
* result. Extra arguments are forwarded to the function.
|
|
@@ -6161,7 +6161,7 @@ const bigint = /* @__PURE__ */ fromPredicate(isBigInt);
|
|
|
6161
6161
|
* @since 4.0.0
|
|
6162
6162
|
* @category Constructors
|
|
6163
6163
|
*/
|
|
6164
|
-
const symbol$
|
|
6164
|
+
const symbol$4 = /* @__PURE__ */ fromPredicate(isSymbol);
|
|
6165
6165
|
/**
|
|
6166
6166
|
* A predefined filter that only passes through Date objects.
|
|
6167
6167
|
*
|
|
@@ -6219,7 +6219,7 @@ const toOption = (self) => (input) => {
|
|
|
6219
6219
|
};
|
|
6220
6220
|
|
|
6221
6221
|
//#endregion
|
|
6222
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6222
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/array.js
|
|
6223
6223
|
/**
|
|
6224
6224
|
* @since 2.0.0
|
|
6225
6225
|
*/
|
|
@@ -6227,7 +6227,7 @@ const toOption = (self) => (input) => {
|
|
|
6227
6227
|
const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
6228
6228
|
|
|
6229
6229
|
//#endregion
|
|
6230
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6230
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Tuple.js
|
|
6231
6231
|
/**
|
|
6232
6232
|
* Creates an `Equivalence` for tuples by comparing corresponding elements
|
|
6233
6233
|
* using the provided per-position `Equivalence`s. Two tuples are equivalent
|
|
@@ -6285,7 +6285,7 @@ const makeEquivalence$4 = Tuple$1;
|
|
|
6285
6285
|
const makeOrder$2 = Tuple$2;
|
|
6286
6286
|
|
|
6287
6287
|
//#endregion
|
|
6288
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6288
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Iterable.js
|
|
6289
6289
|
/**
|
|
6290
6290
|
* Return the number of elements in a `Iterable`.
|
|
6291
6291
|
*
|
|
@@ -6499,7 +6499,7 @@ const filter$8 = /* @__PURE__ */ dual(2, (self, predicate) => ({ [Symbol.iterato
|
|
|
6499
6499
|
} }));
|
|
6500
6500
|
|
|
6501
6501
|
//#endregion
|
|
6502
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6502
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Record.js
|
|
6503
6503
|
/**
|
|
6504
6504
|
* Creates a new, empty record.
|
|
6505
6505
|
*
|
|
@@ -6703,7 +6703,7 @@ const makeEquivalence$3 = (equivalence) => {
|
|
|
6703
6703
|
};
|
|
6704
6704
|
|
|
6705
6705
|
//#endregion
|
|
6706
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
6706
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Array.js
|
|
6707
6707
|
/**
|
|
6708
6708
|
* Utilities for working with immutable arrays (and non-empty arrays) in a
|
|
6709
6709
|
* functional style. All functions treat arrays as immutable — they return new
|
|
@@ -7641,7 +7641,7 @@ const dedupeWith = /* @__PURE__ */ dual(2, (self, isEquivalent) => {
|
|
|
7641
7641
|
const join$3 = /* @__PURE__ */ dual(2, (self, sep) => fromIterable$4(self).join(sep));
|
|
7642
7642
|
|
|
7643
7643
|
//#endregion
|
|
7644
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
7644
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/ServiceMap.js
|
|
7645
7645
|
const ServiceTypeId = "~effect/ServiceMap/Service";
|
|
7646
7646
|
/**
|
|
7647
7647
|
* @example
|
|
@@ -7724,7 +7724,7 @@ const ServiceProto = {
|
|
|
7724
7724
|
}
|
|
7725
7725
|
};
|
|
7726
7726
|
const ReferenceTypeId = "~effect/ServiceMap/Reference";
|
|
7727
|
-
const TypeId$
|
|
7727
|
+
const TypeId$64 = "~effect/ServiceMap";
|
|
7728
7728
|
/**
|
|
7729
7729
|
* @example
|
|
7730
7730
|
* ```ts
|
|
@@ -7748,7 +7748,7 @@ const makeUnsafe$14 = (mapUnsafe) => {
|
|
|
7748
7748
|
};
|
|
7749
7749
|
const Proto$23 = {
|
|
7750
7750
|
...PipeInspectableProto,
|
|
7751
|
-
[TypeId$
|
|
7751
|
+
[TypeId$64]: { _Services: (_) => _ },
|
|
7752
7752
|
toJSON() {
|
|
7753
7753
|
return {
|
|
7754
7754
|
_id: "ServiceMap",
|
|
@@ -7758,12 +7758,12 @@ const Proto$23 = {
|
|
|
7758
7758
|
}))
|
|
7759
7759
|
};
|
|
7760
7760
|
},
|
|
7761
|
-
[symbol$
|
|
7761
|
+
[symbol$5](that) {
|
|
7762
7762
|
if (!isServiceMap(that) || this.mapUnsafe.size !== that.mapUnsafe.size) return false;
|
|
7763
7763
|
for (const k of this.mapUnsafe.keys()) if (!that.mapUnsafe.has(k) || !equals$2(this.mapUnsafe.get(k), that.mapUnsafe.get(k))) return false;
|
|
7764
7764
|
return true;
|
|
7765
7765
|
},
|
|
7766
|
-
[symbol$
|
|
7766
|
+
[symbol$6]() {
|
|
7767
7767
|
return number$2(this.mapUnsafe.size);
|
|
7768
7768
|
}
|
|
7769
7769
|
};
|
|
@@ -7781,7 +7781,7 @@ const Proto$23 = {
|
|
|
7781
7781
|
* @since 4.0.0
|
|
7782
7782
|
* @category Guards
|
|
7783
7783
|
*/
|
|
7784
|
-
const isServiceMap = (u) => hasProperty(u, TypeId$
|
|
7784
|
+
const isServiceMap = (u) => hasProperty(u, TypeId$64);
|
|
7785
7785
|
/**
|
|
7786
7786
|
* Checks if the provided argument is a `Reference`.
|
|
7787
7787
|
*
|
|
@@ -7868,16 +7868,6 @@ const add$3 = /* @__PURE__ */ dual(3, (self, key, service) => {
|
|
|
7868
7868
|
return makeUnsafe$14(map);
|
|
7869
7869
|
});
|
|
7870
7870
|
/**
|
|
7871
|
-
* @since 4.0.0
|
|
7872
|
-
* @category Adders
|
|
7873
|
-
*/
|
|
7874
|
-
const addOrOmit = /* @__PURE__ */ dual(3, (self, key, service) => {
|
|
7875
|
-
const map = new Map(self.mapUnsafe);
|
|
7876
|
-
if (service._tag === "None") map.delete(key.key);
|
|
7877
|
-
else map.set(key.key, service.value);
|
|
7878
|
-
return makeUnsafe$14(map);
|
|
7879
|
-
});
|
|
7880
|
-
/**
|
|
7881
7871
|
* Get a service from the context that corresponds to the given key, or
|
|
7882
7872
|
* use the fallback value.
|
|
7883
7873
|
*
|
|
@@ -8155,7 +8145,7 @@ const mergeAll$1 = (...ctxs) => {
|
|
|
8155
8145
|
const Reference = Service$1;
|
|
8156
8146
|
|
|
8157
8147
|
//#endregion
|
|
8158
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
8148
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Scheduler.js
|
|
8159
8149
|
/**
|
|
8160
8150
|
* @since 4.0.0
|
|
8161
8151
|
* @category references
|
|
@@ -8384,7 +8374,7 @@ var MixedScheduler = class {
|
|
|
8384
8374
|
const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBeforeYield", { defaultValue: () => 2048 });
|
|
8385
8375
|
|
|
8386
8376
|
//#endregion
|
|
8387
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
8377
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Tracer.js
|
|
8388
8378
|
/**
|
|
8389
8379
|
* @since 2.0.0
|
|
8390
8380
|
* @category tags
|
|
@@ -8569,7 +8559,7 @@ const randomHexString = /* @__PURE__ */ function() {
|
|
|
8569
8559
|
}();
|
|
8570
8560
|
|
|
8571
8561
|
//#endregion
|
|
8572
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
8562
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/References.js
|
|
8573
8563
|
/**
|
|
8574
8564
|
* This module provides a collection of reference implementations for commonly used
|
|
8575
8565
|
* Effect runtime configuration values. These references allow you to access and
|
|
@@ -9032,12 +9022,12 @@ const MinimumLogLevel = /* @__PURE__ */ Reference("effect/References/MinimumLogL
|
|
|
9032
9022
|
const CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
|
|
9033
9023
|
|
|
9034
9024
|
//#endregion
|
|
9035
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
9025
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/metric.js
|
|
9036
9026
|
/** @internal */
|
|
9037
9027
|
const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
|
|
9038
9028
|
|
|
9039
9029
|
//#endregion
|
|
9040
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
9030
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/tracer.js
|
|
9041
9031
|
/** @internal */
|
|
9042
9032
|
const addSpanStackTrace = (options) => {
|
|
9043
9033
|
if (options?.captureStackTrace === false) return options;
|
|
@@ -9068,11 +9058,11 @@ const makeStackCleaner = (line) => (stack) => {
|
|
|
9068
9058
|
const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
|
|
9069
9059
|
|
|
9070
9060
|
//#endregion
|
|
9071
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
9061
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/version.js
|
|
9072
9062
|
const version$1 = "dev";
|
|
9073
9063
|
|
|
9074
9064
|
//#endregion
|
|
9075
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
9065
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/effect.js
|
|
9076
9066
|
/** @internal */
|
|
9077
9067
|
var Interrupt$1 = class extends ReasonBase {
|
|
9078
9068
|
fiberId;
|
|
@@ -9089,10 +9079,10 @@ var Interrupt$1 = class extends ReasonBase {
|
|
|
9089
9079
|
fiberId: this.fiberId
|
|
9090
9080
|
};
|
|
9091
9081
|
}
|
|
9092
|
-
[symbol$
|
|
9082
|
+
[symbol$5](that) {
|
|
9093
9083
|
return isInterruptReason$1(that) && this.fiberId === that.fiberId && this.annotations === that.annotations;
|
|
9094
9084
|
}
|
|
9095
|
-
[symbol$
|
|
9085
|
+
[symbol$6]() {
|
|
9096
9086
|
return combine$2(string$4(`${this._tag}:${this.fiberId}`))(random(this.annotations));
|
|
9097
9087
|
}
|
|
9098
9088
|
};
|
|
@@ -9226,6 +9216,7 @@ const causePrettyErrors = (self) => {
|
|
|
9226
9216
|
Error.stackTraceLimit = prevStackLimit;
|
|
9227
9217
|
return errors;
|
|
9228
9218
|
};
|
|
9219
|
+
/** @internal */
|
|
9229
9220
|
const causePrettyError = (original, annotations) => {
|
|
9230
9221
|
const kind = typeof original;
|
|
9231
9222
|
let error;
|
|
@@ -9313,17 +9304,30 @@ const fiberIdStore = { id: 0 };
|
|
|
9313
9304
|
/** @internal */
|
|
9314
9305
|
const getCurrentFiber = () => globalThis[currentFiberTypeId];
|
|
9315
9306
|
const keepAlive$1 = /* @__PURE__ */ (() => {
|
|
9307
|
+
let isAvailable;
|
|
9308
|
+
const start = () => {
|
|
9309
|
+
if (isAvailable === true) return setInterval(constVoid, 2147483647);
|
|
9310
|
+
else if (isAvailable === false) return void 0;
|
|
9311
|
+
try {
|
|
9312
|
+
const running = setInterval(constVoid, 2147483647);
|
|
9313
|
+
isAvailable = true;
|
|
9314
|
+
return running;
|
|
9315
|
+
} catch {
|
|
9316
|
+
isAvailable = false;
|
|
9317
|
+
return;
|
|
9318
|
+
}
|
|
9319
|
+
};
|
|
9316
9320
|
let count = 0;
|
|
9317
9321
|
let running = void 0;
|
|
9318
9322
|
return {
|
|
9319
9323
|
increment() {
|
|
9320
9324
|
count++;
|
|
9321
|
-
running
|
|
9325
|
+
if (running === void 0) running = start();
|
|
9322
9326
|
},
|
|
9323
9327
|
decrement() {
|
|
9324
9328
|
count--;
|
|
9325
9329
|
if (count === 0 && running !== void 0) {
|
|
9326
|
-
|
|
9330
|
+
clearInterval(running);
|
|
9327
9331
|
running = void 0;
|
|
9328
9332
|
}
|
|
9329
9333
|
}
|
|
@@ -9557,8 +9561,10 @@ const fiberJoinAll = (self) => callback$2((resume) => {
|
|
|
9557
9561
|
/** @internal */
|
|
9558
9562
|
const fiberInterrupt = (self) => withFiber$1((fiber) => fiberInterruptAs(self, fiber.id));
|
|
9559
9563
|
/** @internal */
|
|
9560
|
-
const fiberInterruptAs = /* @__PURE__ */ dual(
|
|
9561
|
-
|
|
9564
|
+
const fiberInterruptAs = /* @__PURE__ */ dual((args) => hasProperty(args[0], FiberTypeId), (self, fiberId, annotations) => withFiber$1((parent) => {
|
|
9565
|
+
let ann = fiberStackAnnotations(parent);
|
|
9566
|
+
ann = ann && annotations ? merge$4(ann, annotations) : ann ?? annotations;
|
|
9567
|
+
self.interruptUnsafe(fiberId, ann);
|
|
9562
9568
|
return asVoid$2(fiberAwait(self));
|
|
9563
9569
|
}));
|
|
9564
9570
|
/** @internal */
|
|
@@ -10020,25 +10026,16 @@ const updateServices$1 = /* @__PURE__ */ dual(2, (self, f) => withFiber$1((fiber
|
|
|
10020
10026
|
const nextServices = f(prev);
|
|
10021
10027
|
if (prev === nextServices) return self;
|
|
10022
10028
|
fiber.setServices(nextServices);
|
|
10023
|
-
const newServices = /* @__PURE__ */ new Map();
|
|
10024
|
-
for (const [key, value] of fiber.services.mapUnsafe) if (!prev.mapUnsafe.has(key) || value !== prev.mapUnsafe.get(key)) newServices.set(key, value);
|
|
10025
10029
|
return onExitPrimitive$1(self, () => {
|
|
10026
|
-
|
|
10027
|
-
for (const [key, value] of newServices) {
|
|
10028
|
-
if (value !== map.get(key)) continue;
|
|
10029
|
-
if (prev.mapUnsafe.has(key)) map.set(key, prev.mapUnsafe.get(key));
|
|
10030
|
-
else map.delete(key);
|
|
10031
|
-
}
|
|
10032
|
-
fiber.setServices(makeUnsafe$14(map));
|
|
10030
|
+
fiber.setServices(prev);
|
|
10033
10031
|
});
|
|
10034
10032
|
}));
|
|
10035
10033
|
/** @internal */
|
|
10036
|
-
const updateService$1 = /* @__PURE__ */ dual(3, (self, service, f) =>
|
|
10037
|
-
const prev = getUnsafe$5(
|
|
10034
|
+
const updateService$1 = /* @__PURE__ */ dual(3, (self, service, f) => updateServices$1(self, (s) => {
|
|
10035
|
+
const prev = getUnsafe$5(s, service);
|
|
10038
10036
|
const next = f(prev);
|
|
10039
|
-
if (prev === next) return
|
|
10040
|
-
|
|
10041
|
-
return onExit$3(self, () => sync$1(() => fiber.setServices(add$3(fiber.services, service, prev))));
|
|
10037
|
+
if (prev === next) return s;
|
|
10038
|
+
return add$3(s, service, next);
|
|
10042
10039
|
}));
|
|
10043
10040
|
/** @internal */
|
|
10044
10041
|
const services$1 = () => getServiceMap;
|
|
@@ -10055,11 +10052,9 @@ const provideService$1 = function() {
|
|
|
10055
10052
|
if (arguments.length === 1) return dual(2, (self, impl) => provideServiceImpl(self, arguments[0], impl));
|
|
10056
10053
|
return dual(3, (self, service, impl) => provideServiceImpl(self, service, impl)).apply(this, arguments);
|
|
10057
10054
|
};
|
|
10058
|
-
const provideServiceImpl = (self, service, implementation) =>
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
fiber.setServices(add$3(fiber.services, service, implementation));
|
|
10062
|
-
return onExit$3(self, () => sync$1(() => fiber.setServices(addOrOmit(fiber.services, service, prev))));
|
|
10055
|
+
const provideServiceImpl = (self, service, implementation) => updateServices$1(self, (s) => {
|
|
10056
|
+
if (s.mapUnsafe.get(service.key) === implementation) return s;
|
|
10057
|
+
return add$3(s, service, implementation);
|
|
10063
10058
|
});
|
|
10064
10059
|
/** @internal */
|
|
10065
10060
|
const provideServiceEffect$1 = /* @__PURE__ */ dual(3, (self, service, acquire) => flatMap$4(acquire, (implementation) => provideService$1(self, service, implementation)));
|
|
@@ -10180,7 +10175,7 @@ const orElseSucceed$1 = /* @__PURE__ */ dual(2, (self, f) => catch_$2(self, (_)
|
|
|
10180
10175
|
/** @internal */
|
|
10181
10176
|
const eventually$1 = (self) => catch_$2(self, (_) => flatMap$4(yieldNow$1, () => eventually$1(self)));
|
|
10182
10177
|
/** @internal */
|
|
10183
|
-
const ignore$
|
|
10178
|
+
const ignore$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, options) => {
|
|
10184
10179
|
if (!options?.log) return matchEffect$2(self, {
|
|
10185
10180
|
onFailure: (_) => void_$3,
|
|
10186
10181
|
onSuccess: (_) => void_$3
|
|
@@ -10397,11 +10392,11 @@ const scope$1 = /* @__PURE__ */ scopeTag.asEffect();
|
|
|
10397
10392
|
const provideScope = /* @__PURE__ */ provideService$1(scopeTag);
|
|
10398
10393
|
/** @internal */
|
|
10399
10394
|
const scoped$2 = (self) => withFiber$1((fiber) => {
|
|
10400
|
-
const prev =
|
|
10395
|
+
const prev = fiber.services;
|
|
10401
10396
|
const scope = scopeMakeUnsafe();
|
|
10402
10397
|
fiber.setServices(add$3(fiber.services, scopeTag, scope));
|
|
10403
10398
|
return onExitPrimitive$1(self, (exit) => {
|
|
10404
|
-
fiber.setServices(
|
|
10399
|
+
fiber.setServices(prev);
|
|
10405
10400
|
return scopeCloseUnsafe(scope, exit);
|
|
10406
10401
|
});
|
|
10407
10402
|
});
|
|
@@ -10549,6 +10544,11 @@ const all$1 = (arg, options) => {
|
|
|
10549
10544
|
/** @internal */
|
|
10550
10545
|
const partition$1 = /* @__PURE__ */ dual((args) => isIterable(args[0]) && !isEffect$1(args[0]), (elements, f, options) => map$11(forEach$4(elements, (a, i) => result$1(f(a, i)), options), (results) => partitionMap(results, identity)));
|
|
10551
10546
|
/** @internal */
|
|
10547
|
+
const validate$1 = /* @__PURE__ */ dual((args) => isIterable(args[0]) && !isEffect$1(args[0]), (elements, f, options) => flatMap$4(partition$1(elements, f, { concurrency: options?.concurrency }), ([excluded, satisfying]) => {
|
|
10548
|
+
if (isArrayNonEmpty(excluded)) return fail$7(excluded);
|
|
10549
|
+
return options?.discard ? void_$3 : succeed$5(satisfying);
|
|
10550
|
+
}));
|
|
10551
|
+
/** @internal */
|
|
10552
10552
|
const whileLoop$1 = /* @__PURE__ */ makePrimitive$1({
|
|
10553
10553
|
op: "While",
|
|
10554
10554
|
[contA](value, fiber) {
|
|
@@ -11213,6 +11213,31 @@ const CurrentLoggers$1 = /* @__PURE__ */ Reference("effect/Loggers/CurrentLogger
|
|
|
11213
11213
|
/** @internal */
|
|
11214
11214
|
const LogToStderr$1 = /* @__PURE__ */ Reference("effect/Logger/LogToStderr", { defaultValue: constFalse });
|
|
11215
11215
|
/** @internal */
|
|
11216
|
+
const annotateLogsScoped$1 = function() {
|
|
11217
|
+
const entries = typeof arguments[0] === "string" ? [[arguments[0], arguments[1]]] : Object.entries(arguments[0]);
|
|
11218
|
+
return uninterruptible$1(withFiber$1((fiber) => {
|
|
11219
|
+
const prev = fiber.getRef(CurrentLogAnnotations);
|
|
11220
|
+
const next = { ...prev };
|
|
11221
|
+
for (let i = 0; i < entries.length; i++) {
|
|
11222
|
+
const [key, value] = entries[i];
|
|
11223
|
+
next[key] = value;
|
|
11224
|
+
}
|
|
11225
|
+
fiber.setServices(add$3(fiber.services, CurrentLogAnnotations, next));
|
|
11226
|
+
return scopeAddFinalizerExit(getUnsafe$5(fiber.services, scopeTag), (_) => {
|
|
11227
|
+
const current = fiber.getRef(CurrentLogAnnotations);
|
|
11228
|
+
const next = { ...current };
|
|
11229
|
+
for (let i = 0; i < entries.length; i++) {
|
|
11230
|
+
const [key, value] = entries[i];
|
|
11231
|
+
if (current[key] !== value) continue;
|
|
11232
|
+
if (key in prev) next[key] = prev[key];
|
|
11233
|
+
else delete next[key];
|
|
11234
|
+
}
|
|
11235
|
+
fiber.setServices(add$3(fiber.services, CurrentLogAnnotations, next));
|
|
11236
|
+
return void_$3;
|
|
11237
|
+
});
|
|
11238
|
+
}));
|
|
11239
|
+
};
|
|
11240
|
+
/** @internal */
|
|
11216
11241
|
const LoggerTypeId = "~effect/Logger";
|
|
11217
11242
|
const LoggerProto = {
|
|
11218
11243
|
[LoggerTypeId]: {
|
|
@@ -11436,9 +11461,28 @@ function interruptChildrenPatch() {
|
|
|
11436
11461
|
}
|
|
11437
11462
|
/** @internal */
|
|
11438
11463
|
const undefined_$2 = /* @__PURE__ */ succeed$5(void 0);
|
|
11464
|
+
/** @internal */
|
|
11465
|
+
const CurrentErrorReporters$1 = /* @__PURE__ */ Reference("effect/ErrorReporter/CurrentErrorReporters", { defaultValue: () => /* @__PURE__ */ new Set() });
|
|
11466
|
+
/** @internal */
|
|
11467
|
+
const withErrorReporting$1 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, options) => onError$1(self, (cause) => withFiber$1((fiber) => {
|
|
11468
|
+
reportCauseUnsafe(fiber, cause, options?.defectsOnly);
|
|
11469
|
+
return void_$3;
|
|
11470
|
+
})));
|
|
11471
|
+
/** @internal */
|
|
11472
|
+
const reportCauseUnsafe = (fiber, cause, defectsOnly) => {
|
|
11473
|
+
const reporters = fiber.getRef(CurrentErrorReporters$1);
|
|
11474
|
+
if (reporters.size === 0) return;
|
|
11475
|
+
if (defectsOnly && !hasDies$2(cause)) return;
|
|
11476
|
+
const opts = {
|
|
11477
|
+
cause,
|
|
11478
|
+
fiber,
|
|
11479
|
+
timestamp: fiber.getRef(ClockRef).currentTimeNanosUnsafe()
|
|
11480
|
+
};
|
|
11481
|
+
reporters.forEach((reporter) => reporter.report(opts));
|
|
11482
|
+
};
|
|
11439
11483
|
|
|
11440
11484
|
//#endregion
|
|
11441
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
11485
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Exit.js
|
|
11442
11486
|
ExitTypeId;
|
|
11443
11487
|
/**
|
|
11444
11488
|
* Tests whether an unknown value is an Exit.
|
|
@@ -12113,7 +12157,7 @@ const getCause = exitGetCause;
|
|
|
12113
12157
|
const findErrorOption$1 = exitFindErrorOption;
|
|
12114
12158
|
|
|
12115
12159
|
//#endregion
|
|
12116
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
12160
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Deferred.js
|
|
12117
12161
|
const DeferredProto = {
|
|
12118
12162
|
["~effect/Deferred"]: {
|
|
12119
12163
|
_A: identity,
|
|
@@ -12374,7 +12418,7 @@ const doneUnsafe = (self, effect) => {
|
|
|
12374
12418
|
const into = /* @__PURE__ */ dual(2, (self, deferred) => uninterruptibleMask$1((restore) => flatMap$4(exit$1(restore(self)), (exit) => done$1(deferred, exit))));
|
|
12375
12419
|
|
|
12376
12420
|
//#endregion
|
|
12377
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
12421
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Scope.js
|
|
12378
12422
|
/**
|
|
12379
12423
|
* The `Scope` module provides functionality for managing resource lifecycles
|
|
12380
12424
|
* and cleanup operations in a functional and composable manner.
|
|
@@ -12654,8 +12698,8 @@ const closeUnsafe = scopeCloseUnsafe;
|
|
|
12654
12698
|
const use$1 = scopeUse;
|
|
12655
12699
|
|
|
12656
12700
|
//#endregion
|
|
12657
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
12658
|
-
const TypeId$
|
|
12701
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Layer.js
|
|
12702
|
+
const TypeId$63 = "~effect/Layer";
|
|
12659
12703
|
const MemoMapTypeId = "~effect/Layer/MemoMap";
|
|
12660
12704
|
/**
|
|
12661
12705
|
* Returns `true` if the specified value is a `Layer`, `false` otherwise.
|
|
@@ -12680,9 +12724,9 @@ const MemoMapTypeId = "~effect/Layer/MemoMap";
|
|
|
12680
12724
|
* @since 2.0.0
|
|
12681
12725
|
* @category getters
|
|
12682
12726
|
*/
|
|
12683
|
-
const isLayer = (u) => hasProperty(u, TypeId$
|
|
12727
|
+
const isLayer = (u) => hasProperty(u, TypeId$63);
|
|
12684
12728
|
const LayerProto = {
|
|
12685
|
-
[TypeId$
|
|
12729
|
+
[TypeId$63]: {
|
|
12686
12730
|
_ROut: identity,
|
|
12687
12731
|
_E: identity,
|
|
12688
12732
|
_RIn: identity
|
|
@@ -13515,14 +13559,14 @@ const orDie$3 = (self) => fromBuildUnsafe((memoMap, scope) => orDie$4(self.build
|
|
|
13515
13559
|
const fresh = (self) => fromBuildUnsafe((_, scope) => self.build(makeMemoMapUnsafe(), scope));
|
|
13516
13560
|
|
|
13517
13561
|
//#endregion
|
|
13518
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
13562
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/ExecutionPlan.js
|
|
13519
13563
|
/**
|
|
13520
13564
|
* @since 3.16.0
|
|
13521
13565
|
* @category Type IDs
|
|
13522
13566
|
*/
|
|
13523
|
-
const TypeId$
|
|
13567
|
+
const TypeId$62 = "~effect/ExecutionPlan";
|
|
13524
13568
|
const Proto$22 = {
|
|
13525
|
-
[TypeId$
|
|
13569
|
+
[TypeId$62]: TypeId$62,
|
|
13526
13570
|
get withRequirements() {
|
|
13527
13571
|
const self = this;
|
|
13528
13572
|
return servicesWith$1((services) => succeed$5(makeProto$1(self.steps.map((step) => ({
|
|
@@ -13549,14 +13593,14 @@ const CurrentMetadata$1 = /* @__PURE__ */ Reference("effect/ExecutionPlan/Curren
|
|
|
13549
13593
|
}) });
|
|
13550
13594
|
|
|
13551
13595
|
//#endregion
|
|
13552
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
13596
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Cause.js
|
|
13553
13597
|
/**
|
|
13554
13598
|
* Unique brand for `Cause` values, used for runtime type checks via {@link isCause}.
|
|
13555
13599
|
*
|
|
13556
13600
|
* @since 2.0.0
|
|
13557
13601
|
* @category symbols
|
|
13558
13602
|
*/
|
|
13559
|
-
const TypeId$
|
|
13603
|
+
const TypeId$61 = CauseTypeId;
|
|
13560
13604
|
/**
|
|
13561
13605
|
* Unique brand for `Reason` values, used for runtime type checks via {@link isReason}.
|
|
13562
13606
|
*
|
|
@@ -14549,9 +14593,20 @@ const reasonAnnotations = reasonAnnotations$1;
|
|
|
14549
14593
|
* @since 4.0.0
|
|
14550
14594
|
*/
|
|
14551
14595
|
const annotations = causeAnnotations;
|
|
14596
|
+
/**
|
|
14597
|
+
* `ServiceMap` key for the stack frame captured at the point of failure.
|
|
14598
|
+
*
|
|
14599
|
+
* The runtime annotates every reason with this when a stack frame is
|
|
14600
|
+
* available. Retrieve it via
|
|
14601
|
+
* `ServiceMap.get(Cause.reasonAnnotations(reason), Cause.StackTrace)`.
|
|
14602
|
+
*
|
|
14603
|
+
* @category annotations
|
|
14604
|
+
* @since 4.0.0
|
|
14605
|
+
*/
|
|
14606
|
+
var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
|
|
14552
14607
|
|
|
14553
14608
|
//#endregion
|
|
14554
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
14609
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Clock.js
|
|
14555
14610
|
/**
|
|
14556
14611
|
* A reference to the current Clock service in the environment.
|
|
14557
14612
|
*
|
|
@@ -14627,13 +14682,13 @@ const currentTimeMillis = currentTimeMillis$1;
|
|
|
14627
14682
|
const currentTimeNanos = currentTimeNanos$1;
|
|
14628
14683
|
|
|
14629
14684
|
//#endregion
|
|
14630
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
14685
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/dateTime.js
|
|
14631
14686
|
/** @internal */
|
|
14632
|
-
const TypeId$
|
|
14687
|
+
const TypeId$60 = "~effect/time/DateTime";
|
|
14633
14688
|
/** @internal */
|
|
14634
14689
|
const TimeZoneTypeId = "~effect/time/DateTime/TimeZone";
|
|
14635
14690
|
const Proto$21 = {
|
|
14636
|
-
[TypeId$
|
|
14691
|
+
[TypeId$60]: TypeId$60,
|
|
14637
14692
|
pipe() {
|
|
14638
14693
|
return pipeArguments(this, arguments);
|
|
14639
14694
|
},
|
|
@@ -14647,10 +14702,10 @@ const Proto$21 = {
|
|
|
14647
14702
|
const ProtoUtc = {
|
|
14648
14703
|
...Proto$21,
|
|
14649
14704
|
_tag: "Utc",
|
|
14650
|
-
[symbol$
|
|
14705
|
+
[symbol$6]() {
|
|
14651
14706
|
return number$2(this.epochMillis);
|
|
14652
14707
|
},
|
|
14653
|
-
[symbol$
|
|
14708
|
+
[symbol$5](that) {
|
|
14654
14709
|
return isDateTime$1(that) && that._tag === "Utc" && this.epochMillis === that.epochMillis;
|
|
14655
14710
|
},
|
|
14656
14711
|
toString() {
|
|
@@ -14660,10 +14715,10 @@ const ProtoUtc = {
|
|
|
14660
14715
|
const ProtoZoned = {
|
|
14661
14716
|
...Proto$21,
|
|
14662
14717
|
_tag: "Zoned",
|
|
14663
|
-
[symbol$
|
|
14718
|
+
[symbol$6]() {
|
|
14664
14719
|
return combine$2(number$2(this.epochMillis))(hash(this.zone));
|
|
14665
14720
|
},
|
|
14666
|
-
[symbol$
|
|
14721
|
+
[symbol$5](that) {
|
|
14667
14722
|
return isDateTime$1(that) && that._tag === "Zoned" && this.epochMillis === that.epochMillis && equals$2(this.zone, that.zone);
|
|
14668
14723
|
},
|
|
14669
14724
|
toString() {
|
|
@@ -14679,10 +14734,10 @@ const ProtoTimeZone = {
|
|
|
14679
14734
|
const ProtoTimeZoneNamed = {
|
|
14680
14735
|
...ProtoTimeZone,
|
|
14681
14736
|
_tag: "Named",
|
|
14682
|
-
[symbol$
|
|
14737
|
+
[symbol$6]() {
|
|
14683
14738
|
return string$4(`Named:${this.id}`);
|
|
14684
14739
|
},
|
|
14685
|
-
[symbol$
|
|
14740
|
+
[symbol$5](that) {
|
|
14686
14741
|
return isTimeZone$1(that) && that._tag === "Named" && this.id === that.id;
|
|
14687
14742
|
},
|
|
14688
14743
|
toString() {
|
|
@@ -14699,10 +14754,10 @@ const ProtoTimeZoneNamed = {
|
|
|
14699
14754
|
const ProtoTimeZoneOffset = {
|
|
14700
14755
|
...ProtoTimeZone,
|
|
14701
14756
|
_tag: "Offset",
|
|
14702
|
-
[symbol$
|
|
14757
|
+
[symbol$6]() {
|
|
14703
14758
|
return string$4(`Offset:${this.offset}`);
|
|
14704
14759
|
},
|
|
14705
|
-
[symbol$
|
|
14760
|
+
[symbol$5](that) {
|
|
14706
14761
|
return isTimeZone$1(that) && that._tag === "Offset" && this.offset === that.offset;
|
|
14707
14762
|
},
|
|
14708
14763
|
toString() {
|
|
@@ -14739,7 +14794,7 @@ const makeZonedProto = (epochMillis, zone, partsUtc) => {
|
|
|
14739
14794
|
return self;
|
|
14740
14795
|
};
|
|
14741
14796
|
/** @internal */
|
|
14742
|
-
const isDateTime$1 = (u) => hasProperty(u, TypeId$
|
|
14797
|
+
const isDateTime$1 = (u) => hasProperty(u, TypeId$60);
|
|
14743
14798
|
const isDateTimeArgs = (args) => isDateTime$1(args[0]);
|
|
14744
14799
|
/** @internal */
|
|
14745
14800
|
const isTimeZone$1 = (u) => hasProperty(u, TimeZoneTypeId);
|
|
@@ -15231,7 +15286,7 @@ const formatIsoOffset$1 = (self) => {
|
|
|
15231
15286
|
const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
|
|
15232
15287
|
|
|
15233
15288
|
//#endregion
|
|
15234
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
15289
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Number.js
|
|
15235
15290
|
/**
|
|
15236
15291
|
* This module provides utility functions and type class instances for working with the `number` type in TypeScript.
|
|
15237
15292
|
* It includes functions for basic arithmetic operations.
|
|
@@ -15308,7 +15363,7 @@ const Order$4 = Number$6;
|
|
|
15308
15363
|
const Equivalence$5 = Number$5;
|
|
15309
15364
|
|
|
15310
15365
|
//#endregion
|
|
15311
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
15366
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/String.js
|
|
15312
15367
|
/**
|
|
15313
15368
|
* This module provides utility functions and type class instances for working with the `string` type in TypeScript.
|
|
15314
15369
|
* It includes functions for basic string manipulation.
|
|
@@ -15403,7 +15458,7 @@ const trim = (self) => self.trim();
|
|
|
15403
15458
|
const isNonEmpty$1 = (self) => self.length > 0;
|
|
15404
15459
|
|
|
15405
15460
|
//#endregion
|
|
15406
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
15461
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Pull.js
|
|
15407
15462
|
/**
|
|
15408
15463
|
* @since 4.0.0
|
|
15409
15464
|
*/
|
|
@@ -15485,7 +15540,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
|
|
|
15485
15540
|
}));
|
|
15486
15541
|
|
|
15487
15542
|
//#endregion
|
|
15488
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
15543
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Schedule.js
|
|
15489
15544
|
/**
|
|
15490
15545
|
* This module provides utilities for creating and composing schedules for retrying operations,
|
|
15491
15546
|
* repeating effects, and implementing various timing strategies.
|
|
@@ -15517,7 +15572,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
|
|
|
15517
15572
|
*
|
|
15518
15573
|
* @since 2.0.0
|
|
15519
15574
|
*/
|
|
15520
|
-
const TypeId$
|
|
15575
|
+
const TypeId$59 = "~effect/Schedule";
|
|
15521
15576
|
/**
|
|
15522
15577
|
* @since 4.0.0
|
|
15523
15578
|
* @category Metadata
|
|
@@ -15533,7 +15588,7 @@ const CurrentMetadata = /* @__PURE__ */ Reference("effect/Schedule/CurrentMetada
|
|
|
15533
15588
|
elapsedSincePrevious: 0
|
|
15534
15589
|
}) });
|
|
15535
15590
|
const ScheduleProto = {
|
|
15536
|
-
[TypeId$
|
|
15591
|
+
[TypeId$59]: {
|
|
15537
15592
|
_Out: identity,
|
|
15538
15593
|
_In: identity,
|
|
15539
15594
|
_Env: identity
|
|
@@ -15561,7 +15616,7 @@ const ScheduleProto = {
|
|
|
15561
15616
|
* @since 2.0.0
|
|
15562
15617
|
* @category guards
|
|
15563
15618
|
*/
|
|
15564
|
-
const isSchedule = (u) => hasProperty(u, TypeId$
|
|
15619
|
+
const isSchedule = (u) => hasProperty(u, TypeId$59);
|
|
15565
15620
|
/**
|
|
15566
15621
|
* Creates a Schedule from a step function that returns a Pull.
|
|
15567
15622
|
*
|
|
@@ -16031,13 +16086,13 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$11(toSt
|
|
|
16031
16086
|
const forever$1 = /* @__PURE__ */ spaced(zero$1);
|
|
16032
16087
|
|
|
16033
16088
|
//#endregion
|
|
16034
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16089
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/layer.js
|
|
16035
16090
|
const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$4(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$1(self, context)));
|
|
16036
16091
|
/** @internal */
|
|
16037
16092
|
const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isServiceMap(source) ? provideServices$1(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
|
|
16038
16093
|
|
|
16039
16094
|
//#endregion
|
|
16040
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16095
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/schedule.js
|
|
16041
16096
|
/** @internal */
|
|
16042
16097
|
const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$4(toStepWithMetadata(schedule), (step) => {
|
|
16043
16098
|
let meta = CurrentMetadata.defaultValue();
|
|
@@ -16099,7 +16154,7 @@ const buildFromOptions = (options) => {
|
|
|
16099
16154
|
};
|
|
16100
16155
|
|
|
16101
16156
|
//#endregion
|
|
16102
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16157
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/executionPlan.js
|
|
16103
16158
|
/** @internal */
|
|
16104
16159
|
const withExecutionPlan$1 = /* @__PURE__ */ dual(2, (self, plan) => suspend$4(() => {
|
|
16105
16160
|
let i = 0;
|
|
@@ -16158,8 +16213,8 @@ const scheduleFromStep = (step, first) => {
|
|
|
16158
16213
|
const scheduleOnce = /* @__PURE__ */ recurs(1);
|
|
16159
16214
|
|
|
16160
16215
|
//#endregion
|
|
16161
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16162
|
-
const TypeId$
|
|
16216
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Request.js
|
|
16217
|
+
const TypeId$58 = "~effect/Request";
|
|
16163
16218
|
const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
|
|
16164
16219
|
_E: (_) => _,
|
|
16165
16220
|
_A: (_) => _,
|
|
@@ -16170,7 +16225,7 @@ const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
|
|
|
16170
16225
|
*/
|
|
16171
16226
|
const RequestPrototype = {
|
|
16172
16227
|
...StructuralProto,
|
|
16173
|
-
[TypeId$
|
|
16228
|
+
[TypeId$58]: requestVariance
|
|
16174
16229
|
};
|
|
16175
16230
|
/**
|
|
16176
16231
|
* @since 2.0.0
|
|
@@ -16179,7 +16234,7 @@ const RequestPrototype = {
|
|
|
16179
16234
|
const makeEntry = (options) => options;
|
|
16180
16235
|
|
|
16181
16236
|
//#endregion
|
|
16182
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16237
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/request.js
|
|
16183
16238
|
/** @internal */
|
|
16184
16239
|
const request$2 = /* @__PURE__ */ dual(2, (self, resolver) => {
|
|
16185
16240
|
const withResolver = (resolver) => callback$2((resume) => {
|
|
@@ -16279,8 +16334,8 @@ function runBatch(batch) {
|
|
|
16279
16334
|
}
|
|
16280
16335
|
|
|
16281
16336
|
//#endregion
|
|
16282
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
16283
|
-
const TypeId$
|
|
16337
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Effect.js
|
|
16338
|
+
const TypeId$57 = EffectTypeId$1;
|
|
16284
16339
|
/**
|
|
16285
16340
|
* Tests if a value is an `Effect`.
|
|
16286
16341
|
*
|
|
@@ -16295,7 +16350,7 @@ const TypeId$58 = EffectTypeId$1;
|
|
|
16295
16350
|
* @since 2.0.0
|
|
16296
16351
|
* @category Guards
|
|
16297
16352
|
*/
|
|
16298
|
-
const isEffect = (u) => typeof u === "object" && u !== null && TypeId$
|
|
16353
|
+
const isEffect = (u) => typeof u === "object" && u !== null && TypeId$57 in u;
|
|
16299
16354
|
/**
|
|
16300
16355
|
* Combines multiple effects into one, returning results based on the input
|
|
16301
16356
|
* structure.
|
|
@@ -16476,6 +16531,42 @@ const all = all$1;
|
|
|
16476
16531
|
*/
|
|
16477
16532
|
const partition = partition$1;
|
|
16478
16533
|
/**
|
|
16534
|
+
* Applies an effectful function to each element and accumulates all failures.
|
|
16535
|
+
*
|
|
16536
|
+
* This function always evaluates every element. If at least one effect fails,
|
|
16537
|
+
* all failures are returned as a non-empty array and successes are discarded.
|
|
16538
|
+
* If all effects succeed, it returns all collected successes.
|
|
16539
|
+
*
|
|
16540
|
+
* Use `discard: true` to ignore successful values while still validating all
|
|
16541
|
+
* elements.
|
|
16542
|
+
*
|
|
16543
|
+
* @example
|
|
16544
|
+
* ```ts
|
|
16545
|
+
* import { Effect } from "effect"
|
|
16546
|
+
*
|
|
16547
|
+
* const program = Effect.validate([0, 1, 2, 3], (n) =>
|
|
16548
|
+
* n % 2 === 0 ? Effect.fail(`${n} is even`) : Effect.succeed(n)
|
|
16549
|
+
* )
|
|
16550
|
+
*
|
|
16551
|
+
* Effect.runPromiseExit(program).then(console.log)
|
|
16552
|
+
* // {
|
|
16553
|
+
* // _id: 'Exit',
|
|
16554
|
+
* // _tag: 'Failure',
|
|
16555
|
+
* // cause: {
|
|
16556
|
+
* // _id: 'Cause',
|
|
16557
|
+
* // reasons: [
|
|
16558
|
+
* // { _id: 'Reason', _tag: 'Fail', error: '0 is even' },
|
|
16559
|
+
* // { _id: 'Reason', _tag: 'Fail', error: '2 is even' }
|
|
16560
|
+
* // ]
|
|
16561
|
+
* // }
|
|
16562
|
+
* // }
|
|
16563
|
+
* ```
|
|
16564
|
+
*
|
|
16565
|
+
* @since 4.0.0
|
|
16566
|
+
* @category Error Accumulation
|
|
16567
|
+
*/
|
|
16568
|
+
const validate = validate$1;
|
|
16569
|
+
/**
|
|
16479
16570
|
* Executes an effectful operation for each element in an `Iterable`.
|
|
16480
16571
|
*
|
|
16481
16572
|
* **Details**
|
|
@@ -18798,7 +18889,7 @@ const sandbox = sandbox$1;
|
|
|
18798
18889
|
* @since 2.0.0
|
|
18799
18890
|
* @category Error Handling
|
|
18800
18891
|
*/
|
|
18801
|
-
const ignore = ignore$
|
|
18892
|
+
const ignore$1 = ignore$2;
|
|
18802
18893
|
/**
|
|
18803
18894
|
* Ignores the effect's failure cause, including defects and interruptions.
|
|
18804
18895
|
*
|
|
@@ -18850,6 +18941,16 @@ const ignoreCause = ignoreCause$1;
|
|
|
18850
18941
|
*/
|
|
18851
18942
|
const withExecutionPlan = withExecutionPlan$1;
|
|
18852
18943
|
/**
|
|
18944
|
+
* Runs an effect and reports any errors to the configured `ErrorReporter`s.
|
|
18945
|
+
*
|
|
18946
|
+
* If the `defectsOnly` option is set to `true`, only defects (unrecoverable
|
|
18947
|
+
* errors) will be reported, while regular failures will be ignored.
|
|
18948
|
+
*
|
|
18949
|
+
* @since 4.0.0
|
|
18950
|
+
* @category Error Handling
|
|
18951
|
+
*/
|
|
18952
|
+
const withErrorReporting = withErrorReporting$1;
|
|
18953
|
+
/**
|
|
18853
18954
|
* Replaces the original failure with a success value, ensuring the effect
|
|
18854
18955
|
* cannot fail.
|
|
18855
18956
|
*
|
|
@@ -22428,6 +22529,32 @@ const annotateLogs = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (effect
|
|
|
22428
22529
|
return newAnnotations;
|
|
22429
22530
|
}));
|
|
22430
22531
|
/**
|
|
22532
|
+
* Adds log annotations to the current scope.
|
|
22533
|
+
*
|
|
22534
|
+
* This differs from `annotateLogs`, which only annotates a specific effect.
|
|
22535
|
+
* `annotateLogsScoped` updates annotations for the entire current `Scope` and
|
|
22536
|
+
* restores the previous annotations when the scope closes.
|
|
22537
|
+
*
|
|
22538
|
+
* @example
|
|
22539
|
+
* ```ts
|
|
22540
|
+
* import { Effect } from "effect"
|
|
22541
|
+
*
|
|
22542
|
+
* const program = Effect.scoped(
|
|
22543
|
+
* Effect.gen(function*() {
|
|
22544
|
+
* yield* Effect.log("before")
|
|
22545
|
+
* yield* Effect.annotateLogsScoped({ requestId: "req-123" })
|
|
22546
|
+
* yield* Effect.log("inside scope")
|
|
22547
|
+
* })
|
|
22548
|
+
* )
|
|
22549
|
+
*
|
|
22550
|
+
* Effect.runPromise(program)
|
|
22551
|
+
* ```
|
|
22552
|
+
*
|
|
22553
|
+
* @since 4.0.0
|
|
22554
|
+
* @category Logging
|
|
22555
|
+
*/
|
|
22556
|
+
const annotateLogsScoped = annotateLogsScoped$1;
|
|
22557
|
+
/**
|
|
22431
22558
|
* Adds a span to each log line in this effect.
|
|
22432
22559
|
*
|
|
22433
22560
|
* @example
|
|
@@ -22721,7 +22848,7 @@ const catchEager = catchEager$1;
|
|
|
22721
22848
|
const fnUntracedEager = fnUntracedEager$1;
|
|
22722
22849
|
|
|
22723
22850
|
//#endregion
|
|
22724
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
22851
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/record.js
|
|
22725
22852
|
/**
|
|
22726
22853
|
* @since 4.0.0
|
|
22727
22854
|
*/
|
|
@@ -22738,7 +22865,7 @@ function set$10(self, key, value) {
|
|
|
22738
22865
|
}
|
|
22739
22866
|
|
|
22740
22867
|
//#endregion
|
|
22741
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
22868
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/schema/annotations.js
|
|
22742
22869
|
/** @internal */
|
|
22743
22870
|
function resolve$2(ast) {
|
|
22744
22871
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -22761,7 +22888,7 @@ const getExpected = /* @__PURE__ */ memoize((ast) => {
|
|
|
22761
22888
|
});
|
|
22762
22889
|
|
|
22763
22890
|
//#endregion
|
|
22764
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
22891
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/RegExp.js
|
|
22765
22892
|
/**
|
|
22766
22893
|
* This module provides utility functions for working with RegExp in TypeScript.
|
|
22767
22894
|
*
|
|
@@ -22816,8 +22943,8 @@ const isRegExp = isRegExp$1;
|
|
|
22816
22943
|
const escape = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
22817
22944
|
|
|
22818
22945
|
//#endregion
|
|
22819
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
22820
|
-
TypeId$
|
|
22946
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/DateTime.js
|
|
22947
|
+
TypeId$60;
|
|
22821
22948
|
TimeZoneTypeId;
|
|
22822
22949
|
/**
|
|
22823
22950
|
* @since 3.6.0
|
|
@@ -24385,7 +24512,7 @@ const formatIsoZoned = formatIsoZoned$1;
|
|
|
24385
24512
|
const layerCurrentZoneNamed = /* @__PURE__ */ flow(zoneMakeNamedEffect$1, /* @__PURE__ */ effect$1(CurrentTimeZone));
|
|
24386
24513
|
|
|
24387
24514
|
//#endregion
|
|
24388
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
24515
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Encoding.js
|
|
24389
24516
|
/**
|
|
24390
24517
|
* Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
|
|
24391
24518
|
*
|
|
@@ -24719,7 +24846,7 @@ const base64codes = [
|
|
|
24719
24846
|
const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
24720
24847
|
|
|
24721
24848
|
//#endregion
|
|
24722
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
24849
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/redacted.js
|
|
24723
24850
|
/** @internal */
|
|
24724
24851
|
const redactedRegistry = /* @__PURE__ */ new WeakMap();
|
|
24725
24852
|
/** @internal */
|
|
@@ -24729,7 +24856,7 @@ const value$3 = (self) => {
|
|
|
24729
24856
|
};
|
|
24730
24857
|
|
|
24731
24858
|
//#endregion
|
|
24732
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
24859
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Redacted.js
|
|
24733
24860
|
/**
|
|
24734
24861
|
* The Redacted module provides functionality for handling sensitive information
|
|
24735
24862
|
* securely within your application. By using the `Redacted` data type, you can
|
|
@@ -24738,7 +24865,7 @@ const value$3 = (self) => {
|
|
|
24738
24865
|
*
|
|
24739
24866
|
* @since 3.3.0
|
|
24740
24867
|
*/
|
|
24741
|
-
const TypeId$
|
|
24868
|
+
const TypeId$56 = "~effect/data/Redacted";
|
|
24742
24869
|
/**
|
|
24743
24870
|
* @example
|
|
24744
24871
|
* ```ts
|
|
@@ -24754,7 +24881,7 @@ const TypeId$57 = "~effect/data/Redacted";
|
|
|
24754
24881
|
* @since 3.3.0
|
|
24755
24882
|
* @category refinements
|
|
24756
24883
|
*/
|
|
24757
|
-
const isRedacted = (u) => hasProperty(u, TypeId$
|
|
24884
|
+
const isRedacted = (u) => hasProperty(u, TypeId$56);
|
|
24758
24885
|
/**
|
|
24759
24886
|
* This function creates a `Redacted<A>` instance from a given value `A`,
|
|
24760
24887
|
* securely hiding its content.
|
|
@@ -24776,7 +24903,7 @@ const make$55 = (value, options) => {
|
|
|
24776
24903
|
return self;
|
|
24777
24904
|
};
|
|
24778
24905
|
const Proto$20 = {
|
|
24779
|
-
[TypeId$
|
|
24906
|
+
[TypeId$56]: { _A: (_) => _ },
|
|
24780
24907
|
label: void 0,
|
|
24781
24908
|
...PipeInspectableProto,
|
|
24782
24909
|
toJSON() {
|
|
@@ -24785,10 +24912,10 @@ const Proto$20 = {
|
|
|
24785
24912
|
toString() {
|
|
24786
24913
|
return `<redacted${isString$1(this.label) ? ":" + this.label : ""}>`;
|
|
24787
24914
|
},
|
|
24788
|
-
[symbol$
|
|
24915
|
+
[symbol$6]() {
|
|
24789
24916
|
return hash(redactedRegistry.get(this));
|
|
24790
24917
|
},
|
|
24791
|
-
[symbol$
|
|
24918
|
+
[symbol$5](that) {
|
|
24792
24919
|
return isRedacted(that) && equals$2(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
24793
24920
|
}
|
|
24794
24921
|
};
|
|
@@ -24812,8 +24939,8 @@ const Proto$20 = {
|
|
|
24812
24939
|
const value$2 = value$3;
|
|
24813
24940
|
|
|
24814
24941
|
//#endregion
|
|
24815
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
24816
|
-
const TypeId$
|
|
24942
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SchemaIssue.js
|
|
24943
|
+
const TypeId$55 = "~effect/SchemaIssue/Issue";
|
|
24817
24944
|
/**
|
|
24818
24945
|
* Returns `true` if the given value is an {@link Issue}.
|
|
24819
24946
|
*
|
|
@@ -24844,10 +24971,10 @@ const TypeId$56 = "~effect/SchemaIssue/Issue";
|
|
|
24844
24971
|
* @since 4.0.0
|
|
24845
24972
|
*/
|
|
24846
24973
|
function isIssue(u) {
|
|
24847
|
-
return hasProperty(u, TypeId$
|
|
24974
|
+
return hasProperty(u, TypeId$55);
|
|
24848
24975
|
}
|
|
24849
24976
|
var Base$1 = class {
|
|
24850
|
-
[TypeId$
|
|
24977
|
+
[TypeId$55] = TypeId$55;
|
|
24851
24978
|
toString() {
|
|
24852
24979
|
return defaultFormatter$1(this);
|
|
24853
24980
|
}
|
|
@@ -25540,7 +25667,7 @@ function formatOption(actual) {
|
|
|
25540
25667
|
}
|
|
25541
25668
|
|
|
25542
25669
|
//#endregion
|
|
25543
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
25670
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SchemaGetter.js
|
|
25544
25671
|
/**
|
|
25545
25672
|
* Composable transformation primitives for the Effect Schema system.
|
|
25546
25673
|
*
|
|
@@ -26148,7 +26275,7 @@ function collectBracketPathEntries(isLeaf) {
|
|
|
26148
26275
|
}
|
|
26149
26276
|
|
|
26150
26277
|
//#endregion
|
|
26151
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
26278
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/BigDecimal.js
|
|
26152
26279
|
/**
|
|
26153
26280
|
* This module provides utility functions and type class instances for working with the `BigDecimal` type in TypeScript.
|
|
26154
26281
|
* It includes functions for basic arithmetic operations.
|
|
@@ -26165,14 +26292,14 @@ function collectBracketPathEntries(isLeaf) {
|
|
|
26165
26292
|
* @since 2.0.0
|
|
26166
26293
|
*/
|
|
26167
26294
|
const FINITE_INT_REGEXP = /^[+-]?\d+$/;
|
|
26168
|
-
const TypeId$
|
|
26295
|
+
const TypeId$54 = "~effect/BigDecimal";
|
|
26169
26296
|
const BigDecimalProto = {
|
|
26170
|
-
[TypeId$
|
|
26171
|
-
[symbol$
|
|
26297
|
+
[TypeId$54]: TypeId$54,
|
|
26298
|
+
[symbol$6]() {
|
|
26172
26299
|
const normalized = normalize(this);
|
|
26173
26300
|
return combine$2(hash(normalized.value), number$2(normalized.scale));
|
|
26174
26301
|
},
|
|
26175
|
-
[symbol$
|
|
26302
|
+
[symbol$5](that) {
|
|
26176
26303
|
return isBigDecimal(that) && equals(this, that);
|
|
26177
26304
|
},
|
|
26178
26305
|
toString() {
|
|
@@ -26208,7 +26335,7 @@ const BigDecimalProto = {
|
|
|
26208
26335
|
* @since 2.0.0
|
|
26209
26336
|
* @category guards
|
|
26210
26337
|
*/
|
|
26211
|
-
const isBigDecimal = (u) => hasProperty(u, TypeId$
|
|
26338
|
+
const isBigDecimal = (u) => hasProperty(u, TypeId$54);
|
|
26212
26339
|
/**
|
|
26213
26340
|
* Creates a `BigDecimal` from a `bigint` value and a scale.
|
|
26214
26341
|
*
|
|
@@ -26565,7 +26692,7 @@ const isZero = (n) => n.value === bigint0;
|
|
|
26565
26692
|
const isNegative = (n) => n.value < bigint0;
|
|
26566
26693
|
|
|
26567
26694
|
//#endregion
|
|
26568
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
26695
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SchemaTransformation.js
|
|
26569
26696
|
/**
|
|
26570
26697
|
* Bidirectional transformations for the Effect Schema system.
|
|
26571
26698
|
*
|
|
@@ -26649,7 +26776,7 @@ const isNegative = (n) => n.value < bigint0;
|
|
|
26649
26776
|
*
|
|
26650
26777
|
* @since 4.0.0
|
|
26651
26778
|
*/
|
|
26652
|
-
const TypeId$
|
|
26779
|
+
const TypeId$53 = "~effect/SchemaTransformation/Transformation";
|
|
26653
26780
|
/**
|
|
26654
26781
|
* A bidirectional transformation between a decoded type `T` and an encoded
|
|
26655
26782
|
* type `E`, built from a pair of `Getter`s.
|
|
@@ -26691,7 +26818,7 @@ const TypeId$54 = "~effect/SchemaTransformation/Transformation";
|
|
|
26691
26818
|
* @since 4.0.0
|
|
26692
26819
|
*/
|
|
26693
26820
|
var Transformation = class Transformation {
|
|
26694
|
-
[TypeId$
|
|
26821
|
+
[TypeId$53] = TypeId$53;
|
|
26695
26822
|
_tag = "Transformation";
|
|
26696
26823
|
decode;
|
|
26697
26824
|
encode;
|
|
@@ -26735,7 +26862,7 @@ var Transformation = class Transformation {
|
|
|
26735
26862
|
* @since 4.0.0
|
|
26736
26863
|
*/
|
|
26737
26864
|
function isTransformation(u) {
|
|
26738
|
-
return hasProperty(u, TypeId$
|
|
26865
|
+
return hasProperty(u, TypeId$53);
|
|
26739
26866
|
}
|
|
26740
26867
|
/**
|
|
26741
26868
|
* Constructs a `Transformation` from an object with `decode` and `encode`
|
|
@@ -27123,7 +27250,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
|
|
|
27123
27250
|
});
|
|
27124
27251
|
|
|
27125
27252
|
//#endregion
|
|
27126
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
27253
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SchemaAST.js
|
|
27127
27254
|
/**
|
|
27128
27255
|
* Abstract Syntax Tree (AST) representation for Effect schemas.
|
|
27129
27256
|
*
|
|
@@ -27213,7 +27340,7 @@ function makeGuard(tag) {
|
|
|
27213
27340
|
* @since 4.0.0
|
|
27214
27341
|
*/
|
|
27215
27342
|
function isAST(u) {
|
|
27216
|
-
return hasProperty(u, TypeId$
|
|
27343
|
+
return hasProperty(u, TypeId$52) && u[TypeId$52] === TypeId$52;
|
|
27217
27344
|
}
|
|
27218
27345
|
/**
|
|
27219
27346
|
* Narrows an {@link AST} to {@link Declaration}.
|
|
@@ -27317,7 +27444,7 @@ var Context = class {
|
|
|
27317
27444
|
this.annotations = annotations;
|
|
27318
27445
|
}
|
|
27319
27446
|
};
|
|
27320
|
-
const TypeId$
|
|
27447
|
+
const TypeId$52 = "~effect/Schema";
|
|
27321
27448
|
/**
|
|
27322
27449
|
* Abstract base class for all {@link AST} node variants.
|
|
27323
27450
|
*
|
|
@@ -27338,7 +27465,7 @@ const TypeId$53 = "~effect/Schema";
|
|
|
27338
27465
|
* @since 4.0.0
|
|
27339
27466
|
*/
|
|
27340
27467
|
var Base = class {
|
|
27341
|
-
[TypeId$
|
|
27468
|
+
[TypeId$52] = TypeId$52;
|
|
27342
27469
|
annotations;
|
|
27343
27470
|
checks;
|
|
27344
27471
|
encoding;
|
|
@@ -27775,7 +27902,7 @@ var Symbol$2 = class extends Base {
|
|
|
27775
27902
|
*
|
|
27776
27903
|
* @since 4.0.0
|
|
27777
27904
|
*/
|
|
27778
|
-
const symbol$
|
|
27905
|
+
const symbol$3 = /* @__PURE__ */ new Symbol$2();
|
|
27779
27906
|
/**
|
|
27780
27907
|
* AST node matching any `bigint` value.
|
|
27781
27908
|
*
|
|
@@ -27920,25 +28047,28 @@ var Arrays = class Arrays extends Base {
|
|
|
27920
28047
|
else return yield* fail$4(new Composite(ast, oinput, [issue]));
|
|
27921
28048
|
}
|
|
27922
28049
|
}
|
|
27923
|
-
for (let j = 0; j < tail.length; j++)
|
|
27924
|
-
|
|
27925
|
-
|
|
27926
|
-
const keyAnnotations = tailj.ast.context?.annotations;
|
|
27927
|
-
const eff = tailj.parser(some$2(input[i]), options);
|
|
27928
|
-
const exit$7 = effectIsExit(eff) ? eff : yield* exit(eff);
|
|
27929
|
-
if (exit$7._tag === "Failure") {
|
|
27930
|
-
const issueRest = findError(exit$7.cause);
|
|
27931
|
-
if (isFailure$4(issueRest)) return yield* exit$7;
|
|
27932
|
-
const issue = new Pointer([i], issueRest.success);
|
|
27933
|
-
if (errorsAllOption) if (issues) issues.push(issue);
|
|
27934
|
-
else issues = [issue];
|
|
27935
|
-
else return yield* fail$4(new Composite(ast, oinput, [issue]));
|
|
27936
|
-
} else if (exit$7.value._tag === "Some") output[i] = exit$7.value.value;
|
|
28050
|
+
for (let j = 0; j < tail.length; j++) {
|
|
28051
|
+
i += j;
|
|
28052
|
+
if (len < i) continue;
|
|
27937
28053
|
else {
|
|
27938
|
-
const
|
|
27939
|
-
|
|
27940
|
-
|
|
27941
|
-
|
|
28054
|
+
const tailj = tail[j];
|
|
28055
|
+
const keyAnnotations = tailj.ast.context?.annotations;
|
|
28056
|
+
const eff = tailj.parser(some$2(input[i]), options);
|
|
28057
|
+
const exit$7 = effectIsExit(eff) ? eff : yield* exit(eff);
|
|
28058
|
+
if (exit$7._tag === "Failure") {
|
|
28059
|
+
const issueRest = findError(exit$7.cause);
|
|
28060
|
+
if (isFailure$4(issueRest)) return yield* exit$7;
|
|
28061
|
+
const issue = new Pointer([i], issueRest.success);
|
|
28062
|
+
if (errorsAllOption) if (issues) issues.push(issue);
|
|
28063
|
+
else issues = [issue];
|
|
28064
|
+
else return yield* fail$4(new Composite(ast, oinput, [issue]));
|
|
28065
|
+
} else if (exit$7.value._tag === "Some") output[i] = exit$7.value.value;
|
|
28066
|
+
else {
|
|
28067
|
+
const issue = new Pointer([i], new MissingKey(keyAnnotations));
|
|
28068
|
+
if (errorsAllOption) if (issues) issues.push(issue);
|
|
28069
|
+
else issues = [issue];
|
|
28070
|
+
else return yield* fail$4(new Composite(ast, oinput, [issue]));
|
|
28071
|
+
}
|
|
27942
28072
|
}
|
|
27943
28073
|
}
|
|
27944
28074
|
} else for (let i = elementLen; i <= len - 1; i++) {
|
|
@@ -29157,7 +29287,7 @@ const resolveTitle = resolveTitle$1;
|
|
|
29157
29287
|
const resolveDescription = resolveDescription$1;
|
|
29158
29288
|
|
|
29159
29289
|
//#endregion
|
|
29160
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
29290
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Brand.js
|
|
29161
29291
|
/**
|
|
29162
29292
|
* This function returns a `Constructor` that **does not apply any runtime
|
|
29163
29293
|
* checks**, it just returns the provided value. It can be used to create
|
|
@@ -29179,11 +29309,11 @@ function nominal() {
|
|
|
29179
29309
|
}
|
|
29180
29310
|
|
|
29181
29311
|
//#endregion
|
|
29182
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
29312
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/PlatformError.js
|
|
29183
29313
|
/**
|
|
29184
29314
|
* @since 4.0.0
|
|
29185
29315
|
*/
|
|
29186
|
-
const TypeId$
|
|
29316
|
+
const TypeId$51 = "~effect/platform/PlatformError";
|
|
29187
29317
|
/**
|
|
29188
29318
|
* @since 4.0.0
|
|
29189
29319
|
* @category Models
|
|
@@ -29223,7 +29353,7 @@ var PlatformError = class extends TaggedError("PlatformError") {
|
|
|
29223
29353
|
/**
|
|
29224
29354
|
* @since 4.0.0
|
|
29225
29355
|
*/
|
|
29226
|
-
[TypeId$
|
|
29356
|
+
[TypeId$51] = TypeId$51;
|
|
29227
29357
|
get message() {
|
|
29228
29358
|
return this.reason.message;
|
|
29229
29359
|
}
|
|
@@ -29240,7 +29370,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
|
|
|
29240
29370
|
const badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
29241
29371
|
|
|
29242
29372
|
//#endregion
|
|
29243
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
29373
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Chunk.js
|
|
29244
29374
|
/**
|
|
29245
29375
|
* The `Chunk` module provides an immutable, high-performance sequence data structure
|
|
29246
29376
|
* optimized for functional programming patterns. A `Chunk` is a persistent data structure
|
|
@@ -29311,7 +29441,7 @@ const badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
|
29311
29441
|
*
|
|
29312
29442
|
* @since 2.0.0
|
|
29313
29443
|
*/
|
|
29314
|
-
const TypeId$
|
|
29444
|
+
const TypeId$50 = "~effect/collections/Chunk";
|
|
29315
29445
|
function copy$1(src, srcPos, dest, destPos, len) {
|
|
29316
29446
|
for (let i = srcPos; i < Math.min(src.length, srcPos + len); i++) dest[destPos + i - srcPos] = src[i];
|
|
29317
29447
|
return dest;
|
|
@@ -29340,7 +29470,7 @@ const emptyArray = [];
|
|
|
29340
29470
|
const makeEquivalence$1 = (isEquivalent) => make$62((self, that) => self.length === that.length && toReadonlyArray(self).every((value, i) => isEquivalent(value, getUnsafe$4(that, i))));
|
|
29341
29471
|
const _equivalence = /* @__PURE__ */ makeEquivalence$1(equals$2);
|
|
29342
29472
|
const ChunkProto = {
|
|
29343
|
-
[TypeId$
|
|
29473
|
+
[TypeId$50]: { _A: (_) => _ },
|
|
29344
29474
|
toString() {
|
|
29345
29475
|
return `Chunk(${format$4(toReadonlyArray(this))})`;
|
|
29346
29476
|
},
|
|
@@ -29353,10 +29483,10 @@ const ChunkProto = {
|
|
|
29353
29483
|
[NodeInspectSymbol]() {
|
|
29354
29484
|
return this.toJSON();
|
|
29355
29485
|
},
|
|
29356
|
-
[symbol$
|
|
29486
|
+
[symbol$5](that) {
|
|
29357
29487
|
return isChunk(that) && _equivalence(this, that);
|
|
29358
29488
|
},
|
|
29359
|
-
[symbol$
|
|
29489
|
+
[symbol$6]() {
|
|
29360
29490
|
return array(toReadonlyArray(this));
|
|
29361
29491
|
},
|
|
29362
29492
|
[Symbol.iterator]() {
|
|
@@ -29425,7 +29555,7 @@ const makeChunk = (backing) => {
|
|
|
29425
29555
|
* @category constructors
|
|
29426
29556
|
* @since 2.0.0
|
|
29427
29557
|
*/
|
|
29428
|
-
const isChunk = (u) => hasProperty(u, TypeId$
|
|
29558
|
+
const isChunk = (u) => hasProperty(u, TypeId$50);
|
|
29429
29559
|
const _empty = /* @__PURE__ */ makeChunk({ _tag: "IEmpty" });
|
|
29430
29560
|
/**
|
|
29431
29561
|
* Creates an empty `Chunk`.
|
|
@@ -29982,7 +30112,7 @@ const reduce$2 = reduce$3;
|
|
|
29982
30112
|
const reduceRight = reduceRight$1;
|
|
29983
30113
|
|
|
29984
30114
|
//#endregion
|
|
29985
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
30115
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Fiber.js
|
|
29986
30116
|
`${version$1}`;
|
|
29987
30117
|
const await_ = fiberAwait;
|
|
29988
30118
|
/**
|
|
@@ -30190,7 +30320,7 @@ const getCurrent = getCurrentFiber;
|
|
|
30190
30320
|
const runIn = fiberRunIn;
|
|
30191
30321
|
|
|
30192
30322
|
//#endregion
|
|
30193
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
30323
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Latch.js
|
|
30194
30324
|
/**
|
|
30195
30325
|
* Creates a new Latch unsafely.
|
|
30196
30326
|
*
|
|
@@ -30263,7 +30393,7 @@ const makeUnsafe$9 = makeLatchUnsafe;
|
|
|
30263
30393
|
const make$51 = makeLatch;
|
|
30264
30394
|
|
|
30265
30395
|
//#endregion
|
|
30266
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
30396
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/MutableList.js
|
|
30267
30397
|
/**
|
|
30268
30398
|
* A unique symbol used to represent an empty result when taking elements from a MutableList.
|
|
30269
30399
|
* This symbol is returned by `take` when the list is empty, allowing for safe type checking.
|
|
@@ -30684,10 +30814,10 @@ const filter$3 = (self, f) => {
|
|
|
30684
30814
|
const remove$6 = (self, value) => filter$3(self, (v) => v !== value);
|
|
30685
30815
|
|
|
30686
30816
|
//#endregion
|
|
30687
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
30688
|
-
const TypeId$
|
|
30817
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/MutableRef.js
|
|
30818
|
+
const TypeId$49 = "~effect/MutableRef";
|
|
30689
30819
|
const MutableRefProto = {
|
|
30690
|
-
[TypeId$
|
|
30820
|
+
[TypeId$49]: TypeId$49,
|
|
30691
30821
|
...PipeInspectableProto,
|
|
30692
30822
|
toJSON() {
|
|
30693
30823
|
return {
|
|
@@ -30769,7 +30899,7 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
30769
30899
|
});
|
|
30770
30900
|
|
|
30771
30901
|
//#endregion
|
|
30772
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
30902
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/PubSub.js
|
|
30773
30903
|
/**
|
|
30774
30904
|
* This module provides utilities for working with publish-subscribe (PubSub) systems.
|
|
30775
30905
|
*
|
|
@@ -30800,7 +30930,7 @@ const set$9 = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
30800
30930
|
*
|
|
30801
30931
|
* @since 2.0.0
|
|
30802
30932
|
*/
|
|
30803
|
-
const TypeId$
|
|
30933
|
+
const TypeId$48 = "~effect/PubSub";
|
|
30804
30934
|
const SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
30805
30935
|
/**
|
|
30806
30936
|
* Publishes a message to the `PubSub`, returning whether the message was published
|
|
@@ -30982,7 +31112,7 @@ var SubscriptionImpl = class {
|
|
|
30982
31112
|
}
|
|
30983
31113
|
};
|
|
30984
31114
|
var PubSubImpl = class {
|
|
30985
|
-
[TypeId$
|
|
31115
|
+
[TypeId$48] = { _A: identity };
|
|
30986
31116
|
pubsub;
|
|
30987
31117
|
subscribers;
|
|
30988
31118
|
scope;
|
|
@@ -31003,8 +31133,8 @@ var PubSubImpl = class {
|
|
|
31003
31133
|
};
|
|
31004
31134
|
|
|
31005
31135
|
//#endregion
|
|
31006
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
31007
|
-
const TypeId$
|
|
31136
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Queue.js
|
|
31137
|
+
const TypeId$47 = "~effect/Queue";
|
|
31008
31138
|
const EnqueueTypeId = "~effect/Queue/Enqueue";
|
|
31009
31139
|
const DequeueTypeId = "~effect/Queue/Dequeue";
|
|
31010
31140
|
const variance$1 = {
|
|
@@ -31012,7 +31142,7 @@ const variance$1 = {
|
|
|
31012
31142
|
_E: identity
|
|
31013
31143
|
};
|
|
31014
31144
|
const QueueProto = {
|
|
31015
|
-
[TypeId$
|
|
31145
|
+
[TypeId$47]: variance$1,
|
|
31016
31146
|
[EnqueueTypeId]: variance$1,
|
|
31017
31147
|
[DequeueTypeId]: variance$1,
|
|
31018
31148
|
...PipeInspectableProto,
|
|
@@ -31634,10 +31764,10 @@ const finalize = (self, exit) => {
|
|
|
31634
31764
|
};
|
|
31635
31765
|
|
|
31636
31766
|
//#endregion
|
|
31637
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
31638
|
-
const TypeId$
|
|
31767
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/MutableHashMap.js
|
|
31768
|
+
const TypeId$46 = "~effect/collections/MutableHashMap";
|
|
31639
31769
|
const MutableHashMapProto = {
|
|
31640
|
-
[TypeId$
|
|
31770
|
+
[TypeId$46]: TypeId$46,
|
|
31641
31771
|
[Symbol.iterator]() {
|
|
31642
31772
|
return this.backing[Symbol.iterator]();
|
|
31643
31773
|
},
|
|
@@ -32001,7 +32131,7 @@ const clear$1 = (self) => {
|
|
|
32001
32131
|
const size$2 = (self) => self.backing.size;
|
|
32002
32132
|
|
|
32003
32133
|
//#endregion
|
|
32004
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
32134
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Semaphore.js
|
|
32005
32135
|
/**
|
|
32006
32136
|
* Unsafely creates a new Semaphore.
|
|
32007
32137
|
*
|
|
@@ -32076,7 +32206,7 @@ const makeUnsafe$8 = makeSemaphoreUnsafe;
|
|
|
32076
32206
|
const make$46 = makeSemaphore;
|
|
32077
32207
|
|
|
32078
32208
|
//#endregion
|
|
32079
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
32209
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Channel.js
|
|
32080
32210
|
/**
|
|
32081
32211
|
* The `Channel` module provides a powerful abstraction for bi-directional communication
|
|
32082
32212
|
* and streaming operations. A `Channel` is a nexus of I/O operations that supports both
|
|
@@ -32135,7 +32265,7 @@ const make$46 = makeSemaphore;
|
|
|
32135
32265
|
*
|
|
32136
32266
|
* @since 2.0.0
|
|
32137
32267
|
*/
|
|
32138
|
-
const TypeId$
|
|
32268
|
+
const TypeId$45 = "~effect/Channel";
|
|
32139
32269
|
/**
|
|
32140
32270
|
* Tests if a value is a `Channel`.
|
|
32141
32271
|
*
|
|
@@ -32151,9 +32281,9 @@ const TypeId$46 = "~effect/Channel";
|
|
|
32151
32281
|
* @category guards
|
|
32152
32282
|
* @since 3.5.4
|
|
32153
32283
|
*/
|
|
32154
|
-
const isChannel = (u) => hasProperty(u, TypeId$
|
|
32284
|
+
const isChannel = (u) => hasProperty(u, TypeId$45);
|
|
32155
32285
|
const ChannelProto = {
|
|
32156
|
-
[TypeId$
|
|
32286
|
+
[TypeId$45]: {
|
|
32157
32287
|
_Env: identity,
|
|
32158
32288
|
_InErr: identity,
|
|
32159
32289
|
_InElem: identity,
|
|
@@ -33423,15 +33553,15 @@ const toPull$1 = /* @__PURE__ */ fnUntraced(function* (self) {
|
|
|
33423
33553
|
const toPullScoped = (self, scope) => toTransform(self)(done(), scope);
|
|
33424
33554
|
|
|
33425
33555
|
//#endregion
|
|
33426
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
33427
|
-
const TypeId$
|
|
33556
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/stream.js
|
|
33557
|
+
const TypeId$44 = "~effect/Stream";
|
|
33428
33558
|
const streamVariance = {
|
|
33429
33559
|
_R: identity,
|
|
33430
33560
|
_E: identity,
|
|
33431
33561
|
_A: identity
|
|
33432
33562
|
};
|
|
33433
33563
|
const StreamProto = {
|
|
33434
|
-
[TypeId$
|
|
33564
|
+
[TypeId$44]: streamVariance,
|
|
33435
33565
|
pipe() {
|
|
33436
33566
|
return pipeArguments(this, arguments);
|
|
33437
33567
|
}
|
|
@@ -33444,8 +33574,8 @@ const fromChannel$2 = (channel) => {
|
|
|
33444
33574
|
};
|
|
33445
33575
|
|
|
33446
33576
|
//#endregion
|
|
33447
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
33448
|
-
const TypeId$
|
|
33577
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Sink.js
|
|
33578
|
+
const TypeId$43 = "~effect/Sink";
|
|
33449
33579
|
const endVoid = /* @__PURE__ */ succeed$1([void 0]);
|
|
33450
33580
|
const sinkVariance = {
|
|
33451
33581
|
_A: identity,
|
|
@@ -33455,7 +33585,7 @@ const sinkVariance = {
|
|
|
33455
33585
|
_R: identity
|
|
33456
33586
|
};
|
|
33457
33587
|
const SinkProto = {
|
|
33458
|
-
[TypeId$
|
|
33588
|
+
[TypeId$43]: sinkVariance,
|
|
33459
33589
|
pipe() {
|
|
33460
33590
|
return pipeArguments(this, arguments);
|
|
33461
33591
|
}
|
|
@@ -33477,7 +33607,7 @@ const SinkProto = {
|
|
|
33477
33607
|
* @since 2.0.0
|
|
33478
33608
|
* @category guards
|
|
33479
33609
|
*/
|
|
33480
|
-
const isSink = (u) => hasProperty(u, TypeId$
|
|
33610
|
+
const isSink = (u) => hasProperty(u, TypeId$43);
|
|
33481
33611
|
/**
|
|
33482
33612
|
* Creates a sink from a `Channel`.
|
|
33483
33613
|
*
|
|
@@ -33650,13 +33780,13 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$2(
|
|
|
33650
33780
|
const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$8(effect, toChannel$1)));
|
|
33651
33781
|
|
|
33652
33782
|
//#endregion
|
|
33653
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
33783
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/RcMap.js
|
|
33654
33784
|
/**
|
|
33655
33785
|
* @since 3.5.0
|
|
33656
33786
|
*/
|
|
33657
|
-
const TypeId$
|
|
33787
|
+
const TypeId$42 = "~effect/RcMap";
|
|
33658
33788
|
const makeUnsafe$7 = (options) => ({
|
|
33659
|
-
[TypeId$
|
|
33789
|
+
[TypeId$42]: TypeId$42,
|
|
33660
33790
|
lookup: options.lookup,
|
|
33661
33791
|
services: options.services,
|
|
33662
33792
|
scope: options.scope,
|
|
@@ -33850,8 +33980,8 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
|
|
|
33850
33980
|
}, uninterruptible));
|
|
33851
33981
|
|
|
33852
33982
|
//#endregion
|
|
33853
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
33854
|
-
const TypeId$
|
|
33983
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/rcRef.js
|
|
33984
|
+
const TypeId$41 = "~effect/RcRef";
|
|
33855
33985
|
const stateEmpty = { _tag: "Empty" };
|
|
33856
33986
|
const stateClosed = { _tag: "Closed" };
|
|
33857
33987
|
const variance = {
|
|
@@ -33859,7 +33989,7 @@ const variance = {
|
|
|
33859
33989
|
_E: identity
|
|
33860
33990
|
};
|
|
33861
33991
|
var RcRefImpl = class {
|
|
33862
|
-
[TypeId$
|
|
33992
|
+
[TypeId$41] = variance;
|
|
33863
33993
|
pipe() {
|
|
33864
33994
|
return pipeArguments(this, arguments);
|
|
33865
33995
|
}
|
|
@@ -33952,7 +34082,7 @@ const invalidate$3 = (self_) => {
|
|
|
33952
34082
|
};
|
|
33953
34083
|
|
|
33954
34084
|
//#endregion
|
|
33955
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
34085
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/RcRef.js
|
|
33956
34086
|
/**
|
|
33957
34087
|
* Create an `RcRef` from an acquire `Effect`.
|
|
33958
34088
|
*
|
|
@@ -34027,11 +34157,11 @@ const get$8 = get$9;
|
|
|
34027
34157
|
const invalidate$2 = invalidate$3;
|
|
34028
34158
|
|
|
34029
34159
|
//#endregion
|
|
34030
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
34160
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Stream.js
|
|
34031
34161
|
/**
|
|
34032
34162
|
* @since 2.0.0
|
|
34033
34163
|
*/
|
|
34034
|
-
const TypeId$
|
|
34164
|
+
const TypeId$40 = "~effect/Stream";
|
|
34035
34165
|
/**
|
|
34036
34166
|
* Checks whether a value is a Stream.
|
|
34037
34167
|
*
|
|
@@ -34055,7 +34185,7 @@ const TypeId$41 = "~effect/Stream";
|
|
|
34055
34185
|
* @since 2.0.0
|
|
34056
34186
|
* @category Guards
|
|
34057
34187
|
*/
|
|
34058
|
-
const isStream = (u) => hasProperty(u, TypeId$
|
|
34188
|
+
const isStream = (u) => hasProperty(u, TypeId$40);
|
|
34059
34189
|
/**
|
|
34060
34190
|
* The default chunk size used by Stream constructors and combinators.
|
|
34061
34191
|
*
|
|
@@ -35198,7 +35328,7 @@ const toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
35198
35328
|
const toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map$8(services(), (context) => toReadableStreamWith(self, context, options)));
|
|
35199
35329
|
|
|
35200
35330
|
//#endregion
|
|
35201
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
35331
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/FileSystem.js
|
|
35202
35332
|
/**
|
|
35203
35333
|
* This module provides a comprehensive file system abstraction that supports both synchronous
|
|
35204
35334
|
* and asynchronous file operations through Effect. It includes utilities for file I/O, directory
|
|
@@ -35236,7 +35366,7 @@ const toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]),
|
|
|
35236
35366
|
*
|
|
35237
35367
|
* @since 4.0.0
|
|
35238
35368
|
*/
|
|
35239
|
-
const TypeId$
|
|
35369
|
+
const TypeId$39 = "~effect/platform/FileSystem";
|
|
35240
35370
|
/**
|
|
35241
35371
|
* Creates a `Size` from various numeric input types.
|
|
35242
35372
|
*
|
|
@@ -35325,7 +35455,7 @@ const FileSystem = /* @__PURE__ */ Service$1("effect/platform/FileSystem");
|
|
|
35325
35455
|
*/
|
|
35326
35456
|
const make$42 = (impl) => FileSystem.of({
|
|
35327
35457
|
...impl,
|
|
35328
|
-
[TypeId$
|
|
35458
|
+
[TypeId$39]: TypeId$39,
|
|
35329
35459
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed$1(false) : fail$4(e))),
|
|
35330
35460
|
readFileString: (path, encoding) => flatMap$2(impl.readFile(path), (_) => try_({
|
|
35331
35461
|
try: () => new TextDecoder(encoding).decode(_),
|
|
@@ -35421,14 +35551,14 @@ const FileDescriptor = /* @__PURE__ */ nominal();
|
|
|
35421
35551
|
var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
|
|
35422
35552
|
|
|
35423
35553
|
//#endregion
|
|
35424
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
35554
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Path.js
|
|
35425
35555
|
/**
|
|
35426
35556
|
* @since 4.0.0
|
|
35427
35557
|
*/
|
|
35428
35558
|
/**
|
|
35429
35559
|
* @since 4.0.0
|
|
35430
35560
|
*/
|
|
35431
|
-
const TypeId$
|
|
35561
|
+
const TypeId$38 = "~effect/platform/Path";
|
|
35432
35562
|
/**
|
|
35433
35563
|
* @since 4.0.0
|
|
35434
35564
|
* @category tag
|
|
@@ -35620,7 +35750,7 @@ function encodePathChars(filepath) {
|
|
|
35620
35750
|
return filepath;
|
|
35621
35751
|
}
|
|
35622
35752
|
const posixImpl = /* @__PURE__ */ Path$1.of({
|
|
35623
|
-
[TypeId$
|
|
35753
|
+
[TypeId$38]: TypeId$38,
|
|
35624
35754
|
resolve,
|
|
35625
35755
|
normalize(path) {
|
|
35626
35756
|
if (path.length === 0) return ".";
|
|
@@ -35846,7 +35976,7 @@ const posixImpl = /* @__PURE__ */ Path$1.of({
|
|
|
35846
35976
|
});
|
|
35847
35977
|
|
|
35848
35978
|
//#endregion
|
|
35849
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
35979
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/ConfigProvider.js
|
|
35850
35980
|
/**
|
|
35851
35981
|
* Creates a `Value` node representing a terminal string leaf.
|
|
35852
35982
|
*
|
|
@@ -36121,7 +36251,7 @@ function trieNodeAt(root, path) {
|
|
|
36121
36251
|
}
|
|
36122
36252
|
|
|
36123
36253
|
//#endregion
|
|
36124
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
36254
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/LogLevel.js
|
|
36125
36255
|
/**
|
|
36126
36256
|
* @since 4.0.0
|
|
36127
36257
|
* @category models
|
|
@@ -36222,7 +36352,7 @@ const isGreaterThan$1 = isLogLevelGreaterThan;
|
|
|
36222
36352
|
const isLessThan$1 = /* @__PURE__ */ isLessThan$4(Order);
|
|
36223
36353
|
|
|
36224
36354
|
//#endregion
|
|
36225
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
36355
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/hashMap.js
|
|
36226
36356
|
/**
|
|
36227
36357
|
* @since 2.0.0
|
|
36228
36358
|
*/
|
|
@@ -36257,7 +36387,7 @@ function mergeLeaves(edit, shift, hash1, node1, hash2, node2) {
|
|
|
36257
36387
|
const bit1 = bitpos(hash1, shift);
|
|
36258
36388
|
const bit2 = bitpos(hash2, shift);
|
|
36259
36389
|
if (bit1 === bit2) return new IndexedNode(edit, bit1, [mergeLeaves(edit, shift + SHIFT, hash1, node1, hash2, node2)]);
|
|
36260
|
-
return new IndexedNode(edit, bit1 | bit2, bit1 < bit2 ? [node1, node2] : [node2, node1]);
|
|
36390
|
+
return new IndexedNode(edit, bit1 | bit2, bit1 >>> 0 < bit2 >>> 0 ? [node1, node2] : [node2, node1]);
|
|
36261
36391
|
}
|
|
36262
36392
|
/** @internal */
|
|
36263
36393
|
var Node = class {
|
|
@@ -36333,7 +36463,7 @@ var LeafNode = class LeafNode extends Node {
|
|
|
36333
36463
|
const newBit = bitpos(hash, shift);
|
|
36334
36464
|
const existingBit = bitpos(this.hash, shift);
|
|
36335
36465
|
if (newBit === existingBit) return new IndexedNode(edit, newBit, [this.set(edit, shift + SHIFT, hash, key, value, added)]);
|
|
36336
|
-
return new IndexedNode(edit, newBit | existingBit, newBit < existingBit ? [new LeafNode(edit, hash, key, value), this] : [this, new LeafNode(edit, hash, key, value)]);
|
|
36466
|
+
return new IndexedNode(edit, newBit | existingBit, newBit >>> 0 < existingBit >>> 0 ? [new LeafNode(edit, hash, key, value), this] : [this, new LeafNode(edit, hash, key, value)]);
|
|
36337
36467
|
}
|
|
36338
36468
|
remove(_edit, _shift, hash, key, removed) {
|
|
36339
36469
|
if (this.hash === hash && equals$2(this.key, key)) {
|
|
@@ -36673,7 +36803,7 @@ var HashMapImpl = class {
|
|
|
36673
36803
|
[Symbol.iterator]() {
|
|
36674
36804
|
return this._root.iterator();
|
|
36675
36805
|
}
|
|
36676
|
-
[symbol$
|
|
36806
|
+
[symbol$5](that) {
|
|
36677
36807
|
if (isHashMap$1(that)) {
|
|
36678
36808
|
const thatImpl = that;
|
|
36679
36809
|
if (this.size !== thatImpl.size) return false;
|
|
@@ -36685,7 +36815,7 @@ var HashMapImpl = class {
|
|
|
36685
36815
|
}
|
|
36686
36816
|
return false;
|
|
36687
36817
|
}
|
|
36688
|
-
[symbol$
|
|
36818
|
+
[symbol$6]() {
|
|
36689
36819
|
let hash$4 = string$4("HashMap");
|
|
36690
36820
|
for (const [key, value] of this) hash$4 = hash$4 ^ hash(key) + hash(value);
|
|
36691
36821
|
return hash$4;
|
|
@@ -36720,9 +36850,9 @@ const fromIterable$2 = (entries) => {
|
|
|
36720
36850
|
let size = 0;
|
|
36721
36851
|
const added = { value: false };
|
|
36722
36852
|
for (const [key, value] of entries) {
|
|
36723
|
-
const hash$
|
|
36853
|
+
const hash$1 = hash(key);
|
|
36724
36854
|
added.value = false;
|
|
36725
|
-
root = root.set(NaN, 0, hash$
|
|
36855
|
+
root = root.set(NaN, 0, hash$1, key, value, added);
|
|
36726
36856
|
if (added.value) size++;
|
|
36727
36857
|
}
|
|
36728
36858
|
return new HashMapImpl(false, 0, root, size);
|
|
@@ -36759,10 +36889,10 @@ const hasBy$1 = /* @__PURE__ */ dual(2, (self, predicate) => {
|
|
|
36759
36889
|
/** @internal */
|
|
36760
36890
|
const set$7 = /* @__PURE__ */ dual(3, (self, key, value) => {
|
|
36761
36891
|
const impl = self;
|
|
36762
|
-
const hash$
|
|
36892
|
+
const hash$2 = hash(key);
|
|
36763
36893
|
const added = { value: false };
|
|
36764
36894
|
const edit = impl._editable ? impl._edit : NaN;
|
|
36765
|
-
const newRoot = impl._root.set(edit, 0, hash$
|
|
36895
|
+
const newRoot = impl._root.set(edit, 0, hash$2, key, value, added);
|
|
36766
36896
|
if (impl._editable) {
|
|
36767
36897
|
impl._root = newRoot;
|
|
36768
36898
|
if (added.value) impl._size++;
|
|
@@ -36867,10 +36997,10 @@ const union$1 = /* @__PURE__ */ dual(2, (self, that) => {
|
|
|
36867
36997
|
/** @internal */
|
|
36868
36998
|
const remove$4 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
36869
36999
|
const impl = self;
|
|
36870
|
-
const hash$
|
|
37000
|
+
const hash$3 = hash(key);
|
|
36871
37001
|
const removed = { value: false };
|
|
36872
37002
|
const edit = impl._editable ? impl._edit : NaN;
|
|
36873
|
-
const newRoot = impl._root.remove(edit, 0, hash$
|
|
37003
|
+
const newRoot = impl._root.remove(edit, 0, hash$3, key, removed);
|
|
36874
37004
|
if (!removed.value) return self;
|
|
36875
37005
|
if (impl._editable) {
|
|
36876
37006
|
impl._root = newRoot ?? emptyNode;
|
|
@@ -36951,7 +37081,7 @@ const every$1 = /* @__PURE__ */ dual(2, (self, predicate) => {
|
|
|
36951
37081
|
});
|
|
36952
37082
|
|
|
36953
37083
|
//#endregion
|
|
36954
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
37084
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/HashMap.js
|
|
36955
37085
|
/**
|
|
36956
37086
|
* @since 2.0.0
|
|
36957
37087
|
*/
|
|
@@ -37756,7 +37886,7 @@ const some = some$1;
|
|
|
37756
37886
|
const every = every$1;
|
|
37757
37887
|
|
|
37758
37888
|
//#endregion
|
|
37759
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
37889
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Struct.js
|
|
37760
37890
|
/**
|
|
37761
37891
|
* Creates an `Equivalence` for a struct by providing an `Equivalence` for each
|
|
37762
37892
|
* property. Two structs are equivalent when all their corresponding properties
|
|
@@ -37854,7 +37984,7 @@ const makeOrder = Struct$2;
|
|
|
37854
37984
|
const lambda = (f) => f;
|
|
37855
37985
|
|
|
37856
37986
|
//#endregion
|
|
37857
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
37987
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SchemaParser.js
|
|
37858
37988
|
/**
|
|
37859
37989
|
* @since 4.0.0
|
|
37860
37990
|
*/
|
|
@@ -38092,7 +38222,7 @@ const recur$1 = /* @__PURE__ */ memoize((ast) => {
|
|
|
38092
38222
|
});
|
|
38093
38223
|
|
|
38094
38224
|
//#endregion
|
|
38095
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
38225
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/JsonPointer.js
|
|
38096
38226
|
/**
|
|
38097
38227
|
* Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
|
|
38098
38228
|
*
|
|
@@ -38186,11 +38316,11 @@ function escapeToken(token) {
|
|
|
38186
38316
|
}
|
|
38187
38317
|
|
|
38188
38318
|
//#endregion
|
|
38189
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
38319
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/schema/schema.js
|
|
38190
38320
|
/** @internal */
|
|
38191
|
-
const TypeId$
|
|
38321
|
+
const TypeId$37 = "~effect/Schema/Schema";
|
|
38192
38322
|
const SchemaProto = {
|
|
38193
|
-
[TypeId$
|
|
38323
|
+
[TypeId$37]: TypeId$37,
|
|
38194
38324
|
pipe() {
|
|
38195
38325
|
return pipeArguments(this, arguments);
|
|
38196
38326
|
},
|
|
@@ -38215,7 +38345,7 @@ function make$38(ast, options) {
|
|
|
38215
38345
|
}
|
|
38216
38346
|
|
|
38217
38347
|
//#endregion
|
|
38218
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
38348
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/schema/to-codec.js
|
|
38219
38349
|
/** @internal */
|
|
38220
38350
|
const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
|
|
38221
38351
|
const out = toCodecJsonBase(ast);
|
|
@@ -38285,7 +38415,7 @@ function makeReorder(getPriority) {
|
|
|
38285
38415
|
const unknownToNull = /* @__PURE__ */ new Link(null_, /* @__PURE__ */ new Transformation(/* @__PURE__ */ passthrough$1(), /* @__PURE__ */ transform$3(() => null)));
|
|
38286
38416
|
|
|
38287
38417
|
//#endregion
|
|
38288
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
38418
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/internal/schema/representation.js
|
|
38289
38419
|
/** @internal */
|
|
38290
38420
|
function fromAST(ast) {
|
|
38291
38421
|
const { references, representations: schemas } = fromASTs([ast]);
|
|
@@ -38897,8 +39027,8 @@ function getPartPattern(part) {
|
|
|
38897
39027
|
}
|
|
38898
39028
|
|
|
38899
39029
|
//#endregion
|
|
38900
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
38901
|
-
const TypeId$
|
|
39030
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Schema.js
|
|
39031
|
+
const TypeId$36 = TypeId$37;
|
|
38902
39032
|
/**
|
|
38903
39033
|
* An API for creating schemas for parametric types.
|
|
38904
39034
|
*
|
|
@@ -39147,7 +39277,7 @@ const make$37 = make$38;
|
|
|
39147
39277
|
* @since 4.0.0
|
|
39148
39278
|
*/
|
|
39149
39279
|
function isSchema(u) {
|
|
39150
|
-
return hasProperty(u, TypeId$
|
|
39280
|
+
return hasProperty(u, TypeId$36) && u[TypeId$36] === TypeId$36;
|
|
39151
39281
|
}
|
|
39152
39282
|
/**
|
|
39153
39283
|
* Creates an exact optional key schema for struct fields. Unlike `optional`,
|
|
@@ -39265,7 +39395,7 @@ const Boolean$2 = /* @__PURE__ */ make$37(boolean$3);
|
|
|
39265
39395
|
*
|
|
39266
39396
|
* @since 4.0.0
|
|
39267
39397
|
*/
|
|
39268
|
-
const Symbol$1 = /* @__PURE__ */ make$37(symbol$
|
|
39398
|
+
const Symbol$1 = /* @__PURE__ */ make$37(symbol$3);
|
|
39269
39399
|
/**
|
|
39270
39400
|
* A schema for all bigints.
|
|
39271
39401
|
*
|
|
@@ -41169,7 +41299,7 @@ function makeClass(Inherited, identifier, struct$1, annotations) {
|
|
|
41169
41299
|
toString() {
|
|
41170
41300
|
return `${identifier}(${format$4({ ...this })})`;
|
|
41171
41301
|
}
|
|
41172
|
-
static [TypeId$
|
|
41302
|
+
static [TypeId$36] = TypeId$36;
|
|
41173
41303
|
get [ClassTypeId]() {
|
|
41174
41304
|
return ClassTypeId;
|
|
41175
41305
|
}
|
|
@@ -41372,8 +41502,8 @@ function onSerializerEnsureArray(ast) {
|
|
|
41372
41502
|
}
|
|
41373
41503
|
|
|
41374
41504
|
//#endregion
|
|
41375
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
41376
|
-
const TypeId$
|
|
41505
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Config.js
|
|
41506
|
+
const TypeId$35 = "~effect/Config";
|
|
41377
41507
|
/**
|
|
41378
41508
|
* The error type produced when config loading or validation fails.
|
|
41379
41509
|
*
|
|
@@ -41410,7 +41540,7 @@ var ConfigError = class {
|
|
|
41410
41540
|
const Proto$18 = {
|
|
41411
41541
|
...PipeInspectableProto,
|
|
41412
41542
|
...YieldableProto,
|
|
41413
|
-
[TypeId$
|
|
41543
|
+
[TypeId$35]: TypeId$35,
|
|
41414
41544
|
asEffect() {
|
|
41415
41545
|
return flatMap$2(ConfigProvider.asEffect(), (provider) => this.parse(provider));
|
|
41416
41546
|
},
|
|
@@ -41705,7 +41835,10 @@ function schema(codec, path) {
|
|
|
41705
41835
|
const decodeUnknownEffect = decodeUnknownEffect$1(toCodecStringTree$2);
|
|
41706
41836
|
const toCodecStringTreeEncoded = toEncoded(toCodecStringTree$2.ast);
|
|
41707
41837
|
const defaultPath = typeof path === "string" ? [path] : path ?? [];
|
|
41708
|
-
return make$36((provider) =>
|
|
41838
|
+
return make$36((provider) => {
|
|
41839
|
+
const path = provider.prefix ? [...provider.prefix, ...defaultPath] : defaultPath;
|
|
41840
|
+
return recur(toCodecStringTreeEncoded, provider, defaultPath).pipe(flatMapEager((tree) => decodeUnknownEffect(tree).pipe(mapErrorEager((issue) => new SchemaError(path.length > 0 ? new Pointer(path, issue) : issue)))), mapErrorEager((cause) => new ConfigError(cause)));
|
|
41841
|
+
});
|
|
41709
41842
|
}
|
|
41710
41843
|
/** @internal */
|
|
41711
41844
|
const TrueValues = /* @__PURE__ */ Literals([
|
|
@@ -41861,7 +41994,7 @@ function int(name) {
|
|
|
41861
41994
|
}
|
|
41862
41995
|
|
|
41863
41996
|
//#endregion
|
|
41864
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
41997
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/CliError.js
|
|
41865
41998
|
/**
|
|
41866
41999
|
* @since 4.0.0
|
|
41867
42000
|
*/
|
|
@@ -41869,7 +42002,7 @@ function int(name) {
|
|
|
41869
42002
|
* @since 4.0.0
|
|
41870
42003
|
* @category type id
|
|
41871
42004
|
*/
|
|
41872
|
-
const TypeId$
|
|
42005
|
+
const TypeId$34 = "~effect/cli/CliError";
|
|
41873
42006
|
/**
|
|
41874
42007
|
* Type guard to check if a value is a CLI error.
|
|
41875
42008
|
*
|
|
@@ -41899,7 +42032,7 @@ const TypeId$35 = "~effect/cli/CliError";
|
|
|
41899
42032
|
* @since 4.0.0
|
|
41900
42033
|
* @category guards
|
|
41901
42034
|
*/
|
|
41902
|
-
const isCliError = (u) => hasProperty(u, TypeId$
|
|
42035
|
+
const isCliError = (u) => hasProperty(u, TypeId$34);
|
|
41903
42036
|
/**
|
|
41904
42037
|
* Error thrown when an unrecognized option is encountered.
|
|
41905
42038
|
*
|
|
@@ -41932,7 +42065,7 @@ const isCliError = (u) => hasProperty(u, TypeId$35);
|
|
|
41932
42065
|
* @since 4.0.0
|
|
41933
42066
|
* @category models
|
|
41934
42067
|
*/
|
|
41935
|
-
var UnrecognizedOption = class extends ErrorClass(`${TypeId$
|
|
42068
|
+
var UnrecognizedOption = class extends ErrorClass(`${TypeId$34}/UnrecognizedOption`)({
|
|
41936
42069
|
_tag: /* @__PURE__ */ tag("UnrecognizedOption"),
|
|
41937
42070
|
option: String$1,
|
|
41938
42071
|
command: /* @__PURE__ */ optional$2(/* @__PURE__ */ Array$1(String$1)),
|
|
@@ -41941,7 +42074,7 @@ var UnrecognizedOption = class extends ErrorClass(`${TypeId$35}/UnrecognizedOpti
|
|
|
41941
42074
|
/**
|
|
41942
42075
|
* @since 4.0.0
|
|
41943
42076
|
*/
|
|
41944
|
-
[TypeId$
|
|
42077
|
+
[TypeId$34] = TypeId$34;
|
|
41945
42078
|
/**
|
|
41946
42079
|
* @since 4.0.0
|
|
41947
42080
|
*/
|
|
@@ -41971,7 +42104,7 @@ var UnrecognizedOption = class extends ErrorClass(`${TypeId$35}/UnrecognizedOpti
|
|
|
41971
42104
|
* @since 4.0.0
|
|
41972
42105
|
* @category models
|
|
41973
42106
|
*/
|
|
41974
|
-
var DuplicateOption = class extends ErrorClass(`${TypeId$
|
|
42107
|
+
var DuplicateOption = class extends ErrorClass(`${TypeId$34}/DuplicateOption`)({
|
|
41975
42108
|
_tag: /* @__PURE__ */ tag("DuplicateOption"),
|
|
41976
42109
|
option: String$1,
|
|
41977
42110
|
parentCommand: String$1,
|
|
@@ -41980,7 +42113,7 @@ var DuplicateOption = class extends ErrorClass(`${TypeId$35}/DuplicateOption`)({
|
|
|
41980
42113
|
/**
|
|
41981
42114
|
* @since 4.0.0
|
|
41982
42115
|
*/
|
|
41983
|
-
[TypeId$
|
|
42116
|
+
[TypeId$34] = TypeId$34;
|
|
41984
42117
|
/**
|
|
41985
42118
|
* @since 4.0.0
|
|
41986
42119
|
*/
|
|
@@ -42017,14 +42150,14 @@ var DuplicateOption = class extends ErrorClass(`${TypeId$35}/DuplicateOption`)({
|
|
|
42017
42150
|
* @since 4.0.0
|
|
42018
42151
|
* @category models
|
|
42019
42152
|
*/
|
|
42020
|
-
var MissingOption = class extends ErrorClass(`${TypeId$
|
|
42153
|
+
var MissingOption = class extends ErrorClass(`${TypeId$34}/MissingOption`)({
|
|
42021
42154
|
_tag: /* @__PURE__ */ tag("MissingOption"),
|
|
42022
42155
|
option: String$1
|
|
42023
42156
|
}) {
|
|
42024
42157
|
/**
|
|
42025
42158
|
* @since 4.0.0
|
|
42026
42159
|
*/
|
|
42027
|
-
[TypeId$
|
|
42160
|
+
[TypeId$34] = TypeId$34;
|
|
42028
42161
|
/**
|
|
42029
42162
|
* @since 4.0.0
|
|
42030
42163
|
*/
|
|
@@ -42060,14 +42193,14 @@ var MissingOption = class extends ErrorClass(`${TypeId$35}/MissingOption`)({
|
|
|
42060
42193
|
* @since 4.0.0
|
|
42061
42194
|
* @category models
|
|
42062
42195
|
*/
|
|
42063
|
-
var MissingArgument = class extends ErrorClass(`${TypeId$
|
|
42196
|
+
var MissingArgument = class extends ErrorClass(`${TypeId$34}/MissingArgument`)({
|
|
42064
42197
|
_tag: /* @__PURE__ */ tag("MissingArgument"),
|
|
42065
42198
|
argument: String$1
|
|
42066
42199
|
}) {
|
|
42067
42200
|
/**
|
|
42068
42201
|
* @since 4.0.0
|
|
42069
42202
|
*/
|
|
42070
|
-
[TypeId$
|
|
42203
|
+
[TypeId$34] = TypeId$34;
|
|
42071
42204
|
/**
|
|
42072
42205
|
* @since 4.0.0
|
|
42073
42206
|
*/
|
|
@@ -42108,7 +42241,7 @@ var MissingArgument = class extends ErrorClass(`${TypeId$35}/MissingArgument`)({
|
|
|
42108
42241
|
* @since 4.0.0
|
|
42109
42242
|
* @category models
|
|
42110
42243
|
*/
|
|
42111
|
-
var InvalidValue = class extends ErrorClass(`${TypeId$
|
|
42244
|
+
var InvalidValue = class extends ErrorClass(`${TypeId$34}/InvalidValue`)({
|
|
42112
42245
|
_tag: /* @__PURE__ */ tag("InvalidValue"),
|
|
42113
42246
|
option: String$1,
|
|
42114
42247
|
value: String$1,
|
|
@@ -42118,7 +42251,7 @@ var InvalidValue = class extends ErrorClass(`${TypeId$35}/InvalidValue`)({
|
|
|
42118
42251
|
/**
|
|
42119
42252
|
* @since 4.0.0
|
|
42120
42253
|
*/
|
|
42121
|
-
[TypeId$
|
|
42254
|
+
[TypeId$34] = TypeId$34;
|
|
42122
42255
|
/**
|
|
42123
42256
|
* @since 4.0.0
|
|
42124
42257
|
*/
|
|
@@ -42162,7 +42295,7 @@ var InvalidValue = class extends ErrorClass(`${TypeId$35}/InvalidValue`)({
|
|
|
42162
42295
|
* @since 4.0.0
|
|
42163
42296
|
* @category models
|
|
42164
42297
|
*/
|
|
42165
|
-
var UnknownSubcommand = class extends ErrorClass(`${TypeId$
|
|
42298
|
+
var UnknownSubcommand = class extends ErrorClass(`${TypeId$34}/UnknownSubcommand`)({
|
|
42166
42299
|
_tag: /* @__PURE__ */ tag("UnknownSubcommand"),
|
|
42167
42300
|
subcommand: String$1,
|
|
42168
42301
|
parent: /* @__PURE__ */ optional$2(/* @__PURE__ */ Array$1(String$1)),
|
|
@@ -42171,7 +42304,7 @@ var UnknownSubcommand = class extends ErrorClass(`${TypeId$35}/UnknownSubcommand
|
|
|
42171
42304
|
/**
|
|
42172
42305
|
* @since 4.0.0
|
|
42173
42306
|
*/
|
|
42174
|
-
[TypeId$
|
|
42307
|
+
[TypeId$34] = TypeId$34;
|
|
42175
42308
|
/**
|
|
42176
42309
|
* @since 4.0.0
|
|
42177
42310
|
*/
|
|
@@ -42218,14 +42351,14 @@ var UnknownSubcommand = class extends ErrorClass(`${TypeId$35}/UnknownSubcommand
|
|
|
42218
42351
|
* @since 4.0.0
|
|
42219
42352
|
* @category models
|
|
42220
42353
|
*/
|
|
42221
|
-
var ShowHelp = class extends ErrorClass(`${TypeId$
|
|
42354
|
+
var ShowHelp = class extends ErrorClass(`${TypeId$34}/ShowHelp`)({
|
|
42222
42355
|
_tag: /* @__PURE__ */ tag("ShowHelp"),
|
|
42223
42356
|
commandPath: /* @__PURE__ */ Array$1(String$1)
|
|
42224
42357
|
}) {
|
|
42225
42358
|
/**
|
|
42226
42359
|
* @since 4.0.0
|
|
42227
42360
|
*/
|
|
42228
|
-
[TypeId$
|
|
42361
|
+
[TypeId$34] = TypeId$34;
|
|
42229
42362
|
/**
|
|
42230
42363
|
* @since 4.0.0
|
|
42231
42364
|
*/
|
|
@@ -42268,14 +42401,14 @@ var ShowHelp = class extends ErrorClass(`${TypeId$35}/ShowHelp`)({
|
|
|
42268
42401
|
* @since 4.0.0
|
|
42269
42402
|
* @category models
|
|
42270
42403
|
*/
|
|
42271
|
-
var UserError = class extends ErrorClass(`${TypeId$
|
|
42404
|
+
var UserError = class extends ErrorClass(`${TypeId$34}/UserError`)({
|
|
42272
42405
|
_tag: /* @__PURE__ */ tag("UserError"),
|
|
42273
42406
|
cause: Defect
|
|
42274
42407
|
}) {
|
|
42275
42408
|
/**
|
|
42276
42409
|
* @since 4.0.0
|
|
42277
42410
|
*/
|
|
42278
|
-
[TypeId$
|
|
42411
|
+
[TypeId$34] = TypeId$34;
|
|
42279
42412
|
};
|
|
42280
42413
|
|
|
42281
42414
|
//#endregion
|
|
@@ -52865,7 +52998,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
52865
52998
|
}));
|
|
52866
52999
|
|
|
52867
53000
|
//#endregion
|
|
52868
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
53001
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Primitive.js
|
|
52869
53002
|
var import_ini = /* @__PURE__ */ __toESM(require_ini(), 1);
|
|
52870
53003
|
var import_toml = /* @__PURE__ */ __toESM(require_toml(), 1);
|
|
52871
53004
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
|
|
@@ -53137,8 +53270,8 @@ const getTypeName = (primitive) => {
|
|
|
53137
53270
|
const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
|
|
53138
53271
|
|
|
53139
53272
|
//#endregion
|
|
53140
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
53141
|
-
const TypeId$
|
|
53273
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Terminal.js
|
|
53274
|
+
const TypeId$33 = "~effect/platform/Terminal";
|
|
53142
53275
|
const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
|
|
53143
53276
|
/**
|
|
53144
53277
|
* A `QuitError` represents an error that occurs when a user attempts to
|
|
@@ -53171,11 +53304,11 @@ const Terminal = /* @__PURE__ */ Service$1("effect/platform/Terminal");
|
|
|
53171
53304
|
*/
|
|
53172
53305
|
const make$35 = (impl) => Terminal.of({
|
|
53173
53306
|
...impl,
|
|
53174
|
-
[TypeId$
|
|
53307
|
+
[TypeId$33]: TypeId$33
|
|
53175
53308
|
});
|
|
53176
53309
|
|
|
53177
53310
|
//#endregion
|
|
53178
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
53311
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/ansi.js
|
|
53179
53312
|
const ESC = "\x1B[";
|
|
53180
53313
|
const BEL = "\x07";
|
|
53181
53314
|
const SEP = ";";
|
|
@@ -53266,11 +53399,11 @@ const eraseLines = (rows) => {
|
|
|
53266
53399
|
};
|
|
53267
53400
|
|
|
53268
53401
|
//#endregion
|
|
53269
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
53402
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Prompt.js
|
|
53270
53403
|
/**
|
|
53271
53404
|
* @since 4.0.0
|
|
53272
53405
|
*/
|
|
53273
|
-
const TypeId$
|
|
53406
|
+
const TypeId$32 = "~effect/cli/Prompt";
|
|
53274
53407
|
const defaultFigures = {
|
|
53275
53408
|
arrowUp: "↑",
|
|
53276
53409
|
arrowDown: "↓",
|
|
@@ -53491,7 +53624,7 @@ const toggle = (options) => {
|
|
|
53491
53624
|
};
|
|
53492
53625
|
const proto = {
|
|
53493
53626
|
...YieldableProto,
|
|
53494
|
-
[TypeId$
|
|
53627
|
+
[TypeId$32]: { _Output: (_) => _ },
|
|
53495
53628
|
asEffect() {
|
|
53496
53629
|
return run$5(this);
|
|
53497
53630
|
},
|
|
@@ -54259,7 +54392,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
|
|
|
54259
54392
|
};
|
|
54260
54393
|
|
|
54261
54394
|
//#endregion
|
|
54262
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
54395
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Param.js
|
|
54263
54396
|
/**
|
|
54264
54397
|
* @internal
|
|
54265
54398
|
*
|
|
@@ -54272,7 +54405,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
|
|
|
54272
54405
|
*
|
|
54273
54406
|
* @since 4.0.0
|
|
54274
54407
|
*/
|
|
54275
|
-
const TypeId$
|
|
54408
|
+
const TypeId$31 = "~effect/cli/Param";
|
|
54276
54409
|
/**
|
|
54277
54410
|
* Kind discriminator for positional argument parameters.
|
|
54278
54411
|
*
|
|
@@ -54288,7 +54421,7 @@ const argumentKind = "argument";
|
|
|
54288
54421
|
*/
|
|
54289
54422
|
const flagKind = "flag";
|
|
54290
54423
|
const Proto$16 = {
|
|
54291
|
-
[TypeId$
|
|
54424
|
+
[TypeId$31]: { _A: identity },
|
|
54292
54425
|
pipe() {
|
|
54293
54426
|
return pipeArguments(this, arguments);
|
|
54294
54427
|
}
|
|
@@ -54312,7 +54445,7 @@ const Proto$16 = {
|
|
|
54312
54445
|
* @since 4.0.0
|
|
54313
54446
|
* @category refinements
|
|
54314
54447
|
*/
|
|
54315
|
-
const isParam = (u) => hasProperty(u, TypeId$
|
|
54448
|
+
const isParam = (u) => hasProperty(u, TypeId$31);
|
|
54316
54449
|
/**
|
|
54317
54450
|
* Type guard to check if a Single param is a flag (not an argument).
|
|
54318
54451
|
*
|
|
@@ -54978,7 +55111,7 @@ const getParamMetadata = (param) => {
|
|
|
54978
55111
|
};
|
|
54979
55112
|
|
|
54980
55113
|
//#endregion
|
|
54981
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55114
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Argument.js
|
|
54982
55115
|
/**
|
|
54983
55116
|
* Creates a positional path argument.
|
|
54984
55117
|
*
|
|
@@ -55040,7 +55173,7 @@ const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDes
|
|
|
55040
55173
|
const withDefault$1 = withDefault$2;
|
|
55041
55174
|
|
|
55042
55175
|
//#endregion
|
|
55043
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55176
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/CliOutput.js
|
|
55044
55177
|
/**
|
|
55045
55178
|
* Service reference for the CLI output formatter. Provides a default implementation
|
|
55046
55179
|
* that can be overridden for custom formatting or testing.
|
|
@@ -55229,12 +55362,38 @@ const formatHelpDocImpl = (doc, colors) => {
|
|
|
55229
55362
|
sections.push("");
|
|
55230
55363
|
}
|
|
55231
55364
|
if (doc.subcommands && doc.subcommands.length > 0) {
|
|
55232
|
-
|
|
55233
|
-
|
|
55234
|
-
|
|
55235
|
-
|
|
55236
|
-
|
|
55237
|
-
|
|
55365
|
+
const ungrouped = doc.subcommands.find((group) => group.group === void 0);
|
|
55366
|
+
if (ungrouped) {
|
|
55367
|
+
sections.push(colors.bold("SUBCOMMANDS"));
|
|
55368
|
+
sections.push(renderTable(ungrouped.commands.map((sub) => ({
|
|
55369
|
+
left: colors.cyan(sub.name),
|
|
55370
|
+
right: sub.shortDescription ?? sub.description
|
|
55371
|
+
})), 20));
|
|
55372
|
+
if (doc.subcommands.length > 1) sections.push("");
|
|
55373
|
+
}
|
|
55374
|
+
for (const group of doc.subcommands) {
|
|
55375
|
+
if (group.group === void 0) continue;
|
|
55376
|
+
sections.push(colors.bold(`${group.group}:`));
|
|
55377
|
+
sections.push(renderTable(group.commands.map((sub) => ({
|
|
55378
|
+
left: colors.cyan(sub.name),
|
|
55379
|
+
right: sub.shortDescription ?? sub.description
|
|
55380
|
+
})), 20));
|
|
55381
|
+
sections.push("");
|
|
55382
|
+
}
|
|
55383
|
+
}
|
|
55384
|
+
if (doc.examples && doc.examples.length > 0) {
|
|
55385
|
+
sections.push(colors.bold("EXAMPLES"));
|
|
55386
|
+
let first = true;
|
|
55387
|
+
let previousHadDescription = false;
|
|
55388
|
+
for (const example of doc.examples) {
|
|
55389
|
+
if (example.description) {
|
|
55390
|
+
if (!first) sections.push("");
|
|
55391
|
+
sections.push(` ${colors.dim(`# ${example.description}`)}`);
|
|
55392
|
+
} else if (previousHadDescription) sections.push("");
|
|
55393
|
+
sections.push(` ${colors.cyan(example.command)}`);
|
|
55394
|
+
first = false;
|
|
55395
|
+
previousHadDescription = !!example.description;
|
|
55396
|
+
}
|
|
55238
55397
|
sections.push("");
|
|
55239
55398
|
}
|
|
55240
55399
|
if (sections[sections.length - 1] === "") sections.pop();
|
|
@@ -55242,7 +55401,7 @@ const formatHelpDocImpl = (doc, colors) => {
|
|
|
55242
55401
|
};
|
|
55243
55402
|
|
|
55244
55403
|
//#endregion
|
|
55245
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55404
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Console.js
|
|
55246
55405
|
/**
|
|
55247
55406
|
* A reference to the current console service in the Effect system.
|
|
55248
55407
|
*
|
|
@@ -55335,7 +55494,7 @@ const log = (...args) => consoleWith((console) => sync$1(() => {
|
|
|
55335
55494
|
}));
|
|
55336
55495
|
|
|
55337
55496
|
//#endregion
|
|
55338
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55497
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/config.js
|
|
55339
55498
|
const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
|
|
55340
55499
|
/**
|
|
55341
55500
|
* Parses a Command.Config into a ConfigInternal.
|
|
@@ -55405,7 +55564,7 @@ const reconstructTree = (tree, results) => {
|
|
|
55405
55564
|
};
|
|
55406
55565
|
|
|
55407
55566
|
//#endregion
|
|
55408
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55567
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/command.js
|
|
55409
55568
|
/**
|
|
55410
55569
|
* Command Implementation
|
|
55411
55570
|
* ======================
|
|
@@ -55413,7 +55572,7 @@ const reconstructTree = (tree, results) => {
|
|
|
55413
55572
|
* Internal implementation details for CLI commands.
|
|
55414
55573
|
* Public API is in ../Command.ts
|
|
55415
55574
|
*/
|
|
55416
|
-
const TypeId$
|
|
55575
|
+
const TypeId$30 = "~effect/cli/Command";
|
|
55417
55576
|
/**
|
|
55418
55577
|
* Casts a Command to its internal implementation.
|
|
55419
55578
|
* For use by internal modules that need access to config, parse, handle, etc.
|
|
@@ -55432,8 +55591,10 @@ const Proto$15 = {
|
|
|
55432
55591
|
* Internal command constructor. Only accepts already-parsed ConfigInternal.
|
|
55433
55592
|
*/
|
|
55434
55593
|
const makeCommand = (options) => {
|
|
55435
|
-
const service = options.service ?? Service$1(`${TypeId$
|
|
55594
|
+
const service = options.service ?? Service$1(`${TypeId$30}/${options.name}`);
|
|
55436
55595
|
const config = options.config;
|
|
55596
|
+
const annotations = options.annotations ?? empty$14();
|
|
55597
|
+
const subcommands = options.subcommands ?? [];
|
|
55437
55598
|
const handle = (input, commandPath) => isNotUndefined(options.handle) ? options.handle(input, commandPath) : fail$4(new ShowHelp({ commandPath }));
|
|
55438
55599
|
const parse = options.parse ?? fnUntraced(function* (input) {
|
|
55439
55600
|
const values = yield* parseParams({
|
|
@@ -55457,8 +55618,7 @@ const makeCommand = (options) => {
|
|
|
55457
55618
|
});
|
|
55458
55619
|
}
|
|
55459
55620
|
let usage = commandPath.length > 0 ? commandPath.join(" ") : options.name;
|
|
55460
|
-
|
|
55461
|
-
if (subcommands.length > 0) usage += " <subcommand>";
|
|
55621
|
+
if (subcommands.some((group) => group.commands.length > 0)) usage += " <subcommand>";
|
|
55462
55622
|
usage += " [flags]";
|
|
55463
55623
|
for (const arg of args) {
|
|
55464
55624
|
const argName = arg.variadic ? `<${arg.name}...>` : `<${arg.name}>`;
|
|
@@ -55477,28 +55637,39 @@ const makeCommand = (options) => {
|
|
|
55477
55637
|
});
|
|
55478
55638
|
}
|
|
55479
55639
|
}
|
|
55480
|
-
const subcommandDocs =
|
|
55481
|
-
|
|
55482
|
-
|
|
55483
|
-
|
|
55640
|
+
const subcommandDocs = [];
|
|
55641
|
+
for (const group of subcommands) subcommandDocs.push({
|
|
55642
|
+
group: group.group,
|
|
55643
|
+
commands: map$12(group.commands, (subcommand) => ({
|
|
55644
|
+
name: subcommand.name,
|
|
55645
|
+
shortDescription: subcommand.shortDescription,
|
|
55646
|
+
description: subcommand.description ?? ""
|
|
55647
|
+
}))
|
|
55648
|
+
});
|
|
55649
|
+
const examples = options.examples ?? [];
|
|
55484
55650
|
return {
|
|
55485
55651
|
description: options.description ?? "",
|
|
55486
55652
|
usage,
|
|
55487
55653
|
flags,
|
|
55654
|
+
annotations,
|
|
55488
55655
|
...args.length > 0 && { args },
|
|
55489
|
-
...subcommandDocs.length > 0 && { subcommands: subcommandDocs }
|
|
55656
|
+
...subcommandDocs.length > 0 && { subcommands: subcommandDocs },
|
|
55657
|
+
...examples.length > 0 && { examples }
|
|
55490
55658
|
};
|
|
55491
55659
|
};
|
|
55492
55660
|
return Object.assign(Object.create(Proto$15), {
|
|
55493
|
-
[TypeId$
|
|
55661
|
+
[TypeId$30]: TypeId$30,
|
|
55494
55662
|
name: options.name,
|
|
55495
|
-
|
|
55663
|
+
examples: options.examples ?? [],
|
|
55664
|
+
annotations,
|
|
55665
|
+
subcommands,
|
|
55496
55666
|
config,
|
|
55497
55667
|
service,
|
|
55498
55668
|
parse,
|
|
55499
55669
|
handle,
|
|
55500
55670
|
buildHelpDoc,
|
|
55501
|
-
...isNotUndefined(options.description) ? { description: options.description } : {}
|
|
55671
|
+
...isNotUndefined(options.description) ? { description: options.description } : {},
|
|
55672
|
+
...isNotUndefined(options.shortDescription) ? { shortDescription: options.shortDescription } : {}
|
|
55502
55673
|
});
|
|
55503
55674
|
};
|
|
55504
55675
|
/**
|
|
@@ -55551,14 +55722,18 @@ const getHelpForCommandPath = (command, commandPath) => {
|
|
|
55551
55722
|
let currentCommand = command;
|
|
55552
55723
|
for (let i = 1; i < commandPath.length; i++) {
|
|
55553
55724
|
const subcommandName = commandPath[i];
|
|
55554
|
-
|
|
55725
|
+
let subcommand = void 0;
|
|
55726
|
+
for (const group of currentCommand.subcommands) {
|
|
55727
|
+
subcommand = group.commands.find((sub) => sub.name === subcommandName);
|
|
55728
|
+
if (subcommand) break;
|
|
55729
|
+
}
|
|
55555
55730
|
if (subcommand) currentCommand = subcommand;
|
|
55556
55731
|
}
|
|
55557
55732
|
return toImpl(currentCommand).buildHelpDoc(commandPath);
|
|
55558
55733
|
};
|
|
55559
55734
|
|
|
55560
55735
|
//#endregion
|
|
55561
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55736
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
|
|
55562
55737
|
const toFlagType = (single) => {
|
|
55563
55738
|
switch (single.primitiveType._tag) {
|
|
55564
55739
|
case "Boolean": return { _tag: "Boolean" };
|
|
@@ -55629,10 +55804,11 @@ const fromCommand = (cmd) => {
|
|
|
55629
55804
|
});
|
|
55630
55805
|
}
|
|
55631
55806
|
}
|
|
55632
|
-
const subcommands =
|
|
55807
|
+
const subcommands = [];
|
|
55808
|
+
for (const group of cmd.subcommands) for (const subcommand of group.commands) subcommands.push(fromCommand(subcommand));
|
|
55633
55809
|
return {
|
|
55634
55810
|
name: cmd.name,
|
|
55635
|
-
description: cmd.description,
|
|
55811
|
+
description: cmd.shortDescription ?? cmd.description,
|
|
55636
55812
|
flags,
|
|
55637
55813
|
arguments: args,
|
|
55638
55814
|
subcommands
|
|
@@ -55640,7 +55816,7 @@ const fromCommand = (cmd) => {
|
|
|
55640
55816
|
};
|
|
55641
55817
|
|
|
55642
55818
|
//#endregion
|
|
55643
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55819
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
|
|
55644
55820
|
const escapeForBash = (s) => s.replace(/'/g, "'\\''");
|
|
55645
55821
|
const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
|
|
55646
55822
|
const flagNamesForWordlist = (flag) => {
|
|
@@ -55792,7 +55968,7 @@ const generate$3 = (executableName, descriptor) => {
|
|
|
55792
55968
|
};
|
|
55793
55969
|
|
|
55794
55970
|
//#endregion
|
|
55795
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
55971
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
|
|
55796
55972
|
const escapeFishString = (s) => s.replace(/'/g, "\\'");
|
|
55797
55973
|
/**
|
|
55798
55974
|
* Build a Fish condition that checks the current subcommand context.
|
|
@@ -55931,7 +56107,7 @@ const generate$2 = (executableName, descriptor) => {
|
|
|
55931
56107
|
};
|
|
55932
56108
|
|
|
55933
56109
|
//#endregion
|
|
55934
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56110
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
|
|
55935
56111
|
const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
|
|
55936
56112
|
const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
|
|
55937
56113
|
/**
|
|
@@ -56069,7 +56245,7 @@ const generate$1 = (executableName, descriptor) => {
|
|
|
56069
56245
|
};
|
|
56070
56246
|
|
|
56071
56247
|
//#endregion
|
|
56072
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56248
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/completions/Completions.js
|
|
56073
56249
|
/**
|
|
56074
56250
|
* Top-level completions dispatcher.
|
|
56075
56251
|
*
|
|
@@ -56088,7 +56264,7 @@ const generate = (executableName, shell, descriptor) => {
|
|
|
56088
56264
|
};
|
|
56089
56265
|
|
|
56090
56266
|
//#endregion
|
|
56091
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56267
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/lexer.js
|
|
56092
56268
|
/** @internal */
|
|
56093
56269
|
function lex(argv) {
|
|
56094
56270
|
const endIndex = argv.indexOf("--");
|
|
@@ -56140,7 +56316,7 @@ const lexTokens = (args) => {
|
|
|
56140
56316
|
};
|
|
56141
56317
|
|
|
56142
56318
|
//#endregion
|
|
56143
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56319
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
|
|
56144
56320
|
/**
|
|
56145
56321
|
* Simple Levenshtein distance implementation (small N, no perf worries)
|
|
56146
56322
|
*/
|
|
@@ -56169,7 +56345,7 @@ const suggest = (input, candidates) => {
|
|
|
56169
56345
|
};
|
|
56170
56346
|
|
|
56171
56347
|
//#endregion
|
|
56172
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56348
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Flag.js
|
|
56173
56349
|
/**
|
|
56174
56350
|
* Creates a boolean flag that can be enabled or disabled.
|
|
56175
56351
|
*
|
|
@@ -56419,7 +56595,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
|
|
|
56419
56595
|
const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
|
|
56420
56596
|
|
|
56421
56597
|
//#endregion
|
|
56422
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56598
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/builtInFlags.js
|
|
56423
56599
|
/**
|
|
56424
56600
|
* Built-in options that are automatically available for CLI commands.
|
|
56425
56601
|
* @since 4.0.0
|
|
@@ -56473,7 +56649,7 @@ const completionsFlag = /* @__PURE__ */ choice("completions", [
|
|
|
56473
56649
|
]).pipe(optional, /* @__PURE__ */ map$1((v) => map$14(v, (s) => s === "sh" ? "bash" : s)), /* @__PURE__ */ withDescription$1("Print shell completion script for the given shell"));
|
|
56474
56650
|
|
|
56475
56651
|
//#endregion
|
|
56476
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56652
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/internal/parser.js
|
|
56477
56653
|
/**
|
|
56478
56654
|
* Parsing Pipeline for CLI Commands
|
|
56479
56655
|
* ==================================
|
|
@@ -56577,7 +56753,11 @@ const createFlagRegistry = (params) => {
|
|
|
56577
56753
|
index
|
|
56578
56754
|
};
|
|
56579
56755
|
};
|
|
56580
|
-
const buildSubcommandIndex = (subcommands) =>
|
|
56756
|
+
const buildSubcommandIndex = (subcommands) => {
|
|
56757
|
+
const index = /* @__PURE__ */ new Map();
|
|
56758
|
+
for (const group of subcommands) for (const subcommand of group.commands) index.set(subcommand.name, subcommand);
|
|
56759
|
+
return index;
|
|
56760
|
+
};
|
|
56581
56761
|
/** Creates an empty flag map with all known flag names initialized to []. */
|
|
56582
56762
|
const createEmptyFlagMap = (params) => Object.fromEntries(params.map((p) => [p.name, []]));
|
|
56583
56763
|
/**
|
|
@@ -56716,7 +56896,7 @@ const resolveFirstValue = (value, cursor, context, state) => {
|
|
|
56716
56896
|
};
|
|
56717
56897
|
}
|
|
56718
56898
|
if (!(toImpl(command).config.arguments.length > 0) && subIndex.size > 0) {
|
|
56719
|
-
const suggestions = suggest(value,
|
|
56899
|
+
const suggestions = suggest(value, Array.from(subIndex.keys()));
|
|
56720
56900
|
state.errors.push(new UnknownSubcommand({
|
|
56721
56901
|
subcommand: value,
|
|
56722
56902
|
parent: commandPath,
|
|
@@ -56784,15 +56964,12 @@ const scanCommandLevel = (tokens, context) => {
|
|
|
56784
56964
|
};
|
|
56785
56965
|
|
|
56786
56966
|
//#endregion
|
|
56787
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
56788
|
-
/**
|
|
56789
|
-
* @since 4.0.0
|
|
56790
|
-
*/
|
|
56967
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/cli/Command.js
|
|
56791
56968
|
/**
|
|
56792
56969
|
* @since 4.0.0
|
|
56793
56970
|
* @category Guards
|
|
56794
56971
|
*/
|
|
56795
|
-
const isCommand$1 = (u) => hasProperty(u, TypeId$
|
|
56972
|
+
const isCommand$1 = (u) => hasProperty(u, TypeId$30);
|
|
56796
56973
|
/**
|
|
56797
56974
|
* Creates a Command from a name, optional config, optional handler function, and optional description.
|
|
56798
56975
|
*
|
|
@@ -56881,6 +57058,40 @@ const withHandler = /* @__PURE__ */ dual(2, (self, handler) => makeCommand({
|
|
|
56881
57058
|
...toImpl(self),
|
|
56882
57059
|
handle: handler
|
|
56883
57060
|
}));
|
|
57061
|
+
const normalizeSubcommandEntries = (entries) => {
|
|
57062
|
+
const flat = [];
|
|
57063
|
+
const grouped = /* @__PURE__ */ new Map();
|
|
57064
|
+
const addToGroup = (group, command) => {
|
|
57065
|
+
flat.push(command);
|
|
57066
|
+
const existing = grouped.get(group);
|
|
57067
|
+
if (existing) existing.push(command);
|
|
57068
|
+
else grouped.set(group, [command]);
|
|
57069
|
+
};
|
|
57070
|
+
for (const entry of entries) {
|
|
57071
|
+
if (isCommand$1(entry)) {
|
|
57072
|
+
addToGroup(void 0, entry);
|
|
57073
|
+
continue;
|
|
57074
|
+
}
|
|
57075
|
+
for (const command of entry.commands) addToGroup(entry.group, command);
|
|
57076
|
+
}
|
|
57077
|
+
const groups = [];
|
|
57078
|
+
const ungroupedCommands = grouped.get(void 0);
|
|
57079
|
+
if (ungroupedCommands && ungroupedCommands.length > 0) groups.push({
|
|
57080
|
+
group: void 0,
|
|
57081
|
+
commands: ungroupedCommands
|
|
57082
|
+
});
|
|
57083
|
+
for (const [group, commands] of grouped) {
|
|
57084
|
+
if (group === void 0) continue;
|
|
57085
|
+
groups.push({
|
|
57086
|
+
group,
|
|
57087
|
+
commands
|
|
57088
|
+
});
|
|
57089
|
+
}
|
|
57090
|
+
return {
|
|
57091
|
+
flat,
|
|
57092
|
+
groups
|
|
57093
|
+
};
|
|
57094
|
+
};
|
|
56884
57095
|
/**
|
|
56885
57096
|
* Adds subcommands to a command, creating a hierarchical command structure.
|
|
56886
57097
|
*
|
|
@@ -56918,9 +57129,10 @@ const withHandler = /* @__PURE__ */ dual(2, (self, handler) => makeCommand({
|
|
|
56918
57129
|
* @category combinators
|
|
56919
57130
|
*/
|
|
56920
57131
|
const withSubcommands = /* @__PURE__ */ dual(2, (self, subcommands) => {
|
|
56921
|
-
|
|
57132
|
+
const normalized = normalizeSubcommandEntries(subcommands);
|
|
57133
|
+
checkForDuplicateFlags(self, normalized.flat);
|
|
56922
57134
|
const impl = toImpl(self);
|
|
56923
|
-
const byName = new Map(
|
|
57135
|
+
const byName = new Map(normalized.flat.map((s) => [s.name, toImpl(s)]));
|
|
56924
57136
|
const parse = fnUntraced(function* (raw) {
|
|
56925
57137
|
const parent = yield* impl.parse(raw);
|
|
56926
57138
|
if (!raw.subcommand) return parent;
|
|
@@ -56945,8 +57157,11 @@ const withSubcommands = /* @__PURE__ */ dual(2, (self, subcommands) => {
|
|
|
56945
57157
|
name: impl.name,
|
|
56946
57158
|
config: impl.config,
|
|
56947
57159
|
description: impl.description,
|
|
57160
|
+
shortDescription: impl.shortDescription,
|
|
57161
|
+
annotations: impl.annotations,
|
|
57162
|
+
examples: impl.examples,
|
|
56948
57163
|
service: impl.service,
|
|
56949
|
-
subcommands,
|
|
57164
|
+
subcommands: normalized.groups,
|
|
56950
57165
|
parse,
|
|
56951
57166
|
handle
|
|
56952
57167
|
});
|
|
@@ -57130,11 +57345,11 @@ const runWith = (command, config) => {
|
|
|
57130
57345
|
};
|
|
57131
57346
|
|
|
57132
57347
|
//#endregion
|
|
57133
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
57348
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Cache.js
|
|
57134
57349
|
/**
|
|
57135
57350
|
* @since 4.0.0
|
|
57136
57351
|
*/
|
|
57137
|
-
const TypeId$
|
|
57352
|
+
const TypeId$29 = "~effect/Cache";
|
|
57138
57353
|
/**
|
|
57139
57354
|
* Creates a cache with dynamic time-to-live based on the result and key.
|
|
57140
57355
|
*
|
|
@@ -57262,7 +57477,7 @@ const make$33 = (options) => makeWith$1({
|
|
|
57262
57477
|
});
|
|
57263
57478
|
const Proto$14 = {
|
|
57264
57479
|
...PipeInspectableProto,
|
|
57265
|
-
[TypeId$
|
|
57480
|
+
[TypeId$29]: TypeId$29,
|
|
57266
57481
|
toJSON() {
|
|
57267
57482
|
return {
|
|
57268
57483
|
_id: "Cache",
|
|
@@ -57548,11 +57763,45 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$1(() => {
|
|
|
57548
57763
|
}));
|
|
57549
57764
|
|
|
57550
57765
|
//#endregion
|
|
57551
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
57766
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/ErrorReporter.js
|
|
57767
|
+
/**
|
|
57768
|
+
* A `ServiceMap.Reference` holding the set of active `ErrorReporter`s for the
|
|
57769
|
+
* current fiber. Defaults to an empty set (no reporting).
|
|
57770
|
+
*
|
|
57771
|
+
* Prefer {@link layer} to configure reporters via the `Layer` API. Use this
|
|
57772
|
+
* reference directly only when you need low-level control (e.g. reading the
|
|
57773
|
+
* current reporters or swapping them inside a `FiberRef`).
|
|
57774
|
+
*
|
|
57775
|
+
* @since 4.0.0
|
|
57776
|
+
* @category References
|
|
57777
|
+
*/
|
|
57778
|
+
const CurrentErrorReporters = CurrentErrorReporters$1;
|
|
57779
|
+
/**
|
|
57780
|
+
* Symbol key used to mark an error as unreportable.
|
|
57781
|
+
*
|
|
57782
|
+
* Set this property to `true` on any error class to prevent it from being
|
|
57783
|
+
* forwarded to reporters. Useful for expected errors such as HTTP 404s.
|
|
57784
|
+
*
|
|
57785
|
+
* @example
|
|
57786
|
+
* ```ts
|
|
57787
|
+
* import { Data, ErrorReporter } from "effect"
|
|
57788
|
+
*
|
|
57789
|
+
* class NotFoundError extends Data.TaggedError("NotFoundError")<{}> {
|
|
57790
|
+
* readonly [ErrorReporter.ignore] = true
|
|
57791
|
+
* }
|
|
57792
|
+
* ```
|
|
57793
|
+
*
|
|
57794
|
+
* @since 4.0.0
|
|
57795
|
+
* @category Annotations
|
|
57796
|
+
*/
|
|
57797
|
+
const ignore = "~effect/ErrorReporter/ignore";
|
|
57798
|
+
|
|
57799
|
+
//#endregion
|
|
57800
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/FiberHandle.js
|
|
57552
57801
|
/**
|
|
57553
57802
|
* @since 2.0.0
|
|
57554
57803
|
*/
|
|
57555
|
-
const TypeId$
|
|
57804
|
+
const TypeId$28 = "~effect/FiberHandle";
|
|
57556
57805
|
/**
|
|
57557
57806
|
* @example
|
|
57558
57807
|
* ```ts
|
|
@@ -57569,9 +57818,9 @@ const TypeId$29 = "~effect/FiberHandle";
|
|
|
57569
57818
|
* @since 2.0.0
|
|
57570
57819
|
* @category refinements
|
|
57571
57820
|
*/
|
|
57572
|
-
const isFiberHandle = (u) => hasProperty(u, TypeId$
|
|
57821
|
+
const isFiberHandle = (u) => hasProperty(u, TypeId$28);
|
|
57573
57822
|
const Proto$13 = {
|
|
57574
|
-
[TypeId$
|
|
57823
|
+
[TypeId$28]: TypeId$28,
|
|
57575
57824
|
...PipeInspectableProto,
|
|
57576
57825
|
toJSON() {
|
|
57577
57826
|
return {
|
|
@@ -57744,11 +57993,11 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
|
|
|
57744
57993
|
});
|
|
57745
57994
|
|
|
57746
57995
|
//#endregion
|
|
57747
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
57996
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/FiberMap.js
|
|
57748
57997
|
/**
|
|
57749
57998
|
* @since 2.0.0
|
|
57750
57999
|
*/
|
|
57751
|
-
const TypeId$
|
|
58000
|
+
const TypeId$27 = "~effect/FiberMap";
|
|
57752
58001
|
/**
|
|
57753
58002
|
* @example
|
|
57754
58003
|
* ```ts
|
|
@@ -57766,9 +58015,9 @@ const TypeId$28 = "~effect/FiberMap";
|
|
|
57766
58015
|
* @since 2.0.0
|
|
57767
58016
|
* @category refinements
|
|
57768
58017
|
*/
|
|
57769
|
-
const isFiberMap = (u) => hasProperty(u, TypeId$
|
|
58018
|
+
const isFiberMap = (u) => hasProperty(u, TypeId$27);
|
|
57770
58019
|
const Proto$12 = {
|
|
57771
|
-
[TypeId$
|
|
58020
|
+
[TypeId$27]: TypeId$27,
|
|
57772
58021
|
[Symbol.iterator]() {
|
|
57773
58022
|
if (this.state._tag === "Closed") return empty$17();
|
|
57774
58023
|
return this.state.backing[Symbol.iterator]();
|
|
@@ -57975,11 +58224,11 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
|
|
|
57975
58224
|
});
|
|
57976
58225
|
|
|
57977
58226
|
//#endregion
|
|
57978
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
58227
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/FiberSet.js
|
|
57979
58228
|
/**
|
|
57980
58229
|
* @since 2.0.0
|
|
57981
58230
|
*/
|
|
57982
|
-
const TypeId$
|
|
58231
|
+
const TypeId$26 = "~effect/FiberSet";
|
|
57983
58232
|
/**
|
|
57984
58233
|
* Checks if a value is a FiberSet.
|
|
57985
58234
|
*
|
|
@@ -57997,9 +58246,9 @@ const TypeId$27 = "~effect/FiberSet";
|
|
|
57997
58246
|
* })
|
|
57998
58247
|
* ```
|
|
57999
58248
|
*/
|
|
58000
|
-
const isFiberSet = (u) => hasProperty(u, TypeId$
|
|
58249
|
+
const isFiberSet = (u) => hasProperty(u, TypeId$26);
|
|
58001
58250
|
const Proto$11 = {
|
|
58002
|
-
[TypeId$
|
|
58251
|
+
[TypeId$26]: TypeId$26,
|
|
58003
58252
|
[Symbol.iterator]() {
|
|
58004
58253
|
if (this.state._tag === "Closed") return empty$17();
|
|
58005
58254
|
return this.state.backing[Symbol.iterator]();
|
|
@@ -58228,13 +58477,13 @@ const awaitEmpty = (self) => whileLoop({
|
|
|
58228
58477
|
});
|
|
58229
58478
|
|
|
58230
58479
|
//#endregion
|
|
58231
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
58480
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/PrimaryKey.js
|
|
58232
58481
|
/**
|
|
58233
58482
|
* The unique identifier used to identify objects that implement the `PrimaryKey` interface.
|
|
58234
58483
|
*
|
|
58235
58484
|
* @since 2.0.0
|
|
58236
58485
|
*/
|
|
58237
|
-
const symbol$
|
|
58486
|
+
const symbol$2 = "~effect/interfaces/PrimaryKey";
|
|
58238
58487
|
/**
|
|
58239
58488
|
* Extracts the string value from a `PrimaryKey`.
|
|
58240
58489
|
*
|
|
@@ -58263,11 +58512,11 @@ const symbol$1 = "~effect/interfaces/PrimaryKey";
|
|
|
58263
58512
|
* @category accessors
|
|
58264
58513
|
* @since 2.0.0
|
|
58265
58514
|
*/
|
|
58266
|
-
const value$1 = (self) => self[symbol$
|
|
58515
|
+
const value$1 = (self) => self[symbol$2]();
|
|
58267
58516
|
|
|
58268
58517
|
//#endregion
|
|
58269
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
58270
|
-
const TypeId$
|
|
58518
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/LayerMap.js
|
|
58519
|
+
const TypeId$25 = "~effect/LayerMap";
|
|
58271
58520
|
/**
|
|
58272
58521
|
* @since 3.14.0
|
|
58273
58522
|
* @category Constructors
|
|
@@ -58318,7 +58567,7 @@ const make$29 = /* @__PURE__ */ fnUntraced(function* (lookup, options) {
|
|
|
58318
58567
|
idleTimeToLive: options?.idleTimeToLive
|
|
58319
58568
|
});
|
|
58320
58569
|
return identity({
|
|
58321
|
-
[TypeId$
|
|
58570
|
+
[TypeId$25]: TypeId$25,
|
|
58322
58571
|
rcMap,
|
|
58323
58572
|
get: (key) => effectServices(get$10(rcMap, key)),
|
|
58324
58573
|
services: (key) => get$10(rcMap, key),
|
|
@@ -58433,7 +58682,7 @@ const Service = () => (id, options) => {
|
|
|
58433
58682
|
};
|
|
58434
58683
|
|
|
58435
58684
|
//#endregion
|
|
58436
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
58685
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Logger.js
|
|
58437
58686
|
/**
|
|
58438
58687
|
* @since 2.0.0
|
|
58439
58688
|
*
|
|
@@ -58881,7 +59130,7 @@ const consolePretty = consolePretty$1;
|
|
|
58881
59130
|
const tracerLogger = tracerLogger$1;
|
|
58882
59131
|
|
|
58883
59132
|
//#endregion
|
|
58884
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59133
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Ref.js
|
|
58885
59134
|
const RefProto = {
|
|
58886
59135
|
["~effect/Ref"]: { _A: identity },
|
|
58887
59136
|
...PipeInspectableProto,
|
|
@@ -58923,7 +59172,7 @@ const makeUnsafe$2 = (value) => {
|
|
|
58923
59172
|
};
|
|
58924
59173
|
|
|
58925
59174
|
//#endregion
|
|
58926
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59175
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/reactivity/Reactivity.js
|
|
58927
59176
|
/**
|
|
58928
59177
|
* @since 4.0.0
|
|
58929
59178
|
*/
|
|
@@ -59060,11 +59309,11 @@ const keysToHashes = (keys, f) => {
|
|
|
59060
59309
|
};
|
|
59061
59310
|
|
|
59062
59311
|
//#endregion
|
|
59063
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59312
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
|
|
59064
59313
|
/**
|
|
59065
59314
|
* @since 4.0.0
|
|
59066
59315
|
*/
|
|
59067
|
-
const TypeId$
|
|
59316
|
+
const TypeId$24 = "~effect/persistence/KeyValueStore";
|
|
59068
59317
|
const ErrorTypeId$1 = "~effect/persistence/KeyValueStore/KeyValueStoreError";
|
|
59069
59318
|
/**
|
|
59070
59319
|
* @since 4.0.0
|
|
@@ -59086,7 +59335,7 @@ const KeyValueStore = /* @__PURE__ */ Service$1("effect/persistence/KeyValueStor
|
|
|
59086
59335
|
* @category constructors
|
|
59087
59336
|
*/
|
|
59088
59337
|
const make$26 = (options) => KeyValueStore.of({
|
|
59089
|
-
[TypeId$
|
|
59338
|
+
[TypeId$24]: TypeId$24,
|
|
59090
59339
|
has: (key) => map$8(options.get(key), isNotUndefined),
|
|
59091
59340
|
isEmpty: map$8(options.size, (size) => size === 0),
|
|
59092
59341
|
modify: (key, f) => flatMap$2(options.get(key), (o) => {
|
|
@@ -59204,12 +59453,12 @@ const toSchemaStore = (self, schema) => {
|
|
|
59204
59453
|
};
|
|
59205
59454
|
|
|
59206
59455
|
//#endregion
|
|
59207
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59456
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/persistence/Persistable.js
|
|
59208
59457
|
/**
|
|
59209
59458
|
* @since 4.0.0
|
|
59210
59459
|
* @category Symbols
|
|
59211
59460
|
*/
|
|
59212
|
-
const symbol = "~effect/persistence/Persistable";
|
|
59461
|
+
const symbol$1 = "~effect/persistence/Persistable";
|
|
59213
59462
|
/**
|
|
59214
59463
|
* @since 4.0.0
|
|
59215
59464
|
* @category Constructors
|
|
@@ -59221,10 +59470,10 @@ const Class = () => (tag, options) => {
|
|
|
59221
59470
|
}
|
|
59222
59471
|
Persistable.prototype = {
|
|
59223
59472
|
...RequestPrototype,
|
|
59224
|
-
[symbol$
|
|
59473
|
+
[symbol$2]() {
|
|
59225
59474
|
return options.primaryKey(this);
|
|
59226
59475
|
},
|
|
59227
|
-
[symbol]: {
|
|
59476
|
+
[symbol$1]: {
|
|
59228
59477
|
success: options.success ?? Void,
|
|
59229
59478
|
error: options.error ?? Never
|
|
59230
59479
|
}
|
|
@@ -59238,7 +59487,7 @@ const Class = () => (tag, options) => {
|
|
|
59238
59487
|
const exitSchema = (self) => {
|
|
59239
59488
|
let schema = exitSchemaCache.get(self);
|
|
59240
59489
|
if (schema) return schema;
|
|
59241
|
-
schema = Exit(self[symbol].success, self[symbol].error, Defect);
|
|
59490
|
+
schema = Exit(self[symbol$1].success, self[symbol$1].error, Defect);
|
|
59242
59491
|
exitSchemaCache.set(self, schema);
|
|
59243
59492
|
return schema;
|
|
59244
59493
|
};
|
|
@@ -59261,7 +59510,7 @@ const deserializeExit = (self, encoded) => {
|
|
|
59261
59510
|
};
|
|
59262
59511
|
|
|
59263
59512
|
//#endregion
|
|
59264
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59513
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/persistence/Persistence.js
|
|
59265
59514
|
/**
|
|
59266
59515
|
* @since 4.0.0
|
|
59267
59516
|
*/
|
|
@@ -59379,7 +59628,7 @@ const layerBackingKvs = /* @__PURE__ */ effect$1(BackingPersistence)(/* @__PURE_
|
|
|
59379
59628
|
const parsed = JSON.parse(str);
|
|
59380
59629
|
if (!Array.isArray(parsed)) return undefined_$1;
|
|
59381
59630
|
const [value, expires] = parsed;
|
|
59382
|
-
if (expires !== null && expires <= clock.currentTimeMillisUnsafe()) return as(ignore(store.remove(key)), void 0);
|
|
59631
|
+
if (expires !== null && expires <= clock.currentTimeMillisUnsafe()) return as(ignore$1(store.remove(key)), void 0);
|
|
59383
59632
|
return succeed$1(value);
|
|
59384
59633
|
} catch (cause) {
|
|
59385
59634
|
return fail$4(new PersistenceError({
|
|
@@ -59438,11 +59687,11 @@ const layerKvs$1 = /* @__PURE__ */ layer$17.pipe(/* @__PURE__ */ provide$3(layer
|
|
|
59438
59687
|
const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
|
|
59439
59688
|
|
|
59440
59689
|
//#endregion
|
|
59441
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59442
|
-
const TypeId$
|
|
59690
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SynchronizedRef.js
|
|
59691
|
+
const TypeId$23 = "~effect/SynchronizedRef";
|
|
59443
59692
|
const Proto$10 = {
|
|
59444
59693
|
...PipeInspectableProto,
|
|
59445
|
-
[TypeId$
|
|
59694
|
+
[TypeId$23]: TypeId$23,
|
|
59446
59695
|
toJSON() {
|
|
59447
59696
|
return {
|
|
59448
59697
|
_id: "SynchronizedRef",
|
|
@@ -59462,14 +59711,14 @@ const makeUnsafe$1 = (value) => {
|
|
|
59462
59711
|
};
|
|
59463
59712
|
|
|
59464
59713
|
//#endregion
|
|
59465
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59714
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/ScopedRef.js
|
|
59466
59715
|
/**
|
|
59467
59716
|
* @since 2.0.0
|
|
59468
59717
|
*/
|
|
59469
|
-
const TypeId$
|
|
59718
|
+
const TypeId$22 = "~effect/ScopedRef";
|
|
59470
59719
|
const Proto$9 = {
|
|
59471
59720
|
...PipeInspectableProto,
|
|
59472
|
-
[TypeId$
|
|
59721
|
+
[TypeId$22]: TypeId$22,
|
|
59473
59722
|
toJSON() {
|
|
59474
59723
|
return {
|
|
59475
59724
|
_id: "ScopedRef",
|
|
@@ -59528,7 +59777,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
|
|
|
59528
59777
|
}, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
|
|
59529
59778
|
|
|
59530
59779
|
//#endregion
|
|
59531
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59780
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Runtime.js
|
|
59532
59781
|
/**
|
|
59533
59782
|
* This module provides utilities for running Effect programs and managing their execution lifecycle.
|
|
59534
59783
|
*
|
|
@@ -59664,40 +59913,40 @@ const makeRunMain = (f) => dual((args) => isEffect(args[0]), (effect, options) =
|
|
|
59664
59913
|
});
|
|
59665
59914
|
|
|
59666
59915
|
//#endregion
|
|
59667
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59916
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/Stdio.js
|
|
59668
59917
|
/**
|
|
59669
59918
|
* @since 4.0.0
|
|
59670
59919
|
* @category Type IDs
|
|
59671
59920
|
*/
|
|
59672
|
-
const TypeId$
|
|
59921
|
+
const TypeId$21 = "~effect/Stdio";
|
|
59673
59922
|
/**
|
|
59674
59923
|
* @since 4.0.0
|
|
59675
59924
|
* @category Services
|
|
59676
59925
|
*/
|
|
59677
|
-
const Stdio = /* @__PURE__ */ Service$1(TypeId$
|
|
59926
|
+
const Stdio = /* @__PURE__ */ Service$1(TypeId$21);
|
|
59678
59927
|
/**
|
|
59679
59928
|
* @since 4.0.0
|
|
59680
59929
|
* @category Constructors
|
|
59681
59930
|
*/
|
|
59682
59931
|
const make$25 = (options) => ({
|
|
59683
|
-
[TypeId$
|
|
59932
|
+
[TypeId$21]: TypeId$21,
|
|
59684
59933
|
...options
|
|
59685
59934
|
});
|
|
59686
59935
|
|
|
59687
59936
|
//#endregion
|
|
59688
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
59937
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/SubscriptionRef.js
|
|
59689
59938
|
/**
|
|
59690
59939
|
* @since 2.0.0
|
|
59691
59940
|
*/
|
|
59692
|
-
const TypeId$
|
|
59941
|
+
const TypeId$20 = "~effect/SubscriptionRef";
|
|
59693
59942
|
/**
|
|
59694
59943
|
* @since 4.0.0
|
|
59695
59944
|
* @category guards
|
|
59696
59945
|
*/
|
|
59697
|
-
const isSubscriptionRef = (u) => typeof u === "object" && u != null && TypeId$
|
|
59946
|
+
const isSubscriptionRef = (u) => typeof u === "object" && u != null && TypeId$20 in u;
|
|
59698
59947
|
const Proto$8 = {
|
|
59699
59948
|
...PipeInspectableProto,
|
|
59700
|
-
[TypeId$
|
|
59949
|
+
[TypeId$20]: { _A: identity },
|
|
59701
59950
|
toJSON() {
|
|
59702
59951
|
return {
|
|
59703
59952
|
_id: "SubscriptionRef",
|
|
@@ -61191,7 +61440,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
|
|
|
61191
61440
|
var src_default = new Mime(types, types$1)._freeze();
|
|
61192
61441
|
|
|
61193
61442
|
//#endregion
|
|
61194
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
61443
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/Mime.js
|
|
61195
61444
|
/**
|
|
61196
61445
|
* @since 1.0.0
|
|
61197
61446
|
*/
|
|
@@ -61202,7 +61451,7 @@ var src_default = new Mime(types, types$1)._freeze();
|
|
|
61202
61451
|
var Mime_default = src_default;
|
|
61203
61452
|
|
|
61204
61453
|
//#endregion
|
|
61205
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
61454
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
|
|
61206
61455
|
/**
|
|
61207
61456
|
* A module providing a generic service interface for spawning child processes.
|
|
61208
61457
|
*
|
|
@@ -61248,12 +61497,12 @@ const makeHandle = (params) => Object.assign(Object.create(HandleProto), params)
|
|
|
61248
61497
|
const ChildProcessSpawner = /* @__PURE__ */ Service$1("effect/process/ChildProcessSpawner");
|
|
61249
61498
|
|
|
61250
61499
|
//#endregion
|
|
61251
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
61252
|
-
const TypeId$
|
|
61500
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/process/ChildProcess.js
|
|
61501
|
+
const TypeId$19 = "~effect/unstable/process/ChildProcess";
|
|
61253
61502
|
const Proto$7 = {
|
|
61254
61503
|
...PipeInspectableProto,
|
|
61255
61504
|
...YieldableProto,
|
|
61256
|
-
[TypeId$
|
|
61505
|
+
[TypeId$19]: TypeId$19,
|
|
61257
61506
|
asEffect() {
|
|
61258
61507
|
return spawn(this);
|
|
61259
61508
|
}
|
|
@@ -61264,7 +61513,7 @@ const Proto$7 = {
|
|
|
61264
61513
|
* @since 4.0.0
|
|
61265
61514
|
* @category Guards
|
|
61266
61515
|
*/
|
|
61267
|
-
const isCommand = (u) => hasProperty(u, TypeId$
|
|
61516
|
+
const isCommand = (u) => hasProperty(u, TypeId$19);
|
|
61268
61517
|
const makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto$7), {
|
|
61269
61518
|
_tag: "StandardCommand",
|
|
61270
61519
|
command,
|
|
@@ -61585,7 +61834,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
|
|
|
61585
61834
|
];
|
|
61586
61835
|
|
|
61587
61836
|
//#endregion
|
|
61588
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
61837
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/internal/utils.js
|
|
61589
61838
|
/** @internal */
|
|
61590
61839
|
const handleErrnoException = (module, method) => (err, [path]) => {
|
|
61591
61840
|
let reason = "Unknown";
|
|
@@ -61623,7 +61872,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
|
|
|
61623
61872
|
};
|
|
61624
61873
|
|
|
61625
61874
|
//#endregion
|
|
61626
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
61875
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
61627
61876
|
/**
|
|
61628
61877
|
* @category constructors
|
|
61629
61878
|
* @since 1.0.0
|
|
@@ -61662,7 +61911,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$2((chunk) => {
|
|
|
61662
61911
|
}) : identity);
|
|
61663
61912
|
|
|
61664
61913
|
//#endregion
|
|
61665
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
61914
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeStream.js
|
|
61666
61915
|
/**
|
|
61667
61916
|
* @since 1.0.0
|
|
61668
61917
|
*/
|
|
@@ -61794,7 +62043,7 @@ const readableToPullUnsafe = (options) => {
|
|
|
61794
62043
|
const defaultOnError = (error) => new UnknownError(error);
|
|
61795
62044
|
|
|
61796
62045
|
//#endregion
|
|
61797
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
62046
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
61798
62047
|
const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
|
|
61799
62048
|
const toPlatformError = (method, error, command) => {
|
|
61800
62049
|
const { commands } = flattenCommand(command);
|
|
@@ -62020,10 +62269,10 @@ const make$23 = /* @__PURE__ */ gen(function* () {
|
|
|
62020
62269
|
const killWithTimeout = withTimeout(childProcess, cmd, cmd.options);
|
|
62021
62270
|
if (exited) {
|
|
62022
62271
|
const [code] = yield* _await(exitSignal);
|
|
62023
|
-
if (code !== 0 && isNotNull(code)) return yield* ignore(killWithTimeout(killProcessGroup));
|
|
62272
|
+
if (code !== 0 && isNotNull(code)) return yield* ignore$1(killWithTimeout(killProcessGroup));
|
|
62024
62273
|
return yield* void_$1;
|
|
62025
62274
|
}
|
|
62026
|
-
return yield* killWithTimeout((command, childProcess, signal) => catch_$1(killProcessGroup(command, childProcess, signal), () => killProcess(command, childProcess, signal))).pipe(andThen(_await(exitSignal)), ignore);
|
|
62275
|
+
return yield* killWithTimeout((command, childProcess, signal) => catch_$1(killProcessGroup(command, childProcess, signal), () => killProcess(command, childProcess, signal))).pipe(andThen(_await(exitSignal)), ignore$1);
|
|
62027
62276
|
}));
|
|
62028
62277
|
const pid = ProcessId(childProcess.pid);
|
|
62029
62278
|
const stdin = yield* setupChildStdin(cmd, childProcess, stdinConfig);
|
|
@@ -62137,16 +62386,16 @@ const flattenCommand = (command) => {
|
|
|
62137
62386
|
};
|
|
62138
62387
|
|
|
62139
62388
|
//#endregion
|
|
62140
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
62389
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/Cookies.js
|
|
62141
62390
|
/**
|
|
62142
62391
|
* @since 4.0.0
|
|
62143
62392
|
*/
|
|
62144
|
-
const TypeId$
|
|
62393
|
+
const TypeId$18 = "~effect/http/Cookies";
|
|
62145
62394
|
/**
|
|
62146
62395
|
* @since 4.0.0
|
|
62147
62396
|
* @category refinements
|
|
62148
62397
|
*/
|
|
62149
|
-
const isCookies = (u) => hasProperty(u, TypeId$
|
|
62398
|
+
const isCookies = (u) => hasProperty(u, TypeId$18);
|
|
62150
62399
|
/**
|
|
62151
62400
|
* @since 4.0.0
|
|
62152
62401
|
* @category Schemas
|
|
@@ -62220,7 +62469,7 @@ var CookiesError = class CookiesError extends TaggedError("CookieError") {
|
|
|
62220
62469
|
}
|
|
62221
62470
|
};
|
|
62222
62471
|
const Proto$6 = {
|
|
62223
|
-
[TypeId$
|
|
62472
|
+
[TypeId$18]: TypeId$18,
|
|
62224
62473
|
...BaseProto,
|
|
62225
62474
|
toJSON() {
|
|
62226
62475
|
return {
|
|
@@ -62527,7 +62776,7 @@ const tryDecodeURIComponent = (str) => {
|
|
|
62527
62776
|
};
|
|
62528
62777
|
|
|
62529
62778
|
//#endregion
|
|
62530
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
62779
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/Headers.js
|
|
62531
62780
|
/**
|
|
62532
62781
|
* @since 4.0.0
|
|
62533
62782
|
*/
|
|
@@ -62537,21 +62786,24 @@ const tryDecodeURIComponent = (str) => {
|
|
|
62537
62786
|
* @since 4.0.0
|
|
62538
62787
|
* @category type ids
|
|
62539
62788
|
*/
|
|
62540
|
-
const TypeId$
|
|
62541
|
-
const Proto$5 = /* @__PURE__ */ Object.
|
|
62542
|
-
|
|
62543
|
-
[
|
|
62789
|
+
const TypeId$17 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
|
|
62790
|
+
const Proto$5 = /* @__PURE__ */ Object.create(null);
|
|
62791
|
+
Object.defineProperties(Proto$5, {
|
|
62792
|
+
[TypeId$17]: { value: TypeId$17 },
|
|
62793
|
+
[symbolRedactable]: { value(context) {
|
|
62544
62794
|
return redact(this, get$12(context, CurrentRedactedNames));
|
|
62545
|
-
},
|
|
62546
|
-
toJSON() {
|
|
62795
|
+
} },
|
|
62796
|
+
toJSON: { value() {
|
|
62547
62797
|
return redact$1(this);
|
|
62548
|
-
},
|
|
62549
|
-
[symbol$
|
|
62798
|
+
} },
|
|
62799
|
+
[symbol$5]: { value(that) {
|
|
62550
62800
|
return Equivalence$1(this, that);
|
|
62551
|
-
},
|
|
62552
|
-
[symbol$
|
|
62801
|
+
} },
|
|
62802
|
+
[symbol$6]: { value() {
|
|
62553
62803
|
return structure(this);
|
|
62554
|
-
}
|
|
62804
|
+
} },
|
|
62805
|
+
toString: { value: BaseProto.toString },
|
|
62806
|
+
[NodeInspectSymbol]: { value: BaseProto[NodeInspectSymbol] }
|
|
62555
62807
|
});
|
|
62556
62808
|
const make$22 = (input) => Object.assign(Object.create(Proto$5), input);
|
|
62557
62809
|
/**
|
|
@@ -62648,16 +62900,16 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
|
|
|
62648
62900
|
] });
|
|
62649
62901
|
|
|
62650
62902
|
//#endregion
|
|
62651
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
62903
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpClientError.js
|
|
62652
62904
|
/**
|
|
62653
62905
|
* @since 4.0.0
|
|
62654
62906
|
*/
|
|
62655
|
-
const TypeId$
|
|
62907
|
+
const TypeId$16 = "~effect/http/HttpClientError";
|
|
62656
62908
|
/**
|
|
62657
62909
|
* @since 4.0.0
|
|
62658
62910
|
* @category guards
|
|
62659
62911
|
*/
|
|
62660
|
-
const isHttpClientError = (u) => hasProperty(u, TypeId$
|
|
62912
|
+
const isHttpClientError = (u) => hasProperty(u, TypeId$16);
|
|
62661
62913
|
/**
|
|
62662
62914
|
* @since 4.0.0
|
|
62663
62915
|
* @category error
|
|
@@ -62673,7 +62925,7 @@ var HttpClientError = class extends TaggedError("HttpClientError") {
|
|
|
62673
62925
|
/**
|
|
62674
62926
|
* @since 4.0.0
|
|
62675
62927
|
*/
|
|
62676
|
-
[TypeId$
|
|
62928
|
+
[TypeId$16] = TypeId$16;
|
|
62677
62929
|
/**
|
|
62678
62930
|
* @since 4.0.0
|
|
62679
62931
|
*/
|
|
@@ -62787,19 +63039,19 @@ var EmptyBodyError = class extends TaggedError("EmptyBodyError") {
|
|
|
62787
63039
|
};
|
|
62788
63040
|
|
|
62789
63041
|
//#endregion
|
|
62790
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63042
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/UrlParams.js
|
|
62791
63043
|
/**
|
|
62792
63044
|
* @since 4.0.0
|
|
62793
63045
|
*/
|
|
62794
|
-
const TypeId$
|
|
63046
|
+
const TypeId$15 = "~effect/http/UrlParams";
|
|
62795
63047
|
/**
|
|
62796
63048
|
* @since 4.0.0
|
|
62797
63049
|
* @category Guards
|
|
62798
63050
|
*/
|
|
62799
|
-
const isUrlParams = (u) => hasProperty(u, TypeId$
|
|
63051
|
+
const isUrlParams = (u) => hasProperty(u, TypeId$15);
|
|
62800
63052
|
const Proto$4 = {
|
|
62801
63053
|
...PipeInspectableProto,
|
|
62802
|
-
[TypeId$
|
|
63054
|
+
[TypeId$15]: TypeId$15,
|
|
62803
63055
|
[Symbol.iterator]() {
|
|
62804
63056
|
return this.params[Symbol.iterator]();
|
|
62805
63057
|
},
|
|
@@ -62809,10 +63061,10 @@ const Proto$4 = {
|
|
|
62809
63061
|
params: Object.fromEntries(this.params)
|
|
62810
63062
|
};
|
|
62811
63063
|
},
|
|
62812
|
-
[symbol$
|
|
63064
|
+
[symbol$5](that) {
|
|
62813
63065
|
return Equivalence(this, that);
|
|
62814
63066
|
},
|
|
62815
|
-
[symbol$
|
|
63067
|
+
[symbol$6]() {
|
|
62816
63068
|
return array(this.params.flat());
|
|
62817
63069
|
}
|
|
62818
63070
|
};
|
|
@@ -63000,11 +63252,11 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
|
|
|
63000
63252
|
})));
|
|
63001
63253
|
|
|
63002
63254
|
//#endregion
|
|
63003
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63255
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpBody.js
|
|
63004
63256
|
/**
|
|
63005
63257
|
* @since 4.0.0
|
|
63006
63258
|
*/
|
|
63007
|
-
const TypeId$
|
|
63259
|
+
const TypeId$14 = "~effect/http/HttpBody";
|
|
63008
63260
|
const HttpBodyErrorTypeId = "~effect/http/HttpBody/HttpBodyError";
|
|
63009
63261
|
/**
|
|
63010
63262
|
* @since 4.0.0
|
|
@@ -63017,9 +63269,9 @@ var HttpBodyError = class extends TaggedError("HttpBodyError") {
|
|
|
63017
63269
|
[HttpBodyErrorTypeId] = HttpBodyErrorTypeId;
|
|
63018
63270
|
};
|
|
63019
63271
|
var Proto$3 = class {
|
|
63020
|
-
[TypeId$
|
|
63272
|
+
[TypeId$14];
|
|
63021
63273
|
constructor() {
|
|
63022
|
-
this[TypeId$
|
|
63274
|
+
this[TypeId$14] = TypeId$14;
|
|
63023
63275
|
}
|
|
63024
63276
|
[NodeInspectSymbol]() {
|
|
63025
63277
|
return this.toJSON();
|
|
@@ -63148,10 +63400,10 @@ var Stream = class extends Proto$3 {
|
|
|
63148
63400
|
const stream$3 = (body, contentType, contentLength) => new Stream(body, contentType ?? "application/octet-stream", contentLength);
|
|
63149
63401
|
|
|
63150
63402
|
//#endregion
|
|
63151
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63152
|
-
const TypeId$
|
|
63403
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpClientRequest.js
|
|
63404
|
+
const TypeId$13 = "~effect/http/HttpClientRequest";
|
|
63153
63405
|
const Proto$2 = {
|
|
63154
|
-
[TypeId$
|
|
63406
|
+
[TypeId$13]: TypeId$13,
|
|
63155
63407
|
...BaseProto,
|
|
63156
63408
|
toJSON() {
|
|
63157
63409
|
return {
|
|
@@ -63294,7 +63546,7 @@ const setBody = /* @__PURE__ */ dual(2, (self, body) => {
|
|
|
63294
63546
|
const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput(input))));
|
|
63295
63547
|
|
|
63296
63548
|
//#endregion
|
|
63297
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63549
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
|
|
63298
63550
|
/**
|
|
63299
63551
|
* @since 4.0.0
|
|
63300
63552
|
*/
|
|
@@ -63302,7 +63554,7 @@ const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, url
|
|
|
63302
63554
|
* @since 4.0.0
|
|
63303
63555
|
* @category Type IDs
|
|
63304
63556
|
*/
|
|
63305
|
-
const TypeId$
|
|
63557
|
+
const TypeId$12 = "~effect/http/HttpIncomingMessage";
|
|
63306
63558
|
/**
|
|
63307
63559
|
* @since 4.0.0
|
|
63308
63560
|
* @category schema
|
|
@@ -63346,7 +63598,7 @@ const inspect = (self, that) => {
|
|
|
63346
63598
|
};
|
|
63347
63599
|
|
|
63348
63600
|
//#endregion
|
|
63349
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63601
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpClientResponse.js
|
|
63350
63602
|
/**
|
|
63351
63603
|
* @since 4.0.0
|
|
63352
63604
|
*/
|
|
@@ -63354,7 +63606,7 @@ const inspect = (self, that) => {
|
|
|
63354
63606
|
* @since 4.0.0
|
|
63355
63607
|
* @category Type IDs
|
|
63356
63608
|
*/
|
|
63357
|
-
const TypeId$
|
|
63609
|
+
const TypeId$11 = "~effect/http/HttpClientResponse";
|
|
63358
63610
|
/**
|
|
63359
63611
|
* @since 4.0.0
|
|
63360
63612
|
* @category constructors
|
|
@@ -63370,16 +63622,16 @@ const filterStatusOk$1 = (self) => self.status >= 200 && self.status < 300 ? suc
|
|
|
63370
63622
|
description: "non 2xx status code"
|
|
63371
63623
|
}) }));
|
|
63372
63624
|
var WebHttpClientResponse = class extends Class$3 {
|
|
63373
|
-
[TypeId$13];
|
|
63374
63625
|
[TypeId$12];
|
|
63626
|
+
[TypeId$11];
|
|
63375
63627
|
request;
|
|
63376
63628
|
source;
|
|
63377
63629
|
constructor(request, source) {
|
|
63378
63630
|
super();
|
|
63379
63631
|
this.request = request;
|
|
63380
63632
|
this.source = source;
|
|
63381
|
-
this[TypeId$13] = TypeId$13;
|
|
63382
63633
|
this[TypeId$12] = TypeId$12;
|
|
63634
|
+
this[TypeId$11] = TypeId$11;
|
|
63383
63635
|
}
|
|
63384
63636
|
toJSON() {
|
|
63385
63637
|
return inspect(this, {
|
|
@@ -63470,7 +63722,7 @@ var WebHttpClientResponse = class extends Class$3 {
|
|
|
63470
63722
|
};
|
|
63471
63723
|
|
|
63472
63724
|
//#endregion
|
|
63473
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63725
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpMethod.js
|
|
63474
63726
|
/**
|
|
63475
63727
|
* @since 4.0.0
|
|
63476
63728
|
*/
|
|
@@ -63486,7 +63738,7 @@ const allShort = [
|
|
|
63486
63738
|
];
|
|
63487
63739
|
|
|
63488
63740
|
//#endregion
|
|
63489
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63741
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpTraceContext.js
|
|
63490
63742
|
/**
|
|
63491
63743
|
* @since 4.0.0
|
|
63492
63744
|
*/
|
|
@@ -63555,8 +63807,8 @@ const w3c = (headers) => {
|
|
|
63555
63807
|
};
|
|
63556
63808
|
|
|
63557
63809
|
//#endregion
|
|
63558
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
63559
|
-
const TypeId$
|
|
63810
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpClient.js
|
|
63811
|
+
const TypeId$10 = "~effect/http/HttpClient";
|
|
63560
63812
|
/**
|
|
63561
63813
|
* @since 4.0.0
|
|
63562
63814
|
* @category tags
|
|
@@ -63588,7 +63840,7 @@ const makeWith = (postprocess, preprocess) => {
|
|
|
63588
63840
|
return self;
|
|
63589
63841
|
};
|
|
63590
63842
|
const Proto$1 = {
|
|
63591
|
-
[TypeId$
|
|
63843
|
+
[TypeId$10]: TypeId$10,
|
|
63592
63844
|
pipe() {
|
|
63593
63845
|
return pipeArguments(this, arguments);
|
|
63594
63846
|
},
|
|
@@ -63744,8 +63996,8 @@ var InterruptibleResponse = class {
|
|
|
63744
63996
|
this.original = original;
|
|
63745
63997
|
this.controller = controller;
|
|
63746
63998
|
}
|
|
63999
|
+
[TypeId$11] = TypeId$11;
|
|
63747
64000
|
[TypeId$12] = TypeId$12;
|
|
63748
|
-
[TypeId$13] = TypeId$13;
|
|
63749
64001
|
applyInterrupt(effect) {
|
|
63750
64002
|
return suspend$3(() => {
|
|
63751
64003
|
responseRegistry.unregister(this.original);
|
|
@@ -64398,7 +64650,7 @@ const httpMethods = [
|
|
|
64398
64650
|
const make$17 = make$18;
|
|
64399
64651
|
|
|
64400
64652
|
//#endregion
|
|
64401
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
64653
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/Template.js
|
|
64402
64654
|
/**
|
|
64403
64655
|
* @since 4.0.0
|
|
64404
64656
|
*/
|
|
@@ -64448,15 +64700,15 @@ function isSuccess$1(u) {
|
|
|
64448
64700
|
}
|
|
64449
64701
|
|
|
64450
64702
|
//#endregion
|
|
64451
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
64703
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpServerResponse.js
|
|
64452
64704
|
/**
|
|
64453
64705
|
* @since 4.0.0
|
|
64454
64706
|
*/
|
|
64455
|
-
const TypeId$
|
|
64707
|
+
const TypeId$9 = "~effect/http/HttpServerResponse";
|
|
64456
64708
|
/**
|
|
64457
64709
|
* @since 4.0.0
|
|
64458
64710
|
*/
|
|
64459
|
-
const isHttpServerResponse = (u) => hasProperty(u, TypeId$
|
|
64711
|
+
const isHttpServerResponse = (u) => hasProperty(u, TypeId$9);
|
|
64460
64712
|
/**
|
|
64461
64713
|
* @since 4.0.0
|
|
64462
64714
|
* @category constructors
|
|
@@ -64523,7 +64775,8 @@ const stream$2 = (body, options) => {
|
|
|
64523
64775
|
};
|
|
64524
64776
|
const Proto = {
|
|
64525
64777
|
...PipeInspectableProto,
|
|
64526
|
-
[TypeId$
|
|
64778
|
+
[TypeId$9]: TypeId$9,
|
|
64779
|
+
[ignore]: true,
|
|
64527
64780
|
toJSON() {
|
|
64528
64781
|
return {
|
|
64529
64782
|
_id: "HttpServerResponse",
|
|
@@ -64551,7 +64804,7 @@ const makeResponse = (options) => {
|
|
|
64551
64804
|
};
|
|
64552
64805
|
|
|
64553
64806
|
//#endregion
|
|
64554
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
64807
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
|
|
64555
64808
|
/**
|
|
64556
64809
|
* @since 4.0.0
|
|
64557
64810
|
*/
|
|
@@ -64559,12 +64812,12 @@ const makeResponse = (options) => {
|
|
|
64559
64812
|
* @since 4.0.0
|
|
64560
64813
|
* @category Type IDs
|
|
64561
64814
|
*/
|
|
64562
|
-
const
|
|
64815
|
+
const symbol = "~effect/http/HttpServerRespondable";
|
|
64563
64816
|
/**
|
|
64564
64817
|
* @since 4.0.0
|
|
64565
64818
|
* @category guards
|
|
64566
64819
|
*/
|
|
64567
|
-
const isRespondable = (u) => hasProperty(u,
|
|
64820
|
+
const isRespondable = (u) => hasProperty(u, symbol);
|
|
64568
64821
|
const badRequest = /* @__PURE__ */ empty({ status: 400 });
|
|
64569
64822
|
const notFound = /* @__PURE__ */ empty({ status: 404 });
|
|
64570
64823
|
/**
|
|
@@ -64573,7 +64826,7 @@ const notFound = /* @__PURE__ */ empty({ status: 404 });
|
|
|
64573
64826
|
*/
|
|
64574
64827
|
const toResponseOrElse = (u, orElse) => {
|
|
64575
64828
|
if (isHttpServerResponse(u)) return succeed$1(u);
|
|
64576
|
-
else if (isRespondable(u)) return catchCause$1(u[
|
|
64829
|
+
else if (isRespondable(u)) return catchCause$1(u[symbol](), () => succeed$1(orElse));
|
|
64577
64830
|
else if (isSchemaError(u)) return succeed$1(badRequest);
|
|
64578
64831
|
else if (isNoSuchElementError(u)) return succeed$1(notFound);
|
|
64579
64832
|
return succeed$1(orElse);
|
|
@@ -64584,12 +64837,12 @@ const toResponseOrElse = (u, orElse) => {
|
|
|
64584
64837
|
*/
|
|
64585
64838
|
const toResponseOrElseDefect = (u, orElse) => {
|
|
64586
64839
|
if (isHttpServerResponse(u)) return succeed$1(u);
|
|
64587
|
-
else if (isRespondable(u)) return catchCause$1(u[
|
|
64840
|
+
else if (isRespondable(u)) return catchCause$1(u[symbol](), () => succeed$1(orElse));
|
|
64588
64841
|
return succeed$1(orElse);
|
|
64589
64842
|
};
|
|
64590
64843
|
|
|
64591
64844
|
//#endregion
|
|
64592
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
64845
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpServerError.js
|
|
64593
64846
|
/**
|
|
64594
64847
|
* @since 4.0.0
|
|
64595
64848
|
*/
|
|
@@ -64606,31 +64859,19 @@ var HttpServerError = class extends TaggedError("HttpServerError") {
|
|
|
64606
64859
|
});
|
|
64607
64860
|
else super(props);
|
|
64608
64861
|
}
|
|
64609
|
-
/**
|
|
64610
|
-
* @since 4.0.0
|
|
64611
|
-
*/
|
|
64612
64862
|
[TypeId$8] = TypeId$8;
|
|
64613
|
-
/**
|
|
64614
|
-
* @since 4.0.0
|
|
64615
|
-
*/
|
|
64616
64863
|
stack = `${this.name}: ${this.message}`;
|
|
64617
|
-
/**
|
|
64618
|
-
* @since 4.0.0
|
|
64619
|
-
*/
|
|
64620
64864
|
get request() {
|
|
64621
64865
|
return this.reason.request;
|
|
64622
64866
|
}
|
|
64623
|
-
/**
|
|
64624
|
-
* @since 4.0.0
|
|
64625
|
-
*/
|
|
64626
64867
|
get response() {
|
|
64627
64868
|
return "response" in this.reason ? this.reason.response : void 0;
|
|
64628
64869
|
}
|
|
64629
|
-
|
|
64630
|
-
|
|
64631
|
-
|
|
64632
|
-
[
|
|
64633
|
-
return this.reason[
|
|
64870
|
+
[symbol]() {
|
|
64871
|
+
return this.reason[symbol]();
|
|
64872
|
+
}
|
|
64873
|
+
get [ignore]() {
|
|
64874
|
+
return this.reason[ignore] ?? false;
|
|
64634
64875
|
}
|
|
64635
64876
|
get message() {
|
|
64636
64877
|
return this.reason.message;
|
|
@@ -64644,7 +64885,7 @@ var RequestParseError = class extends TaggedError("RequestParseError") {
|
|
|
64644
64885
|
/**
|
|
64645
64886
|
* @since 4.0.0
|
|
64646
64887
|
*/
|
|
64647
|
-
[
|
|
64888
|
+
[symbol]() {
|
|
64648
64889
|
return succeed$1(empty({ status: 400 }));
|
|
64649
64890
|
}
|
|
64650
64891
|
get methodAndUrl() {
|
|
@@ -64659,12 +64900,10 @@ var RequestParseError = class extends TaggedError("RequestParseError") {
|
|
|
64659
64900
|
* @category error
|
|
64660
64901
|
*/
|
|
64661
64902
|
var RouteNotFound = class extends TaggedError("RouteNotFound") {
|
|
64662
|
-
|
|
64663
|
-
* @since 4.0.0
|
|
64664
|
-
*/
|
|
64665
|
-
[TypeId$9]() {
|
|
64903
|
+
[symbol]() {
|
|
64666
64904
|
return succeed$1(empty({ status: 404 }));
|
|
64667
64905
|
}
|
|
64906
|
+
[ignore] = true;
|
|
64668
64907
|
get methodAndUrl() {
|
|
64669
64908
|
return `${this.request.method} ${this.request.url}`;
|
|
64670
64909
|
}
|
|
@@ -64680,7 +64919,7 @@ var InternalError = class extends TaggedError("InternalError") {
|
|
|
64680
64919
|
/**
|
|
64681
64920
|
* @since 4.0.0
|
|
64682
64921
|
*/
|
|
64683
|
-
[
|
|
64922
|
+
[symbol]() {
|
|
64684
64923
|
return succeed$1(empty({ status: 500 }));
|
|
64685
64924
|
}
|
|
64686
64925
|
get methodAndUrl() {
|
|
@@ -64695,10 +64934,7 @@ var InternalError = class extends TaggedError("InternalError") {
|
|
|
64695
64934
|
* @category error
|
|
64696
64935
|
*/
|
|
64697
64936
|
var ResponseError = class extends TaggedError("ResponseError") {
|
|
64698
|
-
|
|
64699
|
-
* @since 4.0.0
|
|
64700
|
-
*/
|
|
64701
|
-
[TypeId$9]() {
|
|
64937
|
+
[symbol]() {
|
|
64702
64938
|
return succeed$1(empty({ status: 500 }));
|
|
64703
64939
|
}
|
|
64704
64940
|
get methodAndUrl() {
|
|
@@ -64714,6 +64950,17 @@ var ResponseError = class extends TaggedError("ResponseError") {
|
|
|
64714
64950
|
* @category error
|
|
64715
64951
|
*/
|
|
64716
64952
|
var ServeError = class extends TaggedError("ServeError") {};
|
|
64953
|
+
/**
|
|
64954
|
+
* @since 4.0.0
|
|
64955
|
+
* @category Annotations
|
|
64956
|
+
*/
|
|
64957
|
+
var ClientAbort = class extends Service$1()("effect/http/HttpServerError/ClientAbort") {
|
|
64958
|
+
static annotation = /* @__PURE__ */ this.serviceMap(true).pipe(/* @__PURE__ */ add$3(StackTrace, {
|
|
64959
|
+
name: "ClientAbort",
|
|
64960
|
+
stack: constUndefined,
|
|
64961
|
+
parent: void 0
|
|
64962
|
+
}));
|
|
64963
|
+
};
|
|
64717
64964
|
const formatRequestMessage = (reason, description, info) => {
|
|
64718
64965
|
const prefix = `${reason} (${info})`;
|
|
64719
64966
|
return description ? `${prefix}: ${description}` : prefix;
|
|
@@ -64721,40 +64968,36 @@ const formatRequestMessage = (reason, description, info) => {
|
|
|
64721
64968
|
/**
|
|
64722
64969
|
* @since 4.0.0
|
|
64723
64970
|
*/
|
|
64724
|
-
const clientAbortFiberId = -499;
|
|
64725
|
-
/**
|
|
64726
|
-
* @since 4.0.0
|
|
64727
|
-
*/
|
|
64728
64971
|
const causeResponse = (cause) => {
|
|
64729
64972
|
let response;
|
|
64730
64973
|
let effect = succeedInternalServerError;
|
|
64731
64974
|
const failures = [];
|
|
64732
|
-
let
|
|
64975
|
+
let interrupts = [];
|
|
64733
64976
|
let isClientInterrupt = false;
|
|
64734
64977
|
for (let i = 0; i < cause.reasons.length; i++) {
|
|
64735
|
-
const
|
|
64736
|
-
switch (
|
|
64978
|
+
const reason = cause.reasons[i];
|
|
64979
|
+
switch (reason._tag) {
|
|
64737
64980
|
case "Fail":
|
|
64738
|
-
effect = toResponseOrElse(
|
|
64739
|
-
failures.push(
|
|
64981
|
+
effect = toResponseOrElse(reason.error, internalServerError);
|
|
64982
|
+
failures.push(reason);
|
|
64740
64983
|
break;
|
|
64741
64984
|
case "Die":
|
|
64742
|
-
if (isHttpServerResponse(
|
|
64985
|
+
if (isHttpServerResponse(reason.defect)) response = reason.defect;
|
|
64743
64986
|
else {
|
|
64744
|
-
effect = toResponseOrElseDefect(
|
|
64745
|
-
failures.push(
|
|
64987
|
+
effect = toResponseOrElseDefect(reason.defect, internalServerError);
|
|
64988
|
+
failures.push(reason);
|
|
64746
64989
|
}
|
|
64747
64990
|
break;
|
|
64748
64991
|
case "Interrupt":
|
|
64749
|
-
isClientInterrupt =
|
|
64992
|
+
isClientInterrupt = reason.annotations.has(ClientAbort.key);
|
|
64750
64993
|
if (failures.length > 0) break;
|
|
64751
|
-
|
|
64994
|
+
interrupts.push(reason);
|
|
64752
64995
|
break;
|
|
64753
64996
|
}
|
|
64754
64997
|
}
|
|
64755
64998
|
if (response) return succeed$1([response, fromReasons(failures)]);
|
|
64756
|
-
else if (
|
|
64757
|
-
failures.push(
|
|
64999
|
+
else if (interrupts.length > 0 && failures.length === 0) {
|
|
65000
|
+
failures.push(...interrupts);
|
|
64758
65001
|
effect = isClientInterrupt ? clientAbortError : serverAbortError;
|
|
64759
65002
|
}
|
|
64760
65003
|
return mapEager(effect, (response) => {
|
|
@@ -64789,7 +65032,7 @@ const exitResponse = (exit) => {
|
|
|
64789
65032
|
};
|
|
64790
65033
|
|
|
64791
65034
|
//#endregion
|
|
64792
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
65035
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/socket/Socket.js
|
|
64793
65036
|
/**
|
|
64794
65037
|
* @since 4.0.0
|
|
64795
65038
|
* @category Type IDs
|
|
@@ -65925,7 +66168,7 @@ const defaultIsFile = defaultIsFile$1;
|
|
|
65925
66168
|
const decodeField = decodeField$1;
|
|
65926
66169
|
|
|
65927
66170
|
//#endregion
|
|
65928
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66171
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/Multipart.js
|
|
65929
66172
|
/**
|
|
65930
66173
|
* @since 4.0.0
|
|
65931
66174
|
*/
|
|
@@ -66181,7 +66424,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
|
|
|
66181
66424
|
const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
|
|
66182
66425
|
|
|
66183
66426
|
//#endregion
|
|
66184
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66427
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpServerRequest.js
|
|
66185
66428
|
/**
|
|
66186
66429
|
* @since 4.0.0
|
|
66187
66430
|
* @category Type IDs
|
|
@@ -66207,7 +66450,7 @@ const schemaSearchParams = (schema, options) => {
|
|
|
66207
66450
|
};
|
|
66208
66451
|
var ServerRequestImpl$1 = class ServerRequestImpl$1 extends Class$3 {
|
|
66209
66452
|
[TypeId$5];
|
|
66210
|
-
[TypeId$
|
|
66453
|
+
[TypeId$12];
|
|
66211
66454
|
source;
|
|
66212
66455
|
url;
|
|
66213
66456
|
headersOverride;
|
|
@@ -66215,7 +66458,7 @@ var ServerRequestImpl$1 = class ServerRequestImpl$1 extends Class$3 {
|
|
|
66215
66458
|
constructor(source, url, headersOverride, remoteAddressOverride) {
|
|
66216
66459
|
super();
|
|
66217
66460
|
this[TypeId$5] = TypeId$5;
|
|
66218
|
-
this[TypeId$
|
|
66461
|
+
this[TypeId$12] = TypeId$12;
|
|
66219
66462
|
this.source = source;
|
|
66220
66463
|
this.url = url;
|
|
66221
66464
|
this.headersOverride = headersOverride;
|
|
@@ -66334,7 +66577,12 @@ const toURL = (self) => {
|
|
|
66334
66577
|
};
|
|
66335
66578
|
|
|
66336
66579
|
//#endregion
|
|
66337
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66580
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
|
|
66581
|
+
/** @internal */
|
|
66582
|
+
const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
|
|
66583
|
+
|
|
66584
|
+
//#endregion
|
|
66585
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpMiddleware.js
|
|
66338
66586
|
/**
|
|
66339
66587
|
* @since 4.0.0
|
|
66340
66588
|
*/
|
|
@@ -66401,10 +66649,10 @@ const tracer = /* @__PURE__ */ make$11((httpApp) => withFiber((fiber) => {
|
|
|
66401
66649
|
parent: fromHeaders(request.headers),
|
|
66402
66650
|
kind: "server"
|
|
66403
66651
|
});
|
|
66404
|
-
const
|
|
66652
|
+
const prevServices = fiber.services;
|
|
66405
66653
|
fiber.setServices(add$3(fiber.services, ParentSpan, span));
|
|
66406
66654
|
return onExitPrimitive(httpApp, (exit) => {
|
|
66407
|
-
fiber.setServices(
|
|
66655
|
+
fiber.setServices(prevServices);
|
|
66408
66656
|
const endTime = fiber.getRef(Clock).currentTimeNanosUnsafe();
|
|
66409
66657
|
fiber.currentScheduler.scheduleTask(() => {
|
|
66410
66658
|
const url = toURL(request);
|
|
@@ -66434,7 +66682,7 @@ const tracer = /* @__PURE__ */ make$11((httpApp) => withFiber((fiber) => {
|
|
|
66434
66682
|
}));
|
|
66435
66683
|
|
|
66436
66684
|
//#endregion
|
|
66437
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66685
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpEffect.js
|
|
66438
66686
|
/**
|
|
66439
66687
|
* @since 4.0.0
|
|
66440
66688
|
* @category combinators
|
|
@@ -66442,8 +66690,9 @@ const tracer = /* @__PURE__ */ make$11((httpApp) => withFiber((fiber) => {
|
|
|
66442
66690
|
const toHandled = (self, handleResponse, middleware) => {
|
|
66443
66691
|
const handleCause = (cause) => flatMapEager(causeResponse(cause), ([response, cause]) => {
|
|
66444
66692
|
const fiber = getCurrent();
|
|
66693
|
+
reportCauseUnsafe(fiber, cause);
|
|
66445
66694
|
const request = getUnsafe$5(fiber.services, HttpServerRequest);
|
|
66446
|
-
const handler =
|
|
66695
|
+
const handler = requestPreResponseHandlers.get(request);
|
|
66447
66696
|
const cont = cause.reasons.length === 0 ? succeed$1(response) : failCause$2(cause);
|
|
66448
66697
|
if (handler === void 0) {
|
|
66449
66698
|
request[handledSymbol] = true;
|
|
@@ -66458,7 +66707,7 @@ const toHandled = (self, handleResponse, middleware) => {
|
|
|
66458
66707
|
onSuccess: (response) => {
|
|
66459
66708
|
const fiber = getCurrent();
|
|
66460
66709
|
const request = getUnsafe$5(fiber.services, HttpServerRequest);
|
|
66461
|
-
const handler =
|
|
66710
|
+
const handler = requestPreResponseHandlers.get(request);
|
|
66462
66711
|
if (handler === void 0) {
|
|
66463
66712
|
request[handledSymbol] = true;
|
|
66464
66713
|
return mapEager(handleResponse(request, response), () => response);
|
|
@@ -66473,11 +66722,16 @@ const toHandled = (self, handleResponse, middleware) => {
|
|
|
66473
66722
|
const withMiddleware = middleware === void 0 ? tracer(responded) : matchCauseEffect(tracer(middleware(responded)), {
|
|
66474
66723
|
onFailure(cause) {
|
|
66475
66724
|
const fiber = getCurrent();
|
|
66725
|
+
reportCauseUnsafe(fiber, cause);
|
|
66476
66726
|
const request = getUnsafe$5(fiber.services, HttpServerRequest);
|
|
66477
66727
|
if (handledSymbol in request) return void_$1;
|
|
66478
66728
|
return matchCauseEffectEager(causeResponse(cause), {
|
|
66479
|
-
onFailure
|
|
66480
|
-
|
|
66729
|
+
onFailure(_) {
|
|
66730
|
+
return handleResponse(request, empty({ status: 500 }));
|
|
66731
|
+
},
|
|
66732
|
+
onSuccess([response]) {
|
|
66733
|
+
return handleResponse(request, response);
|
|
66734
|
+
}
|
|
66481
66735
|
});
|
|
66482
66736
|
},
|
|
66483
66737
|
onSuccess(response) {
|
|
@@ -66492,22 +66746,17 @@ const handledSymbol = /* @__PURE__ */ Symbol.for("effect/http/HttpEffect/handled
|
|
|
66492
66746
|
const scopeEjected = /* @__PURE__ */ Symbol.for("effect/http/HttpEffect/scopeEjected");
|
|
66493
66747
|
const scoped = (effect) => withFiber((fiber) => {
|
|
66494
66748
|
const scope = makeUnsafe$12();
|
|
66495
|
-
const
|
|
66749
|
+
const prevServices = fiber.services;
|
|
66496
66750
|
fiber.setServices(add$3(fiber.services, Scope, scope));
|
|
66497
66751
|
return onExitPrimitive(effect, (exit) => {
|
|
66498
|
-
fiber.setServices(
|
|
66752
|
+
fiber.setServices(prevServices);
|
|
66499
66753
|
if (scopeEjected in scope) return void 0;
|
|
66500
66754
|
return closeUnsafe(scope, exit);
|
|
66501
66755
|
}, true);
|
|
66502
66756
|
});
|
|
66503
|
-
/**
|
|
66504
|
-
* @since 4.0.0
|
|
66505
|
-
* @category Pre-response handlers
|
|
66506
|
-
*/
|
|
66507
|
-
const PreResponseHandlers = /* @__PURE__ */ Reference("effect/http/HttpEffect/PreResponseHandlers", { defaultValue: () => void 0 });
|
|
66508
66757
|
|
|
66509
66758
|
//#endregion
|
|
66510
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66759
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/Etag.js
|
|
66511
66760
|
/**
|
|
66512
66761
|
* @since 4.0.0
|
|
66513
66762
|
*/
|
|
@@ -66571,7 +66820,7 @@ const layerWeak = /* @__PURE__ */ succeed$2(Generator)({
|
|
|
66571
66820
|
});
|
|
66572
66821
|
|
|
66573
66822
|
//#endregion
|
|
66574
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66823
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpPlatform.js
|
|
66575
66824
|
/**
|
|
66576
66825
|
* @since 4.0.0
|
|
66577
66826
|
*/
|
|
@@ -66638,7 +66887,7 @@ const layer$14 = /* @__PURE__ */ effect$1(HttpPlatform)(flatMap$2(FileSystem.asE
|
|
|
66638
66887
|
}))).pipe(/* @__PURE__ */ provide$3(layerWeak));
|
|
66639
66888
|
|
|
66640
66889
|
//#endregion
|
|
66641
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66890
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpServer.js
|
|
66642
66891
|
/**
|
|
66643
66892
|
* @since 4.0.0
|
|
66644
66893
|
*/
|
|
@@ -66701,7 +66950,7 @@ const makeTestClient = /* @__PURE__ */ gen(function* () {
|
|
|
66701
66950
|
const layerTestClient = /* @__PURE__ */ effect$1(HttpClient)(makeTestClient);
|
|
66702
66951
|
|
|
66703
66952
|
//#endregion
|
|
66704
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
66953
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/HttpRouter.js
|
|
66705
66954
|
/**
|
|
66706
66955
|
* @since 4.0.0
|
|
66707
66956
|
*/
|
|
@@ -70568,7 +70817,7 @@ var import_websocket = /* @__PURE__ */ __toESM(require_websocket(), 1);
|
|
|
70568
70817
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
70569
70818
|
|
|
70570
70819
|
//#endregion
|
|
70571
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
70820
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
|
|
70572
70821
|
/**
|
|
70573
70822
|
* @since 1.0.0
|
|
70574
70823
|
*/
|
|
@@ -70918,7 +71167,7 @@ const makeFileSystem = /* @__PURE__ */ map$8(/* @__PURE__ */ serviceOption(Watch
|
|
|
70918
71167
|
const layer$12 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
|
|
70919
71168
|
|
|
70920
71169
|
//#endregion
|
|
70921
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71170
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeFileSystem.js
|
|
70922
71171
|
/**
|
|
70923
71172
|
* @since 1.0.0
|
|
70924
71173
|
*/
|
|
@@ -70929,7 +71178,7 @@ const layer$12 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
|
|
|
70929
71178
|
const layer$11 = layer$12;
|
|
70930
71179
|
|
|
70931
71180
|
//#endregion
|
|
70932
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71181
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
70933
71182
|
/**
|
|
70934
71183
|
* @since 1.0.0
|
|
70935
71184
|
*/
|
|
@@ -70941,13 +71190,13 @@ var NodeHttpIncomingMessage = class extends Class$3 {
|
|
|
70941
71190
|
/**
|
|
70942
71191
|
* @since 1.0.0
|
|
70943
71192
|
*/
|
|
70944
|
-
[TypeId$
|
|
71193
|
+
[TypeId$12];
|
|
70945
71194
|
source;
|
|
70946
71195
|
onError;
|
|
70947
71196
|
remoteAddressOverride;
|
|
70948
71197
|
constructor(source, onError, remoteAddressOverride) {
|
|
70949
71198
|
super();
|
|
70950
|
-
this[TypeId$
|
|
71199
|
+
this[TypeId$12] = TypeId$12;
|
|
70951
71200
|
this.source = source;
|
|
70952
71201
|
this.onError = onError;
|
|
70953
71202
|
this.remoteAddressOverride = remoteAddressOverride;
|
|
@@ -71000,7 +71249,7 @@ var NodeHttpIncomingMessage = class extends Class$3 {
|
|
|
71000
71249
|
};
|
|
71001
71250
|
|
|
71002
71251
|
//#endregion
|
|
71003
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
71252
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/http/FetchHttpClient.js
|
|
71004
71253
|
/**
|
|
71005
71254
|
* @since 4.0.0
|
|
71006
71255
|
*/
|
|
@@ -71047,7 +71296,7 @@ const fetch$1 = /* @__PURE__ */ make$19((request, url, signal, fiber) => {
|
|
|
71047
71296
|
const layer$10 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$1(fetch$1));
|
|
71048
71297
|
|
|
71049
71298
|
//#endregion
|
|
71050
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71299
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
|
|
71051
71300
|
/**
|
|
71052
71301
|
* @since 1.0.0
|
|
71053
71302
|
*/
|
|
@@ -71171,7 +71420,7 @@ var FileStream = class extends Readable {
|
|
|
71171
71420
|
};
|
|
71172
71421
|
|
|
71173
71422
|
//#endregion
|
|
71174
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71423
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeMultipart.js
|
|
71175
71424
|
/**
|
|
71176
71425
|
* @since 1.0.0
|
|
71177
71426
|
*/
|
|
@@ -71267,7 +71516,7 @@ function convertError(cause) {
|
|
|
71267
71516
|
}
|
|
71268
71517
|
|
|
71269
71518
|
//#endregion
|
|
71270
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
71519
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodePath.js
|
|
71271
71520
|
/**
|
|
71272
71521
|
* @since 1.0.0
|
|
71273
71522
|
*/
|
|
@@ -71292,7 +71541,7 @@ const toFileUrl = (path) => try_({
|
|
|
71292
71541
|
* @category Layers
|
|
71293
71542
|
*/
|
|
71294
71543
|
const layerPosix$1 = /* @__PURE__ */ succeed$2(Path$1)({
|
|
71295
|
-
[TypeId$
|
|
71544
|
+
[TypeId$38]: TypeId$38,
|
|
71296
71545
|
...Path.posix,
|
|
71297
71546
|
fromFileUrl,
|
|
71298
71547
|
toFileUrl
|
|
@@ -71302,7 +71551,7 @@ const layerPosix$1 = /* @__PURE__ */ succeed$2(Path$1)({
|
|
|
71302
71551
|
* @category Layers
|
|
71303
71552
|
*/
|
|
71304
71553
|
const layerWin32$1 = /* @__PURE__ */ succeed$2(Path$1)({
|
|
71305
|
-
[TypeId$
|
|
71554
|
+
[TypeId$38]: TypeId$38,
|
|
71306
71555
|
...Path.win32,
|
|
71307
71556
|
fromFileUrl,
|
|
71308
71557
|
toFileUrl
|
|
@@ -71312,14 +71561,14 @@ const layerWin32$1 = /* @__PURE__ */ succeed$2(Path$1)({
|
|
|
71312
71561
|
* @category Layers
|
|
71313
71562
|
*/
|
|
71314
71563
|
const layer$8 = /* @__PURE__ */ succeed$2(Path$1)({
|
|
71315
|
-
[TypeId$
|
|
71564
|
+
[TypeId$38]: TypeId$38,
|
|
71316
71565
|
...Path,
|
|
71317
71566
|
fromFileUrl,
|
|
71318
71567
|
toFileUrl
|
|
71319
71568
|
});
|
|
71320
71569
|
|
|
71321
71570
|
//#endregion
|
|
71322
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71571
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodePath.js
|
|
71323
71572
|
/**
|
|
71324
71573
|
* @since 1.0.0
|
|
71325
71574
|
*/
|
|
@@ -71340,7 +71589,7 @@ const layerPosix = layerPosix$1;
|
|
|
71340
71589
|
const layerWin32 = layerWin32$1;
|
|
71341
71590
|
|
|
71342
71591
|
//#endregion
|
|
71343
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
71592
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
|
|
71344
71593
|
/**
|
|
71345
71594
|
* @since 1.0.0
|
|
71346
71595
|
*/
|
|
@@ -71380,7 +71629,7 @@ const layer$6 = /* @__PURE__ */ succeed$2(Stdio, /* @__PURE__ */ make$25({
|
|
|
71380
71629
|
}));
|
|
71381
71630
|
|
|
71382
71631
|
//#endregion
|
|
71383
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71632
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeStdio.js
|
|
71384
71633
|
/**
|
|
71385
71634
|
* @since 1.0.0
|
|
71386
71635
|
*/
|
|
@@ -71391,7 +71640,7 @@ const layer$6 = /* @__PURE__ */ succeed$2(Stdio, /* @__PURE__ */ make$25({
|
|
|
71391
71640
|
const layer$5 = layer$6;
|
|
71392
71641
|
|
|
71393
71642
|
//#endregion
|
|
71394
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
71643
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
|
|
71395
71644
|
/**
|
|
71396
71645
|
* @since 1.0.0
|
|
71397
71646
|
* @category constructors
|
|
@@ -71462,7 +71711,7 @@ function defaultShouldQuit(input) {
|
|
|
71462
71711
|
}
|
|
71463
71712
|
|
|
71464
71713
|
//#endregion
|
|
71465
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71714
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeTerminal.js
|
|
71466
71715
|
/**
|
|
71467
71716
|
* @since 1.0.0
|
|
71468
71717
|
*/
|
|
@@ -71478,7 +71727,7 @@ const make$4 = make$5;
|
|
|
71478
71727
|
const layer$3 = layer$4;
|
|
71479
71728
|
|
|
71480
71729
|
//#endregion
|
|
71481
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71730
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeServices.js
|
|
71482
71731
|
/**
|
|
71483
71732
|
* @since 1.0.0
|
|
71484
71733
|
* @category layer
|
|
@@ -71486,7 +71735,7 @@ const layer$3 = layer$4;
|
|
|
71486
71735
|
const layer$2 = /* @__PURE__ */ provideMerge(layer$16, /* @__PURE__ */ mergeAll(layer$11, layer$7, layer$5, layer$3));
|
|
71487
71736
|
|
|
71488
71737
|
//#endregion
|
|
71489
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
71738
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeHttpServer.js
|
|
71490
71739
|
/**
|
|
71491
71740
|
* @since 1.0.0
|
|
71492
71741
|
*/
|
|
@@ -71552,15 +71801,16 @@ const make$3 = /* @__PURE__ */ fnUntraced(function* (evaluate, options) {
|
|
|
71552
71801
|
*/
|
|
71553
71802
|
const makeHandler = (httpEffect, options) => {
|
|
71554
71803
|
const handled = toHandled(httpEffect, handleResponse, options.middleware);
|
|
71555
|
-
return
|
|
71556
|
-
|
|
71804
|
+
return withFiber((parent) => {
|
|
71805
|
+
const services = parent.services;
|
|
71806
|
+
return succeed$1(function handler(nodeRequest, nodeResponse) {
|
|
71557
71807
|
const map = new Map(services.mapUnsafe);
|
|
71558
71808
|
map.set(HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse));
|
|
71559
71809
|
const fiber = runIn(runForkWith(makeUnsafe$14(map))(handled), options.scope);
|
|
71560
71810
|
nodeResponse.on("close", () => {
|
|
71561
|
-
if (!nodeResponse.writableEnded) fiber.interruptUnsafe(
|
|
71811
|
+
if (!nodeResponse.writableEnded) fiber.interruptUnsafe(parent.id, ClientAbort.annotation);
|
|
71562
71812
|
});
|
|
71563
|
-
};
|
|
71813
|
+
});
|
|
71564
71814
|
});
|
|
71565
71815
|
};
|
|
71566
71816
|
/**
|
|
@@ -71569,26 +71819,29 @@ const makeHandler = (httpEffect, options) => {
|
|
|
71569
71819
|
*/
|
|
71570
71820
|
const makeUpgradeHandler = (lazyWss, httpEffect, options) => {
|
|
71571
71821
|
const handledApp = toHandled(httpEffect, handleResponse, options.middleware);
|
|
71572
|
-
return
|
|
71573
|
-
|
|
71574
|
-
|
|
71575
|
-
|
|
71576
|
-
|
|
71577
|
-
nodeResponse_
|
|
71578
|
-
|
|
71579
|
-
|
|
71580
|
-
|
|
71581
|
-
|
|
71582
|
-
|
|
71583
|
-
|
|
71584
|
-
|
|
71585
|
-
|
|
71586
|
-
|
|
71587
|
-
|
|
71588
|
-
|
|
71589
|
-
|
|
71590
|
-
|
|
71591
|
-
|
|
71822
|
+
return withFiber((parent) => {
|
|
71823
|
+
const services = parent.services;
|
|
71824
|
+
return succeed$1(function handler(nodeRequest, socket, head) {
|
|
71825
|
+
let nodeResponse_ = void 0;
|
|
71826
|
+
const nodeResponse = () => {
|
|
71827
|
+
if (nodeResponse_ === void 0) {
|
|
71828
|
+
nodeResponse_ = new Http.ServerResponse(nodeRequest);
|
|
71829
|
+
nodeResponse_.assignSocket(socket);
|
|
71830
|
+
nodeResponse_.on("finish", () => {
|
|
71831
|
+
socket.end();
|
|
71832
|
+
});
|
|
71833
|
+
}
|
|
71834
|
+
return nodeResponse_;
|
|
71835
|
+
};
|
|
71836
|
+
const upgradeEffect = fromWebSocket(flatMap$2(lazyWss, (wss) => acquireRelease(callback$1((resume) => wss.handleUpgrade(nodeRequest, socket, head, (ws) => {
|
|
71837
|
+
resume(succeed$1(ws));
|
|
71838
|
+
})), (ws) => sync(() => ws.close()))));
|
|
71839
|
+
const map = new Map(services.mapUnsafe);
|
|
71840
|
+
map.set(HttpServerRequest.key, new ServerRequestImpl(nodeRequest, nodeResponse, upgradeEffect));
|
|
71841
|
+
const fiber = runIn(runForkWith(makeUnsafe$14(map))(handledApp), options.scope);
|
|
71842
|
+
socket.on("close", () => {
|
|
71843
|
+
if (!socket.writableEnded) fiber.interruptUnsafe(parent.id, ClientAbort.annotation);
|
|
71844
|
+
});
|
|
71592
71845
|
});
|
|
71593
71846
|
});
|
|
71594
71847
|
};
|
|
@@ -71773,7 +72026,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
|
|
|
71773
72026
|
});
|
|
71774
72027
|
|
|
71775
72028
|
//#endregion
|
|
71776
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.
|
|
72029
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.12_effect@4.0.0-beta.12/node_modules/@effect/platform-node-shared/dist/NodeRuntime.js
|
|
71777
72030
|
/**
|
|
71778
72031
|
* @since 1.0.0
|
|
71779
72032
|
* @category Run main
|
|
@@ -71800,7 +72053,7 @@ const runMain$1 = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
|
|
|
71800
72053
|
});
|
|
71801
72054
|
|
|
71802
72055
|
//#endregion
|
|
71803
|
-
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.
|
|
72056
|
+
//#region node_modules/.pnpm/@effect+platform-node@4.0.0-beta.12_effect@4.0.0-beta.12_ioredis@5.9.2/node_modules/@effect/platform-node/dist/NodeRuntime.js
|
|
71804
72057
|
/**
|
|
71805
72058
|
* @since 1.0.0
|
|
71806
72059
|
*/
|
|
@@ -71834,7 +72087,7 @@ const runMain$1 = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
|
|
|
71834
72087
|
const runMain = runMain$1;
|
|
71835
72088
|
|
|
71836
72089
|
//#endregion
|
|
71837
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
72090
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/persistence/PersistedCache.js
|
|
71838
72091
|
/**
|
|
71839
72092
|
* @since 4.0.0
|
|
71840
72093
|
*/
|
|
@@ -72195,7 +72448,7 @@ const CliAgentFromId = Literals(allCliAgents.map((agent) => agent.id)).pipe(deco
|
|
|
72195
72448
|
})));
|
|
72196
72449
|
|
|
72197
72450
|
//#endregion
|
|
72198
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
72451
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/reactivity/AsyncResult.js
|
|
72199
72452
|
/**
|
|
72200
72453
|
* @since 4.0.0
|
|
72201
72454
|
*/
|
|
@@ -72212,7 +72465,7 @@ const ResultProto = {
|
|
|
72212
72465
|
pipe() {
|
|
72213
72466
|
return pipeArguments(this, arguments);
|
|
72214
72467
|
},
|
|
72215
|
-
[symbol$
|
|
72468
|
+
[symbol$5](that) {
|
|
72216
72469
|
if (this._tag !== that._tag || this.waiting !== that.waiting) return false;
|
|
72217
72470
|
switch (this._tag) {
|
|
72218
72471
|
case "Initial": return true;
|
|
@@ -72220,7 +72473,7 @@ const ResultProto = {
|
|
|
72220
72473
|
case "Failure": return equals$2(this.cause, that.cause);
|
|
72221
72474
|
}
|
|
72222
72475
|
},
|
|
72223
|
-
[symbol$
|
|
72476
|
+
[symbol$6]() {
|
|
72224
72477
|
const tagHash = string$4(`${this._tag}:${this.waiting}`);
|
|
72225
72478
|
if (this._tag === "Initial") return tagHash;
|
|
72226
72479
|
return combine$2(tagHash)(this._tag === "Success" ? hash(this.value) : hash(this.cause));
|
|
@@ -72358,7 +72611,7 @@ const toExit = (self) => {
|
|
|
72358
72611
|
};
|
|
72359
72612
|
|
|
72360
72613
|
//#endregion
|
|
72361
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
72614
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
|
|
72362
72615
|
/**
|
|
72363
72616
|
* @since 4.0.0
|
|
72364
72617
|
*/
|
|
@@ -72450,6 +72703,8 @@ var RegistryImpl = class {
|
|
|
72450
72703
|
defaultIdleTTL;
|
|
72451
72704
|
scheduler;
|
|
72452
72705
|
schedulerAsync;
|
|
72706
|
+
onNodeAdded;
|
|
72707
|
+
onNodeRemoved;
|
|
72453
72708
|
constructor(initialValues, scheduleTask, timeoutResolution, defaultIdleTTL) {
|
|
72454
72709
|
this[TypeId$1] = TypeId$1;
|
|
72455
72710
|
this.scheduler = new MixedScheduler("sync", scheduleTask);
|
|
@@ -72513,6 +72768,7 @@ var RegistryImpl = class {
|
|
|
72513
72768
|
if (node === void 0) {
|
|
72514
72769
|
node = this.createNode(atom);
|
|
72515
72770
|
this.nodes.set(key, node);
|
|
72771
|
+
this.onNodeAdded?.(node);
|
|
72516
72772
|
} else if (this.atomHasTtl(atom)) this.removeNodeTimeout(node);
|
|
72517
72773
|
if (typeof key === "string" && this.preloadedSerializable.has(key)) {
|
|
72518
72774
|
const encoded = this.preloadedSerializable.get(key);
|
|
@@ -72546,6 +72802,7 @@ var RegistryImpl = class {
|
|
|
72546
72802
|
else {
|
|
72547
72803
|
this.nodes.delete(atomKey(node.atom));
|
|
72548
72804
|
node.remove();
|
|
72805
|
+
this.onNodeRemoved?.(node);
|
|
72549
72806
|
}
|
|
72550
72807
|
}
|
|
72551
72808
|
setNodeTimeout(node) {
|
|
@@ -72556,6 +72813,7 @@ var RegistryImpl = class {
|
|
|
72556
72813
|
if (idleTTL <= 0) {
|
|
72557
72814
|
this.nodes.delete(atomKey(node.atom));
|
|
72558
72815
|
node.remove();
|
|
72816
|
+
this.onNodeRemoved?.(node);
|
|
72559
72817
|
return;
|
|
72560
72818
|
}
|
|
72561
72819
|
}
|
|
@@ -72590,6 +72848,7 @@ var RegistryImpl = class {
|
|
|
72590
72848
|
if (!node.canBeRemoved) return;
|
|
72591
72849
|
this.nodeTimeoutBucket.delete(node);
|
|
72592
72850
|
this.nodes.delete(atomKey(node.atom));
|
|
72851
|
+
this.onNodeRemoved?.(node);
|
|
72593
72852
|
this.#currentSweepTTL = node.atom.idleTTL ?? this.defaultIdleTTL;
|
|
72594
72853
|
node.remove();
|
|
72595
72854
|
this.#currentSweepTTL = null;
|
|
@@ -72599,7 +72858,10 @@ var RegistryImpl = class {
|
|
|
72599
72858
|
this.timeoutBuckets.forEach(([, handle]) => clearTimeout(handle));
|
|
72600
72859
|
this.timeoutBuckets.clear();
|
|
72601
72860
|
this.nodeTimeoutBucket.clear();
|
|
72602
|
-
this.nodes.forEach((node) =>
|
|
72861
|
+
this.nodes.forEach((node) => {
|
|
72862
|
+
node.remove();
|
|
72863
|
+
this.onNodeRemoved?.(node);
|
|
72864
|
+
});
|
|
72603
72865
|
this.nodes.clear();
|
|
72604
72866
|
}
|
|
72605
72867
|
dispose() {
|
|
@@ -72634,6 +72896,14 @@ var NodeImpl = class {
|
|
|
72634
72896
|
children = [];
|
|
72635
72897
|
listeners = /* @__PURE__ */ new Set();
|
|
72636
72898
|
skipInvalidation = false;
|
|
72899
|
+
currentState() {
|
|
72900
|
+
switch (this.state) {
|
|
72901
|
+
case NodeState.uninitialized: return "uninitialized";
|
|
72902
|
+
case NodeState.stale: return "stale";
|
|
72903
|
+
case NodeState.valid: return "valid";
|
|
72904
|
+
default: return "removed";
|
|
72905
|
+
}
|
|
72906
|
+
}
|
|
72637
72907
|
get canBeRemoved() {
|
|
72638
72908
|
return !this.atom.keepAlive && this.listeners.size === 0 && this.children.length === 0 && this.state !== 0;
|
|
72639
72909
|
}
|
|
@@ -72946,7 +73216,7 @@ function batchRebuildNode(node) {
|
|
|
72946
73216
|
}
|
|
72947
73217
|
|
|
72948
73218
|
//#endregion
|
|
72949
|
-
//#region node_modules/.pnpm/effect@4.0.0-beta.
|
|
73219
|
+
//#region node_modules/.pnpm/effect@4.0.0-beta.12/node_modules/effect/dist/unstable/reactivity/Atom.js
|
|
72950
73220
|
/**
|
|
72951
73221
|
* @since 4.0.0
|
|
72952
73222
|
*/
|
|
@@ -73469,7 +73739,7 @@ var Settings = class Settings extends Service$1()("lalph/Settings", { make: gen(
|
|
|
73469
73739
|
const s = toSchemaStore(store, setting.schema);
|
|
73470
73740
|
const setCache = set$5(cache, setting, value);
|
|
73471
73741
|
const update = match$7(value, {
|
|
73472
|
-
onNone: () => ignore(s.remove(setting.name)),
|
|
73742
|
+
onNone: () => ignore$1(s.remove(setting.name)),
|
|
73473
73743
|
onSome: (v) => orDie$2(s.set(setting.name, v))
|
|
73474
73744
|
});
|
|
73475
73745
|
return reactivity.mutation([`settings:${setting.name}`], andThen(update, setCache));
|
|
@@ -73491,7 +73761,7 @@ var Settings = class Settings extends Service$1()("lalph/Settings", { make: gen(
|
|
|
73491
73761
|
setting
|
|
73492
73762
|
}, value);
|
|
73493
73763
|
const update = match$7(value, {
|
|
73494
|
-
onNone: () => ignore(s.remove(setting.name)),
|
|
73764
|
+
onNone: () => ignore$1(s.remove(setting.name)),
|
|
73495
73765
|
onSome: (v) => orDie$2(s.set(setting.name, v))
|
|
73496
73766
|
});
|
|
73497
73767
|
yield* reactivity.mutation([`settings.${projectId}:${setting.name}`], andThen(update, setCache));
|
|
@@ -150907,7 +151177,7 @@ const LinearIssueSource = effect$1(IssueSource, gen(function* () {
|
|
|
150907
151177
|
issueId: blockerIssueId,
|
|
150908
151178
|
relatedIssueId: linearIssue.id,
|
|
150909
151179
|
type: IssueRelationType.Blocks
|
|
150910
|
-
})).pipe(ignore);
|
|
151180
|
+
})).pipe(ignore$1);
|
|
150911
151181
|
}, {
|
|
150912
151182
|
concurrency: 5,
|
|
150913
151183
|
discard: true
|
|
@@ -150945,8 +151215,8 @@ const LinearIssueSource = effect$1(IssueSource, gen(function* () {
|
|
|
150945
151215
|
issueId: blockerIssueId,
|
|
150946
151216
|
relatedIssueId: issueId,
|
|
150947
151217
|
type: IssueRelationType.Blocks
|
|
150948
|
-
})).pipe(ignore), { concurrency: 5 });
|
|
150949
|
-
yield* forEach$3(toRemove, (relation) => linear.use((c) => c.deleteIssueRelation(relation.id)).pipe(ignore), { concurrency: 5 });
|
|
151218
|
+
})).pipe(ignore$1), { concurrency: 5 });
|
|
151219
|
+
yield* forEach$3(toRemove, (relation) => linear.use((c) => c.deleteIssueRelation(relation.id)).pipe(ignore$1), { concurrency: 5 });
|
|
150950
151220
|
}, mapError$2((cause) => new IssueSourceError({ cause }))),
|
|
150951
151221
|
cancelIssue: fnUntraced(function* (_project, issueId) {
|
|
150952
151222
|
const linearIssueId = identifierMap.get(issueId);
|
|
@@ -157828,7 +158098,7 @@ var CurrentIssueSource = class CurrentIssueSource extends Service$1()("lalph/Cur
|
|
|
157828
158098
|
const services$2 = yield* services();
|
|
157829
158099
|
const refresh = set$4(ref, build$1).pipe(provideServices(services$2));
|
|
157830
158100
|
const proxy = IssueSource.of({
|
|
157831
|
-
issues: (projectId) => get$4(ref).pipe(flatMap$2((source) => source.issues(projectId)), tapErrorTag("IssueSourceError", (e) => logWarning("Rebuilding issue source due to error", fail$5(e)).pipe(andThen(ignore(refresh)))), retry$1(refreshSchedule)),
|
|
158101
|
+
issues: (projectId) => get$4(ref).pipe(flatMap$2((source) => source.issues(projectId)), tapErrorTag("IssueSourceError", (e) => logWarning("Rebuilding issue source due to error", fail$5(e)).pipe(andThen(ignore$1(refresh)))), retry$1(refreshSchedule)),
|
|
157832
158102
|
createIssue: (projectId, options) => get$4(ref).pipe(flatMap$2((source) => source.createIssue(projectId, options))),
|
|
157833
158103
|
updateIssue: (options) => get$4(ref).pipe(flatMap$2((source) => source.updateIssue(options))),
|
|
157834
158104
|
cancelIssue: (projectId, issueId) => get$4(ref).pipe(flatMap$2((source) => source.cancelIssue(projectId, issueId))),
|
|
@@ -158554,7 +158824,7 @@ var Prd = class extends Service$1()("lalph/Prd", { make: gen(function* () {
|
|
|
158554
158824
|
setAutoMerge
|
|
158555
158825
|
};
|
|
158556
158826
|
}
|
|
158557
|
-
yield* addFinalizer(() => ignore(fs.remove(prdFile)));
|
|
158827
|
+
yield* addFinalizer(() => ignore$1(fs.remove(prdFile)));
|
|
158558
158828
|
yield* fs.writeFileString(prdFile, PrdIssue.arrayToYaml(yield* getCurrentIssues));
|
|
158559
158829
|
const updatedIssues = /* @__PURE__ */ new Map();
|
|
158560
158830
|
const sync$2 = gen(function* () {
|
|
@@ -158597,7 +158867,7 @@ var Prd = class extends Service$1()("lalph/Prd", { make: gen(function* () {
|
|
|
158597
158867
|
if (currentYaml === nextYaml) return;
|
|
158598
158868
|
yield* fs.writeFileString(prdFile, nextYaml);
|
|
158599
158869
|
}, scoped$1, withSpan("Prd.updateSync"), run$3(updateSyncHandle, { onlyIfMissing: true }), syncSemaphore.withPermitsIfAvailable(1));
|
|
158600
|
-
yield* fs.watch(lalphDir).pipe(debounce(50), runForEach((_) => clear(updateSyncHandle).pipe(andThen(ignore(sync$2)))), retry$1(forever$1), forkScoped);
|
|
158870
|
+
yield* fs.watch(lalphDir).pipe(debounce(50), runForEach((_) => clear(updateSyncHandle).pipe(andThen(ignore$1(sync$2)))), retry$1(forever$1), forkScoped);
|
|
158601
158871
|
yield* toStreamResult(registry, currentIssuesAtom(projectId)).pipe(runForEach(updateSync), forkScoped);
|
|
158602
158872
|
const findById = fnUntraced(function* (issueId) {
|
|
158603
158873
|
return (yield* getCurrentIssues).find((i) => i.id === issueId) ?? null;
|
|
@@ -158844,7 +159114,7 @@ const run = fnUntraced(function* (options) {
|
|
|
158844
159114
|
if (!currentBranchName) return;
|
|
158845
159115
|
yield* worktree.exec`git checkout --detach ${currentBranchName}`;
|
|
158846
159116
|
yield* worktree.exec`git branch -D ${currentBranchName}`;
|
|
158847
|
-
}, ignore()));
|
|
159117
|
+
}, ignore$1()));
|
|
158848
159118
|
let taskId = void 0;
|
|
158849
159119
|
yield* addFinalizer(fnUntraced(function* (exit) {
|
|
158850
159120
|
if (exit._tag === "Success") return;
|
|
@@ -158854,7 +159124,7 @@ const run = fnUntraced(function* (options) {
|
|
|
158854
159124
|
state: "todo"
|
|
158855
159125
|
});
|
|
158856
159126
|
else yield* (yield* Prd).revertUpdatedIssues;
|
|
158857
|
-
}, ignore()));
|
|
159127
|
+
}, ignore$1()));
|
|
158858
159128
|
registry.update(currentWorker.state, (s) => s.transitionTo(WorkerStatus.ChoosingTask()));
|
|
158859
159129
|
const chosenTask = yield* agentChooser({
|
|
158860
159130
|
stallTimeout: options.stallTimeout,
|
|
@@ -159166,7 +159436,7 @@ const plan = fnUntraced(function* (options) {
|
|
|
159166
159436
|
specsDirectory: options.specsDirectory,
|
|
159167
159437
|
preset
|
|
159168
159438
|
});
|
|
159169
|
-
if (!worktree.inExisting) yield* pipe(fs.copy(pathService.join(worktree.directory, options.specsDirectory), options.specsDirectory, { overwrite: true }), ignore);
|
|
159439
|
+
if (!worktree.inExisting) yield* pipe(fs.copy(pathService.join(worktree.directory, options.specsDirectory), options.specsDirectory, { overwrite: true }), ignore$1);
|
|
159170
159440
|
}, scoped$1, provide$1([
|
|
159171
159441
|
PromptGen.layer,
|
|
159172
159442
|
Prd.layerProvided,
|
|
@@ -159198,7 +159468,7 @@ const commitAndPushSpecification = fnUntraced(function* (options) {
|
|
|
159198
159468
|
parsed.remote,
|
|
159199
159469
|
`HEAD:${parsed.branch}`
|
|
159200
159470
|
]);
|
|
159201
|
-
}, ignore({ log: "Warn" }));
|
|
159471
|
+
}, ignore$1({ log: "Warn" }));
|
|
159202
159472
|
const PlanDetails = fromJsonString(Struct({ specification: String$1 }));
|
|
159203
159473
|
|
|
159204
159474
|
//#endregion
|
|
@@ -159272,7 +159542,7 @@ const commandSource = make$34("source").pipe(withDescription("Select the issue s
|
|
|
159272
159542
|
|
|
159273
159543
|
//#endregion
|
|
159274
159544
|
//#region package.json
|
|
159275
|
-
var version = "0.3.
|
|
159545
|
+
var version = "0.3.31";
|
|
159276
159546
|
|
|
159277
159547
|
//#endregion
|
|
159278
159548
|
//#region src/commands/projects/ls.ts
|