@kitman-sh/cli 0.14.3 → 0.14.5
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/{chunk-3f6mzrm7.js → chunk-07xpz8bh.js} +1 -1
- package/dist/{chunk-zxmx605h.js → chunk-4qpmjrd2.js} +2 -2
- package/dist/{chunk-44kx62t6.js → chunk-4vrfpwcr.js} +7 -7
- package/dist/{chunk-65dpe0ev.js → chunk-4ywn8fya.js} +5 -3
- package/dist/{chunk-hasfatd4.js → chunk-77jk3v8v.js} +5 -5
- package/dist/{chunk-ctpgfdzf.js → chunk-93xj74qp.js} +3 -3
- package/dist/{chunk-9avbsbvk.js → chunk-c80dvhxf.js} +6 -1
- package/dist/{chunk-er9n65mh.js → chunk-cs0b1w4z.js} +9 -9
- package/dist/{chunk-y0y2gg8d.js → chunk-cwdrhsvk.js} +2 -2
- package/dist/{chunk-rvnem2bt.js → chunk-d2x7y78c.js} +4 -4
- package/dist/{chunk-9anvghq2.js → chunk-fch7pjzh.js} +2 -2
- package/dist/{chunk-dhtx14r5.js → chunk-hbfwyjak.js} +3 -3
- package/dist/{chunk-7v1n7a6k.js → chunk-jp7cjnng.js} +4 -4
- package/dist/{chunk-91j33xf2.js → chunk-k32w2t9h.js} +6 -6
- package/dist/{chunk-tebzffha.js → chunk-me5hk67r.js} +17 -17
- package/dist/{chunk-34748vfg.js → chunk-mwdgz2s2.js} +121 -277
- package/dist/{chunk-my9vcmfw.js → chunk-mz803qps.js} +44 -30
- package/dist/{chunk-f96vy2h9.js → chunk-p2p3k2d5.js} +4 -4
- package/dist/{chunk-2w9a76nr.js → chunk-rbbh4f56.js} +177 -28
- package/dist/{chunk-rgrpvnwg.js → chunk-reb6rftm.js} +22 -22
- package/dist/{chunk-a4mkjaxa.js → chunk-s6bcx409.js} +6 -6
- package/dist/{chunk-daem5h1c.js → chunk-vt5p65jd.js} +14 -14
- package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
- package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
- package/dist/{chunk-7q3t3x0x.js → chunk-zdfrtydr.js} +6 -6
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
|
|
|
1331
1331
|
});
|
|
1332
1332
|
|
|
1333
1333
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
|
|
1334
|
-
var
|
|
1334
|
+
var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
1335
1335
|
var isStrictEquivalent = (x, y) => x === y;
|
|
1336
1336
|
var strictEqual = () => isStrictEquivalent;
|
|
1337
1337
|
function Tuple(elements) {
|
|
1338
|
-
return
|
|
1338
|
+
return make14((self, that) => {
|
|
1339
1339
|
if (self.length !== that.length) {
|
|
1340
1340
|
return false;
|
|
1341
1341
|
}
|
|
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
function Array_(item) {
|
|
1351
|
-
return
|
|
1351
|
+
return make14((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1567,7 +1567,7 @@ var ServiceProto = {
|
|
|
1567
1567
|
.../* @__PURE__ */ Prototype({
|
|
1568
1568
|
label: "Service",
|
|
1569
1569
|
evaluate(fiber) {
|
|
1570
|
-
return exitSucceed(
|
|
1570
|
+
return exitSucceed(get4(fiber.context, this));
|
|
1571
1571
|
}
|
|
1572
1572
|
}),
|
|
1573
1573
|
toJSON() {
|
|
@@ -1580,13 +1580,13 @@ var ServiceProto = {
|
|
|
1580
1580
|
return self;
|
|
1581
1581
|
},
|
|
1582
1582
|
context(self) {
|
|
1583
|
-
return
|
|
1583
|
+
return make15(this, self);
|
|
1584
1584
|
},
|
|
1585
1585
|
use(f) {
|
|
1586
|
-
return withFiber((fiber) => f(
|
|
1586
|
+
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
1587
1587
|
},
|
|
1588
1588
|
useSync(f) {
|
|
1589
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1589
|
+
return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
1592
|
var cacheKeys = /* @__PURE__ */ new Set;
|
|
@@ -1684,7 +1684,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1684
1684
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1685
1685
|
var empty3 = () => emptyContext2;
|
|
1686
1686
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1687
|
-
var
|
|
1687
|
+
var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1688
1688
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1689
1689
|
var addUnsafe = (self, key, service) => {
|
|
1690
1690
|
const impl = self;
|
|
@@ -1716,7 +1716,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
return value;
|
|
1718
1718
|
});
|
|
1719
|
-
var
|
|
1719
|
+
var get4 = getUnsafe;
|
|
1720
1720
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1721
1721
|
var getDefaultValue = (ref) => {
|
|
1722
1722
|
if (defaultValueCacheKey in ref) {
|
|
@@ -3002,7 +3002,7 @@ class FiberImpl {
|
|
|
3002
3002
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
3003
3003
|
}
|
|
3004
3004
|
getRef(ref) {
|
|
3005
|
-
return
|
|
3005
|
+
return get4(this.context, ref);
|
|
3006
3006
|
}
|
|
3007
3007
|
addObserver(cb) {
|
|
3008
3008
|
if (this._exit) {
|
|
@@ -3030,7 +3030,7 @@ class FiberImpl {
|
|
|
3030
3030
|
}
|
|
3031
3031
|
let cause = causeInterrupt(fiberId);
|
|
3032
3032
|
if (this.cache.stackFrame) {
|
|
3033
|
-
cause = causeAnnotate(cause,
|
|
3033
|
+
cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
|
|
3034
3034
|
}
|
|
3035
3035
|
if (annotations) {
|
|
3036
3036
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -3203,17 +3203,17 @@ class FiberImpl {
|
|
|
3203
3203
|
var makeFiberContextCache = (context) => {
|
|
3204
3204
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3205
3205
|
return {
|
|
3206
|
-
scheduler:
|
|
3206
|
+
scheduler: get4(context, Scheduler),
|
|
3207
3207
|
tracer: currentTracer,
|
|
3208
3208
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3209
|
-
tracerEnabled:
|
|
3209
|
+
tracerEnabled: get4(context, TracerEnabled),
|
|
3210
3210
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3211
|
-
logLevel:
|
|
3212
|
-
minimumLogLevel:
|
|
3213
|
-
stackFrame:
|
|
3211
|
+
logLevel: get4(context, CurrentLogLevel),
|
|
3212
|
+
minimumLogLevel: get4(context, MinimumLogLevel),
|
|
3213
|
+
stackFrame: get4(context, CurrentStackFrame),
|
|
3214
3214
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3215
|
-
maxOpsBeforeYield:
|
|
3216
|
-
preventYield:
|
|
3215
|
+
maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
|
|
3216
|
+
preventYield: get4(context, PreventSchedulerYield)
|
|
3217
3217
|
};
|
|
3218
3218
|
};
|
|
3219
3219
|
var deferredInterruptCont = {
|
|
@@ -4710,10 +4710,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4710
4710
|
var filterDisablePropagation = (span) => {
|
|
4711
4711
|
if (!span)
|
|
4712
4712
|
return none();
|
|
4713
|
-
return
|
|
4713
|
+
return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4714
4714
|
};
|
|
4715
4715
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4716
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4716
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
|
|
4717
4717
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4718
4718
|
let span;
|
|
4719
4719
|
if (disablePropagation) {
|
|
@@ -5127,7 +5127,7 @@ var DeferredImpl = function() {
|
|
|
5127
5127
|
};
|
|
5128
5128
|
DeferredImpl.prototype = DeferredProto;
|
|
5129
5129
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5130
|
-
var
|
|
5130
|
+
var make16 = () => sync(() => makeUnsafe5());
|
|
5131
5131
|
var _await = (self) => callback2((resume) => {
|
|
5132
5132
|
if (self.effect)
|
|
5133
5133
|
return resume(self.effect);
|
|
@@ -5275,9 +5275,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5275
5275
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5276
5276
|
var succeed5 = function() {
|
|
5277
5277
|
if (arguments.length === 1) {
|
|
5278
|
-
return (resource) => succeedContext(
|
|
5278
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5279
5279
|
}
|
|
5280
|
-
return succeedContext(
|
|
5280
|
+
return succeedContext(make15(arguments[0], arguments[1]));
|
|
5281
5281
|
};
|
|
5282
5282
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5283
5283
|
var effect = function() {
|
|
@@ -5286,7 +5286,7 @@ var effect = function() {
|
|
|
5286
5286
|
}
|
|
5287
5287
|
return effectImpl(arguments[0], arguments[1]);
|
|
5288
5288
|
};
|
|
5289
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5289
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
|
|
5290
5290
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5291
5291
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5292
5292
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -8890,7 +8890,7 @@ function recur(ast) {
|
|
|
8890
8890
|
const rest = ast.rest.map(recur);
|
|
8891
8891
|
const [head, ...tail] = rest;
|
|
8892
8892
|
const tailLength = tail.length;
|
|
8893
|
-
return
|
|
8893
|
+
return make14((a, b) => {
|
|
8894
8894
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8895
8895
|
return false;
|
|
8896
8896
|
}
|
|
@@ -8925,7 +8925,7 @@ function recur(ast) {
|
|
|
8925
8925
|
}
|
|
8926
8926
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8927
8927
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8928
|
-
return
|
|
8928
|
+
return make14((a, b) => {
|
|
8929
8929
|
if (!isObject(a) || !isObject(b)) {
|
|
8930
8930
|
return false;
|
|
8931
8931
|
}
|
|
@@ -8963,7 +8963,7 @@ function recur(ast) {
|
|
|
8963
8963
|
const types = toType2(ast).types;
|
|
8964
8964
|
const index = getCandidateIndex(types);
|
|
8965
8965
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8966
|
-
return
|
|
8966
|
+
return make14((a, b) => {
|
|
8967
8967
|
const candidates = index(a, false);
|
|
8968
8968
|
for (let i = 0;i < candidates.length; i++) {
|
|
8969
8969
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8976,7 +8976,7 @@ function recur(ast) {
|
|
|
8976
8976
|
}
|
|
8977
8977
|
case "Suspend": {
|
|
8978
8978
|
let equivalence;
|
|
8979
|
-
return
|
|
8979
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8980
8980
|
}
|
|
8981
8981
|
}
|
|
8982
8982
|
}
|
|
@@ -9077,7 +9077,7 @@ function isSchemaError(u) {
|
|
|
9077
9077
|
var TypeId12 = TypeId11;
|
|
9078
9078
|
function declareConstructor() {
|
|
9079
9079
|
return (typeParameters, run, annotations) => {
|
|
9080
|
-
return
|
|
9080
|
+
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
9081
9081
|
};
|
|
9082
9082
|
}
|
|
9083
9083
|
function declare(is, annotations) {
|
|
@@ -9185,27 +9185,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
9185
9185
|
};
|
|
9186
9186
|
}
|
|
9187
9187
|
var encodeSync = encodeUnknownSync;
|
|
9188
|
-
var
|
|
9188
|
+
var make17 = make5;
|
|
9189
9189
|
function isSchema(u) {
|
|
9190
9190
|
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9191
9191
|
}
|
|
9192
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
9192
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9193
9193
|
schema
|
|
9194
9194
|
}));
|
|
9195
9195
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
9196
9196
|
const schema = UndefinedOr(self);
|
|
9197
|
-
return
|
|
9197
|
+
return make17(optional2(self.ast), {
|
|
9198
9198
|
schema
|
|
9199
9199
|
});
|
|
9200
9200
|
});
|
|
9201
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
9201
|
+
var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
|
|
9202
9202
|
schema
|
|
9203
9203
|
}));
|
|
9204
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
9204
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
|
|
9205
9205
|
schema
|
|
9206
9206
|
}));
|
|
9207
9207
|
function Literal(literal) {
|
|
9208
|
-
const out =
|
|
9208
|
+
const out = make17(new Literal2(literal), {
|
|
9209
9209
|
literal,
|
|
9210
9210
|
transform(to) {
|
|
9211
9211
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -9216,16 +9216,16 @@ function Literal(literal) {
|
|
|
9216
9216
|
});
|
|
9217
9217
|
return out;
|
|
9218
9218
|
}
|
|
9219
|
-
var Never = /* @__PURE__ */
|
|
9220
|
-
var Unknown = /* @__PURE__ */
|
|
9221
|
-
var Null = /* @__PURE__ */
|
|
9222
|
-
var Undefined2 = /* @__PURE__ */
|
|
9223
|
-
var String4 = /* @__PURE__ */
|
|
9224
|
-
var Number5 = /* @__PURE__ */
|
|
9225
|
-
var Boolean2 = /* @__PURE__ */
|
|
9226
|
-
var Void = /* @__PURE__ */
|
|
9219
|
+
var Never = /* @__PURE__ */ make17(never3);
|
|
9220
|
+
var Unknown = /* @__PURE__ */ make17(unknown);
|
|
9221
|
+
var Null = /* @__PURE__ */ make17(null_);
|
|
9222
|
+
var Undefined2 = /* @__PURE__ */ make17(undefined_3);
|
|
9223
|
+
var String4 = /* @__PURE__ */ make17(string2);
|
|
9224
|
+
var Number5 = /* @__PURE__ */ make17(number2);
|
|
9225
|
+
var Boolean2 = /* @__PURE__ */ make17(boolean);
|
|
9226
|
+
var Void = /* @__PURE__ */ make17(void_4);
|
|
9227
9227
|
function makeStruct(ast, fields) {
|
|
9228
|
-
return
|
|
9228
|
+
return make17(ast, {
|
|
9229
9229
|
fields,
|
|
9230
9230
|
mapFields(f, options) {
|
|
9231
9231
|
const fields = f(this.fields);
|
|
@@ -9237,25 +9237,25 @@ function Struct(fields) {
|
|
|
9237
9237
|
return makeStruct(struct(fields, undefined), fields);
|
|
9238
9238
|
}
|
|
9239
9239
|
function Record(key, value) {
|
|
9240
|
-
return
|
|
9240
|
+
return make17(record(key.ast, value.ast), {
|
|
9241
9241
|
key,
|
|
9242
9242
|
value
|
|
9243
9243
|
});
|
|
9244
9244
|
}
|
|
9245
9245
|
function StructWithRest(schema, records) {
|
|
9246
|
-
return
|
|
9246
|
+
return make17(structWithRest(schema.ast, records.map(getAST)), {
|
|
9247
9247
|
schema,
|
|
9248
9248
|
records
|
|
9249
9249
|
});
|
|
9250
9250
|
}
|
|
9251
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
9251
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
|
|
9252
9252
|
value: schema
|
|
9253
9253
|
}));
|
|
9254
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
9254
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
9255
9255
|
value: schema
|
|
9256
9256
|
}));
|
|
9257
9257
|
function makeUnion(ast, members) {
|
|
9258
|
-
return
|
|
9258
|
+
return make17(ast, {
|
|
9259
9259
|
members,
|
|
9260
9260
|
mapMembers(f, options) {
|
|
9261
9261
|
const members = f(this.members);
|
|
@@ -9268,7 +9268,7 @@ function Union(members, options) {
|
|
|
9268
9268
|
}
|
|
9269
9269
|
function Literals(literals) {
|
|
9270
9270
|
const members = literals.map(Literal);
|
|
9271
|
-
return
|
|
9271
|
+
return make17(union(members, undefined, undefined), {
|
|
9272
9272
|
literals,
|
|
9273
9273
|
members,
|
|
9274
9274
|
mapMembers(f) {
|
|
@@ -9285,18 +9285,18 @@ function Literals(literals) {
|
|
|
9285
9285
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
9286
9286
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
9287
9287
|
function suspend4(f) {
|
|
9288
|
-
return
|
|
9288
|
+
return make17(new Suspend(() => f().ast));
|
|
9289
9289
|
}
|
|
9290
9290
|
function decodeTo2(to, transformation) {
|
|
9291
9291
|
return (from) => {
|
|
9292
|
-
return
|
|
9292
|
+
return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
9293
9293
|
from,
|
|
9294
9294
|
to
|
|
9295
9295
|
});
|
|
9296
9296
|
};
|
|
9297
9297
|
}
|
|
9298
9298
|
function withConstructorDefault2(defaultValue) {
|
|
9299
|
-
return (schema) =>
|
|
9299
|
+
return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
|
|
9300
9300
|
schema
|
|
9301
9301
|
});
|
|
9302
9302
|
}
|
|
@@ -9372,7 +9372,7 @@ function isBase64(annotations) {
|
|
|
9372
9372
|
...annotations
|
|
9373
9373
|
});
|
|
9374
9374
|
}
|
|
9375
|
-
var Finite = /* @__PURE__ */
|
|
9375
|
+
var Finite = /* @__PURE__ */ make17(finite);
|
|
9376
9376
|
function makeIsGreaterThan(options) {
|
|
9377
9377
|
const gt = isGreaterThan2(options.order);
|
|
9378
9378
|
const formatter = options.formatter ?? format;
|
|
@@ -9952,7 +9952,7 @@ function CauseReason(error, defect) {
|
|
|
9952
9952
|
}
|
|
9953
9953
|
}))
|
|
9954
9954
|
});
|
|
9955
|
-
return
|
|
9955
|
+
return make17(schema.ast, {
|
|
9956
9956
|
error,
|
|
9957
9957
|
defect
|
|
9958
9958
|
});
|
|
@@ -9989,7 +9989,7 @@ function Cause(error, defect) {
|
|
|
9989
9989
|
}) => failures
|
|
9990
9990
|
}))
|
|
9991
9991
|
});
|
|
9992
|
-
return
|
|
9992
|
+
return make17(schema.ast, {
|
|
9993
9993
|
error,
|
|
9994
9994
|
defect
|
|
9995
9995
|
});
|
|
@@ -10050,7 +10050,7 @@ function Exit(value, error, defect) {
|
|
|
10050
10050
|
}
|
|
10051
10051
|
}))
|
|
10052
10052
|
});
|
|
10053
|
-
return
|
|
10053
|
+
return make17(schema.ast, {
|
|
10054
10054
|
value,
|
|
10055
10055
|
error,
|
|
10056
10056
|
defect
|
|
@@ -10154,7 +10154,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
10154
10154
|
const ClassTypeId = getClassTypeId(identifier);
|
|
10155
10155
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
10156
10156
|
const transformation = getClassTransformation(self);
|
|
10157
|
-
const to =
|
|
10157
|
+
const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
|
|
10158
10158
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
10159
10159
|
}, {
|
|
10160
10160
|
identifier,
|
|
@@ -10207,7 +10207,7 @@ function toEquivalence(schema) {
|
|
|
10207
10207
|
}
|
|
10208
10208
|
var toCodecJson = toCodecJson2;
|
|
10209
10209
|
var toCodecStringTree = toCodecStringTree2;
|
|
10210
|
-
var Json = /* @__PURE__ */
|
|
10210
|
+
var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
|
|
10211
10211
|
toCode: () => ({
|
|
10212
10212
|
runtime: "Schema.Json",
|
|
10213
10213
|
Type: "Schema.Json"
|
|
@@ -10354,4 +10354,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
10354
10354
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
10355
10355
|
var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
|
|
10356
10356
|
|
|
10357
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype,
|
|
10357
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
|
|
@@ -75,7 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-wttgq85b.js";
|
|
79
|
+
import {
|
|
80
|
+
guard
|
|
81
|
+
} from "./chunk-c80dvhxf.js";
|
|
79
82
|
import {
|
|
80
83
|
currentTimeMillis,
|
|
81
84
|
WebCrypto,
|
|
@@ -102,14 +105,11 @@ import {
|
|
|
102
105
|
KitDigest,
|
|
103
106
|
KitSetup,
|
|
104
107
|
RunnerRpcError
|
|
105
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-mwdgz2s2.js";
|
|
106
109
|
import {
|
|
107
110
|
runForEach,
|
|
108
111
|
FileSystem
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
guard
|
|
112
|
-
} from "./chunk-9avbsbvk.js";
|
|
112
|
+
} from "./chunk-rbbh4f56.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-fch7pjzh.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-93xj74qp.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-jp7cjnng.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-mz803qps.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|