lalph 0.3.65 → 0.3.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +362 -254
- package/package.json +7 -7
package/dist/cli.mjs
CHANGED
|
@@ -59,7 +59,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
59
59
|
}) : target, mod));
|
|
60
60
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
61
61
|
//#endregion
|
|
62
|
-
//#region node_modules/.pnpm/effect@
|
|
62
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Pipeable.js
|
|
63
63
|
/**
|
|
64
64
|
* @since 2.0.0
|
|
65
65
|
*/
|
|
@@ -118,7 +118,7 @@ const Class$4 = /* @__PURE__ */ function() {
|
|
|
118
118
|
return PipeableBase;
|
|
119
119
|
}();
|
|
120
120
|
//#endregion
|
|
121
|
-
//#region node_modules/.pnpm/effect@
|
|
121
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Function.js
|
|
122
122
|
/**
|
|
123
123
|
* Creates a function that can be used in a data-last (aka `pipe`able) or
|
|
124
124
|
* data-first style.
|
|
@@ -401,7 +401,7 @@ function memoize(f) {
|
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
403
|
//#endregion
|
|
404
|
-
//#region node_modules/.pnpm/effect@
|
|
404
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/equal.js
|
|
405
405
|
/** @internal */
|
|
406
406
|
const getAllObjectKeys = (obj) => {
|
|
407
407
|
const keys = new Set(Reflect.ownKeys(obj));
|
|
@@ -420,7 +420,7 @@ const getAllObjectKeys = (obj) => {
|
|
|
420
420
|
/** @internal */
|
|
421
421
|
const byReferenceInstances = /* @__PURE__ */ new WeakSet();
|
|
422
422
|
//#endregion
|
|
423
|
-
//#region node_modules/.pnpm/effect@
|
|
423
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Predicate.js
|
|
424
424
|
/**
|
|
425
425
|
* Predicate and Refinement helpers for runtime checks, filtering, and type narrowing.
|
|
426
426
|
* This module provides small, pure functions you can combine to decide whether a
|
|
@@ -1069,7 +1069,7 @@ function isIterable(input) {
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
const or = /* @__PURE__ */ dual(2, (self, that) => (a) => self(a) || that(a));
|
|
1071
1071
|
//#endregion
|
|
1072
|
-
//#region node_modules/.pnpm/effect@
|
|
1072
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Hash.js
|
|
1073
1073
|
/**
|
|
1074
1074
|
* This module provides utilities for hashing values in TypeScript.
|
|
1075
1075
|
*
|
|
@@ -1418,7 +1418,7 @@ function withVisitedTracking$1(obj, fn) {
|
|
|
1418
1418
|
return result;
|
|
1419
1419
|
}
|
|
1420
1420
|
//#endregion
|
|
1421
|
-
//#region node_modules/.pnpm/effect@
|
|
1421
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Equal.js
|
|
1422
1422
|
/**
|
|
1423
1423
|
* The unique string identifier for the {@link Equal} interface.
|
|
1424
1424
|
*
|
|
@@ -1688,7 +1688,7 @@ const byReferenceUnsafe = (obj) => {
|
|
|
1688
1688
|
return obj;
|
|
1689
1689
|
};
|
|
1690
1690
|
//#endregion
|
|
1691
|
-
//#region node_modules/.pnpm/effect@
|
|
1691
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Redactable.js
|
|
1692
1692
|
/**
|
|
1693
1693
|
* @since 4.0.0
|
|
1694
1694
|
*/
|
|
@@ -1782,7 +1782,7 @@ const emptyServiceMap$1 = {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
1784
|
//#endregion
|
|
1785
|
-
//#region node_modules/.pnpm/effect@
|
|
1785
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Formatter.js
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Utilities for converting arbitrary JavaScript values into human-readable
|
|
1788
1788
|
* strings, with support for circular references, redaction, and common JS
|
|
@@ -2124,7 +2124,7 @@ function formatJson$1(input, options) {
|
|
|
2124
2124
|
return out;
|
|
2125
2125
|
}
|
|
2126
2126
|
//#endregion
|
|
2127
|
-
//#region node_modules/.pnpm/effect@
|
|
2127
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Inspectable.js
|
|
2128
2128
|
/**
|
|
2129
2129
|
* This module provides utilities for making values inspectable and debuggable in TypeScript.
|
|
2130
2130
|
*
|
|
@@ -2327,7 +2327,7 @@ var Class$3 = class {
|
|
|
2327
2327
|
}
|
|
2328
2328
|
};
|
|
2329
2329
|
//#endregion
|
|
2330
|
-
//#region node_modules/.pnpm/effect@
|
|
2330
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Utils.js
|
|
2331
2331
|
/**
|
|
2332
2332
|
* An `IterableIterator` that yields its wrapped value exactly once.
|
|
2333
2333
|
*
|
|
@@ -2405,7 +2405,7 @@ const forced = { [InternalTypeId]: (body) => {
|
|
|
2405
2405
|
/** @internal */
|
|
2406
2406
|
const internalCall = /* @__PURE__ */ standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
|
|
2407
2407
|
//#endregion
|
|
2408
|
-
//#region node_modules/.pnpm/effect@
|
|
2408
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/core.js
|
|
2409
2409
|
/** @internal */
|
|
2410
2410
|
const EffectTypeId$1 = `~effect/Effect`;
|
|
2411
2411
|
/** @internal */
|
|
@@ -2804,7 +2804,7 @@ const done$2 = (value) => {
|
|
|
2804
2804
|
return exitFail(Done$1(value));
|
|
2805
2805
|
};
|
|
2806
2806
|
//#endregion
|
|
2807
|
-
//#region node_modules/.pnpm/effect@
|
|
2807
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Data.js
|
|
2808
2808
|
/**
|
|
2809
2809
|
* Base class for immutable data types.
|
|
2810
2810
|
*
|
|
@@ -3037,7 +3037,7 @@ const Error$3 = Error$4;
|
|
|
3037
3037
|
*/
|
|
3038
3038
|
const TaggedError = TaggedError$1;
|
|
3039
3039
|
//#endregion
|
|
3040
|
-
//#region node_modules/.pnpm/effect@
|
|
3040
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Equivalence.js
|
|
3041
3041
|
/**
|
|
3042
3042
|
* Creates a custom equivalence relation with an optimized reference equality check.
|
|
3043
3043
|
*
|
|
@@ -3259,7 +3259,7 @@ function Array$4(item) {
|
|
|
3259
3259
|
});
|
|
3260
3260
|
}
|
|
3261
3261
|
//#endregion
|
|
3262
|
-
//#region node_modules/.pnpm/effect@
|
|
3262
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/option.js
|
|
3263
3263
|
/**
|
|
3264
3264
|
* @since 2.0.0
|
|
3265
3265
|
*/
|
|
@@ -3334,7 +3334,7 @@ const some$3 = (value) => {
|
|
|
3334
3334
|
return a;
|
|
3335
3335
|
};
|
|
3336
3336
|
//#endregion
|
|
3337
|
-
//#region node_modules/.pnpm/effect@
|
|
3337
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/result.js
|
|
3338
3338
|
const TypeId$73 = "~effect/data/Result";
|
|
3339
3339
|
const CommonProto = {
|
|
3340
3340
|
[TypeId$73]: {
|
|
@@ -3409,7 +3409,7 @@ const succeed$9 = (success) => {
|
|
|
3409
3409
|
return a;
|
|
3410
3410
|
};
|
|
3411
3411
|
//#endregion
|
|
3412
|
-
//#region node_modules/.pnpm/effect@
|
|
3412
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Order.js
|
|
3413
3413
|
/**
|
|
3414
3414
|
* This module provides the `Order` type class for defining total orderings on types.
|
|
3415
3415
|
* An `Order` is a comparison function that returns `-1` (less than), `0` (equal), or `1` (greater than).
|
|
@@ -3747,7 +3747,7 @@ const isGreaterThanOrEqualTo$3 = (O) => dual(2, (self, that) => O(self, that) !=
|
|
|
3747
3747
|
*/
|
|
3748
3748
|
const min$3 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1 ? self : that);
|
|
3749
3749
|
//#endregion
|
|
3750
|
-
//#region node_modules/.pnpm/effect@
|
|
3750
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Option.js
|
|
3751
3751
|
/**
|
|
3752
3752
|
* Creates an `Option` representing the absence of a value.
|
|
3753
3753
|
*
|
|
@@ -4605,7 +4605,7 @@ const makeEquivalence$6 = (isEquivalent) => make$81((x, y) => isNone(x) ? isNone
|
|
|
4605
4605
|
*/
|
|
4606
4606
|
const liftPredicate = /* @__PURE__ */ dual(2, (b, predicate) => predicate(b) ? some$2(b) : none$4());
|
|
4607
4607
|
//#endregion
|
|
4608
|
-
//#region node_modules/.pnpm/effect@
|
|
4608
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Duration.js
|
|
4609
4609
|
const TypeId$72 = "~effect/time/Duration";
|
|
4610
4610
|
const bigint0$2 = /* @__PURE__ */ BigInt(0);
|
|
4611
4611
|
const bigint24 = /* @__PURE__ */ BigInt(24);
|
|
@@ -5326,14 +5326,14 @@ const format$3 = (self) => {
|
|
|
5326
5326
|
return pieces.join(" ");
|
|
5327
5327
|
};
|
|
5328
5328
|
//#endregion
|
|
5329
|
-
//#region node_modules/.pnpm/effect@
|
|
5329
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/array.js
|
|
5330
5330
|
/**
|
|
5331
5331
|
* @since 2.0.0
|
|
5332
5332
|
*/
|
|
5333
5333
|
/** @internal */
|
|
5334
5334
|
const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
5335
5335
|
//#endregion
|
|
5336
|
-
//#region node_modules/.pnpm/effect@
|
|
5336
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Result.js
|
|
5337
5337
|
/**
|
|
5338
5338
|
* Creates a `Result` holding a `Success` value.
|
|
5339
5339
|
*
|
|
@@ -5543,7 +5543,7 @@ const map$15 = /* @__PURE__ */ dual(2, (self, f) => isSuccess$5(self) ? succeed$
|
|
|
5543
5543
|
*/
|
|
5544
5544
|
const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailure) => isFailure$4(self) ? onFailure(self.failure) : self.success))(constUndefined);
|
|
5545
5545
|
//#endregion
|
|
5546
|
-
//#region node_modules/.pnpm/effect@
|
|
5546
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Tuple.js
|
|
5547
5547
|
/**
|
|
5548
5548
|
* Creates an `Equivalence` for tuples by comparing corresponding elements
|
|
5549
5549
|
* using the provided per-position `Equivalence`s. Two tuples are equivalent
|
|
@@ -5574,7 +5574,7 @@ const getOrUndefined$1 = /* @__PURE__ */ (/* @__PURE__ */ dual(2, (self, onFailu
|
|
|
5574
5574
|
*/
|
|
5575
5575
|
const makeEquivalence$5 = Tuple$2;
|
|
5576
5576
|
//#endregion
|
|
5577
|
-
//#region node_modules/.pnpm/effect@
|
|
5577
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Iterable.js
|
|
5578
5578
|
/**
|
|
5579
5579
|
* Return the number of elements in a `Iterable`.
|
|
5580
5580
|
*
|
|
@@ -5726,7 +5726,7 @@ const constEmptyIterator = { next() {
|
|
|
5726
5726
|
*/
|
|
5727
5727
|
const empty$19 = () => constEmpty;
|
|
5728
5728
|
//#endregion
|
|
5729
|
-
//#region node_modules/.pnpm/effect@
|
|
5729
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Record.js
|
|
5730
5730
|
/**
|
|
5731
5731
|
* Creates a new, empty record.
|
|
5732
5732
|
*
|
|
@@ -5890,7 +5890,7 @@ const makeEquivalence$4 = (equivalence) => {
|
|
|
5890
5890
|
return (self, that) => is(self, that) && is(that, self);
|
|
5891
5891
|
};
|
|
5892
5892
|
//#endregion
|
|
5893
|
-
//#region node_modules/.pnpm/effect@
|
|
5893
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Array.js
|
|
5894
5894
|
/**
|
|
5895
5895
|
* Utilities for working with immutable arrays (and non-empty arrays) in a
|
|
5896
5896
|
* functional style. All functions treat arrays as immutable — they return new
|
|
@@ -6592,7 +6592,7 @@ const composePassthrough = /* @__PURE__ */ dual(2, (left, right) => (input) => {
|
|
|
6592
6592
|
return rightOut;
|
|
6593
6593
|
});
|
|
6594
6594
|
//#endregion
|
|
6595
|
-
//#region node_modules/.pnpm/effect@
|
|
6595
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/ServiceMap.js
|
|
6596
6596
|
const ServiceTypeId = "~effect/ServiceMap/Service";
|
|
6597
6597
|
/**
|
|
6598
6598
|
* @example
|
|
@@ -7108,7 +7108,7 @@ const withMapUnsafe = (self, f) => {
|
|
|
7108
7108
|
*/
|
|
7109
7109
|
const Reference = Service$1;
|
|
7110
7110
|
//#endregion
|
|
7111
|
-
//#region node_modules/.pnpm/effect@
|
|
7111
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Scheduler.js
|
|
7112
7112
|
/**
|
|
7113
7113
|
* @since 4.0.0
|
|
7114
7114
|
* @category references
|
|
@@ -7242,7 +7242,7 @@ const MaxOpsBeforeYield = /* @__PURE__ */ Reference("effect/Scheduler/MaxOpsBefo
|
|
|
7242
7242
|
*/
|
|
7243
7243
|
const PreventSchedulerYield = /* @__PURE__ */ Reference("effect/Scheduler/PreventSchedulerYield", { defaultValue: () => false });
|
|
7244
7244
|
//#endregion
|
|
7245
|
-
//#region node_modules/.pnpm/effect@
|
|
7245
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Tracer.js
|
|
7246
7246
|
/**
|
|
7247
7247
|
* @since 2.0.0
|
|
7248
7248
|
* @category tags
|
|
@@ -7426,7 +7426,7 @@ const randomHexString = /* @__PURE__ */ function() {
|
|
|
7426
7426
|
};
|
|
7427
7427
|
}();
|
|
7428
7428
|
//#endregion
|
|
7429
|
-
//#region node_modules/.pnpm/effect@
|
|
7429
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/References.js
|
|
7430
7430
|
/**
|
|
7431
7431
|
* This module provides a collection of reference implementations for commonly used
|
|
7432
7432
|
* Effect runtime configuration values. These references allow you to access and
|
|
@@ -7888,11 +7888,11 @@ const MinimumLogLevel = /* @__PURE__ */ Reference("effect/References/MinimumLogL
|
|
|
7888
7888
|
*/
|
|
7889
7889
|
const CurrentLogSpans = /* @__PURE__ */ Reference("effect/References/CurrentLogSpans", { defaultValue: () => [] });
|
|
7890
7890
|
//#endregion
|
|
7891
|
-
//#region node_modules/.pnpm/effect@
|
|
7891
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/metric.js
|
|
7892
7892
|
/** @internal */
|
|
7893
7893
|
const FiberRuntimeMetricsKey = "effect/observability/Metric/FiberRuntimeMetricsKey";
|
|
7894
7894
|
//#endregion
|
|
7895
|
-
//#region node_modules/.pnpm/effect@
|
|
7895
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/tracer.js
|
|
7896
7896
|
/** @internal */
|
|
7897
7897
|
const addSpanStackTrace = (options) => {
|
|
7898
7898
|
if (options?.captureStackTrace === false) return options;
|
|
@@ -7922,7 +7922,7 @@ const makeStackCleaner = (line) => (stack) => {
|
|
|
7922
7922
|
};
|
|
7923
7923
|
const spanCleaner = /* @__PURE__ */ makeStackCleaner(3);
|
|
7924
7924
|
//#endregion
|
|
7925
|
-
//#region node_modules/.pnpm/effect@
|
|
7925
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/effect.js
|
|
7926
7926
|
/** @internal */
|
|
7927
7927
|
var Interrupt$1 = class extends ReasonBase {
|
|
7928
7928
|
fiberId;
|
|
@@ -8700,6 +8700,8 @@ const exitIsFailure = (self) => self._tag === "Failure";
|
|
|
8700
8700
|
/** @internal */
|
|
8701
8701
|
const exitFilterCause = (self) => self._tag === "Failure" ? succeed$8(self.cause) : fail$10(self);
|
|
8702
8702
|
/** @internal */
|
|
8703
|
+
const exitHasInterrupts = (self) => self._tag === "Failure" && hasInterrupts$2(self.cause);
|
|
8704
|
+
/** @internal */
|
|
8703
8705
|
const exitVoid = /* @__PURE__ */ exitSucceed(void 0);
|
|
8704
8706
|
/** @internal */
|
|
8705
8707
|
const exitMap = /* @__PURE__ */ dual(2, (self, f) => self._tag === "Success" ? exitSucceed(f(self.value)) : self);
|
|
@@ -9051,7 +9053,7 @@ const scopedWith$1 = (f) => suspend$4(() => {
|
|
|
9051
9053
|
return onExit$2(f(scope), (exit) => suspend$4(() => scopeCloseUnsafe(scope, exit) ?? void_$3));
|
|
9052
9054
|
});
|
|
9053
9055
|
/** @internal */
|
|
9054
|
-
const acquireRelease$1 = (acquire, release) =>
|
|
9056
|
+
const acquireRelease$1 = (acquire, release, options) => uninterruptibleMask$1((restore) => flatMap$6(scope$1, (scope) => tap$2(options?.interruptible ? restore(acquire) : acquire, (a) => scopeAddFinalizerExit(scope, (exit) => release(a, exit)))));
|
|
9055
9057
|
/** @internal */
|
|
9056
9058
|
const addFinalizer$2 = (finalizer) => flatMap$6(scope$1, (scope) => servicesWith$1((services) => scopeAddFinalizerExit(scope, (exit) => provideServices$3(finalizer(exit), services))));
|
|
9057
9059
|
/** @internal */
|
|
@@ -10027,6 +10029,32 @@ const isSuccess$3 = exitIsSuccess;
|
|
|
10027
10029
|
*/
|
|
10028
10030
|
const isFailure$2 = exitIsFailure;
|
|
10029
10031
|
/**
|
|
10032
|
+
* Tests whether a failed Exit contains interruptions (Interrupt reasons).
|
|
10033
|
+
*
|
|
10034
|
+
* - Use to check if a fiber was interrupted
|
|
10035
|
+
* - Returns `false` for successful exits
|
|
10036
|
+
*
|
|
10037
|
+
* Only checks for `Interrupt` reasons in the Cause. A Cause with only `Fail`
|
|
10038
|
+
* or `Die` reasons returns `false`.
|
|
10039
|
+
*
|
|
10040
|
+
* **Example** (Checking for interruptions)
|
|
10041
|
+
*
|
|
10042
|
+
* ```ts
|
|
10043
|
+
* import { Exit } from "effect"
|
|
10044
|
+
*
|
|
10045
|
+
* console.log(Exit.hasInterrupts(Exit.interrupt(1))) // true
|
|
10046
|
+
* console.log(Exit.hasInterrupts(Exit.fail("err"))) // false
|
|
10047
|
+
* console.log(Exit.hasInterrupts(Exit.succeed(42))) // false
|
|
10048
|
+
* ```
|
|
10049
|
+
*
|
|
10050
|
+
* @see {@link hasFails} to check for typed errors
|
|
10051
|
+
* @see {@link hasDies} to check for defects
|
|
10052
|
+
*
|
|
10053
|
+
* @category guards
|
|
10054
|
+
* @since 4.0.0
|
|
10055
|
+
*/
|
|
10056
|
+
const hasInterrupts$1 = exitHasInterrupts;
|
|
10057
|
+
/**
|
|
10030
10058
|
* Discards the success value of an Exit, replacing it with `void`.
|
|
10031
10059
|
*
|
|
10032
10060
|
* - Use when you only care about whether the computation succeeded or failed, not the value
|
|
@@ -10074,7 +10102,7 @@ const asVoid$1 = exitAsVoid;
|
|
|
10074
10102
|
*/
|
|
10075
10103
|
const getSuccess = exitGetSuccess;
|
|
10076
10104
|
//#endregion
|
|
10077
|
-
//#region node_modules/.pnpm/effect@
|
|
10105
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Deferred.js
|
|
10078
10106
|
const DeferredProto = {
|
|
10079
10107
|
["~effect/Deferred"]: {
|
|
10080
10108
|
_A: identity,
|
|
@@ -10534,7 +10562,7 @@ const close = scopeClose;
|
|
|
10534
10562
|
*/
|
|
10535
10563
|
const closeUnsafe = scopeCloseUnsafe;
|
|
10536
10564
|
//#endregion
|
|
10537
|
-
//#region node_modules/.pnpm/effect@
|
|
10565
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Layer.js
|
|
10538
10566
|
const TypeId$70 = "~effect/Layer";
|
|
10539
10567
|
const MemoMapTypeId = "~effect/Layer/MemoMap";
|
|
10540
10568
|
/**
|
|
@@ -11497,7 +11525,7 @@ const makeUnimplemented = (error) => {
|
|
|
11497
11525
|
return unimplemented;
|
|
11498
11526
|
};
|
|
11499
11527
|
//#endregion
|
|
11500
|
-
//#region node_modules/.pnpm/effect@
|
|
11528
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/ExecutionPlan.js
|
|
11501
11529
|
/**
|
|
11502
11530
|
* @since 3.16.0
|
|
11503
11531
|
* @category Type IDs
|
|
@@ -12074,7 +12102,7 @@ const UnknownError$1 = UnknownError$2;
|
|
|
12074
12102
|
*/
|
|
12075
12103
|
var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
|
|
12076
12104
|
//#endregion
|
|
12077
|
-
//#region node_modules/.pnpm/effect@
|
|
12105
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Clock.js
|
|
12078
12106
|
/**
|
|
12079
12107
|
* A reference to the current Clock service in the environment.
|
|
12080
12108
|
*
|
|
@@ -12093,7 +12121,7 @@ var StackTrace = class extends Service$1()("effect/Cause/StackTrace") {};
|
|
|
12093
12121
|
*/
|
|
12094
12122
|
const Clock = ClockRef;
|
|
12095
12123
|
//#endregion
|
|
12096
|
-
//#region node_modules/.pnpm/effect@
|
|
12124
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/dateTime.js
|
|
12097
12125
|
/** @internal */
|
|
12098
12126
|
const TypeId$67 = "~effect/time/DateTime";
|
|
12099
12127
|
/** @internal */
|
|
@@ -12369,7 +12397,7 @@ const formatIsoOffset$1 = (self) => {
|
|
|
12369
12397
|
/** @internal */
|
|
12370
12398
|
const formatIsoZoned$1 = (self) => self.zone._tag === "Offset" ? formatIsoOffset$1(self) : `${formatIsoOffset$1(self)}[${self.zone.id}]`;
|
|
12371
12399
|
//#endregion
|
|
12372
|
-
//#region node_modules/.pnpm/effect@
|
|
12400
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Number.js
|
|
12373
12401
|
/**
|
|
12374
12402
|
* This module provides utility functions and type class instances for working with the `number` type in TypeScript.
|
|
12375
12403
|
* It includes functions for basic arithmetic operations.
|
|
@@ -12538,7 +12566,7 @@ const isNonEmpty$1 = (self) => self.length > 0;
|
|
|
12538
12566
|
*/
|
|
12539
12567
|
const camelToSnake = (self) => self.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
12540
12568
|
//#endregion
|
|
12541
|
-
//#region node_modules/.pnpm/effect@
|
|
12569
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/random.js
|
|
12542
12570
|
/** @internal */
|
|
12543
12571
|
const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () => ({
|
|
12544
12572
|
nextIntUnsafe() {
|
|
@@ -12549,7 +12577,7 @@ const Random$1 = /* @__PURE__ */ Reference("effect/Random", { defaultValue: () =
|
|
|
12549
12577
|
}
|
|
12550
12578
|
}) });
|
|
12551
12579
|
//#endregion
|
|
12552
|
-
//#region node_modules/.pnpm/effect@
|
|
12580
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Pull.js
|
|
12553
12581
|
/**
|
|
12554
12582
|
* @since 4.0.0
|
|
12555
12583
|
*/
|
|
@@ -12623,7 +12651,7 @@ const matchEffect$1 = /* @__PURE__ */ dual(2, (self, options) => matchCauseEffec
|
|
|
12623
12651
|
}
|
|
12624
12652
|
}));
|
|
12625
12653
|
//#endregion
|
|
12626
|
-
//#region node_modules/.pnpm/effect@
|
|
12654
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Schedule.js
|
|
12627
12655
|
/**
|
|
12628
12656
|
* This module provides utilities for creating and composing schedules for retrying operations,
|
|
12629
12657
|
* repeating effects, and implementing various timing strategies.
|
|
@@ -13164,12 +13192,12 @@ const while_ = /* @__PURE__ */ dual(2, (self, predicate) => fromStep(map$12(toSt
|
|
|
13164
13192
|
*/
|
|
13165
13193
|
const forever$1 = /* @__PURE__ */ spaced(zero$1);
|
|
13166
13194
|
//#endregion
|
|
13167
|
-
//#region node_modules/.pnpm/effect@
|
|
13195
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/layer.js
|
|
13168
13196
|
const provideLayer = (self, layer, options) => scopedWith$1((scope) => flatMap$6(options?.local ? buildWithMemoMap(layer, makeMemoMapUnsafe(), scope) : buildWithScope(layer, scope), (context) => provideServices$3(self, context)));
|
|
13169
13197
|
/** @internal */
|
|
13170
13198
|
const provide$2 = /* @__PURE__ */ dual((args) => isEffect$1(args[0]), (self, source, options) => isServiceMap(source) ? provideServices$3(self, source) : provideLayer(self, Array.isArray(source) ? mergeAll$2(...source) : source, options));
|
|
13171
13199
|
//#endregion
|
|
13172
|
-
//#region node_modules/.pnpm/effect@
|
|
13200
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/schedule.js
|
|
13173
13201
|
/** @internal */
|
|
13174
13202
|
const repeatOrElse$1 = /* @__PURE__ */ dual(3, (self, schedule, orElse) => flatMap$6(toStepWithMetadata(schedule), (step) => {
|
|
13175
13203
|
let meta = CurrentMetadata.defaultValue();
|
|
@@ -13214,7 +13242,7 @@ const buildFromOptions = (options) => {
|
|
|
13214
13242
|
return schedule;
|
|
13215
13243
|
};
|
|
13216
13244
|
//#endregion
|
|
13217
|
-
//#region node_modules/.pnpm/effect@
|
|
13245
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Request.js
|
|
13218
13246
|
const TypeId$65 = "~effect/Request";
|
|
13219
13247
|
const requestVariance = /* @__PURE__ */ byReferenceUnsafe({
|
|
13220
13248
|
_E: (_) => _,
|
|
@@ -13229,7 +13257,7 @@ const RequestPrototype = {
|
|
|
13229
13257
|
[TypeId$65]: requestVariance
|
|
13230
13258
|
};
|
|
13231
13259
|
//#endregion
|
|
13232
|
-
//#region node_modules/.pnpm/effect@
|
|
13260
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Effect.js
|
|
13233
13261
|
const TypeId$64 = EffectTypeId$1;
|
|
13234
13262
|
/**
|
|
13235
13263
|
* Tests if a value is an `Effect`.
|
|
@@ -17505,7 +17533,7 @@ const catchEager = catchEager$1;
|
|
|
17505
17533
|
*/
|
|
17506
17534
|
const fnUntracedEager = fnUntracedEager$1;
|
|
17507
17535
|
//#endregion
|
|
17508
|
-
//#region node_modules/.pnpm/effect@
|
|
17536
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/record.js
|
|
17509
17537
|
/**
|
|
17510
17538
|
* @since 4.0.0
|
|
17511
17539
|
*/
|
|
@@ -17521,7 +17549,7 @@ function set$10(self, key, value) {
|
|
|
17521
17549
|
return self;
|
|
17522
17550
|
}
|
|
17523
17551
|
//#endregion
|
|
17524
|
-
//#region node_modules/.pnpm/effect@
|
|
17552
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/schema/annotations.js
|
|
17525
17553
|
/** @internal */
|
|
17526
17554
|
function resolve$4(ast) {
|
|
17527
17555
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -17876,7 +17904,7 @@ const subtract = subtract$1;
|
|
|
17876
17904
|
*/
|
|
17877
17905
|
const formatIso = formatIso$1;
|
|
17878
17906
|
//#endregion
|
|
17879
|
-
//#region node_modules/.pnpm/effect@
|
|
17907
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Encoding.js
|
|
17880
17908
|
/**
|
|
17881
17909
|
* Encoding & decoding for Base64 (RFC4648), Base64Url, and Hex.
|
|
17882
17910
|
*
|
|
@@ -18262,7 +18290,7 @@ const base64codes = [
|
|
|
18262
18290
|
];
|
|
18263
18291
|
const base64UrlEncodeUint8Array = (data) => base64EncodeUint8Array(data).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
18264
18292
|
//#endregion
|
|
18265
|
-
//#region node_modules/.pnpm/effect@
|
|
18293
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/redacted.js
|
|
18266
18294
|
/** @internal */
|
|
18267
18295
|
const redactedRegistry = /* @__PURE__ */ new WeakMap();
|
|
18268
18296
|
/** @internal */
|
|
@@ -18273,7 +18301,7 @@ const value$3 = (self) => {
|
|
|
18273
18301
|
/** @internal */
|
|
18274
18302
|
const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
|
|
18275
18303
|
//#endregion
|
|
18276
|
-
//#region node_modules/.pnpm/effect@
|
|
18304
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Redacted.js
|
|
18277
18305
|
/**
|
|
18278
18306
|
* The Redacted module provides functionality for handling sensitive information
|
|
18279
18307
|
* securely within your application. By using the `Redacted` data type, you can
|
|
@@ -18379,7 +18407,7 @@ const value$2 = value$3;
|
|
|
18379
18407
|
*/
|
|
18380
18408
|
const makeEquivalence$2 = (isEquivalent) => make$81((x, y) => isEquivalent(value$2(x), value$2(y)));
|
|
18381
18409
|
//#endregion
|
|
18382
|
-
//#region node_modules/.pnpm/effect@
|
|
18410
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SchemaIssue.js
|
|
18383
18411
|
const TypeId$62 = "~effect/SchemaIssue/Issue";
|
|
18384
18412
|
/**
|
|
18385
18413
|
* Returns `true` if the given value is an {@link Issue}.
|
|
@@ -19122,7 +19150,7 @@ function redact$2(issue) {
|
|
|
19122
19150
|
}
|
|
19123
19151
|
}
|
|
19124
19152
|
//#endregion
|
|
19125
|
-
//#region node_modules/.pnpm/effect@
|
|
19153
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SchemaGetter.js
|
|
19126
19154
|
/**
|
|
19127
19155
|
* Composable transformation primitives for the Effect Schema system.
|
|
19128
19156
|
*
|
|
@@ -20097,7 +20125,7 @@ const isZero = (n) => n.value === bigint0;
|
|
|
20097
20125
|
*/
|
|
20098
20126
|
const isNegative = (n) => n.value < bigint0;
|
|
20099
20127
|
//#endregion
|
|
20100
|
-
//#region node_modules/.pnpm/effect@
|
|
20128
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SchemaTransformation.js
|
|
20101
20129
|
/**
|
|
20102
20130
|
* Bidirectional transformations for the Effect Schema system.
|
|
20103
20131
|
*
|
|
@@ -20709,7 +20737,7 @@ const dateTimeUtcFromString = /* @__PURE__ */ transformOrFail({
|
|
|
20709
20737
|
encode: (utc) => succeed$3(formatIso(utc))
|
|
20710
20738
|
});
|
|
20711
20739
|
//#endregion
|
|
20712
|
-
//#region node_modules/.pnpm/effect@
|
|
20740
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SchemaAST.js
|
|
20713
20741
|
/**
|
|
20714
20742
|
* Abstract Syntax Tree (AST) representation for Effect schemas.
|
|
20715
20743
|
*
|
|
@@ -22733,7 +22761,7 @@ const unknownToStringTree = /* @__PURE__ */ new Link(/* @__PURE__ */ new Declara
|
|
|
22733
22761
|
toCodecStringTree: () => new Link(unknown$1, passthrough())
|
|
22734
22762
|
}), /* @__PURE__ */ passthrough());
|
|
22735
22763
|
//#endregion
|
|
22736
|
-
//#region node_modules/.pnpm/effect@
|
|
22764
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Brand.js
|
|
22737
22765
|
/**
|
|
22738
22766
|
* This function returns a `Constructor` that **does not apply any runtime
|
|
22739
22767
|
* checks**, it just returns the provided value. It can be used to create
|
|
@@ -22754,7 +22782,7 @@ function nominal() {
|
|
|
22754
22782
|
});
|
|
22755
22783
|
}
|
|
22756
22784
|
//#endregion
|
|
22757
|
-
//#region node_modules/.pnpm/effect@
|
|
22785
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/PlatformError.js
|
|
22758
22786
|
/**
|
|
22759
22787
|
* @since 4.0.0
|
|
22760
22788
|
*/
|
|
@@ -22814,7 +22842,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
|
|
|
22814
22842
|
*/
|
|
22815
22843
|
const badArgument = (options) => new PlatformError(new BadArgument(options));
|
|
22816
22844
|
//#endregion
|
|
22817
|
-
//#region node_modules/.pnpm/effect@
|
|
22845
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Chunk.js
|
|
22818
22846
|
/**
|
|
22819
22847
|
* The `Chunk` module provides an immutable, high-performance sequence data structure
|
|
22820
22848
|
* optimized for functional programming patterns. A `Chunk` is a persistent data structure
|
|
@@ -23457,7 +23485,7 @@ const getCurrent = getCurrentFiber;
|
|
|
23457
23485
|
*/
|
|
23458
23486
|
const runIn = fiberRunIn;
|
|
23459
23487
|
//#endregion
|
|
23460
|
-
//#region node_modules/.pnpm/effect@
|
|
23488
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Latch.js
|
|
23461
23489
|
/**
|
|
23462
23490
|
* Creates a new Latch unsafely.
|
|
23463
23491
|
*
|
|
@@ -23529,7 +23557,7 @@ const makeUnsafe$9 = makeLatchUnsafe;
|
|
|
23529
23557
|
*/
|
|
23530
23558
|
const make$68 = makeLatch;
|
|
23531
23559
|
//#endregion
|
|
23532
|
-
//#region node_modules/.pnpm/effect@
|
|
23560
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/MutableList.js
|
|
23533
23561
|
/**
|
|
23534
23562
|
* @fileoverview
|
|
23535
23563
|
* MutableList is an efficient, mutable linked list implementation optimized for high-throughput
|
|
@@ -24111,7 +24139,7 @@ const filter$4 = (self, f) => {
|
|
|
24111
24139
|
*/
|
|
24112
24140
|
const remove$6 = (self, value) => filter$4(self, (v) => v !== value);
|
|
24113
24141
|
//#endregion
|
|
24114
|
-
//#region node_modules/.pnpm/effect@
|
|
24142
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/MutableRef.js
|
|
24115
24143
|
const TypeId$56 = "~effect/MutableRef";
|
|
24116
24144
|
const MutableRefProto = {
|
|
24117
24145
|
[TypeId$56]: TypeId$56,
|
|
@@ -24351,7 +24379,7 @@ const update = /* @__PURE__ */ dual(2, (self, f) => set$9(self, f(get$14(self)))
|
|
|
24351
24379
|
*/
|
|
24352
24380
|
const updateAndGet = /* @__PURE__ */ dual(2, (self, f) => setAndGet(self, f(get$14(self))));
|
|
24353
24381
|
//#endregion
|
|
24354
|
-
//#region node_modules/.pnpm/effect@
|
|
24382
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/PubSub.js
|
|
24355
24383
|
/**
|
|
24356
24384
|
* This module provides utilities for working with publish-subscribe (PubSub) systems.
|
|
24357
24385
|
*
|
|
@@ -25784,7 +25812,7 @@ const emptyReplayWindow = {
|
|
|
25784
25812
|
takeAll: () => []
|
|
25785
25813
|
};
|
|
25786
25814
|
//#endregion
|
|
25787
|
-
//#region node_modules/.pnpm/effect@
|
|
25815
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Queue.js
|
|
25788
25816
|
/**
|
|
25789
25817
|
* @since 3.8.0
|
|
25790
25818
|
*/
|
|
@@ -26603,7 +26631,7 @@ const finalize$1 = (self, exit) => {
|
|
|
26603
26631
|
openState.awaiters.clear();
|
|
26604
26632
|
};
|
|
26605
26633
|
//#endregion
|
|
26606
|
-
//#region node_modules/.pnpm/effect@
|
|
26634
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Semaphore.js
|
|
26607
26635
|
/**
|
|
26608
26636
|
* Unsafely creates a new Semaphore.
|
|
26609
26637
|
*
|
|
@@ -26719,14 +26747,14 @@ var SemaphoreImpl = class {
|
|
|
26719
26747
|
}
|
|
26720
26748
|
};
|
|
26721
26749
|
//#endregion
|
|
26722
|
-
//#region node_modules/.pnpm/effect@
|
|
26750
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Take.js
|
|
26723
26751
|
/**
|
|
26724
26752
|
* @since 4.0.0
|
|
26725
26753
|
* @category Conversions
|
|
26726
26754
|
*/
|
|
26727
26755
|
const toPull$2 = (take) => isExit(take) ? isSuccess$3(take) ? done(take.value) : take : succeed$3(take);
|
|
26728
26756
|
//#endregion
|
|
26729
|
-
//#region node_modules/.pnpm/effect@
|
|
26757
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Channel.js
|
|
26730
26758
|
/**
|
|
26731
26759
|
* The `Channel` module provides a powerful abstraction for bi-directional communication
|
|
26732
26760
|
* and streaming operations. A `Channel` is a nexus of I/O operations that supports both
|
|
@@ -28466,7 +28494,7 @@ const toPubSubTake$1 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(functi
|
|
|
28466
28494
|
return pubsub;
|
|
28467
28495
|
}));
|
|
28468
28496
|
//#endregion
|
|
28469
|
-
//#region node_modules/.pnpm/effect@
|
|
28497
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/stream.js
|
|
28470
28498
|
const TypeId$52 = "~effect/Stream";
|
|
28471
28499
|
const streamVariance = {
|
|
28472
28500
|
_R: identity,
|
|
@@ -28486,7 +28514,7 @@ const fromChannel$2 = (channel) => {
|
|
|
28486
28514
|
return self;
|
|
28487
28515
|
};
|
|
28488
28516
|
//#endregion
|
|
28489
|
-
//#region node_modules/.pnpm/effect@
|
|
28517
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Sink.js
|
|
28490
28518
|
const TypeId$51 = "~effect/Sink";
|
|
28491
28519
|
const endVoid = /* @__PURE__ */ succeed$3([void 0]);
|
|
28492
28520
|
const sinkVariance = {
|
|
@@ -28663,7 +28691,7 @@ const forEachArray = (f) => fromTransform((upstream) => upstream.pipe(flatMap$4(
|
|
|
28663
28691
|
*/
|
|
28664
28692
|
const unwrap$1 = (effect) => fromChannel$1(unwrap$2(map$9(effect, toChannel$1)));
|
|
28665
28693
|
//#endregion
|
|
28666
|
-
//#region node_modules/.pnpm/effect@
|
|
28694
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/MutableHashMap.js
|
|
28667
28695
|
const TypeId$50 = "~effect/collections/MutableHashMap";
|
|
28668
28696
|
const MutableHashMapProto = {
|
|
28669
28697
|
[TypeId$50]: TypeId$50,
|
|
@@ -29029,7 +29057,7 @@ const clear$1 = (self) => {
|
|
|
29029
29057
|
*/
|
|
29030
29058
|
const size$2 = (self) => self.backing.size;
|
|
29031
29059
|
//#endregion
|
|
29032
|
-
//#region node_modules/.pnpm/effect@
|
|
29060
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/RcMap.js
|
|
29033
29061
|
/**
|
|
29034
29062
|
* @since 3.5.0
|
|
29035
29063
|
*/
|
|
@@ -29227,7 +29255,7 @@ const invalidate$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function
|
|
|
29227
29255
|
yield* close(entry.scope, void_$2);
|
|
29228
29256
|
}, uninterruptible));
|
|
29229
29257
|
//#endregion
|
|
29230
|
-
//#region node_modules/.pnpm/effect@
|
|
29258
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/rcRef.js
|
|
29231
29259
|
const TypeId$48 = "~effect/RcRef";
|
|
29232
29260
|
const stateEmpty = { _tag: "Empty" };
|
|
29233
29261
|
const stateClosed = { _tag: "Closed" };
|
|
@@ -29315,7 +29343,7 @@ const get$11 = /* @__PURE__ */ fnUntraced(function* (self_) {
|
|
|
29315
29343
|
return state.value;
|
|
29316
29344
|
});
|
|
29317
29345
|
//#endregion
|
|
29318
|
-
//#region node_modules/.pnpm/effect@
|
|
29346
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/RcRef.js
|
|
29319
29347
|
/**
|
|
29320
29348
|
* Create an `RcRef` from an acquire `Effect`.
|
|
29321
29349
|
*
|
|
@@ -29384,7 +29412,7 @@ const make$60 = make$61;
|
|
|
29384
29412
|
*/
|
|
29385
29413
|
const get$10 = get$11;
|
|
29386
29414
|
//#endregion
|
|
29387
|
-
//#region node_modules/.pnpm/effect@
|
|
29415
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Stream.js
|
|
29388
29416
|
/**
|
|
29389
29417
|
* @since 2.0.0
|
|
29390
29418
|
*/
|
|
@@ -31401,7 +31429,7 @@ const runIntoPubSub = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, p
|
|
|
31401
31429
|
*/
|
|
31402
31430
|
const toPubSubTake = /* @__PURE__ */ dual(2, (self, options) => toPubSubTake$1(self.channel, options));
|
|
31403
31431
|
//#endregion
|
|
31404
|
-
//#region node_modules/.pnpm/effect@
|
|
31432
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/FileSystem.js
|
|
31405
31433
|
/**
|
|
31406
31434
|
* This module provides a comprehensive file system abstraction that supports both synchronous
|
|
31407
31435
|
* and asynchronous file operations through Effect. It includes utilities for file I/O, directory
|
|
@@ -31625,7 +31653,7 @@ const FileDescriptor = /* @__PURE__ */ nominal();
|
|
|
31625
31653
|
*/
|
|
31626
31654
|
var WatchBackend = class extends Service$1()("effect/platform/FileSystem/WatchBackend") {};
|
|
31627
31655
|
//#endregion
|
|
31628
|
-
//#region node_modules/.pnpm/effect@
|
|
31656
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Path.js
|
|
31629
31657
|
/**
|
|
31630
31658
|
* @since 4.0.0
|
|
31631
31659
|
*/
|
|
@@ -32049,7 +32077,7 @@ const posixImpl = /* @__PURE__ */ Path$1.of({
|
|
|
32049
32077
|
toNamespacedPath: identity
|
|
32050
32078
|
});
|
|
32051
32079
|
//#endregion
|
|
32052
|
-
//#region node_modules/.pnpm/effect@
|
|
32080
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/ConfigProvider.js
|
|
32053
32081
|
/**
|
|
32054
32082
|
* Creates a `Value` node representing a terminal string leaf.
|
|
32055
32083
|
*
|
|
@@ -32355,7 +32383,7 @@ function trieNodeAt(root, path) {
|
|
|
32355
32383
|
*/
|
|
32356
32384
|
const isLessThan$1 = /* @__PURE__ */ isLessThan$4(LogLevelOrder);
|
|
32357
32385
|
//#endregion
|
|
32358
|
-
//#region node_modules/.pnpm/effect@
|
|
32386
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/hashMap.js
|
|
32359
32387
|
/**
|
|
32360
32388
|
* @since 2.0.0
|
|
32361
32389
|
*/
|
|
@@ -32939,7 +32967,7 @@ const set$6 = set$7;
|
|
|
32939
32967
|
*/
|
|
32940
32968
|
const remove$3 = remove$4;
|
|
32941
32969
|
//#endregion
|
|
32942
|
-
//#region node_modules/.pnpm/effect@
|
|
32970
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Struct.js
|
|
32943
32971
|
/**
|
|
32944
32972
|
* Creates a new struct containing only the specified keys.
|
|
32945
32973
|
*
|
|
@@ -33043,7 +33071,7 @@ function buildStruct(source, f) {
|
|
|
33043
33071
|
return out;
|
|
33044
33072
|
}
|
|
33045
33073
|
//#endregion
|
|
33046
|
-
//#region node_modules/.pnpm/effect@
|
|
33074
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/UndefinedOr.js
|
|
33047
33075
|
/**
|
|
33048
33076
|
* @since 4.0.0
|
|
33049
33077
|
*/
|
|
@@ -33053,7 +33081,7 @@ const map$4 = /* @__PURE__ */ dual(2, (self, f) => self === void 0 ? void 0 : f(
|
|
|
33053
33081
|
*/
|
|
33054
33082
|
const match$1 = /* @__PURE__ */ dual(2, (self, { onDefined, onUndefined }) => self === void 0 ? onUndefined() : onDefined(self));
|
|
33055
33083
|
//#endregion
|
|
33056
|
-
//#region node_modules/.pnpm/effect@
|
|
33084
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SchemaParser.js
|
|
33057
33085
|
/**
|
|
33058
33086
|
* @since 4.0.0
|
|
33059
33087
|
*/
|
|
@@ -33255,7 +33283,7 @@ const recur$1 = /* @__PURE__ */ memoize((ast) => {
|
|
|
33255
33283
|
};
|
|
33256
33284
|
});
|
|
33257
33285
|
//#endregion
|
|
33258
|
-
//#region node_modules/.pnpm/effect@
|
|
33286
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/JsonPointer.js
|
|
33259
33287
|
/**
|
|
33260
33288
|
* Utilities for escaping and unescaping JSON Pointer reference tokens according to RFC 6901.
|
|
33261
33289
|
*
|
|
@@ -33348,7 +33376,7 @@ function escapeToken(token) {
|
|
|
33348
33376
|
return token.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
33349
33377
|
}
|
|
33350
33378
|
//#endregion
|
|
33351
|
-
//#region node_modules/.pnpm/effect@
|
|
33379
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/schema/schema.js
|
|
33352
33380
|
/** @internal */
|
|
33353
33381
|
const TypeId$44 = "~effect/Schema/Schema";
|
|
33354
33382
|
const SchemaProto = {
|
|
@@ -33377,7 +33405,7 @@ function make$55(ast, options) {
|
|
|
33377
33405
|
return self;
|
|
33378
33406
|
}
|
|
33379
33407
|
//#endregion
|
|
33380
|
-
//#region node_modules/.pnpm/effect@
|
|
33408
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/schema/to-codec.js
|
|
33381
33409
|
/** @internal */
|
|
33382
33410
|
const toCodecJson$1 = /* @__PURE__ */ toCodec((ast) => {
|
|
33383
33411
|
const out = toCodecJsonBase(ast);
|
|
@@ -33445,7 +33473,7 @@ function makeReorder(getPriority) {
|
|
|
33445
33473
|
};
|
|
33446
33474
|
}
|
|
33447
33475
|
//#endregion
|
|
33448
|
-
//#region node_modules/.pnpm/effect@
|
|
33476
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/internal/schema/representation.js
|
|
33449
33477
|
/** @internal */
|
|
33450
33478
|
function fromAST(ast) {
|
|
33451
33479
|
const { references, representations: schemas } = fromASTs([ast]);
|
|
@@ -34001,7 +34029,7 @@ function getPartPattern(part) {
|
|
|
34001
34029
|
}
|
|
34002
34030
|
}
|
|
34003
34031
|
//#endregion
|
|
34004
|
-
//#region node_modules/.pnpm/effect@
|
|
34032
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Schema.js
|
|
34005
34033
|
/**
|
|
34006
34034
|
* Define data shapes, validate unknown input, and transform values between formats.
|
|
34007
34035
|
*
|
|
@@ -36686,7 +36714,7 @@ const Json = /* @__PURE__ */ make$54(Json$1);
|
|
|
36686
36714
|
*/
|
|
36687
36715
|
const MutableJson = /* @__PURE__ */ make$54(MutableJson$1);
|
|
36688
36716
|
//#endregion
|
|
36689
|
-
//#region node_modules/.pnpm/effect@
|
|
36717
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Config.js
|
|
36690
36718
|
const TypeId$42 = "~effect/Config";
|
|
36691
36719
|
/**
|
|
36692
36720
|
* The error type produced when config loading or validation fails.
|
|
@@ -37139,7 +37167,7 @@ function int$1(name) {
|
|
|
37139
37167
|
return schema$2(Int, name);
|
|
37140
37168
|
}
|
|
37141
37169
|
//#endregion
|
|
37142
|
-
//#region node_modules/.pnpm/effect@
|
|
37170
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Runtime.js
|
|
37143
37171
|
/**
|
|
37144
37172
|
* This module provides utilities for running Effect programs and managing their execution lifecycle.
|
|
37145
37173
|
*
|
|
@@ -37345,7 +37373,7 @@ const getErrorReported = (u) => {
|
|
|
37345
37373
|
return true;
|
|
37346
37374
|
};
|
|
37347
37375
|
//#endregion
|
|
37348
|
-
//#region node_modules/.pnpm/effect@
|
|
37376
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/CliError.js
|
|
37349
37377
|
/**
|
|
37350
37378
|
* @since 4.0.0
|
|
37351
37379
|
*/
|
|
@@ -48435,7 +48463,7 @@ const getTypeName = (primitive) => {
|
|
|
48435
48463
|
/** @internal */
|
|
48436
48464
|
const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
|
|
48437
48465
|
//#endregion
|
|
48438
|
-
//#region node_modules/.pnpm/effect@
|
|
48466
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Terminal.js
|
|
48439
48467
|
const TypeId$40 = "~effect/platform/Terminal";
|
|
48440
48468
|
const QuitErrorTypeId = "effect/platform/Terminal/QuitError";
|
|
48441
48469
|
/**
|
|
@@ -48472,7 +48500,7 @@ const make$52 = (impl) => Terminal.of({
|
|
|
48472
48500
|
[TypeId$40]: TypeId$40
|
|
48473
48501
|
});
|
|
48474
48502
|
//#endregion
|
|
48475
|
-
//#region node_modules/.pnpm/effect@
|
|
48503
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/ansi.js
|
|
48476
48504
|
const ESC = "\x1B[";
|
|
48477
48505
|
const SEP = ";";
|
|
48478
48506
|
/** @internal */
|
|
@@ -48548,7 +48576,7 @@ const eraseLines = (rows) => {
|
|
|
48548
48576
|
return command;
|
|
48549
48577
|
};
|
|
48550
48578
|
//#endregion
|
|
48551
|
-
//#region node_modules/.pnpm/effect@
|
|
48579
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Prompt.js
|
|
48552
48580
|
/**
|
|
48553
48581
|
* @since 4.0.0
|
|
48554
48582
|
*/
|
|
@@ -49548,7 +49576,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
|
|
|
49548
49576
|
};
|
|
49549
49577
|
};
|
|
49550
49578
|
//#endregion
|
|
49551
|
-
//#region node_modules/.pnpm/effect@
|
|
49579
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Param.js
|
|
49552
49580
|
/**
|
|
49553
49581
|
* @internal
|
|
49554
49582
|
*
|
|
@@ -50238,7 +50266,7 @@ const getParamMetadata = (param) => {
|
|
|
50238
50266
|
});
|
|
50239
50267
|
};
|
|
50240
50268
|
//#endregion
|
|
50241
|
-
//#region node_modules/.pnpm/effect@
|
|
50269
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Argument.js
|
|
50242
50270
|
/**
|
|
50243
50271
|
* Creates a positional path argument.
|
|
50244
50272
|
*
|
|
@@ -50270,7 +50298,7 @@ const path = (name, options) => path$1(argumentKind, name, options);
|
|
|
50270
50298
|
*/
|
|
50271
50299
|
const withDescription$2 = /* @__PURE__ */ dual(2, (self, description) => withDescription$3(self, description));
|
|
50272
50300
|
//#endregion
|
|
50273
|
-
//#region node_modules/.pnpm/effect@
|
|
50301
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/CliOutput.js
|
|
50274
50302
|
/**
|
|
50275
50303
|
* Service reference for the CLI output formatter. Provides a default implementation
|
|
50276
50304
|
* that can be overridden for custom formatting or testing.
|
|
@@ -50512,7 +50540,7 @@ const formatHelpDocImpl = (doc, colors) => {
|
|
|
50512
50540
|
return sections.join("\n");
|
|
50513
50541
|
};
|
|
50514
50542
|
//#endregion
|
|
50515
|
-
//#region node_modules/.pnpm/effect@
|
|
50543
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Console.js
|
|
50516
50544
|
/**
|
|
50517
50545
|
* A reference to the current console service in the Effect system.
|
|
50518
50546
|
*
|
|
@@ -50628,7 +50656,7 @@ const warn = (...args) => consoleWith((console) => sync$2(() => {
|
|
|
50628
50656
|
console.warn(...args);
|
|
50629
50657
|
}));
|
|
50630
50658
|
//#endregion
|
|
50631
|
-
//#region node_modules/.pnpm/effect@
|
|
50659
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Stdio.js
|
|
50632
50660
|
/**
|
|
50633
50661
|
* @since 4.0.0
|
|
50634
50662
|
* @category Type IDs
|
|
@@ -50648,7 +50676,7 @@ const make$51 = (options) => ({
|
|
|
50648
50676
|
...options
|
|
50649
50677
|
});
|
|
50650
50678
|
//#endregion
|
|
50651
|
-
//#region node_modules/.pnpm/effect@
|
|
50679
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
|
|
50652
50680
|
const escapeForBash = (s) => s.replace(/'/g, "'\\''");
|
|
50653
50681
|
const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
|
|
50654
50682
|
const flagNamesForWordlist = (flag) => {
|
|
@@ -50799,7 +50827,7 @@ const generate$3 = (executableName, descriptor) => {
|
|
|
50799
50827
|
return lines.join("\n");
|
|
50800
50828
|
};
|
|
50801
50829
|
//#endregion
|
|
50802
|
-
//#region node_modules/.pnpm/effect@
|
|
50830
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
|
|
50803
50831
|
const escapeFishString = (s) => s.replace(/'/g, "\\'");
|
|
50804
50832
|
/**
|
|
50805
50833
|
* Build a Fish condition that checks the current subcommand context.
|
|
@@ -50937,7 +50965,7 @@ const generate$2 = (executableName, descriptor) => {
|
|
|
50937
50965
|
return lines.join("\n");
|
|
50938
50966
|
};
|
|
50939
50967
|
//#endregion
|
|
50940
|
-
//#region node_modules/.pnpm/effect@
|
|
50968
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
|
|
50941
50969
|
const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
|
|
50942
50970
|
const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
|
|
50943
50971
|
/**
|
|
@@ -51074,7 +51102,7 @@ const generate$1 = (executableName, descriptor) => {
|
|
|
51074
51102
|
return lines.join("\n");
|
|
51075
51103
|
};
|
|
51076
51104
|
//#endregion
|
|
51077
|
-
//#region node_modules/.pnpm/effect@
|
|
51105
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Completions.js
|
|
51078
51106
|
/**
|
|
51079
51107
|
* @since 4.0.0
|
|
51080
51108
|
*/
|
|
@@ -51092,7 +51120,7 @@ const generate = (executableName, shell, descriptor) => {
|
|
|
51092
51120
|
}
|
|
51093
51121
|
};
|
|
51094
51122
|
//#endregion
|
|
51095
|
-
//#region node_modules/.pnpm/effect@
|
|
51123
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Flag.js
|
|
51096
51124
|
/**
|
|
51097
51125
|
* Creates a boolean flag that can be enabled or disabled.
|
|
51098
51126
|
*
|
|
@@ -51325,7 +51353,7 @@ const withFallbackConfig = /* @__PURE__ */ dual(2, (self, config) => withFallbac
|
|
|
51325
51353
|
*/
|
|
51326
51354
|
const map$1 = /* @__PURE__ */ dual(2, (self, f) => map$2(self, f));
|
|
51327
51355
|
//#endregion
|
|
51328
|
-
//#region node_modules/.pnpm/effect@
|
|
51356
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/config.js
|
|
51329
51357
|
const ConfigInternalTypeId = "~effect/cli/Command/Config/Internal";
|
|
51330
51358
|
/**
|
|
51331
51359
|
* Parses a Command.Config into a ConfigInternal.
|
|
@@ -51431,7 +51459,7 @@ const reconstructTree = (tree, results) => {
|
|
|
51431
51459
|
}
|
|
51432
51460
|
};
|
|
51433
51461
|
//#endregion
|
|
51434
|
-
//#region node_modules/.pnpm/effect@
|
|
51462
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/command.js
|
|
51435
51463
|
/**
|
|
51436
51464
|
* Command Implementation
|
|
51437
51465
|
* ======================
|
|
@@ -51603,7 +51631,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
|
|
|
51603
51631
|
}
|
|
51604
51632
|
};
|
|
51605
51633
|
//#endregion
|
|
51606
|
-
//#region node_modules/.pnpm/effect@
|
|
51634
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/completions/CommandDescriptor.js
|
|
51607
51635
|
/**
|
|
51608
51636
|
* CommandDescriptor — pure-data representation of a command tree for
|
|
51609
51637
|
* shell completion generation.
|
|
@@ -51691,7 +51719,7 @@ const fromCommand = (cmd) => {
|
|
|
51691
51719
|
};
|
|
51692
51720
|
};
|
|
51693
51721
|
//#endregion
|
|
51694
|
-
//#region node_modules/.pnpm/effect@
|
|
51722
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/help.js
|
|
51695
51723
|
/**
|
|
51696
51724
|
* Help Documentation
|
|
51697
51725
|
* ================
|
|
@@ -51794,7 +51822,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
|
|
|
51794
51822
|
};
|
|
51795
51823
|
});
|
|
51796
51824
|
//#endregion
|
|
51797
|
-
//#region node_modules/.pnpm/effect@
|
|
51825
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/GlobalFlag.js
|
|
51798
51826
|
/**
|
|
51799
51827
|
* @since 4.0.0
|
|
51800
51828
|
*/
|
|
@@ -51904,7 +51932,7 @@ const BuiltIns = [
|
|
|
51904
51932
|
LogLevel
|
|
51905
51933
|
];
|
|
51906
51934
|
//#endregion
|
|
51907
|
-
//#region node_modules/.pnpm/effect@
|
|
51935
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/lexer.js
|
|
51908
51936
|
/** @internal */
|
|
51909
51937
|
function lex(argv) {
|
|
51910
51938
|
const endIndex = argv.indexOf("--");
|
|
@@ -51955,7 +51983,7 @@ const lexTokens = (args) => {
|
|
|
51955
51983
|
return tokens;
|
|
51956
51984
|
};
|
|
51957
51985
|
//#endregion
|
|
51958
|
-
//#region node_modules/.pnpm/effect@
|
|
51986
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
|
|
51959
51987
|
/**
|
|
51960
51988
|
* Simple Levenshtein distance implementation (small N, no perf worries)
|
|
51961
51989
|
*/
|
|
@@ -51983,7 +52011,7 @@ const suggest = (input, candidates) => {
|
|
|
51983
52011
|
return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
|
|
51984
52012
|
};
|
|
51985
52013
|
//#endregion
|
|
51986
|
-
//#region node_modules/.pnpm/effect@
|
|
52014
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/internal/parser.js
|
|
51987
52015
|
/**
|
|
51988
52016
|
* Parsing Pipeline for CLI Commands
|
|
51989
52017
|
* ==================================
|
|
@@ -52305,7 +52333,7 @@ const scanCommandLevel = (tokens, context) => {
|
|
|
52305
52333
|
return toLeafResult(state);
|
|
52306
52334
|
};
|
|
52307
52335
|
//#endregion
|
|
52308
|
-
//#region node_modules/.pnpm/effect@
|
|
52336
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/cli/Command.js
|
|
52309
52337
|
/**
|
|
52310
52338
|
* @since 4.0.0
|
|
52311
52339
|
* @category Guards
|
|
@@ -52803,7 +52831,7 @@ const runWith = (command, config) => {
|
|
|
52803
52831
|
}, catchFilter$2((error) => isCliError(error) && error._tag === "ShowHelp" ? succeed$8(error) : fail$10(error), (error) => andThen(showHelp(command, error), fail$6(error))), catchFilter$2((e) => isQuitError(e) ? succeed$8(e) : fail$10(e), (_) => interrupt$1));
|
|
52804
52832
|
};
|
|
52805
52833
|
//#endregion
|
|
52806
|
-
//#region node_modules/.pnpm/effect@
|
|
52834
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Cache.js
|
|
52807
52835
|
/**
|
|
52808
52836
|
* @since 4.0.0
|
|
52809
52837
|
*/
|
|
@@ -53220,7 +53248,7 @@ const invalidate$1 = /* @__PURE__ */ dual(2, (self, key) => sync$2(() => {
|
|
|
53220
53248
|
remove$5(self.map, key);
|
|
53221
53249
|
}));
|
|
53222
53250
|
//#endregion
|
|
53223
|
-
//#region node_modules/.pnpm/effect@
|
|
53251
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/ChannelSchema.js
|
|
53224
53252
|
/**
|
|
53225
53253
|
* @since 4.0.0
|
|
53226
53254
|
* @category constructors
|
|
@@ -53249,7 +53277,7 @@ const decode$4 = (schema) => () => {
|
|
|
53249
53277
|
*/
|
|
53250
53278
|
const ignore = "~effect/ErrorReporter/ignore";
|
|
53251
53279
|
//#endregion
|
|
53252
|
-
//#region node_modules/.pnpm/effect@
|
|
53280
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/FiberHandle.js
|
|
53253
53281
|
/**
|
|
53254
53282
|
* @since 2.0.0
|
|
53255
53283
|
*/
|
|
@@ -53444,7 +53472,7 @@ const runImpl$2 = (self, effect, options) => withFiber((parent) => {
|
|
|
53444
53472
|
return succeed$3(fiber);
|
|
53445
53473
|
});
|
|
53446
53474
|
//#endregion
|
|
53447
|
-
//#region node_modules/.pnpm/effect@
|
|
53475
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/FiberMap.js
|
|
53448
53476
|
/**
|
|
53449
53477
|
* @since 2.0.0
|
|
53450
53478
|
*/
|
|
@@ -53674,7 +53702,7 @@ const runImpl$1 = (self, key, effect, options) => withFiber((parent) => {
|
|
|
53674
53702
|
return succeed$3(fiber);
|
|
53675
53703
|
});
|
|
53676
53704
|
//#endregion
|
|
53677
|
-
//#region node_modules/.pnpm/effect@
|
|
53705
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/FiberSet.js
|
|
53678
53706
|
/**
|
|
53679
53707
|
* @since 2.0.0
|
|
53680
53708
|
*/
|
|
@@ -53926,7 +53954,7 @@ const awaitEmpty = (self) => whileLoop({
|
|
|
53926
53954
|
step: constVoid
|
|
53927
53955
|
});
|
|
53928
53956
|
//#endregion
|
|
53929
|
-
//#region node_modules/.pnpm/effect@
|
|
53957
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/PrimaryKey.js
|
|
53930
53958
|
/**
|
|
53931
53959
|
* The unique identifier used to identify objects that implement the `PrimaryKey` interface.
|
|
53932
53960
|
*
|
|
@@ -53963,7 +53991,7 @@ const symbol$2 = "~effect/interfaces/PrimaryKey";
|
|
|
53963
53991
|
*/
|
|
53964
53992
|
const value$1 = (self) => self[symbol$2]();
|
|
53965
53993
|
//#endregion
|
|
53966
|
-
//#region node_modules/.pnpm/effect@
|
|
53994
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/LayerMap.js
|
|
53967
53995
|
const TypeId$31 = "~effect/LayerMap";
|
|
53968
53996
|
/**
|
|
53969
53997
|
* @since 3.14.0
|
|
@@ -54129,7 +54157,7 @@ const Service = () => (id, options) => {
|
|
|
54129
54157
|
return TagClass;
|
|
54130
54158
|
};
|
|
54131
54159
|
//#endregion
|
|
54132
|
-
//#region node_modules/.pnpm/effect@
|
|
54160
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Logger.js
|
|
54133
54161
|
/**
|
|
54134
54162
|
* @since 2.0.0
|
|
54135
54163
|
*
|
|
@@ -54256,7 +54284,7 @@ const Service = () => (id, options) => {
|
|
|
54256
54284
|
*/
|
|
54257
54285
|
const CurrentLoggers = CurrentLoggers$1;
|
|
54258
54286
|
//#endregion
|
|
54259
|
-
//#region node_modules/.pnpm/effect@
|
|
54287
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Random.js
|
|
54260
54288
|
/**
|
|
54261
54289
|
* The Random module provides a service for generating random numbers in Effect
|
|
54262
54290
|
* programs. It offers a testable and composable way to work with randomness,
|
|
@@ -54349,7 +54377,7 @@ const shuffle = (elements) => randomWith((r) => {
|
|
|
54349
54377
|
return buffer;
|
|
54350
54378
|
});
|
|
54351
54379
|
//#endregion
|
|
54352
|
-
//#region node_modules/.pnpm/effect@
|
|
54380
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Ref.js
|
|
54353
54381
|
const RefProto = {
|
|
54354
54382
|
["~effect/Ref"]: { _A: identity },
|
|
54355
54383
|
...PipeInspectableProto,
|
|
@@ -54390,7 +54418,7 @@ const makeUnsafe$2 = (value) => {
|
|
|
54390
54418
|
return self;
|
|
54391
54419
|
};
|
|
54392
54420
|
//#endregion
|
|
54393
|
-
//#region node_modules/.pnpm/effect@
|
|
54421
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/reactivity/Reactivity.js
|
|
54394
54422
|
/**
|
|
54395
54423
|
* @since 4.0.0
|
|
54396
54424
|
*/
|
|
@@ -54525,7 +54553,7 @@ const keysToHashes = (keys, f) => {
|
|
|
54525
54553
|
}
|
|
54526
54554
|
};
|
|
54527
54555
|
//#endregion
|
|
54528
|
-
//#region node_modules/.pnpm/effect@
|
|
54556
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/persistence/KeyValueStore.js
|
|
54529
54557
|
/**
|
|
54530
54558
|
* @since 4.0.0
|
|
54531
54559
|
*/
|
|
@@ -54667,7 +54695,7 @@ const toSchemaStore = (self, schema) => {
|
|
|
54667
54695
|
};
|
|
54668
54696
|
};
|
|
54669
54697
|
//#endregion
|
|
54670
|
-
//#region node_modules/.pnpm/effect@
|
|
54698
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/persistence/Persistable.js
|
|
54671
54699
|
/**
|
|
54672
54700
|
* @since 4.0.0
|
|
54673
54701
|
* @category Symbols
|
|
@@ -54721,7 +54749,7 @@ const deserializeExit = (self, encoded) => {
|
|
|
54721
54749
|
return decodeUnknownEffect(toCodecJson(exitSchema$1(self)))(encoded);
|
|
54722
54750
|
};
|
|
54723
54751
|
//#endregion
|
|
54724
|
-
//#region node_modules/.pnpm/effect@
|
|
54752
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/persistence/Persistence.js
|
|
54725
54753
|
/**
|
|
54726
54754
|
* @since 4.0.0
|
|
54727
54755
|
*/
|
|
@@ -54897,7 +54925,7 @@ const layerKvs$1 = /* @__PURE__ */ layer$25.pipe(/* @__PURE__ */ provide$3(layer
|
|
|
54897
54925
|
*/
|
|
54898
54926
|
const unsafeTtlToExpires = (clock, ttl) => ttl ? clock.currentTimeMillisUnsafe() + toMillis(ttl) : null;
|
|
54899
54927
|
//#endregion
|
|
54900
|
-
//#region node_modules/.pnpm/effect@
|
|
54928
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SynchronizedRef.js
|
|
54901
54929
|
const TypeId$29 = "~effect/SynchronizedRef";
|
|
54902
54930
|
const Proto$15 = {
|
|
54903
54931
|
...PipeInspectableProto,
|
|
@@ -54920,7 +54948,7 @@ const makeUnsafe$1 = (value) => {
|
|
|
54920
54948
|
return self;
|
|
54921
54949
|
};
|
|
54922
54950
|
//#endregion
|
|
54923
|
-
//#region node_modules/.pnpm/effect@
|
|
54951
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/ScopedRef.js
|
|
54924
54952
|
/**
|
|
54925
54953
|
* @since 2.0.0
|
|
54926
54954
|
*/
|
|
@@ -54985,7 +55013,7 @@ const set$4 = /* @__PURE__ */ dual(2, /* @__PURE__ */ fnUntraced(function* (self
|
|
|
54985
55013
|
self.backing.backing.ref.current = [scope, value];
|
|
54986
55014
|
}, uninterruptible, (effect, self) => self.backing.semaphore.withPermit(effect)));
|
|
54987
55015
|
//#endregion
|
|
54988
|
-
//#region node_modules/.pnpm/effect@
|
|
55016
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/SubscriptionRef.js
|
|
54989
55017
|
/**
|
|
54990
55018
|
* @since 2.0.0
|
|
54991
55019
|
*/
|
|
@@ -55072,7 +55100,7 @@ const setUnsafe = (self, value) => {
|
|
|
55072
55100
|
*/
|
|
55073
55101
|
const set$3 = /* @__PURE__ */ dual(2, (self, value) => self.semaphore.withPermit(sync(() => setUnsafe(self, value))));
|
|
55074
55102
|
//#endregion
|
|
55075
|
-
//#region node_modules/.pnpm/effect@
|
|
55103
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/Unify.js
|
|
55076
55104
|
/**
|
|
55077
55105
|
* @since 2.0.0
|
|
55078
55106
|
*/
|
|
@@ -56492,7 +56520,7 @@ var Mime = class {
|
|
|
56492
56520
|
};
|
|
56493
56521
|
_Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
|
|
56494
56522
|
//#endregion
|
|
56495
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
56523
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/Mime.js
|
|
56496
56524
|
/**
|
|
56497
56525
|
* @since 1.0.0
|
|
56498
56526
|
*/
|
|
@@ -56502,7 +56530,7 @@ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /
|
|
|
56502
56530
|
*/
|
|
56503
56531
|
var Mime_default = new Mime(types$1, types$2)._freeze();
|
|
56504
56532
|
//#endregion
|
|
56505
|
-
//#region node_modules/.pnpm/effect@
|
|
56533
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/process/ChildProcessSpawner.js
|
|
56506
56534
|
/**
|
|
56507
56535
|
* A module providing a generic service interface for spawning child processes.
|
|
56508
56536
|
*
|
|
@@ -56565,7 +56593,7 @@ const make$41 = (spawn) => {
|
|
|
56565
56593
|
*/
|
|
56566
56594
|
var ChildProcessSpawner = class extends Service$1()("effect/process/ChildProcessSpawner") {};
|
|
56567
56595
|
//#endregion
|
|
56568
|
-
//#region node_modules/.pnpm/effect@
|
|
56596
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/process/ChildProcess.js
|
|
56569
56597
|
const TypeId$26 = "~effect/unstable/process/ChildProcess";
|
|
56570
56598
|
const Proto$12 = {
|
|
56571
56599
|
...PipeInspectableProto,
|
|
@@ -56849,7 +56877,7 @@ const concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || pre
|
|
|
56849
56877
|
...nextTokens.slice(1)
|
|
56850
56878
|
];
|
|
56851
56879
|
//#endregion
|
|
56852
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
56880
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/internal/utils.js
|
|
56853
56881
|
/** @internal */
|
|
56854
56882
|
const handleErrnoException = (module, method) => (err, [path]) => {
|
|
56855
56883
|
let reason = "Unknown";
|
|
@@ -56886,7 +56914,7 @@ const handleErrnoException = (module, method) => (err, [path]) => {
|
|
|
56886
56914
|
});
|
|
56887
56915
|
};
|
|
56888
56916
|
//#endregion
|
|
56889
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
56917
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
56890
56918
|
/**
|
|
56891
56919
|
* @category constructors
|
|
56892
56920
|
* @since 1.0.0
|
|
@@ -56930,7 +56958,7 @@ const pullIntoWritable = (options) => options.pull.pipe(flatMap$4((chunk) => {
|
|
|
56930
56958
|
});
|
|
56931
56959
|
}) : identity);
|
|
56932
56960
|
//#endregion
|
|
56933
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
56961
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/NodeStream.js
|
|
56934
56962
|
/**
|
|
56935
56963
|
* @since 1.0.0
|
|
56936
56964
|
*/
|
|
@@ -57096,7 +57124,7 @@ var StreamAdapter = class extends Readable {
|
|
|
57096
57124
|
};
|
|
57097
57125
|
const defaultOnError = (error) => new UnknownError$1(error);
|
|
57098
57126
|
//#endregion
|
|
57099
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
57127
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
57100
57128
|
const toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
|
|
57101
57129
|
const toPlatformError = (method, error, command) => {
|
|
57102
57130
|
const { commands } = flattenCommand(command);
|
|
@@ -57430,7 +57458,7 @@ const flattenCommand = (command) => {
|
|
|
57430
57458
|
};
|
|
57431
57459
|
};
|
|
57432
57460
|
//#endregion
|
|
57433
|
-
//#region node_modules/.pnpm/effect@
|
|
57461
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/Cookies.js
|
|
57434
57462
|
/**
|
|
57435
57463
|
* @since 4.0.0
|
|
57436
57464
|
*/
|
|
@@ -57694,7 +57722,7 @@ const tryDecodeURIComponent = (str) => {
|
|
|
57694
57722
|
}
|
|
57695
57723
|
};
|
|
57696
57724
|
//#endregion
|
|
57697
|
-
//#region node_modules/.pnpm/effect@
|
|
57725
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/Headers.js
|
|
57698
57726
|
/**
|
|
57699
57727
|
* @since 4.0.0
|
|
57700
57728
|
*/
|
|
@@ -57817,7 +57845,7 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
|
|
|
57817
57845
|
"x-api-key"
|
|
57818
57846
|
] });
|
|
57819
57847
|
//#endregion
|
|
57820
|
-
//#region node_modules/.pnpm/effect@
|
|
57848
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpClientError.js
|
|
57821
57849
|
/**
|
|
57822
57850
|
* @since 4.0.0
|
|
57823
57851
|
*/
|
|
@@ -57955,7 +57983,7 @@ var EmptyBodyError = class extends TaggedError("EmptyBodyError") {
|
|
|
57955
57983
|
}
|
|
57956
57984
|
};
|
|
57957
57985
|
//#endregion
|
|
57958
|
-
//#region node_modules/.pnpm/effect@
|
|
57986
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/UrlParams.js
|
|
57959
57987
|
/**
|
|
57960
57988
|
* @since 4.0.0
|
|
57961
57989
|
*/
|
|
@@ -58167,7 +58195,7 @@ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decode
|
|
|
58167
58195
|
encode: fromInput
|
|
58168
58196
|
})));
|
|
58169
58197
|
//#endregion
|
|
58170
|
-
//#region node_modules/.pnpm/effect@
|
|
58198
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpBody.js
|
|
58171
58199
|
/**
|
|
58172
58200
|
* @since 4.0.0
|
|
58173
58201
|
*/
|
|
@@ -58306,7 +58334,7 @@ var FormData$1 = class extends Proto$8 {
|
|
|
58306
58334
|
*/
|
|
58307
58335
|
const formData = (body) => new FormData$1(body);
|
|
58308
58336
|
//#endregion
|
|
58309
|
-
//#region node_modules/.pnpm/effect@
|
|
58337
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpClientRequest.js
|
|
58310
58338
|
const TypeId$20 = "~effect/http/HttpClientRequest";
|
|
58311
58339
|
const Proto$7 = {
|
|
58312
58340
|
[TypeId$20]: TypeId$20,
|
|
@@ -58476,7 +58504,7 @@ const bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, url
|
|
|
58476
58504
|
*/
|
|
58477
58505
|
const bodyFormData = /* @__PURE__ */ dual(2, (self, body) => setBody(self, formData(body)));
|
|
58478
58506
|
//#endregion
|
|
58479
|
-
//#region node_modules/.pnpm/effect@
|
|
58507
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpIncomingMessage.js
|
|
58480
58508
|
/**
|
|
58481
58509
|
* @since 4.0.0
|
|
58482
58510
|
*/
|
|
@@ -58527,7 +58555,7 @@ const inspect$1 = (self, that) => {
|
|
|
58527
58555
|
return obj;
|
|
58528
58556
|
};
|
|
58529
58557
|
//#endregion
|
|
58530
|
-
//#region node_modules/.pnpm/effect@
|
|
58558
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpClientResponse.js
|
|
58531
58559
|
/**
|
|
58532
58560
|
* @since 4.0.0
|
|
58533
58561
|
*/
|
|
@@ -58668,7 +58696,7 @@ var WebHttpClientResponse = class extends Class$3 {
|
|
|
58668
58696
|
}
|
|
58669
58697
|
};
|
|
58670
58698
|
//#endregion
|
|
58671
|
-
//#region node_modules/.pnpm/effect@
|
|
58699
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpMethod.js
|
|
58672
58700
|
/**
|
|
58673
58701
|
* @since 4.0.0
|
|
58674
58702
|
*/
|
|
@@ -58683,7 +58711,7 @@ const allShort = [
|
|
|
58683
58711
|
["TRACE", "trace"]
|
|
58684
58712
|
];
|
|
58685
58713
|
//#endregion
|
|
58686
|
-
//#region node_modules/.pnpm/effect@
|
|
58714
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpTraceContext.js
|
|
58687
58715
|
/**
|
|
58688
58716
|
* @since 4.0.0
|
|
58689
58717
|
*/
|
|
@@ -58758,7 +58786,7 @@ const w3c = (headers) => {
|
|
|
58758
58786
|
}
|
|
58759
58787
|
};
|
|
58760
58788
|
//#endregion
|
|
58761
|
-
//#region node_modules/.pnpm/effect@
|
|
58789
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpClient.js
|
|
58762
58790
|
const TypeId$17 = "~effect/http/HttpClient";
|
|
58763
58791
|
/**
|
|
58764
58792
|
* @since 4.0.0
|
|
@@ -59621,7 +59649,7 @@ const httpMethods = [
|
|
|
59621
59649
|
*/
|
|
59622
59650
|
const make$33 = make$34;
|
|
59623
59651
|
//#endregion
|
|
59624
|
-
//#region node_modules/.pnpm/effect@
|
|
59652
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/Template.js
|
|
59625
59653
|
/**
|
|
59626
59654
|
* @since 4.0.0
|
|
59627
59655
|
*/
|
|
@@ -59670,7 +59698,7 @@ function isSuccess$1(u) {
|
|
|
59670
59698
|
return isExit(u) && u._tag === "Success";
|
|
59671
59699
|
}
|
|
59672
59700
|
//#endregion
|
|
59673
|
-
//#region node_modules/.pnpm/effect@
|
|
59701
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpServerResponse.js
|
|
59674
59702
|
/**
|
|
59675
59703
|
* @since 4.0.0
|
|
59676
59704
|
*/
|
|
@@ -59759,7 +59787,7 @@ const makeResponse$2 = (options) => {
|
|
|
59759
59787
|
return self;
|
|
59760
59788
|
};
|
|
59761
59789
|
//#endregion
|
|
59762
|
-
//#region node_modules/.pnpm/effect@
|
|
59790
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpServerRespondable.js
|
|
59763
59791
|
/**
|
|
59764
59792
|
* @since 4.0.0
|
|
59765
59793
|
*/
|
|
@@ -59796,7 +59824,7 @@ const toResponseOrElseDefect = (u, orElse) => {
|
|
|
59796
59824
|
return succeed$3(orElse);
|
|
59797
59825
|
};
|
|
59798
59826
|
//#endregion
|
|
59799
|
-
//#region node_modules/.pnpm/effect@
|
|
59827
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpServerError.js
|
|
59800
59828
|
/**
|
|
59801
59829
|
* @since 4.0.0
|
|
59802
59830
|
*/
|
|
@@ -59968,7 +59996,7 @@ const exitResponse = (exit) => {
|
|
|
59968
59996
|
return causeResponseStripped(exit.cause)[0];
|
|
59969
59997
|
};
|
|
59970
59998
|
//#endregion
|
|
59971
|
-
//#region node_modules/.pnpm/effect@
|
|
59999
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/socket/Socket.js
|
|
59972
60000
|
/**
|
|
59973
60001
|
* @since 4.0.0
|
|
59974
60002
|
* @category Type IDs
|
|
@@ -61087,7 +61115,7 @@ const make$28 = make$29;
|
|
|
61087
61115
|
const defaultIsFile = defaultIsFile$1;
|
|
61088
61116
|
const decodeField = decodeField$1;
|
|
61089
61117
|
//#endregion
|
|
61090
|
-
//#region node_modules/.pnpm/effect@
|
|
61118
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/Multipart.js
|
|
61091
61119
|
/**
|
|
61092
61120
|
* @since 4.0.0
|
|
61093
61121
|
*/
|
|
@@ -61219,7 +61247,7 @@ const MaxFileSize = /* @__PURE__ */ Reference("effect/http/Multipart/MaxFileSize
|
|
|
61219
61247
|
*/
|
|
61220
61248
|
const FieldMimeTypes = /* @__PURE__ */ Reference("effect/http/Multipart/FieldMimeTypes", { defaultValue: /* @__PURE__ */ constant(["application/json"]) });
|
|
61221
61249
|
//#endregion
|
|
61222
|
-
//#region node_modules/.pnpm/effect@
|
|
61250
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpServerRequest.js
|
|
61223
61251
|
/**
|
|
61224
61252
|
* @since 4.0.0
|
|
61225
61253
|
* @category Type IDs
|
|
@@ -61257,11 +61285,11 @@ const toURL = (self) => {
|
|
|
61257
61285
|
}
|
|
61258
61286
|
};
|
|
61259
61287
|
//#endregion
|
|
61260
|
-
//#region node_modules/.pnpm/effect@
|
|
61288
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/internal/preResponseHandler.js
|
|
61261
61289
|
/** @internal */
|
|
61262
61290
|
const requestPreResponseHandlers = /* @__PURE__ */ new WeakMap();
|
|
61263
61291
|
//#endregion
|
|
61264
|
-
//#region node_modules/.pnpm/effect@
|
|
61292
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpMiddleware.js
|
|
61265
61293
|
/**
|
|
61266
61294
|
* @since 4.0.0
|
|
61267
61295
|
*/
|
|
@@ -61359,7 +61387,7 @@ const tracer = /* @__PURE__ */ make$27((httpApp) => withFiber((fiber) => {
|
|
|
61359
61387
|
}, true);
|
|
61360
61388
|
}));
|
|
61361
61389
|
//#endregion
|
|
61362
|
-
//#region node_modules/.pnpm/effect@
|
|
61390
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpEffect.js
|
|
61363
61391
|
/**
|
|
61364
61392
|
* @since 4.0.0
|
|
61365
61393
|
* @category combinators
|
|
@@ -61429,7 +61457,7 @@ const scoped = (effect) => withFiber((fiber) => {
|
|
|
61429
61457
|
}, true);
|
|
61430
61458
|
});
|
|
61431
61459
|
//#endregion
|
|
61432
|
-
//#region node_modules/.pnpm/effect@
|
|
61460
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/Etag.js
|
|
61433
61461
|
/**
|
|
61434
61462
|
* @since 4.0.0
|
|
61435
61463
|
*/
|
|
@@ -61495,7 +61523,7 @@ const layerWeak = /* @__PURE__ */ succeed$4(Generator)({
|
|
|
61495
61523
|
}
|
|
61496
61524
|
});
|
|
61497
61525
|
//#endregion
|
|
61498
|
-
//#region node_modules/.pnpm/effect@
|
|
61526
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpPlatform.js
|
|
61499
61527
|
/**
|
|
61500
61528
|
* @since 4.0.0
|
|
61501
61529
|
*/
|
|
@@ -61534,7 +61562,7 @@ const make$26 = /* @__PURE__ */ fnUntraced(function* (impl) {
|
|
|
61534
61562
|
});
|
|
61535
61563
|
});
|
|
61536
61564
|
//#endregion
|
|
61537
|
-
//#region node_modules/.pnpm/effect@
|
|
61565
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpServer.js
|
|
61538
61566
|
/**
|
|
61539
61567
|
* @since 4.0.0
|
|
61540
61568
|
*/
|
|
@@ -61579,7 +61607,7 @@ const logAddress = /* @__PURE__ */ addressFormattedWith((_) => log$1(`Listening
|
|
|
61579
61607
|
*/
|
|
61580
61608
|
const withLogAddress = (layer) => effectDiscard(logAddress).pipe(provideMerge(layer));
|
|
61581
61609
|
//#endregion
|
|
61582
|
-
//#region node_modules/.pnpm/effect@
|
|
61610
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/HttpRouter.js
|
|
61583
61611
|
/**
|
|
61584
61612
|
* @since 4.0.0
|
|
61585
61613
|
*/
|
|
@@ -61895,7 +61923,7 @@ const serve = (appLayer, options) => {
|
|
|
61895
61923
|
}).pipe(unwrap$3, provideMerge(appLayer), provide$3(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
|
|
61896
61924
|
};
|
|
61897
61925
|
//#endregion
|
|
61898
|
-
//#region node_modules/.pnpm/effect@
|
|
61926
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/workers/Transferable.js
|
|
61899
61927
|
/**
|
|
61900
61928
|
* @since 1.0.0
|
|
61901
61929
|
*/
|
|
@@ -61929,7 +61957,7 @@ const makeCollectorUnsafe = () => {
|
|
|
61929
61957
|
});
|
|
61930
61958
|
};
|
|
61931
61959
|
//#endregion
|
|
61932
|
-
//#region node_modules/.pnpm/effect@
|
|
61960
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/RpcSchema.js
|
|
61933
61961
|
/**
|
|
61934
61962
|
* @since 4.0.0
|
|
61935
61963
|
*/
|
|
@@ -61962,7 +61990,7 @@ function Stream(success, error) {
|
|
|
61962
61990
|
}
|
|
61963
61991
|
Service$1()("effect/rpc/RpcSchema/ClientAbort");
|
|
61964
61992
|
//#endregion
|
|
61965
|
-
//#region node_modules/.pnpm/effect@
|
|
61993
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/Rpc.js
|
|
61966
61994
|
const TypeId$10 = "~effect/rpc/Rpc";
|
|
61967
61995
|
const Proto$4 = {
|
|
61968
61996
|
[TypeId$10]: TypeId$10,
|
|
@@ -62102,14 +62130,14 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
|
|
|
62102
62130
|
*/
|
|
62103
62131
|
const isWrapper = (u) => WrapperTypeId in u;
|
|
62104
62132
|
//#endregion
|
|
62105
|
-
//#region node_modules/.pnpm/effect@
|
|
62133
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/RpcMessage.js
|
|
62106
62134
|
/**
|
|
62107
62135
|
* @since 4.0.0
|
|
62108
62136
|
* @category request
|
|
62109
62137
|
*/
|
|
62110
62138
|
const RequestId = (id) => typeof id === "bigint" ? id : BigInt(id);
|
|
62111
62139
|
//#endregion
|
|
62112
|
-
//#region node_modules/.pnpm/effect@
|
|
62140
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/Utils.js
|
|
62113
62141
|
/**
|
|
62114
62142
|
* @since 4.0.0
|
|
62115
62143
|
*/
|
|
@@ -62140,7 +62168,7 @@ const withRun = () => (f) => suspend$3(() => {
|
|
|
62140
62168
|
}));
|
|
62141
62169
|
});
|
|
62142
62170
|
//#endregion
|
|
62143
|
-
//#region node_modules/.pnpm/effect@
|
|
62171
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/RpcClient.js
|
|
62144
62172
|
let requestIdCounter = /* @__PURE__ */ BigInt(0);
|
|
62145
62173
|
/**
|
|
62146
62174
|
* @since 4.0.0
|
|
@@ -62478,7 +62506,7 @@ var Protocol$1 = class extends Service$1()("effect/rpc/RpcClient/Protocol") {
|
|
|
62478
62506
|
};
|
|
62479
62507
|
const decodeDefect = /* @__PURE__ */ decodeSync(Defect);
|
|
62480
62508
|
//#endregion
|
|
62481
|
-
//#region node_modules/.pnpm/effect@
|
|
62509
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/rpc/RpcGroup.js
|
|
62482
62510
|
const RpcGroupProto = {
|
|
62483
62511
|
add(...rpcs) {
|
|
62484
62512
|
const requests = new Map(this.requests);
|
|
@@ -66104,7 +66132,7 @@ require_sender$1();
|
|
|
66104
66132
|
var import_websocket = /* @__PURE__ */ __toESM(require_websocket$1(), 1);
|
|
66105
66133
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
66106
66134
|
//#endregion
|
|
66107
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
66135
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
|
|
66108
66136
|
/**
|
|
66109
66137
|
* @since 1.0.0
|
|
66110
66138
|
*/
|
|
@@ -66442,7 +66470,7 @@ const makeFileSystem = /* @__PURE__ */ map$9(/* @__PURE__ */ serviceOption(Watch
|
|
|
66442
66470
|
writeFile: writeFile$1
|
|
66443
66471
|
}));
|
|
66444
66472
|
//#endregion
|
|
66445
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
66473
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeFileSystem.js
|
|
66446
66474
|
/**
|
|
66447
66475
|
* @since 1.0.0
|
|
66448
66476
|
*/
|
|
@@ -66452,7 +66480,7 @@ const makeFileSystem = /* @__PURE__ */ map$9(/* @__PURE__ */ serviceOption(Watch
|
|
|
66452
66480
|
*/
|
|
66453
66481
|
const layer$19 = /* @__PURE__ */ effect$1(FileSystem)(makeFileSystem);
|
|
66454
66482
|
//#endregion
|
|
66455
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
66483
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
66456
66484
|
/**
|
|
66457
66485
|
* @since 1.0.0
|
|
66458
66486
|
*/
|
|
@@ -87921,7 +87949,7 @@ var require_undici = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
87921
87949
|
module.exports.install = install;
|
|
87922
87950
|
}));
|
|
87923
87951
|
//#endregion
|
|
87924
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
87952
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/Undici.js
|
|
87925
87953
|
var Undici_exports = /* @__PURE__ */ __exportAll({ default: () => Undici_default });
|
|
87926
87954
|
var import_undici = /* @__PURE__ */ __toESM(require_undici(), 1);
|
|
87927
87955
|
__reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
|
|
@@ -87931,7 +87959,7 @@ __reExport(Undici_exports, /* @__PURE__ */ __toESM(require_undici(), 1));
|
|
|
87931
87959
|
*/
|
|
87932
87960
|
var Undici_default = import_undici.default;
|
|
87933
87961
|
//#endregion
|
|
87934
|
-
//#region node_modules/.pnpm/effect@
|
|
87962
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/http/FetchHttpClient.js
|
|
87935
87963
|
/**
|
|
87936
87964
|
* @since 4.0.0
|
|
87937
87965
|
*/
|
|
@@ -87976,7 +88004,7 @@ const layer$18 = /* @__PURE__ */ layerMergedServices(/* @__PURE__ */ succeed$3(/
|
|
|
87976
88004
|
return send(void 0);
|
|
87977
88005
|
})));
|
|
87978
88006
|
//#endregion
|
|
87979
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88007
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeHttpClient.js
|
|
87980
88008
|
/**
|
|
87981
88009
|
* @since 1.0.0
|
|
87982
88010
|
*/
|
|
@@ -88143,7 +88171,7 @@ var UndiciResponse = class extends Class$3 {
|
|
|
88143
88171
|
*/
|
|
88144
88172
|
const layerUndici = /* @__PURE__ */ provide$3(/* @__PURE__ */ layerMergedServices(makeUndici), layerDispatcher);
|
|
88145
88173
|
//#endregion
|
|
88146
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88174
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
|
|
88147
88175
|
/**
|
|
88148
88176
|
* @since 1.0.0
|
|
88149
88177
|
*/
|
|
@@ -88264,7 +88292,7 @@ var FileStream = class extends Readable {
|
|
|
88264
88292
|
}
|
|
88265
88293
|
};
|
|
88266
88294
|
//#endregion
|
|
88267
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88295
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeMultipart.js
|
|
88268
88296
|
/**
|
|
88269
88297
|
* @since 1.0.0
|
|
88270
88298
|
*/
|
|
@@ -88359,7 +88387,7 @@ function convertError(cause) {
|
|
|
88359
88387
|
}
|
|
88360
88388
|
}
|
|
88361
88389
|
//#endregion
|
|
88362
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@
|
|
88390
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-_5116747fc7f94a9251cce1d003d185d8/node_modules/@effect/platform-node-shared/dist/NodePath.js
|
|
88363
88391
|
/**
|
|
88364
88392
|
* @since 1.0.0
|
|
88365
88393
|
*/
|
|
@@ -88382,7 +88410,7 @@ const toFileUrl = (path) => try_({
|
|
|
88382
88410
|
({ ...Path.posix });
|
|
88383
88411
|
({ ...Path.win32 });
|
|
88384
88412
|
//#endregion
|
|
88385
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88413
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodePath.js
|
|
88386
88414
|
/**
|
|
88387
88415
|
* @since 1.0.0
|
|
88388
88416
|
*/
|
|
@@ -88397,7 +88425,7 @@ const layer$15 = /* @__PURE__ */ succeed$4(Path$1)({
|
|
|
88397
88425
|
toFileUrl
|
|
88398
88426
|
});
|
|
88399
88427
|
//#endregion
|
|
88400
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88428
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeStdio.js
|
|
88401
88429
|
/**
|
|
88402
88430
|
* @since 1.0.0
|
|
88403
88431
|
*/
|
|
@@ -88502,7 +88530,7 @@ function defaultShouldQuit(input) {
|
|
|
88502
88530
|
return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
|
|
88503
88531
|
}
|
|
88504
88532
|
//#endregion
|
|
88505
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88533
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeServices.js
|
|
88506
88534
|
/**
|
|
88507
88535
|
* @since 1.0.0
|
|
88508
88536
|
* @category layer
|
|
@@ -88514,7 +88542,7 @@ const layer$10 = /* @__PURE__ */ provideMerge(layer$24, /* @__PURE__ */ mergeAll
|
|
|
88514
88542
|
*/
|
|
88515
88543
|
const layerWebSocketConstructorWS = /* @__PURE__ */ succeed$4(WebSocketConstructor)((url, protocols) => new import_websocket.default(url, protocols));
|
|
88516
88544
|
//#endregion
|
|
88517
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88545
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeHttpServer.js
|
|
88518
88546
|
/**
|
|
88519
88547
|
* @since 1.0.0
|
|
88520
88548
|
*/
|
|
@@ -88807,7 +88835,7 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
|
|
|
88807
88835
|
return failCause$2(headersSent ? combine$1(originalCause, die$3(originalResponse)) : cause);
|
|
88808
88836
|
});
|
|
88809
88837
|
//#endregion
|
|
88810
|
-
//#region node_modules/.pnpm/@effect+platform-node@
|
|
88838
|
+
//#region node_modules/.pnpm/@effect+platform-node@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+platform-node@27_6eebc386fc3abd3fd559bfb5f6a10749/node_modules/@effect/platform-node/dist/NodeRuntime.js
|
|
88811
88839
|
/**
|
|
88812
88840
|
* @since 1.0.0
|
|
88813
88841
|
*/
|
|
@@ -88858,7 +88886,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
|
|
|
88858
88886
|
process.on("SIGTERM", onSigint);
|
|
88859
88887
|
});
|
|
88860
88888
|
//#endregion
|
|
88861
|
-
//#region node_modules/.pnpm/effect@
|
|
88889
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/persistence/PersistedCache.js
|
|
88862
88890
|
/**
|
|
88863
88891
|
* @since 4.0.0
|
|
88864
88892
|
*/
|
|
@@ -89394,7 +89422,7 @@ const toExit = (self) => {
|
|
|
89394
89422
|
}
|
|
89395
89423
|
};
|
|
89396
89424
|
//#endregion
|
|
89397
|
-
//#region node_modules/.pnpm/effect@
|
|
89425
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/reactivity/AtomRegistry.js
|
|
89398
89426
|
/**
|
|
89399
89427
|
* @since 4.0.0
|
|
89400
89428
|
*/
|
|
@@ -90016,7 +90044,7 @@ function batchRebuildNode(node) {
|
|
|
90016
90044
|
if (node.state !== NodeState.valid) node.value();
|
|
90017
90045
|
}
|
|
90018
90046
|
//#endregion
|
|
90019
|
-
//#region node_modules/.pnpm/effect@
|
|
90047
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/reactivity/Atom.js
|
|
90020
90048
|
/**
|
|
90021
90049
|
* @since 4.0.0
|
|
90022
90050
|
*/
|
|
@@ -175836,7 +175864,7 @@ const parseCommand = (command) => {
|
|
|
175836
175864
|
return args;
|
|
175837
175865
|
};
|
|
175838
175866
|
//#endregion
|
|
175839
|
-
//#region node_modules/.pnpm/effect@
|
|
175867
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Model.js
|
|
175840
175868
|
/**
|
|
175841
175869
|
* The `Model` module provides a unified interface for AI service providers.
|
|
175842
175870
|
*
|
|
@@ -179059,7 +179087,7 @@ var ji = Bt, Ii = Object.assign(Qe, { sync: Bt }), zi = Ut, Bi = Object.assign(e
|
|
|
179059
179087
|
});
|
|
179060
179088
|
Ze.glob = Ze;
|
|
179061
179089
|
//#endregion
|
|
179062
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
179090
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/ApplyPatch.js
|
|
179063
179091
|
/**
|
|
179064
179092
|
* @since 1.0.0
|
|
179065
179093
|
*/
|
|
@@ -193932,7 +193960,7 @@ var StreamableHTTPClientTransport = class {
|
|
|
193932
193960
|
}
|
|
193933
193961
|
};
|
|
193934
193962
|
//#endregion
|
|
193935
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
193963
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/McpClient.js
|
|
193936
193964
|
/**
|
|
193937
193965
|
* @since 1.0.0
|
|
193938
193966
|
*/
|
|
@@ -193977,7 +194005,7 @@ const layer$7 = effect$1(McpClient, gen(function* () {
|
|
|
193977
194005
|
});
|
|
193978
194006
|
}));
|
|
193979
194007
|
//#endregion
|
|
193980
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
194008
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/ExaSearch.js
|
|
193981
194009
|
/**
|
|
193982
194010
|
* @since 1.0.0
|
|
193983
194011
|
*/
|
|
@@ -208927,7 +208955,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
208927
208955
|
exports.impl = impl;
|
|
208928
208956
|
}));
|
|
208929
208957
|
//#endregion
|
|
208930
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
208958
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/WebToMarkdown.js
|
|
208931
208959
|
/**
|
|
208932
208960
|
* @since 1.0.0
|
|
208933
208961
|
*/
|
|
@@ -209691,7 +209719,7 @@ const layer$5 = effect$1(WebToMarkdown, gen(function* () {
|
|
|
209691
209719
|
});
|
|
209692
209720
|
}));
|
|
209693
209721
|
//#endregion
|
|
209694
|
-
//#region node_modules/.pnpm/effect@
|
|
209722
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Response.js
|
|
209695
209723
|
const PartTypeId$1 = "~effect/ai/Content/Part";
|
|
209696
209724
|
const constEmptyObject$1 = () => ({});
|
|
209697
209725
|
const constPartTypeId$1 = () => PartTypeId$1;
|
|
@@ -210197,7 +210225,7 @@ const ErrorPart = /* @__PURE__ */ Struct({
|
|
|
210197
210225
|
error: Unknown
|
|
210198
210226
|
}).annotate({ identifier: "ErrorPart" });
|
|
210199
210227
|
//#endregion
|
|
210200
|
-
//#region node_modules/.pnpm/effect@
|
|
210228
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/AiError.js
|
|
210201
210229
|
/**
|
|
210202
210230
|
* The `AiError` module provides comprehensive, provider-agnostic error handling
|
|
210203
210231
|
* for AI operations.
|
|
@@ -211375,8 +211403,53 @@ const isAiErrorReason = (u) => hasProperty(u, ReasonTypeId);
|
|
|
211375
211403
|
* @category constructors
|
|
211376
211404
|
*/
|
|
211377
211405
|
const make$11 = (params) => new AiError(params);
|
|
211406
|
+
/**
|
|
211407
|
+
* Maps HTTP status codes to semantic error reasons.
|
|
211408
|
+
*
|
|
211409
|
+
* Provider packages can use this as a base for provider-specific mapping.
|
|
211410
|
+
*
|
|
211411
|
+
* @example
|
|
211412
|
+
* ```ts
|
|
211413
|
+
* import { AiError } from "effect/unstable/ai"
|
|
211414
|
+
*
|
|
211415
|
+
* const reason = AiError.reasonFromHttpStatus({
|
|
211416
|
+
* status: 429,
|
|
211417
|
+
* body: { error: "Rate limit exceeded" }
|
|
211418
|
+
* })
|
|
211419
|
+
*
|
|
211420
|
+
* console.log(reason._tag) // "RateLimitError"
|
|
211421
|
+
* ```
|
|
211422
|
+
*
|
|
211423
|
+
* @since 1.0.0
|
|
211424
|
+
* @category constructors
|
|
211425
|
+
*/
|
|
211426
|
+
const reasonFromHttpStatus = (params) => {
|
|
211427
|
+
const { status, http, metadata } = params;
|
|
211428
|
+
const common = {
|
|
211429
|
+
http,
|
|
211430
|
+
...isNotUndefined(metadata) ? { metadata } : {}
|
|
211431
|
+
};
|
|
211432
|
+
switch (status) {
|
|
211433
|
+
case 400: return new InvalidRequestError(common);
|
|
211434
|
+
case 401: return new AuthenticationError({
|
|
211435
|
+
kind: "InvalidKey",
|
|
211436
|
+
...common
|
|
211437
|
+
});
|
|
211438
|
+
case 403: return new AuthenticationError({
|
|
211439
|
+
kind: "InsufficientPermissions",
|
|
211440
|
+
...common
|
|
211441
|
+
});
|
|
211442
|
+
case 429: return new RateLimitError(common);
|
|
211443
|
+
default:
|
|
211444
|
+
if (status >= 500) return new InternalProviderError({
|
|
211445
|
+
description: "Server error",
|
|
211446
|
+
...common
|
|
211447
|
+
});
|
|
211448
|
+
return new UnknownError(common);
|
|
211449
|
+
}
|
|
211450
|
+
};
|
|
211378
211451
|
//#endregion
|
|
211379
|
-
//#region node_modules/.pnpm/effect@
|
|
211452
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Toolkit.js
|
|
211380
211453
|
const TypeId$3 = "~effect/ai/Toolkit";
|
|
211381
211454
|
const Proto$2 = {
|
|
211382
211455
|
...YieldableProto,
|
|
@@ -211600,7 +211673,7 @@ const merge$1 = (...toolkits) => {
|
|
|
211600
211673
|
return makeProto(tools);
|
|
211601
211674
|
};
|
|
211602
211675
|
//#endregion
|
|
211603
|
-
//#region node_modules/.pnpm/effect@
|
|
211676
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Tool.js
|
|
211604
211677
|
/**
|
|
211605
211678
|
* @since 1.0.0
|
|
211606
211679
|
* @category type ids
|
|
@@ -212016,7 +212089,7 @@ function isEmptyParamsRecord(indexSignature) {
|
|
|
212016
212089
|
return indexSignature.parameter === string$3 && isNever(indexSignature.type);
|
|
212017
212090
|
}
|
|
212018
212091
|
//#endregion
|
|
212019
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
212092
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/AgentTools.js
|
|
212020
212093
|
/**
|
|
212021
212094
|
* @since 1.0.0
|
|
212022
212095
|
*/
|
|
@@ -212350,7 +212423,7 @@ const AgentToolHandlers = AgentToolHandlersNoDeps.pipe(provide$3([layer$6, layer
|
|
|
212350
212423
|
AgentToolHandlersNoDeps.pipe(provide$3([mock(ExaSearch)({}), mock(WebToMarkdown)({})]));
|
|
212351
212424
|
var ApplyPatchError = class extends TaggedClass$1("ApplyPatchError") {};
|
|
212352
212425
|
//#endregion
|
|
212353
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
212426
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/TypeBuilder.js
|
|
212354
212427
|
const resolveDocumentation = resolveAt("documentation");
|
|
212355
212428
|
const identifierPattern = /^[$A-Z_a-z][$0-9A-Z_a-z]*$/u;
|
|
212356
212429
|
const Precedence = {
|
|
@@ -212623,7 +212696,7 @@ const render = (schema, options) => {
|
|
|
212623
212696
|
return printNode({ text: documentation === void 0 ? rendered.text : `${renderJsDoc(documentation, 0, printerOptions)}${printerOptions.newLine}${rendered.text}` }, printerOptions);
|
|
212624
212697
|
};
|
|
212625
212698
|
//#endregion
|
|
212626
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
212699
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/ToolkitRenderer.js
|
|
212627
212700
|
/**
|
|
212628
212701
|
* @since 1.0.0
|
|
212629
212702
|
*/
|
|
@@ -212645,7 +212718,7 @@ declare function ${name}(${params}): Promise<${render(tool.successSchema)}>`);
|
|
|
212645
212718
|
}) });
|
|
212646
212719
|
};
|
|
212647
212720
|
//#endregion
|
|
212648
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
212721
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/AgentExecutor.js
|
|
212649
212722
|
/**
|
|
212650
212723
|
* @since 1.0.0
|
|
212651
212724
|
*/
|
|
@@ -212799,7 +212872,7 @@ var QueueWriteStream = class extends Writable {
|
|
|
212799
212872
|
}
|
|
212800
212873
|
};
|
|
212801
212874
|
//#endregion
|
|
212802
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
212875
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/ScriptExtraction.js
|
|
212803
212876
|
const stripWrappingCodeFence = (script) => {
|
|
212804
212877
|
const lines = script.split(/\r?\n/);
|
|
212805
212878
|
if (lines.length < 2) return script;
|
|
@@ -212824,7 +212897,7 @@ const stripWrappingCodeFence = (script) => {
|
|
|
212824
212897
|
return lines.slice(firstNonEmpty + 1, lastNonEmpty).join(newLine);
|
|
212825
212898
|
};
|
|
212826
212899
|
//#endregion
|
|
212827
|
-
//#region node_modules/.pnpm/effect@
|
|
212900
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Prompt.js
|
|
212828
212901
|
/**
|
|
212829
212902
|
* The `Prompt` module provides several data structures to simplify creating and
|
|
212830
212903
|
* combining prompts.
|
|
@@ -213363,7 +213436,7 @@ const setSystem = /* @__PURE__ */ dual(2, (self, content) => {
|
|
|
213363
213436
|
return makePrompt(messages);
|
|
213364
213437
|
});
|
|
213365
213438
|
//#endregion
|
|
213366
|
-
//#region node_modules/.pnpm/effect@
|
|
213439
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/IdGenerator.js
|
|
213367
213440
|
/**
|
|
213368
213441
|
* The `IdGenerator` service tag for dependency injection.
|
|
213369
213442
|
*
|
|
@@ -213432,7 +213505,7 @@ const makeGenerator = ({ alphabet = DEFAULT_ALPHABET, prefix, separator = DEFAUL
|
|
|
213432
213505
|
*/
|
|
213433
213506
|
const defaultIdGenerator = { generateId: /* @__PURE__ */ makeGenerator({ prefix: "id" }) };
|
|
213434
213507
|
//#endregion
|
|
213435
|
-
//#region node_modules/.pnpm/effect@
|
|
213508
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/internal/codec-transformer.js
|
|
213436
213509
|
/** @internal */
|
|
213437
213510
|
const defaultCodecTransformer$1 = (codec) => {
|
|
213438
213511
|
const document = toJsonSchemaDocument(codec);
|
|
@@ -213444,7 +213517,7 @@ const defaultCodecTransformer$1 = (codec) => {
|
|
|
213444
213517
|
};
|
|
213445
213518
|
};
|
|
213446
213519
|
//#endregion
|
|
213447
|
-
//#region node_modules/.pnpm/effect@
|
|
213520
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/ResponseIdTracker.js
|
|
213448
213521
|
/**
|
|
213449
213522
|
* @since 4.0.0
|
|
213450
213523
|
*/
|
|
@@ -213458,14 +213531,14 @@ var ResponseIdTracker = class extends Service$1()("effect/ai/ResponseIdTracker")
|
|
|
213458
213531
|
* @category constructors
|
|
213459
213532
|
*/
|
|
213460
213533
|
const make$7 = /* @__PURE__ */ sync(() => {
|
|
213461
|
-
|
|
213534
|
+
const sentParts = /* @__PURE__ */ new Map();
|
|
213462
213535
|
const none = () => {
|
|
213463
|
-
sentParts
|
|
213536
|
+
sentParts.clear();
|
|
213464
213537
|
return none$4();
|
|
213465
213538
|
};
|
|
213466
213539
|
return {
|
|
213467
213540
|
clearUnsafe() {
|
|
213468
|
-
sentParts
|
|
213541
|
+
sentParts.clear();
|
|
213469
213542
|
},
|
|
213470
213543
|
markParts(parts, responseId) {
|
|
213471
213544
|
for (let i = 0; i < parts.length; i++) sentParts.set(parts[i], responseId);
|
|
@@ -213501,7 +213574,7 @@ const make$7 = /* @__PURE__ */ sync(() => {
|
|
|
213501
213574
|
};
|
|
213502
213575
|
});
|
|
213503
213576
|
//#endregion
|
|
213504
|
-
//#region node_modules/.pnpm/effect@
|
|
213577
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/Telemetry.js
|
|
213505
213578
|
/**
|
|
213506
213579
|
* The `Telemetry` module provides OpenTelemetry integration for operations
|
|
213507
213580
|
* performed against a large language model provider by defining telemetry
|
|
@@ -213617,7 +213690,7 @@ const addGenAIAnnotations$2 = /* @__PURE__ */ dual(2, (span, options) => {
|
|
|
213617
213690
|
*/
|
|
213618
213691
|
var CurrentSpanTransformer = class extends Service$1()("effect/ai/Telemetry/CurrentSpanTransformer") {};
|
|
213619
213692
|
//#endregion
|
|
213620
|
-
//#region node_modules/.pnpm/effect@
|
|
213693
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/LanguageModel.js
|
|
213621
213694
|
/**
|
|
213622
213695
|
* The `LanguageModel` service key for dependency injection.
|
|
213623
213696
|
*
|
|
@@ -214322,7 +214395,7 @@ const applySpanTransformer = (transformer, response, options) => {
|
|
|
214322
214395
|
});
|
|
214323
214396
|
};
|
|
214324
214397
|
//#endregion
|
|
214325
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
214398
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/Agent.js
|
|
214326
214399
|
/**
|
|
214327
214400
|
* @since 1.0.0
|
|
214328
214401
|
*/
|
|
@@ -214597,6 +214670,7 @@ const generateSystemTools = (toolsDts) => `**YOU ONLY HAVE ACCESS TO ONE TOOL**
|
|
|
214597
214670
|
- AVOID passing scripts into the "bash" function, and instead write javascript.
|
|
214598
214671
|
- Do as much work as possible in a single script, using \`Promise.all\` to run multiple functions in parallel.
|
|
214599
214672
|
- Variables **are not shared** between executions, so you must include all necessary code in each script you execute.
|
|
214673
|
+
- Use the "delegate" function to assign complex jobs to another software engineer.
|
|
214600
214674
|
|
|
214601
214675
|
**When you have fully completed your task**, call the "taskComplete" function with the final output.
|
|
214602
214676
|
DO NOT output the final result without wrapping it with "taskComplete".
|
|
@@ -214611,7 +214685,7 @@ ${toolsDts}
|
|
|
214611
214685
|
declare const fetch: typeof globalThis.fetch
|
|
214612
214686
|
\`\`\`
|
|
214613
214687
|
|
|
214614
|
-
For example, here is how you would read a file. First you would
|
|
214688
|
+
For example, here is how you would read a file. First you would execute
|
|
214615
214689
|
javascript code that uses the "readFile" function:
|
|
214616
214690
|
|
|
214617
214691
|
\`\`\`
|
|
@@ -214788,7 +214862,7 @@ Union([
|
|
|
214788
214862
|
*/
|
|
214789
214863
|
var AgentFinished = class extends TaggedErrorClass()("AgentFinished", { summary: String$1 }) {};
|
|
214790
214864
|
//#endregion
|
|
214791
|
-
//#region node_modules/.pnpm/effect@
|
|
214865
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/encoding/Sse.js
|
|
214792
214866
|
/**
|
|
214793
214867
|
* @since 4.0.0
|
|
214794
214868
|
* @category Decoding
|
|
@@ -214971,7 +215045,7 @@ var Retry = class Retry extends TaggedClass$1("Retry") {
|
|
|
214971
215045
|
}
|
|
214972
215046
|
};
|
|
214973
215047
|
//#endregion
|
|
214974
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
215048
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/Generated.js
|
|
214975
215049
|
/**
|
|
214976
215050
|
* @since 1.0.0
|
|
214977
215051
|
*/ const AdminApiKey = /* @__PURE__ */ Struct({
|
|
@@ -223039,7 +223113,7 @@ const OpenAiClientError = (tag, cause, response) => new OpenAiClientErrorImpl({
|
|
|
223039
223113
|
request: response.request
|
|
223040
223114
|
});
|
|
223041
223115
|
//#endregion
|
|
223042
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223116
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/internal/errors.js
|
|
223043
223117
|
/** @internal */
|
|
223044
223118
|
const OpenAiErrorBody$1 = /* @__PURE__ */ Struct({ error: /* @__PURE__ */ Struct({
|
|
223045
223119
|
message: String$1,
|
|
@@ -223252,7 +223326,7 @@ const mapStatusCodeToReason$1 = ({ status, headers, message, metadata, http }) =
|
|
|
223252
223326
|
}
|
|
223253
223327
|
};
|
|
223254
223328
|
//#endregion
|
|
223255
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223329
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/OpenAiConfig.js
|
|
223256
223330
|
/**
|
|
223257
223331
|
* @since 1.0.0
|
|
223258
223332
|
*/
|
|
@@ -223267,7 +223341,7 @@ var OpenAiConfig$1 = class OpenAiConfig$1 extends Service$1()("@effect/ai-openai
|
|
|
223267
223341
|
static getOrUndefined = /* @__PURE__ */ map$9(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig$1.key));
|
|
223268
223342
|
};
|
|
223269
223343
|
//#endregion
|
|
223270
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223344
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/OpenAiClient.js
|
|
223271
223345
|
/**
|
|
223272
223346
|
* OpenAI Client module for interacting with OpenAI's API.
|
|
223273
223347
|
*
|
|
@@ -223348,21 +223422,7 @@ const layer$3 = (options) => effect$1(OpenAiClient$1, make$3(options));
|
|
|
223348
223422
|
* @category Websocket mode
|
|
223349
223423
|
*/
|
|
223350
223424
|
var OpenAiSocket = class extends Service$1()("@effect/ai-openai/OpenAiClient/OpenAiSocket") {};
|
|
223351
|
-
|
|
223352
|
-
* Uses OpenAI's websocket mode for all responses that use the Layer.
|
|
223353
|
-
*
|
|
223354
|
-
* Note: This only works with the following WebSocket constructor layers:
|
|
223355
|
-
*
|
|
223356
|
-
* - `NodeSocket.layerWebSocketConstructorWS`
|
|
223357
|
-
* - `BunSocket.layerWebSocketConstructor`
|
|
223358
|
-
*
|
|
223359
|
-
* This is because it needs to use non-standard options for setting the
|
|
223360
|
-
* Authorization header.
|
|
223361
|
-
*
|
|
223362
|
-
* @since 1.0.0
|
|
223363
|
-
* @category Websocket mode
|
|
223364
|
-
*/
|
|
223365
|
-
const layerWebSocketMode = /* @__PURE__ */ effectServices(/* @__PURE__ */ gen(function* () {
|
|
223425
|
+
const makeSocket = /* @__PURE__ */ gen(function* () {
|
|
223366
223426
|
const client = yield* OpenAiClient$1;
|
|
223367
223427
|
const tracker = yield* make$7;
|
|
223368
223428
|
const request = yield* orDie$2(client.client.httpClient.preprocess(post("/responses")));
|
|
@@ -223393,13 +223453,25 @@ const layerWebSocketMode = /* @__PURE__ */ effectServices(/* @__PURE__ */ gen(fu
|
|
|
223393
223453
|
description: "Failed to send message over WebSocket"
|
|
223394
223454
|
})
|
|
223395
223455
|
})));
|
|
223456
|
+
const cancel = suspend$3(() => write(JSON.stringify({ type: "response.cancel" }))).pipe(ignore$1);
|
|
223457
|
+
const reset = () => {
|
|
223458
|
+
currentQueue = null;
|
|
223459
|
+
};
|
|
223396
223460
|
const decoder = new TextDecoder();
|
|
223397
|
-
const decode = decodeUnknownSync(fromJsonString(ResponseStreamEvent));
|
|
223398
223461
|
yield* socket.runRaw((msg) => {
|
|
223399
223462
|
if (!currentQueue) return;
|
|
223400
223463
|
const text = typeof msg === "string" ? msg : decoder.decode(msg);
|
|
223401
223464
|
try {
|
|
223402
|
-
|
|
223465
|
+
const event = decodeEvent(text);
|
|
223466
|
+
if (event.type === "error" && "status" in event) return fail$4(currentQueue, make$11({
|
|
223467
|
+
module: "OpenAiClient",
|
|
223468
|
+
method: "createResponseStream",
|
|
223469
|
+
reason: reasonFromHttpStatus({
|
|
223470
|
+
status: event.status,
|
|
223471
|
+
metadata: event.error
|
|
223472
|
+
})
|
|
223473
|
+
}));
|
|
223474
|
+
offerUnsafe(currentQueue, event);
|
|
223403
223475
|
} catch {}
|
|
223404
223476
|
}).pipe(catchCause$1((cause) => {
|
|
223405
223477
|
tracker.clearUnsafe();
|
|
@@ -223418,24 +223490,60 @@ const layerWebSocketMode = /* @__PURE__ */ effectServices(/* @__PURE__ */ gen(fu
|
|
|
223418
223490
|
description: pretty$1(cause)
|
|
223419
223491
|
})
|
|
223420
223492
|
})) : void_$1;
|
|
223421
|
-
}),
|
|
223422
|
-
return {
|
|
223493
|
+
}), repeat(exponential(100, 1.5).pipe(either(spaced({ seconds: 5 })), jittered)), forkScoped);
|
|
223494
|
+
return {
|
|
223495
|
+
send,
|
|
223496
|
+
cancel,
|
|
223497
|
+
reset
|
|
223498
|
+
};
|
|
223423
223499
|
})
|
|
223424
223500
|
});
|
|
223425
223501
|
const semaphore = makeUnsafe$8(1);
|
|
223426
223502
|
return OpenAiSocket.serviceMap({ createResponseStream(options) {
|
|
223427
223503
|
const stream = gen(function* () {
|
|
223428
|
-
yield* acquireRelease(semaphore.take(1), () => semaphore.release(1));
|
|
223429
|
-
const { send } = yield* get$10(queueRef);
|
|
223504
|
+
yield* acquireRelease(semaphore.take(1), () => semaphore.release(1), { interruptible: true });
|
|
223505
|
+
const { send, cancel, reset } = yield* get$10(queueRef);
|
|
223430
223506
|
const incoming = yield* unbounded();
|
|
223431
|
-
|
|
223432
|
-
|
|
223507
|
+
let done = false;
|
|
223508
|
+
yield* acquireRelease(send(incoming, options), (_, exit) => {
|
|
223509
|
+
reset();
|
|
223510
|
+
if (isFailure$2(exit) && !hasInterrupts$1(exit)) return void_$1;
|
|
223511
|
+
else if (done) return void_$1;
|
|
223512
|
+
return cancel;
|
|
223513
|
+
}, { interruptible: true }).pipe(forkScoped({ startImmediately: true }));
|
|
223514
|
+
return fromQueue(incoming).pipe(takeUntil((e) => {
|
|
223515
|
+
done = e.type === "response.completed" || e.type === "response.incomplete";
|
|
223516
|
+
return done;
|
|
223517
|
+
}));
|
|
223433
223518
|
}).pipe(unwrap);
|
|
223434
223519
|
return succeed$3([fromWeb(request, new Response()), stream]);
|
|
223435
223520
|
} }).pipe(add$3(ResponseIdTracker, tracker));
|
|
223436
|
-
})
|
|
223521
|
+
});
|
|
223522
|
+
const decodeEvent = /* @__PURE__ */ decodeUnknownSync(/* @__PURE__ */ fromJsonString(/* @__PURE__ */ Union([ResponseStreamEvent, /* @__PURE__ */ Struct({
|
|
223523
|
+
type: /* @__PURE__ */ Literal("error"),
|
|
223524
|
+
status: Number$1,
|
|
223525
|
+
error: /* @__PURE__ */ Struct({
|
|
223526
|
+
type: String$1,
|
|
223527
|
+
message: String$1
|
|
223528
|
+
})
|
|
223529
|
+
})])));
|
|
223530
|
+
/**
|
|
223531
|
+
* Uses OpenAI's websocket mode for all responses that use the Layer.
|
|
223532
|
+
*
|
|
223533
|
+
* Note: This only works with the following WebSocket constructor layers:
|
|
223534
|
+
*
|
|
223535
|
+
* - `NodeSocket.layerWebSocketConstructorWS`
|
|
223536
|
+
* - `BunSocket.layerWebSocketConstructor`
|
|
223537
|
+
*
|
|
223538
|
+
* This is because it needs to use non-standard options for setting the
|
|
223539
|
+
* Authorization header.
|
|
223540
|
+
*
|
|
223541
|
+
* @since 1.0.0
|
|
223542
|
+
* @category Websocket mode
|
|
223543
|
+
*/
|
|
223544
|
+
const layerWebSocketMode = /* @__PURE__ */ effectServices(makeSocket);
|
|
223437
223545
|
//#endregion
|
|
223438
|
-
//#region node_modules/.pnpm/effect@
|
|
223546
|
+
//#region node_modules/.pnpm/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@273f4c6_7668f0d3c3028db908a6c3847b19734c/node_modules/effect/dist/unstable/ai/OpenAiStructuredOutput.js
|
|
223439
223547
|
/**
|
|
223440
223548
|
* Provides codec transformations for OpenAI structured output.
|
|
223441
223549
|
*
|
|
@@ -223740,7 +223848,7 @@ const formats = [
|
|
|
223740
223848
|
"uuid"
|
|
223741
223849
|
];
|
|
223742
223850
|
//#endregion
|
|
223743
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223851
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/internal/utilities.js
|
|
223744
223852
|
const finishReasonMap$1 = {
|
|
223745
223853
|
content_filter: "content-filter",
|
|
223746
223854
|
function_call: "tool-calls",
|
|
@@ -223758,7 +223866,7 @@ const resolveFinishReason$1 = (finishReason, hasToolCalls) => {
|
|
|
223758
223866
|
return reason;
|
|
223759
223867
|
};
|
|
223760
223868
|
//#endregion
|
|
223761
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223869
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/OpenAiTelemetry.js
|
|
223762
223870
|
/**
|
|
223763
223871
|
* OpenAI telemetry attributes for OpenTelemetry integration.
|
|
223764
223872
|
*
|
|
@@ -223787,7 +223895,7 @@ const addGenAIAnnotations$1 = /* @__PURE__ */ dual(2, (span, options) => {
|
|
|
223787
223895
|
}
|
|
223788
223896
|
});
|
|
223789
223897
|
//#endregion
|
|
223790
|
-
//#region node_modules/.pnpm/@effect+ai-openai@
|
|
223898
|
+
//#region node_modules/.pnpm/@effect+ai-openai@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai@273f4c6_ef_85a848e8cb9fe2e7146c4cc11c6b30fa/node_modules/@effect/ai-openai/dist/OpenAiLanguageModel.js
|
|
223791
223899
|
/**
|
|
223792
223900
|
* OpenAI Language Model implementation.
|
|
223793
223901
|
*
|
|
@@ -225502,7 +225610,7 @@ const transformToolCallParams = /* @__PURE__ */ fnUntraced(function* (tools, too
|
|
|
225502
225610
|
})));
|
|
225503
225611
|
});
|
|
225504
225612
|
//#endregion
|
|
225505
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
225613
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/CodexAuth.js
|
|
225506
225614
|
/**
|
|
225507
225615
|
* @since 1.0.0
|
|
225508
225616
|
*/
|
|
@@ -225722,7 +225830,7 @@ var CodexAuth = class CodexAuth extends Service$1()("clanka/CodexAuth") {
|
|
|
225722
225830
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(CodexAuth.layer));
|
|
225723
225831
|
};
|
|
225724
225832
|
//#endregion
|
|
225725
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
225833
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/Codex.js
|
|
225726
225834
|
/**
|
|
225727
225835
|
* @since 1.0.0
|
|
225728
225836
|
*/
|
|
@@ -225748,7 +225856,7 @@ const layerModel = (model, options) => layer$2({
|
|
|
225748
225856
|
}
|
|
225749
225857
|
}).pipe(merge$6(AgentModelConfig.layer({ systemPromptTransform: (system, effect) => withConfigOverride(effect, { instructions: system }) })));
|
|
225750
225858
|
//#endregion
|
|
225751
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
225859
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/internal/errors.js
|
|
225752
225860
|
/** @internal */
|
|
225753
225861
|
const OpenAiErrorBody = /* @__PURE__ */ Struct({ error: /* @__PURE__ */ Struct({
|
|
225754
225862
|
message: String$1,
|
|
@@ -225956,7 +226064,7 @@ const mapStatusCodeToReason = ({ status, headers, message, metadata, http }) =>
|
|
|
225956
226064
|
}
|
|
225957
226065
|
};
|
|
225958
226066
|
//#endregion
|
|
225959
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
226067
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/OpenAiConfig.js
|
|
225960
226068
|
/**
|
|
225961
226069
|
* @since 1.0.0
|
|
225962
226070
|
*/
|
|
@@ -225971,7 +226079,7 @@ var OpenAiConfig = class OpenAiConfig extends Service$1()("@effect/ai-openai-com
|
|
|
225971
226079
|
static getOrUndefined = /* @__PURE__ */ map$9(/* @__PURE__ */ services(), (context) => context.mapUnsafe.get(OpenAiConfig.key));
|
|
225972
226080
|
};
|
|
225973
226081
|
//#endregion
|
|
225974
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
226082
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/OpenAiClient.js
|
|
225975
226083
|
/**
|
|
225976
226084
|
* @since 1.0.0
|
|
225977
226085
|
*/
|
|
@@ -226107,7 +226215,7 @@ const decodeChatCompletionSseData = (data) => {
|
|
|
226107
226215
|
return isChatCompletionChunk(parsed) ? parsed : void 0;
|
|
226108
226216
|
};
|
|
226109
226217
|
//#endregion
|
|
226110
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
226218
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/internal/utilities.js
|
|
226111
226219
|
const finishReasonMap = {
|
|
226112
226220
|
content_filter: "content-filter",
|
|
226113
226221
|
function_call: "tool-calls",
|
|
@@ -226123,7 +226231,7 @@ const resolveFinishReason = (finishReason, hasToolCalls) => {
|
|
|
226123
226231
|
return reason;
|
|
226124
226232
|
};
|
|
226125
226233
|
//#endregion
|
|
226126
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
226234
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/OpenAiTelemetry.js
|
|
226127
226235
|
/**
|
|
226128
226236
|
* OpenAI telemetry attributes for OpenTelemetry integration.
|
|
226129
226237
|
*
|
|
@@ -226152,7 +226260,7 @@ const addGenAIAnnotations = /* @__PURE__ */ dual(2, (span, options) => {
|
|
|
226152
226260
|
}
|
|
226153
226261
|
});
|
|
226154
226262
|
//#endregion
|
|
226155
|
-
//#region node_modules/.pnpm/@effect+ai-openai-compat@
|
|
226263
|
+
//#region node_modules/.pnpm/@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect+ai-openai-com_8c3ae14efaad71d617d89e7b5aa6ed63/node_modules/@effect/ai-openai-compat/dist/OpenAiLanguageModel.js
|
|
226156
226264
|
/**
|
|
226157
226265
|
* OpenAI Language Model implementation.
|
|
226158
226266
|
*
|
|
@@ -227034,7 +227142,7 @@ const getUsageDetailNumber = (details, field) => {
|
|
|
227034
227142
|
return typeof value === "number" ? value : void 0;
|
|
227035
227143
|
};
|
|
227036
227144
|
//#endregion
|
|
227037
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
227145
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/CopilotAuth.js
|
|
227038
227146
|
/**
|
|
227039
227147
|
* @since 1.0.0
|
|
227040
227148
|
*/
|
|
@@ -227225,7 +227333,7 @@ var GithubCopilotAuth = class GithubCopilotAuth extends Service$1()("clanka/Gith
|
|
|
227225
227333
|
static layerClient = this.layerClientNoDeps.pipe(provide$3(GithubCopilotAuth.layer));
|
|
227226
227334
|
};
|
|
227227
227335
|
//#endregion
|
|
227228
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
227336
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/Copilot.js
|
|
227229
227337
|
/**
|
|
227230
227338
|
* @since 1.0.0
|
|
227231
227339
|
*/
|
|
@@ -227645,7 +227753,7 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
227645
227753
|
const chalk = createChalk();
|
|
227646
227754
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
227647
227755
|
//#endregion
|
|
227648
|
-
//#region node_modules/.pnpm/clanka@0.1.
|
|
227756
|
+
//#region node_modules/.pnpm/clanka@0.1.17_@effect+ai-openai-compat@https+++pkg.pr.new+Effect-TS+effect-smol+@effect_7183b12affd4420b40add07d0b291105/node_modules/clanka/dist/OutputFormatter.js
|
|
227649
227757
|
/**
|
|
227650
227758
|
* @since 1.0.0
|
|
227651
227759
|
*/
|
|
@@ -227678,7 +227786,7 @@ ${output.summary}\n\n`;
|
|
|
227678
227786
|
const truncated = lines.length > 20 ? lines.slice(0, 20).join("\n") + "\n... (truncated)" : output.output;
|
|
227679
227787
|
return `${prefix}${chalkScriptHeading(`${scriptIcon} Script output`)}\n\n${chalk.dim(truncated)}\n\n`;
|
|
227680
227788
|
}
|
|
227681
|
-
case "ErrorRetry": return `${prefix}${chalk.red(`Error: ${output.error}. Retrying...`)}\n\n${chalk.dim(pretty$1(fail$7(output.error)))}\n\n`;
|
|
227789
|
+
case "ErrorRetry": return `${prefix}${chalk.red(`Error: ${output.error.reason._tag}. Retrying...`)}\n\n${chalk.dim(pretty$1(fail$7(output.error)))}\n\n`;
|
|
227682
227790
|
}
|
|
227683
227791
|
}), catchTag("AgentFinished", (finished) => succeed$1(`\n${chalk.bold.green(`${doneIcon} Task complete:`)}\n\n${finished.summary}`)));
|
|
227684
227792
|
const promptToString = (prompt) => {
|
|
@@ -236977,7 +237085,7 @@ const commandEdit = make$50("edit").pipe(withDescription("Open the selected proj
|
|
|
236977
237085
|
const commandSource = make$50("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
|
|
236978
237086
|
//#endregion
|
|
236979
237087
|
//#region package.json
|
|
236980
|
-
var version = "0.3.
|
|
237088
|
+
var version = "0.3.66";
|
|
236981
237089
|
//#endregion
|
|
236982
237090
|
//#region src/commands/projects/ls.ts
|
|
236983
237091
|
const commandProjectsLs = make$50("ls").pipe(withDescription("List configured projects and how they run (enabled state, concurrency, branch, git flow, review agent)."), withHandler(fnUntraced(function* () {
|