chatroom-cli 1.86.2 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +909 -387
- package/dist/index.js.map +46 -43
- package/dist/node-launch.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -10171,7 +10171,7 @@ var init_middleware = __esm(() => {
|
|
|
10171
10171
|
init_client2();
|
|
10172
10172
|
});
|
|
10173
10173
|
|
|
10174
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10174
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Function.js
|
|
10175
10175
|
function pipe(a, ab, bc, cd, de, ef, fg, gh, hi) {
|
|
10176
10176
|
switch (arguments.length) {
|
|
10177
10177
|
case 1:
|
|
@@ -10269,7 +10269,7 @@ var init_Function = __esm(() => {
|
|
|
10269
10269
|
constVoid = constUndefined;
|
|
10270
10270
|
});
|
|
10271
10271
|
|
|
10272
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10272
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Equivalence.js
|
|
10273
10273
|
var make = (isEquivalent) => (self2, that) => self2 === that || isEquivalent(self2, that), isStrictEquivalent = (x, y) => x === y, strict = () => isStrictEquivalent, number, mapInput, array = (item) => make((self2, that) => {
|
|
10274
10274
|
if (self2.length !== that.length) {
|
|
10275
10275
|
return false;
|
|
@@ -10288,7 +10288,7 @@ var init_Equivalence = __esm(() => {
|
|
|
10288
10288
|
mapInput = /* @__PURE__ */ dual(2, (self2, f) => make((x, y) => self2(f(x), f(y))));
|
|
10289
10289
|
});
|
|
10290
10290
|
|
|
10291
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10291
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/doNotation.js
|
|
10292
10292
|
var let_ = (map) => dual(3, (self2, name, f) => map(self2, (a) => ({
|
|
10293
10293
|
...a,
|
|
10294
10294
|
[name]: f(a)
|
|
@@ -10302,7 +10302,7 @@ var init_doNotation = __esm(() => {
|
|
|
10302
10302
|
init_Function();
|
|
10303
10303
|
});
|
|
10304
10304
|
|
|
10305
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10305
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/GlobalValue.js
|
|
10306
10306
|
var globalStoreId = `effect/GlobalValue`, globalStore, globalValue = (id, compute) => {
|
|
10307
10307
|
if (!globalStore) {
|
|
10308
10308
|
globalThis[globalStoreId] ??= new Map;
|
|
@@ -10314,7 +10314,7 @@ var globalStoreId = `effect/GlobalValue`, globalStore, globalValue = (id, comput
|
|
|
10314
10314
|
return globalStore.get(id);
|
|
10315
10315
|
};
|
|
10316
10316
|
|
|
10317
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10317
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Predicate.js
|
|
10318
10318
|
var isString = (input) => typeof input === "string", isNumber = (input) => typeof input === "number", isBigInt = (input) => typeof input === "bigint", isFunction2, isRecordOrArray = (input) => typeof input === "object" && input !== null, isObject = (input) => isRecordOrArray(input) || isFunction2(input), hasProperty, isTagged, isNullable = (input) => input === null || input === undefined, isIterable = (input) => typeof input === "string" || hasProperty(input, Symbol.iterator), isPromiseLike = (input) => hasProperty(input, "then") && isFunction2(input.then);
|
|
10319
10319
|
var init_Predicate = __esm(() => {
|
|
10320
10320
|
init_Function();
|
|
@@ -10323,10 +10323,10 @@ var init_Predicate = __esm(() => {
|
|
|
10323
10323
|
isTagged = /* @__PURE__ */ dual(2, (self2, tag) => hasProperty(self2, "_tag") && self2["_tag"] === tag);
|
|
10324
10324
|
});
|
|
10325
10325
|
|
|
10326
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10326
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/errors.js
|
|
10327
10327
|
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
10328
10328
|
|
|
10329
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10329
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Utils.js
|
|
10330
10330
|
class PCGRandom {
|
|
10331
10331
|
_state;
|
|
10332
10332
|
constructor(seedHi, seedLo, incHi, incLo) {
|
|
@@ -10481,7 +10481,7 @@ var init_Utils = __esm(() => {
|
|
|
10481
10481
|
genConstructor = function* () {}.constructor;
|
|
10482
10482
|
});
|
|
10483
10483
|
|
|
10484
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10484
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Hash.js
|
|
10485
10485
|
var randomHashCache, symbol, hash = (self2) => {
|
|
10486
10486
|
if (structuralRegionState.enabled === true) {
|
|
10487
10487
|
return 0;
|
|
@@ -10585,7 +10585,7 @@ var init_Hash = __esm(() => {
|
|
|
10585
10585
|
symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
10586
10586
|
});
|
|
10587
10587
|
|
|
10588
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10588
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Equal.js
|
|
10589
10589
|
function equals() {
|
|
10590
10590
|
if (arguments.length === 1) {
|
|
10591
10591
|
return (self2) => compareBoth(self2, arguments[0]);
|
|
@@ -10648,7 +10648,7 @@ var init_Equal = __esm(() => {
|
|
|
10648
10648
|
symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
10649
10649
|
});
|
|
10650
10650
|
|
|
10651
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10651
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Inspectable.js
|
|
10652
10652
|
var NodeInspectSymbol, toJSON = (x) => {
|
|
10653
10653
|
try {
|
|
10654
10654
|
if (hasProperty(x, "toJSON") && isFunction2(x["toJSON"]) && x["toJSON"].length === 0) {
|
|
@@ -10708,7 +10708,7 @@ var init_Inspectable = __esm(() => {
|
|
|
10708
10708
|
}));
|
|
10709
10709
|
});
|
|
10710
10710
|
|
|
10711
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10711
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Pipeable.js
|
|
10712
10712
|
var pipeArguments = (self2, args) => {
|
|
10713
10713
|
switch (args.length) {
|
|
10714
10714
|
case 0:
|
|
@@ -10742,13 +10742,13 @@ var pipeArguments = (self2, args) => {
|
|
|
10742
10742
|
};
|
|
10743
10743
|
var init_Pipeable = () => {};
|
|
10744
10744
|
|
|
10745
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10745
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/effect.js
|
|
10746
10746
|
var OP_ASYNC = "Async", OP_COMMIT = "Commit", OP_FAILURE = "Failure", OP_ON_FAILURE = "OnFailure", OP_ON_SUCCESS = "OnSuccess", OP_ON_SUCCESS_AND_FAILURE = "OnSuccessAndFailure", OP_SUCCESS = "Success", OP_SYNC = "Sync", OP_TAG = "Tag", OP_UPDATE_RUNTIME_FLAGS = "UpdateRuntimeFlags", OP_WHILE = "While", OP_ITERATOR = "Iterator", OP_WITH_RUNTIME = "WithRuntime", OP_YIELD = "Yield", OP_REVERT_FLAGS = "RevertFlags";
|
|
10747
10747
|
|
|
10748
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10749
|
-
var moduleVersion = "3.22.
|
|
10748
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/version.js
|
|
10749
|
+
var moduleVersion = "3.22.1", getCurrentVersion = () => moduleVersion;
|
|
10750
10750
|
|
|
10751
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10751
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/effectable.js
|
|
10752
10752
|
var EffectTypeId, StreamTypeId, SinkTypeId, ChannelTypeId, effectVariance, sinkVariance, channelVariance, EffectPrototype, StructuralPrototype, CommitPrototype, StructuralCommitPrototype, Base;
|
|
10753
10753
|
var init_effectable = __esm(() => {
|
|
10754
10754
|
init_Equal();
|
|
@@ -10832,7 +10832,7 @@ var init_effectable = __esm(() => {
|
|
|
10832
10832
|
}();
|
|
10833
10833
|
});
|
|
10834
10834
|
|
|
10835
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10835
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/option.js
|
|
10836
10836
|
var TypeId, CommonProto, SomeProto, NoneHash, NoneProto, isOption = (input) => hasProperty(input, TypeId), isNone = (fa) => fa._tag === "None", isSome = (fa) => fa._tag === "Some", none, some = (value) => {
|
|
10837
10837
|
const a = Object.create(SomeProto);
|
|
10838
10838
|
a.value = value;
|
|
@@ -10894,7 +10894,7 @@ var init_option = __esm(() => {
|
|
|
10894
10894
|
none = /* @__PURE__ */ Object.create(NoneProto);
|
|
10895
10895
|
});
|
|
10896
10896
|
|
|
10897
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10897
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/either.js
|
|
10898
10898
|
var TypeId2, CommonProto2, RightProto, LeftProto, isEither = (input) => hasProperty(input, TypeId2), isLeft = (ma) => ma._tag === "Left", isRight = (ma) => ma._tag === "Right", left = (left2) => {
|
|
10899
10899
|
const a = Object.create(LeftProto);
|
|
10900
10900
|
a.left = left2;
|
|
@@ -10962,7 +10962,7 @@ var init_either = __esm(() => {
|
|
|
10962
10962
|
fromOption = /* @__PURE__ */ dual(2, (self2, onNone) => isNone(self2) ? left(onNone()) : right(self2.value));
|
|
10963
10963
|
});
|
|
10964
10964
|
|
|
10965
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
10965
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Either.js
|
|
10966
10966
|
var right2, left2, fromOption2, isLeft2, isRight2, map, match, merge, all = (input) => {
|
|
10967
10967
|
if (Symbol.iterator in input) {
|
|
10968
10968
|
const out2 = [];
|
|
@@ -11003,10 +11003,10 @@ var init_Either = __esm(() => {
|
|
|
11003
11003
|
});
|
|
11004
11004
|
});
|
|
11005
11005
|
|
|
11006
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11006
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/array.js
|
|
11007
11007
|
var isNonEmptyArray = (self2) => self2.length > 0;
|
|
11008
11008
|
|
|
11009
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11009
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Order.js
|
|
11010
11010
|
var make2 = (compare) => (self2, that) => self2 === that ? 0 : compare(self2, that), number3, mapInput2, all2 = (collection) => {
|
|
11011
11011
|
return make2((x, y) => {
|
|
11012
11012
|
const len2 = Math.min(x.length, y.length);
|
|
@@ -11030,7 +11030,7 @@ var init_Order = __esm(() => {
|
|
|
11030
11030
|
mapInput2 = /* @__PURE__ */ dual(2, (self2, f) => make2((b1, b2) => self2(f(b1), f(b2))));
|
|
11031
11031
|
});
|
|
11032
11032
|
|
|
11033
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11033
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Option.js
|
|
11034
11034
|
var none2 = () => none, some2, isNone2, isSome2, match2, getOrElse, orElseSome, fromNullable = (nullableValue) => nullableValue == null ? none2() : some2(nullableValue), getOrUndefined, liftThrowable = (f) => (...a) => {
|
|
11035
11035
|
try {
|
|
11036
11036
|
return some2(f(...a));
|
|
@@ -11072,11 +11072,11 @@ var init_Option = __esm(() => {
|
|
|
11072
11072
|
contains = /* @__PURE__ */ containsWith(_equivalence);
|
|
11073
11073
|
});
|
|
11074
11074
|
|
|
11075
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11075
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Tuple.js
|
|
11076
11076
|
var make3 = (...elements) => elements;
|
|
11077
11077
|
var init_Tuple = () => {};
|
|
11078
11078
|
|
|
11079
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11079
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Array.js
|
|
11080
11080
|
var allocate = (n) => new Array(n), makeBy, fromIterable = (collection) => Array.isArray(collection) ? collection : Array.from(collection), ensure = (self2) => Array.isArray(self2) ? self2 : [self2], prepend, append, appendAll, isEmptyArray = (self2) => self2.length === 0, isEmptyReadonlyArray, isNonEmptyArray2, isNonEmptyReadonlyArray, isOutOfBounds = (i2, as) => i2 < 0 || i2 >= as.length, clamp2 = (i2, as) => Math.floor(Math.min(Math.max(0, i2), as.length)), get, unsafeGet, head, headNonEmpty, last = (self2) => isNonEmptyReadonlyArray(self2) ? some2(lastNonEmpty(self2)) : none2(), lastNonEmpty = (self2) => self2[self2.length - 1], tailNonEmpty = (self2) => self2.slice(1), spanIndex = (self2, predicate) => {
|
|
11081
11081
|
let i2 = 0;
|
|
11082
11082
|
for (const a of self2) {
|
|
@@ -11245,7 +11245,7 @@ var init_Array = __esm(() => {
|
|
|
11245
11245
|
join3 = /* @__PURE__ */ dual(2, (self2, sep) => fromIterable(self2).join(sep));
|
|
11246
11246
|
});
|
|
11247
11247
|
|
|
11248
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11248
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Chunk.js
|
|
11249
11249
|
function copy2(src, srcPos, dest, destPos, len2) {
|
|
11250
11250
|
for (let i2 = srcPos;i2 < Math.min(src.length, srcPos + len2); i2++) {
|
|
11251
11251
|
dest[destPos + i2 - srcPos] = src[i2];
|
|
@@ -11577,7 +11577,7 @@ var init_Chunk = __esm(() => {
|
|
|
11577
11577
|
headNonEmpty2 = unsafeHead;
|
|
11578
11578
|
});
|
|
11579
11579
|
|
|
11580
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11580
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashMap/config.js
|
|
11581
11581
|
var SIZE = 5, BUCKET_SIZE, MASK, MAX_INDEX_NODE, MIN_ARRAY_NODE;
|
|
11582
11582
|
var init_config = __esm(() => {
|
|
11583
11583
|
BUCKET_SIZE = /* @__PURE__ */ Math.pow(2, SIZE);
|
|
@@ -11586,7 +11586,7 @@ var init_config = __esm(() => {
|
|
|
11586
11586
|
MIN_ARRAY_NODE = BUCKET_SIZE / 4;
|
|
11587
11587
|
});
|
|
11588
11588
|
|
|
11589
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11589
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashMap/bitwise.js
|
|
11590
11590
|
function popcount(x) {
|
|
11591
11591
|
x -= x >> 1 & 1431655765;
|
|
11592
11592
|
x = (x & 858993459) + (x >> 2 & 858993459);
|
|
@@ -11608,13 +11608,13 @@ var init_bitwise = __esm(() => {
|
|
|
11608
11608
|
init_config();
|
|
11609
11609
|
});
|
|
11610
11610
|
|
|
11611
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11611
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/stack.js
|
|
11612
11612
|
var make5 = (value, previous) => ({
|
|
11613
11613
|
value,
|
|
11614
11614
|
previous
|
|
11615
11615
|
});
|
|
11616
11616
|
|
|
11617
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11617
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashMap/array.js
|
|
11618
11618
|
function arrayUpdate(mutate, at, v3, arr) {
|
|
11619
11619
|
let out = arr;
|
|
11620
11620
|
if (!mutate) {
|
|
@@ -11665,7 +11665,7 @@ function arraySpliceIn(mutate, at, v3, arr) {
|
|
|
11665
11665
|
return out;
|
|
11666
11666
|
}
|
|
11667
11667
|
|
|
11668
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11668
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashMap/node.js
|
|
11669
11669
|
class EmptyNode {
|
|
11670
11670
|
_tag = "EmptyNode";
|
|
11671
11671
|
modify(edit, _shift, f, hash2, key, size) {
|
|
@@ -11924,7 +11924,7 @@ var init_node = __esm(() => {
|
|
|
11924
11924
|
init_config();
|
|
11925
11925
|
});
|
|
11926
11926
|
|
|
11927
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
11927
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashMap.js
|
|
11928
11928
|
var HashMapSymbolKey = "effect/HashMap", HashMapTypeId, HashMapProto, makeImpl = (editable, edit, root, size) => {
|
|
11929
11929
|
const map4 = Object.create(HashMapProto);
|
|
11930
11930
|
map4._editable = editable;
|
|
@@ -12157,7 +12157,7 @@ var init_hashMap = __esm(() => {
|
|
|
12157
12157
|
});
|
|
12158
12158
|
});
|
|
12159
12159
|
|
|
12160
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
12160
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/hashSet.js
|
|
12161
12161
|
var HashSetSymbolKey = "effect/HashSet", HashSetTypeId, HashSetProto, makeImpl2 = (keyMap) => {
|
|
12162
12162
|
const set2 = Object.create(HashSetProto);
|
|
12163
12163
|
set2._keyMap = keyMap;
|
|
@@ -12269,7 +12269,7 @@ var init_hashSet = __esm(() => {
|
|
|
12269
12269
|
reduce3 = /* @__PURE__ */ dual(3, (self2, zero, f) => reduce2(self2._keyMap, zero, (z, _, a) => f(z, a)));
|
|
12270
12270
|
});
|
|
12271
12271
|
|
|
12272
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
12272
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/HashSet.js
|
|
12273
12273
|
var empty5, fromIterable5, make7, has3, every2, size3, add2, remove4, difference3, union3, map6, flatMap4, reduce4;
|
|
12274
12274
|
var init_HashSet = __esm(() => {
|
|
12275
12275
|
init_hashSet();
|
|
@@ -12288,10 +12288,10 @@ var init_HashSet = __esm(() => {
|
|
|
12288
12288
|
reduce4 = reduce3;
|
|
12289
12289
|
});
|
|
12290
12290
|
|
|
12291
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
12291
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/cause.js
|
|
12292
12292
|
var OP_DIE = "Die", OP_EMPTY = "Empty", OP_FAIL = "Fail", OP_INTERRUPT = "Interrupt", OP_PARALLEL = "Parallel", OP_SEQUENTIAL = "Sequential";
|
|
12293
12293
|
|
|
12294
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
12294
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/cause.js
|
|
12295
12295
|
var CauseSymbolKey = "effect/Cause", CauseTypeId, variance, proto, empty6, fail = (error) => {
|
|
12296
12296
|
const o = Object.create(proto);
|
|
12297
12297
|
o._tag = OP_FAIL;
|
|
@@ -12916,7 +12916,7 @@ var init_cause = __esm(() => {
|
|
|
12916
12916
|
spanSymbol = /* @__PURE__ */ Symbol.for("effect/SpanAnnotation");
|
|
12917
12917
|
});
|
|
12918
12918
|
|
|
12919
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
12919
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/context.js
|
|
12920
12920
|
var TagTypeId, ReferenceTypeId, STMSymbolKey = "effect/STM", STMTypeId, TagProto, ReferenceProto, makeGenericTag = (key) => {
|
|
12921
12921
|
const limit = Error.stackTraceLimit;
|
|
12922
12922
|
Error.stackTraceLimit = 2;
|
|
@@ -13134,7 +13134,7 @@ var init_context = __esm(() => {
|
|
|
13134
13134
|
});
|
|
13135
13135
|
});
|
|
13136
13136
|
|
|
13137
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13137
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Context.js
|
|
13138
13138
|
var exports_Context = {};
|
|
13139
13139
|
__export(exports_Context, {
|
|
13140
13140
|
unsafeMake: () => unsafeMake,
|
|
@@ -13183,7 +13183,7 @@ var init_Context = __esm(() => {
|
|
|
13183
13183
|
Reference2 = Reference;
|
|
13184
13184
|
});
|
|
13185
13185
|
|
|
13186
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13186
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Duration.js
|
|
13187
13187
|
var exports_Duration = {};
|
|
13188
13188
|
__export(exports_Duration, {
|
|
13189
13189
|
zero: () => zero,
|
|
@@ -13652,7 +13652,7 @@ var init_Duration = __esm(() => {
|
|
|
13652
13652
|
DURATION_ISO_REGEX = /^P(?!$)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?!$)(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;
|
|
13653
13653
|
});
|
|
13654
13654
|
|
|
13655
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13655
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/MutableRef.js
|
|
13656
13656
|
var TypeId6, MutableRefProto, make11 = (value) => {
|
|
13657
13657
|
const ref = Object.create(MutableRefProto);
|
|
13658
13658
|
ref.current = value;
|
|
@@ -13695,7 +13695,7 @@ var init_MutableRef = __esm(() => {
|
|
|
13695
13695
|
});
|
|
13696
13696
|
});
|
|
13697
13697
|
|
|
13698
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13698
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberId.js
|
|
13699
13699
|
var FiberIdSymbolKey = "effect/FiberId", FiberIdTypeId, OP_NONE = "None", OP_RUNTIME = "Runtime", OP_COMPOSITE = "Composite", emptyHash, None, Runtime, Composite, none3, isFiberId = (self2) => hasProperty(self2, FiberIdTypeId), isNone3 = (self2) => {
|
|
13700
13700
|
return self2._tag === OP_NONE || pipe(toSet(self2), every2((id) => isNone3(id)));
|
|
13701
13701
|
}, combine2, getOrElse4, ids = (self2) => {
|
|
@@ -13839,7 +13839,7 @@ var init_fiberId = __esm(() => {
|
|
|
13839
13839
|
_fiberCounter = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Fiber/Id/_fiberCounter"), () => make11(0));
|
|
13840
13840
|
});
|
|
13841
13841
|
|
|
13842
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13842
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/FiberId.js
|
|
13843
13843
|
var none4, combine3, getOrElse5, ids2, threadName2, unsafeMake3;
|
|
13844
13844
|
var init_FiberId = __esm(() => {
|
|
13845
13845
|
init_fiberId();
|
|
@@ -13851,7 +13851,7 @@ var init_FiberId = __esm(() => {
|
|
|
13851
13851
|
unsafeMake3 = unsafeMake2;
|
|
13852
13852
|
});
|
|
13853
13853
|
|
|
13854
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13854
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/HashMap.js
|
|
13855
13855
|
var empty9, fromIterable6, isEmpty4, get7, set3, keys2, mutate3, modifyAt2, map8, forEach3, reduce6;
|
|
13856
13856
|
var init_HashMap = __esm(() => {
|
|
13857
13857
|
init_hashMap();
|
|
@@ -13868,7 +13868,7 @@ var init_HashMap = __esm(() => {
|
|
|
13868
13868
|
reduce6 = reduce2;
|
|
13869
13869
|
});
|
|
13870
13870
|
|
|
13871
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
13871
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/List.js
|
|
13872
13872
|
var TypeId7, toArray2 = (self2) => fromIterable(self2), getEquivalence3 = (isEquivalent) => mapInput(getEquivalence(isEquivalent), toArray2), _equivalence4, ConsProto, makeCons = (head3, tail) => {
|
|
13873
13873
|
const cons = Object.create(ConsProto);
|
|
13874
13874
|
cons.head = head3;
|
|
@@ -14019,7 +14019,7 @@ var init_List = __esm(() => {
|
|
|
14019
14019
|
});
|
|
14020
14020
|
});
|
|
14021
14021
|
|
|
14022
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14022
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/data.js
|
|
14023
14023
|
var ArrayProto, Structural, struct = (as2) => Object.assign(Object.create(StructuralPrototype), as2);
|
|
14024
14024
|
var init_data = __esm(() => {
|
|
14025
14025
|
init_Equal();
|
|
@@ -14048,7 +14048,7 @@ var init_data = __esm(() => {
|
|
|
14048
14048
|
}();
|
|
14049
14049
|
});
|
|
14050
14050
|
|
|
14051
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14051
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/differ/contextPatch.js
|
|
14052
14052
|
function variance2(a) {
|
|
14053
14053
|
return a;
|
|
14054
14054
|
}
|
|
@@ -14176,7 +14176,7 @@ var init_contextPatch = __esm(() => {
|
|
|
14176
14176
|
});
|
|
14177
14177
|
});
|
|
14178
14178
|
|
|
14179
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14179
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/differ/hashSetPatch.js
|
|
14180
14180
|
function variance3(a) {
|
|
14181
14181
|
return a;
|
|
14182
14182
|
}
|
|
@@ -14263,7 +14263,7 @@ var init_hashSetPatch = __esm(() => {
|
|
|
14263
14263
|
});
|
|
14264
14264
|
});
|
|
14265
14265
|
|
|
14266
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14266
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/differ/readonlyArrayPatch.js
|
|
14267
14267
|
function variance4(a) {
|
|
14268
14268
|
return a;
|
|
14269
14269
|
}
|
|
@@ -14378,7 +14378,7 @@ var init_readonlyArrayPatch = __esm(() => {
|
|
|
14378
14378
|
});
|
|
14379
14379
|
});
|
|
14380
14380
|
|
|
14381
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14381
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/differ.js
|
|
14382
14382
|
var DifferTypeId, DifferProto, make14 = (params) => {
|
|
14383
14383
|
const differ = Object.create(DifferProto);
|
|
14384
14384
|
differ.empty = params.empty;
|
|
@@ -14443,7 +14443,7 @@ var init_differ = __esm(() => {
|
|
|
14443
14443
|
};
|
|
14444
14444
|
});
|
|
14445
14445
|
|
|
14446
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14446
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/runtimeFlagsPatch.js
|
|
14447
14447
|
var BIT_MASK = 255, BIT_SHIFT = 8, active = (patch4) => patch4 & BIT_MASK, enabled = (patch4) => patch4 >> BIT_SHIFT & BIT_MASK, make15 = (active2, enabled2) => (active2 & BIT_MASK) + ((enabled2 & active2 & BIT_MASK) << BIT_SHIFT), empty14, enable = (flag) => make15(flag, flag), disable = (flag) => make15(flag, 0), exclude, andThen2, invert = (n) => ~n >>> 0 & BIT_MASK;
|
|
14448
14448
|
var init_runtimeFlagsPatch = __esm(() => {
|
|
14449
14449
|
init_Function();
|
|
@@ -14452,7 +14452,7 @@ var init_runtimeFlagsPatch = __esm(() => {
|
|
|
14452
14452
|
andThen2 = /* @__PURE__ */ dual(2, (self2, that) => self2 | that);
|
|
14453
14453
|
});
|
|
14454
14454
|
|
|
14455
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14455
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/runtimeFlags.js
|
|
14456
14456
|
var None2 = 0, Interruption, OpSupervision, RuntimeMetrics, WindDown, CooperativeYielding, cooperativeYielding = (self2) => isEnabled(self2, CooperativeYielding), disable2, enable2, interruptible = (self2) => interruption(self2) && !windDown(self2), interruption = (self2) => isEnabled(self2, Interruption), isEnabled, make16 = (...flags) => flags.reduce((a, b) => a | b, 0), none5, runtimeMetrics = (self2) => isEnabled(self2, RuntimeMetrics), windDown = (self2) => isEnabled(self2, WindDown), diff4, patch4, differ;
|
|
14457
14457
|
var init_runtimeFlags = __esm(() => {
|
|
14458
14458
|
init_Function();
|
|
@@ -14477,7 +14477,7 @@ var init_runtimeFlags = __esm(() => {
|
|
|
14477
14477
|
});
|
|
14478
14478
|
});
|
|
14479
14479
|
|
|
14480
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14480
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/RuntimeFlagsPatch.js
|
|
14481
14481
|
var empty15, enable3, disable3, exclude2;
|
|
14482
14482
|
var init_RuntimeFlagsPatch = __esm(() => {
|
|
14483
14483
|
init_runtimeFlagsPatch();
|
|
@@ -14487,7 +14487,7 @@ var init_RuntimeFlagsPatch = __esm(() => {
|
|
|
14487
14487
|
exclude2 = exclude;
|
|
14488
14488
|
});
|
|
14489
14489
|
|
|
14490
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14490
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/blockedRequests.js
|
|
14491
14491
|
var empty16, par = (self2, that) => ({
|
|
14492
14492
|
_tag: "Par",
|
|
14493
14493
|
left: self2,
|
|
@@ -14647,10 +14647,10 @@ var init_blockedRequests = __esm(() => {
|
|
|
14647
14647
|
};
|
|
14648
14648
|
});
|
|
14649
14649
|
|
|
14650
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14650
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/deferred.js
|
|
14651
14651
|
var OP_STATE_PENDING = "Pending", OP_STATE_DONE = "Done";
|
|
14652
14652
|
|
|
14653
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14653
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/deferred.js
|
|
14654
14654
|
var DeferredSymbolKey = "effect/Deferred", DeferredTypeId, deferredVariance, pending = (joiners) => {
|
|
14655
14655
|
return {
|
|
14656
14656
|
_tag: OP_STATE_PENDING,
|
|
@@ -14670,7 +14670,7 @@ var init_deferred = __esm(() => {
|
|
|
14670
14670
|
};
|
|
14671
14671
|
});
|
|
14672
14672
|
|
|
14673
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14673
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/singleShotGen.js
|
|
14674
14674
|
var SingleShotGen2;
|
|
14675
14675
|
var init_singleShotGen = __esm(() => {
|
|
14676
14676
|
SingleShotGen2 = class SingleShotGen2 {
|
|
@@ -14703,7 +14703,7 @@ var init_singleShotGen = __esm(() => {
|
|
|
14703
14703
|
};
|
|
14704
14704
|
});
|
|
14705
14705
|
|
|
14706
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
14706
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/core.js
|
|
14707
14707
|
class RevertFlags {
|
|
14708
14708
|
patch;
|
|
14709
14709
|
op;
|
|
@@ -15703,7 +15703,7 @@ ${this.stack.split(`
|
|
|
15703
15703
|
};
|
|
15704
15704
|
});
|
|
15705
15705
|
|
|
15706
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15706
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Cause.js
|
|
15707
15707
|
var exports_Cause = {};
|
|
15708
15708
|
__export(exports_Cause, {
|
|
15709
15709
|
stripSomeDefects: () => stripSomeDefects2,
|
|
@@ -15855,7 +15855,7 @@ var init_Cause = __esm(() => {
|
|
|
15855
15855
|
originalError = originalInstance;
|
|
15856
15856
|
});
|
|
15857
15857
|
|
|
15858
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15858
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/clock.js
|
|
15859
15859
|
var ClockSymbolKey = "effect/Clock", ClockTypeId, clockTag, MAX_TIMER_MILLIS, globalClockScheduler, performanceNowNanos, processOrPerformanceNow, ClockImpl, make18 = () => new ClockImpl;
|
|
15860
15860
|
var init_clock = __esm(() => {
|
|
15861
15861
|
init_Context();
|
|
@@ -15925,21 +15925,21 @@ var init_clock = __esm(() => {
|
|
|
15925
15925
|
};
|
|
15926
15926
|
});
|
|
15927
15927
|
|
|
15928
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15928
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Number.js
|
|
15929
15929
|
var Order2;
|
|
15930
15930
|
var init_Number = __esm(() => {
|
|
15931
15931
|
init_Order();
|
|
15932
15932
|
Order2 = number3;
|
|
15933
15933
|
});
|
|
15934
15934
|
|
|
15935
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15935
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/RegExp.js
|
|
15936
15936
|
var escape = (string2) => string2.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
15937
15937
|
var init_RegExp = () => {};
|
|
15938
15938
|
|
|
15939
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15939
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/configError.js
|
|
15940
15940
|
var OP_AND = "And", OP_OR = "Or", OP_INVALID_DATA = "InvalidData", OP_MISSING_DATA = "MissingData", OP_SOURCE_UNAVAILABLE = "SourceUnavailable", OP_UNSUPPORTED = "Unsupported";
|
|
15941
15941
|
|
|
15942
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
15942
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/configError.js
|
|
15943
15943
|
var ConfigErrorSymbolKey = "effect/ConfigError", ConfigErrorTypeId, proto2, And = (self2, that) => {
|
|
15944
15944
|
const error = Object.create(proto2);
|
|
15945
15945
|
error._op = OP_AND;
|
|
@@ -16037,9 +16037,10 @@ var ConfigErrorSymbolKey = "effect/ConfigError", ConfigErrorTypeId, proto2, And
|
|
|
16037
16037
|
}
|
|
16038
16038
|
});
|
|
16039
16039
|
return error;
|
|
16040
|
-
}, prefixed;
|
|
16040
|
+
}, prefixed, reduceWithContext3;
|
|
16041
16041
|
var init_configError = __esm(() => {
|
|
16042
16042
|
init_Array();
|
|
16043
|
+
init_Either();
|
|
16043
16044
|
init_Function();
|
|
16044
16045
|
ConfigErrorTypeId = /* @__PURE__ */ Symbol.for(ConfigErrorSymbolKey);
|
|
16045
16046
|
proto2 = {
|
|
@@ -16068,9 +16069,83 @@ var init_configError = __esm(() => {
|
|
|
16068
16069
|
}
|
|
16069
16070
|
}
|
|
16070
16071
|
});
|
|
16072
|
+
reduceWithContext3 = /* @__PURE__ */ dual(3, (self2, context2, reducer) => {
|
|
16073
|
+
const input = [self2];
|
|
16074
|
+
const output = [];
|
|
16075
|
+
while (input.length > 0) {
|
|
16076
|
+
const error = input.pop();
|
|
16077
|
+
switch (error._op) {
|
|
16078
|
+
case OP_AND: {
|
|
16079
|
+
input.push(error.right);
|
|
16080
|
+
input.push(error.left);
|
|
16081
|
+
output.push(left2({
|
|
16082
|
+
_op: "AndCase"
|
|
16083
|
+
}));
|
|
16084
|
+
break;
|
|
16085
|
+
}
|
|
16086
|
+
case OP_OR: {
|
|
16087
|
+
input.push(error.right);
|
|
16088
|
+
input.push(error.left);
|
|
16089
|
+
output.push(left2({
|
|
16090
|
+
_op: "OrCase"
|
|
16091
|
+
}));
|
|
16092
|
+
break;
|
|
16093
|
+
}
|
|
16094
|
+
case OP_INVALID_DATA: {
|
|
16095
|
+
output.push(right2(reducer.invalidDataCase(context2, error.path, error.message)));
|
|
16096
|
+
break;
|
|
16097
|
+
}
|
|
16098
|
+
case OP_MISSING_DATA: {
|
|
16099
|
+
output.push(right2(reducer.missingDataCase(context2, error.path, error.message)));
|
|
16100
|
+
break;
|
|
16101
|
+
}
|
|
16102
|
+
case OP_SOURCE_UNAVAILABLE: {
|
|
16103
|
+
output.push(right2(reducer.sourceUnavailableCase(context2, error.path, error.message, error.cause)));
|
|
16104
|
+
break;
|
|
16105
|
+
}
|
|
16106
|
+
case OP_UNSUPPORTED: {
|
|
16107
|
+
output.push(right2(reducer.unsupportedCase(context2, error.path, error.message)));
|
|
16108
|
+
break;
|
|
16109
|
+
}
|
|
16110
|
+
}
|
|
16111
|
+
}
|
|
16112
|
+
const accumulator = [];
|
|
16113
|
+
while (output.length > 0) {
|
|
16114
|
+
const either3 = output.pop();
|
|
16115
|
+
switch (either3._op) {
|
|
16116
|
+
case "Left": {
|
|
16117
|
+
switch (either3.left._op) {
|
|
16118
|
+
case "AndCase": {
|
|
16119
|
+
const left3 = accumulator.pop();
|
|
16120
|
+
const right3 = accumulator.pop();
|
|
16121
|
+
const value = reducer.andCase(context2, left3, right3);
|
|
16122
|
+
accumulator.push(value);
|
|
16123
|
+
break;
|
|
16124
|
+
}
|
|
16125
|
+
case "OrCase": {
|
|
16126
|
+
const left3 = accumulator.pop();
|
|
16127
|
+
const right3 = accumulator.pop();
|
|
16128
|
+
const value = reducer.orCase(context2, left3, right3);
|
|
16129
|
+
accumulator.push(value);
|
|
16130
|
+
break;
|
|
16131
|
+
}
|
|
16132
|
+
}
|
|
16133
|
+
break;
|
|
16134
|
+
}
|
|
16135
|
+
case "Right": {
|
|
16136
|
+
accumulator.push(either3.right);
|
|
16137
|
+
break;
|
|
16138
|
+
}
|
|
16139
|
+
}
|
|
16140
|
+
}
|
|
16141
|
+
if (accumulator.length === 0) {
|
|
16142
|
+
throw new Error("BUG: ConfigError.reduceWithContext - please report an issue at https://github.com/Effect-TS/effect/issues");
|
|
16143
|
+
}
|
|
16144
|
+
return accumulator.pop();
|
|
16145
|
+
});
|
|
16071
16146
|
});
|
|
16072
16147
|
|
|
16073
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16148
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/configProvider/pathPatch.js
|
|
16074
16149
|
var empty18, patch5;
|
|
16075
16150
|
var init_pathPatch = __esm(() => {
|
|
16076
16151
|
init_Array();
|
|
@@ -16122,10 +16197,10 @@ var init_pathPatch = __esm(() => {
|
|
|
16122
16197
|
});
|
|
16123
16198
|
});
|
|
16124
16199
|
|
|
16125
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16126
|
-
var OP_CONSTANT = "Constant", OP_FAIL2 = "Fail", OP_FALLBACK = "Fallback", OP_DESCRIBED = "Described", OP_LAZY = "Lazy", OP_MAP_OR_FAIL = "MapOrFail", OP_NESTED = "Nested", OP_PRIMITIVE = "Primitive", OP_SEQUENCE = "Sequence", OP_HASHMAP = "HashMap", OP_ZIP_WITH = "ZipWith";
|
|
16200
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/config.js
|
|
16201
|
+
var OP_CONSTANT = "Constant", OP_FAIL2 = "Fail", OP_FALLBACK = "Fallback", OP_DESCRIBED = "Described", OP_LAZY = "Lazy", OP_MAP_OR_FAIL = "MapOrFail", OP_NESTED = "Nested", OP_PRIMITIVE = "Primitive", OP_REDACTED = "Redacted", OP_SEQUENCE = "Sequence", OP_HASHMAP = "HashMap", OP_ZIP_WITH = "ZipWith";
|
|
16127
16202
|
|
|
16128
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16203
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/configProvider.js
|
|
16129
16204
|
var concat = (l, r) => [...l, ...r], ConfigProviderSymbolKey = "effect/ConfigProvider", ConfigProviderTypeId, configProviderTag, FlatConfigProviderSymbolKey = "effect/ConfigProviderFlat", FlatConfigProviderTypeId, make20 = (options) => ({
|
|
16130
16205
|
[ConfigProviderTypeId]: ConfigProviderTypeId,
|
|
16131
16206
|
pipe() {
|
|
@@ -16198,7 +16273,7 @@ var concat = (l, r) => [...l, ...r], ConfigProviderSymbolKey = "effect/ConfigPro
|
|
|
16198
16273
|
return out;
|
|
16199
16274
|
}
|
|
16200
16275
|
return path;
|
|
16201
|
-
}, fromFlatLoop = (flat, prefix, config, split) => {
|
|
16276
|
+
}, RedactedConfigErrorReducer, redactConfigError = (error) => reduceWithContext3(error, undefined, RedactedConfigErrorReducer), fromFlatLoop = (flat, prefix, config, split) => {
|
|
16202
16277
|
const op = config;
|
|
16203
16278
|
switch (op._tag) {
|
|
16204
16279
|
case OP_CONSTANT: {
|
|
@@ -16236,6 +16311,9 @@ var concat = (l, r) => [...l, ...r], ConfigProviderSymbolKey = "effect/ConfigPro
|
|
|
16236
16311
|
return succeed(values3);
|
|
16237
16312
|
}))));
|
|
16238
16313
|
}
|
|
16314
|
+
case OP_REDACTED: {
|
|
16315
|
+
return suspend(() => pipe(fromFlatLoop(flat, prefix, op.original, split), mapError(redactConfigError), map9(map3(op.redact))));
|
|
16316
|
+
}
|
|
16239
16317
|
case OP_SEQUENCE: {
|
|
16240
16318
|
return pipe(patch5(prefix, flat.patch), flatMap7((patchedPrefix) => pipe(flat.enumerateChildren(patchedPrefix), flatMap7(indicesFrom), flatMap7((indices) => {
|
|
16241
16319
|
if (indices.length === 0) {
|
|
@@ -16325,10 +16403,18 @@ var init_configProvider = __esm(() => {
|
|
|
16325
16403
|
ConfigProviderTypeId = /* @__PURE__ */ Symbol.for(ConfigProviderSymbolKey);
|
|
16326
16404
|
configProviderTag = /* @__PURE__ */ GenericTag("effect/ConfigProvider");
|
|
16327
16405
|
FlatConfigProviderTypeId = /* @__PURE__ */ Symbol.for(FlatConfigProviderSymbolKey);
|
|
16406
|
+
RedactedConfigErrorReducer = {
|
|
16407
|
+
andCase: (_, left3, right3) => And(left3, right3),
|
|
16408
|
+
orCase: (_, left3, right3) => Or(left3, right3),
|
|
16409
|
+
invalidDataCase: (_, path) => InvalidData(path, "<redacted>"),
|
|
16410
|
+
missingDataCase: (_, path) => MissingData(path, "<redacted>"),
|
|
16411
|
+
sourceUnavailableCase: (_, path, _message, cause) => SourceUnavailable(path, "<redacted>", cause),
|
|
16412
|
+
unsupportedCase: (_, path) => Unsupported(path, "<redacted>")
|
|
16413
|
+
};
|
|
16328
16414
|
QUOTED_INDEX_REGEX = /^(\[(\d+)\])$/;
|
|
16329
16415
|
});
|
|
16330
16416
|
|
|
16331
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16417
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/defaultServices/console.js
|
|
16332
16418
|
var TypeId8, consoleTag, defaultConsole;
|
|
16333
16419
|
var init_console = __esm(() => {
|
|
16334
16420
|
init_Context();
|
|
@@ -16421,7 +16507,7 @@ var init_console = __esm(() => {
|
|
|
16421
16507
|
};
|
|
16422
16508
|
});
|
|
16423
16509
|
|
|
16424
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16510
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/random.js
|
|
16425
16511
|
var RandomSymbolKey = "effect/Random", RandomTypeId, randomTag, RandomImpl, shuffleWith = (elements, nextIntBounded) => {
|
|
16426
16512
|
return suspend(() => pipe(sync(() => Array.from(elements)), flatMap7((buffer) => {
|
|
16427
16513
|
const numbers = [];
|
|
@@ -16533,7 +16619,7 @@ var init_random = __esm(() => {
|
|
|
16533
16619
|
};
|
|
16534
16620
|
});
|
|
16535
16621
|
|
|
16536
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16622
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/tracer.js
|
|
16537
16623
|
class NativeSpan {
|
|
16538
16624
|
name;
|
|
16539
16625
|
parent;
|
|
@@ -16638,7 +16724,7 @@ var init_tracer = __esm(() => {
|
|
|
16638
16724
|
});
|
|
16639
16725
|
});
|
|
16640
16726
|
|
|
16641
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16727
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/defaultServices.js
|
|
16642
16728
|
var liveServices, currentServices, sleep = (duration) => {
|
|
16643
16729
|
const decodedDuration = decode(duration);
|
|
16644
16730
|
return clockWith((clock) => clock.sleep(decodedDuration));
|
|
@@ -16664,11 +16750,11 @@ var init_defaultServices = __esm(() => {
|
|
|
16664
16750
|
withTracer = /* @__PURE__ */ dual(2, (effect, value) => fiberRefLocallyWith(currentServices, add4(tracerTag, value))(effect));
|
|
16665
16751
|
});
|
|
16666
16752
|
|
|
16667
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16753
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Boolean.js
|
|
16668
16754
|
var not = (self2) => !self2;
|
|
16669
16755
|
var init_Boolean = () => {};
|
|
16670
16756
|
|
|
16671
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16757
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Effectable.js
|
|
16672
16758
|
var EffectPrototype2, CommitPrototype2, Base2, Class;
|
|
16673
16759
|
var init_Effectable = __esm(() => {
|
|
16674
16760
|
init_effectable();
|
|
@@ -16679,7 +16765,7 @@ var init_Effectable = __esm(() => {
|
|
|
16679
16765
|
};
|
|
16680
16766
|
});
|
|
16681
16767
|
|
|
16682
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16768
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/executionStrategy.js
|
|
16683
16769
|
var OP_SEQUENTIAL2 = "Sequential", OP_PARALLEL2 = "Parallel", OP_PARALLEL_N = "ParallelN", sequential3, parallel3, parallelN = (parallelism) => ({
|
|
16684
16770
|
_tag: OP_PARALLEL_N,
|
|
16685
16771
|
parallelism
|
|
@@ -16693,7 +16779,7 @@ var init_executionStrategy = __esm(() => {
|
|
|
16693
16779
|
};
|
|
16694
16780
|
});
|
|
16695
16781
|
|
|
16696
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16782
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/ExecutionStrategy.js
|
|
16697
16783
|
var sequential4, parallel4, parallelN2;
|
|
16698
16784
|
var init_ExecutionStrategy = __esm(() => {
|
|
16699
16785
|
init_executionStrategy();
|
|
@@ -16702,7 +16788,7 @@ var init_ExecutionStrategy = __esm(() => {
|
|
|
16702
16788
|
parallelN2 = parallelN;
|
|
16703
16789
|
});
|
|
16704
16790
|
|
|
16705
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16791
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberRefs.js
|
|
16706
16792
|
function unsafeMake4(fiberRefLocals) {
|
|
16707
16793
|
return new FiberRefsImpl(fiberRefLocals);
|
|
16708
16794
|
}
|
|
@@ -16876,7 +16962,7 @@ var init_fiberRefs = __esm(() => {
|
|
|
16876
16962
|
});
|
|
16877
16963
|
});
|
|
16878
16964
|
|
|
16879
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16965
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/FiberRefs.js
|
|
16880
16966
|
var delete_2, get9, getOrDefault2, joinAs2, setAll2, updateAs2, updateManyAs2, empty20;
|
|
16881
16967
|
var init_FiberRefs = __esm(() => {
|
|
16882
16968
|
init_fiberRefs();
|
|
@@ -16890,7 +16976,7 @@ var init_FiberRefs = __esm(() => {
|
|
|
16890
16976
|
empty20 = empty19;
|
|
16891
16977
|
});
|
|
16892
16978
|
|
|
16893
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
16979
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberRefs/patch.js
|
|
16894
16980
|
var OP_EMPTY2 = "Empty", OP_ADD = "Add", OP_REMOVE = "Remove", OP_UPDATE = "Update", OP_AND_THEN = "AndThen", empty21, diff5 = (oldValue, newValue) => {
|
|
16895
16981
|
const missingLocals = new Map(oldValue.locals);
|
|
16896
16982
|
let patch6 = empty21;
|
|
@@ -16981,7 +17067,7 @@ var init_patch = __esm(() => {
|
|
|
16981
17067
|
});
|
|
16982
17068
|
});
|
|
16983
17069
|
|
|
16984
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17070
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/FiberRefsPatch.js
|
|
16985
17071
|
var diff6, patch7;
|
|
16986
17072
|
var init_FiberRefsPatch = __esm(() => {
|
|
16987
17073
|
init_patch();
|
|
@@ -16989,7 +17075,7 @@ var init_FiberRefsPatch = __esm(() => {
|
|
|
16989
17075
|
patch7 = patch6;
|
|
16990
17076
|
});
|
|
16991
17077
|
|
|
16992
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17078
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberStatus.js
|
|
16993
17079
|
var FiberStatusSymbolKey = "effect/FiberStatus", FiberStatusTypeId, OP_DONE = "Done", OP_RUNNING = "Running", OP_SUSPENDED = "Suspended", DoneHash, Done, Running, Suspended, done2, running = (runtimeFlags2) => new Running(runtimeFlags2), suspended = (runtimeFlags2, blockingOn) => new Suspended(runtimeFlags2, blockingOn), isFiberStatus = (u) => hasProperty(u, FiberStatusTypeId), isDone = (self2) => self2._tag === OP_DONE, isRunning = (self2) => self2._tag === OP_RUNNING, isSuspended = (self2) => self2._tag === OP_SUSPENDED;
|
|
16994
17080
|
var init_fiberStatus = __esm(() => {
|
|
16995
17081
|
init_Equal();
|
|
@@ -17041,7 +17127,7 @@ var init_fiberStatus = __esm(() => {
|
|
|
17041
17127
|
done2 = /* @__PURE__ */ new Done;
|
|
17042
17128
|
});
|
|
17043
17129
|
|
|
17044
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17130
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/FiberStatus.js
|
|
17045
17131
|
var done3, running2, suspended2, isDone2, isRunning2, isSuspended2;
|
|
17046
17132
|
var init_FiberStatus = __esm(() => {
|
|
17047
17133
|
init_fiberStatus();
|
|
@@ -17053,7 +17139,7 @@ var init_FiberStatus = __esm(() => {
|
|
|
17053
17139
|
isSuspended2 = isSuspended;
|
|
17054
17140
|
});
|
|
17055
17141
|
|
|
17056
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17142
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/LogLevel.js
|
|
17057
17143
|
var All, Fatal, Error2, Warning, Info, Debug, Trace, None3, Order3, greaterThan3, fromLiteral = (literal) => {
|
|
17058
17144
|
switch (literal) {
|
|
17059
17145
|
case "All":
|
|
@@ -17091,7 +17177,7 @@ var init_LogLevel = __esm(() => {
|
|
|
17091
17177
|
greaterThan3 = /* @__PURE__ */ greaterThan(Order3);
|
|
17092
17178
|
});
|
|
17093
17179
|
|
|
17094
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17180
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Micro.js
|
|
17095
17181
|
function defaultEvaluate(_fiber) {
|
|
17096
17182
|
return exitDie2(`Micro.evaluate: Not implemented`);
|
|
17097
17183
|
}
|
|
@@ -17541,7 +17627,7 @@ var init_Micro = __esm(() => {
|
|
|
17541
17627
|
});
|
|
17542
17628
|
});
|
|
17543
17629
|
|
|
17544
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17630
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Readable.js
|
|
17545
17631
|
var TypeId10, Proto;
|
|
17546
17632
|
var init_Readable = __esm(() => {
|
|
17547
17633
|
init_Pipeable();
|
|
@@ -17554,7 +17640,7 @@ var init_Readable = __esm(() => {
|
|
|
17554
17640
|
};
|
|
17555
17641
|
});
|
|
17556
17642
|
|
|
17557
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17643
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/ref.js
|
|
17558
17644
|
var RefTypeId, refVariance, RefImpl, unsafeMake5 = (value) => new RefImpl(make11(value)), make23 = (value) => sync(() => unsafeMake5(value)), get10 = (self2) => self2.get, set4, getAndSet, getAndUpdate, getAndUpdateSome, setAndGet, modify3, modifySome, update2, updateAndGet, updateSome, updateSomeAndGet;
|
|
17559
17645
|
var init_ref = __esm(() => {
|
|
17560
17646
|
init_Effectable();
|
|
@@ -17640,7 +17726,7 @@ var init_ref = __esm(() => {
|
|
|
17640
17726
|
}));
|
|
17641
17727
|
});
|
|
17642
17728
|
|
|
17643
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17729
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Ref.js
|
|
17644
17730
|
var exports_Ref = {};
|
|
17645
17731
|
__export(exports_Ref, {
|
|
17646
17732
|
updateSomeAndGet: () => updateSomeAndGet2,
|
|
@@ -17679,7 +17765,7 @@ var init_Ref = __esm(() => {
|
|
|
17679
17765
|
unsafeMake6 = unsafeMake5;
|
|
17680
17766
|
});
|
|
17681
17767
|
|
|
17682
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17768
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Scheduler.js
|
|
17683
17769
|
class SchedulerRunner {
|
|
17684
17770
|
scheduleDrain;
|
|
17685
17771
|
running = false;
|
|
@@ -17806,14 +17892,14 @@ var init_Scheduler = __esm(() => {
|
|
|
17806
17892
|
withScheduler = /* @__PURE__ */ dual(2, (self2, scheduler) => fiberRefLocally(self2, currentScheduler, scheduler));
|
|
17807
17893
|
});
|
|
17808
17894
|
|
|
17809
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17895
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/completedRequestMap.js
|
|
17810
17896
|
var currentRequestMap;
|
|
17811
17897
|
var init_completedRequestMap = __esm(() => {
|
|
17812
17898
|
init_core();
|
|
17813
17899
|
currentRequestMap = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/FiberRef/currentRequestMap"), () => fiberRefUnsafeMake(new Map));
|
|
17814
17900
|
});
|
|
17815
17901
|
|
|
17816
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17902
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/concurrency.js
|
|
17817
17903
|
var match8 = (concurrency, sequential5, unbounded, bounded) => {
|
|
17818
17904
|
switch (concurrency) {
|
|
17819
17905
|
case undefined:
|
|
@@ -17841,7 +17927,7 @@ var init_concurrency = __esm(() => {
|
|
|
17841
17927
|
init_core();
|
|
17842
17928
|
});
|
|
17843
17929
|
|
|
17844
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17930
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Clock.js
|
|
17845
17931
|
var sleep2, currentTimeMillis2, currentTimeNanos2, clockWith2, Clock;
|
|
17846
17932
|
var init_Clock = __esm(() => {
|
|
17847
17933
|
init_clock();
|
|
@@ -17853,7 +17939,7 @@ var init_Clock = __esm(() => {
|
|
|
17853
17939
|
Clock = clockTag;
|
|
17854
17940
|
});
|
|
17855
17941
|
|
|
17856
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17942
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/logSpan.js
|
|
17857
17943
|
var make25 = (label, startTime) => ({
|
|
17858
17944
|
label,
|
|
17859
17945
|
startTime
|
|
@@ -17862,20 +17948,20 @@ var make25 = (label, startTime) => ({
|
|
|
17862
17948
|
return `${label}=${now - self2.startTime}ms`;
|
|
17863
17949
|
};
|
|
17864
17950
|
|
|
17865
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17951
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/LogSpan.js
|
|
17866
17952
|
var make26;
|
|
17867
17953
|
var init_LogSpan = __esm(() => {
|
|
17868
17954
|
make26 = make25;
|
|
17869
17955
|
});
|
|
17870
17956
|
|
|
17871
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17957
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Tracer.js
|
|
17872
17958
|
var tracerWith2;
|
|
17873
17959
|
var init_Tracer = __esm(() => {
|
|
17874
17960
|
init_defaultServices();
|
|
17875
17961
|
tracerWith2 = tracerWith;
|
|
17876
17962
|
});
|
|
17877
17963
|
|
|
17878
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17964
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/label.js
|
|
17879
17965
|
var MetricLabelSymbolKey = "effect/MetricLabel", MetricLabelTypeId, MetricLabelImpl, make27 = (key, value) => {
|
|
17880
17966
|
return new MetricLabelImpl(key, value);
|
|
17881
17967
|
}, isMetricLabel = (u) => hasProperty(u, MetricLabelTypeId);
|
|
@@ -17907,7 +17993,7 @@ var init_label = __esm(() => {
|
|
|
17907
17993
|
};
|
|
17908
17994
|
});
|
|
17909
17995
|
|
|
17910
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
17996
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/core-effect.js
|
|
17911
17997
|
var annotateLogs, asSome = (self2) => map9(self2, some2), asSomeError = (self2) => mapError(self2, some2), try_ = (arg) => {
|
|
17912
17998
|
let evaluate2;
|
|
17913
17999
|
let onFailure = undefined;
|
|
@@ -18522,7 +18608,7 @@ var init_core_effect = __esm(() => {
|
|
|
18522
18608
|
withParentSpan = /* @__PURE__ */ dual(2, (self2, span2) => provideService(self2, spanTag, span2));
|
|
18523
18609
|
});
|
|
18524
18610
|
|
|
18525
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18611
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Exit.js
|
|
18526
18612
|
var isSuccess2, fail4, failCause3, flatten6, forEachEffect, interrupt4, match10, succeed3, zipWith3;
|
|
18527
18613
|
var init_Exit = __esm(() => {
|
|
18528
18614
|
init_core();
|
|
@@ -18537,7 +18623,7 @@ var init_Exit = __esm(() => {
|
|
|
18537
18623
|
zipWith3 = exitZipWith;
|
|
18538
18624
|
});
|
|
18539
18625
|
|
|
18540
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18626
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberMessage.js
|
|
18541
18627
|
var OP_INTERRUPT_SIGNAL = "InterruptSignal", OP_STATEFUL = "Stateful", OP_RESUME = "Resume", OP_YIELD_NOW = "YieldNow", interruptSignal = (cause2) => ({
|
|
18542
18628
|
_tag: OP_INTERRUPT_SIGNAL,
|
|
18543
18629
|
cause: cause2
|
|
@@ -18551,7 +18637,7 @@ var OP_INTERRUPT_SIGNAL = "InterruptSignal", OP_STATEFUL = "Stateful", OP_RESUME
|
|
|
18551
18637
|
_tag: OP_YIELD_NOW
|
|
18552
18638
|
});
|
|
18553
18639
|
|
|
18554
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18640
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberScope.js
|
|
18555
18641
|
var FiberScopeSymbolKey = "effect/FiberScope", FiberScopeTypeId, Global, Local, unsafeMake7 = (fiber) => {
|
|
18556
18642
|
return new Local(fiber.id(), fiber);
|
|
18557
18643
|
}, globalScope;
|
|
@@ -18589,7 +18675,7 @@ var init_fiberScope = __esm(() => {
|
|
|
18589
18675
|
globalScope = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/FiberScope/Global"), () => new Global);
|
|
18590
18676
|
});
|
|
18591
18677
|
|
|
18592
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18678
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiber.js
|
|
18593
18679
|
var FiberSymbolKey = "effect/Fiber", FiberTypeId, fiberVariance2, fiberProto, RuntimeFiberSymbolKey = "effect/Fiber", RuntimeFiberTypeId, Order4, isFiber = (u) => hasProperty(u, FiberTypeId), isRuntimeFiber = (self2) => (RuntimeFiberTypeId in self2), _await = (self2) => self2.await, children = (self2) => self2.children, done4 = (exit2) => {
|
|
18594
18680
|
const _fiber = {
|
|
18595
18681
|
...CommitPrototype,
|
|
@@ -18770,7 +18856,7 @@ var init_fiber = __esm(() => {
|
|
|
18770
18856
|
void_3 = /* @__PURE__ */ succeed4(undefined);
|
|
18771
18857
|
});
|
|
18772
18858
|
|
|
18773
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18859
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/logger.js
|
|
18774
18860
|
var LoggerSymbolKey = "effect/Logger", LoggerTypeId, loggerVariance, makeLogger = (log3) => ({
|
|
18775
18861
|
[LoggerTypeId]: loggerVariance,
|
|
18776
18862
|
log: log3,
|
|
@@ -18857,7 +18943,7 @@ var init_logger = __esm(() => {
|
|
|
18857
18943
|
hasProcessStdoutOrDeno = hasProcessStdout || "Deno" in globalThis;
|
|
18858
18944
|
});
|
|
18859
18945
|
|
|
18860
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18946
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/boundaries.js
|
|
18861
18947
|
var MetricBoundariesSymbolKey = "effect/MetricBoundaries", MetricBoundariesTypeId, MetricBoundariesImpl, isMetricBoundaries = (u) => hasProperty(u, MetricBoundariesTypeId), fromIterable7 = (iterable) => {
|
|
18862
18948
|
const values3 = pipe(iterable, appendAll(of2(Number.POSITIVE_INFINITY)), dedupe);
|
|
18863
18949
|
return new MetricBoundariesImpl(values3);
|
|
@@ -18891,7 +18977,7 @@ var init_boundaries = __esm(() => {
|
|
|
18891
18977
|
};
|
|
18892
18978
|
});
|
|
18893
18979
|
|
|
18894
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
18980
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/keyType.js
|
|
18895
18981
|
var MetricKeyTypeSymbolKey = "effect/MetricKeyType", MetricKeyTypeTypeId, CounterKeyTypeSymbolKey = "effect/MetricKeyType/Counter", CounterKeyTypeTypeId, FrequencyKeyTypeSymbolKey = "effect/MetricKeyType/Frequency", FrequencyKeyTypeTypeId, GaugeKeyTypeSymbolKey = "effect/MetricKeyType/Gauge", GaugeKeyTypeTypeId, HistogramKeyTypeSymbolKey = "effect/MetricKeyType/Histogram", HistogramKeyTypeTypeId, SummaryKeyTypeSymbolKey = "effect/MetricKeyType/Summary", SummaryKeyTypeTypeId, metricKeyTypeVariance, CounterKeyType, HistogramKeyType, counter = (options) => new CounterKeyType(options?.incremental ?? false, options?.bigint ?? false), histogram = (boundaries) => {
|
|
18896
18982
|
return new HistogramKeyType(boundaries);
|
|
18897
18983
|
}, isCounterKey = (u) => hasProperty(u, CounterKeyTypeTypeId), isFrequencyKey = (u) => hasProperty(u, FrequencyKeyTypeTypeId), isGaugeKey = (u) => hasProperty(u, GaugeKeyTypeTypeId), isHistogramKey = (u) => hasProperty(u, HistogramKeyTypeTypeId), isSummaryKey = (u) => hasProperty(u, SummaryKeyTypeTypeId);
|
|
@@ -18953,7 +19039,7 @@ var init_keyType = __esm(() => {
|
|
|
18953
19039
|
};
|
|
18954
19040
|
});
|
|
18955
19041
|
|
|
18956
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19042
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/key.js
|
|
18957
19043
|
var MetricKeySymbolKey = "effect/MetricKey", MetricKeyTypeId, metricKeyVariance, arrayEquivilence, MetricKeyImpl, isMetricKey = (u) => hasProperty(u, MetricKeyTypeId), counter2 = (name, options) => new MetricKeyImpl(name, counter(options), fromNullable(options?.description)), histogram2 = (name, boundaries, description) => new MetricKeyImpl(name, histogram(boundaries), fromNullable(description)), taggedWithLabels;
|
|
18958
19044
|
var init_key = __esm(() => {
|
|
18959
19045
|
init_Array();
|
|
@@ -18996,7 +19082,7 @@ var init_key = __esm(() => {
|
|
|
18996
19082
|
taggedWithLabels = /* @__PURE__ */ dual(2, (self2, extraTags) => extraTags.length === 0 ? self2 : new MetricKeyImpl(self2.name, self2.keyType, self2.description, union(self2.tags, extraTags)));
|
|
18997
19083
|
});
|
|
18998
19084
|
|
|
18999
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19085
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/MutableHashMap.js
|
|
19000
19086
|
class BucketIterator {
|
|
19001
19087
|
backing;
|
|
19002
19088
|
constructor(backing) {
|
|
@@ -19147,7 +19233,7 @@ var init_MutableHashMap = __esm(() => {
|
|
|
19147
19233
|
});
|
|
19148
19234
|
});
|
|
19149
19235
|
|
|
19150
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19236
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/state.js
|
|
19151
19237
|
var MetricStateSymbolKey = "effect/MetricState", MetricStateTypeId, CounterStateSymbolKey = "effect/MetricState/Counter", CounterStateTypeId, FrequencyStateSymbolKey = "effect/MetricState/Frequency", FrequencyStateTypeId, GaugeStateSymbolKey = "effect/MetricState/Gauge", GaugeStateTypeId, HistogramStateSymbolKey = "effect/MetricState/Histogram", HistogramStateTypeId, SummaryStateSymbolKey = "effect/MetricState/Summary", SummaryStateTypeId, metricStateVariance, CounterState, arrayEquals, FrequencyState, GaugeState, HistogramState, SummaryState, counter3 = (count) => new CounterState(count), frequency2 = (occurrences) => {
|
|
19152
19238
|
return new FrequencyState(occurrences);
|
|
19153
19239
|
}, gauge2 = (count) => new GaugeState(count), histogram3 = (options) => new HistogramState(options.buckets, options.count, options.min, options.max, options.sum), summary2 = (options) => new SummaryState(options.error, options.quantiles, options.count, options.min, options.max, options.sum), isCounterState = (u) => hasProperty(u, CounterStateTypeId), isFrequencyState = (u) => hasProperty(u, FrequencyStateTypeId), isGaugeState = (u) => hasProperty(u, GaugeStateTypeId), isHistogramState = (u) => hasProperty(u, HistogramStateTypeId), isSummaryState = (u) => hasProperty(u, SummaryStateTypeId);
|
|
@@ -19274,7 +19360,7 @@ var init_state = __esm(() => {
|
|
|
19274
19360
|
};
|
|
19275
19361
|
});
|
|
19276
19362
|
|
|
19277
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19363
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/hook.js
|
|
19278
19364
|
var MetricHookSymbolKey = "effect/MetricHook", MetricHookTypeId, metricHookVariance, make28 = (options) => ({
|
|
19279
19365
|
[MetricHookTypeId]: metricHookVariance,
|
|
19280
19366
|
pipe() {
|
|
@@ -19568,7 +19654,7 @@ var init_hook = __esm(() => {
|
|
|
19568
19654
|
bigint03 = /* @__PURE__ */ BigInt(0);
|
|
19569
19655
|
});
|
|
19570
19656
|
|
|
19571
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19657
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/pair.js
|
|
19572
19658
|
var MetricPairSymbolKey = "effect/MetricPair", MetricPairTypeId, metricPairVariance, unsafeMake8 = (metricKey, metricState) => {
|
|
19573
19659
|
return {
|
|
19574
19660
|
[MetricPairTypeId]: metricPairVariance,
|
|
@@ -19587,7 +19673,7 @@ var init_pair = __esm(() => {
|
|
|
19587
19673
|
};
|
|
19588
19674
|
});
|
|
19589
19675
|
|
|
19590
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19676
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric/registry.js
|
|
19591
19677
|
var MetricRegistrySymbolKey = "effect/MetricRegistry", MetricRegistryTypeId, MetricRegistryImpl, make29 = () => {
|
|
19592
19678
|
return new MetricRegistryImpl;
|
|
19593
19679
|
};
|
|
@@ -19690,7 +19776,7 @@ var init_registry = __esm(() => {
|
|
|
19690
19776
|
};
|
|
19691
19777
|
});
|
|
19692
19778
|
|
|
19693
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19779
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/metric.js
|
|
19694
19780
|
var MetricSymbolKey = "effect/Metric", MetricTypeId, metricVariance, globalMetricRegistry, make30 = function(keyType, unsafeUpdate, unsafeValue, unsafeModify) {
|
|
19695
19781
|
const metric = Object.assign((effect) => tap(effect, (a) => update4(metric, a)), {
|
|
19696
19782
|
[MetricTypeId]: metricVariance,
|
|
@@ -19750,7 +19836,7 @@ var init_metric = __esm(() => {
|
|
|
19750
19836
|
update4 = /* @__PURE__ */ dual(2, (self2, input) => fiberRefGetWith(currentMetricLabels, (tags) => sync(() => self2.unsafeUpdate(input, tags))));
|
|
19751
19837
|
});
|
|
19752
19838
|
|
|
19753
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19839
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/request.js
|
|
19754
19840
|
class Listeners {
|
|
19755
19841
|
count = 0;
|
|
19756
19842
|
observers = /* @__PURE__ */ new Set;
|
|
@@ -19797,7 +19883,7 @@ var init_request = __esm(() => {
|
|
|
19797
19883
|
})));
|
|
19798
19884
|
});
|
|
19799
19885
|
|
|
19800
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
19886
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/supervisor.js
|
|
19801
19887
|
var SupervisorSymbolKey = "effect/Supervisor", SupervisorTypeId, supervisorVariance, ProxySupervisor, Zip, isZip = (self2) => hasProperty(self2, SupervisorTypeId) && isTagged(self2, "Zip"), Track, Const, unsafeTrack = () => {
|
|
19802
19888
|
return new Track;
|
|
19803
19889
|
}, track, fromEffect2 = (effect) => {
|
|
@@ -19936,14 +20022,14 @@ var init_supervisor = __esm(() => {
|
|
|
19936
20022
|
none8 = /* @__PURE__ */ globalValue("effect/Supervisor/none", () => fromEffect2(void_));
|
|
19937
20023
|
});
|
|
19938
20024
|
|
|
19939
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
20025
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Differ.js
|
|
19940
20026
|
var make31;
|
|
19941
20027
|
var init_Differ = __esm(() => {
|
|
19942
20028
|
init_differ();
|
|
19943
20029
|
make31 = make14;
|
|
19944
20030
|
});
|
|
19945
20031
|
|
|
19946
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
20032
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/supervisor/patch.js
|
|
19947
20033
|
var OP_EMPTY3 = "Empty", OP_ADD_SUPERVISOR = "AddSupervisor", OP_REMOVE_SUPERVISOR = "RemoveSupervisor", OP_AND_THEN2 = "AndThen", empty23, combine8 = (self2, that) => {
|
|
19948
20034
|
return {
|
|
19949
20035
|
_tag: OP_AND_THEN2,
|
|
@@ -20033,7 +20119,7 @@ var init_patch2 = __esm(() => {
|
|
|
20033
20119
|
});
|
|
20034
20120
|
});
|
|
20035
20121
|
|
|
20036
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
20122
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/fiberRuntime.js
|
|
20037
20123
|
var fiberStarted, fiberActive, fiberSuccesses, fiberFailures, fiberLifetimes, EvaluationSignalContinue = "Continue", EvaluationSignalDone = "Done", EvaluationSignalYieldNow = "Yield", runtimeFiberVariance, absurd = (_) => {
|
|
20038
20124
|
throw new Error(`BUG: FiberRuntime - ${toStringUnknown(_)} - please report an issue at https://github.com/Effect-TS/effect/issues`);
|
|
20039
20125
|
}, YieldedOp, yieldedOpChannel, contOpSuccess, drainQueueWhileRunningTable, runBlockedRequests = (self2) => forEachSequentialDiscard(flatten3(self2), (requestsByRequestResolver) => forEachConcurrentDiscard(sequentialCollectionToChunk(requestsByRequestResolver), ([dataSource, sequential5]) => {
|
|
@@ -21668,7 +21754,7 @@ var init_fiberRuntime = __esm(() => {
|
|
|
21668
21754
|
})));
|
|
21669
21755
|
});
|
|
21670
21756
|
|
|
21671
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21757
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/schedule/interval.js
|
|
21672
21758
|
var IntervalSymbolKey = "effect/ScheduleInterval", IntervalTypeId, empty24, make32 = (startMillis, endMillis) => {
|
|
21673
21759
|
if (startMillis > endMillis) {
|
|
21674
21760
|
return empty24;
|
|
@@ -21715,7 +21801,7 @@ var init_interval = __esm(() => {
|
|
|
21715
21801
|
});
|
|
21716
21802
|
});
|
|
21717
21803
|
|
|
21718
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21804
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/ScheduleInterval.js
|
|
21719
21805
|
var make33, empty25, lessThan4, isEmpty8, intersect2, size8, after2;
|
|
21720
21806
|
var init_ScheduleInterval = __esm(() => {
|
|
21721
21807
|
init_interval();
|
|
@@ -21728,7 +21814,7 @@ var init_ScheduleInterval = __esm(() => {
|
|
|
21728
21814
|
after2 = after;
|
|
21729
21815
|
});
|
|
21730
21816
|
|
|
21731
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21817
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/schedule/intervals.js
|
|
21732
21818
|
var IntervalsSymbolKey = "effect/ScheduleIntervals", IntervalsTypeId, make34 = (intervals) => {
|
|
21733
21819
|
return {
|
|
21734
21820
|
[IntervalsTypeId]: IntervalsTypeId,
|
|
@@ -21830,7 +21916,7 @@ var init_intervals = __esm(() => {
|
|
|
21830
21916
|
max4 = /* @__PURE__ */ dual(2, (self2, that) => lessThan5(self2, that) ? that : self2);
|
|
21831
21917
|
});
|
|
21832
21918
|
|
|
21833
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21919
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/ScheduleIntervals.js
|
|
21834
21920
|
var make35, union7, intersect4, start2, end2, lessThan6, isNonEmpty4, max5;
|
|
21835
21921
|
var init_ScheduleIntervals = __esm(() => {
|
|
21836
21922
|
init_intervals();
|
|
@@ -21844,7 +21930,7 @@ var init_ScheduleIntervals = __esm(() => {
|
|
|
21844
21930
|
max5 = max4;
|
|
21845
21931
|
});
|
|
21846
21932
|
|
|
21847
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21933
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/schedule/decision.js
|
|
21848
21934
|
var OP_CONTINUE = "Continue", OP_DONE2 = "Done", _continue = (intervals) => {
|
|
21849
21935
|
return {
|
|
21850
21936
|
_tag: OP_CONTINUE,
|
|
@@ -21868,7 +21954,7 @@ var init_decision = __esm(() => {
|
|
|
21868
21954
|
};
|
|
21869
21955
|
});
|
|
21870
21956
|
|
|
21871
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21957
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/ScheduleDecision.js
|
|
21872
21958
|
var _continue2, continueWith2, done6, isContinue2, isDone4;
|
|
21873
21959
|
var init_ScheduleDecision = __esm(() => {
|
|
21874
21960
|
init_decision();
|
|
@@ -21879,7 +21965,7 @@ var init_ScheduleDecision = __esm(() => {
|
|
|
21879
21965
|
isDone4 = isDone3;
|
|
21880
21966
|
});
|
|
21881
21967
|
|
|
21882
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21968
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Scope.js
|
|
21883
21969
|
var Scope, close, extend2, fork2;
|
|
21884
21970
|
var init_Scope = __esm(() => {
|
|
21885
21971
|
init_core();
|
|
@@ -21890,7 +21976,7 @@ var init_Scope = __esm(() => {
|
|
|
21890
21976
|
fork2 = scopeFork;
|
|
21891
21977
|
});
|
|
21892
21978
|
|
|
21893
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
21979
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/effect/circular.js
|
|
21894
21980
|
class Semaphore {
|
|
21895
21981
|
permits;
|
|
21896
21982
|
waiters = /* @__PURE__ */ new Set;
|
|
@@ -22159,12 +22245,13 @@ var init_circular = __esm(() => {
|
|
|
22159
22245
|
duration,
|
|
22160
22246
|
onSuccess,
|
|
22161
22247
|
onTimeout
|
|
22162
|
-
}) => fiberIdWith((parentFiberId) => uninterruptibleMask((restore) => raceFibersWith(restore(self2), interruptible2(sleep3(duration)), {
|
|
22248
|
+
}) => fiberIdWith((parentFiberId) => uninterruptibleMask((restore) => raceFibersWith(exit(restore(self2)), interruptible2(sleep3(duration)), {
|
|
22163
22249
|
onSelfWin: (winner, loser) => flatMap7(winner.await, (exit2) => {
|
|
22164
|
-
|
|
22165
|
-
|
|
22250
|
+
const selfExit = exitFlatten(exit2);
|
|
22251
|
+
if (selfExit._tag === "Success") {
|
|
22252
|
+
return flatMap7(winner.inheritAll, () => as2(interruptAsFiber(loser, parentFiberId), onSuccess(selfExit.value)));
|
|
22166
22253
|
} else {
|
|
22167
|
-
return flatMap7(interruptAsFiber(loser, parentFiberId), () => exitFailCause(
|
|
22254
|
+
return flatMap7(interruptAsFiber(loser, parentFiberId), () => exitFailCause(selfExit.cause));
|
|
22168
22255
|
}
|
|
22169
22256
|
}),
|
|
22170
22257
|
onOtherWin: (winner, loser) => flatMap7(winner.await, (exit2) => {
|
|
@@ -22241,16 +22328,16 @@ var init_circular = __esm(() => {
|
|
|
22241
22328
|
bindAll = /* @__PURE__ */ dual((args2) => isEffect(args2[0]), (self2, f, options) => flatMap7(self2, (a) => all4(f(a), options).pipe(map9((record) => Object.assign({}, a, record)))));
|
|
22242
22329
|
});
|
|
22243
22330
|
|
|
22244
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22331
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/managedRuntime/circular.js
|
|
22245
22332
|
var TypeId12;
|
|
22246
22333
|
var init_circular2 = __esm(() => {
|
|
22247
22334
|
TypeId12 = /* @__PURE__ */ Symbol.for("effect/ManagedRuntime");
|
|
22248
22335
|
});
|
|
22249
22336
|
|
|
22250
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22337
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/opCodes/layer.js
|
|
22251
22338
|
var OP_EXTEND_SCOPE = "ExtendScope", OP_FOLD = "Fold", OP_FRESH = "Fresh", OP_FROM_EFFECT = "FromEffect", OP_SCOPED = "Scoped", OP_SUSPEND = "Suspend", OP_PROVIDE = "Provide", OP_PROVIDE_MERGE = "ProvideMerge", OP_MERGE_ALL = "MergeAll", OP_ZIP_WITH2 = "ZipWith";
|
|
22252
22339
|
|
|
22253
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22340
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Fiber.js
|
|
22254
22341
|
var exports_Fiber = {};
|
|
22255
22342
|
__export(exports_Fiber, {
|
|
22256
22343
|
zipWith: () => zipWith4,
|
|
@@ -22354,7 +22441,7 @@ var init_Fiber = __esm(() => {
|
|
|
22354
22441
|
zipWith4 = zipWithFiber;
|
|
22355
22442
|
});
|
|
22356
22443
|
|
|
22357
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22444
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/runtime.js
|
|
22358
22445
|
class RuntimeImpl {
|
|
22359
22446
|
context;
|
|
22360
22447
|
runtimeFlags;
|
|
@@ -22612,14 +22699,14 @@ var init_runtime = __esm(() => {
|
|
|
22612
22699
|
unsafeRunSyncExitEffect = /* @__PURE__ */ unsafeRunSyncExit(defaultRuntime);
|
|
22613
22700
|
});
|
|
22614
22701
|
|
|
22615
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22702
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/synchronizedRef.js
|
|
22616
22703
|
var modifyEffect;
|
|
22617
22704
|
var init_synchronizedRef = __esm(() => {
|
|
22618
22705
|
init_Function();
|
|
22619
22706
|
modifyEffect = /* @__PURE__ */ dual(2, (self2, f) => self2.modifyEffect(f));
|
|
22620
22707
|
});
|
|
22621
22708
|
|
|
22622
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
22709
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/layer.js
|
|
22623
22710
|
function fromEffectContext(effect) {
|
|
22624
22711
|
const fromEffect5 = Object.create(proto3);
|
|
22625
22712
|
fromEffect5._op_layer = OP_FROM_EFFECT;
|
|
@@ -23019,7 +23106,7 @@ var init_layer = __esm(() => {
|
|
|
23019
23106
|
});
|
|
23020
23107
|
});
|
|
23021
23108
|
|
|
23022
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
23109
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/console.js
|
|
23023
23110
|
var console2, consoleWith = (f) => fiberRefGetWith(currentServices, (services) => f(get5(services, consoleTag))), withConsole, withConsoleScoped = (console3) => fiberRefLocallyScopedWith(currentServices, add4(consoleTag, console3));
|
|
23024
23111
|
var init_console2 = __esm(() => {
|
|
23025
23112
|
init_Context();
|
|
@@ -23032,7 +23119,7 @@ var init_console2 = __esm(() => {
|
|
|
23032
23119
|
withConsole = /* @__PURE__ */ dual(2, (effect, value) => fiberRefLocallyWith(effect, currentServices, add4(consoleTag, value)));
|
|
23033
23120
|
});
|
|
23034
23121
|
|
|
23035
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
23122
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Data.js
|
|
23036
23123
|
var Error3, TaggedError = (tag) => {
|
|
23037
23124
|
const O = {
|
|
23038
23125
|
BaseEffectError: class extends Error3 {
|
|
@@ -23072,7 +23159,7 @@ var init_Data = __esm(() => {
|
|
|
23072
23159
|
}();
|
|
23073
23160
|
});
|
|
23074
23161
|
|
|
23075
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
23162
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/dateTime.js
|
|
23076
23163
|
var TypeId13, TimeZoneTypeId, Proto2, ProtoUtc, ProtoZoned, ProtoTimeZone, ProtoTimeZoneNamed, ProtoTimeZoneOffset, makeZonedProto = (epochMillis, zone, partsUtc) => {
|
|
23077
23164
|
const self2 = Object.create(ProtoZoned);
|
|
23078
23165
|
self2.epochMillis = epochMillis;
|
|
@@ -23452,11 +23539,11 @@ var init_dateTime = __esm(() => {
|
|
|
23452
23539
|
withDateUtc = /* @__PURE__ */ dual(2, (self2, f) => f(toDateUtc(self2)));
|
|
23453
23540
|
});
|
|
23454
23541
|
|
|
23455
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
23542
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/String.js
|
|
23456
23543
|
var isNonEmpty5 = (self2) => self2.length > 0;
|
|
23457
23544
|
var init_String = () => {};
|
|
23458
23545
|
|
|
23459
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
23546
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Cron.js
|
|
23460
23547
|
function aliasOrValue(field, aliases) {
|
|
23461
23548
|
return aliases?.[field.toLocaleLowerCase()] ?? (decimalRegex.test(field) ? Number(field) : NaN);
|
|
23462
23549
|
}
|
|
@@ -23955,7 +24042,7 @@ var init_Cron = __esm(() => {
|
|
|
23955
24042
|
decimalRegex = /^\d+$/;
|
|
23956
24043
|
});
|
|
23957
24044
|
|
|
23958
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24045
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Random.js
|
|
23959
24046
|
var next3, fixed2;
|
|
23960
24047
|
var init_Random = __esm(() => {
|
|
23961
24048
|
init_defaultServices();
|
|
@@ -23964,7 +24051,7 @@ var init_Random = __esm(() => {
|
|
|
23964
24051
|
fixed2 = fixed;
|
|
23965
24052
|
});
|
|
23966
24053
|
|
|
23967
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24054
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/schedule.js
|
|
23968
24055
|
var ScheduleSymbolKey = "effect/Schedule", ScheduleTypeId, isSchedule = (u) => hasProperty(u, ScheduleTypeId), ScheduleDriverSymbolKey = "effect/ScheduleDriver", ScheduleDriverTypeId, defaultIterationMetadata, CurrentIterationMetadata, scheduleVariance, scheduleDriverVariance, ScheduleImpl, updateInfo = (iterationMetaRef, now, input, output) => update2(iterationMetaRef, (prev) => prev.recurrence === 0 ? {
|
|
23969
24056
|
now,
|
|
23970
24057
|
input,
|
|
@@ -24560,7 +24647,7 @@ var init_schedule = __esm(() => {
|
|
|
24560
24647
|
scheduleForked = /* @__PURE__ */ dual(2, (self2, schedule) => forkScoped(schedule_Effect(self2, schedule)));
|
|
24561
24648
|
});
|
|
24562
24649
|
|
|
24563
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24650
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/executionPlan.js
|
|
24564
24651
|
var withExecutionPlan, scheduleFromStep = (step3, first) => {
|
|
24565
24652
|
if (!first) {
|
|
24566
24653
|
return fromRetryOptions({
|
|
@@ -24615,7 +24702,7 @@ var init_executionPlan = __esm(() => {
|
|
|
24615
24702
|
}));
|
|
24616
24703
|
});
|
|
24617
24704
|
|
|
24618
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24705
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Deferred.js
|
|
24619
24706
|
var _await3, done8, interrupt6, unsafeMake10;
|
|
24620
24707
|
var init_Deferred = __esm(() => {
|
|
24621
24708
|
init_core();
|
|
@@ -24625,7 +24712,7 @@ var init_Deferred = __esm(() => {
|
|
|
24625
24712
|
unsafeMake10 = deferredUnsafeMake;
|
|
24626
24713
|
});
|
|
24627
24714
|
|
|
24628
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24715
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/MutableList.js
|
|
24629
24716
|
var TypeId15, MutableListProto, makeNode = (value) => ({
|
|
24630
24717
|
value,
|
|
24631
24718
|
removed: false,
|
|
@@ -24736,7 +24823,7 @@ var init_MutableList = __esm(() => {
|
|
|
24736
24823
|
});
|
|
24737
24824
|
});
|
|
24738
24825
|
|
|
24739
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24826
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/MutableQueue.js
|
|
24740
24827
|
var TypeId16, EmptyMutableQueue, MutableQueueProto, make38 = (capacity) => {
|
|
24741
24828
|
const queue = Object.create(MutableQueueProto);
|
|
24742
24829
|
queue.queue = empty28();
|
|
@@ -24787,7 +24874,7 @@ var init_MutableQueue = __esm(() => {
|
|
|
24787
24874
|
});
|
|
24788
24875
|
});
|
|
24789
24876
|
|
|
24790
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
24877
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/cache.js
|
|
24791
24878
|
class KeySetImpl {
|
|
24792
24879
|
head = undefined;
|
|
24793
24880
|
tail = undefined;
|
|
@@ -25206,7 +25293,7 @@ var init_cache = __esm(() => {
|
|
|
25206
25293
|
};
|
|
25207
25294
|
});
|
|
25208
25295
|
|
|
25209
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
25296
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/query.js
|
|
25210
25297
|
var currentCache, currentCacheEnabled, fromRequest = (request, dataSource) => flatMap7(isEffect(dataSource) ? dataSource : succeed(dataSource), (ds) => fiberIdWith((id3) => {
|
|
25211
25298
|
const proxy = new Proxy(request, {});
|
|
25212
25299
|
return fiberRefGetWith(currentCacheEnabled, (cacheEnabled) => {
|
|
@@ -25288,14 +25375,14 @@ var init_query = __esm(() => {
|
|
|
25288
25375
|
withRequestCache = /* @__PURE__ */ dual(2, (self2, cache) => fiberRefLocally(self2, currentCache, cache));
|
|
25289
25376
|
});
|
|
25290
25377
|
|
|
25291
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
25378
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Request.js
|
|
25292
25379
|
var isRequest2;
|
|
25293
25380
|
var init_Request = __esm(() => {
|
|
25294
25381
|
init_request();
|
|
25295
25382
|
isRequest2 = isRequest;
|
|
25296
25383
|
});
|
|
25297
25384
|
|
|
25298
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
25385
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Effect.js
|
|
25299
25386
|
var exports_Effect = {};
|
|
25300
25387
|
__export(exports_Effect, {
|
|
25301
25388
|
zipWith: () => zipWith7,
|
|
@@ -26233,7 +26320,7 @@ var init_Effect = __esm(() => {
|
|
|
26233
26320
|
fnUntraced2 = fnUntraced;
|
|
26234
26321
|
});
|
|
26235
26322
|
|
|
26236
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26323
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/layer/circular.js
|
|
26237
26324
|
var setConfigProvider = (configProvider) => scopedDiscard(withConfigProviderScoped(configProvider)), parentSpan = (span2) => succeedContext(make9(spanTag, span2)), span2 = (name, options) => {
|
|
26238
26325
|
options = addSpanStackTrace(options);
|
|
26239
26326
|
return scoped2(spanTag, options?.onEnd ? tap(makeSpanScoped(name, options), (span3) => addFinalizer((exit3) => options.onEnd(span3, exit3))) : makeSpanScoped(name, options));
|
|
@@ -26246,7 +26333,7 @@ var init_circular3 = __esm(() => {
|
|
|
26246
26333
|
init_tracer();
|
|
26247
26334
|
});
|
|
26248
26335
|
|
|
26249
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26336
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Layer.js
|
|
26250
26337
|
var exports_Layer = {};
|
|
26251
26338
|
__export(exports_Layer, {
|
|
26252
26339
|
zipWith: () => zipWith8,
|
|
@@ -26430,7 +26517,7 @@ var init_Layer = __esm(() => {
|
|
|
26430
26517
|
updateService3 = /* @__PURE__ */ dual(3, (layer, tag, f) => provide3(layer, map16(context4(), (c) => add4(c, tag, f(unsafeGet4(c, tag))))));
|
|
26431
26518
|
});
|
|
26432
26519
|
|
|
26433
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26520
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/internal/managedRuntime.js
|
|
26434
26521
|
function provide4(managed, effect2) {
|
|
26435
26522
|
return flatMap7(managed.runtimeEffect, (rt) => withFiberRuntime((fiber) => {
|
|
26436
26523
|
fiber.setFiberRefs(rt.fiberRefs);
|
|
@@ -26515,7 +26602,7 @@ var init_managedRuntime = __esm(() => {
|
|
|
26515
26602
|
};
|
|
26516
26603
|
});
|
|
26517
26604
|
|
|
26518
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26605
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/ManagedRuntime.js
|
|
26519
26606
|
var exports_ManagedRuntime = {};
|
|
26520
26607
|
__export(exports_ManagedRuntime, {
|
|
26521
26608
|
make: () => make40,
|
|
@@ -26531,7 +26618,7 @@ var init_ManagedRuntime = __esm(() => {
|
|
|
26531
26618
|
make40 = make39;
|
|
26532
26619
|
});
|
|
26533
26620
|
|
|
26534
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26621
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Runtime.js
|
|
26535
26622
|
var exports_Runtime = {};
|
|
26536
26623
|
__export(exports_Runtime, {
|
|
26537
26624
|
updateRuntimeFlags: () => updateRuntimeFlags3,
|
|
@@ -26584,7 +26671,7 @@ var init_Runtime = __esm(() => {
|
|
|
26584
26671
|
deleteFiberRef2 = deleteFiberRef;
|
|
26585
26672
|
});
|
|
26586
26673
|
|
|
26587
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26674
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/Schedule.js
|
|
26588
26675
|
var exports_Schedule = {};
|
|
26589
26676
|
__export(exports_Schedule, {
|
|
26590
26677
|
zipWith: () => zipWith9,
|
|
@@ -26795,7 +26882,7 @@ var init_Schedule = __esm(() => {
|
|
|
26795
26882
|
CurrentIterationMetadata2 = CurrentIterationMetadata;
|
|
26796
26883
|
});
|
|
26797
26884
|
|
|
26798
|
-
// ../../node_modules/.pnpm/effect@3.22.
|
|
26885
|
+
// ../../node_modules/.pnpm/effect@3.22.1/node_modules/effect/dist/esm/index.js
|
|
26799
26886
|
var init_esm = __esm(() => {
|
|
26800
26887
|
init_Cause();
|
|
26801
26888
|
init_Context();
|
|
@@ -30071,10 +30158,25 @@ function closeCursorAgentOnFailure(agent, session2, exitCode, force = false) {
|
|
|
30071
30158
|
} catch {}
|
|
30072
30159
|
}
|
|
30073
30160
|
|
|
30161
|
+
// src/infrastructure/services/remote-agents/cursor-sdk/cursor-sdk-stream-fallback.ts
|
|
30162
|
+
function truncateJson(value) {
|
|
30163
|
+
const raw = JSON.stringify(value);
|
|
30164
|
+
return raw.length <= MAX_LOG_CHARS ? raw : `${raw.slice(0, MAX_LOG_CHARS)}…`;
|
|
30165
|
+
}
|
|
30166
|
+
function logUnhandledSdkMessage(logPrefix, message, writeLine) {
|
|
30167
|
+
writeLine(formatAgentLogLine(logPrefix, "stream:unhandled", `${message.type}: ${truncateJson(message)}`));
|
|
30168
|
+
}
|
|
30169
|
+
function logUnhandledInteractionDelta(logPrefix, update5, writeLine) {
|
|
30170
|
+
writeLine(formatAgentLogLine(logPrefix, "delta:unhandled", `${update5.type}: ${truncateJson(update5)}`));
|
|
30171
|
+
}
|
|
30172
|
+
var MAX_LOG_CHARS = 500;
|
|
30173
|
+
var init_cursor_sdk_stream_fallback = () => {};
|
|
30174
|
+
|
|
30074
30175
|
// src/infrastructure/services/remote-agents/cursor-sdk/cursor-sdk-stream-adapter.ts
|
|
30075
30176
|
var CursorSdkStreamAdapter;
|
|
30076
30177
|
var init_cursor_sdk_stream_adapter = __esm(() => {
|
|
30077
30178
|
init_native_stream_adapter_base();
|
|
30179
|
+
init_cursor_sdk_stream_fallback();
|
|
30078
30180
|
CursorSdkStreamAdapter = class CursorSdkStreamAdapter extends NativeStreamAdapterBase {
|
|
30079
30181
|
textBuffer = "";
|
|
30080
30182
|
handleMessage(message) {
|
|
@@ -30116,13 +30218,48 @@ var init_cursor_sdk_stream_adapter = __esm(() => {
|
|
|
30116
30218
|
break;
|
|
30117
30219
|
case "usage":
|
|
30118
30220
|
break;
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
|
|
30122
|
-
this.writeLine(formatAgentLogLine(this.logPrefix, "stream", `unhandled type: ${unknown.type}`));
|
|
30123
|
-
}
|
|
30221
|
+
case "user":
|
|
30222
|
+
case "request":
|
|
30223
|
+
logUnhandledSdkMessage(this.logPrefix, message, (line) => this.writeLine(line));
|
|
30124
30224
|
break;
|
|
30125
|
-
|
|
30225
|
+
default:
|
|
30226
|
+
logUnhandledSdkMessage(this.logPrefix, message, (line) => this.writeLine(line));
|
|
30227
|
+
break;
|
|
30228
|
+
}
|
|
30229
|
+
}
|
|
30230
|
+
handleInteractionDelta(update5) {
|
|
30231
|
+
this.notifyOutput();
|
|
30232
|
+
switch (update5.type) {
|
|
30233
|
+
case "text-delta":
|
|
30234
|
+
this.appendAssistantText(update5.text);
|
|
30235
|
+
break;
|
|
30236
|
+
case "thinking-delta":
|
|
30237
|
+
this.writeLine(formatAgentLogLine(this.logPrefix, "thinking", update5.text));
|
|
30238
|
+
break;
|
|
30239
|
+
case "tool-call-started":
|
|
30240
|
+
this.flushText();
|
|
30241
|
+
this.logToolCallStarted(update5);
|
|
30242
|
+
break;
|
|
30243
|
+
case "tool-call-completed":
|
|
30244
|
+
this.flushText();
|
|
30245
|
+
break;
|
|
30246
|
+
case "tool-call-delta":
|
|
30247
|
+
this.handleToolCallDelta(update5);
|
|
30248
|
+
break;
|
|
30249
|
+
case "turn-ended":
|
|
30250
|
+
case "thinking-completed":
|
|
30251
|
+
case "token-delta":
|
|
30252
|
+
case "summary-started":
|
|
30253
|
+
case "summary-completed":
|
|
30254
|
+
case "summary":
|
|
30255
|
+
case "user-message-appended":
|
|
30256
|
+
case "partial-tool-call":
|
|
30257
|
+
case "shell-output-delta":
|
|
30258
|
+
case "step-started":
|
|
30259
|
+
case "step-completed":
|
|
30260
|
+
break;
|
|
30261
|
+
default:
|
|
30262
|
+
logUnhandledInteractionDelta(this.logPrefix, update5, (line) => this.writeLine(line));
|
|
30126
30263
|
}
|
|
30127
30264
|
}
|
|
30128
30265
|
flushPendingOutput() {
|
|
@@ -30135,15 +30272,47 @@ var init_cursor_sdk_stream_adapter = __esm(() => {
|
|
|
30135
30272
|
handleAssistant(message) {
|
|
30136
30273
|
for (const block of message.message.content) {
|
|
30137
30274
|
if (block.type === "text") {
|
|
30138
|
-
this.
|
|
30139
|
-
this.assistantTextCapture.captureAssistantText(block.text);
|
|
30140
|
-
if (this.textBuffer.includes(`
|
|
30141
|
-
`)) {
|
|
30142
|
-
this.flushText();
|
|
30143
|
-
}
|
|
30275
|
+
this.appendAssistantText(block.text);
|
|
30144
30276
|
}
|
|
30145
30277
|
}
|
|
30146
30278
|
}
|
|
30279
|
+
appendAssistantText(text) {
|
|
30280
|
+
this.textBuffer += text;
|
|
30281
|
+
this.assistantTextCapture.captureAssistantText(text);
|
|
30282
|
+
if (this.textBuffer.includes(`
|
|
30283
|
+
`))
|
|
30284
|
+
this.flushText();
|
|
30285
|
+
}
|
|
30286
|
+
handleToolCallDelta(update5) {
|
|
30287
|
+
const nested2 = update5.taskUpdate;
|
|
30288
|
+
switch (nested2.type) {
|
|
30289
|
+
case "text-delta":
|
|
30290
|
+
this.appendAssistantText(nested2.text);
|
|
30291
|
+
break;
|
|
30292
|
+
case "tool-call-started":
|
|
30293
|
+
this.flushText();
|
|
30294
|
+
this.logToolCallStarted(nested2);
|
|
30295
|
+
break;
|
|
30296
|
+
case "tool-call-completed":
|
|
30297
|
+
case "thinking-delta":
|
|
30298
|
+
case "thinking-completed":
|
|
30299
|
+
case "partial-tool-call":
|
|
30300
|
+
case "step-started":
|
|
30301
|
+
case "step-completed":
|
|
30302
|
+
break;
|
|
30303
|
+
default:
|
|
30304
|
+
logUnhandledInteractionDelta(this.logPrefix, nested2, (line) => this.writeLine(line));
|
|
30305
|
+
}
|
|
30306
|
+
}
|
|
30307
|
+
logToolCallStarted(update5) {
|
|
30308
|
+
const toolCall = update5.toolCall;
|
|
30309
|
+
const command = toolCall.type === "shell" ? toolCall.args?.command : undefined;
|
|
30310
|
+
if (command) {
|
|
30311
|
+
this.writeLine(formatAgentLogLine(this.logPrefix, BASH_TOOL_KIND, formatBashRunningPayload(command)));
|
|
30312
|
+
return;
|
|
30313
|
+
}
|
|
30314
|
+
this.writeLine(formatAgentLogLine(this.logPrefix, `tool: ${update5.callId} ${toolCall.type}`, JSON.stringify(toolCall.args ?? {})));
|
|
30315
|
+
}
|
|
30147
30316
|
flushText() {
|
|
30148
30317
|
if (!this.textBuffer)
|
|
30149
30318
|
return;
|
|
@@ -30533,13 +30702,17 @@ ${deferredResume}` : deferredResume;
|
|
|
30533
30702
|
};
|
|
30534
30703
|
const restoreStreamTap = tapProcessStreamWrites(notifyHarnessOutput);
|
|
30535
30704
|
try {
|
|
30705
|
+
let adapter;
|
|
30536
30706
|
const run3 = await withTimeout(agent.send(nextPrompt, {
|
|
30537
30707
|
local: { force: isFirstTurn },
|
|
30538
|
-
idempotencyKey: randomUUID2()
|
|
30708
|
+
idempotencyKey: randomUUID2(),
|
|
30709
|
+
onDelta: ({ update: update5 }) => {
|
|
30710
|
+
adapter?.handleInteractionDelta(update5);
|
|
30711
|
+
}
|
|
30539
30712
|
}), SEND_TIMEOUT_MS, "agent.send");
|
|
30540
30713
|
session2.run = run3;
|
|
30541
30714
|
isFirstTurn = false;
|
|
30542
|
-
|
|
30715
|
+
adapter = new CursorSdkStreamAdapter(logPrefix, emitLogLine);
|
|
30543
30716
|
wireNativeStreamAdapter({
|
|
30544
30717
|
adapter,
|
|
30545
30718
|
assistantTextCallbacks,
|
|
@@ -30673,10 +30846,10 @@ var init_cursor_sdk = __esm(() => {
|
|
|
30673
30846
|
init_cursor_sdk_stream_adapter();
|
|
30674
30847
|
});
|
|
30675
30848
|
|
|
30676
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
30849
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/types.gen.js
|
|
30677
30850
|
var init_types_gen = () => {};
|
|
30678
30851
|
|
|
30679
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
30852
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/serverSentEvents.gen.js
|
|
30680
30853
|
var createSseClient = ({ onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay, sseMaxRetryAttempts, sseMaxRetryDelay, sseSleepFn, url, ...options }) => {
|
|
30681
30854
|
let lastEventId;
|
|
30682
30855
|
const sleep5 = sseSleepFn ?? ((ms) => new Promise((resolve2) => setTimeout(resolve2, ms)));
|
|
@@ -30785,7 +30958,7 @@ var createSseClient = ({ onSseError, onSseEvent, responseTransformer, responseVa
|
|
|
30785
30958
|
return { stream };
|
|
30786
30959
|
};
|
|
30787
30960
|
|
|
30788
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
30961
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/auth.gen.js
|
|
30789
30962
|
var getAuthToken = async (auth, callback) => {
|
|
30790
30963
|
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
30791
30964
|
if (!token) {
|
|
@@ -30800,7 +30973,7 @@ var getAuthToken = async (auth, callback) => {
|
|
|
30800
30973
|
return token;
|
|
30801
30974
|
};
|
|
30802
30975
|
|
|
30803
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
30976
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/bodySerializer.gen.js
|
|
30804
30977
|
var jsonBodySerializer;
|
|
30805
30978
|
var init_bodySerializer_gen = __esm(() => {
|
|
30806
30979
|
jsonBodySerializer = {
|
|
@@ -30808,7 +30981,7 @@ var init_bodySerializer_gen = __esm(() => {
|
|
|
30808
30981
|
};
|
|
30809
30982
|
});
|
|
30810
30983
|
|
|
30811
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
30984
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/pathSerializer.gen.js
|
|
30812
30985
|
var separatorArrayExplode = (style) => {
|
|
30813
30986
|
switch (style) {
|
|
30814
30987
|
case "label":
|
|
@@ -30906,7 +31079,7 @@ var separatorArrayExplode = (style) => {
|
|
|
30906
31079
|
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
30907
31080
|
};
|
|
30908
31081
|
|
|
30909
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31082
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/utils.gen.js
|
|
30910
31083
|
var PATH_PARAM_RE, defaultPathSerializer = ({ path, url: _url }) => {
|
|
30911
31084
|
let url = _url;
|
|
30912
31085
|
const matches = _url.match(PATH_PARAM_RE);
|
|
@@ -30975,7 +31148,7 @@ var init_utils_gen = __esm(() => {
|
|
|
30975
31148
|
PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
30976
31149
|
});
|
|
30977
31150
|
|
|
30978
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31151
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/client/utils.gen.js
|
|
30979
31152
|
class Interceptors {
|
|
30980
31153
|
_fns;
|
|
30981
31154
|
constructor() {
|
|
@@ -31178,7 +31351,7 @@ var init_utils_gen2 = __esm(() => {
|
|
|
31178
31351
|
};
|
|
31179
31352
|
});
|
|
31180
31353
|
|
|
31181
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31354
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/client/client.gen.js
|
|
31182
31355
|
var createClient = (config2 = {}) => {
|
|
31183
31356
|
let _config = mergeConfigs(createConfig(), config2);
|
|
31184
31357
|
const getConfig2 = () => ({ ..._config });
|
|
@@ -31329,7 +31502,7 @@ var init_client_gen = __esm(() => {
|
|
|
31329
31502
|
init_utils_gen2();
|
|
31330
31503
|
});
|
|
31331
31504
|
|
|
31332
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31505
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/core/params.gen.js
|
|
31333
31506
|
var extraPrefixesMap, extraPrefixes;
|
|
31334
31507
|
var init_params_gen = __esm(() => {
|
|
31335
31508
|
extraPrefixesMap = {
|
|
@@ -31341,7 +31514,7 @@ var init_params_gen = __esm(() => {
|
|
|
31341
31514
|
extraPrefixes = Object.entries(extraPrefixesMap);
|
|
31342
31515
|
});
|
|
31343
31516
|
|
|
31344
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31517
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/client/index.js
|
|
31345
31518
|
var init_client3 = __esm(() => {
|
|
31346
31519
|
init_bodySerializer_gen();
|
|
31347
31520
|
init_params_gen();
|
|
@@ -31349,7 +31522,7 @@ var init_client3 = __esm(() => {
|
|
|
31349
31522
|
init_utils_gen2();
|
|
31350
31523
|
});
|
|
31351
31524
|
|
|
31352
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31525
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/client.gen.js
|
|
31353
31526
|
var client2;
|
|
31354
31527
|
var init_client_gen2 = __esm(() => {
|
|
31355
31528
|
init_client3();
|
|
@@ -31358,7 +31531,7 @@ var init_client_gen2 = __esm(() => {
|
|
|
31358
31531
|
}));
|
|
31359
31532
|
});
|
|
31360
31533
|
|
|
31361
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
31534
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/gen/sdk.gen.js
|
|
31362
31535
|
class _HeyApiClient {
|
|
31363
31536
|
_client = client2;
|
|
31364
31537
|
constructor(args2) {
|
|
@@ -32009,7 +32182,7 @@ var init_sdk_gen = __esm(() => {
|
|
|
32009
32182
|
};
|
|
32010
32183
|
});
|
|
32011
32184
|
|
|
32012
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
32185
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/error-interceptor.js
|
|
32013
32186
|
function wrapClientError(error, response, request2, opts) {
|
|
32014
32187
|
if (!opts?.throwOnError)
|
|
32015
32188
|
return error;
|
|
@@ -32036,7 +32209,7 @@ function describe(request2, response) {
|
|
|
32036
32209
|
return `${method} ${url}${status3 ? " → " + status3 : ""}${statusText ? " " + statusText : ""}`;
|
|
32037
32210
|
}
|
|
32038
32211
|
|
|
32039
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
32212
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/client.js
|
|
32040
32213
|
function pick3(value, fallback) {
|
|
32041
32214
|
if (!value)
|
|
32042
32215
|
return;
|
|
@@ -32546,17 +32719,17 @@ var require_cross_spawn = __commonJS((exports, module) => {
|
|
|
32546
32719
|
module.exports._enoent = enoent;
|
|
32547
32720
|
});
|
|
32548
32721
|
|
|
32549
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
32722
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/process.js
|
|
32550
32723
|
var init_process2 = () => {};
|
|
32551
32724
|
|
|
32552
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
32725
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/server.js
|
|
32553
32726
|
var import_cross_spawn;
|
|
32554
32727
|
var init_server2 = __esm(() => {
|
|
32555
32728
|
init_process2();
|
|
32556
32729
|
import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
32557
32730
|
});
|
|
32558
32731
|
|
|
32559
|
-
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.
|
|
32732
|
+
// ../../node_modules/.pnpm/@opencode-ai+sdk@1.18.10/node_modules/@opencode-ai/sdk/dist/index.js
|
|
32560
32733
|
var init_dist = __esm(() => {
|
|
32561
32734
|
init_client4();
|
|
32562
32735
|
init_server2();
|
|
@@ -35188,7 +35361,7 @@ var init_yocto_queue = __esm(() => {
|
|
|
35188
35361
|
};
|
|
35189
35362
|
});
|
|
35190
35363
|
|
|
35191
|
-
// ../../node_modules/.pnpm/p-limit@7.3.
|
|
35364
|
+
// ../../node_modules/.pnpm/p-limit@7.3.1/node_modules/p-limit/index.js
|
|
35192
35365
|
function pLimit(concurrency) {
|
|
35193
35366
|
let rejectOnClear = false;
|
|
35194
35367
|
if (typeof concurrency === "object") {
|
|
@@ -35264,7 +35437,7 @@ function pLimit(concurrency) {
|
|
|
35264
35437
|
},
|
|
35265
35438
|
map: {
|
|
35266
35439
|
async value(iterable, function_) {
|
|
35267
|
-
const promises = Array.from(iterable, (value, index) =>
|
|
35440
|
+
const promises = Array.from(iterable, (value, index) => generator(function_, value, index));
|
|
35268
35441
|
return Promise.all(promises);
|
|
35269
35442
|
}
|
|
35270
35443
|
}
|
|
@@ -52363,14 +52536,14 @@ var init_tesseract = __esm(() => {
|
|
|
52363
52536
|
import_tesseract = __toESM(require_src(), 1);
|
|
52364
52537
|
});
|
|
52365
52538
|
|
|
52366
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
52539
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/bind.js
|
|
52367
52540
|
function bind4(fn2, thisArg) {
|
|
52368
52541
|
return function wrap() {
|
|
52369
52542
|
return fn2.apply(thisArg, arguments);
|
|
52370
52543
|
};
|
|
52371
52544
|
}
|
|
52372
52545
|
|
|
52373
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
52546
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/utils.js
|
|
52374
52547
|
function isBuffer(val) {
|
|
52375
52548
|
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction3(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
52376
52549
|
}
|
|
@@ -52511,7 +52684,7 @@ var toString, getPrototypeOf, iterator, toStringTag, hasOwnProperty, hasOwnInPro
|
|
|
52511
52684
|
}
|
|
52512
52685
|
}, isDate2, isFile, isReactNativeBlob = (value) => {
|
|
52513
52686
|
return !!(value && typeof value.uri !== "undefined");
|
|
52514
|
-
}, isReactNative = (formData) => formData && typeof formData.getParts !== "undefined", isBlob, isFileList, isStream = (val) => isObject2(val) && isFunction3(val.pipe), G, FormDataCtor, isFormData = (thing) => {
|
|
52687
|
+
}, isReactNative = (formData) => formData && typeof formData.getParts !== "undefined", isBlob, isFileList, isSet, isStream = (val) => isObject2(val) && isFunction3(val.pipe), G, FormDataCtor, isFormData = (thing) => {
|
|
52515
52688
|
if (!thing)
|
|
52516
52689
|
return false;
|
|
52517
52690
|
if (FormDataCtor && thing instanceof FormDataCtor)
|
|
@@ -52678,11 +52851,20 @@ var toString, getPrototypeOf, iterator, toStringTag, hasOwnProperty, hasOwnInPro
|
|
|
52678
52851
|
}
|
|
52679
52852
|
if (!("toJSON" in source)) {
|
|
52680
52853
|
visited.add(source);
|
|
52681
|
-
|
|
52682
|
-
|
|
52683
|
-
|
|
52684
|
-
|
|
52685
|
-
|
|
52854
|
+
let target;
|
|
52855
|
+
if (isSet(source)) {
|
|
52856
|
+
target = [];
|
|
52857
|
+
for (const value of source) {
|
|
52858
|
+
const reducedValue = visit(value);
|
|
52859
|
+
!isUndefined(reducedValue) && target.push(reducedValue);
|
|
52860
|
+
}
|
|
52861
|
+
} else {
|
|
52862
|
+
target = isArray2(source) ? [] : {};
|
|
52863
|
+
forEach6(source, (value, key) => {
|
|
52864
|
+
const reducedValue = visit(value);
|
|
52865
|
+
!isUndefined(reducedValue) && (target[key] = reducedValue);
|
|
52866
|
+
});
|
|
52867
|
+
}
|
|
52686
52868
|
visited.delete(source);
|
|
52687
52869
|
return target;
|
|
52688
52870
|
}
|
|
@@ -52710,6 +52892,7 @@ var init_utils = __esm(() => {
|
|
|
52710
52892
|
isFile = kindOfTest("File");
|
|
52711
52893
|
isBlob = kindOfTest("Blob");
|
|
52712
52894
|
isFileList = kindOfTest("FileList");
|
|
52895
|
+
isSet = kindOfTest("Set");
|
|
52713
52896
|
G = getGlobal();
|
|
52714
52897
|
FormDataCtor = typeof G.FormData !== "undefined" ? G.FormData : undefined;
|
|
52715
52898
|
isURLSearchParams = kindOfTest("URLSearchParams");
|
|
@@ -52816,7 +52999,7 @@ var init_utils = __esm(() => {
|
|
|
52816
52999
|
};
|
|
52817
53000
|
});
|
|
52818
53001
|
|
|
52819
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
53002
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/parseHeaders.js
|
|
52820
53003
|
var ignoreDuplicateOf, parseHeaders_default = (rawHeaders) => {
|
|
52821
53004
|
const parsed = {};
|
|
52822
53005
|
let key;
|
|
@@ -52827,17 +53010,18 @@ var ignoreDuplicateOf, parseHeaders_default = (rawHeaders) => {
|
|
|
52827
53010
|
i2 = line.indexOf(":");
|
|
52828
53011
|
key = line.substring(0, i2).trim().toLowerCase();
|
|
52829
53012
|
val = line.substring(i2 + 1).trim();
|
|
52830
|
-
|
|
53013
|
+
const hasKey = utils_default.hasOwnProp(parsed, key);
|
|
53014
|
+
if (!key || hasKey && utils_default.hasOwnProp(ignoreDuplicateOf, key)) {
|
|
52831
53015
|
return;
|
|
52832
53016
|
}
|
|
52833
53017
|
if (key === "set-cookie") {
|
|
52834
|
-
if (
|
|
53018
|
+
if (hasKey) {
|
|
52835
53019
|
parsed[key].push(val);
|
|
52836
53020
|
} else {
|
|
52837
53021
|
parsed[key] = [val];
|
|
52838
53022
|
}
|
|
52839
53023
|
} else {
|
|
52840
|
-
parsed[key] =
|
|
53024
|
+
parsed[key] = hasKey ? parsed[key] + ", " + val : val;
|
|
52841
53025
|
}
|
|
52842
53026
|
});
|
|
52843
53027
|
return parsed;
|
|
@@ -52865,7 +53049,7 @@ var init_parseHeaders = __esm(() => {
|
|
|
52865
53049
|
]);
|
|
52866
53050
|
});
|
|
52867
53051
|
|
|
52868
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
53052
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
|
|
52869
53053
|
function trimSPorHTAB(str) {
|
|
52870
53054
|
let start3 = 0;
|
|
52871
53055
|
let end3 = str.length;
|
|
@@ -52905,7 +53089,7 @@ var init_sanitizeHeaderValue = __esm(() => {
|
|
|
52905
53089
|
INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
|
|
52906
53090
|
});
|
|
52907
53091
|
|
|
52908
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
53092
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/AxiosHeaders.js
|
|
52909
53093
|
function normalizeHeader(header) {
|
|
52910
53094
|
return header && String(header).trim().toLowerCase();
|
|
52911
53095
|
}
|
|
@@ -52924,6 +53108,89 @@ function parseTokens(str) {
|
|
|
52924
53108
|
}
|
|
52925
53109
|
return tokens;
|
|
52926
53110
|
}
|
|
53111
|
+
function trimOWS(value) {
|
|
53112
|
+
let start3 = 0;
|
|
53113
|
+
let end3 = value.length;
|
|
53114
|
+
while (start3 < end3) {
|
|
53115
|
+
const code2 = value.charCodeAt(start3);
|
|
53116
|
+
if (code2 !== 9 && code2 !== 32) {
|
|
53117
|
+
break;
|
|
53118
|
+
}
|
|
53119
|
+
start3 += 1;
|
|
53120
|
+
}
|
|
53121
|
+
while (end3 > start3) {
|
|
53122
|
+
const code2 = value.charCodeAt(end3 - 1);
|
|
53123
|
+
if (code2 !== 9 && code2 !== 32) {
|
|
53124
|
+
break;
|
|
53125
|
+
}
|
|
53126
|
+
end3 -= 1;
|
|
53127
|
+
}
|
|
53128
|
+
return start3 === 0 && end3 === value.length ? value : value.slice(start3, end3);
|
|
53129
|
+
}
|
|
53130
|
+
function decodeQuotedString(value) {
|
|
53131
|
+
const last2 = value.length - 1;
|
|
53132
|
+
if (last2 < 1 || value.charCodeAt(0) !== 34 || value.charCodeAt(last2) !== 34) {
|
|
53133
|
+
return value;
|
|
53134
|
+
}
|
|
53135
|
+
let decoded = "";
|
|
53136
|
+
for (let i2 = 1;i2 < last2; i2++) {
|
|
53137
|
+
const code2 = value.charCodeAt(i2);
|
|
53138
|
+
if (code2 === 34) {
|
|
53139
|
+
return value;
|
|
53140
|
+
}
|
|
53141
|
+
if (code2 === 92) {
|
|
53142
|
+
i2 += 1;
|
|
53143
|
+
if (i2 >= last2) {
|
|
53144
|
+
return value;
|
|
53145
|
+
}
|
|
53146
|
+
}
|
|
53147
|
+
decoded += value[i2];
|
|
53148
|
+
}
|
|
53149
|
+
return decoded;
|
|
53150
|
+
}
|
|
53151
|
+
function parseParameters(value) {
|
|
53152
|
+
const parameters = Object.create(null);
|
|
53153
|
+
const str = String(value);
|
|
53154
|
+
let start3 = 0;
|
|
53155
|
+
let quoted = false;
|
|
53156
|
+
let escaped = false;
|
|
53157
|
+
function parseParameter(end3) {
|
|
53158
|
+
const part = trimOWS(str.slice(start3, end3));
|
|
53159
|
+
const equals4 = part.indexOf("=");
|
|
53160
|
+
if (equals4 < 1) {
|
|
53161
|
+
return;
|
|
53162
|
+
}
|
|
53163
|
+
const name = trimOWS(part.slice(0, equals4));
|
|
53164
|
+
if (!parameterNameRE.test(name)) {
|
|
53165
|
+
return;
|
|
53166
|
+
}
|
|
53167
|
+
const normalizedName = name.toLowerCase();
|
|
53168
|
+
if (normalizedName === "__proto__" || normalizedName === "constructor" || normalizedName === "prototype") {
|
|
53169
|
+
return;
|
|
53170
|
+
}
|
|
53171
|
+
const parameterValue = trimOWS(part.slice(equals4 + 1));
|
|
53172
|
+
parameters[normalizedName] = decodeQuotedString(parameterValue);
|
|
53173
|
+
}
|
|
53174
|
+
for (let i2 = 0;i2 < str.length; i2++) {
|
|
53175
|
+
const code2 = str.charCodeAt(i2);
|
|
53176
|
+
if (quoted) {
|
|
53177
|
+
if (escaped) {
|
|
53178
|
+
escaped = false;
|
|
53179
|
+
} else if (code2 === 92) {
|
|
53180
|
+
escaped = true;
|
|
53181
|
+
} else if (code2 === 34) {
|
|
53182
|
+
quoted = false;
|
|
53183
|
+
}
|
|
53184
|
+
} else if (code2 === 34) {
|
|
53185
|
+
quoted = true;
|
|
53186
|
+
} else if (code2 === 44 || code2 === 59) {
|
|
53187
|
+
parseParameter(i2);
|
|
53188
|
+
start3 = i2 + 1;
|
|
53189
|
+
}
|
|
53190
|
+
}
|
|
53191
|
+
parseParameter(str.length);
|
|
53192
|
+
return parameters;
|
|
53193
|
+
}
|
|
52927
53194
|
function matchHeaderValue(context5, value, header, filter8, isHeaderNameFilter) {
|
|
52928
53195
|
if (utils_default.isFunction(filter8)) {
|
|
52929
53196
|
return filter8.call(this, value, header);
|
|
@@ -52957,12 +53224,13 @@ function buildAccessors(obj, header) {
|
|
|
52957
53224
|
});
|
|
52958
53225
|
});
|
|
52959
53226
|
}
|
|
52960
|
-
var $internals, isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()), AxiosHeaders, AxiosHeaders_default;
|
|
53227
|
+
var $internals, parameterNameRE, isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()), AxiosHeaders, AxiosHeaders_default;
|
|
52961
53228
|
var init_AxiosHeaders = __esm(() => {
|
|
52962
53229
|
init_utils();
|
|
52963
53230
|
init_parseHeaders();
|
|
52964
53231
|
init_sanitizeHeaderValue();
|
|
52965
53232
|
$internals = Symbol("internals");
|
|
53233
|
+
parameterNameRE = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
52966
53234
|
AxiosHeaders = class AxiosHeaders {
|
|
52967
53235
|
constructor(headers) {
|
|
52968
53236
|
headers && this.set(headers);
|
|
@@ -53104,7 +53372,8 @@ var init_AxiosHeaders = __esm(() => {
|
|
|
53104
53372
|
`);
|
|
53105
53373
|
}
|
|
53106
53374
|
getSetCookie() {
|
|
53107
|
-
|
|
53375
|
+
const value = this.get("set-cookie");
|
|
53376
|
+
return utils_default.isArray(value) ? value : value == null || value === false ? [] : [value];
|
|
53108
53377
|
}
|
|
53109
53378
|
get [Symbol.toStringTag]() {
|
|
53110
53379
|
return "AxiosHeaders";
|
|
@@ -53112,6 +53381,9 @@ var init_AxiosHeaders = __esm(() => {
|
|
|
53112
53381
|
static from(thing) {
|
|
53113
53382
|
return thing instanceof this ? thing : new this(thing);
|
|
53114
53383
|
}
|
|
53384
|
+
static parseParameters(value) {
|
|
53385
|
+
return parseParameters(value);
|
|
53386
|
+
}
|
|
53115
53387
|
static concat(first, ...targets) {
|
|
53116
53388
|
const computed = new this(first);
|
|
53117
53389
|
targets.forEach((target) => computed.set(target));
|
|
@@ -53155,7 +53427,7 @@ var init_AxiosHeaders = __esm(() => {
|
|
|
53155
53427
|
AxiosHeaders_default = AxiosHeaders;
|
|
53156
53428
|
});
|
|
53157
53429
|
|
|
53158
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
53430
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/AxiosError.js
|
|
53159
53431
|
function hasOwnOrPrototypeToJSON(source) {
|
|
53160
53432
|
if (utils_default.hasOwnProp(source, "toJSON")) {
|
|
53161
53433
|
return true;
|
|
@@ -53210,13 +53482,34 @@ function redactConfig(config2, redactKeys) {
|
|
|
53210
53482
|
};
|
|
53211
53483
|
return visit(config2);
|
|
53212
53484
|
}
|
|
53485
|
+
function stringifySafely(value) {
|
|
53486
|
+
try {
|
|
53487
|
+
return String(value);
|
|
53488
|
+
} catch (err) {
|
|
53489
|
+
return "";
|
|
53490
|
+
}
|
|
53491
|
+
}
|
|
53492
|
+
function aggregateErrorMessage(error) {
|
|
53493
|
+
const message = error.errors.map((entry) => {
|
|
53494
|
+
try {
|
|
53495
|
+
return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);
|
|
53496
|
+
} catch (err) {
|
|
53497
|
+
return "";
|
|
53498
|
+
}
|
|
53499
|
+
}).filter(Boolean).join("; ");
|
|
53500
|
+
return message || error.name || "AggregateError";
|
|
53501
|
+
}
|
|
53213
53502
|
var REDACTED = "[REDACTED ****]", AxiosError, AxiosError_default;
|
|
53214
53503
|
var init_AxiosError = __esm(() => {
|
|
53215
53504
|
init_utils();
|
|
53216
53505
|
init_AxiosHeaders();
|
|
53217
53506
|
AxiosError = class AxiosError extends Error {
|
|
53218
53507
|
static from(error, code2, config2, request2, response, customProps) {
|
|
53219
|
-
|
|
53508
|
+
let message = error.message;
|
|
53509
|
+
if (!message && utils_default.isArray(error.errors) && error.errors.length) {
|
|
53510
|
+
message = aggregateErrorMessage(error);
|
|
53511
|
+
}
|
|
53512
|
+
const axiosError = new AxiosError(message, code2 || error.code, config2, request2, response);
|
|
53220
53513
|
Object.defineProperty(axiosError, "cause", {
|
|
53221
53514
|
__proto__: null,
|
|
53222
53515
|
value: error,
|
|
@@ -63403,14 +63696,27 @@ var require_form_data = __commonJS((exports, module) => {
|
|
|
63403
63696
|
module.exports = FormData2;
|
|
63404
63697
|
});
|
|
63405
63698
|
|
|
63406
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63699
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
63407
63700
|
var import_form_data, FormData_default;
|
|
63408
63701
|
var init_FormData = __esm(() => {
|
|
63409
63702
|
import_form_data = __toESM(require_form_data(), 1);
|
|
63410
63703
|
FormData_default = import_form_data.default;
|
|
63411
63704
|
});
|
|
63412
63705
|
|
|
63413
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63706
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/node/classes/Buffer.js
|
|
63707
|
+
var Buffer_default;
|
|
63708
|
+
var init_Buffer = __esm(() => {
|
|
63709
|
+
Buffer_default = {
|
|
63710
|
+
isBufferAvailable() {
|
|
63711
|
+
return typeof Buffer !== "undefined";
|
|
63712
|
+
},
|
|
63713
|
+
from(value) {
|
|
63714
|
+
return Buffer.from(value);
|
|
63715
|
+
}
|
|
63716
|
+
};
|
|
63717
|
+
});
|
|
63718
|
+
|
|
63719
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/toFormData.js
|
|
63414
63720
|
function isVisitable(thing) {
|
|
63415
63721
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
63416
63722
|
}
|
|
@@ -63467,8 +63773,8 @@ function toFormData(obj, formData, options) {
|
|
|
63467
63773
|
if (useBlob && typeof _Blob === "function") {
|
|
63468
63774
|
return new _Blob([value]);
|
|
63469
63775
|
}
|
|
63470
|
-
if (
|
|
63471
|
-
return
|
|
63776
|
+
if (Buffer_default && Buffer_default.isBufferAvailable()) {
|
|
63777
|
+
return Buffer_default.from(value);
|
|
63472
63778
|
}
|
|
63473
63779
|
throw new AxiosError_default("Blob is not supported. Use a Buffer instead.", AxiosError_default.ERR_NOT_SUPPORT);
|
|
63474
63780
|
}
|
|
@@ -63552,13 +63858,14 @@ var init_toFormData = __esm(() => {
|
|
|
63552
63858
|
init_utils();
|
|
63553
63859
|
init_AxiosError();
|
|
63554
63860
|
init_FormData();
|
|
63861
|
+
init_Buffer();
|
|
63555
63862
|
predicates = utils_default.toFlatObject(utils_default, {}, null, function filter8(prop) {
|
|
63556
63863
|
return /^is[A-Z]/.test(prop);
|
|
63557
63864
|
});
|
|
63558
63865
|
toFormData_default = toFormData;
|
|
63559
63866
|
});
|
|
63560
63867
|
|
|
63561
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63868
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
63562
63869
|
function encode(str) {
|
|
63563
63870
|
const charMap = {
|
|
63564
63871
|
"!": "%21",
|
|
@@ -63592,7 +63899,7 @@ var init_AxiosURLSearchParams = __esm(() => {
|
|
|
63592
63899
|
AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
63593
63900
|
});
|
|
63594
63901
|
|
|
63595
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63902
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/buildURL.js
|
|
63596
63903
|
function encode2(val) {
|
|
63597
63904
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
63598
63905
|
}
|
|
@@ -63626,7 +63933,7 @@ var init_buildURL = __esm(() => {
|
|
|
63626
63933
|
init_AxiosURLSearchParams();
|
|
63627
63934
|
});
|
|
63628
63935
|
|
|
63629
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63936
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/InterceptorManager.js
|
|
63630
63937
|
class InterceptorManager {
|
|
63631
63938
|
constructor() {
|
|
63632
63939
|
this.handlers = [];
|
|
@@ -63664,7 +63971,7 @@ var init_InterceptorManager = __esm(() => {
|
|
|
63664
63971
|
InterceptorManager_default = InterceptorManager;
|
|
63665
63972
|
});
|
|
63666
63973
|
|
|
63667
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63974
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/defaults/transitional.js
|
|
63668
63975
|
var transitional_default;
|
|
63669
63976
|
var init_transitional = __esm(() => {
|
|
63670
63977
|
transitional_default = {
|
|
@@ -63677,14 +63984,14 @@ var init_transitional = __esm(() => {
|
|
|
63677
63984
|
};
|
|
63678
63985
|
});
|
|
63679
63986
|
|
|
63680
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63987
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
63681
63988
|
import url from "url";
|
|
63682
63989
|
var URLSearchParams_default;
|
|
63683
63990
|
var init_URLSearchParams = __esm(() => {
|
|
63684
63991
|
URLSearchParams_default = url.URLSearchParams;
|
|
63685
63992
|
});
|
|
63686
63993
|
|
|
63687
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63994
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/node/index.js
|
|
63688
63995
|
import crypto2 from "crypto";
|
|
63689
63996
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz", DIGIT = "0123456789", ALPHABET, generateString = (size9 = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
63690
63997
|
let str = "";
|
|
@@ -63717,7 +64024,7 @@ var init_node2 = __esm(() => {
|
|
|
63717
64024
|
};
|
|
63718
64025
|
});
|
|
63719
64026
|
|
|
63720
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64027
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/common/utils.js
|
|
63721
64028
|
var exports_utils = {};
|
|
63722
64029
|
__export(exports_utils, {
|
|
63723
64030
|
origin: () => origin,
|
|
@@ -63737,7 +64044,7 @@ var init_utils2 = __esm(() => {
|
|
|
63737
64044
|
origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
63738
64045
|
});
|
|
63739
64046
|
|
|
63740
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64047
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/platform/index.js
|
|
63741
64048
|
var platform_default;
|
|
63742
64049
|
var init_platform = __esm(() => {
|
|
63743
64050
|
init_node2();
|
|
@@ -63748,7 +64055,7 @@ var init_platform = __esm(() => {
|
|
|
63748
64055
|
};
|
|
63749
64056
|
});
|
|
63750
64057
|
|
|
63751
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64058
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
63752
64059
|
function toURLEncodedForm(data, options) {
|
|
63753
64060
|
return toFormData_default(data, new platform_default.classes.URLSearchParams, {
|
|
63754
64061
|
visitor: function(value, key, path2, helpers) {
|
|
@@ -63767,7 +64074,7 @@ var init_toURLEncodedForm = __esm(() => {
|
|
|
63767
64074
|
init_platform();
|
|
63768
64075
|
});
|
|
63769
64076
|
|
|
63770
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64077
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
63771
64078
|
function throwIfDepthExceeded(index) {
|
|
63772
64079
|
if (index > MAX_DEPTH) {
|
|
63773
64080
|
throw new AxiosError_default("FormData field is too deeply nested (" + index + " levels). Max depth: " + MAX_DEPTH, AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED);
|
|
@@ -63775,7 +64082,7 @@ function throwIfDepthExceeded(index) {
|
|
|
63775
64082
|
}
|
|
63776
64083
|
function parsePropPath(name) {
|
|
63777
64084
|
const path2 = [];
|
|
63778
|
-
const pattern =
|
|
64085
|
+
const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
|
|
63779
64086
|
let match17;
|
|
63780
64087
|
while ((match17 = pattern.exec(name)) !== null) {
|
|
63781
64088
|
throwIfDepthExceeded(path2.length);
|
|
@@ -63839,8 +64146,8 @@ var init_formDataToJSON = __esm(() => {
|
|
|
63839
64146
|
formDataToJSON_default = formDataToJSON;
|
|
63840
64147
|
});
|
|
63841
64148
|
|
|
63842
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
63843
|
-
function
|
|
64149
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/defaults/index.js
|
|
64150
|
+
function stringifySafely2(rawValue, parser, encoder) {
|
|
63844
64151
|
if (utils_default.isString(rawValue)) {
|
|
63845
64152
|
try {
|
|
63846
64153
|
(parser || JSON.parse)(rawValue);
|
|
@@ -63901,7 +64208,7 @@ var init_defaults = __esm(() => {
|
|
|
63901
64208
|
}
|
|
63902
64209
|
if (isObjectPayload || hasJSONContentType) {
|
|
63903
64210
|
headers.setContentType("application/json", false);
|
|
63904
|
-
return
|
|
64211
|
+
return stringifySafely2(data);
|
|
63905
64212
|
}
|
|
63906
64213
|
return data;
|
|
63907
64214
|
}
|
|
@@ -63957,7 +64264,7 @@ var init_defaults = __esm(() => {
|
|
|
63957
64264
|
defaults_default = defaults;
|
|
63958
64265
|
});
|
|
63959
64266
|
|
|
63960
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64267
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/transformData.js
|
|
63961
64268
|
function transformData(fns, response) {
|
|
63962
64269
|
const config2 = this || defaults_default;
|
|
63963
64270
|
const context5 = response || config2;
|
|
@@ -63975,12 +64282,12 @@ var init_transformData = __esm(() => {
|
|
|
63975
64282
|
init_AxiosHeaders();
|
|
63976
64283
|
});
|
|
63977
64284
|
|
|
63978
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64285
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/cancel/isCancel.js
|
|
63979
64286
|
function isCancel(value) {
|
|
63980
64287
|
return !!(value && value.__CANCEL__);
|
|
63981
64288
|
}
|
|
63982
64289
|
|
|
63983
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64290
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/cancel/CanceledError.js
|
|
63984
64291
|
var CanceledError, CanceledError_default;
|
|
63985
64292
|
var init_CanceledError = __esm(() => {
|
|
63986
64293
|
init_AxiosError();
|
|
@@ -63994,7 +64301,7 @@ var init_CanceledError = __esm(() => {
|
|
|
63994
64301
|
CanceledError_default = CanceledError;
|
|
63995
64302
|
});
|
|
63996
64303
|
|
|
63997
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64304
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/settle.js
|
|
63998
64305
|
function settle(resolve2, reject, response) {
|
|
63999
64306
|
const validateStatus2 = response.config.validateStatus;
|
|
64000
64307
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -64007,7 +64314,7 @@ var init_settle = __esm(() => {
|
|
|
64007
64314
|
init_AxiosError();
|
|
64008
64315
|
});
|
|
64009
64316
|
|
|
64010
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64317
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
64011
64318
|
function isAbsoluteURL(url2) {
|
|
64012
64319
|
if (typeof url2 !== "string") {
|
|
64013
64320
|
return false;
|
|
@@ -64015,12 +64322,19 @@ function isAbsoluteURL(url2) {
|
|
|
64015
64322
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
64016
64323
|
}
|
|
64017
64324
|
|
|
64018
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64325
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/combineURLs.js
|
|
64019
64326
|
function combineURLs(baseURL, relativeURL) {
|
|
64020
|
-
|
|
64327
|
+
if (!relativeURL) {
|
|
64328
|
+
return baseURL;
|
|
64329
|
+
}
|
|
64330
|
+
let end3 = baseURL.length;
|
|
64331
|
+
while (end3 > 0 && baseURL.charCodeAt(end3 - 1) === 47) {
|
|
64332
|
+
end3--;
|
|
64333
|
+
}
|
|
64334
|
+
return baseURL.slice(0, end3) + "/" + relativeURL.replace(/^\/+/, "");
|
|
64021
64335
|
}
|
|
64022
64336
|
|
|
64023
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
64337
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/buildFullPath.js
|
|
64024
64338
|
function stripLeadingC0ControlOrSpace(url2) {
|
|
64025
64339
|
let i2 = 0;
|
|
64026
64340
|
while (i2 < url2.length && url2.charCodeAt(i2) <= 32) {
|
|
@@ -64031,9 +64345,30 @@ function stripLeadingC0ControlOrSpace(url2) {
|
|
|
64031
64345
|
function normalizeURLForProtocolCheck(url2) {
|
|
64032
64346
|
return stripLeadingC0ControlOrSpace(url2).replace(httpProtocolControlCharacters, "");
|
|
64033
64347
|
}
|
|
64348
|
+
function redactFragment(fragment) {
|
|
64349
|
+
if (!fragment) {
|
|
64350
|
+
return fragment;
|
|
64351
|
+
}
|
|
64352
|
+
return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match17, separator, parameterName = "") => {
|
|
64353
|
+
return `${separator}${parameterName}${REDACTED}`;
|
|
64354
|
+
});
|
|
64355
|
+
}
|
|
64356
|
+
function redactSensitiveURLParts(url2) {
|
|
64357
|
+
const redactedURL = url2.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);
|
|
64358
|
+
const fragmentIndex = redactedURL.indexOf("#");
|
|
64359
|
+
const urlWithoutFragment = fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);
|
|
64360
|
+
const redactedURLWithoutFragment = urlWithoutFragment.replace(/([?&][^=&#]*=)[^&#]*/g, `$1${REDACTED}`);
|
|
64361
|
+
if (fragmentIndex === -1) {
|
|
64362
|
+
return redactedURLWithoutFragment;
|
|
64363
|
+
}
|
|
64364
|
+
return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
|
|
64365
|
+
}
|
|
64034
64366
|
function assertValidHttpProtocolURL(url2, config2) {
|
|
64035
|
-
if (typeof url2 === "string"
|
|
64036
|
-
|
|
64367
|
+
if (typeof url2 === "string") {
|
|
64368
|
+
const normalizedURL = normalizeURLForProtocolCheck(url2);
|
|
64369
|
+
if (malformedHttpProtocol.test(normalizedURL)) {
|
|
64370
|
+
throw new AxiosError_default(`Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`, AxiosError_default.ERR_INVALID_URL, config2);
|
|
64371
|
+
}
|
|
64037
64372
|
}
|
|
64038
64373
|
}
|
|
64039
64374
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config2) {
|
|
@@ -65783,16 +66118,16 @@ var require_follow_redirects = __commonJS((exports, module) => {
|
|
|
65783
66118
|
module.exports.wrap = wrap;
|
|
65784
66119
|
});
|
|
65785
66120
|
|
|
65786
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
65787
|
-
var VERSION = "1.
|
|
66121
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/env/data.js
|
|
66122
|
+
var VERSION = "1.19.0";
|
|
65788
66123
|
|
|
65789
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66124
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/parseProtocol.js
|
|
65790
66125
|
function parseProtocol(url2) {
|
|
65791
66126
|
const match17 = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url2);
|
|
65792
66127
|
return match17 && match17[1] || "";
|
|
65793
66128
|
}
|
|
65794
66129
|
|
|
65795
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66130
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/fromDataURI.js
|
|
65796
66131
|
function fromDataURI(uri, asBlob, options) {
|
|
65797
66132
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
65798
66133
|
const protocol = parseProtocol(uri);
|
|
@@ -65833,7 +66168,24 @@ var init_fromDataURI = __esm(() => {
|
|
|
65833
66168
|
DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
|
|
65834
66169
|
});
|
|
65835
66170
|
|
|
65836
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66171
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/setFormDataHeaders.js
|
|
66172
|
+
function setFormDataHeaders(headers, formHeaders, policy) {
|
|
66173
|
+
if (policy !== "content-only") {
|
|
66174
|
+
headers.set(formHeaders);
|
|
66175
|
+
return;
|
|
66176
|
+
}
|
|
66177
|
+
Object.entries(formHeaders || {}).forEach(([key, val]) => {
|
|
66178
|
+
if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
|
|
66179
|
+
headers.set(key, val);
|
|
66180
|
+
}
|
|
66181
|
+
});
|
|
66182
|
+
}
|
|
66183
|
+
var FORM_DATA_CONTENT_HEADERS;
|
|
66184
|
+
var init_setFormDataHeaders = __esm(() => {
|
|
66185
|
+
FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
|
|
66186
|
+
});
|
|
66187
|
+
|
|
66188
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
65837
66189
|
import stream from "stream";
|
|
65838
66190
|
var kInternals, AxiosTransformStream, AxiosTransformStream_default;
|
|
65839
66191
|
var init_AxiosTransformStream = __esm(() => {
|
|
@@ -65952,7 +66304,7 @@ var init_AxiosTransformStream = __esm(() => {
|
|
|
65952
66304
|
AxiosTransformStream_default = AxiosTransformStream;
|
|
65953
66305
|
});
|
|
65954
66306
|
|
|
65955
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66307
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/readBlob.js
|
|
65956
66308
|
var asyncIterator, readBlob = async function* (blob) {
|
|
65957
66309
|
if (blob.stream) {
|
|
65958
66310
|
yield* blob.stream();
|
|
@@ -65969,7 +66321,7 @@ var init_readBlob = __esm(() => {
|
|
|
65969
66321
|
readBlob_default = readBlob;
|
|
65970
66322
|
});
|
|
65971
66323
|
|
|
65972
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66324
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/formDataToStream.js
|
|
65973
66325
|
import util from "util";
|
|
65974
66326
|
import { Readable as Readable2 } from "stream";
|
|
65975
66327
|
|
|
@@ -66056,7 +66408,7 @@ var init_formDataToStream = __esm(() => {
|
|
|
66056
66408
|
formDataToStream_default = formDataToStream;
|
|
66057
66409
|
});
|
|
66058
66410
|
|
|
66059
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66411
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
66060
66412
|
import stream2 from "stream";
|
|
66061
66413
|
var ZlibHeaderTransformStream, ZlibHeaderTransformStream_default;
|
|
66062
66414
|
var init_ZlibHeaderTransformStream = __esm(() => {
|
|
@@ -66081,7 +66433,7 @@ var init_ZlibHeaderTransformStream = __esm(() => {
|
|
|
66081
66433
|
ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
66082
66434
|
});
|
|
66083
66435
|
|
|
66084
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66436
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/Http2Sessions.js
|
|
66085
66437
|
import http2 from "http2";
|
|
66086
66438
|
import util2 from "util";
|
|
66087
66439
|
|
|
@@ -66163,7 +66515,7 @@ var init_Http2Sessions = __esm(() => {
|
|
|
66163
66515
|
Http2Sessions_default = Http2Sessions;
|
|
66164
66516
|
});
|
|
66165
66517
|
|
|
66166
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66518
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/callbackify.js
|
|
66167
66519
|
var callbackify = (fn2, reducer) => {
|
|
66168
66520
|
return utils_default.isAsyncFn(fn2) ? function(...args2) {
|
|
66169
66521
|
const cb = args2.pop();
|
|
@@ -66181,7 +66533,7 @@ var init_callbackify = __esm(() => {
|
|
|
66181
66533
|
callbackify_default = callbackify;
|
|
66182
66534
|
});
|
|
66183
66535
|
|
|
66184
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66536
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/shouldBypassProxy.js
|
|
66185
66537
|
function shouldBypassProxy(location) {
|
|
66186
66538
|
let parsed;
|
|
66187
66539
|
try {
|
|
@@ -66202,6 +66554,9 @@ function shouldBypassProxy(location) {
|
|
|
66202
66554
|
if (!entry) {
|
|
66203
66555
|
return false;
|
|
66204
66556
|
}
|
|
66557
|
+
if (entry === "*") {
|
|
66558
|
+
return true;
|
|
66559
|
+
}
|
|
66205
66560
|
let [entryHost, entryPort] = parseNoProxyEntry(entry);
|
|
66206
66561
|
entryHost = normalizeNoProxyHost(entryHost);
|
|
66207
66562
|
if (!entryHost) {
|
|
@@ -66226,6 +66581,65 @@ var LOOPBACK_HOSTNAMES, isIPv4Loopback = (host) => {
|
|
|
66226
66581
|
if (parts2[0] !== "127")
|
|
66227
66582
|
return false;
|
|
66228
66583
|
return parts2.every((p) => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255);
|
|
66584
|
+
}, parseIPv4Octet = (text) => {
|
|
66585
|
+
if (/^0[xX][0-9a-fA-F]+$/.test(text)) {
|
|
66586
|
+
const n = parseInt(text.slice(2), 16);
|
|
66587
|
+
return Number.isFinite(n) ? n : null;
|
|
66588
|
+
}
|
|
66589
|
+
if (text.length > 1 && /^0[0-7]+$/.test(text)) {
|
|
66590
|
+
const n = parseInt(text, 8);
|
|
66591
|
+
return Number.isFinite(n) ? n : null;
|
|
66592
|
+
}
|
|
66593
|
+
if (text.length > 1 && /^0[0-9]+$/.test(text)) {
|
|
66594
|
+
return null;
|
|
66595
|
+
}
|
|
66596
|
+
if (/^[0-9]+$/.test(text)) {
|
|
66597
|
+
const n = parseInt(text, 10);
|
|
66598
|
+
return Number.isFinite(n) ? n : null;
|
|
66599
|
+
}
|
|
66600
|
+
return null;
|
|
66601
|
+
}, normalizeIPAddress = (host) => {
|
|
66602
|
+
if (typeof host !== "string" || !host || host.indexOf(":") !== -1) {
|
|
66603
|
+
return host;
|
|
66604
|
+
}
|
|
66605
|
+
let h = host;
|
|
66606
|
+
if (h.charAt(0) === "[" && h.charAt(h.length - 1) === "]") {
|
|
66607
|
+
h = h.slice(1, -1);
|
|
66608
|
+
}
|
|
66609
|
+
h = h.replace(/\.+$/, "");
|
|
66610
|
+
if (!/^[0-9.xXa-fA-F]+$/.test(h))
|
|
66611
|
+
return host;
|
|
66612
|
+
const parts2 = h.split(".");
|
|
66613
|
+
if (parts2.some((p) => p === ""))
|
|
66614
|
+
return host;
|
|
66615
|
+
if (parts2.length === 4) {
|
|
66616
|
+
const octets = parts2.map(parseIPv4Octet);
|
|
66617
|
+
if (octets.some((n) => n === null || n < 0 || n > 255))
|
|
66618
|
+
return host;
|
|
66619
|
+
return octets.join(".");
|
|
66620
|
+
}
|
|
66621
|
+
if (parts2.length > 4) {
|
|
66622
|
+
return host;
|
|
66623
|
+
}
|
|
66624
|
+
if (parts2.length === 1)
|
|
66625
|
+
return host;
|
|
66626
|
+
const literalOctets = parts2.slice(0, -1);
|
|
66627
|
+
const tail = parts2[parts2.length - 1];
|
|
66628
|
+
const tailSlots = 4 - literalOctets.length;
|
|
66629
|
+
const tailValue = parseIPv4Octet(tail);
|
|
66630
|
+
if (tailValue === null)
|
|
66631
|
+
return host;
|
|
66632
|
+
const maxTail = (1 << 8 * tailSlots) - 1;
|
|
66633
|
+
if (tailValue < 0 || tailValue > maxTail)
|
|
66634
|
+
return host;
|
|
66635
|
+
const tailOctets = new Array(tailSlots).fill(0);
|
|
66636
|
+
for (let i2 = tailSlots - 1, v3 = tailValue;i2 >= 0; i2--, v3 >>= 8) {
|
|
66637
|
+
tailOctets[i2] = v3 & 255;
|
|
66638
|
+
}
|
|
66639
|
+
const literal = literalOctets.map(parseIPv4Octet);
|
|
66640
|
+
if (literal.some((n) => n === null || n < 0 || n > 255))
|
|
66641
|
+
return host;
|
|
66642
|
+
return [...literal, ...tailOctets].join(".");
|
|
66229
66643
|
}, isIPv6ZeroGroup = (group) => /^0{1,4}$/.test(group), isIPv6Unspecified = (host) => {
|
|
66230
66644
|
if (host === "::")
|
|
66231
66645
|
return true;
|
|
@@ -66313,7 +66727,12 @@ var LOOPBACK_HOSTNAMES, isIPv4Loopback = (host) => {
|
|
|
66313
66727
|
if (hostname3.charAt(0) === "[" && hostname3.charAt(hostname3.length - 1) === "]") {
|
|
66314
66728
|
hostname3 = hostname3.slice(1, -1);
|
|
66315
66729
|
}
|
|
66316
|
-
|
|
66730
|
+
const trimmed = hostname3.replace(/\.+$/, "");
|
|
66731
|
+
const ipv4 = normalizeIPAddress(trimmed);
|
|
66732
|
+
if (ipv4 !== trimmed) {
|
|
66733
|
+
return ipv4;
|
|
66734
|
+
}
|
|
66735
|
+
return unmapIPv4MappedIPv6(trimmed);
|
|
66317
66736
|
};
|
|
66318
66737
|
var init_shouldBypassProxy = __esm(() => {
|
|
66319
66738
|
LOOPBACK_HOSTNAMES = new Set(["localhost", "0.0.0.0"]);
|
|
@@ -66328,7 +66747,7 @@ var init_shouldBypassProxy = __esm(() => {
|
|
|
66328
66747
|
IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i;
|
|
66329
66748
|
});
|
|
66330
66749
|
|
|
66331
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66750
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/speedometer.js
|
|
66332
66751
|
function speedometer(samplesCount, min4) {
|
|
66333
66752
|
samplesCount = samplesCount || 10;
|
|
66334
66753
|
const bytes = new Array(samplesCount);
|
|
@@ -66367,7 +66786,7 @@ var init_speedometer = __esm(() => {
|
|
|
66367
66786
|
speedometer_default = speedometer;
|
|
66368
66787
|
});
|
|
66369
66788
|
|
|
66370
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66789
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/throttle.js
|
|
66371
66790
|
function throttle(fn2, freq) {
|
|
66372
66791
|
let timestamp = 0;
|
|
66373
66792
|
let threshold = 1000 / freq;
|
|
@@ -66405,7 +66824,7 @@ var init_throttle = __esm(() => {
|
|
|
66405
66824
|
throttle_default = throttle;
|
|
66406
66825
|
});
|
|
66407
66826
|
|
|
66408
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66827
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
66409
66828
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
66410
66829
|
let bytesNotified = 0;
|
|
66411
66830
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -66415,7 +66834,7 @@ var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
66415
66834
|
}
|
|
66416
66835
|
const rawLoaded = e.loaded;
|
|
66417
66836
|
const total = e.lengthComputable ? e.total : undefined;
|
|
66418
|
-
const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
|
|
66837
|
+
const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);
|
|
66419
66838
|
const progressBytes = Math.max(0, loaded - bytesNotified);
|
|
66420
66839
|
const rate = _speedometer(progressBytes);
|
|
66421
66840
|
bytesNotified = Math.max(bytesNotified, loaded);
|
|
@@ -66442,15 +66861,64 @@ var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
66442
66861
|
}),
|
|
66443
66862
|
throttled[1]
|
|
66444
66863
|
];
|
|
66445
|
-
}, asyncDecorator = (fn2) => (...args2) =>
|
|
66864
|
+
}, asyncDecorator = (fn2, scheduler = utils_default.asap) => (...args2) => scheduler(() => fn2(...args2));
|
|
66446
66865
|
var init_progressEventReducer = __esm(() => {
|
|
66447
66866
|
init_speedometer();
|
|
66448
66867
|
init_throttle();
|
|
66449
66868
|
init_utils();
|
|
66450
66869
|
});
|
|
66451
66870
|
|
|
66452
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66871
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
66453
66872
|
function estimateDataURLDecodedBytes(url2) {
|
|
66873
|
+
const fragmentIndex = typeof url2 === "string" ? url2.indexOf("#") : -1;
|
|
66874
|
+
return estimateDataURLBytes(fragmentIndex === -1 ? url2 : url2.slice(0, fragmentIndex), estimatePercentDecodedBase64Bytes);
|
|
66875
|
+
}
|
|
66876
|
+
function estimateDataURLBufferAllocation(url2) {
|
|
66877
|
+
return estimateDataURLBytes(url2, estimateBase64BufferAllocation);
|
|
66878
|
+
}
|
|
66879
|
+
var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102, isPercentEncodedByte = (str, i2, len2) => i2 + 2 < len2 && isHexDigit(str.charCodeAt(i2 + 1)) && isHexDigit(str.charCodeAt(i2 + 2)), hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55, isBase64Char = (charCode) => charCode >= 65 && charCode <= 90 || charCode >= 97 && charCode <= 122 || charCode >= 48 && charCode <= 57 || charCode === 43 || charCode === 47 || charCode === 45 || charCode === 95, isBase64Whitespace = (charCode) => charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32, base64Bytes = (significant) => {
|
|
66880
|
+
const groups = Math.floor(significant / 4);
|
|
66881
|
+
const remainder = significant % 4;
|
|
66882
|
+
return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);
|
|
66883
|
+
}, estimateBase64BufferAllocation = (body) => {
|
|
66884
|
+
const len2 = body.length;
|
|
66885
|
+
let padding = 0;
|
|
66886
|
+
if (len2 > 0 && body.charCodeAt(len2 - 1) === 61) {
|
|
66887
|
+
padding++;
|
|
66888
|
+
if (len2 > 1 && body.charCodeAt(len2 - 2) === 61) {
|
|
66889
|
+
padding++;
|
|
66890
|
+
}
|
|
66891
|
+
}
|
|
66892
|
+
return Math.floor((len2 - padding) * 3 / 4);
|
|
66893
|
+
}, estimatePercentDecodedBase64Bytes = (body) => {
|
|
66894
|
+
const len2 = body.length;
|
|
66895
|
+
let significant = 0;
|
|
66896
|
+
let padding = 0;
|
|
66897
|
+
let invalid = false;
|
|
66898
|
+
for (let i2 = 0;i2 < len2; i2++) {
|
|
66899
|
+
let code2 = body.charCodeAt(i2);
|
|
66900
|
+
if (code2 === 37 && isPercentEncodedByte(body, i2, len2)) {
|
|
66901
|
+
code2 = hexValue(body.charCodeAt(i2 + 1)) * 16 + hexValue(body.charCodeAt(i2 + 2));
|
|
66902
|
+
i2 += 2;
|
|
66903
|
+
}
|
|
66904
|
+
if (isBase64Whitespace(code2)) {
|
|
66905
|
+
continue;
|
|
66906
|
+
}
|
|
66907
|
+
if (code2 === 61) {
|
|
66908
|
+
padding++;
|
|
66909
|
+
continue;
|
|
66910
|
+
}
|
|
66911
|
+
if (!isBase64Char(code2) || padding > 0) {
|
|
66912
|
+
invalid = true;
|
|
66913
|
+
continue;
|
|
66914
|
+
}
|
|
66915
|
+
significant++;
|
|
66916
|
+
}
|
|
66917
|
+
if (invalid || padding > 2 || padding > 0 && (significant + padding) % 4 !== 0 || significant % 4 === 1) {
|
|
66918
|
+
return estimateBase64BufferAllocation(body);
|
|
66919
|
+
}
|
|
66920
|
+
return base64Bytes(significant);
|
|
66921
|
+
}, estimateDataURLBytes = (url2, estimateBase64) => {
|
|
66454
66922
|
if (!url2 || typeof url2 !== "string")
|
|
66455
66923
|
return 0;
|
|
66456
66924
|
if (!url2.startsWith("data:"))
|
|
@@ -66462,41 +66930,7 @@ function estimateDataURLDecodedBytes(url2) {
|
|
|
66462
66930
|
const body = url2.slice(comma + 1);
|
|
66463
66931
|
const isBase64 = /;base64/i.test(meta);
|
|
66464
66932
|
if (isBase64) {
|
|
66465
|
-
|
|
66466
|
-
const len2 = body.length;
|
|
66467
|
-
for (let i2 = 0;i2 < len2; i2++) {
|
|
66468
|
-
if (body.charCodeAt(i2) === 37 && i2 + 2 < len2) {
|
|
66469
|
-
const a = body.charCodeAt(i2 + 1);
|
|
66470
|
-
const b = body.charCodeAt(i2 + 2);
|
|
66471
|
-
const isHex = isHexDigit(a) && isHexDigit(b);
|
|
66472
|
-
if (isHex) {
|
|
66473
|
-
effectiveLen -= 2;
|
|
66474
|
-
i2 += 2;
|
|
66475
|
-
}
|
|
66476
|
-
}
|
|
66477
|
-
}
|
|
66478
|
-
let pad = 0;
|
|
66479
|
-
let idx = len2 - 1;
|
|
66480
|
-
const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && body.charCodeAt(j - 1) === 51 && (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
|
|
66481
|
-
if (idx >= 0) {
|
|
66482
|
-
if (body.charCodeAt(idx) === 61) {
|
|
66483
|
-
pad++;
|
|
66484
|
-
idx--;
|
|
66485
|
-
} else if (tailIsPct3D(idx)) {
|
|
66486
|
-
pad++;
|
|
66487
|
-
idx -= 3;
|
|
66488
|
-
}
|
|
66489
|
-
}
|
|
66490
|
-
if (pad === 1 && idx >= 0) {
|
|
66491
|
-
if (body.charCodeAt(idx) === 61) {
|
|
66492
|
-
pad++;
|
|
66493
|
-
} else if (tailIsPct3D(idx)) {
|
|
66494
|
-
pad++;
|
|
66495
|
-
}
|
|
66496
|
-
}
|
|
66497
|
-
const groups = Math.floor(effectiveLen / 4);
|
|
66498
|
-
const bytes2 = groups * 3 - (pad || 0);
|
|
66499
|
-
return bytes2 > 0 ? bytes2 : 0;
|
|
66933
|
+
return estimateBase64(body);
|
|
66500
66934
|
}
|
|
66501
66935
|
let bytes = 0;
|
|
66502
66936
|
for (let i2 = 0, len2 = body.length;i2 < len2; i2++) {
|
|
@@ -66521,10 +66955,9 @@ function estimateDataURLDecodedBytes(url2) {
|
|
|
66521
66955
|
}
|
|
66522
66956
|
}
|
|
66523
66957
|
return bytes;
|
|
66524
|
-
}
|
|
66525
|
-
var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102, isPercentEncodedByte = (str, i2, len2) => i2 + 2 < len2 && isHexDigit(str.charCodeAt(i2 + 1)) && isHexDigit(str.charCodeAt(i2 + 2));
|
|
66958
|
+
};
|
|
66526
66959
|
|
|
66527
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
66960
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/adapters/http.js
|
|
66528
66961
|
import http from "http";
|
|
66529
66962
|
import https from "https";
|
|
66530
66963
|
import http22 from "http2";
|
|
@@ -66533,17 +66966,6 @@ import { resolve as resolvePath } from "path";
|
|
|
66533
66966
|
import zlib from "zlib";
|
|
66534
66967
|
import stream3 from "stream";
|
|
66535
66968
|
import { EventEmitter } from "events";
|
|
66536
|
-
function setFormDataHeaders(headers, formHeaders, policy) {
|
|
66537
|
-
if (policy !== "content-only") {
|
|
66538
|
-
headers.set(formHeaders);
|
|
66539
|
-
return;
|
|
66540
|
-
}
|
|
66541
|
-
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
66542
|
-
if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
|
|
66543
|
-
headers.set(key, val);
|
|
66544
|
-
}
|
|
66545
|
-
});
|
|
66546
|
-
}
|
|
66547
66969
|
function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) {
|
|
66548
66970
|
if (!nodeVersion) {
|
|
66549
66971
|
return false;
|
|
@@ -66715,7 +67137,7 @@ function setProxy(options, configProxy, location, isRedirect, configHttpsAgent,
|
|
|
66715
67137
|
setProxy(redirectOptions, configProxy, redirectOptions.href, true, configHttpsAgent, configHttpAgent);
|
|
66716
67138
|
};
|
|
66717
67139
|
}
|
|
66718
|
-
var import_https_proxy_agent, import_follow_redirects, zlibOptions, brotliOptions, zstdOptions, isBrotliSupported, isZstdSupported, ACCEPT_ENCODING, ACCEPT_ENCODING_WITH_ZSTD, httpFollow, httpsFollow, isHttps,
|
|
67140
|
+
var import_https_proxy_agent, import_follow_redirects, zlibOptions, brotliOptions, zstdOptions, isBrotliSupported, isZstdSupported, ACCEPT_ENCODING, ACCEPT_ENCODING_WITH_ZSTD, scheduleProgress, httpFollow, httpsFollow, isHttps, kAxiosSocketListener, kAxiosCurrentReq, kAxiosInstalledTunnel, tunnelingAgentCache, tunnelingAgentCacheUser, NODE_NATIVE_ENV_PROXY_SUPPORT, supportedProtocols, decodeURIComponentSafe = (value) => {
|
|
66719
67141
|
if (!utils_default.isString(value)) {
|
|
66720
67142
|
return value;
|
|
66721
67143
|
}
|
|
@@ -66768,6 +67190,7 @@ var init_http = __esm(() => {
|
|
|
66768
67190
|
init_platform();
|
|
66769
67191
|
init_fromDataURI();
|
|
66770
67192
|
init_AxiosHeaders();
|
|
67193
|
+
init_setFormDataHeaders();
|
|
66771
67194
|
init_AxiosTransformStream();
|
|
66772
67195
|
init_formDataToStream();
|
|
66773
67196
|
init_readBlob();
|
|
@@ -66795,9 +67218,9 @@ var init_http = __esm(() => {
|
|
|
66795
67218
|
isZstdSupported = utils_default.isFunction(zlib.createZstdDecompress);
|
|
66796
67219
|
ACCEPT_ENCODING = "gzip, compress, deflate" + (isBrotliSupported ? ", br" : "");
|
|
66797
67220
|
ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ", zstd" : "");
|
|
67221
|
+
scheduleProgress = typeof process !== "undefined" && process.nextTick ? process.nextTick.bind(process) : utils_default.asap;
|
|
66798
67222
|
({ http: httpFollow, https: httpsFollow } = import_follow_redirects.default);
|
|
66799
67223
|
isHttps = /https:?/;
|
|
66800
|
-
FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
|
|
66801
67224
|
kAxiosSocketListener = Symbol("axios.http.socketListener");
|
|
66802
67225
|
kAxiosCurrentReq = Symbol("axios.http.currentReq");
|
|
66803
67226
|
kAxiosInstalledTunnel = Symbol("axios.http.installedTunnel");
|
|
@@ -66948,7 +67371,7 @@ var init_http = __esm(() => {
|
|
|
66948
67371
|
if (protocol === "data:") {
|
|
66949
67372
|
if (maxContentLength > -1) {
|
|
66950
67373
|
const dataUrl = String(own2("url") || fullPath || "");
|
|
66951
|
-
const estimated =
|
|
67374
|
+
const estimated = estimateDataURLBufferAllocation(dataUrl);
|
|
66952
67375
|
if (estimated > maxContentLength) {
|
|
66953
67376
|
return reject(new AxiosError_default("maxContentLength size of " + maxContentLength + " exceeded", AxiosError_default.ERR_BAD_RESPONSE, config2));
|
|
66954
67377
|
}
|
|
@@ -67044,7 +67467,7 @@ var init_http = __esm(() => {
|
|
|
67044
67467
|
maxRate: utils_default.toFiniteNumber(maxUploadRate)
|
|
67045
67468
|
})
|
|
67046
67469
|
], utils_default.noop);
|
|
67047
|
-
onUploadProgress && data.on("progress", flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3))));
|
|
67470
|
+
onUploadProgress && data.on("progress", flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3))));
|
|
67048
67471
|
}
|
|
67049
67472
|
let auth = undefined;
|
|
67050
67473
|
const configAuth = own2("auth");
|
|
@@ -67178,7 +67601,7 @@ var init_http = __esm(() => {
|
|
|
67178
67601
|
const transformStream = new AxiosTransformStream_default({
|
|
67179
67602
|
maxRate: utils_default.toFiniteNumber(maxDownloadRate)
|
|
67180
67603
|
});
|
|
67181
|
-
onDownloadProgress && transformStream.on("progress", flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3))));
|
|
67604
|
+
onDownloadProgress && transformStream.on("progress", flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress, scheduleProgress), true, 3))));
|
|
67182
67605
|
streams.push(transformStream);
|
|
67183
67606
|
}
|
|
67184
67607
|
let responseStream = res;
|
|
@@ -67389,7 +67812,7 @@ var init_http = __esm(() => {
|
|
|
67389
67812
|
};
|
|
67390
67813
|
});
|
|
67391
67814
|
|
|
67392
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
67815
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
67393
67816
|
var isURLSameOrigin_default;
|
|
67394
67817
|
var init_isURLSameOrigin = __esm(() => {
|
|
67395
67818
|
init_platform();
|
|
@@ -67399,7 +67822,7 @@ var init_isURLSameOrigin = __esm(() => {
|
|
|
67399
67822
|
})(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
|
|
67400
67823
|
});
|
|
67401
67824
|
|
|
67402
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
67825
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/cookies.js
|
|
67403
67826
|
var cookies_default;
|
|
67404
67827
|
var init_cookies = __esm(() => {
|
|
67405
67828
|
init_utils();
|
|
@@ -67455,7 +67878,7 @@ var init_cookies = __esm(() => {
|
|
|
67455
67878
|
};
|
|
67456
67879
|
});
|
|
67457
67880
|
|
|
67458
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
67881
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/mergeConfig.js
|
|
67459
67882
|
function mergeConfig2(config1, config2) {
|
|
67460
67883
|
config1 = config1 || {};
|
|
67461
67884
|
config2 = config2 || {};
|
|
@@ -67552,7 +67975,7 @@ function mergeConfig2(config1, config2) {
|
|
|
67552
67975
|
validateStatus: mergeDirectKeys,
|
|
67553
67976
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
67554
67977
|
};
|
|
67555
|
-
utils_default.forEach(
|
|
67978
|
+
utils_default.forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
67556
67979
|
if (prop === "__proto__" || prop === "constructor" || prop === "prototype")
|
|
67557
67980
|
return;
|
|
67558
67981
|
const merge10 = utils_default.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
@@ -67570,24 +67993,18 @@ function mergeConfig2(config1, config2) {
|
|
|
67570
67993
|
}
|
|
67571
67994
|
return config3;
|
|
67572
67995
|
}
|
|
67573
|
-
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing
|
|
67996
|
+
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing, ownEnumerableKeys = (thing) => {
|
|
67997
|
+
if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
|
|
67998
|
+
return Object.keys(thing).concat(Object.getOwnPropertySymbols(thing).filter((symbol3) => Object.getOwnPropertyDescriptor(thing, symbol3).enumerable));
|
|
67999
|
+
}
|
|
68000
|
+
return Object.keys(thing);
|
|
68001
|
+
};
|
|
67574
68002
|
var init_mergeConfig = __esm(() => {
|
|
67575
68003
|
init_utils();
|
|
67576
68004
|
init_AxiosHeaders();
|
|
67577
68005
|
});
|
|
67578
68006
|
|
|
67579
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
67580
|
-
function setFormDataHeaders2(headers, formHeaders, policy) {
|
|
67581
|
-
if (policy !== "content-only") {
|
|
67582
|
-
headers.set(formHeaders);
|
|
67583
|
-
return;
|
|
67584
|
-
}
|
|
67585
|
-
Object.entries(formHeaders || {}).forEach(([key, val]) => {
|
|
67586
|
-
if (FORM_DATA_CONTENT_HEADERS2.includes(key.toLowerCase())) {
|
|
67587
|
-
headers.set(key, val);
|
|
67588
|
-
}
|
|
67589
|
-
});
|
|
67590
|
-
}
|
|
68007
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/resolveConfig.js
|
|
67591
68008
|
function resolveConfig(config2) {
|
|
67592
68009
|
const newConfig = mergeConfig2({}, config2);
|
|
67593
68010
|
const own2 = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : undefined;
|
|
@@ -67615,7 +68032,7 @@ function resolveConfig(config2) {
|
|
|
67615
68032
|
if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv || utils_default.isReactNative(data)) {
|
|
67616
68033
|
headers.setContentType(undefined);
|
|
67617
68034
|
} else if (utils_default.isFunction(data.getHeaders)) {
|
|
67618
|
-
|
|
68035
|
+
setFormDataHeaders(headers, data.getHeaders(), own2("formDataHeaderPolicy"));
|
|
67619
68036
|
}
|
|
67620
68037
|
}
|
|
67621
68038
|
if (platform_default.hasStandardBrowserEnv) {
|
|
@@ -67632,7 +68049,7 @@ function resolveConfig(config2) {
|
|
|
67632
68049
|
}
|
|
67633
68050
|
return newConfig;
|
|
67634
68051
|
}
|
|
67635
|
-
var
|
|
68052
|
+
var encodeUTF8 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))), resolveConfig_default;
|
|
67636
68053
|
var init_resolveConfig = __esm(() => {
|
|
67637
68054
|
init_platform();
|
|
67638
68055
|
init_utils();
|
|
@@ -67642,12 +68059,12 @@ var init_resolveConfig = __esm(() => {
|
|
|
67642
68059
|
init_buildFullPath();
|
|
67643
68060
|
init_mergeConfig();
|
|
67644
68061
|
init_AxiosHeaders();
|
|
68062
|
+
init_setFormDataHeaders();
|
|
67645
68063
|
init_buildURL();
|
|
67646
|
-
FORM_DATA_CONTENT_HEADERS2 = ["content-type", "content-length"];
|
|
67647
68064
|
resolveConfig_default = resolveConfig;
|
|
67648
68065
|
});
|
|
67649
68066
|
|
|
67650
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68067
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/adapters/xhr.js
|
|
67651
68068
|
var isXHRAdapterSupported, xhr_default;
|
|
67652
68069
|
var init_xhr = __esm(() => {
|
|
67653
68070
|
init_utils();
|
|
@@ -67788,7 +68205,7 @@ var init_xhr = __esm(() => {
|
|
|
67788
68205
|
};
|
|
67789
68206
|
});
|
|
67790
68207
|
|
|
67791
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68208
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/composeSignals.js
|
|
67792
68209
|
var composeSignals = (signals, timeout3) => {
|
|
67793
68210
|
signals = signals ? signals.filter(Boolean) : [];
|
|
67794
68211
|
if (!timeout3 && !signals.length) {
|
|
@@ -67819,7 +68236,16 @@ var composeSignals = (signals, timeout3) => {
|
|
|
67819
68236
|
});
|
|
67820
68237
|
signals = null;
|
|
67821
68238
|
};
|
|
67822
|
-
signals.forEach((signal2) =>
|
|
68239
|
+
signals.forEach((signal2) => {
|
|
68240
|
+
if (aborted) {
|
|
68241
|
+
return;
|
|
68242
|
+
}
|
|
68243
|
+
if (signal2.aborted) {
|
|
68244
|
+
onabort.call(signal2);
|
|
68245
|
+
return;
|
|
68246
|
+
}
|
|
68247
|
+
signal2.addEventListener("abort", onabort, { once: true });
|
|
68248
|
+
});
|
|
67823
68249
|
const { signal } = controller;
|
|
67824
68250
|
signal.unsubscribe = () => utils_default.asap(unsubscribe);
|
|
67825
68251
|
return signal;
|
|
@@ -67831,7 +68257,7 @@ var init_composeSignals = __esm(() => {
|
|
|
67831
68257
|
composeSignals_default = composeSignals;
|
|
67832
68258
|
});
|
|
67833
68259
|
|
|
67834
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68260
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/trackStream.js
|
|
67835
68261
|
var streamChunk = function* (chunk2, chunkSize) {
|
|
67836
68262
|
let len2 = chunk2.byteLength;
|
|
67837
68263
|
if (!chunkSize || len2 < chunkSize) {
|
|
@@ -67905,7 +68331,7 @@ var streamChunk = function* (chunk2, chunkSize) {
|
|
|
67905
68331
|
});
|
|
67906
68332
|
};
|
|
67907
68333
|
|
|
67908
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68334
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/adapters/fetch.js
|
|
67909
68335
|
var DEFAULT_CHUNK_SIZE, isFunction4, encodeUTF82 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))), decodeURIComponentSafe2 = (value) => {
|
|
67910
68336
|
if (!utils_default.isString(value)) {
|
|
67911
68337
|
return value;
|
|
@@ -68258,7 +68684,7 @@ var init_fetch = __esm(() => {
|
|
|
68258
68684
|
adapter = getFetch();
|
|
68259
68685
|
});
|
|
68260
68686
|
|
|
68261
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68687
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/adapters/adapters.js
|
|
68262
68688
|
function getAdapter(adapters, config2) {
|
|
68263
68689
|
adapters = utils_default.isArray(adapters) ? adapters : [adapters];
|
|
68264
68690
|
const { length: length2 } = adapters;
|
|
@@ -68317,7 +68743,7 @@ var init_adapters = __esm(() => {
|
|
|
68317
68743
|
};
|
|
68318
68744
|
});
|
|
68319
68745
|
|
|
68320
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68746
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/dispatchRequest.js
|
|
68321
68747
|
function throwIfCancellationRequested(config2) {
|
|
68322
68748
|
if (config2.cancelToken) {
|
|
68323
68749
|
config2.cancelToken.throwIfRequested();
|
|
@@ -68368,7 +68794,7 @@ var init_dispatchRequest = __esm(() => {
|
|
|
68368
68794
|
init_adapters();
|
|
68369
68795
|
});
|
|
68370
68796
|
|
|
68371
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68797
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/validator.js
|
|
68372
68798
|
function assertOptions(options, schema, allowUnknown) {
|
|
68373
68799
|
if (typeof options !== "object" || options === null) {
|
|
68374
68800
|
throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
|
|
@@ -68428,7 +68854,7 @@ var init_validator2 = __esm(() => {
|
|
|
68428
68854
|
};
|
|
68429
68855
|
});
|
|
68430
68856
|
|
|
68431
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
68857
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/core/Axios.js
|
|
68432
68858
|
class Axios {
|
|
68433
68859
|
constructor(instanceConfig) {
|
|
68434
68860
|
this.defaults = instanceConfig || {};
|
|
@@ -68556,16 +68982,29 @@ class Axios {
|
|
|
68556
68982
|
const onFulfilled = requestInterceptorChain[i2++];
|
|
68557
68983
|
const onRejected = requestInterceptorChain[i2++];
|
|
68558
68984
|
try {
|
|
68559
|
-
newConfig = onFulfilled(newConfig);
|
|
68985
|
+
newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
|
|
68560
68986
|
} catch (error) {
|
|
68561
|
-
onRejected
|
|
68987
|
+
if (!onRejected) {
|
|
68988
|
+
promise3 = Promise.reject(error);
|
|
68989
|
+
break;
|
|
68990
|
+
}
|
|
68991
|
+
try {
|
|
68992
|
+
const rejectedResult = onRejected.call(this, error);
|
|
68993
|
+
if (utils_default.isThenable(rejectedResult)) {
|
|
68994
|
+
promise3 = Promise.resolve(rejectedResult).then(() => dispatchRequest.call(this, newConfig));
|
|
68995
|
+
}
|
|
68996
|
+
} catch (rejectedError) {
|
|
68997
|
+
promise3 = Promise.reject(rejectedError);
|
|
68998
|
+
}
|
|
68562
68999
|
break;
|
|
68563
69000
|
}
|
|
68564
69001
|
}
|
|
68565
|
-
|
|
68566
|
-
|
|
68567
|
-
|
|
68568
|
-
|
|
69002
|
+
if (!promise3) {
|
|
69003
|
+
try {
|
|
69004
|
+
promise3 = dispatchRequest.call(this, newConfig);
|
|
69005
|
+
} catch (error) {
|
|
69006
|
+
promise3 = Promise.reject(error);
|
|
69007
|
+
}
|
|
68569
69008
|
}
|
|
68570
69009
|
i2 = 0;
|
|
68571
69010
|
len2 = responseInterceptorChain.length;
|
|
@@ -68622,7 +69061,7 @@ var init_Axios = __esm(() => {
|
|
|
68622
69061
|
Axios_default = Axios;
|
|
68623
69062
|
});
|
|
68624
69063
|
|
|
68625
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69064
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/cancel/CancelToken.js
|
|
68626
69065
|
class CancelToken {
|
|
68627
69066
|
constructor(executor) {
|
|
68628
69067
|
if (typeof executor !== "function") {
|
|
@@ -68712,14 +69151,14 @@ var init_CancelToken = __esm(() => {
|
|
|
68712
69151
|
CancelToken_default = CancelToken;
|
|
68713
69152
|
});
|
|
68714
69153
|
|
|
68715
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69154
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/spread.js
|
|
68716
69155
|
function spread(callback) {
|
|
68717
69156
|
return function wrap(arr) {
|
|
68718
69157
|
return callback.apply(null, arr);
|
|
68719
69158
|
};
|
|
68720
69159
|
}
|
|
68721
69160
|
|
|
68722
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69161
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/isAxiosError.js
|
|
68723
69162
|
function isAxiosError(payload) {
|
|
68724
69163
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
68725
69164
|
}
|
|
@@ -68727,7 +69166,7 @@ var init_isAxiosError = __esm(() => {
|
|
|
68727
69166
|
init_utils();
|
|
68728
69167
|
});
|
|
68729
69168
|
|
|
68730
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69169
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
68731
69170
|
var HttpStatusCode, HttpStatusCode_default;
|
|
68732
69171
|
var init_HttpStatusCode = __esm(() => {
|
|
68733
69172
|
HttpStatusCode = {
|
|
@@ -68794,6 +69233,7 @@ var init_HttpStatusCode = __esm(() => {
|
|
|
68794
69233
|
LoopDetected: 508,
|
|
68795
69234
|
NotExtended: 510,
|
|
68796
69235
|
NetworkAuthenticationRequired: 511,
|
|
69236
|
+
WebServerReturnsAnUnknownError: 520,
|
|
68797
69237
|
WebServerIsDown: 521,
|
|
68798
69238
|
ConnectionTimedOut: 522,
|
|
68799
69239
|
OriginIsUnreachable: 523,
|
|
@@ -68807,7 +69247,7 @@ var init_HttpStatusCode = __esm(() => {
|
|
|
68807
69247
|
HttpStatusCode_default = HttpStatusCode;
|
|
68808
69248
|
});
|
|
68809
69249
|
|
|
68810
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69250
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/lib/axios.js
|
|
68811
69251
|
function createInstance(defaultConfig) {
|
|
68812
69252
|
const context5 = new Axios_default(defaultConfig);
|
|
68813
69253
|
const instance = bind4(Axios_default.prototype.request, context5);
|
|
@@ -68856,7 +69296,7 @@ var init_axios = __esm(() => {
|
|
|
68856
69296
|
axios_default = axios;
|
|
68857
69297
|
});
|
|
68858
69298
|
|
|
68859
|
-
// ../../node_modules/.pnpm/axios@1.
|
|
69299
|
+
// ../../node_modules/.pnpm/axios@1.19.0/node_modules/axios/index.js
|
|
68860
69300
|
var init_axios2 = __esm(() => {
|
|
68861
69301
|
init_axios();
|
|
68862
69302
|
});
|
|
@@ -77279,6 +77719,10 @@ function renderWebappUxHandoffReference() {
|
|
|
77279
77719
|
"2. **Patterns** — matches existing components? recommend one if multiple. mobile vs desktop (md: variants vs separate mobile UI)?",
|
|
77280
77720
|
"3. **Layout** — compact title+menu row, description, trailing end-aligned CTA? unnecessary wrappers?",
|
|
77281
77721
|
"4. **Shortcuts** — consistent with catalog below? gaps or conflicts?",
|
|
77722
|
+
"5. **States** — loading spinners/skeletons for async data? error messages on failure? empty states?",
|
|
77723
|
+
"6. **Error boundaries** — risky subtrees wrapped so a throw does not crash the whole app? failure isolated from the dashboard?",
|
|
77724
|
+
"7. **Alignment** — traced parent layout before leaf styles? position/height match siblings? snapshot test to map hierarchy?",
|
|
77725
|
+
'8. **Feedback** — immediate pending state on async actions (e.g. ⌘Enter save → button "Saving...")?',
|
|
77282
77726
|
"",
|
|
77283
77727
|
"### Flow complexity",
|
|
77284
77728
|
"- Primary action ≤3 clicks from entry point",
|
|
@@ -77310,6 +77754,30 @@ function renderWebappUxHandoffReference() {
|
|
|
77310
77754
|
"- Reuse `CardHeader` + `CardAction` grid (`grid-cols-[1fr_auto]`) or equivalent flex `justify-between`",
|
|
77311
77755
|
"- Flag multi-row chrome that could collapse (menu on its own row, CTA left-aligned when end-aligned matches existing cards)",
|
|
77312
77756
|
"",
|
|
77757
|
+
"### Error & loading states",
|
|
77758
|
+
"- Initial fetch: `ChatroomLoader` centered (see `ChatroomTimelineFeed`, `ConversationSlicePanel`)",
|
|
77759
|
+
"- Pagination: `isLoadingOlder` / `isLoadingMore` inline loader at scroll edge",
|
|
77760
|
+
"- Save mutations: inline success/error text beside button (`AgentSettingsModal` `saveResult` pattern)",
|
|
77761
|
+
"- Never leave blank panels on fetch failure — show error message or retry affordance",
|
|
77762
|
+
"- Disable interactive controls while `isLoading` / `isPending`",
|
|
77763
|
+
"",
|
|
77764
|
+
"### Error boundaries",
|
|
77765
|
+
"- Wrap data-dependent or third-party subtrees with `ErrorBoundary` (chatroom) or rely on `SentryErrorBoundary` (root) / `AuthErrorBoundary` (app shell)",
|
|
77766
|
+
"- A single component throw must not unmount the entire dashboard — scope boundaries to the failing panel/section",
|
|
77767
|
+
"- Provide fallback UI with recovery action (reload button pattern in `ErrorBoundary.tsx`)",
|
|
77768
|
+
"",
|
|
77769
|
+
"### Alignment & component hierarchy",
|
|
77770
|
+
"- Before styling a leaf component, trace parent flex/grid — sticky headers, `grid-cols-[1fr_auto_1fr]` timeline nav, `items-center` vs `items-start`",
|
|
77771
|
+
"- Match sibling heights and vertical rhythm (`h-7 md:h-9` density pattern)",
|
|
77772
|
+
"- Flag absolute positioning or fixed heights that fight parent layout",
|
|
77773
|
+
"- **Planner/builder shortcut:** when hierarchy is unclear, write a vitest inline snapshot (`render` + `toMatchInlineSnapshot`, the repo convention in backend prompt tests) to inspect the full component tree before deciding leaf styles — remove or keep the snapshot based on team preference. Webapp currently has no snapshot-test precedent, so treat this as a diagnostic tool, not a convention to mandate.",
|
|
77774
|
+
"",
|
|
77775
|
+
"### Fast user feedback",
|
|
77776
|
+
"- Async actions triggered by keyboard (`⌘Enter` via `isModEnterKey`) or click must show **immediate** UI response",
|
|
77777
|
+
"- Canonical pattern: `isSaving` / `isPending` local state → button label `Saving...`, `disabled` while in flight (`AgentSettingsModal`)",
|
|
77778
|
+
"- Show inline error on failure; brief success confirmation optional",
|
|
77779
|
+
'- Pair shortcut hints with pending state ("Press ⌘Enter to save" only when save shows pending feedback)',
|
|
77780
|
+
"",
|
|
77313
77781
|
"### Keyboard shortcuts (reference)",
|
|
77314
77782
|
"| Shortcut | Action |",
|
|
77315
77783
|
"|----------|--------|",
|
|
@@ -77356,6 +77824,10 @@ function getEnhancerFeedbackTemplateBody() {
|
|
|
77356
77824
|
- **Patterns:** <which existing pattern fits; recommend one if multiple; mobile vs desktop>
|
|
77357
77825
|
- **Layout:** <compact rows, trailing CTAs, unnecessary wrappers>
|
|
77358
77826
|
- **Shortcuts:** <alignment with catalog; gaps or conflicts>
|
|
77827
|
+
- **States:** <loading/error/empty coverage for async surfaces>
|
|
77828
|
+
- **Error boundaries:** <error boundary placement; failure isolated from the whole app>
|
|
77829
|
+
- **Alignment:** <hierarchy traced; position/height issues; inline snapshot consideration>
|
|
77830
|
+
- **Feedback:** <immediate pending state on async actions; ⌘Enter + button state>
|
|
77359
77831
|
</handoff-ux>
|
|
77360
77832
|
|
|
77361
77833
|
<handoff-notes>
|
|
@@ -78109,9 +78581,6 @@ var init_classification_guide = __esm(() => {
|
|
|
78109
78581
|
init_utils3();
|
|
78110
78582
|
});
|
|
78111
78583
|
|
|
78112
|
-
// ../../services/backend/prompts/sections/current-classification.ts
|
|
78113
|
-
var init_current_classification = () => {};
|
|
78114
|
-
|
|
78115
78584
|
// ../../services/backend/prompts/sections/getting-started.ts
|
|
78116
78585
|
var init_getting_started = __esm(() => {
|
|
78117
78586
|
init_getting_started_content();
|
|
@@ -78379,7 +78848,6 @@ var init_generator = __esm(() => {
|
|
|
78379
78848
|
init_system_prompt();
|
|
78380
78849
|
init_classification_guide();
|
|
78381
78850
|
init_commands_reference();
|
|
78382
|
-
init_current_classification();
|
|
78383
78851
|
init_getting_started();
|
|
78384
78852
|
init_glossary();
|
|
78385
78853
|
init_handoff_options();
|
|
@@ -80200,9 +80668,8 @@ async function createDefaultDeps14() {
|
|
|
80200
80668
|
};
|
|
80201
80669
|
}
|
|
80202
80670
|
function formatBadges(message) {
|
|
80203
|
-
const classification = message.classification ? ` [${message.classification.toUpperCase()}]` : "";
|
|
80204
80671
|
const status3 = message.taskStatus ? ` (${message.taskStatus})` : "";
|
|
80205
|
-
return `${
|
|
80672
|
+
return `${status3}`;
|
|
80206
80673
|
}
|
|
80207
80674
|
function logMessageContent(content, full) {
|
|
80208
80675
|
if (full) {
|
|
@@ -80291,9 +80758,6 @@ var listBySenderRoleEffect = (chatroomId, options) => exports_Effect.gen(functio
|
|
|
80291
80758
|
if (message.targetRole) {
|
|
80292
80759
|
console.log(` Target: ${message.targetRole}`);
|
|
80293
80760
|
}
|
|
80294
|
-
if (message.featureTitle) {
|
|
80295
|
-
console.log(` Title: ${message.featureTitle}`);
|
|
80296
|
-
}
|
|
80297
80761
|
logMessageContent(message.content, options.full ?? false);
|
|
80298
80762
|
}
|
|
80299
80763
|
console.log(`
|
|
@@ -80336,9 +80800,6 @@ ${roleIndicator} ${message.senderRole}${message.targetRole ? ` → ${message.tar
|
|
|
80336
80800
|
console.log(` ID: ${message._id}`);
|
|
80337
80801
|
console.log(` Time: ${timestamp}`);
|
|
80338
80802
|
console.log(` Type: ${message.type}${badges}`);
|
|
80339
|
-
if (message.featureTitle) {
|
|
80340
|
-
console.log(` Title: ${message.featureTitle}`);
|
|
80341
|
-
}
|
|
80342
80803
|
logMessageContent(message.content, options.full ?? false);
|
|
80343
80804
|
}
|
|
80344
80805
|
console.log(`
|
|
@@ -80458,7 +80919,10 @@ var readContextEffect = (chatroomId, options) => exports_Effect.gen(function* ()
|
|
|
80458
80919
|
sessionId,
|
|
80459
80920
|
chatroomId,
|
|
80460
80921
|
role: options.role
|
|
80461
|
-
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
80922
|
+
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
80923
|
+
_tag: "ReadContextFailed",
|
|
80924
|
+
cause: cause3
|
|
80925
|
+
})));
|
|
80462
80926
|
yield* exports_Effect.sync(() => {
|
|
80463
80927
|
if (context5.messages.length === 0 && !context5.currentContext) {
|
|
80464
80928
|
console.log(`<context role="${options.role}">`);
|
|
@@ -80488,12 +80952,6 @@ var readContextEffect = (chatroomId, options) => exports_Effect.gen(function* ()
|
|
|
80488
80952
|
\uD83C\uDFAF Origin Message:`);
|
|
80489
80953
|
console.log(` ID: ${context5.originMessage._id}`);
|
|
80490
80954
|
console.log(` Time: ${new Date(context5.originMessage._creationTime).toLocaleString()}`);
|
|
80491
|
-
if (context5.classification) {
|
|
80492
|
-
console.log(` Classification: ${context5.classification.toUpperCase()}`);
|
|
80493
|
-
}
|
|
80494
|
-
if (context5.originMessage.featureTitle) {
|
|
80495
|
-
console.log(` Feature: ${context5.originMessage.featureTitle}`);
|
|
80496
|
-
}
|
|
80497
80955
|
}
|
|
80498
80956
|
console.log(`
|
|
80499
80957
|
\uD83D\uDCCA Status:`);
|
|
@@ -80504,11 +80962,7 @@ var readContextEffect = (chatroomId, options) => exports_Effect.gen(function* ()
|
|
|
80504
80962
|
console.log("─".repeat(60));
|
|
80505
80963
|
for (const message of context5.messages) {
|
|
80506
80964
|
const toAttr = message.targetRole ? ` to="${message.targetRole}"` : "";
|
|
80507
|
-
|
|
80508
|
-
console.log(`<message id="${message._id}" from="${message.senderRole}"${toAttr} type="${message.type}"${classAttr}>`);
|
|
80509
|
-
if (message.featureTitle) {
|
|
80510
|
-
console.log(` Feature: ${sanitizeForTerminal(message.featureTitle)}`);
|
|
80511
|
-
}
|
|
80965
|
+
console.log(`<message id="${message._id}" from="${message.senderRole}"${toAttr} type="${message.type}">`);
|
|
80512
80966
|
if (message.taskId) {
|
|
80513
80967
|
console.log(` Task:`);
|
|
80514
80968
|
console.log(` ID: ${message.taskId}`);
|
|
@@ -80595,7 +81049,10 @@ var readContextEffect = (chatroomId, options) => exports_Effect.gen(function* ()
|
|
|
80595
81049
|
sessionId,
|
|
80596
81050
|
chatroomId,
|
|
80597
81051
|
limit: options.limit ?? 10
|
|
80598
|
-
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
81052
|
+
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
81053
|
+
_tag: "ListContextsFailed",
|
|
81054
|
+
cause: cause3
|
|
81055
|
+
})));
|
|
80599
81056
|
yield* exports_Effect.sync(() => {
|
|
80600
81057
|
if (contexts.length === 0) {
|
|
80601
81058
|
console.log(`
|
|
@@ -80632,7 +81089,10 @@ var readContextEffect = (chatroomId, options) => exports_Effect.gen(function* ()
|
|
|
80632
81089
|
const context5 = yield* backend2.query(api.contexts.getContext, {
|
|
80633
81090
|
sessionId,
|
|
80634
81091
|
contextId: options.contextId
|
|
80635
|
-
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
81092
|
+
}).pipe(exports_Effect.mapError((cause3) => ({
|
|
81093
|
+
_tag: "InspectContextFailed",
|
|
81094
|
+
cause: cause3
|
|
81095
|
+
})));
|
|
80636
81096
|
yield* exports_Effect.sync(() => {
|
|
80637
81097
|
console.log(`
|
|
80638
81098
|
\uD83D\uDCCB CONTEXT DETAILS`);
|
|
@@ -81311,7 +81771,8 @@ var featureFlags;
|
|
|
81311
81771
|
var init_featureFlags = __esm(() => {
|
|
81312
81772
|
featureFlags = {
|
|
81313
81773
|
disableLogin: false,
|
|
81314
|
-
directHarnessWorkers: true
|
|
81774
|
+
directHarnessWorkers: true,
|
|
81775
|
+
allowedSignupMethods: ["self"]
|
|
81315
81776
|
};
|
|
81316
81777
|
});
|
|
81317
81778
|
|
|
@@ -81793,6 +82254,9 @@ var init_claude_sdk2 = __esm(() => {
|
|
|
81793
82254
|
|
|
81794
82255
|
// src/infrastructure/harnesses/cursor-sdk/cursor-session.ts
|
|
81795
82256
|
import { randomUUID as randomUUID6 } from "node:crypto";
|
|
82257
|
+
function warnWriteLine(line) {
|
|
82258
|
+
console.warn(line);
|
|
82259
|
+
}
|
|
81796
82260
|
|
|
81797
82261
|
class CursorSdkSession {
|
|
81798
82262
|
opencodeSessionId;
|
|
@@ -81826,7 +82290,10 @@ class CursorSdkSession {
|
|
|
81826
82290
|
const run3 = await withTimeout(this.agent.send(text, {
|
|
81827
82291
|
local: { force: isFirstTurn },
|
|
81828
82292
|
idempotencyKey: randomUUID6(),
|
|
81829
|
-
...modelId ? { model: { id: modelId } } : {}
|
|
82293
|
+
...modelId ? { model: { id: modelId } } : {},
|
|
82294
|
+
onDelta: ({ update: update6 }) => {
|
|
82295
|
+
this.handleInteractionDelta(messageId, update6);
|
|
82296
|
+
}
|
|
81830
82297
|
}), SEND_TIMEOUT_MS2, "agent.send");
|
|
81831
82298
|
for await (const message of run3.stream()) {
|
|
81832
82299
|
if (this.closed)
|
|
@@ -81870,6 +82337,38 @@ class CursorSdkSession {
|
|
|
81870
82337
|
timestamp: Date.now()
|
|
81871
82338
|
});
|
|
81872
82339
|
}
|
|
82340
|
+
handleInteractionDelta(messageId, update6) {
|
|
82341
|
+
switch (update6.type) {
|
|
82342
|
+
case "text-delta":
|
|
82343
|
+
this.emitDelta(messageId, update6.text, "text");
|
|
82344
|
+
break;
|
|
82345
|
+
case "thinking-delta":
|
|
82346
|
+
this.emitDelta(messageId, update6.text, "reasoning");
|
|
82347
|
+
break;
|
|
82348
|
+
case "tool-call-delta":
|
|
82349
|
+
if (update6.taskUpdate.type === "text-delta") {
|
|
82350
|
+
this.emitDelta(messageId, update6.taskUpdate.text, "text");
|
|
82351
|
+
}
|
|
82352
|
+
break;
|
|
82353
|
+
case "token-delta":
|
|
82354
|
+
case "tool-call-started":
|
|
82355
|
+
case "tool-call-completed":
|
|
82356
|
+
case "turn-ended":
|
|
82357
|
+
case "thinking-completed":
|
|
82358
|
+
case "summary-started":
|
|
82359
|
+
case "summary-completed":
|
|
82360
|
+
case "summary":
|
|
82361
|
+
case "user-message-appended":
|
|
82362
|
+
case "partial-tool-call":
|
|
82363
|
+
case "shell-output-delta":
|
|
82364
|
+
case "step-started":
|
|
82365
|
+
case "step-completed":
|
|
82366
|
+
break;
|
|
82367
|
+
default:
|
|
82368
|
+
logUnhandledInteractionDelta(HARNESS_LOG_PREFIX, update6, warnWriteLine);
|
|
82369
|
+
break;
|
|
82370
|
+
}
|
|
82371
|
+
}
|
|
81873
82372
|
emitFromSdkMessage(message, messageId) {
|
|
81874
82373
|
switch (message.type) {
|
|
81875
82374
|
case "assistant":
|
|
@@ -81884,7 +82383,16 @@ class CursorSdkSession {
|
|
|
81884
82383
|
this.emitDelta(messageId, message.text, "reasoning");
|
|
81885
82384
|
}
|
|
81886
82385
|
break;
|
|
82386
|
+
case "status":
|
|
82387
|
+
case "system":
|
|
82388
|
+
case "task":
|
|
82389
|
+
case "tool_call":
|
|
82390
|
+
case "usage":
|
|
82391
|
+
case "user":
|
|
82392
|
+
case "request":
|
|
82393
|
+
break;
|
|
81887
82394
|
default:
|
|
82395
|
+
logUnhandledSdkMessage(HARNESS_LOG_PREFIX, message, warnWriteLine);
|
|
81888
82396
|
break;
|
|
81889
82397
|
}
|
|
81890
82398
|
}
|
|
@@ -81894,8 +82402,10 @@ function resolveModelFromPrompt(providerID, modelID) {
|
|
|
81894
82402
|
return resolveCursorSdkModel(modelID);
|
|
81895
82403
|
return resolveCursorSdkModel(`${providerID}/${modelID}`);
|
|
81896
82404
|
}
|
|
81897
|
-
var SEND_TIMEOUT_MS2 = 60000, RUN_WAIT_TIMEOUT_MS2 = 3600000;
|
|
81898
|
-
var init_cursor_session = () => {
|
|
82405
|
+
var SEND_TIMEOUT_MS2 = 60000, RUN_WAIT_TIMEOUT_MS2 = 3600000, HARNESS_LOG_PREFIX = "[cursor-sdk-harness";
|
|
82406
|
+
var init_cursor_session = __esm(() => {
|
|
82407
|
+
init_cursor_sdk_stream_fallback();
|
|
82408
|
+
});
|
|
81899
82409
|
|
|
81900
82410
|
// src/infrastructure/harnesses/cursor-sdk/cursor-harness.ts
|
|
81901
82411
|
async function loadSdk5() {
|
|
@@ -92514,6 +93024,9 @@ function getExecutionKindForRole(role) {
|
|
|
92514
93024
|
function isTeamAgentRole(role) {
|
|
92515
93025
|
return getExecutionKindForRole(role) === "team_agent";
|
|
92516
93026
|
}
|
|
93027
|
+
function isDaemonWorkerRole(role) {
|
|
93028
|
+
return getExecutionKindForRole(role) === "daemon_worker";
|
|
93029
|
+
}
|
|
92517
93030
|
var DAEMON_WORKER_ROLES;
|
|
92518
93031
|
var init_execution_kind = __esm(() => {
|
|
92519
93032
|
DAEMON_WORKER_ROLES = new Set(["enhancer"]);
|
|
@@ -111601,6 +112114,8 @@ async function nudgeStuckTasks(tasks, now, cooldown, runtime4, effectContext2, a
|
|
|
111601
112114
|
if (isNativeHarness(row.agentConfig.agentHarness)) {
|
|
111602
112115
|
const { chatroomId, agentConfig } = row;
|
|
111603
112116
|
const { role } = agentConfig;
|
|
112117
|
+
if (!isTeamAgentRole(role))
|
|
112118
|
+
continue;
|
|
111604
112119
|
const deliveryState = getRoleDeliveryState();
|
|
111605
112120
|
const failures3 = deliveryState.recordNativeNudgeFailure(chatroomId, role);
|
|
111606
112121
|
if (shouldEscalateNativeNudgeToRestart(chatroomId, role, failures3)) {
|
|
@@ -111649,28 +112164,28 @@ async function reviveNativeTasks(tasks, localHealth, now, cooldown, runtime4, ef
|
|
|
111649
112164
|
}
|
|
111650
112165
|
}
|
|
111651
112166
|
async function processTasksUpdate(tasks, runtime4, effectContext2, cooldown, agentMgr, sessionDeps, machineId, _pass) {
|
|
111652
|
-
|
|
111653
|
-
if (
|
|
112167
|
+
const filteredTasks = filterSnapshotsExcludingRestartInFlight(tasks);
|
|
112168
|
+
if (filteredTasks.length === 0)
|
|
111654
112169
|
return;
|
|
111655
112170
|
const now = Date.now();
|
|
111656
112171
|
const localHealth = {
|
|
111657
112172
|
getSlot: (chatroomId, role) => agentMgr.getSlot(chatroomId, role),
|
|
111658
112173
|
isPidAlive: (pid) => isProcessAlive((p) => process.kill(p, 0), pid)
|
|
111659
112174
|
};
|
|
111660
|
-
await reviveNativeTasks(
|
|
111661
|
-
if (
|
|
111662
|
-
const first =
|
|
112175
|
+
await reviveNativeTasks(filteredTasks, localHealth, now, cooldown, runtime4, effectContext2, agentMgr, sessionDeps, machineId);
|
|
112176
|
+
if (filteredTasks.length > 0) {
|
|
112177
|
+
const first = filteredTasks[0];
|
|
111663
112178
|
logNativeDeliveryFallback("signal-presence", first.agentConfig.role, first.chatroomId, first.taskId);
|
|
111664
112179
|
}
|
|
111665
112180
|
getNativeTaskDeliveryCoordinator().reconcileAssignedTasks({
|
|
111666
|
-
tasks,
|
|
112181
|
+
tasks: filteredTasks,
|
|
111667
112182
|
runtime: runtime4,
|
|
111668
112183
|
effectContext: effectContext2,
|
|
111669
112184
|
agentMgr,
|
|
111670
112185
|
sessionDeps,
|
|
111671
112186
|
machineId
|
|
111672
112187
|
});
|
|
111673
|
-
await nudgeStuckTasks(
|
|
112188
|
+
await nudgeStuckTasks(filteredTasks, now, cooldown, runtime4, effectContext2, agentMgr, sessionDeps, machineId);
|
|
111674
112189
|
}
|
|
111675
112190
|
function listDeliverablePendingFromStore(agentMgr) {
|
|
111676
112191
|
if (!hasAssignedTaskSnapshot())
|
|
@@ -111829,12 +112344,13 @@ var init_task_monitor = __esm(() => {
|
|
|
111829
112344
|
init_esm();
|
|
111830
112345
|
init_daemon_services();
|
|
111831
112346
|
init_native_ready_invariant();
|
|
111832
|
-
init_restart_orchestrator_in_flight();
|
|
111833
112347
|
init_native_task_delivery_coordinator();
|
|
111834
112348
|
init_native_task_injector_logic();
|
|
112349
|
+
init_restart_orchestrator_in_flight();
|
|
111835
112350
|
init_task_monitor_logic();
|
|
111836
112351
|
init_task_monitor_snapshot();
|
|
111837
112352
|
init_api3();
|
|
112353
|
+
init_execution_kind();
|
|
111838
112354
|
init_feed_runtime();
|
|
111839
112355
|
init_assigned_task_presence();
|
|
111840
112356
|
init_assigned_task_signals();
|
|
@@ -111938,6 +112454,8 @@ async function waitForHarnessSessionId(deps, event, pid) {
|
|
|
111938
112454
|
return null;
|
|
111939
112455
|
}
|
|
111940
112456
|
async function forceNativeWaiting(deps, event) {
|
|
112457
|
+
if (!isTeamAgentRole(event.role))
|
|
112458
|
+
return;
|
|
111941
112459
|
await deps.session.backend.mutation(api.participants.join, {
|
|
111942
112460
|
sessionId: deps.session.sessionId,
|
|
111943
112461
|
chatroomId: event.chatroomId,
|
|
@@ -112075,9 +112593,10 @@ var init_restart_orchestrator = __esm(() => {
|
|
|
112075
112593
|
init_native_task_delivery_coordinator();
|
|
112076
112594
|
init_native_task_injector_logic();
|
|
112077
112595
|
init_native_task_injector();
|
|
112596
|
+
init_restart_orchestrator_in_flight();
|
|
112078
112597
|
init_api3();
|
|
112598
|
+
init_execution_kind();
|
|
112079
112599
|
init_convex_error();
|
|
112080
|
-
init_restart_orchestrator_in_flight();
|
|
112081
112600
|
});
|
|
112082
112601
|
|
|
112083
112602
|
// src/events/daemon/agent/on-request-restart-agent.ts
|
|
@@ -113538,6 +114057,8 @@ __export(exports_lifecycle_heartbeat, {
|
|
|
113538
114057
|
sendLifecycleHeartbeat: () => sendLifecycleHeartbeat
|
|
113539
114058
|
});
|
|
113540
114059
|
function sendLifecycleHeartbeat(client4, opts) {
|
|
114060
|
+
if (isDaemonWorkerRole(opts.role))
|
|
114061
|
+
return;
|
|
113541
114062
|
withRetry(() => client4.mutation(api.participants.join, {
|
|
113542
114063
|
sessionId: opts.sessionId,
|
|
113543
114064
|
chatroomId: opts.chatroomId,
|
|
@@ -113546,8 +114067,9 @@ function sendLifecycleHeartbeat(client4, opts) {
|
|
|
113546
114067
|
})).catch(() => {});
|
|
113547
114068
|
}
|
|
113548
114069
|
var init_lifecycle_heartbeat = __esm(() => {
|
|
113549
|
-
init_api3();
|
|
113550
114070
|
init_retry_queue();
|
|
114071
|
+
init_api3();
|
|
114072
|
+
init_execution_kind();
|
|
113551
114073
|
});
|
|
113552
114074
|
|
|
113553
114075
|
// ../../node_modules/.pnpm/commander@14.0.3/node_modules/commander/esm.mjs
|
|
@@ -114077,4 +114599,4 @@ program2.hook("preAction", async (_thisCommand, actionCommand) => {
|
|
|
114077
114599
|
});
|
|
114078
114600
|
program2.parse();
|
|
114079
114601
|
|
|
114080
|
-
//# debugId=
|
|
114602
|
+
//# debugId=E748BD45980A592964756E2164756E21
|