@dual-os/adyen-api 6.0.3 → 6.0.4
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/Runner.js +229 -463
- package/Runner.js.map +5 -9
- package/bundle-inventory.json +1 -1
- package/dist/auth.js +2 -2
- package/dist/generated/http.js +3 -3
- package/dist/generated/operations.js +4 -4
- package/dist/generated/plugin.js +5 -5
- package/dist/triggers.js +5 -5
- package/dual-plugin.json +1 -1
- package/package.json +1 -1
- package/{plugin-xe9zycjt.js → plugin-48zbqzh4.js} +4 -4
- package/{plugin-b36xdb6g.js → plugin-ctytbs1j.js} +3 -3
- package/{plugin-906teps6.js → plugin-pbdgaxvn.js} +17 -17
- package/{plugin-906teps6.js.map → plugin-pbdgaxvn.js.map} +3 -3
- package/{plugin-930bs4eq.js → plugin-vnx323vz.js} +196 -244
- package/{plugin-930bs4eq.js.map → plugin-vnx323vz.js.map} +4 -5
- package/{plugin-ms1ae9sx.js → plugin-z4svmw67.js} +2 -2
- /package/licenses/{@dual-os_sdk@0.8.1 → @dual-os_sdk@0.9.0}/LICENSE +0 -0
- /package/{plugin-xe9zycjt.js.map → plugin-48zbqzh4.js.map} +0 -0
- /package/{plugin-b36xdb6g.js.map → plugin-ctytbs1j.js.map} +0 -0
- /package/{plugin-ms1ae9sx.js.map → plugin-z4svmw67.js.map} +0 -0
|
@@ -600,7 +600,7 @@ function assignProperties(self, source) {
|
|
|
600
600
|
var make7 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
601
601
|
var isStrictEquivalent = (x, y) => x === y;
|
|
602
602
|
var strictEqual = () => isStrictEquivalent;
|
|
603
|
-
function
|
|
603
|
+
function Tuple(elements) {
|
|
604
604
|
return make7((self, that) => {
|
|
605
605
|
if (self.length !== that.length) {
|
|
606
606
|
return false;
|
|
@@ -1122,7 +1122,7 @@ var causeCombine = /* @__PURE__ */ dual(2, (self, that) => {
|
|
|
1122
1122
|
var causeAddInterrupts = (self, interrupts) => {
|
|
1123
1123
|
const reasons = self.reasons.slice();
|
|
1124
1124
|
for (const reason of interrupts.reasons) {
|
|
1125
|
-
if (
|
|
1125
|
+
if (isInterruptReason(reason) && !reasons.some((r) => isInterruptReason(r) && r.fiberId === reason.fiberId && r.annotations === reason.annotations)) {
|
|
1126
1126
|
reasons.push(reason);
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
@@ -1160,7 +1160,7 @@ var causeAnnotate = /* @__PURE__ */ dual((args) => isCause(args[0]), (self, anno
|
|
|
1160
1160
|
});
|
|
1161
1161
|
var isFailReason = (self) => self._tag === "Fail";
|
|
1162
1162
|
var isDieReason = (self) => self._tag === "Die";
|
|
1163
|
-
var
|
|
1163
|
+
var isInterruptReason = (self) => self._tag === "Interrupt";
|
|
1164
1164
|
function defaultEvaluate(_fiber) {
|
|
1165
1165
|
return exitDie(`Effect.evaluate: Not implemented`);
|
|
1166
1166
|
}
|
|
@@ -1345,7 +1345,7 @@ var Done2 = (value) => {
|
|
|
1345
1345
|
};
|
|
1346
1346
|
};
|
|
1347
1347
|
var doneVoid = /* @__PURE__ */ exitFail(DoneVoid);
|
|
1348
|
-
var
|
|
1348
|
+
var done3 = (value) => {
|
|
1349
1349
|
if (value === undefined)
|
|
1350
1350
|
return doneVoid;
|
|
1351
1351
|
return exitFail(Done2(value));
|
|
@@ -1366,7 +1366,7 @@ var SomeProto = /* @__PURE__ */ Object.defineProperty(/* @__PURE__ */ Object.ass
|
|
|
1366
1366
|
_tag: "Some",
|
|
1367
1367
|
_op: "Some",
|
|
1368
1368
|
[symbol2](that) {
|
|
1369
|
-
return isOption(that) &&
|
|
1369
|
+
return isOption(that) && isSome(that) && equals(this.value, that.value);
|
|
1370
1370
|
},
|
|
1371
1371
|
[symbol]() {
|
|
1372
1372
|
return combine(hash(this._tag))(hash(this.value));
|
|
@@ -1409,7 +1409,7 @@ var NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
|
|
|
1409
1409
|
});
|
|
1410
1410
|
var isOption = (input) => hasProperty(input, TypeId);
|
|
1411
1411
|
var isNone2 = (fa) => fa._tag === "None";
|
|
1412
|
-
var
|
|
1412
|
+
var isSome = (fa) => fa._tag === "Some";
|
|
1413
1413
|
var none2 = /* @__PURE__ */ Object.create(NoneProto);
|
|
1414
1414
|
var SomeImpl = function(value) {
|
|
1415
1415
|
this.value = value;
|
|
@@ -1514,7 +1514,7 @@ var none = () => none2;
|
|
|
1514
1514
|
var some = some2;
|
|
1515
1515
|
var isOption2 = isOption;
|
|
1516
1516
|
var isNone = isNone2;
|
|
1517
|
-
var
|
|
1517
|
+
var isSome2 = isSome;
|
|
1518
1518
|
var match = /* @__PURE__ */ dual(2, (self, {
|
|
1519
1519
|
onNone,
|
|
1520
1520
|
onSome
|
|
@@ -1666,7 +1666,7 @@ var normalizeNonEmpty = (n) => Math.max(1, normalize(n));
|
|
|
1666
1666
|
|
|
1667
1667
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
1668
1668
|
var make9 = (...elements) => elements;
|
|
1669
|
-
var makeEquivalence2 =
|
|
1669
|
+
var makeEquivalence2 = Tuple;
|
|
1670
1670
|
|
|
1671
1671
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
1672
1672
|
var headUnsafe = (self) => {
|
|
@@ -1685,7 +1685,7 @@ var findFirst2 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
|
1685
1685
|
return some(a);
|
|
1686
1686
|
}
|
|
1687
1687
|
} else {
|
|
1688
|
-
if (
|
|
1688
|
+
if (isSome2(o)) {
|
|
1689
1689
|
return o;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
@@ -1706,7 +1706,6 @@ var constEmptyIterator = {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
|
-
var empty = () => constEmpty;
|
|
1710
1709
|
|
|
1711
1710
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Array.js
|
|
1712
1711
|
var Array2 = globalThis.Array;
|
|
@@ -1815,7 +1814,7 @@ var hashBucketsAdd = (buckets, value) => {
|
|
|
1815
1814
|
bucket.push(value);
|
|
1816
1815
|
return true;
|
|
1817
1816
|
};
|
|
1818
|
-
var
|
|
1817
|
+
var empty = () => [];
|
|
1819
1818
|
var of = (a) => [a];
|
|
1820
1819
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => self.map(f));
|
|
1821
1820
|
var flatMap2 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
@@ -1853,7 +1852,7 @@ var filter2 = /* @__PURE__ */ dual(2, (self, predicate) => {
|
|
|
1853
1852
|
return out;
|
|
1854
1853
|
});
|
|
1855
1854
|
var reduce = /* @__PURE__ */ dual(3, (self, b, f) => fromIterable(self).reduce((b, a, i) => f(b, a, i), b));
|
|
1856
|
-
var fromNullishOr2 = (a) => a == null ?
|
|
1855
|
+
var fromNullishOr2 = (a) => a == null ? empty() : [a];
|
|
1857
1856
|
var every = /* @__PURE__ */ dual(2, (self, refinement) => self.every(refinement));
|
|
1858
1857
|
var some3 = /* @__PURE__ */ dual(2, (self, predicate) => self.some(predicate));
|
|
1859
1858
|
var makeEquivalence3 = Array_;
|
|
@@ -2105,7 +2104,7 @@ var applyOverlays = (map, overlay) => {
|
|
|
2105
2104
|
applyOverlays(map, overlay.parent);
|
|
2106
2105
|
map.set(overlay.key, overlay.value);
|
|
2107
2106
|
};
|
|
2108
|
-
var
|
|
2107
|
+
var flatten2 = (self) => {
|
|
2109
2108
|
if (self._flat)
|
|
2110
2109
|
return self._flat;
|
|
2111
2110
|
if (!self.overlay)
|
|
@@ -2130,7 +2129,7 @@ var lookup = (self, key) => {
|
|
|
2130
2129
|
if (value === undefined && !impl.base.has(key))
|
|
2131
2130
|
return notFound;
|
|
2132
2131
|
if (impl.overlay && ++impl.baseHits >= impl.base.size && impl.baseHits >= FlattenAfterBaseHits) {
|
|
2133
|
-
impl.base =
|
|
2132
|
+
impl.base = flatten2(impl);
|
|
2134
2133
|
impl.overlay = undefined;
|
|
2135
2134
|
impl.depth = 0;
|
|
2136
2135
|
}
|
|
@@ -2142,7 +2141,7 @@ var makeUnsafe = (mapUnsafe, options) => {
|
|
|
2142
2141
|
};
|
|
2143
2142
|
var Proto = {
|
|
2144
2143
|
get mapUnsafe() {
|
|
2145
|
-
return
|
|
2144
|
+
return flatten2(this);
|
|
2146
2145
|
},
|
|
2147
2146
|
...PipeInspectableProto,
|
|
2148
2147
|
[TypeId3]: {
|
|
@@ -2177,7 +2176,7 @@ var Proto = {
|
|
|
2177
2176
|
var hasSameCache = (self, that) => self.cacheRoot === that.cacheRoot;
|
|
2178
2177
|
var isContext = (u) => hasProperty(u, TypeId3);
|
|
2179
2178
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
2180
|
-
var
|
|
2179
|
+
var empty6 = () => emptyContext2;
|
|
2181
2180
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe(/* @__PURE__ */ new Map);
|
|
2182
2181
|
var make10 = (key, service) => makeUnsafe(new Map([[key.key, service]]));
|
|
2183
2182
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
@@ -2579,14 +2578,6 @@ var Equivalence = (self, that) => matchPair(self, that, {
|
|
|
2579
2578
|
var equals2 = /* @__PURE__ */ dual(2, (self, that) => Equivalence(self, that));
|
|
2580
2579
|
|
|
2581
2580
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Filter.js
|
|
2582
|
-
var toPredicate = (self) => (input) => !isFailure3(self(input));
|
|
2583
|
-
var has2 = (key) => (input) => input.has(key) ? succeed(input) : fail(input);
|
|
2584
|
-
var compose = /* @__PURE__ */ dual(2, (left, right) => (input) => {
|
|
2585
|
-
const leftOut = left(input);
|
|
2586
|
-
if (isFailure3(leftOut))
|
|
2587
|
-
return leftOut;
|
|
2588
|
-
return right(leftOut.success);
|
|
2589
|
-
});
|
|
2590
2581
|
var toOption = (self) => (input) => {
|
|
2591
2582
|
const result = self(input);
|
|
2592
2583
|
return isFailure3(result) ? none() : some(result.success);
|
|
@@ -2892,7 +2883,7 @@ class Interrupt extends ReasonBase {
|
|
|
2892
2883
|
};
|
|
2893
2884
|
}
|
|
2894
2885
|
[symbol2](that) {
|
|
2895
|
-
return
|
|
2886
|
+
return isInterruptReason(that) && this.fiberId === that.fiberId && this.annotations === that.annotations;
|
|
2896
2887
|
}
|
|
2897
2888
|
[symbol]() {
|
|
2898
2889
|
return string(`${this._tag}:${this.fiberId}`);
|
|
@@ -2913,7 +2904,7 @@ var findErrorOption = /* @__PURE__ */ toOption(findError);
|
|
|
2913
2904
|
var hasDies = (self) => self.reasons.some(isDieReason);
|
|
2914
2905
|
var causeElectDefects = (self) => hasDies(self) && hasFails(self) ? causeFromReasons(self.reasons.map((reason) => reason._tag === "Fail" && !isDone2(reason.error) ? new Die(reason.error, reason.annotations) : reason)) : self;
|
|
2915
2906
|
var findRecoverableError = (self) => hasDies(self) ? fail(causeElectDefects(self)) : findError(self);
|
|
2916
|
-
var hasInterrupts2 = (self) => self.reasons.some(
|
|
2907
|
+
var hasInterrupts2 = (self) => self.reasons.some(isInterruptReason);
|
|
2917
2908
|
var causeFilterInterruptors = (self) => {
|
|
2918
2909
|
let interruptors;
|
|
2919
2910
|
for (let i = 0;i < self.reasons.length; i++) {
|
|
@@ -2927,7 +2918,6 @@ var causeFilterInterruptors = (self) => {
|
|
|
2927
2918
|
}
|
|
2928
2919
|
return interruptors ? succeed(interruptors) : fail(self);
|
|
2929
2920
|
};
|
|
2930
|
-
var hasInterruptsOnly2 = (self) => self.reasons.length > 0 && self.reasons.every(isInterruptReason2);
|
|
2931
2921
|
var causeMap = /* @__PURE__ */ dual(2, (self, f) => {
|
|
2932
2922
|
let hasFail = false;
|
|
2933
2923
|
const failures = self.reasons.map((failure) => {
|
|
@@ -3238,7 +3228,7 @@ class FiberImpl {
|
|
|
3238
3228
|
}
|
|
3239
3229
|
this._stack.length = 0;
|
|
3240
3230
|
this._children = undefined;
|
|
3241
|
-
this.context =
|
|
3231
|
+
this.context = empty6();
|
|
3242
3232
|
const cache = this.cache;
|
|
3243
3233
|
if (cache.span !== undefined || cache.stackFrame !== undefined) {
|
|
3244
3234
|
this.cache = {
|
|
@@ -3444,7 +3434,7 @@ var fiberInterruptAs = /* @__PURE__ */ dual((args) => hasProperty(args[0], Fiber
|
|
|
3444
3434
|
}));
|
|
3445
3435
|
var fiberInterruptAll = (fibers) => withFiber2((parent) => {
|
|
3446
3436
|
const annotations = fiberStackAnnotations(parent);
|
|
3447
|
-
let fiberArr =
|
|
3437
|
+
let fiberArr = empty();
|
|
3448
3438
|
for (const fiber of fibers) {
|
|
3449
3439
|
fiber.interruptUnsafe(parent.id, annotations);
|
|
3450
3440
|
fiberArr.push(fiber);
|
|
@@ -3800,7 +3790,7 @@ var raceAllFirst = (all, options) => withFiber2((parent) => {
|
|
|
3800
3790
|
if (done)
|
|
3801
3791
|
break;
|
|
3802
3792
|
const index = i++;
|
|
3803
|
-
const fiber =
|
|
3793
|
+
const fiber = forkUnsafe2(parent, effect, true, true, false);
|
|
3804
3794
|
fibers.add(fiber);
|
|
3805
3795
|
fiber.addObserver((exit) => {
|
|
3806
3796
|
fibers.delete(fiber);
|
|
@@ -3827,7 +3817,7 @@ var flatMapEager = /* @__PURE__ */ dual(2, (self, f) => {
|
|
|
3827
3817
|
}
|
|
3828
3818
|
return flatMap5(self, f);
|
|
3829
3819
|
});
|
|
3830
|
-
var
|
|
3820
|
+
var flatten3 = (self) => flatMap5(self, identity);
|
|
3831
3821
|
var map6 = /* @__PURE__ */ dual(2, (self, f) => new ContImpl(self, mapCont, f));
|
|
3832
3822
|
var mapEager = /* @__PURE__ */ dual(2, (self, f) => effectIsExit(self) ? exitMap(self, f) : map6(self, f));
|
|
3833
3823
|
var mapErrorEager = /* @__PURE__ */ dual(2, (self, f) => effectIsExit(self) ? exitMapError(self, f) : mapError3(self, f));
|
|
@@ -3903,7 +3893,7 @@ var forever2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, options
|
|
|
3903
3893
|
body: constant(options?.disableYield ? self : flatMap5(self, (_) => yieldNow)),
|
|
3904
3894
|
step: constVoid
|
|
3905
3895
|
}));
|
|
3906
|
-
var
|
|
3896
|
+
var catchCause = /* @__PURE__ */ dual(2, (self, f) => new OnFailureImpl(self, f.length !== 1 ? (cause) => f(cause) : f));
|
|
3907
3897
|
var OnFailureProto = /* @__PURE__ */ makePrimitiveProto({
|
|
3908
3898
|
op: "OnFailure",
|
|
3909
3899
|
[evaluate]: evaluateCont
|
|
@@ -3913,19 +3903,18 @@ var OnFailureImpl = function(self, f) {
|
|
|
3913
3903
|
this[contE] = f;
|
|
3914
3904
|
};
|
|
3915
3905
|
OnFailureImpl.prototype = OnFailureProto;
|
|
3916
|
-
var catchCauseIf2 = /* @__PURE__ */ dual(3, (self, predicate, f) =>
|
|
3906
|
+
var catchCauseIf2 = /* @__PURE__ */ dual(3, (self, predicate, f) => catchCause(self, (cause) => {
|
|
3917
3907
|
if (!predicate(cause)) {
|
|
3918
3908
|
return failCause2(cause);
|
|
3919
3909
|
}
|
|
3920
3910
|
return f(cause);
|
|
3921
3911
|
}));
|
|
3922
|
-
var catchCauseFilter = /* @__PURE__ */ dual(3, (self, filter, f) =>
|
|
3912
|
+
var catchCauseFilter = /* @__PURE__ */ dual(3, (self, filter, f) => catchCause(self, (cause) => {
|
|
3923
3913
|
const eb = filter(cause);
|
|
3924
3914
|
return isFailure3(eb) ? failCause2(eb.failure) : f(eb.success, cause);
|
|
3925
3915
|
}));
|
|
3926
3916
|
var catch_2 = /* @__PURE__ */ dual(2, (self, f) => catchCauseFilter(self, findRecoverableError, (e) => f(e)));
|
|
3927
|
-
var
|
|
3928
|
-
var tapCauseFilter = /* @__PURE__ */ dual(3, (self, filter, f) => catchCause2(self, (cause) => {
|
|
3917
|
+
var tapCauseFilter = /* @__PURE__ */ dual(3, (self, filter, f) => catchCause(self, (cause) => {
|
|
3929
3918
|
const result = filter(cause);
|
|
3930
3919
|
if (isFailure3(result)) {
|
|
3931
3920
|
return failCause2(cause);
|
|
@@ -3933,7 +3922,7 @@ var tapCauseFilter = /* @__PURE__ */ dual(3, (self, filter, f) => catchCause2(se
|
|
|
3933
3922
|
return andThen2(f(result.success, cause), failCause2(cause));
|
|
3934
3923
|
}));
|
|
3935
3924
|
var tapError3 = /* @__PURE__ */ dual(2, (self, f) => tapCauseFilter(self, findError, (e) => f(e)));
|
|
3936
|
-
var catchIf2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, predicate, f, orElse) =>
|
|
3925
|
+
var catchIf2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, predicate, f, orElse) => catchCause(self, (cause) => {
|
|
3937
3926
|
const error = findRecoverableError(cause);
|
|
3938
3927
|
if (isFailure3(error))
|
|
3939
3928
|
return failCause2(error.failure);
|
|
@@ -3952,7 +3941,7 @@ var catchReason2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, err
|
|
|
3952
3941
|
return f(reason, e);
|
|
3953
3942
|
return orElse ? orElse(reason, e) : fail8(e);
|
|
3954
3943
|
}));
|
|
3955
|
-
var mapError3 = /* @__PURE__ */ dual(2, (self, f) =>
|
|
3944
|
+
var mapError3 = /* @__PURE__ */ dual(2, (self, f) => catchCause(self, (cause) => failCause2(causeMap(cause, f))));
|
|
3956
3945
|
var mapBoth = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffect(self, {
|
|
3957
3946
|
onFailure: (cause) => failCause2(causeMap(cause, options.onFailure)),
|
|
3958
3947
|
onSuccess: (a) => sync2(() => options.onSuccess(a))
|
|
@@ -4101,7 +4090,7 @@ var runFinalizer = (finalizer, exit_) => {
|
|
|
4101
4090
|
return exitDie(defect);
|
|
4102
4091
|
}
|
|
4103
4092
|
};
|
|
4104
|
-
var combineFinalizerCause = (exit_, finalizer) => exitIsSuccess(exit_) ? finalizer :
|
|
4093
|
+
var combineFinalizerCause = (exit_, finalizer) => exitIsSuccess(exit_) ? finalizer : catchCause(finalizer, (cause) => failCause2(causeElectDefects(causeCombine(exit_.cause, cause))));
|
|
4105
4094
|
var scopeCloseFinalizers = /* @__PURE__ */ fnUntraced2(function* (self, finalizers, exit_) {
|
|
4106
4095
|
let exits = [];
|
|
4107
4096
|
const fibers = [];
|
|
@@ -4112,7 +4101,7 @@ var scopeCloseFinalizers = /* @__PURE__ */ fnUntraced2(function* (self, finalize
|
|
|
4112
4101
|
if (self.strategy === "sequential") {
|
|
4113
4102
|
exits.push(yield* exit(runFinalizer(finalizer, exit_)));
|
|
4114
4103
|
} else if (key !== parent) {
|
|
4115
|
-
fibers.push(
|
|
4104
|
+
fibers.push(forkUnsafe2(parent, runFinalizer(finalizer, exit_), true, true, "inherit"));
|
|
4116
4105
|
}
|
|
4117
4106
|
}
|
|
4118
4107
|
if (fibers.length > 0) {
|
|
@@ -4120,7 +4109,6 @@ var scopeCloseFinalizers = /* @__PURE__ */ fnUntraced2(function* (self, finalize
|
|
|
4120
4109
|
}
|
|
4121
4110
|
return yield* exitAsVoidAll(exits);
|
|
4122
4111
|
});
|
|
4123
|
-
var scopeFork = (scope, finalizerStrategy) => sync2(() => scopeForkUnsafe(scope, finalizerStrategy));
|
|
4124
4112
|
var scopeForkUnsafe = (scope, finalizerStrategy) => {
|
|
4125
4113
|
const child = makeScope(finalizerStrategy, scope);
|
|
4126
4114
|
if (scope.state._tag === "Closed") {
|
|
@@ -4184,6 +4172,7 @@ var makeScope = (finalizerStrategy = "sequential", parent) => ({
|
|
|
4184
4172
|
var constScopeEmpty = {
|
|
4185
4173
|
_tag: "Empty"
|
|
4186
4174
|
};
|
|
4175
|
+
var scopeMake = (finalizerStrategy) => sync2(() => scopeMakeUnsafe(finalizerStrategy));
|
|
4187
4176
|
var scope2 = scopeTag;
|
|
4188
4177
|
var provideScope = /* @__PURE__ */ provideService2(scopeTag);
|
|
4189
4178
|
var scoped2 = (self) => withFiber2((fiber) => {
|
|
@@ -4487,7 +4476,7 @@ var iterateConcurrentImpl = (options) => {
|
|
|
4487
4476
|
});
|
|
4488
4477
|
} else {
|
|
4489
4478
|
effect = undefined;
|
|
4490
|
-
const fiber =
|
|
4479
|
+
const fiber = forkUnsafe2(parentFiber, eff, true, true, "inherit");
|
|
4491
4480
|
if (fiber._exit) {
|
|
4492
4481
|
terminal = step(state, item, fiber._exit, index);
|
|
4493
4482
|
if (terminal)
|
|
@@ -4568,9 +4557,9 @@ var forEachConcurrent = /* @__PURE__ */ iterateConcurrentImpl({
|
|
|
4568
4557
|
});
|
|
4569
4558
|
var forkChild2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, options) => withFiber2((fiber) => {
|
|
4570
4559
|
interruptChildrenPatch();
|
|
4571
|
-
return succeed6(
|
|
4560
|
+
return succeed6(forkUnsafe2(fiber, self, options?.startImmediately, false, options?.uninterruptible ?? false));
|
|
4572
4561
|
}));
|
|
4573
|
-
var
|
|
4562
|
+
var forkUnsafe2 = (parent, effect, immediate = false, daemon = false, uninterruptible = false) => {
|
|
4574
4563
|
const parentRuntime = parent;
|
|
4575
4564
|
const interruptible = uninterruptible === "inherit" ? parentRuntime.interruptible : !uninterruptible;
|
|
4576
4565
|
const child = new FiberImpl(parentRuntime.context, interruptible);
|
|
@@ -4588,7 +4577,7 @@ var forkUnsafe = (parent, effect, immediate = false, daemon = false, uninterrupt
|
|
|
4588
4577
|
};
|
|
4589
4578
|
var fiberScopeFinalizer = (fiber) => () => withFiber2((current) => current === fiber ? void_3 : fiberInterrupt(fiber));
|
|
4590
4579
|
var forkIn2 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, scope, options) => withFiber2((parent) => {
|
|
4591
|
-
const fiber = scope.state._tag === "Closed" ? new FiberImpl(parent.context) :
|
|
4580
|
+
const fiber = scope.state._tag === "Closed" ? new FiberImpl(parent.context) : forkUnsafe2(parent, self, options?.startImmediately, true, options?.uninterruptible);
|
|
4592
4581
|
if (!fiber._exit) {
|
|
4593
4582
|
if (scope.state._tag !== "Closed") {
|
|
4594
4583
|
scopeAddFinalizerUnsafe(scope, fiber, fiberScopeFinalizer(fiber));
|
|
@@ -4633,8 +4622,21 @@ var fiberRunIn = /* @__PURE__ */ dual(2, (self, scope) => {
|
|
|
4633
4622
|
self.addObserver(() => scopeRemoveFinalizerUnsafe(scope, self));
|
|
4634
4623
|
return self;
|
|
4635
4624
|
});
|
|
4636
|
-
var runFork2 = /* @__PURE__ */ runForkWith2(/* @__PURE__ */
|
|
4637
|
-
var
|
|
4625
|
+
var runFork2 = /* @__PURE__ */ runForkWith2(/* @__PURE__ */ empty6());
|
|
4626
|
+
var runCallbackWith2 = (context) => {
|
|
4627
|
+
const runFork = runForkWith2(context);
|
|
4628
|
+
return (effect, options) => {
|
|
4629
|
+
const fiber = runFork(effect, options);
|
|
4630
|
+
if (options?.onExit) {
|
|
4631
|
+
fiber.addObserver(options.onExit);
|
|
4632
|
+
}
|
|
4633
|
+
return (interruptor) => {
|
|
4634
|
+
return fiber.interruptUnsafe(interruptor);
|
|
4635
|
+
};
|
|
4636
|
+
};
|
|
4637
|
+
};
|
|
4638
|
+
var runCallback2 = /* @__PURE__ */ runCallbackWith2(/* @__PURE__ */ empty6());
|
|
4639
|
+
var runPromiseExitWith2 = (context) => {
|
|
4638
4640
|
const runFork = runForkWith2(context);
|
|
4639
4641
|
return (effect, options) => {
|
|
4640
4642
|
const fiber = runFork(effect, options);
|
|
@@ -4643,8 +4645,9 @@ var runPromiseExitWith = (context) => {
|
|
|
4643
4645
|
});
|
|
4644
4646
|
};
|
|
4645
4647
|
};
|
|
4646
|
-
var
|
|
4647
|
-
|
|
4648
|
+
var runPromiseExit2 = /* @__PURE__ */ runPromiseExitWith2(/* @__PURE__ */ empty6());
|
|
4649
|
+
var runPromiseWith2 = (context) => {
|
|
4650
|
+
const runPromiseExit = runPromiseExitWith2(context);
|
|
4648
4651
|
return (effect, options) => runPromiseExit(effect, options).then((exit) => {
|
|
4649
4652
|
if (exit._tag === "Failure") {
|
|
4650
4653
|
throw causeSquash(exit.cause);
|
|
@@ -4652,8 +4655,8 @@ var runPromiseWith = (context) => {
|
|
|
4652
4655
|
return exit.value;
|
|
4653
4656
|
});
|
|
4654
4657
|
};
|
|
4655
|
-
var
|
|
4656
|
-
var
|
|
4658
|
+
var runPromise2 = /* @__PURE__ */ runPromiseWith2(/* @__PURE__ */ empty6());
|
|
4659
|
+
var runSyncExitWith2 = (context) => {
|
|
4657
4660
|
const runFork = runForkWith2(context);
|
|
4658
4661
|
return (effect) => {
|
|
4659
4662
|
if (effectIsExit(effect))
|
|
@@ -4666,9 +4669,9 @@ var runSyncExitWith = (context) => {
|
|
|
4666
4669
|
return fiber._exit ?? exitDie(new AsyncFiberError(fiber));
|
|
4667
4670
|
};
|
|
4668
4671
|
};
|
|
4669
|
-
var
|
|
4670
|
-
var
|
|
4671
|
-
const runSyncExit =
|
|
4672
|
+
var runSyncExit2 = /* @__PURE__ */ runSyncExitWith2(/* @__PURE__ */ empty6());
|
|
4673
|
+
var runSyncWith2 = (context) => {
|
|
4674
|
+
const runSyncExit = runSyncExitWith2(context);
|
|
4672
4675
|
return (effect) => {
|
|
4673
4676
|
const exit = runSyncExit(effect);
|
|
4674
4677
|
if (exit._tag === "Failure")
|
|
@@ -4676,7 +4679,7 @@ var runSyncWith = (context) => {
|
|
|
4676
4679
|
return exit.value;
|
|
4677
4680
|
};
|
|
4678
4681
|
};
|
|
4679
|
-
var
|
|
4682
|
+
var runSync2 = /* @__PURE__ */ runSyncWith2(/* @__PURE__ */ empty6());
|
|
4680
4683
|
var succeedTrue = /* @__PURE__ */ succeed6(true);
|
|
4681
4684
|
var succeedFalse = /* @__PURE__ */ succeed6(false);
|
|
4682
4685
|
|
|
@@ -4798,7 +4801,7 @@ var makeSpanUnsafe = (fiber, name, options) => {
|
|
|
4798
4801
|
span = noopSpan({
|
|
4799
4802
|
name,
|
|
4800
4803
|
parent,
|
|
4801
|
-
annotations: add(options?.annotations ??
|
|
4804
|
+
annotations: add(options?.annotations ?? empty6(), DisablePropagation, true)
|
|
4802
4805
|
});
|
|
4803
4806
|
} else {
|
|
4804
4807
|
const tracer = fiber.cache.tracer ?? nativeTracer;
|
|
@@ -4811,12 +4814,12 @@ var makeSpanUnsafe = (fiber, name, options) => {
|
|
|
4811
4814
|
span = tracer.span({
|
|
4812
4815
|
name,
|
|
4813
4816
|
parent,
|
|
4814
|
-
annotations: options?.annotations ??
|
|
4817
|
+
annotations: options?.annotations ?? empty6(),
|
|
4815
4818
|
links,
|
|
4816
4819
|
startTime: timingEnabled ? clock.currentTimeNanosUnsafe() : bigint02,
|
|
4817
4820
|
kind: options?.kind ?? "internal",
|
|
4818
4821
|
root: options?.root ?? false,
|
|
4819
|
-
sampled: options?.sampled ?? (
|
|
4822
|
+
sampled: options?.sampled ?? (isSome2(parent) && parent.value.sampled === false ? false : !isLogLevelGreaterThan(fiber.getRef(MinimumTraceLevel), level))
|
|
4820
4823
|
});
|
|
4821
4824
|
for (const key in annotationsFromEnv) {
|
|
4822
4825
|
span.attribute(key, annotationsFromEnv[key]);
|
|
@@ -5161,7 +5164,6 @@ var DeferredImpl = function() {
|
|
|
5161
5164
|
};
|
|
5162
5165
|
DeferredImpl.prototype = DeferredProto;
|
|
5163
5166
|
var makeUnsafe2 = () => new DeferredImpl;
|
|
5164
|
-
var make = () => sync2(() => makeUnsafe2());
|
|
5165
5167
|
var _await = (self) => callback3((resume) => {
|
|
5166
5168
|
if (self.effect)
|
|
5167
5169
|
return resume(self.effect);
|
|
@@ -5177,8 +5179,8 @@ var _await = (self) => callback3((resume) => {
|
|
|
5177
5179
|
});
|
|
5178
5180
|
});
|
|
5179
5181
|
var completeWith = /* @__PURE__ */ dual(2, (self, effect) => sync2(() => doneUnsafe(self, effect)));
|
|
5180
|
-
var
|
|
5181
|
-
var fail4 = /* @__PURE__ */ dual(2, (self, error) =>
|
|
5182
|
+
var done2 = completeWith;
|
|
5183
|
+
var fail4 = /* @__PURE__ */ dual(2, (self, error) => done2(self, exitFail(error)));
|
|
5182
5184
|
var isDone = (self) => sync2(() => isDoneUnsafe(self));
|
|
5183
5185
|
var isDoneUnsafe = (self) => self.effect !== undefined;
|
|
5184
5186
|
var doneUnsafe = (self, effect) => {
|
|
@@ -5194,19 +5196,18 @@ var doneUnsafe = (self, effect) => {
|
|
|
5194
5196
|
}
|
|
5195
5197
|
return true;
|
|
5196
5198
|
};
|
|
5197
|
-
var into = /* @__PURE__ */ dual(2, (self, deferred) => uninterruptibleMask2((restore) => flatMap5(exit(restore(self)), (exit) => done3(deferred, exit))));
|
|
5198
5199
|
|
|
5199
5200
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/References.js
|
|
5200
5201
|
var TracerTimingEnabled2 = TracerTimingEnabled;
|
|
5201
5202
|
|
|
5202
5203
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Scope.js
|
|
5203
5204
|
var Scope3 = scopeTag;
|
|
5205
|
+
var make = scopeMake;
|
|
5204
5206
|
var makeUnsafe3 = scopeMakeUnsafe;
|
|
5205
|
-
var
|
|
5207
|
+
var provide2 = provideScope;
|
|
5206
5208
|
var addFinalizerExit = scopeAddFinalizerExit;
|
|
5207
5209
|
var addFinalizer = scopeAddFinalizer;
|
|
5208
|
-
var
|
|
5209
|
-
var forkUnsafe2 = scopeForkUnsafe;
|
|
5210
|
+
var forkUnsafe = scopeForkUnsafe;
|
|
5210
5211
|
var close = scopeClose;
|
|
5211
5212
|
|
|
5212
5213
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Layer.js
|
|
@@ -5249,7 +5250,7 @@ var fromBuildUnsafe = (build) => {
|
|
|
5249
5250
|
return self;
|
|
5250
5251
|
};
|
|
5251
5252
|
var fromBuild = (build) => fromBuildUnsafe((memoMap, scope) => {
|
|
5252
|
-
const layerScope =
|
|
5253
|
+
const layerScope = forkUnsafe(scope);
|
|
5253
5254
|
return onExit2(build(memoMap, layerScope), (exit) => exit._tag === "Failure" ? close(layerScope, exit) : void_3);
|
|
5254
5255
|
});
|
|
5255
5256
|
var fromBuildMemo = (build) => {
|
|
@@ -5311,7 +5312,7 @@ var succeed3 = function() {
|
|
|
5311
5312
|
return succeedContext(make10(arguments[0], arguments[1]));
|
|
5312
5313
|
};
|
|
5313
5314
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed6(context)));
|
|
5314
|
-
var
|
|
5315
|
+
var empty7 = /* @__PURE__ */ succeedContext(/* @__PURE__ */ empty6());
|
|
5315
5316
|
var effect = function() {
|
|
5316
5317
|
if (arguments.length === 1) {
|
|
5317
5318
|
return (effect) => effectImpl(arguments[0], effect);
|
|
@@ -5319,10 +5320,10 @@ var effect = function() {
|
|
|
5319
5320
|
return effectImpl(arguments[0], arguments[1]);
|
|
5320
5321
|
};
|
|
5321
5322
|
var effectImpl = (service, effect) => effectContext(map6(effect, (value) => make10(service, value)));
|
|
5322
|
-
var effectContext = (effect) => fromBuildMemo((_, scope) =>
|
|
5323
|
+
var effectContext = (effect) => fromBuildMemo((_, scope) => provide2(effect, scope));
|
|
5323
5324
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
5324
|
-
const parentScope =
|
|
5325
|
-
return forEach2(layers, (layer) => layer.build(memoMap,
|
|
5325
|
+
const parentScope = forkUnsafe(scope, "parallel");
|
|
5326
|
+
return forEach2(layers, (layer) => layer.build(memoMap, forkUnsafe(parentScope, "sequential")), {
|
|
5326
5327
|
concurrency: layers.length
|
|
5327
5328
|
}).pipe(map6((context) => mergeAll2(...context)));
|
|
5328
5329
|
};
|
|
@@ -5334,19 +5335,16 @@ var provideMerge = /* @__PURE__ */ dual(2, (self, that) => provideWith(self, tha
|
|
|
5334
5335
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Cause.js
|
|
5335
5336
|
var isCause2 = isCause;
|
|
5336
5337
|
var isFailReason2 = isFailReason;
|
|
5337
|
-
var isInterruptReason = isInterruptReason2;
|
|
5338
5338
|
var fromReasons = causeFromReasons;
|
|
5339
5339
|
var fail2 = causeFail;
|
|
5340
5340
|
var die3 = causeDie;
|
|
5341
|
-
var hasInterruptsOnly = hasInterruptsOnly2;
|
|
5342
5341
|
var map7 = causeMap;
|
|
5343
5342
|
var squash = causeSquash;
|
|
5344
5343
|
var findErrorOption2 = findErrorOption;
|
|
5345
5344
|
var hasInterrupts = hasInterrupts2;
|
|
5346
|
-
var filterInterruptors = causeFilterInterruptors;
|
|
5347
5345
|
var isDone3 = isDone2;
|
|
5348
5346
|
var Done = Done2;
|
|
5349
|
-
var done =
|
|
5347
|
+
var done = done3;
|
|
5350
5348
|
var IllegalArgumentError2 = IllegalArgumentError;
|
|
5351
5349
|
var UnknownError = UnknownError2;
|
|
5352
5350
|
|
|
@@ -5783,10 +5781,6 @@ var matchEffect3 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffect(s
|
|
|
5783
5781
|
}
|
|
5784
5782
|
}));
|
|
5785
5783
|
|
|
5786
|
-
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/layer.js
|
|
5787
|
-
var provideLayer = (self, layer, options) => scopedWith((scope) => flatMap5(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext2(self, context)));
|
|
5788
|
-
var provide4 = /* @__PURE__ */ dual((args) => isEffect2(args[0]), (self, source, options) => isContext(source) ? provideContext2(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll(...source) : source, options));
|
|
5789
|
-
|
|
5790
5784
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Effect.js
|
|
5791
5785
|
var isEffect = isEffect2;
|
|
5792
5786
|
var all = all3;
|
|
@@ -5814,7 +5808,7 @@ var withFiber = withFiber2;
|
|
|
5814
5808
|
var fromResult = fromResult2;
|
|
5815
5809
|
var fromOption2 = fromOption4;
|
|
5816
5810
|
var flatMap3 = flatMap5;
|
|
5817
|
-
var
|
|
5811
|
+
var flatten = flatten3;
|
|
5818
5812
|
var andThen = andThen2;
|
|
5819
5813
|
var tap = tap2;
|
|
5820
5814
|
var result = result2;
|
|
@@ -5828,13 +5822,12 @@ var zipWith = zipWith3;
|
|
|
5828
5822
|
var catch_ = catch_2;
|
|
5829
5823
|
var catchTag = catchTag2;
|
|
5830
5824
|
var catchReason = catchReason2;
|
|
5831
|
-
var
|
|
5825
|
+
var catchCause2 = catchCause;
|
|
5832
5826
|
var catchIf = catchIf2;
|
|
5833
5827
|
var catchCauseIf = catchCauseIf2;
|
|
5834
5828
|
var mapError = mapError3;
|
|
5835
5829
|
var orDie = orDie2;
|
|
5836
5830
|
var tapError = tapError3;
|
|
5837
|
-
var tapCause = tapCause2;
|
|
5838
5831
|
var ignore = ignore2;
|
|
5839
5832
|
var ignoreCause = ignoreCause2;
|
|
5840
5833
|
var orElseSucceed2 = orElseSucceed;
|
|
@@ -5844,7 +5837,6 @@ var matchCauseEffect2 = matchCauseEffect;
|
|
|
5844
5837
|
var matchEffect = matchEffect2;
|
|
5845
5838
|
var context = context2;
|
|
5846
5839
|
var contextWith2 = contextWith;
|
|
5847
|
-
var provide2 = provide4;
|
|
5848
5840
|
var provideContext = provideContext2;
|
|
5849
5841
|
var serviceOption = serviceOption2;
|
|
5850
5842
|
var updateContext2 = updateContext;
|
|
@@ -5871,13 +5863,19 @@ var forkIn = forkIn2;
|
|
|
5871
5863
|
var forkScoped = forkScoped2;
|
|
5872
5864
|
var runFork = runFork2;
|
|
5873
5865
|
var runForkWith = runForkWith2;
|
|
5874
|
-
var
|
|
5875
|
-
var
|
|
5876
|
-
var
|
|
5866
|
+
var runCallbackWith = runCallbackWith2;
|
|
5867
|
+
var runCallback = runCallback2;
|
|
5868
|
+
var runPromise = runPromise2;
|
|
5869
|
+
var runPromiseWith = runPromiseWith2;
|
|
5870
|
+
var runPromiseExit = runPromiseExit2;
|
|
5871
|
+
var runPromiseExitWith = runPromiseExitWith2;
|
|
5872
|
+
var runSync = runSync2;
|
|
5873
|
+
var runSyncWith = runSyncWith2;
|
|
5874
|
+
var runSyncExit = runSyncExit2;
|
|
5875
|
+
var runSyncExitWith = runSyncExitWith2;
|
|
5877
5876
|
var fnUntraced = fnUntraced2;
|
|
5878
5877
|
var fn = fn2;
|
|
5879
5878
|
var clockWith = clockWith2;
|
|
5880
|
-
var logError = /* @__PURE__ */ logWithLevel("Error");
|
|
5881
5879
|
var effectify = (fn, onError, onSyncError) => (...args) => callback((resume) => {
|
|
5882
5880
|
let synchronous = true;
|
|
5883
5881
|
let pending;
|
|
@@ -6680,12 +6678,12 @@ class HashMapImpl {
|
|
|
6680
6678
|
}
|
|
6681
6679
|
var emptyNode = /* @__PURE__ */ new EmptyNode;
|
|
6682
6680
|
var isHashMap = (u) => hasProperty(u, HashMapTypeId);
|
|
6683
|
-
var
|
|
6681
|
+
var empty8 = () => new HashMapImpl(false, 0, emptyNode, 0);
|
|
6684
6682
|
var get6 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
6685
6683
|
const impl = self;
|
|
6686
6684
|
return impl._root.get(0, hash(key), key);
|
|
6687
6685
|
});
|
|
6688
|
-
var
|
|
6686
|
+
var has2 = /* @__PURE__ */ dual(2, (self, key) => {
|
|
6689
6687
|
const impl = self;
|
|
6690
6688
|
return impl._root.has(0, hash(key), key);
|
|
6691
6689
|
});
|
|
@@ -6722,7 +6720,7 @@ var HashSetProto = {
|
|
|
6722
6720
|
return optimize(combine(hashSetSeed, hash(keyMap(this))));
|
|
6723
6721
|
},
|
|
6724
6722
|
[symbol2](that) {
|
|
6725
|
-
return isHashSet(that) && size2(this) === size2(that) && every2(this, (value) =>
|
|
6723
|
+
return isHashSet(that) && size2(this) === size2(that) && every2(this, (value) => has3(that, value));
|
|
6726
6724
|
},
|
|
6727
6725
|
[Symbol.iterator]() {
|
|
6728
6726
|
return keys2(keyMap(this));
|
|
@@ -6752,13 +6750,13 @@ var makeImpl2 = (keyMap) => {
|
|
|
6752
6750
|
var isHashSet = (u) => hasProperty(u, HashSetTypeId);
|
|
6753
6751
|
var keyMap = (self) => self.keyMap;
|
|
6754
6752
|
var fromIterable3 = (values) => {
|
|
6755
|
-
let map =
|
|
6753
|
+
let map = empty8();
|
|
6756
6754
|
for (const value of values) {
|
|
6757
6755
|
map = set2(map, value, true);
|
|
6758
6756
|
}
|
|
6759
6757
|
return makeImpl2(map);
|
|
6760
6758
|
};
|
|
6761
|
-
var
|
|
6759
|
+
var has3 = (self, value) => has2(keyMap(self), value);
|
|
6762
6760
|
var size2 = (self) => size(keyMap(self));
|
|
6763
6761
|
var every2 = (self, predicate) => {
|
|
6764
6762
|
for (const value of self) {
|
|
@@ -6771,7 +6769,7 @@ var every2 = (self, predicate) => {
|
|
|
6771
6769
|
|
|
6772
6770
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/HashSet.js
|
|
6773
6771
|
var fromIterable4 = fromIterable3;
|
|
6774
|
-
var
|
|
6772
|
+
var has4 = /* @__PURE__ */ dual(2, has3);
|
|
6775
6773
|
var size3 = size2;
|
|
6776
6774
|
|
|
6777
6775
|
// ../../../../node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
|
|
@@ -7035,10 +7033,10 @@ var Proto5 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
|
|
|
7035
7033
|
});
|
|
7036
7034
|
var make15 = (input) => Object.assign(Object.create(Proto5), input);
|
|
7037
7035
|
var Equivalence3 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
|
|
7038
|
-
var
|
|
7036
|
+
var empty2 = /* @__PURE__ */ Object.create(Proto5);
|
|
7039
7037
|
var fromInput = (input) => {
|
|
7040
7038
|
if (input === undefined) {
|
|
7041
|
-
return
|
|
7039
|
+
return empty2;
|
|
7042
7040
|
} else if (Symbol.iterator in input) {
|
|
7043
7041
|
const out = Object.create(Proto5);
|
|
7044
7042
|
for (const [k, v] of input) {
|
|
@@ -7199,7 +7197,7 @@ var fromInputNested = (input) => {
|
|
|
7199
7197
|
var coerce = (value) => isRedacted(value) ? value : String(value);
|
|
7200
7198
|
var Equivalence4 = /* @__PURE__ */ make7((a, b) => arrayEquivalence(a.params, b.params));
|
|
7201
7199
|
var arrayEquivalence = /* @__PURE__ */ makeEquivalence3(/* @__PURE__ */ makeEquivalence2([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
|
|
7202
|
-
var
|
|
7200
|
+
var empty3 = /* @__PURE__ */ make16([]);
|
|
7203
7201
|
var getFirst = /* @__PURE__ */ dual(2, (self, key) => findFirst(self.params, ([k]) => k === key).pipe(map(([, value]) => unwrap3(value))));
|
|
7204
7202
|
var set5 = /* @__PURE__ */ dual(3, (self, key, value) => make16(append(filter2(self.params, ([k]) => k !== key), [key, coerce(value)])));
|
|
7205
7203
|
var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
|
|
@@ -7268,7 +7266,7 @@ var decodeQueryKey = (key) => {
|
|
|
7268
7266
|
return key;
|
|
7269
7267
|
}
|
|
7270
7268
|
};
|
|
7271
|
-
var currentRedactedNames = () => get(globalThis[currentFiberTypeId]?.context ??
|
|
7269
|
+
var currentRedactedNames = () => get(globalThis[currentFiberTypeId]?.context ?? empty6(), CurrentRedactedNames2);
|
|
7272
7270
|
var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
|
|
7273
7271
|
defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
|
|
7274
7272
|
});
|
|
@@ -7618,7 +7616,7 @@ var runGetter = (self, input, options) => {
|
|
|
7618
7616
|
};
|
|
7619
7617
|
var makeGetter = (fields) => Object.assign(Object.create(Prototype2), fields);
|
|
7620
7618
|
var composeOptionalEffect = (first, second) => transformOptionalEffect((input, options) => flatMapEager2(runGetter(first, input, options), (output) => runGetter(second, output, options)));
|
|
7621
|
-
var
|
|
7619
|
+
var compose = /* @__PURE__ */ dual(2, (self, other) => {
|
|
7622
7620
|
if (self._tag === "Passthrough")
|
|
7623
7621
|
return other;
|
|
7624
7622
|
if (other._tag === "Passthrough")
|
|
@@ -7670,7 +7668,7 @@ function forbidden(message) {
|
|
|
7670
7668
|
const annotations = {
|
|
7671
7669
|
message: message(oe)
|
|
7672
7670
|
};
|
|
7673
|
-
return
|
|
7671
|
+
return isSome2(oe) ? new Forbidden(annotations, oe.value, options) : new Forbidden(annotations);
|
|
7674
7672
|
});
|
|
7675
7673
|
}
|
|
7676
7674
|
var forbiddenEncoding = /* @__PURE__ */ forbidden(() => "Encoding is not supported");
|
|
@@ -7710,7 +7708,7 @@ function omit() {
|
|
|
7710
7708
|
function withDefault(defaultValue) {
|
|
7711
7709
|
return transformOptionalEffect((o) => {
|
|
7712
7710
|
const filtered = filter(o, isNotUndefined);
|
|
7713
|
-
return
|
|
7711
|
+
return isSome2(filtered) ? succeed4(filtered) : mapEager2(defaultValue, some);
|
|
7714
7712
|
});
|
|
7715
7713
|
}
|
|
7716
7714
|
function String5() {
|
|
@@ -8503,7 +8501,7 @@ var Objects = class extends ASTNodeImpl {
|
|
|
8503
8501
|
}
|
|
8504
8502
|
}
|
|
8505
8503
|
} else if (parseIndexes) {
|
|
8506
|
-
const keyPairs =
|
|
8504
|
+
const keyPairs = empty();
|
|
8507
8505
|
for (let i = 0;i < indexCount; i++) {
|
|
8508
8506
|
const index = indexes[i];
|
|
8509
8507
|
const keys = indexKeys?.[i] ?? (index.is.parameter === string2 ? Object.keys(record) : getIndexSignatureKeys(record, index.is.parameter, options));
|
|
@@ -9021,7 +9019,7 @@ function failSingleUnionCandidate(ast, cause, input, options) {
|
|
|
9021
9019
|
return fail3(new AnyOf(ast, [issue], input, options));
|
|
9022
9020
|
}
|
|
9023
9021
|
function catchSingleUnionCandidate(ast, result, input, options) {
|
|
9024
|
-
return
|
|
9022
|
+
return catchCause2(result, (cause) => failSingleUnionCandidate(ast, cause, input, options));
|
|
9025
9023
|
}
|
|
9026
9024
|
function parseUnionCandidates(ast, parser, candidates, input, options) {
|
|
9027
9025
|
const state = {
|
|
@@ -9672,7 +9670,7 @@ function compileTransformationUnsafe(transformation) {
|
|
|
9672
9670
|
}
|
|
9673
9671
|
}
|
|
9674
9672
|
var fromOptionalEffect = (effect) => flatMapEager2(effect, fromOptionExit);
|
|
9675
|
-
var wrapEncoding = (ast, input, options, effect) =>
|
|
9673
|
+
var wrapEncoding = (ast, input, options, effect) => catchCause2(effect, (cause) => failCauseSync2(() => map7(cause, (issue) => new Encoding(ast, issue, input, options))));
|
|
9676
9674
|
function makeConstructorParser(descriptor, compile) {
|
|
9677
9675
|
const transform = compileTransformation(descriptor.link.transformation);
|
|
9678
9676
|
let sourceParser;
|
|
@@ -9928,7 +9926,7 @@ function makeEffect(schema) {
|
|
|
9928
9926
|
function makeOption(schema) {
|
|
9929
9927
|
const parser = makeEffect(schema);
|
|
9930
9928
|
return (input, options) => {
|
|
9931
|
-
const exit =
|
|
9929
|
+
const exit = runSyncExit(parser(input, options));
|
|
9932
9930
|
if (isSuccess2(exit)) {
|
|
9933
9931
|
return some(exit.value);
|
|
9934
9932
|
}
|
|
@@ -9967,7 +9965,7 @@ function makeIs(ast) {
|
|
|
9967
9965
|
}
|
|
9968
9966
|
const parser = entry.parser;
|
|
9969
9967
|
return (input) => {
|
|
9970
|
-
const exit =
|
|
9968
|
+
const exit = runSyncExit(parserResult(parser(input, defaultParseOptions), input));
|
|
9971
9969
|
if (isSuccess2(exit))
|
|
9972
9970
|
return true;
|
|
9973
9971
|
getSchemaIssueOrThrow(exit.cause, "Type guard adapter can only return false for schema issues");
|
|
@@ -10035,7 +10033,7 @@ function runWithCompiler(compiler, ast) {
|
|
|
10035
10033
|
};
|
|
10036
10034
|
}
|
|
10037
10035
|
function asExit(parser) {
|
|
10038
|
-
return (input, options) =>
|
|
10036
|
+
return (input, options) => runSyncExit(parser(input, options));
|
|
10039
10037
|
}
|
|
10040
10038
|
function asOption(parser) {
|
|
10041
10039
|
const parserExit = asExit(parser);
|
|
@@ -10049,7 +10047,7 @@ function asOption(parser) {
|
|
|
10049
10047
|
};
|
|
10050
10048
|
}
|
|
10051
10049
|
function runSync3(effect, message) {
|
|
10052
|
-
const exit =
|
|
10050
|
+
const exit = runSyncExit(effect);
|
|
10053
10051
|
if (isSuccess2(exit)) {
|
|
10054
10052
|
return exit.value;
|
|
10055
10053
|
}
|
|
@@ -11713,7 +11711,7 @@ function fromIssueEffect(self) {
|
|
|
11713
11711
|
if (effectIsExit(self)) {
|
|
11714
11712
|
return fromIssueExit(self);
|
|
11715
11713
|
}
|
|
11716
|
-
return
|
|
11714
|
+
return catchCause2(self, (cause) => failCauseSync2(() => map7(cause, (issue) => new SchemaError(issue))));
|
|
11717
11715
|
}
|
|
11718
11716
|
function fromIssueExit(exit) {
|
|
11719
11717
|
return isSuccess2(exit) ? exit : failCause3(map7(exit.cause, (issue) => new SchemaError(issue)));
|
|
@@ -11736,7 +11734,7 @@ function getSchemaErrorOrThrow(cause, message) {
|
|
|
11736
11734
|
return schemaError;
|
|
11737
11735
|
}
|
|
11738
11736
|
function runSchemaErrorSync(self) {
|
|
11739
|
-
const exit =
|
|
11737
|
+
const exit = runSyncExit(self);
|
|
11740
11738
|
if (isSuccess2(exit)) {
|
|
11741
11739
|
return exit.value;
|
|
11742
11740
|
}
|
|
@@ -11849,7 +11847,7 @@ function makeTuple(ast, elements) {
|
|
|
11849
11847
|
}
|
|
11850
11848
|
});
|
|
11851
11849
|
}
|
|
11852
|
-
function
|
|
11850
|
+
function Tuple2(elements) {
|
|
11853
11851
|
return makeTuple(tuple(elements), elements);
|
|
11854
11852
|
}
|
|
11855
11853
|
var ArraySchema = /* @__PURE__ */ lambda((schema) => make19(new Arrays(false, [], [schema.ast]), {
|
|
@@ -11914,7 +11912,7 @@ function toIssueEffect(self) {
|
|
|
11914
11912
|
if (effectIsExit(self) && self._tag === "Success") {
|
|
11915
11913
|
return self;
|
|
11916
11914
|
}
|
|
11917
|
-
return
|
|
11915
|
+
return catchCause2(self, (cause) => failCauseSync2(() => map7(cause, (error) => error.issue)));
|
|
11918
11916
|
}
|
|
11919
11917
|
function withDecodingDefaultKey(defaultValue, options) {
|
|
11920
11918
|
const encode = options?.encodingStrategy === "omit" ? omit() : passthrough();
|
|
@@ -12528,7 +12526,7 @@ function Redacted(value2, options) {
|
|
|
12528
12526
|
decode: transform((e) => make4(e, {
|
|
12529
12527
|
label
|
|
12530
12528
|
})),
|
|
12531
|
-
encode: disallowJsonEncode ? forbidden((oe) => "Cannot serialize Redacted" + (
|
|
12529
|
+
encode: disallowJsonEncode ? forbidden((oe) => "Cannot serialize Redacted" + (isSome2(oe) && typeof oe.value.label === "string" ? ` with label: "${oe.value.label}"` : "")) : transform(value)
|
|
12532
12530
|
}),
|
|
12533
12531
|
toEquivalence: ([value2]) => makeEquivalence4(value2)
|
|
12534
12532
|
});
|
|
@@ -12898,7 +12896,6 @@ var exhaustive2 = exhaustive;
|
|
|
12898
12896
|
var await_ = fiberAwait;
|
|
12899
12897
|
var join2 = fiberJoin;
|
|
12900
12898
|
var interrupt2 = fiberInterrupt;
|
|
12901
|
-
var interruptAll = fiberInterruptAll;
|
|
12902
12899
|
var getCurrent = getCurrentFiber;
|
|
12903
12900
|
var runIn = fiberRunIn;
|
|
12904
12901
|
|
|
@@ -13435,13 +13432,13 @@ var ChannelProto = {
|
|
|
13435
13432
|
};
|
|
13436
13433
|
var fromTransform = (transform) => {
|
|
13437
13434
|
const self = Object.create(ChannelProto);
|
|
13438
|
-
self.transform = (upstream, scope) =>
|
|
13435
|
+
self.transform = (upstream, scope) => catchCause2(transform(upstream, scope), (cause) => succeed4(failCause(cause)));
|
|
13439
13436
|
return self;
|
|
13440
13437
|
};
|
|
13441
13438
|
var transformPull = (self, f) => fromTransform((upstream, scope) => flatMap3(toTransform(self)(upstream, scope), (pull) => f(pull, scope)));
|
|
13442
13439
|
var fromPull2 = (effect) => fromTransform((_, __) => effect);
|
|
13443
13440
|
var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream, scope) {
|
|
13444
|
-
const closableScope =
|
|
13441
|
+
const closableScope = forkUnsafe(scope);
|
|
13445
13442
|
const onCause = (cause) => close(closableScope, doneExitFromCause(cause));
|
|
13446
13443
|
const pull = yield* onError(f(upstream, scope, closableScope), onCause);
|
|
13447
13444
|
return onError(pull, onCause);
|
|
@@ -13451,7 +13448,7 @@ var DefaultChunkSize = 4096;
|
|
|
13451
13448
|
var asyncQueue = (scope, f, options) => make2({
|
|
13452
13449
|
capacity: options?.bufferSize,
|
|
13453
13450
|
strategy: options?.strategy
|
|
13454
|
-
}).pipe(tap((queue) => addFinalizer(scope, shutdown(queue))), tap((queue) =>
|
|
13451
|
+
}).pipe(tap((queue) => addFinalizer(scope, shutdown(queue))), tap((queue) => provide2(f(queue), scope).pipe(catchCause2((cause) => failCause4(queue, cause)), forkIn(scope, {
|
|
13455
13452
|
startImmediately: true
|
|
13456
13453
|
}))));
|
|
13457
13454
|
var callbackArray = (f, options) => fromTransform((_, scope) => map4(asyncQueue(scope, f, options), takeAll2));
|
|
@@ -13482,7 +13479,7 @@ var fromIteratorArray = (iterator, chunkSize = DefaultChunkSize) => {
|
|
|
13482
13479
|
};
|
|
13483
13480
|
var fromIterableArray = (iterable, chunkSize = DefaultChunkSize) => fromIteratorArray(() => iterable[Symbol.iterator](), chunkSize);
|
|
13484
13481
|
var succeed8 = (value) => fromEffect2(succeed4(value));
|
|
13485
|
-
var
|
|
13482
|
+
var empty10 = /* @__PURE__ */ fromPull2(/* @__PURE__ */ succeed4(/* @__PURE__ */ done()));
|
|
13486
13483
|
var fail10 = (error) => fromPull2(succeed4(fail5(error)));
|
|
13487
13484
|
var fromEffect2 = (effect) => fromPull2(sync(() => {
|
|
13488
13485
|
let done2 = false;
|
|
@@ -13556,13 +13553,13 @@ var mapEffectConcurrent = (self, f, options) => fromTransformBracket(fnUntraced(
|
|
|
13556
13553
|
return void_2;
|
|
13557
13554
|
}), forever({
|
|
13558
13555
|
disableYield: true
|
|
13559
|
-
}),
|
|
13556
|
+
}), catchCause2((cause) => semaphore.withPermits(concurrencyN - 1)(failCause4(queue, cause))), forkIn(forkedScope));
|
|
13560
13557
|
} else {
|
|
13561
13558
|
const effects = yield* bounded(concurrencyN - 2);
|
|
13562
13559
|
yield* addFinalizer(forkedScope, shutdown(effects));
|
|
13563
|
-
yield* take(effects).pipe(
|
|
13560
|
+
yield* take(effects).pipe(flatten, flatMap3((value) => offer(queue, value)), forever({
|
|
13564
13561
|
disableYield: true
|
|
13565
|
-
}),
|
|
13562
|
+
}), catchCause2((cause) => failCause4(queue, cause)), forkIn(forkedScope));
|
|
13566
13563
|
let errorCause;
|
|
13567
13564
|
const onExit = (exit) => {
|
|
13568
13565
|
if (exit._tag === "Success")
|
|
@@ -13580,7 +13577,7 @@ var mapEffectConcurrent = (self, f, options) => fromTransformBracket(fnUntraced(
|
|
|
13580
13577
|
return offer(effects, join2(fiber));
|
|
13581
13578
|
}), forever({
|
|
13582
13579
|
disableYield: true
|
|
13583
|
-
}),
|
|
13580
|
+
}), catchCause2((cause) => offer(effects, failCause3(cause)).pipe(andThen(failCause4(effects, cause)))), forkIn(forkedScope));
|
|
13584
13581
|
}
|
|
13585
13582
|
return take(queue);
|
|
13586
13583
|
}));
|
|
@@ -13589,7 +13586,7 @@ var flatMapSequential = (self, f) => fromTransform((upstream, scope) => map4(toT
|
|
|
13589
13586
|
let childPull;
|
|
13590
13587
|
let childScope;
|
|
13591
13588
|
const makePull = flatMap3(pull, (value) => {
|
|
13592
|
-
childScope ??=
|
|
13589
|
+
childScope ??= forkUnsafe(scope);
|
|
13593
13590
|
return flatMapEager2(toTransform(f(value))(upstream, childScope), (pull) => {
|
|
13594
13591
|
childPull = catchHalt(pull);
|
|
13595
13592
|
return childPull;
|
|
@@ -13669,7 +13666,7 @@ var mergeAll3 = /* @__PURE__ */ dual(2, (channels, {
|
|
|
13669
13666
|
}
|
|
13670
13667
|
}
|
|
13671
13668
|
const channel = pullFiber === undefined ? yield* pull : yield* join2(pullFiber);
|
|
13672
|
-
const childScope =
|
|
13669
|
+
const childScope = forkUnsafe(forkedScope);
|
|
13673
13670
|
const childPull = yield* toTransform(channel)(upstream, childScope);
|
|
13674
13671
|
while (fibers.size >= concurrencyN) {
|
|
13675
13672
|
const [fiber, fiberScope] = headUnsafe(fibers);
|
|
@@ -13698,7 +13695,7 @@ var mergeAll3 = /* @__PURE__ */ dual(2, (channels, {
|
|
|
13698
13695
|
doneLatch.closeUnsafe();
|
|
13699
13696
|
fibers.set(fiber, childScope);
|
|
13700
13697
|
}
|
|
13701
|
-
}).pipe(
|
|
13698
|
+
}).pipe(catchCause2((cause) => {
|
|
13702
13699
|
const halt = filterDone(cause);
|
|
13703
13700
|
if (isSuccess(halt)) {
|
|
13704
13701
|
return doneLatch.whenOpen(failCause4(queue, cause));
|
|
@@ -13734,8 +13731,8 @@ var merge4 = /* @__PURE__ */ dual((args) => isChannel(args[0]) && isChannel(args
|
|
|
13734
13731
|
onFailure: (cause) => onExit(side, cause),
|
|
13735
13732
|
onSuccess: () => onExit(side, cause)
|
|
13736
13733
|
}))), forkIn(forkedScope));
|
|
13737
|
-
yield* runSide("left", left,
|
|
13738
|
-
yield* runSide("right", right,
|
|
13734
|
+
yield* runSide("left", left, forkUnsafe(forkedScope));
|
|
13735
|
+
yield* runSide("right", right, forkUnsafe(forkedScope));
|
|
13739
13736
|
return take(queue);
|
|
13740
13737
|
})));
|
|
13741
13738
|
var mergeEffect = /* @__PURE__ */ dual(2, (self, effect) => merge4(self, fromEffectDrain(effect), {
|
|
@@ -13835,15 +13832,15 @@ var decodeText2 = (encoding, options) => fromTransform((upstream, _scope) => syn
|
|
|
13835
13832
|
var pipeTo = /* @__PURE__ */ dual(2, (self, that) => fromTransform((upstream, scope) => flatMap3(toTransform(self)(upstream, scope), (upstream) => toTransform(that)(upstream, scope))));
|
|
13836
13833
|
var isUpstreamFailure = (reason) => reason._tag === "Die" && isDone3(reason.defect) && isCause2(reason.defect.value);
|
|
13837
13834
|
var hasUpstreamFailure = (cause) => cause.reasons.some(isUpstreamFailure);
|
|
13838
|
-
var upstreamFailureToDefect = (pull) =>
|
|
13835
|
+
var upstreamFailureToDefect = (pull) => catchCause2(pull, (cause) => isDoneCause(cause) ? failCause(cause) : die(Done(cause)));
|
|
13839
13836
|
var unwrapUpstreamFailure = (cause) => hasUpstreamFailure(cause) ? fromReasons(cause.reasons.flatMap((reason) => isUpstreamFailure(reason) ? reason.defect.value.reasons : [reason])) : cause;
|
|
13840
|
-
var restoreUpstreamFailure = (effect) =>
|
|
13837
|
+
var restoreUpstreamFailure = (effect) => catchCause2(effect, (cause) => failCause(unwrapUpstreamFailure(cause)));
|
|
13841
13838
|
var unwrap = (channel) => fromTransform((upstream, scope) => {
|
|
13842
13839
|
let pull;
|
|
13843
13840
|
return succeed4(suspend(() => {
|
|
13844
13841
|
if (pull)
|
|
13845
13842
|
return pull;
|
|
13846
|
-
return channel.pipe(
|
|
13843
|
+
return channel.pipe(provide2(scope), flatMap3((channel) => toTransform(channel)(upstream, scope)), flatMap3((pull_) => pull = pull_));
|
|
13847
13844
|
}));
|
|
13848
13845
|
});
|
|
13849
13846
|
var interruptWhen = /* @__PURE__ */ dual(2, (self, effect) => merge4(self, fromPull2(succeed4(flatMap3(effect, done))), {
|
|
@@ -13859,7 +13856,7 @@ var runWith = (self, f, onHalt) => suspend(() => {
|
|
|
13859
13856
|
var runDrain2 = (self) => runWith(self, (pull) => forever(pull, {
|
|
13860
13857
|
disableYield: true
|
|
13861
13858
|
}));
|
|
13862
|
-
var
|
|
13859
|
+
var runForEach = /* @__PURE__ */ dual(2, (self, f) => runWith(self, (pull) => forever(flatMap3(pull, f), {
|
|
13863
13860
|
disableYield: true
|
|
13864
13861
|
})));
|
|
13865
13862
|
var mkUint8Array = (self) => map4(runFold(self, () => ({
|
|
@@ -13929,7 +13926,7 @@ var fromPull = (pull) => fromChannel(fromPull2(pull));
|
|
|
13929
13926
|
var transformPull2 = (self, f) => fromChannel(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
|
|
13930
13927
|
var toChannel = (stream) => stream.channel;
|
|
13931
13928
|
var callback2 = (f, options) => fromChannel(callbackArray(f, options));
|
|
13932
|
-
var
|
|
13929
|
+
var empty4 = /* @__PURE__ */ fromChannel(empty10);
|
|
13933
13930
|
var suspend3 = (stream) => {
|
|
13934
13931
|
const suspended = fromChannel(suspend5(() => stream().channel));
|
|
13935
13932
|
suspendedStreams.set(suspended, stream);
|
|
@@ -13938,7 +13935,7 @@ var suspend3 = (stream) => {
|
|
|
13938
13935
|
var suspendedStreams = /* @__PURE__ */ new WeakMap;
|
|
13939
13936
|
var fail6 = (error) => fromChannel(fail10(error));
|
|
13940
13937
|
var fromIterable2 = (iterable, options) => Array.isArray(iterable) && options?.chunkSize === undefined ? fromArray2(iterable) : fromChannel(fromIterableArray(iterable, options?.chunkSize));
|
|
13941
|
-
var fromArray2 = (array) => isReadonlyArrayNonEmpty(array) ? fromChannel(succeed8(array)) :
|
|
13938
|
+
var fromArray2 = (array) => isReadonlyArrayNonEmpty(array) ? fromChannel(succeed8(array)) : empty4;
|
|
13942
13939
|
var fromReadableStream2 = (options) => fromChannel(fromReadableStream(options));
|
|
13943
13940
|
var paginate = (s, f) => fromPull(sync(() => {
|
|
13944
13941
|
let state = s;
|
|
@@ -13999,7 +13996,7 @@ var runCollect = (self) => runFold(self.channel, () => [], (acc, chunk) => {
|
|
|
13999
13996
|
return acc;
|
|
14000
13997
|
});
|
|
14001
13998
|
var runHead = (self) => map4(runHead2(self.channel), map(getUnsafe2(0)));
|
|
14002
|
-
var
|
|
13999
|
+
var runForEach2 = /* @__PURE__ */ dual(2, (self, f) => runForEach(self.channel, (arr) => {
|
|
14003
14000
|
let i = 0;
|
|
14004
14001
|
return whileLoop2({
|
|
14005
14002
|
while: () => i < arr.length,
|
|
@@ -14019,7 +14016,7 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
|
|
|
14019
14016
|
const onAbort = () => fiber.interruptUnsafe();
|
|
14020
14017
|
return new ReadableStream({
|
|
14021
14018
|
start(controller) {
|
|
14022
|
-
fiber = runFork(provideContext(
|
|
14019
|
+
fiber = runFork(provideContext(runForEach(transformPull(self.channel, (pull) => succeed4(latch.whenOpen(pull))), (chunk) => sync(() => {
|
|
14023
14020
|
latch.closeUnsafe();
|
|
14024
14021
|
for (let i = 0;i < chunk.length; i++) {
|
|
14025
14022
|
controller.enqueue(chunk[i]);
|
|
@@ -14056,7 +14053,7 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
|
|
|
14056
14053
|
if (!fiber)
|
|
14057
14054
|
return;
|
|
14058
14055
|
cancelled = true;
|
|
14059
|
-
return
|
|
14056
|
+
return runPromise(asVoid2(interrupt2(fiber)));
|
|
14060
14057
|
}
|
|
14061
14058
|
}, options?.strategy);
|
|
14062
14059
|
});
|
|
@@ -14237,7 +14234,7 @@ class Empty2 extends Proto8 {
|
|
|
14237
14234
|
};
|
|
14238
14235
|
}
|
|
14239
14236
|
}
|
|
14240
|
-
var
|
|
14237
|
+
var empty5 = /* @__PURE__ */ new Empty2;
|
|
14241
14238
|
class Uint8Array3 extends Proto8 {
|
|
14242
14239
|
_tag = "Uint8Array";
|
|
14243
14240
|
contentType;
|
|
@@ -14407,8 +14404,8 @@ function makeWith(method, url, urlParams, hash, headers, body) {
|
|
|
14407
14404
|
self.body = body;
|
|
14408
14405
|
return self;
|
|
14409
14406
|
}
|
|
14410
|
-
var
|
|
14411
|
-
var make24 = (method) => (url, options) => modify(
|
|
14407
|
+
var empty11 = /* @__PURE__ */ makeWith("GET", "", empty3, /* @__PURE__ */ none(), empty2, empty5);
|
|
14408
|
+
var make24 = (method) => (url, options) => modify(empty11, {
|
|
14412
14409
|
method,
|
|
14413
14410
|
url,
|
|
14414
14411
|
...options ?? undefined
|
|
@@ -14743,7 +14740,7 @@ class WebHttpClientResponse extends Class2 {
|
|
|
14743
14740
|
cause
|
|
14744
14741
|
})
|
|
14745
14742
|
})
|
|
14746
|
-
}).pipe(cached,
|
|
14743
|
+
}).pipe(cached, runSync);
|
|
14747
14744
|
}
|
|
14748
14745
|
arrayBufferBody;
|
|
14749
14746
|
get arrayBuffer() {
|
|
@@ -14759,7 +14756,7 @@ class WebHttpClientResponse extends Class2 {
|
|
|
14759
14756
|
cause
|
|
14760
14757
|
})
|
|
14761
14758
|
})
|
|
14762
|
-
}).pipe(cached,
|
|
14759
|
+
}).pipe(cached, runSync);
|
|
14763
14760
|
return this.arrayBufferBody;
|
|
14764
14761
|
}
|
|
14765
14762
|
get upgrade() {
|
|
@@ -15177,7 +15174,7 @@ var fetch = /* @__PURE__ */ make25((request, url, signal, fiber) => {
|
|
|
15177
15174
|
return send(undefined);
|
|
15178
15175
|
});
|
|
15179
15176
|
var layer2 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed4(fetch));
|
|
15180
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15177
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/_virtual/_rolldown/runtime.js
|
|
15181
15178
|
var __defProp = Object.defineProperty;
|
|
15182
15179
|
var __exportAll3 = (all, no_symbols) => {
|
|
15183
15180
|
let target = {};
|
|
@@ -15191,7 +15188,7 @@ var __exportAll3 = (all, no_symbols) => {
|
|
|
15191
15188
|
return target;
|
|
15192
15189
|
};
|
|
15193
15190
|
|
|
15194
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15191
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/DefinitionError.js
|
|
15195
15192
|
var DefinitionIdentifierKindSchema = Literals([
|
|
15196
15193
|
"dual",
|
|
15197
15194
|
"plugin",
|
|
@@ -15243,7 +15240,7 @@ var DuplicateAuthMethodIdentifierError = class extends TaggedError2()("Duplicate
|
|
|
15243
15240
|
}) {
|
|
15244
15241
|
};
|
|
15245
15242
|
|
|
15246
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15243
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/identifier.js
|
|
15247
15244
|
var identifierSchema = String3.check(isPattern(/^[a-z0-9]+(?:-[a-z0-9]+)*$/));
|
|
15248
15245
|
var isIdentifier = is(identifierSchema);
|
|
15249
15246
|
var validateIdentifier = (kind, identifier) => {
|
|
@@ -15268,12 +15265,12 @@ var validateIdentifier = (kind, identifier) => {
|
|
|
15268
15265
|
});
|
|
15269
15266
|
};
|
|
15270
15267
|
|
|
15271
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15268
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/proto.js
|
|
15272
15269
|
var PipeableProto = { pipe() {
|
|
15273
15270
|
return pipeArguments(this, arguments);
|
|
15274
15271
|
} };
|
|
15275
15272
|
|
|
15276
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15273
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Action.js
|
|
15277
15274
|
var Action_exports = /* @__PURE__ */ __exportAll3({
|
|
15278
15275
|
ActionHandlerError: () => ActionHandlerError,
|
|
15279
15276
|
RetryableActionHandlerError: () => RetryableActionHandlerError,
|
|
@@ -15386,7 +15383,7 @@ var make26 = (identifier, options) => {
|
|
|
15386
15383
|
};
|
|
15387
15384
|
var isAction = (u) => hasProperty(u, TypeId29);
|
|
15388
15385
|
|
|
15389
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15386
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AuthMethodBinding.js
|
|
15390
15387
|
var makeBinding = (options) => ({
|
|
15391
15388
|
connectionId: options.connectionId,
|
|
15392
15389
|
method: options.method,
|
|
@@ -15396,7 +15393,7 @@ var makeBinding = (options) => ({
|
|
|
15396
15393
|
});
|
|
15397
15394
|
var isBindingForMethod = (binding, method) => binding.method === method;
|
|
15398
15395
|
|
|
15399
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15396
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/OAuth2TokenRefresher.js
|
|
15400
15397
|
var OAuth2TokenRefresher_exports = /* @__PURE__ */ __exportAll3({
|
|
15401
15398
|
OAuth2TokenRefresher: () => OAuth2TokenRefresher_exports,
|
|
15402
15399
|
Service: () => Service
|
|
@@ -15404,7 +15401,7 @@ var OAuth2TokenRefresher_exports = /* @__PURE__ */ __exportAll3({
|
|
|
15404
15401
|
var Service = class extends Service3()("@dual-os/sdk/AuthMethod/OAuth2TokenRefresher") {
|
|
15405
15402
|
};
|
|
15406
15403
|
|
|
15407
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15404
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AuthMethodExecution.js
|
|
15408
15405
|
var hookError = (methodIdentifier, operation, cause) => new AuthMethodHookError({
|
|
15409
15406
|
cause,
|
|
15410
15407
|
methodIdentifier,
|
|
@@ -15566,7 +15563,7 @@ var test = (method, material, context) => {
|
|
|
15566
15563
|
return decodeMaterial(method, material).pipe(flatMap3((decodedMaterial) => testHook === undefined ? succeed4({ ok: true }) : runHook(impl.identifier, "test", () => testHook(decodedMaterial, hookContext(context)))));
|
|
15567
15564
|
};
|
|
15568
15565
|
|
|
15569
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15566
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AuthMethod.js
|
|
15570
15567
|
var AuthMethod_exports = /* @__PURE__ */ __exportAll3({
|
|
15571
15568
|
AuthMethodHookError: () => AuthMethodHookError,
|
|
15572
15569
|
AuthMethodHookOperation: () => AuthMethodHookOperation,
|
|
@@ -15739,7 +15736,7 @@ var oauth2 = (identifier, options) => {
|
|
|
15739
15736
|
});
|
|
15740
15737
|
};
|
|
15741
15738
|
var isAuthMethod = (u) => hasProperty(u, TypeId30);
|
|
15742
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15739
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/handler-context.js
|
|
15743
15740
|
var groupKeyPrefix = "@dual-os/sdk/Plugin/Handlers/";
|
|
15744
15741
|
var handlerGroupKey = (pluginId) => `${groupKeyPrefix}${pluginId}`;
|
|
15745
15742
|
var isGroupKey = startsWith(groupKeyPrefix);
|
|
@@ -15760,13 +15757,13 @@ var findHandler = (context, providerId, handlerKey) => {
|
|
|
15760
15757
|
return isMap(group) ? group.get(handlerKey) : undefined;
|
|
15761
15758
|
};
|
|
15762
15759
|
|
|
15763
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15760
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/schema-runtime.js
|
|
15764
15761
|
function decodeJson(schema, value) {
|
|
15765
15762
|
return decodeUnknownEffect(toCodecJson2(schema))(value);
|
|
15766
15763
|
}
|
|
15767
15764
|
var decodeJsonMapError = (schema, value, mapError2) => decodeJson(schema, value).pipe(mapError(mapError2));
|
|
15768
15765
|
|
|
15769
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15766
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/ConnectionResolver.js
|
|
15770
15767
|
var ConnectionIdNotAllowedError = class extends TaggedError2()("ConnectionIdNotAllowedError", {
|
|
15771
15768
|
connectionId: String3,
|
|
15772
15769
|
phase: optional(String3),
|
|
@@ -15862,7 +15859,7 @@ var ConnectionResolverStoreError = class extends TaggedError2()("ConnectionResol
|
|
|
15862
15859
|
var Service2 = class extends Service3()("@dual-os/sdk/ConnectionResolver") {
|
|
15863
15860
|
};
|
|
15864
15861
|
|
|
15865
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15862
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/auth-execution.js
|
|
15866
15863
|
var knownAuthMethodIds = (methods) => methods.map((method) => method.identifier);
|
|
15867
15864
|
var fullAuthMethodId = (providerId, method) => `${providerId}/${method.identifier}`;
|
|
15868
15865
|
var findMethod = (providerId, methods, methodId) => methods.find((method) => method.identifier === methodId || fullAuthMethodId(providerId, method) === methodId);
|
|
@@ -15922,7 +15919,7 @@ var resolveRuntimeConnection = (targetKind, targetId, phase, providerId, methods
|
|
|
15922
15919
|
});
|
|
15923
15920
|
});
|
|
15924
15921
|
|
|
15925
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
15922
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/trigger-runtime-shared.js
|
|
15926
15923
|
var decodeConfig = (triggerId, schema, value) => decodeJsonMapError(schema, value, (error) => new InvalidTriggerConfigError({
|
|
15927
15924
|
description: error.message,
|
|
15928
15925
|
triggerId
|
|
@@ -16057,7 +16054,7 @@ var withRuntimeContext = (entry, phase, connectionId, context2, run) => {
|
|
|
16057
16054
|
return resolveRuntimeConnection("trigger", entry.triggerId, phase, entry.providerId, requiredAuthMethods, connectionId, context2).pipe(flatMap3((binding) => run(runtimeContext(authRuntimeContext(binding)))));
|
|
16058
16055
|
};
|
|
16059
16056
|
|
|
16060
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16057
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/trigger-runtime.js
|
|
16061
16058
|
var runPhase = (options) => gen(function* () {
|
|
16062
16059
|
const { entry, phase, request } = options;
|
|
16063
16060
|
const runtime = yield* options.hook;
|
|
@@ -16141,7 +16138,7 @@ var poll2 = (entry, request) => runPhase({
|
|
|
16141
16138
|
request
|
|
16142
16139
|
});
|
|
16143
16140
|
|
|
16144
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16141
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Trigger.js
|
|
16145
16142
|
var Trigger_exports = /* @__PURE__ */ __exportAll3({
|
|
16146
16143
|
InvalidTriggerConfigError: () => InvalidTriggerConfigError,
|
|
16147
16144
|
InvalidTriggerOutputError: () => InvalidTriggerOutputError,
|
|
@@ -16353,10 +16350,10 @@ var verify2 = verify;
|
|
|
16353
16350
|
var parse3 = parse2;
|
|
16354
16351
|
var poll3 = poll2;
|
|
16355
16352
|
|
|
16356
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16353
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/collection-utils.js
|
|
16357
16354
|
var appendElements = (existing, additions) => [...existing, ...additions];
|
|
16358
16355
|
|
|
16359
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16356
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/children.js
|
|
16360
16357
|
var partitionChildren = (children) => ({
|
|
16361
16358
|
actions: children.filter(isAction),
|
|
16362
16359
|
groups: children.filter(isGroup),
|
|
@@ -16396,7 +16393,7 @@ var assertUniqueMixedChildIdentifiers = (ownerKind, ownerIdentifier, existing, a
|
|
|
16396
16393
|
assertAdditions(ownerKind, ownerIdentifier, seenChildren(existing), additions.map((addition) => [addition, childKind(addition)]));
|
|
16397
16394
|
};
|
|
16398
16395
|
|
|
16399
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16396
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Group.js
|
|
16400
16397
|
var Group_exports = /* @__PURE__ */ __exportAll3({
|
|
16401
16398
|
TypeId: () => TypeId32,
|
|
16402
16399
|
add: () => add4,
|
|
@@ -16458,7 +16455,7 @@ var withAction = dual(2, (value, action) => appendChildren(value, [action], "act
|
|
|
16458
16455
|
var withTrigger = dual(2, (value, trigger) => appendChildren(value, [trigger], "trigger"));
|
|
16459
16456
|
var add4 = dual((args) => isGroup(args[0]), (group, ...children) => appendChildren(group, children));
|
|
16460
16457
|
|
|
16461
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16458
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/ToolFile.js
|
|
16462
16459
|
var Schema = TaggedStruct("ToolFile", {
|
|
16463
16460
|
contentBase64: String3.annotate({
|
|
16464
16461
|
contentEncoding: "base64",
|
|
@@ -16469,7 +16466,7 @@ var Schema = TaggedStruct("ToolFile", {
|
|
|
16469
16466
|
sizeBytes: Natural
|
|
16470
16467
|
});
|
|
16471
16468
|
|
|
16472
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16469
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AgentChannel.js
|
|
16473
16470
|
var Key3 = NonEmptyString.check(isMaxLength(512), isPattern(/^[^\p{Cc}]+$/u));
|
|
16474
16471
|
var OperationKind = Literals([
|
|
16475
16472
|
"present_outcome",
|
|
@@ -16558,7 +16555,7 @@ var VerifiedIdentity = Struct({
|
|
|
16558
16555
|
var AccessOutcome = Struct({ decision: Literals(["allow", "deny"]) });
|
|
16559
16556
|
var Verification = Struct({ verified: Literal(true) });
|
|
16560
16557
|
var Exposure = Literals(["webhook", "host"]);
|
|
16561
|
-
var RequiredChecks =
|
|
16558
|
+
var RequiredChecks = Tuple2([Literal("access")]);
|
|
16562
16559
|
var Message = Struct({
|
|
16563
16560
|
content: Content,
|
|
16564
16561
|
conversation: Destination,
|
|
@@ -16955,7 +16952,7 @@ var validateDefinition = (definition, providerId, methods) => {
|
|
|
16955
16952
|
}
|
|
16956
16953
|
};
|
|
16957
16954
|
|
|
16958
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16955
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/auth-runtime.js
|
|
16959
16956
|
var assertNoDuplicateAuthMethodIdentifiers = (providerIdentifier, methods) => {
|
|
16960
16957
|
const seen = /* @__PURE__ */ new Set;
|
|
16961
16958
|
for (const method of methods) {
|
|
@@ -16968,7 +16965,7 @@ var assertNoDuplicateAuthMethodIdentifiers = (providerIdentifier, methods) => {
|
|
|
16968
16965
|
}
|
|
16969
16966
|
};
|
|
16970
16967
|
|
|
16971
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16968
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/capabilities.js
|
|
16972
16969
|
var walkCapabilities = (provider, select) => {
|
|
16973
16970
|
const entries = [];
|
|
16974
16971
|
const visit = (owner, prefix) => {
|
|
@@ -16987,7 +16984,7 @@ var walkCapabilities = (provider, select) => {
|
|
|
16987
16984
|
return entries;
|
|
16988
16985
|
};
|
|
16989
16986
|
|
|
16990
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
16987
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/plugin-handlers.js
|
|
16991
16988
|
var missingDeclaration = (kind, localId, pluginId) => {
|
|
16992
16989
|
throw new Error(`missing ${kind} handler for "${localId}" in plugin "${pluginId}"`);
|
|
16993
16990
|
};
|
|
@@ -17032,7 +17029,7 @@ var toHandlers = (plugin, handlers) => gen(function* () {
|
|
|
17032
17029
|
return makeUnsafe(/* @__PURE__ */ new Map([[handlerGroupKey(plugin.identifier), map]]));
|
|
17033
17030
|
});
|
|
17034
17031
|
|
|
17035
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17032
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Plugin.js
|
|
17036
17033
|
var Plugin_exports = /* @__PURE__ */ __exportAll3({
|
|
17037
17034
|
TypeId: () => TypeId33,
|
|
17038
17035
|
add: () => add5,
|
|
@@ -17040,7 +17037,7 @@ var Plugin_exports = /* @__PURE__ */ __exportAll3({
|
|
|
17040
17037
|
isGitRequest: () => isGitRequest,
|
|
17041
17038
|
isPlugin: () => isPlugin,
|
|
17042
17039
|
make: () => make6,
|
|
17043
|
-
provide: () =>
|
|
17040
|
+
provide: () => provide4,
|
|
17044
17041
|
toLayer: () => toLayer2,
|
|
17045
17042
|
withAction: () => withAction2,
|
|
17046
17043
|
withAgentChannel: () => withAgentChannel,
|
|
@@ -17115,7 +17112,7 @@ var make6 = (identifier) => makePlugin({
|
|
|
17115
17112
|
iconUrl: undefined,
|
|
17116
17113
|
iconUrlDark: undefined,
|
|
17117
17114
|
identifier,
|
|
17118
|
-
layer:
|
|
17115
|
+
layer: empty7,
|
|
17119
17116
|
name: undefined,
|
|
17120
17117
|
sandboxAccess: undefined,
|
|
17121
17118
|
triggers: []
|
|
@@ -17165,7 +17162,7 @@ var withAgentChannel = (channel) => (plugin) => {
|
|
|
17165
17162
|
validateDefinition(channel.definition, plugin.identifier, plugin.authMethods);
|
|
17166
17163
|
return update2(plugin, { agentChannels: [...plugin.agentChannels, channel] });
|
|
17167
17164
|
};
|
|
17168
|
-
var
|
|
17165
|
+
var provide4 = dual(2, (plugin, layer) => update2(plugin, { layer: provideMerge(plugin.layer, layer) }));
|
|
17169
17166
|
var makeHandlers = (actions, triggers, agentChannels = {}) => ({
|
|
17170
17167
|
action: (name, handler) => makeHandlers({
|
|
17171
17168
|
...actions,
|
|
@@ -17203,7 +17200,7 @@ var toLayer2 = (plugin, build) => effectContext(gen(function* () {
|
|
|
17203
17200
|
return yield* toHandlers(plugin, handlers);
|
|
17204
17201
|
}));
|
|
17205
17202
|
|
|
17206
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17203
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AgentChannelRuntime.js
|
|
17207
17204
|
var ConnectionContext = Struct({
|
|
17208
17205
|
actor: optionalKey(Union([Struct({
|
|
17209
17206
|
kind: Literal("user"),
|
|
@@ -17241,7 +17238,7 @@ var AccessInput = Struct({
|
|
|
17241
17238
|
var Service5 = class extends Service3()("@dual-os/sdk/AgentChannelRuntime") {
|
|
17242
17239
|
};
|
|
17243
17240
|
var fail11 = (code) => new ChannelError({ code });
|
|
17244
|
-
var safe = (effect2, code) => effect2.pipe(
|
|
17241
|
+
var safe = (effect2, code) => effect2.pipe(catchCause2((cause) => hasInterrupts(cause) ? interrupt : fail5(fail11(code))));
|
|
17245
17242
|
var AssetResultJson = Json.check(makeFilter((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= 14680064));
|
|
17246
17243
|
var Json3 = Json.check(makeFilter((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= resultByteLimit));
|
|
17247
17244
|
var strict = { onExcessProperty: "error" };
|
|
@@ -17257,11 +17254,11 @@ var decodeData = fn("AgentChannelRuntime.decodeData")(function* (schema, input,
|
|
|
17257
17254
|
var invokeHandler = (handler, effect2) => effect2.pipe(provideContext(handler.context), catch_((error) => decode4(TaggedStruct("AgentChannelHandlerError", { code: FailureCode }), isObject(error) ? { ...error } : error, "provider_failure").pipe(flatMap3((checked) => fail5(new ChannelError({
|
|
17258
17255
|
code: "provider_failure",
|
|
17259
17256
|
providerCode: checked.code
|
|
17260
|
-
}))))),
|
|
17257
|
+
}))))), catchCause2((cause) => {
|
|
17261
17258
|
if (hasInterrupts(cause))
|
|
17262
17259
|
return interrupt;
|
|
17263
17260
|
const error = findErrorOption2(cause);
|
|
17264
|
-
return
|
|
17261
|
+
return isSome2(error) && error.value instanceof ChannelError ? fail5(error.value) : fail5(fail11("provider_failure"));
|
|
17265
17262
|
}));
|
|
17266
17263
|
var checkExtensions = fn("AgentChannelRuntime.checkExtensions")(function* (definition, extensions, code) {
|
|
17267
17264
|
for (const [key, value] of Object.entries(extensions ?? {})) {
|
|
@@ -17487,7 +17484,7 @@ var layer4 = (plugins) => effect(Service5, gen(function* () {
|
|
|
17487
17484
|
});
|
|
17488
17485
|
}));
|
|
17489
17486
|
|
|
17490
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17487
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/AiProvider.js
|
|
17491
17488
|
var TypeId34 = "@dual-os/sdk/AiProvider";
|
|
17492
17489
|
var RuntimeConfig = Struct({
|
|
17493
17490
|
apiKey: optional(String3),
|
|
@@ -17545,7 +17542,7 @@ var withAuthMethods2 = dual(2, (provider, methods) => {
|
|
|
17545
17542
|
var withAuthMethod2 = dual(2, (provider, method) => withAuthMethods2(provider, [method]));
|
|
17546
17543
|
var withRuntimeConfig = dual(2, (provider, resolve) => makeProvider2(optionsFromProvider(provider), provider.authMethods, resolve));
|
|
17547
17544
|
|
|
17548
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17545
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/dual/actions.js
|
|
17549
17546
|
var entriesOf = (installation) => walkCapabilities(installation.plugin, (owner) => owner.actions).map(({ localId, canonicalId, node }) => ({
|
|
17550
17547
|
action: node,
|
|
17551
17548
|
actionId: canonicalId,
|
|
@@ -17566,7 +17563,7 @@ var resolveAction = (installations, actionId, version) => {
|
|
|
17566
17563
|
return entry === undefined || version !== undefined && entry.pluginVersion !== version ? undefined : entry;
|
|
17567
17564
|
};
|
|
17568
17565
|
|
|
17569
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17566
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/dual/triggers.js
|
|
17570
17567
|
var entriesOf2 = (installation) => walkCapabilities(installation.plugin, (owner) => owner.triggers).map((walked) => ({
|
|
17571
17568
|
authMethods: installation.plugin.authMethods,
|
|
17572
17569
|
localId: walked.localId,
|
|
@@ -17587,7 +17584,7 @@ var resolveRuntimeTrigger = (installations, triggerId, version) => {
|
|
|
17587
17584
|
return entry === undefined || version !== undefined && entry.pluginVersion !== version ? undefined : entry;
|
|
17588
17585
|
};
|
|
17589
17586
|
|
|
17590
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17587
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/dual/registry.js
|
|
17591
17588
|
var authMethodId = (providerId, methodId) => `${providerId}/${methodId}`;
|
|
17592
17589
|
var schemaJson = (schema) => toJsonSchemaDocument2(schema, { onExcessProperty: "error" });
|
|
17593
17590
|
var authMethodMetadataJson = (method) => {
|
|
@@ -17746,7 +17743,7 @@ var materializeResolvedRegistry = (input) => {
|
|
|
17746
17743
|
};
|
|
17747
17744
|
};
|
|
17748
17745
|
|
|
17749
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17746
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/DualRegistry.js
|
|
17750
17747
|
var TriggerNotFoundError = class extends TaggedError2()("TriggerNotFoundError", { triggerId: String3 }) {
|
|
17751
17748
|
};
|
|
17752
17749
|
var materializePlugin = (plugin, options) => ({
|
|
@@ -17765,7 +17762,7 @@ var materializePlugin = (plugin, options) => ({
|
|
|
17765
17762
|
}).providers
|
|
17766
17763
|
});
|
|
17767
17764
|
|
|
17768
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17765
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/internal/dual/invoke.js
|
|
17769
17766
|
var FieldIssue = class extends Class4("FieldIssue")({
|
|
17770
17767
|
message: String3,
|
|
17771
17768
|
path: String3
|
|
@@ -17838,7 +17835,7 @@ var invokeResolvedActionJson = (providerId, actionId, pluginVersion, action, aut
|
|
|
17838
17835
|
fields: schemaErrorFields(error)
|
|
17839
17836
|
}))));
|
|
17840
17837
|
|
|
17841
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
17838
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/DualRuntime.js
|
|
17842
17839
|
var install = (plugin, version) => ({
|
|
17843
17840
|
plugin,
|
|
17844
17841
|
version
|
|
@@ -18042,7 +18039,7 @@ var toLayer = (app) => {
|
|
|
18042
18039
|
})).pipe(provide(layer4(app.plugins.map((installation) => installation.plugin))), provide(app.layer));
|
|
18043
18040
|
};
|
|
18044
18041
|
|
|
18045
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
18042
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/Files.js
|
|
18046
18043
|
var File4 = TaggedStruct("File", {
|
|
18047
18044
|
contentType: String3,
|
|
18048
18045
|
id: NonEmptyString,
|
|
@@ -18064,7 +18061,7 @@ var write = fnUntraced(function* (file) {
|
|
|
18064
18061
|
return yield* (yield* service3).write(file);
|
|
18065
18062
|
});
|
|
18066
18063
|
|
|
18067
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
18064
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/OAuthFlow.js
|
|
18068
18065
|
var OAuthConnectionValidationFailed = class extends TaggedError2()("OAuthConnectionValidationFailed", {
|
|
18069
18066
|
cause: optionalKey(Redacted(Defect())),
|
|
18070
18067
|
message: String3
|
|
@@ -18122,7 +18119,7 @@ var ReservedTokenHeaders = fromIterable4([
|
|
|
18122
18119
|
]);
|
|
18123
18120
|
var TokenHeaders = Record(String3, String3.check(isPattern(/^[\t\x20-\x7e\x80-\xff]*$/u))).check(makeFilter((headers) => {
|
|
18124
18121
|
const names = map3(keys(headers), toLowerCase);
|
|
18125
|
-
return size3(fromIterable4(names)) === names.length && every(names, (name) => /^[!#$%&'*+.^_`|~0-9a-z-]+$/u.test(name) && !
|
|
18122
|
+
return size3(fromIterable4(names)) === names.length && every(names, (name) => /^[!#$%&'*+.^_`|~0-9a-z-]+$/u.test(name) && !has4(ReservedTokenHeaders, name) && !startsWith("proxy-")(name) && !startsWith("sec-")(name));
|
|
18126
18123
|
}, { message: "Invalid provider token headers" }));
|
|
18127
18124
|
Struct({
|
|
18128
18125
|
authorizationParams: Record(String3, String3),
|
|
@@ -18480,8 +18477,8 @@ var oauth2TokenRefresherLayer = effect(Service, gen(function* () {
|
|
|
18480
18477
|
}).pipe(map4((refreshed) => refreshed.tokens)) });
|
|
18481
18478
|
}));
|
|
18482
18479
|
|
|
18483
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
18484
|
-
var
|
|
18480
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/remote-runtime.js
|
|
18481
|
+
var Identity = Struct({
|
|
18485
18482
|
artifactDigest: String3.check(isPattern(/^[a-f0-9]{128}$/u)),
|
|
18486
18483
|
invocationId: NonEmptyString,
|
|
18487
18484
|
organizationId: NonEmptyString,
|
|
@@ -18567,7 +18564,7 @@ var Request3 = Struct({
|
|
|
18567
18564
|
connection: optionalKey(connection),
|
|
18568
18565
|
context: context3,
|
|
18569
18566
|
files: optionalKey(FileAccess),
|
|
18570
|
-
identity:
|
|
18567
|
+
identity: Identity,
|
|
18571
18568
|
operation: Operation2
|
|
18572
18569
|
});
|
|
18573
18570
|
var RuntimeFailure = Struct({
|
|
@@ -18595,11 +18592,11 @@ var Failure = Union([
|
|
|
18595
18592
|
RuntimeFailure
|
|
18596
18593
|
]);
|
|
18597
18594
|
var Response = Union([TaggedStruct("success", {
|
|
18598
|
-
identity:
|
|
18595
|
+
identity: Identity,
|
|
18599
18596
|
value: optionalKey(Json)
|
|
18600
18597
|
}), TaggedStruct("failure", {
|
|
18601
18598
|
error: Failure,
|
|
18602
|
-
identity:
|
|
18599
|
+
identity: Identity
|
|
18603
18600
|
})]);
|
|
18604
18601
|
function failure(error) {
|
|
18605
18602
|
if (is(ActionHandlerError)(error) || is(RetryableActionHandlerError)(error))
|
|
@@ -18820,7 +18817,7 @@ var execute = fn("RemoteRuntime.execute")(function* (request) {
|
|
|
18820
18817
|
})));
|
|
18821
18818
|
});
|
|
18822
18819
|
|
|
18823
|
-
// ../../../../node_modules/.bun/@dual-os+sdk@0.
|
|
18820
|
+
// ../../../../node_modules/.bun/@dual-os+sdk@0.9.0+a827849ded09603e/node_modules/@dual-os/sdk/dist/PluginRuntime.js
|
|
18824
18821
|
var PluginExecutionError = class extends TaggedError2()("PluginExecutionError", {
|
|
18825
18822
|
category: Literals([
|
|
18826
18823
|
"transport",
|
|
@@ -18836,49 +18833,6 @@ var PluginExecutionError = class extends TaggedError2()("PluginExecutionError",
|
|
|
18836
18833
|
var maxPayloadBytes = 1048576;
|
|
18837
18834
|
var maxMetadataBytes = 67108864;
|
|
18838
18835
|
var maxChannelResultBytes = 16777216;
|
|
18839
|
-
function ipcMessages(channel) {
|
|
18840
|
-
return callback2((queue) => {
|
|
18841
|
-
const message = (value) => {
|
|
18842
|
-
offerUnsafe(queue, value);
|
|
18843
|
-
};
|
|
18844
|
-
const disconnected = () => {
|
|
18845
|
-
endUnsafe(queue);
|
|
18846
|
-
};
|
|
18847
|
-
const failed = (cause) => {
|
|
18848
|
-
failCauseUnsafe(queue, fail2(PluginExecutionError.make({
|
|
18849
|
-
category: "runner",
|
|
18850
|
-
cause: make4(cause),
|
|
18851
|
-
message: "Plugin IPC channel failed"
|
|
18852
|
-
})));
|
|
18853
|
-
};
|
|
18854
|
-
return acquireRelease(sync(() => {
|
|
18855
|
-
channel.on("message", message);
|
|
18856
|
-
channel.on("disconnect", disconnected);
|
|
18857
|
-
channel.on("error", failed);
|
|
18858
|
-
}), () => sync(() => {
|
|
18859
|
-
channel.removeListener("message", message);
|
|
18860
|
-
channel.removeListener("disconnect", disconnected);
|
|
18861
|
-
channel.removeListener("error", failed);
|
|
18862
|
-
}));
|
|
18863
|
-
});
|
|
18864
|
-
}
|
|
18865
|
-
function sendIpc(channel, value) {
|
|
18866
|
-
return try_2({
|
|
18867
|
-
try: () => {
|
|
18868
|
-
if (!channel.connected || channel.send === undefined)
|
|
18869
|
-
throw PluginExecutionError.make({
|
|
18870
|
-
category: "runner",
|
|
18871
|
-
message: "Plugin IPC channel is closed"
|
|
18872
|
-
});
|
|
18873
|
-
channel.send(value);
|
|
18874
|
-
},
|
|
18875
|
-
catch: (cause) => PluginExecutionError.make({
|
|
18876
|
-
category: "runner",
|
|
18877
|
-
cause: make4(cause),
|
|
18878
|
-
message: "Cannot send plugin IPC message"
|
|
18879
|
-
})
|
|
18880
|
-
});
|
|
18881
|
-
}
|
|
18882
18836
|
var OAuthContinuation = Struct({
|
|
18883
18837
|
expiresAt: DateFromString,
|
|
18884
18838
|
pkceVerifier: NullOr(String3),
|
|
@@ -18899,7 +18853,7 @@ var SandboxAccessResult = Struct({
|
|
|
18899
18853
|
origins: ArraySchema(String3)
|
|
18900
18854
|
});
|
|
18901
18855
|
var AuthRequest = TaggedStruct("auth", {
|
|
18902
|
-
identity:
|
|
18856
|
+
identity: Identity,
|
|
18903
18857
|
operation: Union([
|
|
18904
18858
|
JsonRequest,
|
|
18905
18859
|
TaggedStruct("oauthStart", {
|
|
@@ -18933,7 +18887,7 @@ var AuthRequest = TaggedStruct("auth", {
|
|
|
18933
18887
|
])
|
|
18934
18888
|
});
|
|
18935
18889
|
var ChannelSettingsRequest = TaggedStruct("channelSettings", {
|
|
18936
|
-
identity:
|
|
18890
|
+
identity: Identity,
|
|
18937
18891
|
operation: TaggedStruct("decodeChannelSettings", {
|
|
18938
18892
|
channelId: NonEmptyString,
|
|
18939
18893
|
field: Literals(["definitionSettings", "deploymentSettings"]),
|
|
@@ -18945,9 +18899,7 @@ var ExecutionRequest = Union([
|
|
|
18945
18899
|
AuthRequest,
|
|
18946
18900
|
ChannelSettingsRequest
|
|
18947
18901
|
]);
|
|
18948
|
-
var Request4 = Union([ExecutionRequest, TaggedStruct("extract", { identity:
|
|
18949
|
-
var Input2 = Union([Request4, TaggedStruct("cancel", { identity: Identity3 })]);
|
|
18950
|
-
var Output = Union([Response, TaggedStruct("interrupted", { identity: Identity3 })]);
|
|
18902
|
+
var Request4 = Union([ExecutionRequest, TaggedStruct("extract", { identity: Identity })]);
|
|
18951
18903
|
function checkMessageSize(value, maximum) {
|
|
18952
18904
|
if (new TextEncoder().encode(JSON.stringify(value)).byteLength <= maximum)
|
|
18953
18905
|
return void_2;
|
|
@@ -18957,24 +18909,24 @@ function checkMessageSize(value, maximum) {
|
|
|
18957
18909
|
}));
|
|
18958
18910
|
}
|
|
18959
18911
|
var encodeInput = fnUntraced(function* (input) {
|
|
18960
|
-
const encoded = yield* encodeEffect(
|
|
18912
|
+
const encoded = yield* encodeEffect(Request4)(input);
|
|
18961
18913
|
yield* checkMessageSize(encoded, maxPayloadBytes);
|
|
18962
18914
|
return encoded;
|
|
18963
18915
|
});
|
|
18964
18916
|
var decodeInput = fnUntraced(function* (input) {
|
|
18965
18917
|
const json = yield* decodeUnknownEffect(Json)(input);
|
|
18966
18918
|
yield* checkMessageSize(json, maxPayloadBytes);
|
|
18967
|
-
return yield* decodeUnknownEffect(
|
|
18919
|
+
return yield* decodeUnknownEffect(Request4)(json);
|
|
18968
18920
|
});
|
|
18969
18921
|
var encodeOutput = fnUntraced(function* (output, maximum) {
|
|
18970
|
-
const encoded = yield* encodeEffect(
|
|
18922
|
+
const encoded = yield* encodeEffect(Response)(output);
|
|
18971
18923
|
yield* checkMessageSize(encoded, maximum);
|
|
18972
18924
|
return encoded;
|
|
18973
18925
|
});
|
|
18974
18926
|
var decodeOutput = fnUntraced(function* (output) {
|
|
18975
18927
|
const json = yield* decodeUnknownEffect(Json)(output);
|
|
18976
18928
|
yield* checkMessageSize(json, maxMetadataBytes);
|
|
18977
|
-
return yield* decodeUnknownEffect(
|
|
18929
|
+
return yield* decodeUnknownEffect(Response)(json);
|
|
18978
18930
|
});
|
|
18979
18931
|
function responseLimit(request) {
|
|
18980
18932
|
if ("_tag" in request && request._tag === "extract")
|
|
@@ -19006,7 +18958,7 @@ var readBounded = fnUntraced(function* (input, maximum = maxPayloadBytes) {
|
|
|
19006
18958
|
bytes: Buffer.alloc(maximum),
|
|
19007
18959
|
size: 0
|
|
19008
18960
|
};
|
|
19009
|
-
yield* pipe(input,
|
|
18961
|
+
yield* pipe(input, runForEach2((chunk) => gen(function* () {
|
|
19010
18962
|
if (output.size + chunk.byteLength > maximum)
|
|
19011
18963
|
return yield* PluginExecutionError.make({
|
|
19012
18964
|
category: "protocol",
|
|
@@ -19127,7 +19079,7 @@ var execute3 = fnUntraced(function* (request) {
|
|
|
19127
19079
|
return yield* executeChannelSettings(request);
|
|
19128
19080
|
});
|
|
19129
19081
|
|
|
19130
|
-
export { pipeArguments, dual, identity, constVoid, pipe, flow, isString, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty,
|
|
19082
|
+
export { pipeArguments, dual, identity, constVoid, pipe, flow, isString, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, equals, byReferenceUnsafe, format, NodeInspectSymbol, toJson, BaseProto, PipeInspectableProto, Prototype, String2, Number2, mapInput, none, some, isNone, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrNull, getOrUndefined, liftThrowable, map, flatMap, filter, liftPredicate, Service3, makeUnsafe, add, getUnsafe, get, Reference, succeed, fail, failVoid, fromOption, try_, isSuccess, match2, getOrThrow, fromEntries, toEntries, has, map2, fromIterable, ensure, append, isArray, isReadonlyArrayNonEmpty, getUnsafe2, headNonEmpty, findFirst, sort, zip, contains, empty, of, map3, flatMap2, filterMap, filter2, reduce, fromNullishOr2, every, join, fromInputUnsafe, isFinite, millis, toMillis, TaggedClass, Error2, TaggedError, encode, decode, scopeRemoveFinalizerUnsafe, fiberEnterUninterruptibleUnsafe, fail2, squash, hasInterrupts, Done, done, UnknownError, succeed2, fail3, void_, isSuccess2, isFailure, makeUnsafe2, _await, done2, fail4, isDone, isDoneUnsafe, doneUnsafe, Scope3, make, makeUnsafe3, addFinalizerExit, addFinalizer, forkUnsafe, close, makeMemoMapUnsafe, buildWithMemoMap, buildWithScope, succeed3, effect, mergeAll, provide, provideMerge, increment, toLowerCase, replace, trim, slice, isEmpty, isNonEmpty, split, startsWith, endsWith, match3, replaceAll, catchDone, isDoneCause, isEffect, all, forEach, promise, tryPromise, succeed4, suspend, sync, void_2, undefined_, callback, never, gen, fail5, failSync, failCause, die, try_2, withFiber, fromResult, fromOption2, flatMap3, flatten, andThen, tap, result, map4, as, zipWith, catch_, catchTag, catchReason, catchIf, catchCauseIf, mapError, orDie, tapError, ignore, ignoreCause, sleep, raceFirst, matchEffect, context, provideContext, serviceOption, provideService, scope, scoped, acquireRelease, addFinalizer2, ensuring, onError, onExit, cached, interrupt, uninterruptible, uninterruptibleMask, forever, forkChild, forkIn, forkScoped, runFork, runForkWith, runCallbackWith, runCallback, runPromise, runPromiseWith, runPromiseExit, runPromiseExitWith, runSync, runSyncWith, runSyncExit, runSyncExitWith, fnUntraced, fn, clockWith, effectify, await_, join2, interrupt2, getCurrent, runIn, make2, sliding, offer, offerUnsafe, failCauseUnsafe, endUnsafe, take, poll, encode2, encode3, decode2, makeZoned, make3, toUtc, toDateUtc, toEpochMillis, formatIso, formatIsoOffset, isRedacted, make4, value, empty2, empty3, InvalidValue, compose, transform, transformEffect, is, decodeUnknownEffect, decodeEffect, decodeOption, encodeEffect, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String3, Number3, Boolean2, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, suspend2, decodeTo, withDecodingDefaultKey, tag, makeFilter, isPattern, Finite, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, Natural, isMinLength, isMaxLength, isUnique, NonEmptyString, Defect, fromJsonString, Uint8ArrayFromBase64, Error3, TaggedError2, toEquivalence, Json, makeUnsafe4, make5, get2, set, update, fromTransform, toTransform, mapDone, unwrap, isStream, fromChannel, fromEffect, fromPull, callback2, empty4, suspend3, fail6, fromIterable2, paginate, unwrap2, mapEffect, flatMap4, drainFork, merge, filterMap2, tapError2, transduce, decodeText, splitLines, run, runCollect, runHead, runDrain, mkString, layer, fromUnknown, value2, when, discriminatorsExhaustive, orElse2, empty5, HttpClientError, InvalidUrlError, makeWith, get3, post, patch, put, del, setMethod, setHeader, setHeaders, basicAuth, setUrl, updateUrl, setUrlParam, setUrlParams, setBody, bodyUint8Array, bodyJsonUnsafe, bodyFormDataRecord, HttpClient, transformResponse, filterStatusOk, mapRequest, mapRequestEffect, RequestInit, layer2, __exportAll3, Action_exports, ActionHandlerError, fromHttpClientFailure, AuthMethod_exports, Schema, Key3, Event3, commandSchema, materializePlugin, Trigger_exports, fromPlugin, Service4, toLayer, File4, read, write, Group_exports, layer3, oauth2TokenRefresherLayer, Plugin_exports, make6, isPlugin, filesUnavailable, PluginExecutionError, decodeInput, encodeOutput, responseLimit, execute3 };
|
|
19131
19083
|
|
|
19132
|
-
//# debugId=
|
|
19133
|
-
//# sourceMappingURL=plugin-
|
|
19084
|
+
//# debugId=3AEA196CFF6556D664756E2164756E21
|
|
19085
|
+
//# sourceMappingURL=plugin-vnx323vz.js.map
|