@deslop/scope 0.1.1134 → 0.1.1135
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/server.js +242 -483
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -15,7 +15,7 @@ import * as NodeUrl from "node:url";
|
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import * as readline from "node:readline";
|
|
17
17
|
import { DatabaseSync, backup } from "node:sqlite";
|
|
18
|
-
|
|
18
|
+
// \0rolldown/runtime.js
|
|
19
19
|
var __create = Object.create;
|
|
20
20
|
var __defProp = Object.defineProperty;
|
|
21
21
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -38,8 +38,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
enumerable: true
|
|
39
39
|
}) : target, mod));
|
|
40
40
|
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
41
|
-
|
|
42
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pipeable.js
|
|
41
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pipeable.js
|
|
43
42
|
/**
|
|
44
43
|
* The `Pipeable` module defines the shared interface and implementation helpers
|
|
45
44
|
* for values that support Effect-style method chaining with `.pipe(...)`.
|
|
@@ -144,8 +143,7 @@ const Class$3 = /*#__PURE__*/ function() {
|
|
|
144
143
|
PipeableBase.prototype = Prototype$1;
|
|
145
144
|
return PipeableBase;
|
|
146
145
|
}();
|
|
147
|
-
|
|
148
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Function.js
|
|
146
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Function.js
|
|
149
147
|
/**
|
|
150
148
|
* Creates a function that can be called in data-first style or data-last
|
|
151
149
|
* (`pipe`-friendly) style.
|
|
@@ -495,8 +493,7 @@ function memoizeIdempotent(f) {
|
|
|
495
493
|
return result;
|
|
496
494
|
};
|
|
497
495
|
}
|
|
498
|
-
|
|
499
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/equal.js
|
|
496
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/equal.js
|
|
500
497
|
/** @internal */
|
|
501
498
|
const getAllObjectKeys = (obj) => {
|
|
502
499
|
const keys = new Set(Reflect.ownKeys(obj));
|
|
@@ -516,8 +513,7 @@ const getAllObjectKeys = (obj) => {
|
|
|
516
513
|
const byReferenceInstances = /*#__PURE__*/ new WeakSet();
|
|
517
514
|
/** @internal */
|
|
518
515
|
const viewBytes = (view) => new Uint8Array(view.buffer, view.byteOffset, view.byteLength);
|
|
519
|
-
|
|
520
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hash.js
|
|
516
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hash.js
|
|
521
517
|
/**
|
|
522
518
|
* Back-edge count used to avoid caching entry-point-dependent hashes.
|
|
523
519
|
*
|
|
@@ -528,8 +524,7 @@ let backEdges = 0;
|
|
|
528
524
|
const addBackEdge = () => {
|
|
529
525
|
backEdges++;
|
|
530
526
|
};
|
|
531
|
-
|
|
532
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Predicate.js
|
|
527
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Predicate.js
|
|
533
528
|
/**
|
|
534
529
|
* Defines runtime checks for values.
|
|
535
530
|
*
|
|
@@ -1186,8 +1181,7 @@ function isError(input) {
|
|
|
1186
1181
|
function isIterable(input) {
|
|
1187
1182
|
return hasProperty(input, Symbol.iterator) || isString$2(input);
|
|
1188
1183
|
}
|
|
1189
|
-
|
|
1190
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Hash.js
|
|
1184
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Hash.js
|
|
1191
1185
|
/**
|
|
1192
1186
|
* Computes Effect hash values and defines the interface for objects that want
|
|
1193
1187
|
* to provide their own hash implementation. Hashes are small numeric
|
|
@@ -1582,8 +1576,7 @@ const hashSet = /*#__PURE__*/ unordered(setSeed, (element) => combine$1(setSeed,
|
|
|
1582
1576
|
const randomHashCache = /*#__PURE__*/ new WeakMap();
|
|
1583
1577
|
const hashCache = /*#__PURE__*/ new WeakMap();
|
|
1584
1578
|
const visitedObjects = /*#__PURE__*/ new WeakSet();
|
|
1585
|
-
|
|
1586
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equal.js
|
|
1579
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equal.js
|
|
1587
1580
|
/**
|
|
1588
1581
|
* Defines the unique string identifier for the `Equal` interface.
|
|
1589
1582
|
*
|
|
@@ -1801,8 +1794,7 @@ const isEqual = (u) => hasProperty(u, symbol$2);
|
|
|
1801
1794
|
* @since 4.0.0
|
|
1802
1795
|
*/
|
|
1803
1796
|
const asEquivalence = () => equals$1;
|
|
1804
|
-
|
|
1805
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Redactable.js
|
|
1797
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Redactable.js
|
|
1806
1798
|
/**
|
|
1807
1799
|
* Defines the symbol used to identify objects that implement the {@link Redactable}
|
|
1808
1800
|
* protocol.
|
|
@@ -1924,8 +1916,7 @@ const emptyContext$1 = {
|
|
|
1924
1916
|
return pipeArguments(this, arguments);
|
|
1925
1917
|
}
|
|
1926
1918
|
};
|
|
1927
|
-
|
|
1928
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Formatter.js
|
|
1919
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Formatter.js
|
|
1929
1920
|
/**
|
|
1930
1921
|
* Formats JavaScript values into readable strings.
|
|
1931
1922
|
*
|
|
@@ -2200,8 +2191,7 @@ function isJsonPrimitiveWrapper(object) {
|
|
|
2200
2191
|
} catch {}
|
|
2201
2192
|
return false;
|
|
2202
2193
|
}
|
|
2203
|
-
|
|
2204
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Inspectable.js
|
|
2194
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Inspectable.js
|
|
2205
2195
|
/**
|
|
2206
2196
|
* Controls how values appear in logs and debugging output.
|
|
2207
2197
|
*
|
|
@@ -2426,8 +2416,7 @@ var Class$2 = class {
|
|
|
2426
2416
|
return format$2(this.toJSON());
|
|
2427
2417
|
}
|
|
2428
2418
|
};
|
|
2429
|
-
|
|
2430
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/stackTraceLimit.js
|
|
2419
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/stackTraceLimit.js
|
|
2431
2420
|
/**
|
|
2432
2421
|
* Check if `Error.stackTraceLimit` is writable.
|
|
2433
2422
|
* Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
|
|
@@ -2458,8 +2447,7 @@ const getStackTraceLimit = () => Error.stackTraceLimit;
|
|
|
2458
2447
|
const setStackTraceLimit = (value) => {
|
|
2459
2448
|
if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
|
|
2460
2449
|
};
|
|
2461
|
-
|
|
2462
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Utils.js
|
|
2450
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Utils.js
|
|
2463
2451
|
/**
|
|
2464
2452
|
* Yields its wrapped value exactly once, then completes with the value sent
|
|
2465
2453
|
* back in.
|
|
@@ -2541,8 +2529,7 @@ const pickInternalCall = () => {
|
|
|
2541
2529
|
};
|
|
2542
2530
|
/** @internal */
|
|
2543
2531
|
const internalCall = /*#__PURE__*/ pickInternalCall();
|
|
2544
|
-
|
|
2545
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/record.js
|
|
2532
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/record.js
|
|
2546
2533
|
/** @internal */
|
|
2547
2534
|
function assignProperty(self, key, value) {
|
|
2548
2535
|
if (key === "__proto__") Object.defineProperty(self, key, {
|
|
@@ -2557,8 +2544,7 @@ function assignProperty(self, key, value) {
|
|
|
2557
2544
|
function assignProperties(self, source) {
|
|
2558
2545
|
for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
|
|
2559
2546
|
}
|
|
2560
|
-
|
|
2561
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/core.js
|
|
2547
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/core.js
|
|
2562
2548
|
/** @internal */
|
|
2563
2549
|
const EffectTypeId = `~effect/Effect`;
|
|
2564
2550
|
/** @internal */
|
|
@@ -2974,8 +2960,7 @@ const done$2 = (value) => {
|
|
|
2974
2960
|
if (value === void 0) return doneVoid;
|
|
2975
2961
|
return exitFail(Done$1(value));
|
|
2976
2962
|
};
|
|
2977
|
-
|
|
2978
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effectable.js
|
|
2963
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effectable.js
|
|
2979
2964
|
/**
|
|
2980
2965
|
* Create a low-level `Effect` prototype.
|
|
2981
2966
|
*
|
|
@@ -3000,8 +2985,7 @@ const Prototype = (options) => makePrimitiveProto({
|
|
|
3000
2985
|
op: options.label,
|
|
3001
2986
|
[evaluate]: options.evaluate
|
|
3002
2987
|
});
|
|
3003
|
-
|
|
3004
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equivalence.js
|
|
2988
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Equivalence.js
|
|
3005
2989
|
/**
|
|
3006
2990
|
* Creates a custom equivalence relation with an optimized reference equality check.
|
|
3007
2991
|
*
|
|
@@ -3177,8 +3161,7 @@ function Array_$1(item) {
|
|
|
3177
3161
|
return true;
|
|
3178
3162
|
});
|
|
3179
3163
|
}
|
|
3180
|
-
|
|
3181
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/option.js
|
|
3164
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/option.js
|
|
3182
3165
|
/**
|
|
3183
3166
|
* @since 2.0.0
|
|
3184
3167
|
*/
|
|
@@ -3248,8 +3231,7 @@ const SomeImpl = function(value) {
|
|
|
3248
3231
|
SomeImpl.prototype = SomeProto;
|
|
3249
3232
|
/** @internal */
|
|
3250
3233
|
const some$2 = (value) => new SomeImpl(value);
|
|
3251
|
-
|
|
3252
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/result.js
|
|
3234
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/result.js
|
|
3253
3235
|
const TypeId$59 = "~effect/Result";
|
|
3254
3236
|
const CommonProto = {
|
|
3255
3237
|
[TypeId$59]: {
|
|
@@ -3322,8 +3304,7 @@ const SuccessImpl = function(success) {
|
|
|
3322
3304
|
SuccessImpl.prototype = SuccessProto;
|
|
3323
3305
|
/** @internal */
|
|
3324
3306
|
const succeed$10 = (success) => new SuccessImpl(success);
|
|
3325
|
-
|
|
3326
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Order.js
|
|
3307
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Order.js
|
|
3327
3308
|
/**
|
|
3328
3309
|
* Defines comparison functions for ordered values.
|
|
3329
3310
|
*
|
|
@@ -3759,8 +3740,7 @@ const isGreaterThanOrEqualTo$2 = (O) => dual(2, (self, that) => O(self, that) !=
|
|
|
3759
3740
|
* @since 2.0.0
|
|
3760
3741
|
*/
|
|
3761
3742
|
const max$1 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
|
|
3762
|
-
|
|
3763
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Option.js
|
|
3743
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Option.js
|
|
3764
3744
|
/**
|
|
3765
3745
|
* Creates an `Option` representing the absence of a value.
|
|
3766
3746
|
*
|
|
@@ -4349,8 +4329,7 @@ const liftPredicate = /*#__PURE__*/ dual(2, (b, predicate) => predicate(b) ? som
|
|
|
4349
4329
|
* @since 2.0.0
|
|
4350
4330
|
*/
|
|
4351
4331
|
const exists = /*#__PURE__*/ dual(2, (self, refinement) => isNone(self) ? false : refinement(self.value));
|
|
4352
|
-
|
|
4353
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Context.js
|
|
4332
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Context.js
|
|
4354
4333
|
/**
|
|
4355
4334
|
* Runtime type identifier attached to `Context` service keys and used by
|
|
4356
4335
|
* `isKey` to recognize them.
|
|
@@ -5036,8 +5015,7 @@ const omit$2 = (...keys) => (self) => withFlat(self, (map) => {
|
|
|
5036
5015
|
* @since 3.11.0
|
|
5037
5016
|
*/
|
|
5038
5017
|
const Reference = Service$2;
|
|
5039
|
-
|
|
5040
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Duration.js
|
|
5018
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Duration.js
|
|
5041
5019
|
const TypeId$57 = "~effect/Duration";
|
|
5042
5020
|
const bigint0$3 = /*#__PURE__*/ BigInt(0);
|
|
5043
5021
|
const bigint1$2 = /*#__PURE__*/ BigInt(1);
|
|
@@ -5784,15 +5762,13 @@ const format$1 = (self) => {
|
|
|
5784
5762
|
if (fragments.nanos !== 0) pieces.push(`${fragments.nanos}ns`);
|
|
5785
5763
|
return pieces.join(" ");
|
|
5786
5764
|
};
|
|
5787
|
-
|
|
5788
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/array.js
|
|
5765
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/array.js
|
|
5789
5766
|
/**
|
|
5790
5767
|
* @since 2.0.0
|
|
5791
5768
|
*/
|
|
5792
5769
|
/** @internal */
|
|
5793
5770
|
const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
5794
|
-
|
|
5795
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/count.js
|
|
5771
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/count.js
|
|
5796
5772
|
/**
|
|
5797
5773
|
* Normalizes a collection count to a non-negative integer. `NaN` and
|
|
5798
5774
|
* non-positive values become `0`; positive infinity is preserved.
|
|
@@ -5800,8 +5776,7 @@ const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
|
5800
5776
|
* @internal
|
|
5801
5777
|
*/
|
|
5802
5778
|
const normalize$1 = (n) => n > 0 ? Math.floor(n) : 0;
|
|
5803
|
-
|
|
5804
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Result.js
|
|
5779
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Result.js
|
|
5805
5780
|
/**
|
|
5806
5781
|
* Creates a `Result` holding a `Success` value.
|
|
5807
5782
|
*
|
|
@@ -6184,8 +6159,7 @@ const all$3 = (input) => {
|
|
|
6184
6159
|
}
|
|
6185
6160
|
return succeed$9(out);
|
|
6186
6161
|
};
|
|
6187
|
-
|
|
6188
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tuple.js
|
|
6162
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tuple.js
|
|
6189
6163
|
/**
|
|
6190
6164
|
* Creates an `Equivalence` for tuples by comparing corresponding elements
|
|
6191
6165
|
* using the provided per-position `Equivalence`s. Two tuples are equivalent
|
|
@@ -6219,8 +6193,7 @@ const all$3 = (input) => {
|
|
|
6219
6193
|
* @since 4.0.0
|
|
6220
6194
|
*/
|
|
6221
6195
|
const makeEquivalence$3 = Tuple$1;
|
|
6222
|
-
|
|
6223
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Iterable.js
|
|
6196
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Iterable.js
|
|
6224
6197
|
/**
|
|
6225
6198
|
* Gets the first element of an `Iterable` without returning an `Option`.
|
|
6226
6199
|
*
|
|
@@ -6313,8 +6286,7 @@ const findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
|
|
|
6313
6286
|
}
|
|
6314
6287
|
return none();
|
|
6315
6288
|
});
|
|
6316
|
-
|
|
6317
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Record.js
|
|
6289
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Record.js
|
|
6318
6290
|
/**
|
|
6319
6291
|
* Creates a new, empty record.
|
|
6320
6292
|
*
|
|
@@ -6528,8 +6500,7 @@ const makeEquivalence$2 = (equivalence) => {
|
|
|
6528
6500
|
const is = isSubrecordBy(equivalence);
|
|
6529
6501
|
return (self, that) => is(self, that) && is(that, self);
|
|
6530
6502
|
};
|
|
6531
|
-
|
|
6532
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Array.js
|
|
6503
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Array.js
|
|
6533
6504
|
/**
|
|
6534
6505
|
* Works with JavaScript arrays, readonly arrays, and non-empty arrays.
|
|
6535
6506
|
*
|
|
@@ -7417,8 +7388,7 @@ const countBy = /*#__PURE__*/ dual(2, (self, f) => {
|
|
|
7417
7388
|
}
|
|
7418
7389
|
return count;
|
|
7419
7390
|
});
|
|
7420
|
-
|
|
7421
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scheduler.js
|
|
7391
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scheduler.js
|
|
7422
7392
|
/**
|
|
7423
7393
|
* Controls how runnable Effect fiber tasks are dispatched.
|
|
7424
7394
|
*
|
|
@@ -7654,8 +7624,7 @@ const PreventSchedulerYield = /*#__PURE__*/ Reference("effect/Scheduler/PreventS
|
|
|
7654
7624
|
fiberCached: true,
|
|
7655
7625
|
defaultValue: () => false
|
|
7656
7626
|
});
|
|
7657
|
-
|
|
7658
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Data.js
|
|
7627
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Data.js
|
|
7659
7628
|
/**
|
|
7660
7629
|
* Provides a base class for immutable data types.
|
|
7661
7630
|
*
|
|
@@ -7868,8 +7837,7 @@ const Error$2 = Error$3;
|
|
|
7868
7837
|
* @since 2.0.0
|
|
7869
7838
|
*/
|
|
7870
7839
|
const TaggedError$1 = TaggedError$2;
|
|
7871
|
-
|
|
7872
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/EncodingError.js
|
|
7840
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/EncodingError.js
|
|
7873
7841
|
/**
|
|
7874
7842
|
* Shared error type for encoding and decoding operations.
|
|
7875
7843
|
*
|
|
@@ -7977,8 +7945,7 @@ const random32 = () => {
|
|
|
7977
7945
|
const d = randomWord();
|
|
7978
7946
|
return String.fromCharCode(hexCharCodes[a >>> 28], hexCharCodes[a >>> 24 & 15], hexCharCodes[a >>> 20 & 15], hexCharCodes[a >>> 16 & 15], hexCharCodes[a >>> 12 & 15], hexCharCodes[a >>> 8 & 15], hexCharCodes[a >>> 4 & 15], hexCharCodes[a & 15], hexCharCodes[b >>> 28], hexCharCodes[b >>> 24 & 15], hexCharCodes[b >>> 20 & 15], hexCharCodes[b >>> 16 & 15], hexCharCodes[b >>> 12 & 15], hexCharCodes[b >>> 8 & 15], hexCharCodes[b >>> 4 & 15], hexCharCodes[b & 15], hexCharCodes[c >>> 28], hexCharCodes[c >>> 24 & 15], hexCharCodes[c >>> 20 & 15], hexCharCodes[c >>> 16 & 15], hexCharCodes[c >>> 12 & 15], hexCharCodes[c >>> 8 & 15], hexCharCodes[c >>> 4 & 15], hexCharCodes[c & 15], hexCharCodes[d >>> 28], hexCharCodes[d >>> 24 & 15], hexCharCodes[d >>> 20 & 15], hexCharCodes[d >>> 16 & 15], hexCharCodes[d >>> 12 & 15], hexCharCodes[d >>> 8 & 15], hexCharCodes[d >>> 4 & 15], hexCharCodes[d & 15]);
|
|
7979
7947
|
};
|
|
7980
|
-
|
|
7981
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tracer.js
|
|
7948
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Tracer.js
|
|
7982
7949
|
/**
|
|
7983
7950
|
* Defines the low-level tracing model used by Effect.
|
|
7984
7951
|
*
|
|
@@ -8318,12 +8285,10 @@ var NativeSpan = class {
|
|
|
8318
8285
|
this.links.push(...links);
|
|
8319
8286
|
}
|
|
8320
8287
|
};
|
|
8321
|
-
|
|
8322
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/metric.js
|
|
8288
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/metric.js
|
|
8323
8289
|
/** @internal */
|
|
8324
8290
|
const FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
|
|
8325
|
-
|
|
8326
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/references.js
|
|
8291
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/references.js
|
|
8327
8292
|
/** @internal */
|
|
8328
8293
|
const CurrentErrorReporters = /*#__PURE__*/ Reference("effect/ErrorReporter/CurrentErrorReporters", { defaultValue: () => /* @__PURE__ */ new Set() });
|
|
8329
8294
|
/** @internal */
|
|
@@ -8356,8 +8321,7 @@ const MinimumLogLevel = /*#__PURE__*/ Reference("effect/References/MinimumLogLev
|
|
|
8356
8321
|
});
|
|
8357
8322
|
/** @internal */
|
|
8358
8323
|
const CurrentLogSpans$1 = /*#__PURE__*/ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
|
|
8359
|
-
|
|
8360
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/tracer.js
|
|
8324
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/tracer.js
|
|
8361
8325
|
/** @internal */
|
|
8362
8326
|
const addSpanStackTrace = (options) => {
|
|
8363
8327
|
if (options?.captureStackTrace === false) return options;
|
|
@@ -8390,8 +8354,7 @@ const makeStackCleaner = (line) => (stack) => {
|
|
|
8390
8354
|
};
|
|
8391
8355
|
};
|
|
8392
8356
|
const spanCleaner = /*#__PURE__*/ makeStackCleaner(3);
|
|
8393
|
-
|
|
8394
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js
|
|
8357
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js
|
|
8395
8358
|
/** @internal */
|
|
8396
8359
|
var Interrupt = class extends ReasonBase {
|
|
8397
8360
|
constructor(fiberId, annotations = constEmptyAnnotations) {
|
|
@@ -10647,8 +10610,7 @@ const reportCauseUnsafe = (fiber, cause, defectsOnly) => {
|
|
|
10647
10610
|
};
|
|
10648
10611
|
reporters.forEach((reporter) => reporter.report(opts));
|
|
10649
10612
|
};
|
|
10650
|
-
|
|
10651
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Exit.js
|
|
10613
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Exit.js
|
|
10652
10614
|
/**
|
|
10653
10615
|
* Checks whether an unknown value is an Exit.
|
|
10654
10616
|
*
|
|
@@ -10944,8 +10906,7 @@ const hasInterrupts$1 = exitHasInterrupts;
|
|
|
10944
10906
|
* @since 4.0.0
|
|
10945
10907
|
*/
|
|
10946
10908
|
const asVoidAll = exitAsVoidAll;
|
|
10947
|
-
|
|
10948
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Deferred.js
|
|
10909
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Deferred.js
|
|
10949
10910
|
const TypeId$56 = "~effect/Deferred";
|
|
10950
10911
|
/**
|
|
10951
10912
|
* Checks whether a value is a `Deferred`.
|
|
@@ -11253,8 +11214,7 @@ const doneUnsafe = (self, effect) => {
|
|
|
11253
11214
|
}
|
|
11254
11215
|
return true;
|
|
11255
11216
|
};
|
|
11256
|
-
|
|
11257
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/References.js
|
|
11217
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/References.js
|
|
11258
11218
|
/**
|
|
11259
11219
|
* Context reference for managing log annotations that are automatically added to all log entries.
|
|
11260
11220
|
* These annotations provide contextual metadata that appears in every log message.
|
|
@@ -11462,8 +11422,7 @@ const CurrentLogSpans = CurrentLogSpans$1;
|
|
|
11462
11422
|
* @since 4.0.0
|
|
11463
11423
|
*/
|
|
11464
11424
|
const TracerTimingEnabled = TracerTimingEnabled$1;
|
|
11465
|
-
|
|
11466
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scope.js
|
|
11425
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Scope.js
|
|
11467
11426
|
/**
|
|
11468
11427
|
* Controls how long resources stay open.
|
|
11469
11428
|
*
|
|
@@ -11826,8 +11785,7 @@ const closeUnsafe = scopeCloseUnsafe;
|
|
|
11826
11785
|
* @since 2.0.0
|
|
11827
11786
|
*/
|
|
11828
11787
|
const use$1 = scopeUse;
|
|
11829
|
-
|
|
11830
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Layer.js
|
|
11788
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Layer.js
|
|
11831
11789
|
const TypeId$55 = "~effect/Layer";
|
|
11832
11790
|
const MemoMapTypeId = "~effect/Layer/MemoMap";
|
|
11833
11791
|
const makeMemoMapEntry = (memoMap, layer) => {
|
|
@@ -12908,8 +12866,7 @@ const fresh = (self) => fromBuildUnsafe((_, scope) => self.build(makeMemoMapUnsa
|
|
|
12908
12866
|
* @since 2.0.0
|
|
12909
12867
|
*/
|
|
12910
12868
|
const launch = (self) => scoped$1(andThen$1(build(self), never$2));
|
|
12911
|
-
|
|
12912
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cause.js
|
|
12869
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cause.js
|
|
12913
12870
|
/**
|
|
12914
12871
|
* Records the full reason an `Effect` failed.
|
|
12915
12872
|
*
|
|
@@ -13645,8 +13602,7 @@ const reasonAnnotations = reasonAnnotations$1;
|
|
|
13645
13602
|
* @since 4.0.0
|
|
13646
13603
|
*/
|
|
13647
13604
|
var StackTrace = class extends (/*#__PURE__*/ Service$2()("effect/Cause/StackTrace")) {};
|
|
13648
|
-
|
|
13649
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Clock.js
|
|
13605
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Clock.js
|
|
13650
13606
|
/**
|
|
13651
13607
|
* Context reference for the active time service in the environment.
|
|
13652
13608
|
*
|
|
@@ -13748,8 +13704,7 @@ const currentTimeMillis = currentTimeMillis$1;
|
|
|
13748
13704
|
* @since 4.0.0
|
|
13749
13705
|
*/
|
|
13750
13706
|
const monotonicTimeNanos = monotonicTimeNanos$1;
|
|
13751
|
-
|
|
13752
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/dateTime.js
|
|
13707
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/dateTime.js
|
|
13753
13708
|
/** @internal */
|
|
13754
13709
|
const TypeId$54 = "~effect/DateTime";
|
|
13755
13710
|
/** @internal */
|
|
@@ -13847,8 +13802,7 @@ const setPartsDate = (date, parts) => {
|
|
|
13847
13802
|
};
|
|
13848
13803
|
/** @internal */
|
|
13849
13804
|
const formatIso$1 = (self) => toDateUtc$1(self).toISOString();
|
|
13850
|
-
|
|
13851
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Number.js
|
|
13805
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Number.js
|
|
13852
13806
|
/**
|
|
13853
13807
|
* Exposes the global number constructor.
|
|
13854
13808
|
*
|
|
@@ -14022,8 +13976,7 @@ const includes = (searchString, position) => (self) => self.includes(searchStrin
|
|
|
14022
13976
|
* @since 2.0.0
|
|
14023
13977
|
*/
|
|
14024
13978
|
const startsWith = (searchString, position) => (self) => self.startsWith(searchString, position);
|
|
14025
|
-
|
|
14026
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/random.js
|
|
13979
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/random.js
|
|
14027
13980
|
/** @internal */
|
|
14028
13981
|
const nextBetween = (min, max, draw) => {
|
|
14029
13982
|
const value = draw * (max - min) + min;
|
|
@@ -14035,8 +13988,7 @@ const nextBetween = (min, max, draw) => {
|
|
|
14035
13988
|
view.setBigUint64(0, max > 0 ? bits - BigInt(1) : bits + BigInt(1));
|
|
14036
13989
|
return view.getFloat64(0);
|
|
14037
13990
|
};
|
|
14038
|
-
|
|
14039
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pull.js
|
|
13991
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Pull.js
|
|
14040
13992
|
/**
|
|
14041
13993
|
* Models one low-level pull step for stream-like consumers.
|
|
14042
13994
|
*
|
|
@@ -14213,8 +14165,7 @@ const matchEffect$1 = /*#__PURE__*/ dual(2, (self, options) => matchCauseEffect$
|
|
|
14213
14165
|
return !isFailure$1(halt) ? options.onDone(halt.success.value) : options.onFailure(halt.failure);
|
|
14214
14166
|
}
|
|
14215
14167
|
}));
|
|
14216
|
-
|
|
14217
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schedule.js
|
|
14168
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schedule.js
|
|
14218
14169
|
const TypeId$53 = "~effect/Schedule";
|
|
14219
14170
|
/**
|
|
14220
14171
|
* Context reference containing metadata for the currently running schedule step.
|
|
@@ -14527,13 +14478,11 @@ const while_ = /*#__PURE__*/ dual(2, (self, predicate) => fromStep(map$4(toStep(
|
|
|
14527
14478
|
* @since 2.0.0
|
|
14528
14479
|
*/
|
|
14529
14480
|
const forever$1 = /*#__PURE__*/ spaced(zero$2);
|
|
14530
|
-
|
|
14531
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/layer.js
|
|
14481
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/layer.js
|
|
14532
14482
|
const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$3(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideContext$3(self, context)));
|
|
14533
14483
|
/** @internal */
|
|
14534
14484
|
const provide$1 = /*#__PURE__*/ dual((args) => isEffect$1(args[0]), (self, source, options) => isContext(source) ? provideContext$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll$1(...source) : source, options));
|
|
14535
|
-
|
|
14536
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schedule.js
|
|
14485
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schedule.js
|
|
14537
14486
|
const findErrorOnly = (cause) => cause.reasons.every(isFailReason$1) ? findError$1(cause) : fail$7(cause);
|
|
14538
14487
|
/** @internal */
|
|
14539
14488
|
const retryOrElse = /*#__PURE__*/ dual(3, (self, policy, orElse) => flatMap$3(toStepWithMetadata(policy), (step) => {
|
|
@@ -14568,8 +14517,7 @@ const buildFromOptions = (options) => {
|
|
|
14568
14517
|
if (options.times !== void 0) schedule = while_(schedule, ({ attempt }) => succeed$8(attempt <= options.times));
|
|
14569
14518
|
return schedule;
|
|
14570
14519
|
};
|
|
14571
|
-
|
|
14572
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableHashMap.js
|
|
14520
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableHashMap.js
|
|
14573
14521
|
const TypeId$52 = "~effect/MutableHashMap";
|
|
14574
14522
|
const MutableHashMapProto = {
|
|
14575
14523
|
[TypeId$52]: TypeId$52,
|
|
@@ -14950,8 +14898,7 @@ const clear$1 = (self) => {
|
|
|
14950
14898
|
* @since 2.0.0
|
|
14951
14899
|
*/
|
|
14952
14900
|
const size$2 = (self) => self.backing.size;
|
|
14953
|
-
|
|
14954
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js
|
|
14901
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Effect.js
|
|
14955
14902
|
/**
|
|
14956
14903
|
* Checks whether a value is an `Effect`.
|
|
14957
14904
|
*
|
|
@@ -19289,8 +19236,7 @@ const catchEager = catchEager$1;
|
|
|
19289
19236
|
* @since 4.0.0
|
|
19290
19237
|
*/
|
|
19291
19238
|
const fnUntracedEager = fnUntracedEager$1;
|
|
19292
|
-
|
|
19293
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/net/NetAddress.js
|
|
19239
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/net/NetAddress.js
|
|
19294
19240
|
const TypeId$51 = "~effect/net/NetAddress";
|
|
19295
19241
|
const ipv4Value = (self) => self.value;
|
|
19296
19242
|
const ipv6Words = (self) => self;
|
|
@@ -19826,8 +19772,7 @@ const unixPathAddress = (path) => {
|
|
|
19826
19772
|
const formatUnixPath = (self) => `unix://${self.path}`;
|
|
19827
19773
|
({ ...BaseProto });
|
|
19828
19774
|
({ ...BaseProto });
|
|
19829
|
-
|
|
19830
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/BigInt.js
|
|
19775
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/BigInt.js
|
|
19831
19776
|
/**
|
|
19832
19777
|
* Exposes the global bigint constructor for JavaScript bigint coercion.
|
|
19833
19778
|
*
|
|
@@ -19891,8 +19836,7 @@ const toNumber = (b) => {
|
|
|
19891
19836
|
if (b > BigInt$4(Number.MAX_SAFE_INTEGER) || b < BigInt$4(Number.MIN_SAFE_INTEGER)) return none();
|
|
19892
19837
|
return some$1(Number(b));
|
|
19893
19838
|
};
|
|
19894
|
-
|
|
19895
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ByteSize.js
|
|
19839
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ByteSize.js
|
|
19896
19840
|
const bigint0$1 = /*#__PURE__*/ BigInt(0);
|
|
19897
19841
|
const bigint1$1 = /*#__PURE__*/ BigInt(1);
|
|
19898
19842
|
const decimalBase = /*#__PURE__*/ BigInt(1e3);
|
|
@@ -20169,8 +20113,7 @@ const unitConstructor = (symbol) => (value) => fromQuantity(value, unitsBySymbol
|
|
|
20169
20113
|
* @since 4.0.0
|
|
20170
20114
|
*/
|
|
20171
20115
|
const mebibytes = /*#__PURE__*/ unitConstructor("MiB");
|
|
20172
|
-
|
|
20173
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PlatformError.js
|
|
20116
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PlatformError.js
|
|
20174
20117
|
/**
|
|
20175
20118
|
* Normalized errors for platform APIs.
|
|
20176
20119
|
*
|
|
@@ -20327,8 +20270,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
|
|
|
20327
20270
|
* @since 4.0.0
|
|
20328
20271
|
*/
|
|
20329
20272
|
const badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
20330
|
-
|
|
20331
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Fiber.js
|
|
20273
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Fiber.js
|
|
20332
20274
|
/**
|
|
20333
20275
|
* Joins a fiber, blocking until it completes. If the fiber succeeds,
|
|
20334
20276
|
* returns its value. If it fails, the error is propagated.
|
|
@@ -20462,8 +20404,7 @@ const getCurrent = getCurrentFiber;
|
|
|
20462
20404
|
* @since 4.0.0
|
|
20463
20405
|
*/
|
|
20464
20406
|
const runIn = fiberRunIn;
|
|
20465
|
-
|
|
20466
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Latch.js
|
|
20407
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Latch.js
|
|
20467
20408
|
/**
|
|
20468
20409
|
* Creates a `Latch` synchronously, outside of `Effect`.
|
|
20469
20410
|
*
|
|
@@ -20535,8 +20476,7 @@ const makeUnsafe$4 = makeLatchUnsafe;
|
|
|
20535
20476
|
* @since 4.0.0
|
|
20536
20477
|
*/
|
|
20537
20478
|
const make$65 = makeLatch;
|
|
20538
|
-
|
|
20539
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableRef.js
|
|
20479
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableRef.js
|
|
20540
20480
|
const TypeId$48 = "~effect/MutableRef";
|
|
20541
20481
|
const MutableRefProto = {
|
|
20542
20482
|
[TypeId$48]: TypeId$48,
|
|
@@ -20641,8 +20581,7 @@ const set$2 = /*#__PURE__*/ dual(2, (self, value) => {
|
|
|
20641
20581
|
self.current = value;
|
|
20642
20582
|
return self;
|
|
20643
20583
|
});
|
|
20644
|
-
|
|
20645
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableList.js
|
|
20584
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/MutableList.js
|
|
20646
20585
|
/**
|
|
20647
20586
|
* Mutable lists for collecting ordered values and draining them from the front.
|
|
20648
20587
|
* A `MutableList<A>` can append values to the end, prepend values to the
|
|
@@ -21066,8 +21005,7 @@ const filter = (self, f) => {
|
|
|
21066
21005
|
* @since 4.0.0
|
|
21067
21006
|
*/
|
|
21068
21007
|
const remove$2 = (self, value) => filter(self, (v) => v !== value);
|
|
21069
|
-
|
|
21070
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PubSub.js
|
|
21008
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PubSub.js
|
|
21071
21009
|
const TypeId$47 = "~effect/PubSub";
|
|
21072
21010
|
const SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
21073
21011
|
/**
|
|
@@ -21746,8 +21684,7 @@ const emptyReplayWindow = {
|
|
|
21746
21684
|
takeAll: () => [],
|
|
21747
21685
|
close: () => void 0
|
|
21748
21686
|
};
|
|
21749
|
-
|
|
21750
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Queue.js
|
|
21687
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Queue.js
|
|
21751
21688
|
/**
|
|
21752
21689
|
* Passes values asynchronously between fibers.
|
|
21753
21690
|
*
|
|
@@ -22773,8 +22710,7 @@ const finalize = (self, exit) => {
|
|
|
22773
22710
|
for (const awaiter of openState.awaiters) awaiter(exit);
|
|
22774
22711
|
openState.awaiters.clear();
|
|
22775
22712
|
};
|
|
22776
|
-
|
|
22777
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Semaphore.js
|
|
22713
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Semaphore.js
|
|
22778
22714
|
/**
|
|
22779
22715
|
* Creates a `Semaphore` synchronously with the specified total
|
|
22780
22716
|
* number of permits.
|
|
@@ -22939,8 +22875,7 @@ var SemaphoreImpl = class {
|
|
|
22939
22875
|
* @since 4.0.0
|
|
22940
22876
|
*/
|
|
22941
22877
|
const make$60 = (permits) => sync$1(() => new SemaphoreImpl(permits));
|
|
22942
|
-
|
|
22943
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Channel.js
|
|
22878
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Channel.js
|
|
22944
22879
|
/**
|
|
22945
22880
|
* Provides low-level building blocks for streaming data through Effect.
|
|
22946
22881
|
*
|
|
@@ -24359,8 +24294,7 @@ const runFold = /*#__PURE__*/ dual(3, (self, initial, f) => suspend$2(() => {
|
|
|
24359
24294
|
* @since 4.0.0
|
|
24360
24295
|
*/
|
|
24361
24296
|
const toPullScoped = (self, scope) => toTransform(self)(done(), scope);
|
|
24362
|
-
|
|
24363
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/stream.js
|
|
24297
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/stream.js
|
|
24364
24298
|
const TypeId$44 = "~effect/Stream";
|
|
24365
24299
|
const streamVariance = {
|
|
24366
24300
|
_R: identity,
|
|
@@ -24378,8 +24312,7 @@ Stream$2.prototype = {
|
|
|
24378
24312
|
};
|
|
24379
24313
|
/** @internal */
|
|
24380
24314
|
const fromChannel$2 = (channel) => new Stream$2(channel);
|
|
24381
|
-
|
|
24382
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Sink.js
|
|
24315
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Sink.js
|
|
24383
24316
|
const TypeId$43 = "~effect/Sink";
|
|
24384
24317
|
const endVoid = /*#__PURE__*/ succeed$4([void 0]);
|
|
24385
24318
|
const sinkVariance = {
|
|
@@ -24569,8 +24502,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$1(
|
|
|
24569
24502
|
* @since 2.0.0
|
|
24570
24503
|
*/
|
|
24571
24504
|
const unwrap$3 = (effect) => fromChannel$1(unwrap$4(map$2(effect, toChannel$1)));
|
|
24572
|
-
|
|
24573
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/RcMap.js
|
|
24505
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/RcMap.js
|
|
24574
24506
|
/**
|
|
24575
24507
|
* Shares scoped resources by key and releases them when no one is using them.
|
|
24576
24508
|
*
|
|
@@ -24792,8 +24724,7 @@ const release$1 = (self, key, entry) => withFiber((fiber) => {
|
|
|
24792
24724
|
})), runForkWith(fiber.context), runIn(self.scope));
|
|
24793
24725
|
return void_$1;
|
|
24794
24726
|
});
|
|
24795
|
-
|
|
24796
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/rcRef.js
|
|
24727
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/rcRef.js
|
|
24797
24728
|
const TypeId$41 = "~effect/RcRef";
|
|
24798
24729
|
const stateEmpty = { _tag: "Empty" };
|
|
24799
24730
|
const stateClosed = { _tag: "Closed" };
|
|
@@ -24907,8 +24838,7 @@ const release = (self, state) => {
|
|
|
24907
24838
|
})), runForkWith(self.context), runIn(self.scope));
|
|
24908
24839
|
return void_$1;
|
|
24909
24840
|
};
|
|
24910
|
-
|
|
24911
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/RcRef.js
|
|
24841
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/RcRef.js
|
|
24912
24842
|
/**
|
|
24913
24843
|
* Creates an `RcRef` from an acquire effect.
|
|
24914
24844
|
*
|
|
@@ -25003,8 +24933,7 @@ const make$57 = make$58;
|
|
|
25003
24933
|
* @since 3.5.0
|
|
25004
24934
|
*/
|
|
25005
24935
|
const get$3 = get$4;
|
|
25006
|
-
|
|
25007
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Stream.js
|
|
24936
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Stream.js
|
|
25008
24937
|
/**
|
|
25009
24938
|
* Describes effectful sources that emit values over time.
|
|
25010
24939
|
*
|
|
@@ -26236,8 +26165,7 @@ const toReadableStreamWith = /*#__PURE__*/ dual((args) => isStream(args[0]), (se
|
|
|
26236
26165
|
* @since 2.0.0
|
|
26237
26166
|
*/
|
|
26238
26167
|
const toReadableStreamEffect = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, options) => map$2(context(), (context) => toReadableStreamWith(self, context, options)));
|
|
26239
|
-
|
|
26240
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/FileSystem.js
|
|
26168
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/FileSystem.js
|
|
26241
26169
|
/**
|
|
26242
26170
|
* Defines the portable file system service for Effect programs.
|
|
26243
26171
|
*
|
|
@@ -26422,8 +26350,7 @@ const FileTypeId = "~effect/FileSystem/File";
|
|
|
26422
26350
|
* @since 4.0.0
|
|
26423
26351
|
*/
|
|
26424
26352
|
var WatchBackend = class extends (/*#__PURE__*/ Service$2()("effect/FileSystem/WatchBackend")) {};
|
|
26425
|
-
|
|
26426
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Path.js
|
|
26353
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Path.js
|
|
26427
26354
|
/**
|
|
26428
26355
|
* Provides path operations through the Effect environment.
|
|
26429
26356
|
*
|
|
@@ -26550,8 +26477,7 @@ const make$55 = (impl) => Path$1.of({
|
|
|
26550
26477
|
return relative === ".." || relative.startsWith(`..${impl.sep}`) || impl.isAbsolute(relative) ? none() : some$1(candidate);
|
|
26551
26478
|
}
|
|
26552
26479
|
});
|
|
26553
|
-
|
|
26554
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/annotations.js
|
|
26480
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/annotations.js
|
|
26555
26481
|
/** @internal */
|
|
26556
26482
|
function resolve$1(ast) {
|
|
26557
26483
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -26609,8 +26535,7 @@ const annotationExcludedKeys = /*#__PURE__*/ new Set([
|
|
|
26609
26535
|
"toCodecIso",
|
|
26610
26536
|
"toCodecArbitrary"
|
|
26611
26537
|
]);
|
|
26612
|
-
|
|
26613
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/parser.js
|
|
26538
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/parser.js
|
|
26614
26539
|
/** @internal */
|
|
26615
26540
|
const missing = /*#__PURE__*/ Symbol();
|
|
26616
26541
|
/** @internal */
|
|
@@ -26623,8 +26548,7 @@ const sameExit = /*#__PURE__*/ succeed$1(missing);
|
|
|
26623
26548
|
const toOption = (value) => value === missing ? none() : some$1(value);
|
|
26624
26549
|
/** @internal */
|
|
26625
26550
|
const fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed$1(option.value);
|
|
26626
|
-
|
|
26627
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaIssue.js
|
|
26551
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaIssue.js
|
|
26628
26552
|
/**
|
|
26629
26553
|
* Describes problems found while decoding, encoding, or checking data with
|
|
26630
26554
|
* schemas.
|
|
@@ -27142,8 +27066,7 @@ function findMessage(issue) {
|
|
|
27142
27066
|
const message = (issue._tag === "Filter" ? issue.filter.annotations : "annotations" in issue ? issue.annotations : issue.ast.annotations)?.[issue._tag === "MissingKey" ? "messageMissingKey" : issue._tag === "UnexpectedKey" ? "messageUnexpectedKey" : "message"];
|
|
27143
27067
|
if (typeof message === "string") return message;
|
|
27144
27068
|
}
|
|
27145
|
-
|
|
27146
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/cause.js
|
|
27069
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/cause.js
|
|
27147
27070
|
/** @internal */
|
|
27148
27071
|
function getSchemaIssue(cause) {
|
|
27149
27072
|
let issue;
|
|
@@ -27159,8 +27082,7 @@ function getSchemaIssueOrThrow(cause, message) {
|
|
|
27159
27082
|
if (issue === void 0) throw new Error(message, { cause });
|
|
27160
27083
|
return issue;
|
|
27161
27084
|
}
|
|
27162
|
-
|
|
27163
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/DateTime.js
|
|
27085
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/DateTime.js
|
|
27164
27086
|
/**
|
|
27165
27087
|
* Checks whether a value is a `DateTime`.
|
|
27166
27088
|
*
|
|
@@ -27321,8 +27243,7 @@ const toUtc = toUtc$1;
|
|
|
27321
27243
|
* @since 3.6.0
|
|
27322
27244
|
*/
|
|
27323
27245
|
const formatIso = formatIso$1;
|
|
27324
|
-
|
|
27325
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/Base64.js
|
|
27246
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/encoding/Base64.js
|
|
27326
27247
|
/**
|
|
27327
27248
|
* Base64 encoding and decoding helpers.
|
|
27328
27249
|
*
|
|
@@ -27456,8 +27377,7 @@ const getCode = (charCode) => {
|
|
|
27456
27377
|
if (charCode >= codes.length || codes[charCode] === 255) throw new TypeError(`Invalid character ${String.fromCharCode(charCode)}`);
|
|
27457
27378
|
return codes[charCode];
|
|
27458
27379
|
};
|
|
27459
|
-
|
|
27460
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaGetter.js
|
|
27380
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaGetter.js
|
|
27461
27381
|
const makeGetter = (fields) => Object.assign(Object.create(Prototype$1), fields);
|
|
27462
27382
|
/**
|
|
27463
27383
|
* Creates a getter that always fails with the given issue.
|
|
@@ -27969,8 +27889,7 @@ function encodeBase64() {
|
|
|
27969
27889
|
function decodeBase64() {
|
|
27970
27890
|
return transformEffect$1((input, options) => mapErrorEager(fromResult(decode$1(input)), () => new InvalidValue({ expected: "a valid Base64 string" }, input, options)));
|
|
27971
27891
|
}
|
|
27972
|
-
|
|
27973
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/BigDecimal.js
|
|
27892
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/BigDecimal.js
|
|
27974
27893
|
/**
|
|
27975
27894
|
* Decimal numbers and arithmetic for cases where JavaScript `number` rounding
|
|
27976
27895
|
* is not precise enough. A `BigDecimal` stores digits as a `bigint` plus a
|
|
@@ -28254,8 +28173,7 @@ const toExponential = (n) => {
|
|
|
28254
28173
|
* @since 2.0.0
|
|
28255
28174
|
*/
|
|
28256
28175
|
const isZero = (n) => n.value === bigint0;
|
|
28257
|
-
|
|
28258
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaTransformation.js
|
|
28176
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaTransformation.js
|
|
28259
28177
|
/**
|
|
28260
28178
|
* Constructs schema middleware from its decode and encode functions.
|
|
28261
28179
|
*
|
|
@@ -28646,8 +28564,7 @@ const uint8ArrayFromBase64String = /*#__PURE__*/ new Transformation(/*#__PURE__*
|
|
|
28646
28564
|
function fromJsonString$1(options) {
|
|
28647
28565
|
return new Transformation(parseJson(options ?? {}), stringifyJson(options));
|
|
28648
28566
|
}
|
|
28649
|
-
|
|
28650
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaAST.js
|
|
28567
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaAST.js
|
|
28651
28568
|
/**
|
|
28652
28569
|
* Represents Effect schemas as runtime trees.
|
|
28653
28570
|
*
|
|
@@ -30928,8 +30845,7 @@ const unknownToStringTree = /*#__PURE__*/ new Link(/* @__PURE__ */ new Declarati
|
|
|
30928
30845
|
expected: "StringTree",
|
|
30929
30846
|
toCodecStringTree: () => void 0
|
|
30930
30847
|
}), /*#__PURE__*/ passthrough());
|
|
30931
|
-
|
|
30932
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Brand.js
|
|
30848
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Brand.js
|
|
30933
30849
|
/**
|
|
30934
30850
|
* Returns a `Constructor` that **does not apply any runtime checks** and just
|
|
30935
30851
|
* returns the provided value.
|
|
@@ -30953,8 +30869,7 @@ function nominal() {
|
|
|
30953
30869
|
is: (_) => true
|
|
30954
30870
|
});
|
|
30955
30871
|
}
|
|
30956
|
-
|
|
30957
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/process/ChildProcessSpawner.js
|
|
30872
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/process/ChildProcessSpawner.js
|
|
30958
30873
|
/**
|
|
30959
30874
|
* Service boundary for starting and controlling child processes.
|
|
30960
30875
|
*
|
|
@@ -31031,8 +30946,7 @@ const make$52 = (spawn) => {
|
|
|
31031
30946
|
* @since 4.0.0
|
|
31032
30947
|
*/
|
|
31033
30948
|
var ChildProcessSpawner = class extends (/*#__PURE__*/ Service$2()("effect/process/ChildProcessSpawner")) {};
|
|
31034
|
-
|
|
31035
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/process/ChildProcess.js
|
|
30949
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/process/ChildProcess.js
|
|
31036
30950
|
/**
|
|
31037
30951
|
* Describes child processes before they are started.
|
|
31038
30952
|
*
|
|
@@ -31247,8 +31161,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
|
|
|
31247
31161
|
`${prevTokens.at(-1)}${nextTokens.at(0)}`,
|
|
31248
31162
|
...nextTokens.slice(1)
|
|
31249
31163
|
];
|
|
31250
|
-
|
|
31251
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/internal/nodeChildProcessSpawner.js
|
|
31164
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/internal/nodeChildProcessSpawner.js
|
|
31252
31165
|
const buildSpawnOptions = (options, base, platform) => {
|
|
31253
31166
|
const detached = options.detached ?? platform !== "win32";
|
|
31254
31167
|
return {
|
|
@@ -31258,8 +31171,7 @@ const buildSpawnOptions = (options, base, platform) => {
|
|
|
31258
31171
|
windowsHide: options.windowsHide ?? !detached
|
|
31259
31172
|
};
|
|
31260
31173
|
};
|
|
31261
|
-
|
|
31262
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/internal/utils.js
|
|
31174
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/internal/utils.js
|
|
31263
31175
|
/** @internal */
|
|
31264
31176
|
const handleErrnoException = (module, method) => (err, [path]) => {
|
|
31265
31177
|
let reason = "Unknown";
|
|
@@ -31293,8 +31205,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
|
|
|
31293
31205
|
cause: err
|
|
31294
31206
|
});
|
|
31295
31207
|
};
|
|
31296
|
-
|
|
31297
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
31208
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
31298
31209
|
/**
|
|
31299
31210
|
* Creates a `Sink` that writes chunks to a Node writable stream, respecting
|
|
31300
31211
|
* backpressure, mapping writable errors with `onError`, and ending the stream
|
|
@@ -31376,8 +31287,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$1((chunk) => {
|
|
|
31376
31287
|
options.writable.off("error", onError);
|
|
31377
31288
|
});
|
|
31378
31289
|
})));
|
|
31379
|
-
|
|
31380
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeStream.js
|
|
31290
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeStream.js
|
|
31381
31291
|
/**
|
|
31382
31292
|
* Adapters between Node streams and Effect streams, channels, and readables.
|
|
31383
31293
|
*
|
|
@@ -31549,8 +31459,7 @@ const readableToPullUnsafe = (options) => {
|
|
|
31549
31459
|
};
|
|
31550
31460
|
const defaultOnError = (error) => new UnknownError$2(error);
|
|
31551
31461
|
const toMaxBytes = (maxBytes) => maxBytes === void 0 || maxBytes === Infinity ? void 0 : Number(fromInputUnsafe(maxBytes));
|
|
31552
|
-
|
|
31553
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
31462
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
31554
31463
|
const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
|
|
31555
31464
|
const toPlatformError = (method, error, command) => {
|
|
31556
31465
|
const { commands } = flattenCommand(command);
|
|
@@ -32011,8 +31920,7 @@ const flattenCommand = (command) => {
|
|
|
32011
31920
|
pipeOptions
|
|
32012
31921
|
};
|
|
32013
31922
|
};
|
|
32014
|
-
|
|
32015
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Cookies.js
|
|
31923
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Cookies.js
|
|
32016
31924
|
/**
|
|
32017
31925
|
* Models HTTP cookies and cookie collections for requests and responses.
|
|
32018
31926
|
*
|
|
@@ -32351,8 +32259,7 @@ const tryDecodeURIComponent = (str) => {
|
|
|
32351
32259
|
return str;
|
|
32352
32260
|
}
|
|
32353
32261
|
};
|
|
32354
|
-
|
|
32355
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/redacted.js
|
|
32262
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/redacted.js
|
|
32356
32263
|
/** @internal */
|
|
32357
32264
|
const redactedRegistry = /*#__PURE__*/ new WeakMap();
|
|
32358
32265
|
/** @internal */
|
|
@@ -32360,8 +32267,7 @@ const value$3 = (self) => {
|
|
|
32360
32267
|
if (redactedRegistry.has(self)) return redactedRegistry.get(self);
|
|
32361
32268
|
else throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
32362
32269
|
};
|
|
32363
|
-
|
|
32364
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Redacted.js
|
|
32270
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Redacted.js
|
|
32365
32271
|
/**
|
|
32366
32272
|
* Wraps sensitive values so normal output does not reveal them.
|
|
32367
32273
|
*
|
|
@@ -32508,8 +32414,7 @@ const value$2 = value$3;
|
|
|
32508
32414
|
* @since 4.0.0
|
|
32509
32415
|
*/
|
|
32510
32416
|
const makeEquivalence = (isEquivalent) => make$75((x, y) => isEquivalent(value$2(x), value$2(y)));
|
|
32511
|
-
|
|
32512
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Headers.js
|
|
32417
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Headers.js
|
|
32513
32418
|
/**
|
|
32514
32419
|
* Models HTTP headers for the unstable HTTP client and server modules.
|
|
32515
32420
|
*
|
|
@@ -32755,8 +32660,7 @@ const CurrentRedactedNames$1 = /*#__PURE__*/ Reference("effect/Headers/CurrentRe
|
|
|
32755
32660
|
"set-cookie",
|
|
32756
32661
|
"x-api-key"
|
|
32757
32662
|
] });
|
|
32758
|
-
|
|
32759
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hashMap.js
|
|
32663
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hashMap.js
|
|
32760
32664
|
/**
|
|
32761
32665
|
* @since 2.0.0
|
|
32762
32666
|
*/
|
|
@@ -33305,8 +33209,7 @@ const set = /*#__PURE__*/ dual(3, (self, key, value) => {
|
|
|
33305
33209
|
const keys = (self) => new HashMapIterator(self._root, identity);
|
|
33306
33210
|
/** @internal */
|
|
33307
33211
|
const size$1 = (self) => self.size;
|
|
33308
|
-
|
|
33309
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hashSet.js
|
|
33212
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/hashSet.js
|
|
33310
33213
|
/**
|
|
33311
33214
|
* @since 2.0.0
|
|
33312
33215
|
*/
|
|
@@ -33371,8 +33274,7 @@ const every = (self, predicate) => {
|
|
|
33371
33274
|
for (const value of self) if (!predicate(value)) return false;
|
|
33372
33275
|
return true;
|
|
33373
33276
|
};
|
|
33374
|
-
|
|
33375
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/HashSet.js
|
|
33277
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/HashSet.js
|
|
33376
33278
|
/**
|
|
33377
33279
|
* Stores unique values in an immutable hash set.
|
|
33378
33280
|
*
|
|
@@ -33485,12 +33387,10 @@ const add$1 = /*#__PURE__*/ dual(2, add$2);
|
|
|
33485
33387
|
* @since 2.0.0
|
|
33486
33388
|
*/
|
|
33487
33389
|
const has = /*#__PURE__*/ dual(2, has$1);
|
|
33488
|
-
|
|
33489
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/urlParams.js
|
|
33390
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/urlParams.js
|
|
33490
33391
|
/** @internal */
|
|
33491
33392
|
const unwrap$1 = (value) => typeof value === "string" ? value : value$2(value);
|
|
33492
|
-
|
|
33493
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/UrlParams.js
|
|
33393
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/UrlParams.js
|
|
33494
33394
|
/**
|
|
33495
33395
|
* Models URL query parameters as ordered string pairs.
|
|
33496
33396
|
*
|
|
@@ -33742,8 +33642,7 @@ const CurrentRedactedNames = /*#__PURE__*/ Reference("effect/http/UrlParams/Curr
|
|
|
33742
33642
|
"sig",
|
|
33743
33643
|
"X-Goog-Signature"
|
|
33744
33644
|
] });
|
|
33745
|
-
|
|
33746
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/interpreter.js
|
|
33645
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/interpreter.js
|
|
33747
33646
|
const flatMapTransformation = (result, current, f) => result === sameExit ? f(current) : flatMapEager(result, f);
|
|
33748
33647
|
function compileTransformation(transformation) {
|
|
33749
33648
|
if (transformation._tag === "Middleware") return (result, current, options) => {
|
|
@@ -33877,8 +33776,7 @@ function compile(ast, compile, compileField, base, specialize) {
|
|
|
33877
33776
|
});
|
|
33878
33777
|
};
|
|
33879
33778
|
}
|
|
33880
|
-
|
|
33881
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/compilerRegistry.js
|
|
33779
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/compilerRegistry.js
|
|
33882
33780
|
/** @internal */
|
|
33883
33781
|
const invalid = /*#__PURE__*/ Symbol();
|
|
33884
33782
|
const cache = /*#__PURE__*/ new WeakMap();
|
|
@@ -33908,8 +33806,7 @@ function resolve(ast) {
|
|
|
33908
33806
|
cache.set(ast, entry);
|
|
33909
33807
|
return entry;
|
|
33910
33808
|
}
|
|
33911
|
-
|
|
33912
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaParser.js
|
|
33809
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaParser.js
|
|
33913
33810
|
/**
|
|
33914
33811
|
* Runs schemas against real values.
|
|
33915
33812
|
*
|
|
@@ -34207,8 +34104,7 @@ function makeConstructorSync(ast) {
|
|
|
34207
34104
|
}
|
|
34208
34105
|
const normalCompiler = (ast) => resolve(ast).parser;
|
|
34209
34106
|
const constructorCompiler = (ast) => resolve(ast).makeEffect;
|
|
34210
|
-
|
|
34211
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/make.js
|
|
34107
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/make.js
|
|
34212
34108
|
/** @internal */
|
|
34213
34109
|
const TypeId$28 = "~effect/Schema/Schema";
|
|
34214
34110
|
const RebuildOptions = /*#__PURE__*/ Symbol();
|
|
@@ -34264,8 +34160,7 @@ function make$43(ast, options) {
|
|
|
34264
34160
|
self.ast = ast;
|
|
34265
34161
|
return self;
|
|
34266
34162
|
}
|
|
34267
|
-
|
|
34268
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/JsonPointer.js
|
|
34163
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/JsonPointer.js
|
|
34269
34164
|
/**
|
|
34270
34165
|
* Helpers for escaping JSON Pointer path segments and converting JSON Pointer
|
|
34271
34166
|
* URI fragments. JSON Pointer uses `/` to separate path tokens inside a JSON
|
|
@@ -34403,8 +34298,7 @@ function parseUriFragment(fragment) {
|
|
|
34403
34298
|
const pointer = decodeUriFragment(fragment);
|
|
34404
34299
|
return pointer === void 0 ? void 0 : pointer.length === 0 ? [] : pointer.slice(1).split("/").map(unescapeToken);
|
|
34405
34300
|
}
|
|
34406
|
-
|
|
34407
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/JsonSchema.js
|
|
34301
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/JsonSchema.js
|
|
34408
34302
|
/**
|
|
34409
34303
|
* Helpers for normalizing and converting JSON Schema and OpenAPI schema
|
|
34410
34304
|
* documents. Supported inputs include JSON Schema Draft-07, Draft 2020-12,
|
|
@@ -34497,8 +34391,7 @@ const PRE_2020_TO_2020_COLLISIONS = [
|
|
|
34497
34391
|
];
|
|
34498
34392
|
[...PRE_2020_TO_2020_COLLISIONS];
|
|
34499
34393
|
[...PRE_2020_TO_2020_COLLISIONS];
|
|
34500
|
-
|
|
34501
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toCodec.js
|
|
34394
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toCodec.js
|
|
34502
34395
|
/** @internal */
|
|
34503
34396
|
function toCodecJson$1(schema) {
|
|
34504
34397
|
return make$43(toCodecJsonAST(schema.ast), { schema });
|
|
@@ -34647,15 +34540,13 @@ globalThis.RegExp;
|
|
|
34647
34540
|
* @since 2.0.0
|
|
34648
34541
|
*/
|
|
34649
34542
|
const escape = (string) => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
34650
|
-
|
|
34651
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/errors.js
|
|
34543
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/errors.js
|
|
34652
34544
|
/** @internal */
|
|
34653
34545
|
function errorWithPath(message, path) {
|
|
34654
34546
|
if (path.length > 0) message += `\n at ${formatPath(path)}`;
|
|
34655
34547
|
return new Error(message);
|
|
34656
34548
|
}
|
|
34657
|
-
|
|
34658
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
|
|
34549
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toJsonSchemaDocument.js
|
|
34659
34550
|
function formatDefinitionReference(key) {
|
|
34660
34551
|
return `#/$defs/${formatUriFragmentToken(key)}`;
|
|
34661
34552
|
}
|
|
@@ -35224,8 +35115,7 @@ function toJsonSchemaDocument$1(document, options) {
|
|
|
35224
35115
|
definitions: output.definitions
|
|
35225
35116
|
};
|
|
35226
35117
|
}
|
|
35227
|
-
|
|
35228
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toRepresentation.js
|
|
35118
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schema/toRepresentation.js
|
|
35229
35119
|
const defaultReferencePolicy = ({ identifier }) => identifier;
|
|
35230
35120
|
function annotationsField(annotations) {
|
|
35231
35121
|
return annotations === void 0 ? void 0 : { annotations };
|
|
@@ -35490,8 +35380,7 @@ function toRepresentations(asts, options) {
|
|
|
35490
35380
|
};
|
|
35491
35381
|
}
|
|
35492
35382
|
}
|
|
35493
|
-
|
|
35494
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Struct.js
|
|
35383
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Struct.js
|
|
35495
35384
|
/**
|
|
35496
35385
|
* Creates a new struct with the specified keys removed.
|
|
35497
35386
|
*
|
|
@@ -35582,14 +35471,12 @@ function buildStruct(source, f) {
|
|
|
35582
35471
|
}
|
|
35583
35472
|
return out;
|
|
35584
35473
|
}
|
|
35585
|
-
|
|
35586
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schemaError.js
|
|
35474
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/schemaError.js
|
|
35587
35475
|
const SchemaErrorTypeId = "~effect/Schema/SchemaError";
|
|
35588
35476
|
function isSchemaError$1(u) {
|
|
35589
35477
|
return hasProperty(u, "~effect/Schema/SchemaError") && u["~effect/Schema/SchemaError"] === "~effect/Schema/SchemaError";
|
|
35590
35478
|
}
|
|
35591
|
-
|
|
35592
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schema.js
|
|
35479
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Schema.js
|
|
35593
35480
|
const TypeId$27 = TypeId$28;
|
|
35594
35481
|
/**
|
|
35595
35482
|
* Creates a schema for a **parametric** type (a generic container such as
|
|
@@ -38506,8 +38393,7 @@ const MutableJson = /*#__PURE__*/ make$42(/*#__PURE__*/ annotate(MutableJson$1,
|
|
|
38506
38393
|
runtime: "Schema.MutableJson",
|
|
38507
38394
|
Type: "Schema.MutableJson"
|
|
38508
38395
|
}) }));
|
|
38509
|
-
|
|
38510
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpBody.js
|
|
38396
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpBody.js
|
|
38511
38397
|
const TypeId$26 = "~effect/http/HttpBody";
|
|
38512
38398
|
var Proto$10 = class {
|
|
38513
38399
|
[TypeId$26];
|
|
@@ -38706,8 +38592,7 @@ var Stream$1 = class extends Proto$10 {
|
|
|
38706
38592
|
* @since 4.0.0
|
|
38707
38593
|
*/
|
|
38708
38594
|
const stream$2 = (body, contentType, contentLength) => new Stream$1(body, contentType ?? "application/octet-stream", contentLength);
|
|
38709
|
-
|
|
38710
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientError.js
|
|
38595
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientError.js
|
|
38711
38596
|
/**
|
|
38712
38597
|
* Typed failure model for Effect HTTP client operations.
|
|
38713
38598
|
*
|
|
@@ -38906,8 +38791,7 @@ var EmptyBodyError = class extends (/*#__PURE__*/ TaggedError$1("EmptyBodyError"
|
|
|
38906
38791
|
return formatMessage(formatReason(this._tag), this.description, info);
|
|
38907
38792
|
}
|
|
38908
38793
|
};
|
|
38909
|
-
|
|
38910
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpMethod.js
|
|
38794
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpMethod.js
|
|
38911
38795
|
/**
|
|
38912
38796
|
* Defines supported HTTP method names for the unstable HTTP modules.
|
|
38913
38797
|
*
|
|
@@ -38951,8 +38835,7 @@ const allShort = [
|
|
|
38951
38835
|
["TRACE", "trace"],
|
|
38952
38836
|
["QUERY", "query"]
|
|
38953
38837
|
];
|
|
38954
|
-
|
|
38955
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/httpBody.js
|
|
38838
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/httpBody.js
|
|
38956
38839
|
/**
|
|
38957
38840
|
* @internal
|
|
38958
38841
|
*/
|
|
@@ -38961,8 +38844,7 @@ const updateHeaders = (headers, body) => {
|
|
|
38961
38844
|
headers = body.contentType === void 0 ? remove$1(headers, "content-type") : set$1(headers, "content-type", body.contentType);
|
|
38962
38845
|
return body.contentLength === void 0 ? remove$1(headers, "content-length") : set$1(headers, "content-length", body.contentLength.toString());
|
|
38963
38846
|
};
|
|
38964
|
-
|
|
38965
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Url.js
|
|
38847
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Url.js
|
|
38966
38848
|
/**
|
|
38967
38849
|
* Error returned when constructing a `URL` fails.
|
|
38968
38850
|
*
|
|
@@ -38997,8 +38879,7 @@ const make$41 = (url, params, hash) => try_$2({
|
|
|
38997
38879
|
const baseUrl = () => {
|
|
38998
38880
|
if ("location" in globalThis && globalThis.location !== void 0 && globalThis.location.origin !== void 0 && globalThis.location.pathname !== void 0) return location.origin + location.pathname;
|
|
38999
38881
|
};
|
|
39000
|
-
|
|
39001
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientRequest.js
|
|
38882
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientRequest.js
|
|
39002
38883
|
const TypeId$24 = "~effect/http/HttpClientRequest";
|
|
39003
38884
|
const Proto$9 = {
|
|
39004
38885
|
[TypeId$24]: TypeId$24,
|
|
@@ -39168,8 +39049,7 @@ function toUrl(self) {
|
|
|
39168
39049
|
if (isSuccess$1(r)) return some$1(r.success);
|
|
39169
39050
|
return none();
|
|
39170
39051
|
}
|
|
39171
|
-
|
|
39172
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpIncomingMessage.js
|
|
39052
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpIncomingMessage.js
|
|
39173
39053
|
/**
|
|
39174
39054
|
* Type identifier for `HttpIncomingMessage` values.
|
|
39175
39055
|
*
|
|
@@ -39222,8 +39102,7 @@ const inspect = (self, that) => {
|
|
|
39222
39102
|
if (body !== void 0) obj.body = body;
|
|
39223
39103
|
return obj;
|
|
39224
39104
|
};
|
|
39225
|
-
|
|
39226
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientResponse.js
|
|
39105
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClientResponse.js
|
|
39227
39106
|
/**
|
|
39228
39107
|
* Represents responses returned by the Effect HTTP client.
|
|
39229
39108
|
*
|
|
@@ -39370,8 +39249,7 @@ var WebHttpClientResponse = class extends Class$2 {
|
|
|
39370
39249
|
return pipeArguments(this, arguments);
|
|
39371
39250
|
}
|
|
39372
39251
|
};
|
|
39373
|
-
|
|
39374
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpTraceContext.js
|
|
39252
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpTraceContext.js
|
|
39375
39253
|
/**
|
|
39376
39254
|
* HTTP propagation helpers for Effect tracing context.
|
|
39377
39255
|
*
|
|
@@ -39494,8 +39372,7 @@ const w3c = (headers) => {
|
|
|
39494
39372
|
default: return none();
|
|
39495
39373
|
}
|
|
39496
39374
|
};
|
|
39497
|
-
|
|
39498
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/tracing.js
|
|
39375
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/tracing.js
|
|
39499
39376
|
const defaultPorts = {
|
|
39500
39377
|
"http:": 80,
|
|
39501
39378
|
"https:": 443,
|
|
@@ -39535,8 +39412,7 @@ const addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
|
|
|
39535
39412
|
span.attribute(`http.${phase}.header.${name}`, isRedactedName$1(name, redactedNames) ? "<redacted>" : headers[name]);
|
|
39536
39413
|
}
|
|
39537
39414
|
};
|
|
39538
|
-
|
|
39539
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClient.js
|
|
39415
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpClient.js
|
|
39540
39416
|
const TypeId$21 = "~effect/http/HttpClient";
|
|
39541
39417
|
/**
|
|
39542
39418
|
* Service tag for the default outgoing HTTP client service.
|
|
@@ -39831,8 +39707,7 @@ var InterruptibleResponse = class {
|
|
|
39831
39707
|
return pipeArguments(this, arguments);
|
|
39832
39708
|
}
|
|
39833
39709
|
};
|
|
39834
|
-
|
|
39835
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay/internal/queryString.js
|
|
39710
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay/internal/queryString.js
|
|
39836
39711
|
/**
|
|
39837
39712
|
* @since 1.0.0
|
|
39838
39713
|
*/
|
|
@@ -39900,8 +39775,7 @@ function parse$1(input) {
|
|
|
39900
39775
|
}
|
|
39901
39776
|
return result;
|
|
39902
39777
|
}
|
|
39903
|
-
|
|
39904
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay/internal/router.js
|
|
39778
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay/internal/router.js
|
|
39905
39779
|
const FULL_PATH_REGEXP = /^https?:\/\/.*?\//;
|
|
39906
39780
|
const OPTIONAL_PARAM_REGEXP = /(\/:[^/()]*?)\?(\/?)/;
|
|
39907
39781
|
const emptyParamsArray = [];
|
|
@@ -40514,8 +40388,7 @@ const httpMethods = [
|
|
|
40514
40388
|
"UNLOCK",
|
|
40515
40389
|
"UNSUBSCRIBE"
|
|
40516
40390
|
];
|
|
40517
|
-
|
|
40518
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay.js
|
|
40391
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FindMyWay.js
|
|
40519
40392
|
/**
|
|
40520
40393
|
* A radix-tree HTTP router used by the unstable HTTP routing modules.
|
|
40521
40394
|
*
|
|
@@ -40530,8 +40403,7 @@ const httpMethods = [
|
|
|
40530
40403
|
* @since 4.0.0
|
|
40531
40404
|
*/
|
|
40532
40405
|
const make$37 = make$38;
|
|
40533
|
-
|
|
40534
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Etag.js
|
|
40406
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Etag.js
|
|
40535
40407
|
/**
|
|
40536
40408
|
* HTTP entity tag values and metadata-based generator layers.
|
|
40537
40409
|
*
|
|
@@ -40661,8 +40533,7 @@ const layerWeak = /*#__PURE__*/ succeed$5(Generator)({
|
|
|
40661
40533
|
* @since 4.0.0
|
|
40662
40534
|
*/
|
|
40663
40535
|
const isGreaterThanOrEqualTo = /*#__PURE__*/ isGreaterThanOrEqualTo$2(LogLevelOrder);
|
|
40664
|
-
|
|
40665
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ErrorReporter.js
|
|
40536
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ErrorReporter.js
|
|
40666
40537
|
/**
|
|
40667
40538
|
* Runs all registered error reporters on the current fiber for a `Cause`.
|
|
40668
40539
|
*
|
|
@@ -40734,15 +40605,13 @@ const report = (cause) => withFiber((fiber) => {
|
|
|
40734
40605
|
* @since 4.0.0
|
|
40735
40606
|
*/
|
|
40736
40607
|
const ignore = "~effect/ErrorReporter/ignore";
|
|
40737
|
-
|
|
40738
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/headers.js
|
|
40608
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/headers.js
|
|
40739
40609
|
const Proto$7 = /*#__PURE__*/ Object.getPrototypeOf(empty$5);
|
|
40740
40610
|
/**
|
|
40741
40611
|
* @internal
|
|
40742
40612
|
*/
|
|
40743
40613
|
const emptyMutableUnsafe = () => Object.create(Proto$7);
|
|
40744
|
-
|
|
40745
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerResponse.js
|
|
40614
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerResponse.js
|
|
40746
40615
|
const TypeId$20 = "~effect/http/HttpServerResponse";
|
|
40747
40616
|
/**
|
|
40748
40617
|
* Returns `true` when the supplied value is an `HttpServerResponse`.
|
|
@@ -40968,8 +40837,7 @@ const makeResponse = (options, ownedHeaders) => {
|
|
|
40968
40837
|
} else self.headers = ownedHeaders ?? options.headers ?? empty$5;
|
|
40969
40838
|
return self;
|
|
40970
40839
|
};
|
|
40971
|
-
|
|
40972
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/compression.js
|
|
40840
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/compression.js
|
|
40973
40841
|
/**
|
|
40974
40842
|
* @internal
|
|
40975
40843
|
*/
|
|
@@ -40997,8 +40865,7 @@ const wrapCompression = (impl) => ({
|
|
|
40997
40865
|
});
|
|
40998
40866
|
}
|
|
40999
40867
|
});
|
|
41000
|
-
|
|
41001
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/mimeTypes.js
|
|
40868
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/mimeTypes.js
|
|
41002
40869
|
/**
|
|
41003
40870
|
* Standard MIME type data copied from mime 4.1.0.
|
|
41004
40871
|
*
|
|
@@ -41495,8 +41362,7 @@ const types = {
|
|
|
41495
41362
|
"video/webm": ["webm"]
|
|
41496
41363
|
};
|
|
41497
41364
|
Object.freeze(types);
|
|
41498
|
-
|
|
41499
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Mime.js
|
|
41365
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Mime.js
|
|
41500
41366
|
/**
|
|
41501
41367
|
* Standard MIME type lookup.
|
|
41502
41368
|
*
|
|
@@ -41543,8 +41409,7 @@ const getType = (path) => {
|
|
|
41543
41409
|
if (!(extension.length < last.length - 1) && hasPath) return none();
|
|
41544
41410
|
return fromUndefinedOr(getTables().extensionToType.get(extension));
|
|
41545
41411
|
};
|
|
41546
|
-
|
|
41547
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpPlatform.js
|
|
41412
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpPlatform.js
|
|
41548
41413
|
/**
|
|
41549
41414
|
* Platform-specific support for serving files as HTTP server responses.
|
|
41550
41415
|
*
|
|
@@ -41624,8 +41489,7 @@ const fileResponseNumber = (value, field) => {
|
|
|
41624
41489
|
description: `${field} exceeds the safe integer range: ${value}`
|
|
41625
41490
|
}));
|
|
41626
41491
|
};
|
|
41627
|
-
|
|
41628
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerRespondable.js
|
|
41492
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerRespondable.js
|
|
41629
41493
|
/**
|
|
41630
41494
|
* Converts supported values into HTTP server responses.
|
|
41631
41495
|
*
|
|
@@ -41709,8 +41573,7 @@ const toResponseOrElseDefect = (u, orElse) => {
|
|
|
41709
41573
|
else if (isRespondable(u)) return catchCause$1(u[symbol$1](), () => succeed$4(orElse));
|
|
41710
41574
|
return succeed$4(orElse);
|
|
41711
41575
|
};
|
|
41712
|
-
|
|
41713
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerError.js
|
|
41576
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerError.js
|
|
41714
41577
|
/**
|
|
41715
41578
|
* Describes failures raised while handling HTTP server requests.
|
|
41716
41579
|
*
|
|
@@ -41979,8 +41842,7 @@ const internalServerError = /*#__PURE__*/ empty({ status: 500 });
|
|
|
41979
41842
|
const succeedInternalServerError = /*#__PURE__*/ succeed$4(internalServerError);
|
|
41980
41843
|
const clientAbortError = /*#__PURE__*/ succeed$4(/*#__PURE__*/ empty({ status: 499 }));
|
|
41981
41844
|
const serverAbortError = /*#__PURE__*/ succeed$4(/*#__PURE__*/ empty({ status: 503 }));
|
|
41982
|
-
|
|
41983
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/socket/Socket.js
|
|
41845
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/socket/Socket.js
|
|
41984
41846
|
/**
|
|
41985
41847
|
* Runtime type identifier attached to `Socket` services.
|
|
41986
41848
|
*
|
|
@@ -42397,8 +42259,7 @@ const fromWebSocket = (acquire, options) => withFiber((fiber) => {
|
|
|
42397
42259
|
}));
|
|
42398
42260
|
});
|
|
42399
42261
|
const defaultHighWaterMark = 65536;
|
|
42400
|
-
|
|
42401
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/contentType.js
|
|
42262
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/contentType.js
|
|
42402
42263
|
/**
|
|
42403
42264
|
* RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1
|
|
42404
42265
|
*
|
|
@@ -42462,8 +42323,7 @@ function parse(header, withoutSlash = false) {
|
|
|
42462
42323
|
if (index !== header.length) return defaultContentType;
|
|
42463
42324
|
return result;
|
|
42464
42325
|
}
|
|
42465
|
-
|
|
42466
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/headers.js
|
|
42326
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/headers.js
|
|
42467
42327
|
const constMaxPairs = 100;
|
|
42468
42328
|
const constMaxSize = 16384;
|
|
42469
42329
|
const State$1 = {
|
|
@@ -42634,8 +42494,7 @@ function make$34() {
|
|
|
42634
42494
|
return constContinue;
|
|
42635
42495
|
};
|
|
42636
42496
|
}
|
|
42637
|
-
|
|
42638
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/search.js
|
|
42497
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/search.js
|
|
42639
42498
|
function makeState(needle_) {
|
|
42640
42499
|
const needle = new TextEncoder().encode(needle_);
|
|
42641
42500
|
const needleLength = needle.length;
|
|
@@ -42734,8 +42593,7 @@ function make$33(needle, callback, seed, minimumChunkLength) {
|
|
|
42734
42593
|
end
|
|
42735
42594
|
};
|
|
42736
42595
|
}
|
|
42737
|
-
|
|
42738
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/multipart.js
|
|
42596
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser/internal/multipart.js
|
|
42739
42597
|
const State = {
|
|
42740
42598
|
headers: 0,
|
|
42741
42599
|
body: 1
|
|
@@ -42928,8 +42786,7 @@ function getDecoder(charset) {
|
|
|
42928
42786
|
function decodeField$1(info, value) {
|
|
42929
42787
|
return getDecoder(info.contentTypeParameters.charset ?? "utf-8").decode(value);
|
|
42930
42788
|
}
|
|
42931
|
-
|
|
42932
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser.js
|
|
42789
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/MultipartParser.js
|
|
42933
42790
|
/**
|
|
42934
42791
|
* Creates a streaming multipart parser.
|
|
42935
42792
|
*
|
|
@@ -42954,8 +42811,7 @@ const defaultIsFile = defaultIsFile$1;
|
|
|
42954
42811
|
* @since 4.0.0
|
|
42955
42812
|
*/
|
|
42956
42813
|
const decodeField = decodeField$1;
|
|
42957
|
-
|
|
42958
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Multipart.js
|
|
42814
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/Multipart.js
|
|
42959
42815
|
/**
|
|
42960
42816
|
* Parses and persists HTTP `multipart/form-data` request bodies.
|
|
42961
42817
|
*
|
|
@@ -43353,8 +43209,7 @@ const MaxFileSize = /*#__PURE__*/ Reference("effect/http/Multipart/MaxFileSize",
|
|
|
43353
43209
|
* @since 4.0.0
|
|
43354
43210
|
*/
|
|
43355
43211
|
const FieldMimeTypes = /*#__PURE__*/ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /*#__PURE__*/ constant(["application/json"]) });
|
|
43356
|
-
|
|
43357
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerRequest.js
|
|
43212
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServerRequest.js
|
|
43358
43213
|
/**
|
|
43359
43214
|
* Runtime type identifier for `HttpServerRequest` values.
|
|
43360
43215
|
*
|
|
@@ -43432,8 +43287,7 @@ const toURL = (self) => {
|
|
|
43432
43287
|
return none();
|
|
43433
43288
|
}
|
|
43434
43289
|
};
|
|
43435
|
-
|
|
43436
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/decompression.js
|
|
43290
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/decompression.js
|
|
43437
43291
|
const defaultMaxDecompressedSize = /*#__PURE__*/ mebibytes(10);
|
|
43438
43292
|
/**
|
|
43439
43293
|
* Parses a `Content-Encoding` header into the codings to undo, in the order
|
|
@@ -43567,8 +43421,7 @@ var DecompressedRequest = class DecompressedRequest extends Class$2 {
|
|
|
43567
43421
|
};
|
|
43568
43422
|
const textDecoder$1 = /*#__PURE__*/ new TextDecoder();
|
|
43569
43423
|
const multipartReasons = /*#__PURE__*/ new WeakMap();
|
|
43570
|
-
|
|
43571
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/preResponseHandler.js
|
|
43424
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/internal/preResponseHandler.js
|
|
43572
43425
|
/**
|
|
43573
43426
|
* @internal
|
|
43574
43427
|
*/
|
|
@@ -43581,8 +43434,7 @@ const appendPreResponseHandlerUnsafe$1 = (request, handler) => {
|
|
|
43581
43434
|
const next = prev ? (request, response) => flatMap$1(prev(request, response), (response) => handler(request, response)) : handler;
|
|
43582
43435
|
requestPreResponseHandlers.set(request.source, next);
|
|
43583
43436
|
};
|
|
43584
|
-
|
|
43585
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpMiddleware.js
|
|
43437
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpMiddleware.js
|
|
43586
43438
|
/**
|
|
43587
43439
|
* Wraps HTTP server apps with request and response behavior.
|
|
43588
43440
|
*
|
|
@@ -43891,8 +43743,7 @@ const decompression = (options) => {
|
|
|
43891
43743
|
return provideService$2(httpApp, HttpServerRequest, new DecompressedRequest(request, codings, maxDecompressedSize));
|
|
43892
43744
|
});
|
|
43893
43745
|
};
|
|
43894
|
-
|
|
43895
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpEffect.js
|
|
43746
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpEffect.js
|
|
43896
43747
|
/**
|
|
43897
43748
|
* Runs an HTTP server effect, sends the produced response with the supplied handler, and converts failures into HTTP responses.
|
|
43898
43749
|
* On handler failure, the request scope closes with the original cause.
|
|
@@ -44011,8 +43862,7 @@ const scopeEjected = /*#__PURE__*/ Symbol.for("effect/http/HttpEffect/scopeEject
|
|
|
44011
43862
|
* @since 4.0.0
|
|
44012
43863
|
*/
|
|
44013
43864
|
const appendPreResponseHandlerUnsafe = appendPreResponseHandlerUnsafe$1;
|
|
44014
|
-
|
|
44015
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServer.js
|
|
43865
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpServer.js
|
|
44016
43866
|
/**
|
|
44017
43867
|
* Service for serving Effect HTTP responses on a concrete HTTP server.
|
|
44018
43868
|
*
|
|
@@ -44100,8 +43950,7 @@ const logAddress = /*#__PURE__*/ addressFormattedWith((_) => log(`Listening on $
|
|
|
44100
43950
|
* @since 4.0.0
|
|
44101
43951
|
*/
|
|
44102
43952
|
const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
|
|
44103
|
-
|
|
44104
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpRouter.js
|
|
43953
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpRouter.js
|
|
44105
43954
|
/**
|
|
44106
43955
|
* Builds server-side routers for Effect HTTP applications.
|
|
44107
43956
|
*
|
|
@@ -44558,8 +44407,7 @@ const serve = (appLayer, options) => {
|
|
|
44558
44407
|
return merge$3(middleware ? serve$1(handler, middleware) : serve$1(handler), succeedContext(context));
|
|
44559
44408
|
}), unwrap$5, options?.disableListenLog ? identity : withLogAddress);
|
|
44560
44409
|
};
|
|
44561
|
-
|
|
44562
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/workers/Transferable.js
|
|
44410
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/workers/Transferable.js
|
|
44563
44411
|
/**
|
|
44564
44412
|
* Marks encoded worker message fields that should move through `postMessage` as
|
|
44565
44413
|
* transfer-list entries.
|
|
@@ -44610,8 +44458,7 @@ const makeCollectorUnsafe = () => {
|
|
|
44610
44458
|
clear: sync(unsafeClear)
|
|
44611
44459
|
});
|
|
44612
44460
|
};
|
|
44613
|
-
|
|
44614
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/internal/tracing.js
|
|
44461
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/internal/tracing.js
|
|
44615
44462
|
/**
|
|
44616
44463
|
* Names the span after the RPC method, or `${spanPrefix}.${tag}` when a prefix
|
|
44617
44464
|
* is configured.
|
|
@@ -44629,8 +44476,7 @@ const spanAttributes = (tag, attributes) => ({
|
|
|
44629
44476
|
"rpc.method": tag,
|
|
44630
44477
|
...attributes
|
|
44631
44478
|
});
|
|
44632
|
-
|
|
44633
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PrimaryKey.js
|
|
44479
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/PrimaryKey.js
|
|
44634
44480
|
/**
|
|
44635
44481
|
* Defines the unique identifier used to identify objects that implement the `PrimaryKey` interface.
|
|
44636
44482
|
*
|
|
@@ -44648,8 +44494,7 @@ const spanAttributes = (tag, attributes) => ({
|
|
|
44648
44494
|
* @since 2.0.0
|
|
44649
44495
|
*/
|
|
44650
44496
|
const symbol = "~effect/PrimaryKey";
|
|
44651
|
-
|
|
44652
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcSchema.js
|
|
44497
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcSchema.js
|
|
44653
44498
|
/**
|
|
44654
44499
|
* RPC schema markers and interruption annotations.
|
|
44655
44500
|
*
|
|
@@ -44713,8 +44558,7 @@ var ClientAbort = class extends (/*#__PURE__*/ Service$2()("effect/rpc/RpcSchema
|
|
|
44713
44558
|
parent: void 0
|
|
44714
44559
|
}));
|
|
44715
44560
|
};
|
|
44716
|
-
|
|
44717
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/Rpc.js
|
|
44561
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/Rpc.js
|
|
44718
44562
|
const TypeId$14 = "~effect/rpc/Rpc";
|
|
44719
44563
|
/**
|
|
44720
44564
|
* Represents server-side metadata for the client associated with an RPC request.
|
|
@@ -44904,8 +44748,7 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
|
|
|
44904
44748
|
* @since 4.0.0
|
|
44905
44749
|
*/
|
|
44906
44750
|
const isWrapper = (u) => WrapperTypeId in u;
|
|
44907
|
-
|
|
44908
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcMessage.js
|
|
44751
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcMessage.js
|
|
44909
44752
|
/**
|
|
44910
44753
|
* Converts a bigint or string request id into the branded `RequestId` type.
|
|
44911
44754
|
*
|
|
@@ -44946,8 +44789,7 @@ const ResponseDefectEncoded = (encodedDefect) => ({
|
|
|
44946
44789
|
* @since 4.0.0
|
|
44947
44790
|
*/
|
|
44948
44791
|
const constPong = { _tag: "Pong" };
|
|
44949
|
-
|
|
44950
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcSerialization.js
|
|
44792
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcSerialization.js
|
|
44951
44793
|
/**
|
|
44952
44794
|
* Serializes RPC protocol messages for transports.
|
|
44953
44795
|
*
|
|
@@ -45193,8 +45035,7 @@ const jsonRpcInternalError = -32603;
|
|
|
45193
45035
|
* @since 4.0.0
|
|
45194
45036
|
*/
|
|
45195
45037
|
const layerJsonRpc = (options) => succeed$5(RpcSerialization)(jsonRpc(options));
|
|
45196
|
-
|
|
45197
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/Utils.js
|
|
45038
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/Utils.js
|
|
45198
45039
|
/**
|
|
45199
45040
|
* Buffers writes until `run` replays them with their original contexts and
|
|
45200
45041
|
* installs the writer. Restores the previous writer when `run` ends.
|
|
@@ -45272,8 +45113,7 @@ const withRunClient = (f) => suspend$2(() => {
|
|
|
45272
45113
|
}
|
|
45273
45114
|
}));
|
|
45274
45115
|
});
|
|
45275
|
-
|
|
45276
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcClient.js
|
|
45116
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcClient.js
|
|
45277
45117
|
let requestIdCounter = 0;
|
|
45278
45118
|
/**
|
|
45279
45119
|
* Creates an RPC client for an already-decoded message channel, returning the
|
|
@@ -45656,8 +45496,7 @@ var Protocol$1 = class extends (/*#__PURE__*/ Service$2()("effect/rpc/RpcClient/
|
|
|
45656
45496
|
*/
|
|
45657
45497
|
static make = withRunClient;
|
|
45658
45498
|
};
|
|
45659
|
-
|
|
45660
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Stdio.js
|
|
45499
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Stdio.js
|
|
45661
45500
|
/**
|
|
45662
45501
|
* Service contract for command-line arguments and standard input, output, and
|
|
45663
45502
|
* error output. It lets programs depend on standard I/O through the Effect
|
|
@@ -45729,8 +45568,7 @@ const make$25 = (options) => ({
|
|
|
45729
45568
|
stderrIsTerminal: succeed$4(false),
|
|
45730
45569
|
...options
|
|
45731
45570
|
});
|
|
45732
|
-
|
|
45733
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcServer.js
|
|
45571
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcServer.js
|
|
45734
45572
|
/**
|
|
45735
45573
|
* Creates an RPC server for an already-decoded message channel, running
|
|
45736
45574
|
* handlers for a group and sending decoded server responses through
|
|
@@ -46315,8 +46153,7 @@ const mergeUint8Arrays = (arrays) => {
|
|
|
46315
46153
|
}
|
|
46316
46154
|
return result;
|
|
46317
46155
|
};
|
|
46318
|
-
|
|
46319
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcGroup.js
|
|
46156
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcGroup.js
|
|
46320
46157
|
const RpcGroupProto = {
|
|
46321
46158
|
add(...rpcs) {
|
|
46322
46159
|
const requests = new Map(this.requests);
|
|
@@ -46450,8 +46287,7 @@ const make$23 = (...rpcs) => makeProto$1({
|
|
|
46450
46287
|
requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
|
|
46451
46288
|
annotations: empty$12()
|
|
46452
46289
|
});
|
|
46453
|
-
|
|
46454
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ConfigProvider.js
|
|
46290
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ConfigProvider.js
|
|
46455
46291
|
/**
|
|
46456
46292
|
* Data sources used by `Config` to load raw configuration values. A
|
|
46457
46293
|
* `ConfigProvider` reads paths from places such as environment variables,
|
|
@@ -46804,8 +46640,7 @@ function trieNodeAt(root, path) {
|
|
|
46804
46640
|
}
|
|
46805
46641
|
return node;
|
|
46806
46642
|
}
|
|
46807
|
-
|
|
46808
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Config.js
|
|
46643
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Config.js
|
|
46809
46644
|
/**
|
|
46810
46645
|
* Descriptions of configuration values that can be read from a
|
|
46811
46646
|
* `ConfigProvider`. A `Config<T>` explains which keys to read, how to decode
|
|
@@ -47294,8 +47129,7 @@ function String$1(name) {
|
|
|
47294
47129
|
function Port(name) {
|
|
47295
47130
|
return schema(PortSchema, name);
|
|
47296
47131
|
}
|
|
47297
|
-
|
|
47298
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/ulid.js
|
|
47132
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/ulid.js
|
|
47299
47133
|
const maxTimestamp = 2 ** 48 - 1;
|
|
47300
47134
|
const base32Chars = "0123456789ABCDEFGHJKMNPQRSTVWXYZ";
|
|
47301
47135
|
/** @internal */
|
|
@@ -47317,8 +47151,7 @@ const ulidString = (timestampMillis, bytes) => {
|
|
|
47317
47151
|
}
|
|
47318
47152
|
return out;
|
|
47319
47153
|
};
|
|
47320
|
-
|
|
47321
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/uuid.js
|
|
47154
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/uuid.js
|
|
47322
47155
|
const hex = (byte) => byte.toString(16).padStart(2, "0");
|
|
47323
47156
|
/** @internal */
|
|
47324
47157
|
const stringify = (bytes) => {
|
|
@@ -47351,8 +47184,7 @@ function v7Bytes(timestampMillis, bytes = randomBytes()) {
|
|
|
47351
47184
|
bytes[8] = bytes[8] & 63 | 128;
|
|
47352
47185
|
return bytes;
|
|
47353
47186
|
}
|
|
47354
|
-
|
|
47355
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Crypto.js
|
|
47187
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Crypto.js
|
|
47356
47188
|
/**
|
|
47357
47189
|
* Defines a platform-independent service for cryptographic operations.
|
|
47358
47190
|
*
|
|
@@ -47481,8 +47313,7 @@ const validateSize = (method, size) => Number.isSafeInteger(size) && size >= 0 ?
|
|
|
47481
47313
|
method,
|
|
47482
47314
|
description: "size must be a non-negative safe integer"
|
|
47483
47315
|
}));
|
|
47484
|
-
|
|
47485
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/reactivity/Reactivity.js
|
|
47316
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/reactivity/Reactivity.js
|
|
47486
47317
|
/**
|
|
47487
47318
|
* Process-local invalidation for connecting writes to dependent reads.
|
|
47488
47319
|
*
|
|
@@ -47640,8 +47471,7 @@ const keysToHashes = (keys, f) => {
|
|
|
47640
47471
|
for (let i = 0; i < ids.length; i++) f(`${key}:${stringOrHash(ids[i])}`);
|
|
47641
47472
|
}
|
|
47642
47473
|
};
|
|
47643
|
-
|
|
47644
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/SqlError.js
|
|
47474
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/SqlError.js
|
|
47645
47475
|
/**
|
|
47646
47476
|
* Defines structured failures for SQL clients and driver integrations.
|
|
47647
47477
|
*
|
|
@@ -48080,8 +47910,7 @@ const classifySqliteError = (cause, { message, operation } = {}) => {
|
|
|
48080
47910
|
}
|
|
48081
47911
|
return new UnknownError$1(props);
|
|
48082
47912
|
};
|
|
48083
|
-
|
|
48084
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/Statement.js
|
|
47913
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/Statement.js
|
|
48085
47914
|
/**
|
|
48086
47915
|
* Low-level SQL statement and fragment primitives.
|
|
48087
47916
|
*
|
|
@@ -48785,8 +48614,7 @@ function in_() {
|
|
|
48785
48614
|
]);
|
|
48786
48615
|
}
|
|
48787
48616
|
const neverFragment = /*#__PURE__*/ fragment([/*#__PURE__*/ literal("1=0")]);
|
|
48788
|
-
|
|
48789
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/SqlClient.js
|
|
48617
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/sql/SqlClient.js
|
|
48790
48618
|
/**
|
|
48791
48619
|
* Main SQL client service for tagged-template queries.
|
|
48792
48620
|
*
|
|
@@ -49006,8 +48834,7 @@ const TransactionConnection = (clientId) => Service$2(`effect/sql/SqlClient/Tran
|
|
|
49006
48834
|
* @since 4.0.0
|
|
49007
48835
|
*/
|
|
49008
48836
|
const SafeIntegers = /*#__PURE__*/ Reference("effect/sql/SqlClient/SafeIntegers", { defaultValue: () => false });
|
|
49009
|
-
|
|
49010
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/constants.js
|
|
48837
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/constants.js
|
|
49011
48838
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49012
48839
|
const BINARY_TYPES = [
|
|
49013
48840
|
"nodebuffer",
|
|
@@ -49029,8 +48856,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
49029
48856
|
NOOP: () => {}
|
|
49030
48857
|
};
|
|
49031
48858
|
}));
|
|
49032
|
-
|
|
49033
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/buffer-util.js
|
|
48859
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/buffer-util.js
|
|
49034
48860
|
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49035
48861
|
const { EMPTY_BUFFER } = require_constants();
|
|
49036
48862
|
const FastBuffer = Buffer[Symbol.species];
|
|
@@ -49129,8 +48955,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
49129
48955
|
};
|
|
49130
48956
|
} catch (e) {}
|
|
49131
48957
|
}));
|
|
49132
|
-
|
|
49133
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/limiter.js
|
|
48958
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/limiter.js
|
|
49134
48959
|
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49135
48960
|
const kDone = Symbol("kDone");
|
|
49136
48961
|
const kRun = Symbol("kRun");
|
|
@@ -49180,8 +49005,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
49180
49005
|
};
|
|
49181
49006
|
module.exports = Limiter;
|
|
49182
49007
|
}));
|
|
49183
|
-
|
|
49184
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/permessage-deflate.js
|
|
49008
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/permessage-deflate.js
|
|
49185
49009
|
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49186
49010
|
const zlib = __require("zlib");
|
|
49187
49011
|
const bufferUtil = require_buffer_util();
|
|
@@ -49516,8 +49340,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
49516
49340
|
this[kCallback](err);
|
|
49517
49341
|
}
|
|
49518
49342
|
}));
|
|
49519
|
-
|
|
49520
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/validation.js
|
|
49343
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/validation.js
|
|
49521
49344
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49522
49345
|
const { isUtf8 } = __require("buffer");
|
|
49523
49346
|
const { hasBlob } = require_constants();
|
|
@@ -49712,8 +49535,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
49712
49535
|
};
|
|
49713
49536
|
} catch (e) {}
|
|
49714
49537
|
}));
|
|
49715
|
-
|
|
49716
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/receiver.js
|
|
49538
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/receiver.js
|
|
49717
49539
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
49718
49540
|
const { Writable } = __require("stream");
|
|
49719
49541
|
const PerMessageDeflate = require_permessage_deflate();
|
|
@@ -50175,8 +49997,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
50175
49997
|
};
|
|
50176
49998
|
module.exports = Receiver;
|
|
50177
49999
|
}));
|
|
50178
|
-
|
|
50179
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/sender.js
|
|
50000
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/sender.js
|
|
50180
50001
|
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
50181
50002
|
const { Duplex } = __require("stream");
|
|
50182
50003
|
const { randomFillSync } = __require("crypto");
|
|
@@ -50673,8 +50494,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
50673
50494
|
sender.onerror(err);
|
|
50674
50495
|
}
|
|
50675
50496
|
}));
|
|
50676
|
-
|
|
50677
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/event-target.js
|
|
50497
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/event-target.js
|
|
50678
50498
|
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
50679
50499
|
const { kForOnEventAttribute, kListener } = require_constants();
|
|
50680
50500
|
const kCode = Symbol("kCode");
|
|
@@ -50904,8 +50724,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
50904
50724
|
else listener.call(thisArg, event);
|
|
50905
50725
|
}
|
|
50906
50726
|
}));
|
|
50907
|
-
|
|
50908
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/extension.js
|
|
50727
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/extension.js
|
|
50909
50728
|
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
50910
50729
|
const { tokenChars } = require_validation();
|
|
50911
50730
|
/**
|
|
@@ -51050,8 +50869,7 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
51050
50869
|
parse
|
|
51051
50870
|
};
|
|
51052
50871
|
}));
|
|
51053
|
-
|
|
51054
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/websocket.js
|
|
50872
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/websocket.js
|
|
51055
50873
|
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
51056
50874
|
const EventEmitter = __require("events");
|
|
51057
50875
|
const https = __require("https");
|
|
@@ -52049,8 +51867,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
52049
51867
|
}
|
|
52050
51868
|
}
|
|
52051
51869
|
}));
|
|
52052
|
-
|
|
52053
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/stream.js
|
|
51870
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/stream.js
|
|
52054
51871
|
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52055
51872
|
require_websocket();
|
|
52056
51873
|
const { Duplex } = __require("stream");
|
|
@@ -52165,8 +51982,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
52165
51982
|
}
|
|
52166
51983
|
module.exports = createWebSocketStream;
|
|
52167
51984
|
}));
|
|
52168
|
-
|
|
52169
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/subprotocol.js
|
|
51985
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/subprotocol.js
|
|
52170
51986
|
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52171
51987
|
const { tokenChars } = require_validation();
|
|
52172
51988
|
/**
|
|
@@ -52204,8 +52020,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
52204
52020
|
}
|
|
52205
52021
|
module.exports = { parse };
|
|
52206
52022
|
}));
|
|
52207
|
-
|
|
52208
|
-
//#region ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/websocket-server.js
|
|
52023
|
+
// ../../node_modules/.pnpm/ws@8.22.0/node_modules/ws/lib/websocket-server.js
|
|
52209
52024
|
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52210
52025
|
const EventEmitter = __require("events");
|
|
52211
52026
|
const http = __require("http");
|
|
@@ -52599,8 +52414,7 @@ require_sender();
|
|
|
52599
52414
|
require_subprotocol();
|
|
52600
52415
|
require_websocket();
|
|
52601
52416
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
52602
|
-
|
|
52603
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
|
|
52417
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
|
|
52604
52418
|
/**
|
|
52605
52419
|
* Node-compatible implementation of Effect's `Crypto` service.
|
|
52606
52420
|
*
|
|
@@ -52630,8 +52444,7 @@ const digest = (algorithm, data) => try_({
|
|
|
52630
52444
|
cause
|
|
52631
52445
|
})
|
|
52632
52446
|
});
|
|
52633
|
-
|
|
52634
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeCrypto.js
|
|
52447
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeCrypto.js
|
|
52635
52448
|
/**
|
|
52636
52449
|
* The `NodeCrypto` module provides the Node.js `Crypto` service layer for
|
|
52637
52450
|
* Effect programs. Provide {@link layer} at the edge of a Node application,
|
|
@@ -52657,8 +52470,7 @@ const layer$14 = /* @__PURE__ */ succeed$5(Crypto, /* @__PURE__ */ make$20({
|
|
|
52657
52470
|
randomBytes: NodeCrypto.randomBytes,
|
|
52658
52471
|
digest
|
|
52659
52472
|
}));
|
|
52660
|
-
|
|
52661
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
|
|
52473
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
|
|
52662
52474
|
/**
|
|
52663
52475
|
* Shared Node-compatible implementation of Effect's `FileSystem` service.
|
|
52664
52476
|
*
|
|
@@ -53070,8 +52882,7 @@ const makeFileSystem = /*#__PURE__*/ map$2(/*#__PURE__*/ serviceOption(WatchBack
|
|
|
53070
52882
|
},
|
|
53071
52883
|
writeFile
|
|
53072
52884
|
}));
|
|
53073
|
-
|
|
53074
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
|
|
52885
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
|
|
53075
52886
|
/**
|
|
53076
52887
|
* Node.js `FileSystem` layer for programs that perform real filesystem I/O.
|
|
53077
52888
|
*
|
|
@@ -53091,8 +52902,7 @@ const makeFileSystem = /*#__PURE__*/ map$2(/*#__PURE__*/ serviceOption(WatchBack
|
|
|
53091
52902
|
* @since 4.0.0
|
|
53092
52903
|
*/
|
|
53093
52904
|
const layer$12 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
|
|
53094
|
-
|
|
53095
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
52905
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
53096
52906
|
/**
|
|
53097
52907
|
* Adapter base for exposing Node `http.IncomingMessage` values as Effect HTTP
|
|
53098
52908
|
* incoming messages.
|
|
@@ -53189,8 +52999,7 @@ var NodeHttpIncomingMessage = class extends Class$2 {
|
|
|
53189
52999
|
return this.arrayBufferEffect;
|
|
53190
53000
|
}
|
|
53191
53001
|
};
|
|
53192
|
-
|
|
53193
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FetchHttpClient.js
|
|
53002
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/FetchHttpClient.js
|
|
53194
53003
|
/**
|
|
53195
53004
|
* Fetch-based implementation of the Effect HTTP client service.
|
|
53196
53005
|
*
|
|
@@ -53291,8 +53100,7 @@ const layer$11 = /*#__PURE__*/ layerMergedContext(/*#__PURE__*/ succeed$4(/* @__
|
|
|
53291
53100
|
}
|
|
53292
53101
|
return send(void 0);
|
|
53293
53102
|
})));
|
|
53294
|
-
|
|
53295
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeHttpCompression.js
|
|
53103
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodeHttpCompression.js
|
|
53296
53104
|
/**
|
|
53297
53105
|
* HTTP response compression backed by `node:zlib`, shared by the Node.js, Bun,
|
|
53298
53106
|
* and Deno platforms.
|
|
@@ -53394,8 +53202,7 @@ const compressTransform = (algorithm, options) => {
|
|
|
53394
53202
|
});
|
|
53395
53203
|
}
|
|
53396
53204
|
};
|
|
53397
|
-
|
|
53398
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
|
|
53205
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
|
|
53399
53206
|
/**
|
|
53400
53207
|
* Node.js implementation of the Effect HTTP platform service.
|
|
53401
53208
|
*
|
|
@@ -53503,8 +53310,7 @@ const make$14 = /*#__PURE__*/ make$36({
|
|
|
53503
53310
|
* @since 4.0.0
|
|
53504
53311
|
*/
|
|
53505
53312
|
const layer$10 = /*#__PURE__*/ pipe(/*#__PURE__*/ effect(HttpPlatform)(make$14), /*#__PURE__*/ provide$2(layer$12), /*#__PURE__*/ provide$2(layer$18));
|
|
53506
|
-
|
|
53507
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipartParser.js
|
|
53313
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipartParser.js
|
|
53508
53314
|
/**
|
|
53509
53315
|
* A Node.js duplex stream that parses multipart input.
|
|
53510
53316
|
*
|
|
@@ -53606,8 +53412,7 @@ var FileStream = class extends Readable {
|
|
|
53606
53412
|
if (this._parent._canWrite === false) this._parent._resume();
|
|
53607
53413
|
}
|
|
53608
53414
|
};
|
|
53609
|
-
|
|
53610
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipart.js
|
|
53415
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipart.js
|
|
53611
53416
|
/**
|
|
53612
53417
|
* Node.js multipart parsing for HTTP `multipart/form-data` request bodies.
|
|
53613
53418
|
*
|
|
@@ -53720,8 +53525,7 @@ function convertError(cause) {
|
|
|
53720
53525
|
default: return MultipartError.fromReason("Parse", cause);
|
|
53721
53526
|
}
|
|
53722
53527
|
}
|
|
53723
|
-
|
|
53724
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodePath.js
|
|
53528
|
+
// ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.5_effect@4.0.5/node_modules/@effect/platform-node-shared/dist/NodePath.js
|
|
53725
53529
|
/**
|
|
53726
53530
|
* Node-backed provider for Effect's `Path` service.
|
|
53727
53531
|
*
|
|
@@ -53759,8 +53563,7 @@ const fileUrlOps = (windows) => ({
|
|
|
53759
53563
|
...Path.win32,
|
|
53760
53564
|
.../*#__PURE__*/ fileUrlOps(true)
|
|
53761
53565
|
});
|
|
53762
|
-
|
|
53763
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodePath.js
|
|
53566
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodePath.js
|
|
53764
53567
|
/**
|
|
53765
53568
|
* Node.js layers for Effect's `Path` service.
|
|
53766
53569
|
*
|
|
@@ -53784,8 +53587,7 @@ const layer$8 = /* @__PURE__ */ succeed$5(Path$1)(/*#__PURE__*/ make$55({
|
|
|
53784
53587
|
...Path,
|
|
53785
53588
|
.../*#__PURE__*/ fileUrlOps(void 0)
|
|
53786
53589
|
}));
|
|
53787
|
-
|
|
53788
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeStdio.js
|
|
53590
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeStdio.js
|
|
53789
53591
|
/**
|
|
53790
53592
|
* Node.js `Stdio` layer for the current process.
|
|
53791
53593
|
*
|
|
@@ -53841,8 +53643,7 @@ const layer$6 = /* @__PURE__ */ succeed$5(Stdio, /*#__PURE__*/ make$25({
|
|
|
53841
53643
|
closeOnDone: false
|
|
53842
53644
|
})
|
|
53843
53645
|
}));
|
|
53844
|
-
|
|
53845
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Terminal.js
|
|
53646
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Terminal.js
|
|
53846
53647
|
const TypeId$7 = "~effect/Terminal";
|
|
53847
53648
|
const QuitErrorTypeId = "~effect/Terminal/QuitError";
|
|
53848
53649
|
/**
|
|
@@ -54014,8 +53815,7 @@ function defaultShouldQuit(input) {
|
|
|
54014
53815
|
const key = input.key;
|
|
54015
53816
|
return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
|
|
54016
53817
|
}
|
|
54017
|
-
|
|
54018
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeServices.js
|
|
53818
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeServices.js
|
|
54019
53819
|
/**
|
|
54020
53820
|
* Provides the default Node implementations for child process spawning,
|
|
54021
53821
|
* filesystem, path, stdio, and terminal services.
|
|
@@ -54025,8 +53825,7 @@ function defaultShouldQuit(input) {
|
|
|
54025
53825
|
* @since 4.0.0
|
|
54026
53826
|
*/
|
|
54027
53827
|
const layer$3 = /*#__PURE__*/ provideMerge(layer$19, /*#__PURE__*/ mergeAll$1(layer$12, layer$14, layer$8, layer$6, layer$5));
|
|
54028
|
-
|
|
54029
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpServer.js
|
|
53828
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpServer.js
|
|
54030
53829
|
/**
|
|
54031
53830
|
* Node.js implementation of the Effect `HttpServer`.
|
|
54032
53831
|
*
|
|
@@ -54368,8 +54167,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
|
|
|
54368
54167
|
if (!nodeResponse.writableEnded) nodeResponse.end();
|
|
54369
54168
|
return failCause$3(headersSent ? combine(originalCause, die$3(originalResponse)) : cause);
|
|
54370
54169
|
});
|
|
54371
|
-
|
|
54372
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cache.js
|
|
54170
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Cache.js
|
|
54373
54171
|
/**
|
|
54374
54172
|
* Caches values loaded by an Effect lookup function.
|
|
54375
54173
|
*
|
|
@@ -54614,8 +54412,7 @@ const checkCapacity = (self) => {
|
|
|
54614
54412
|
if (diff === 0) return;
|
|
54615
54413
|
}
|
|
54616
54414
|
};
|
|
54617
|
-
|
|
54618
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Runtime.js
|
|
54415
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Runtime.js
|
|
54619
54416
|
/**
|
|
54620
54417
|
* Helpers for turning an `Effect` program into a host application's main entry
|
|
54621
54418
|
* point. This module is the low-level layer used by platform adapters to run a
|
|
@@ -54905,8 +54702,7 @@ const getErrorReported = (u) => {
|
|
|
54905
54702
|
}
|
|
54906
54703
|
return true;
|
|
54907
54704
|
};
|
|
54908
|
-
|
|
54909
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeRuntime.js
|
|
54705
|
+
// ../../node_modules/.pnpm/@effect+platform-node@4.0.5_effect@4.0.5_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeRuntime.js
|
|
54910
54706
|
/**
|
|
54911
54707
|
* Node.js process runner for Effect programs.
|
|
54912
54708
|
*
|
|
@@ -54959,8 +54755,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
|
|
|
54959
54755
|
process.on("SIGINT", onSigint);
|
|
54960
54756
|
process.on("SIGTERM", onSigint);
|
|
54961
54757
|
});
|
|
54962
|
-
|
|
54963
|
-
//#region ../../node_modules/.pnpm/@effect+sql-sqlite-node@4.0.5_effect@4.0.5/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
|
|
54758
|
+
// ../../node_modules/.pnpm/@effect+sql-sqlite-node@4.0.5_effect@4.0.5/node_modules/@effect/sql-sqlite-node/dist/SqliteClient.js
|
|
54964
54759
|
/**
|
|
54965
54760
|
* Connects Effect SQL to SQLite on Node.js using `node:sqlite`.
|
|
54966
54761
|
*
|
|
@@ -55196,8 +54991,7 @@ globalThis.Boolean;
|
|
|
55196
54991
|
* @since 2.0.0
|
|
55197
54992
|
*/
|
|
55198
54993
|
const match = /*#__PURE__*/ dual(2, (value, options) => value ? options.onTrue() : options.onFalse());
|
|
55199
|
-
|
|
55200
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/matcher.js
|
|
54994
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/matcher.js
|
|
55201
54995
|
/** @internal */
|
|
55202
54996
|
const TypeId$4 = "~effect/Match/Matcher";
|
|
55203
54997
|
const TypeMatcherProto = {
|
|
@@ -55353,8 +55147,7 @@ const exhaustive$1 = (self) => {
|
|
|
55353
55147
|
throw new Error(getExhaustiveAbsurdErrorMessage);
|
|
55354
55148
|
};
|
|
55355
55149
|
};
|
|
55356
|
-
|
|
55357
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Match.js
|
|
55150
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Match.js
|
|
55358
55151
|
/**
|
|
55359
55152
|
* Builds pattern matchers for TypeScript values.
|
|
55360
55153
|
*
|
|
@@ -55817,8 +55610,7 @@ const orElse = orElse$1;
|
|
|
55817
55610
|
* @since 4.0.0
|
|
55818
55611
|
*/
|
|
55819
55612
|
const exhaustive = exhaustive$1;
|
|
55820
|
-
|
|
55821
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/AiError.js
|
|
55613
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/AiError.js
|
|
55822
55614
|
/**
|
|
55823
55615
|
* Defines shared errors for AI operations.
|
|
55824
55616
|
*
|
|
@@ -57194,8 +56986,7 @@ const isAiErrorReason = (u) => hasProperty(u, ReasonTypeId);
|
|
|
57194
56986
|
* @since 4.0.0
|
|
57195
56987
|
*/
|
|
57196
56988
|
const make$8 = (params) => new AiError(params);
|
|
57197
|
-
|
|
57198
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/Tool.js
|
|
56989
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/Tool.js
|
|
57199
56990
|
/**
|
|
57200
56991
|
* Definitions and helpers for tools that AI models can request during a
|
|
57201
56992
|
* workflow.
|
|
@@ -57604,8 +57395,7 @@ const failureResultSchema = (tool) => Union([
|
|
|
57604
57395
|
* @since 4.0.0
|
|
57605
57396
|
*/
|
|
57606
57397
|
const EmptyParams = /*#__PURE__*/ Record(String$2, Never);
|
|
57607
|
-
|
|
57608
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/structured-output.js
|
|
57398
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/structured-output.js
|
|
57609
57399
|
/**
|
|
57610
57400
|
* @internal
|
|
57611
57401
|
*/
|
|
@@ -57625,8 +57415,7 @@ function resolveTopLevelReference(document) {
|
|
|
57625
57415
|
schema: resolveReference(document.schema.$ref, document.definitions)
|
|
57626
57416
|
};
|
|
57627
57417
|
}
|
|
57628
|
-
|
|
57629
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/Toolkit.js
|
|
57418
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/Toolkit.js
|
|
57630
57419
|
/**
|
|
57631
57420
|
* Groups AI tools together with their handlers.
|
|
57632
57421
|
*
|
|
@@ -57885,8 +57674,7 @@ const resolveInput = (...tools) => {
|
|
|
57885
57674
|
* @since 4.0.0
|
|
57886
57675
|
*/
|
|
57887
57676
|
const make$6 = (...tools) => makeProto(resolveInput(...tools));
|
|
57888
|
-
|
|
57889
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcMiddleware.js
|
|
57677
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/rpc/RpcMiddleware.js
|
|
57890
57678
|
/**
|
|
57891
57679
|
* Middleware services for the unstable RPC runtime.
|
|
57892
57680
|
*
|
|
@@ -57950,8 +57738,7 @@ const layerClient = (tag, service) => effectContext(gen(function* () {
|
|
|
57950
57738
|
const middleware = isEffect(service) ? yield* service : service;
|
|
57951
57739
|
return makeUnsafe$8(/* @__PURE__ */ new Map([[`${tag.key}/Client`, (options) => updateContext(middleware(options), (requestContext) => merge$4(services, requestContext))]]));
|
|
57952
57740
|
}));
|
|
57953
|
-
|
|
57954
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpSchema.js
|
|
57741
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpSchema.js
|
|
57955
57742
|
/**
|
|
57956
57743
|
* Defines schemas for Model Context Protocol messages.
|
|
57957
57744
|
*
|
|
@@ -59948,8 +59735,7 @@ var ServerNotificationRpcs$4 = class extends (/*#__PURE__*/ make$23(CancelledNot
|
|
|
59948
59735
|
* @since 4.0.0
|
|
59949
59736
|
*/
|
|
59950
59737
|
var EnabledWhen = class extends (/*#__PURE__*/ Service$2()("effect/ai/McpSchema/EnabledWhen")) {};
|
|
59951
|
-
|
|
59952
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpCore.js
|
|
59738
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpCore.js
|
|
59953
59739
|
/**
|
|
59954
59740
|
* Version-neutral MCP server records and semantic operations.
|
|
59955
59741
|
*
|
|
@@ -60088,8 +59874,7 @@ const make$5 = /*#__PURE__*/ sync(() => {
|
|
|
60088
59874
|
}))
|
|
60089
59875
|
};
|
|
60090
59876
|
});
|
|
60091
|
-
|
|
60092
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol.js
|
|
59877
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol.js
|
|
60093
59878
|
const LEGACY_RESOURCE_NOT_FOUND_ERROR_CODE = -32002;
|
|
60094
59879
|
const BASE64_SENTINEL_PREFIX = "=?base64?";
|
|
60095
59880
|
const BASE64_SENTINEL_SUFFIX = "?=";
|
|
@@ -60367,8 +60152,7 @@ const make$4 = (options) => {
|
|
|
60367
60152
|
makeReverseClient
|
|
60368
60153
|
};
|
|
60369
60154
|
};
|
|
60370
|
-
|
|
60371
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocolRegistry.js
|
|
60155
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocolRegistry.js
|
|
60372
60156
|
const prefix = (protocol) => `@effect/mcp/${encodeURIComponent(protocol.protocolVersion)}/`;
|
|
60373
60157
|
/**
|
|
60374
60158
|
* @internal
|
|
@@ -60406,8 +60190,7 @@ const make$3 = /*#__PURE__*/ fnUntraced(function* (protocols) {
|
|
|
60406
60190
|
})
|
|
60407
60191
|
};
|
|
60408
60192
|
});
|
|
60409
|
-
|
|
60410
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpStatefulRuntime.js
|
|
60193
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpStatefulRuntime.js
|
|
60411
60194
|
/**
|
|
60412
60195
|
* Stateful lifecycle storage for MCP revisions before v2026-07-28.
|
|
60413
60196
|
*
|
|
@@ -60495,8 +60278,7 @@ const make$2 = () => {
|
|
|
60495
60278
|
}
|
|
60496
60279
|
};
|
|
60497
60280
|
};
|
|
60498
|
-
|
|
60499
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpRuntime.js
|
|
60281
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpRuntime.js
|
|
60500
60282
|
const MCP_SESSION_ID_HEADER$1 = "mcp-session-id";
|
|
60501
60283
|
const MCP_PROTOCOL_VERSION_HEADER$1 = "mcp-protocol-version";
|
|
60502
60284
|
const MCP_METHOD_HEADER = "mcp-method";
|
|
@@ -60850,8 +60632,7 @@ const make$1 = /*#__PURE__*/ fnUntraced(function* (protocols) {
|
|
|
60850
60632
|
* @internal
|
|
60851
60633
|
*/
|
|
60852
60634
|
const layer$1 = (protocols) => effect(ServerRuntime)(make$1(protocols));
|
|
60853
|
-
|
|
60854
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2024_11_05.js
|
|
60635
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2024_11_05.js
|
|
60855
60636
|
/**
|
|
60856
60637
|
* Exact MCP v2024-11-05 wire schemas.
|
|
60857
60638
|
*
|
|
@@ -61209,8 +60990,7 @@ var ToolListChangedNotification$1 = class extends (/*#__PURE__*/ make$27("notifi
|
|
|
61209
60990
|
* @internal
|
|
61210
60991
|
*/
|
|
61211
60992
|
var PromptListChangedNotification$1 = class extends (/*#__PURE__*/ make$27("notifications/prompts/list_changed", { payload: /*#__PURE__*/ UndefinedOr(NotificationMeta) })) {};
|
|
61212
|
-
|
|
61213
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_03_26.js
|
|
60993
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_03_26.js
|
|
61214
60994
|
/**
|
|
61215
60995
|
* Exact MCP v2025-03-26 wire schemas.
|
|
61216
60996
|
*
|
|
@@ -61267,8 +61047,7 @@ var ProgressNotification$1 = class extends (/*#__PURE__*/ make$27("notifications
|
|
|
61267
61047
|
total: /*#__PURE__*/ optional$3(Finite),
|
|
61268
61048
|
message: /*#__PURE__*/ optional$3(String$2)
|
|
61269
61049
|
} })) {};
|
|
61270
|
-
|
|
61271
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_06_18.js
|
|
61050
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_06_18.js
|
|
61272
61051
|
/**
|
|
61273
61052
|
* Exact MCP v2025-06-18 wire schemas.
|
|
61274
61053
|
*
|
|
@@ -61737,8 +61516,7 @@ var ServerRequestRpcs$2 = class extends (/*#__PURE__*/ make$23(Ping, CreateMessa
|
|
|
61737
61516
|
* @internal
|
|
61738
61517
|
*/
|
|
61739
61518
|
var ServerNotificationRpcs$2 = class extends (/*#__PURE__*/ make$23(CancelledNotification$1, ProgressNotification$1, LoggingMessageNotification$1, ResourceUpdatedNotification$1, ResourceListChangedNotification$1, ToolListChangedNotification$1, PromptListChangedNotification$1)) {};
|
|
61740
|
-
|
|
61741
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2025_06_18.js
|
|
61519
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2025_06_18.js
|
|
61742
61520
|
const ClientRpcs$2 = /*#__PURE__*/ (/* @__PURE__ */ ClientRequestRpcs$2.omit("ping").middleware(McpServerClientMiddleware).add(Ping)).merge(ClientNotificationRpcs$2);
|
|
61743
61521
|
const AdapterRpcs$1 = /*#__PURE__*/ ClientRpcs$2.omit("ping");
|
|
61744
61522
|
const isToolOutputSchema$1 = (schema) => {
|
|
@@ -61963,8 +61741,7 @@ const protocol$2 = /*#__PURE__*/ make$4({
|
|
|
61963
61741
|
metadata: request._meta
|
|
61964
61742
|
})))
|
|
61965
61743
|
});
|
|
61966
|
-
|
|
61967
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_11_25.js
|
|
61744
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2025_11_25.js
|
|
61968
61745
|
/**
|
|
61969
61746
|
* Supported non-Task MCP v2025-11-25 wire schemas.
|
|
61970
61747
|
*
|
|
@@ -62467,8 +62244,7 @@ var ServerRequestRpcs$1 = class extends (/*#__PURE__*/ make$23(Ping, CreateMessa
|
|
|
62467
62244
|
* @internal
|
|
62468
62245
|
*/
|
|
62469
62246
|
var ServerNotificationRpcs$1 = class extends (/*#__PURE__*/ make$23(CancelledNotification$1, ProgressNotification$1, LoggingMessageNotification$1, ResourceUpdatedNotification$1, ResourceListChangedNotification$1, ToolListChangedNotification$1, PromptListChangedNotification$1, ElicitationCompleteNotification)) {};
|
|
62470
|
-
|
|
62471
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2025_11_25.js
|
|
62247
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2025_11_25.js
|
|
62472
62248
|
const ClientRpcs$1 = /*#__PURE__*/ (/* @__PURE__ */ ClientRequestRpcs$1.omit("ping").middleware(McpServerClientMiddleware).add(Ping)).merge(ClientNotificationRpcs$1);
|
|
62473
62249
|
const AdapterRpcs = /*#__PURE__*/ ClientRpcs$1.omit("ping");
|
|
62474
62250
|
const isToolOutputSchema = (schema) => {
|
|
@@ -62711,8 +62487,7 @@ const protocol$1 = /*#__PURE__*/ make$4({
|
|
|
62711
62487
|
metadata: request._meta
|
|
62712
62488
|
})))
|
|
62713
62489
|
});
|
|
62714
|
-
|
|
62715
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2026_07_28.js
|
|
62490
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpSchema/v2026_07_28.js
|
|
62716
62491
|
/**
|
|
62717
62492
|
* MCP v2026-07-28 wire schemas.
|
|
62718
62493
|
*
|
|
@@ -63379,8 +63154,7 @@ var ServerRequestRpcs = class extends (/*#__PURE__*/ make$23()) {};
|
|
|
63379
63154
|
* @internal
|
|
63380
63155
|
*/
|
|
63381
63156
|
var ServerNotificationRpcs = class extends (/*#__PURE__*/ make$23(CancelledNotification, ProgressNotification, LoggingMessageNotification, ResourceUpdatedNotification, ResourceListChangedNotification, ToolListChangedNotification, PromptListChangedNotification, SubscriptionsAcknowledgedNotification)) {};
|
|
63382
|
-
|
|
63383
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2026_07_28.js
|
|
63157
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/internal/mcpProtocol/v2026_07_28.js
|
|
63384
63158
|
/**
|
|
63385
63159
|
* MCP v2026-07-28 wire projections.
|
|
63386
63160
|
*
|
|
@@ -63810,8 +63584,7 @@ const makeHandlers = (core, _lifecycle, context) => {
|
|
|
63810
63584
|
})
|
|
63811
63585
|
};
|
|
63812
63586
|
};
|
|
63813
|
-
|
|
63814
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpProtocol.js
|
|
63587
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpProtocol.js
|
|
63815
63588
|
/**
|
|
63816
63589
|
* The MCP 2026-07-28 protocol implementation.
|
|
63817
63590
|
*
|
|
@@ -63868,8 +63641,7 @@ const v2025_11_25 = protocol$1;
|
|
|
63868
63641
|
* @since 4.0.0
|
|
63869
63642
|
*/
|
|
63870
63643
|
const v2025_06_18 = protocol$2;
|
|
63871
|
-
|
|
63872
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpServer.js
|
|
63644
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ai/McpServer.js
|
|
63873
63645
|
/**
|
|
63874
63646
|
* Builds Model Context Protocol (MCP) servers with Effect.
|
|
63875
63647
|
*
|
|
@@ -64925,8 +64697,7 @@ const makeUriMatcher = () => {
|
|
|
64925
64697
|
};
|
|
64926
64698
|
};
|
|
64927
64699
|
const isProtocolVersion = (version) => version === "2024-11-05" || version === "2025-03-26" || version === "2025-06-18" || version === "2025-11-25" || version === "2026-07-28";
|
|
64928
|
-
|
|
64929
|
-
//#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpStaticServer.js
|
|
64700
|
+
// ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/http/HttpStaticServer.js
|
|
64930
64701
|
/**
|
|
64931
64702
|
* Serves static files for Effect HTTP applications.
|
|
64932
64703
|
*
|
|
@@ -65235,8 +65006,7 @@ const evaluateConditionalRequest = (request, response) => {
|
|
|
65235
65006
|
const ifModifiedSince = request.headers["if-modified-since"];
|
|
65236
65007
|
if (ifModifiedSince !== void 0 && isNotModifiedSince(ifModifiedSince, response.headers["last-modified"])) return notModifiedResponse(response);
|
|
65237
65008
|
};
|
|
65238
|
-
|
|
65239
|
-
//#region ../../packages/runtime/src/auth/schema.ts
|
|
65009
|
+
// ../../packages/runtime/src/auth/schema.ts
|
|
65240
65010
|
var AuthError = class extends TaggedError()("AuthError", {
|
|
65241
65011
|
cause: optional$6(Defect()),
|
|
65242
65012
|
error: optionalKey(Literals([
|
|
@@ -65273,8 +65043,7 @@ Struct({
|
|
|
65273
65043
|
expires_in: Finite,
|
|
65274
65044
|
refresh_token: NonEmptyString
|
|
65275
65045
|
});
|
|
65276
|
-
|
|
65277
|
-
//#region ../../packages/runtime/src/auth/lib/utils.ts
|
|
65046
|
+
// ../../packages/runtime/src/auth/lib/utils.ts
|
|
65278
65047
|
const AUTH_URL = "https://auth.mp281x.xyz";
|
|
65279
65048
|
var CurrentUser = class extends Service$2()("@deslop/runtime/auth/lib/utils/CurrentUser") {};
|
|
65280
65049
|
var RpcAuth = class RpcAuth extends Service$1()("@deslop/runtime/auth/lib/utils/RpcAuth", { error: AuthError }) {
|
|
@@ -65285,8 +65054,7 @@ var RpcAuth = class RpcAuth extends Service$1()("@deslop/runtime/auth/lib/utils/
|
|
|
65285
65054
|
});
|
|
65286
65055
|
}));
|
|
65287
65056
|
};
|
|
65288
|
-
|
|
65289
|
-
//#region ../../packages/runtime/src/auth/service.ts
|
|
65057
|
+
// ../../packages/runtime/src/auth/service.ts
|
|
65290
65058
|
function rejected(message) {
|
|
65291
65059
|
return mapError$2((cause) => {
|
|
65292
65060
|
if (is$2(AuthError)(cause)) return cause;
|
|
@@ -65343,8 +65111,7 @@ function layerMcpAuth(resource) {
|
|
|
65343
65111
|
});
|
|
65344
65112
|
})).layer;
|
|
65345
65113
|
}
|
|
65346
|
-
|
|
65347
|
-
//#region ../../packages/runtime/src/server.ts
|
|
65114
|
+
// ../../packages/runtime/src/server.ts
|
|
65348
65115
|
function layerMcp(options) {
|
|
65349
65116
|
const resource = `https://${options.name}.mp281x.xyz/mcp`;
|
|
65350
65117
|
return mergeAll$1(pipe(layerHttp({
|
|
@@ -65373,11 +65140,9 @@ const layerNodeHttpServer = layerConfig(createServer, {
|
|
|
65373
65140
|
host: pipe(String$1("HOST"), withDefault("0.0.0.0")),
|
|
65374
65141
|
port: pipe(Port("PORT"), withDefault(5e3))
|
|
65375
65142
|
});
|
|
65376
|
-
|
|
65377
|
-
|
|
65378
|
-
|
|
65379
|
-
//#endregion
|
|
65380
|
-
//#region src/services/telemetry/schema.ts
|
|
65143
|
+
// package.json
|
|
65144
|
+
var version = "0.1.1135";
|
|
65145
|
+
// src/services/telemetry/schema.ts
|
|
65381
65146
|
var TelemetryError = class extends TaggedError()("TelemetryError", {
|
|
65382
65147
|
cause: optional$6(Defect()),
|
|
65383
65148
|
message: String$2
|
|
@@ -65541,8 +65306,7 @@ const SortFilters = Struct({
|
|
|
65541
65306
|
...PageFilters.fields,
|
|
65542
65307
|
sort: pipe(Query.fields.sort, withDecodingDefaultTypeKey(succeed$4("recent")), annotateEncoded({ description: "\"recent\" puts the newest first, \"slowest\" the longest first." }))
|
|
65543
65308
|
});
|
|
65544
|
-
|
|
65545
|
-
//#region src/services/telemetry/lib/utils.ts
|
|
65309
|
+
// src/services/telemetry/lib/utils.ts
|
|
65546
65310
|
function resourceString(resource, key) {
|
|
65547
65311
|
return pipe(resource.attributes ?? [], findFirst((attribute) => attribute.key === key), flatMap$6((attribute) => liftPredicate(attribute.value["stringValue"], isString$1)), getOrElse(() => ""));
|
|
65548
65312
|
}
|
|
@@ -65663,8 +65427,7 @@ function traceView(entries, id) {
|
|
|
65663
65427
|
spans: tree
|
|
65664
65428
|
};
|
|
65665
65429
|
}
|
|
65666
|
-
|
|
65667
|
-
//#region src/services/telemetry/service.ts
|
|
65430
|
+
// src/services/telemetry/service.ts
|
|
65668
65431
|
const failed = mapError$2((cause) => TelemetryError.make({
|
|
65669
65432
|
cause,
|
|
65670
65433
|
message: "The telemetry database could not be read or written."
|
|
@@ -65789,8 +65552,7 @@ var Telemetry = class extends Service$2()("@deslop/scope/services/telemetry/serv
|
|
|
65789
65552
|
}), failed) }) {
|
|
65790
65553
|
static layer = effect(this, this.make);
|
|
65791
65554
|
};
|
|
65792
|
-
|
|
65793
|
-
//#region src/tools/contracts.ts
|
|
65555
|
+
// src/tools/contracts.ts
|
|
65794
65556
|
const Tools = make$6(make$7("list_services", {
|
|
65795
65557
|
description: "List the apps sending telemetry in their current run, with their runtime: web, mobile or server. Call it first: the other tools filter by these exact names.",
|
|
65796
65558
|
failure: TelemetryError,
|
|
@@ -65821,8 +65583,7 @@ const Tools = make$6(make$7("list_services", {
|
|
|
65821
65583
|
parameters: Filters,
|
|
65822
65584
|
success: Stats
|
|
65823
65585
|
}).annotate(Readonly, true));
|
|
65824
|
-
|
|
65825
|
-
//#region src/tools/handlers.ts
|
|
65586
|
+
// src/tools/handlers.ts
|
|
65826
65587
|
const query = fnUntraced(function* (filters) {
|
|
65827
65588
|
const now = yield* currentTimeMillis;
|
|
65828
65589
|
return {
|
|
@@ -65845,8 +65606,7 @@ const ToolHandlers = Tools.toLayer(gen(function* () {
|
|
|
65845
65606
|
read_trace: (input) => telemetry.trace(input.id)
|
|
65846
65607
|
});
|
|
65847
65608
|
}));
|
|
65848
|
-
|
|
65849
|
-
//#region src/main.server.ts
|
|
65609
|
+
// src/main.server.ts
|
|
65850
65610
|
const receiver = use((router) => gen(function* () {
|
|
65851
65611
|
const telemetry = yield* Telemetry;
|
|
65852
65612
|
const ack = text("{}", { contentType: "application/json" });
|
|
@@ -65917,5 +65677,4 @@ runMain(pipe(merge$3(pipe(serve(mergeAll$1(pipe(fresh(receiver), provide$2(HttpA
|
|
|
65917
65677
|
host: pipe(String$1("HOST"), withDefault("127.0.0.1")),
|
|
65918
65678
|
port: succeed(4318)
|
|
65919
65679
|
})))), provide$2(Auth.layer("https://otel.mp281x.xyz")), provide$2(layer$11), provide$2(Telemetry.layer), provide$2(database), provide$2(layer$3), provide$2(succeed$5(MaxBodySize)(mebibytes(10))), launch));
|
|
65920
|
-
//#endregion
|
|
65921
65680
|
export {};
|