@kitman-sh/cli 0.10.81 → 0.10.83
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-zktywann.js → chunk-1chta572.js} +14 -14
- package/dist/{chunk-a10dn5vf.js → chunk-20rbya07.js} +35 -35
- package/dist/{chunk-1mcwey0c.js → chunk-292vjjdz.js} +1 -1
- package/dist/{chunk-w9j2yb0n.js → chunk-2fqry6rd.js} +40 -183
- package/dist/{chunk-5tezkbn0.js → chunk-2rpwpzt5.js} +119 -132
- package/dist/{chunk-52209e52.js → chunk-66fhj0c3.js} +12 -10
- package/dist/{chunk-xk8qzgn7.js → chunk-6kt28g8r.js} +69 -28
- package/dist/{chunk-cw2ghw7n.js → chunk-72232jhj.js} +4 -4
- package/dist/{chunk-p74pmd81.js → chunk-7bsf0fyh.js} +1 -6
- package/dist/{chunk-bjbphmyt.js → chunk-7wag4s6j.js} +4 -4
- package/dist/{chunk-maj4dn1b.js → chunk-93vddjpx.js} +1 -1
- package/dist/{chunk-dmwqvnmb.js → chunk-999xbcaa.js} +6 -6
- package/dist/{chunk-q0gqkem3.js → chunk-adqabkwv.js} +5 -5
- package/dist/{chunk-ybp1mwv9.js → chunk-bjexx93x.js} +60 -14
- package/dist/{chunk-aj4ev9v2.js → chunk-by54dw1n.js} +2 -2
- package/dist/{chunk-f5mmvr81.js → chunk-dzthc6th.js} +9 -9
- package/dist/{chunk-ym8t1vr6.js → chunk-hccw303w.js} +7 -7
- package/dist/{chunk-5dwyvg1z.js → chunk-mr30hj39.js} +5 -5
- package/dist/{chunk-4325dpky.js → chunk-ptp9p22x.js} +20 -20
- package/dist/{chunk-vne4rsj0.js → chunk-qnnsy306.js} +2 -2
- package/dist/{chunk-tbgxe3w0.js → chunk-smnx6fad.js} +8 -8
- package/dist/{chunk-symx9akd.js → chunk-tnqzvx55.js} +361 -196
- package/dist/{chunk-scabqmnx.js → chunk-xbyd16q3.js} +3 -3
- package/dist/{chunk-caqesagt.js → chunk-xq4k0mgr.js} +59 -101
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-xq4k0mgr.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2fqry6rd.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-tnqzvx55.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -1565,7 +1565,7 @@ var ServiceProto = {
|
|
|
1565
1565
|
.../* @__PURE__ */ Prototype({
|
|
1566
1566
|
label: "Service",
|
|
1567
1567
|
evaluate(fiber) {
|
|
1568
|
-
return exitSucceed(
|
|
1568
|
+
return exitSucceed(get3(fiber.context, this));
|
|
1569
1569
|
}
|
|
1570
1570
|
}),
|
|
1571
1571
|
toJSON() {
|
|
@@ -1581,10 +1581,10 @@ var ServiceProto = {
|
|
|
1581
1581
|
return make14(this, self);
|
|
1582
1582
|
},
|
|
1583
1583
|
use(f) {
|
|
1584
|
-
return withFiber((fiber) => f(
|
|
1584
|
+
return withFiber((fiber) => f(get3(fiber.context, this)));
|
|
1585
1585
|
},
|
|
1586
1586
|
useSync(f) {
|
|
1587
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1587
|
+
return withFiber((fiber) => exitSucceed(f(get3(fiber.context, this))));
|
|
1588
1588
|
}
|
|
1589
1589
|
};
|
|
1590
1590
|
var cacheKeys = /* @__PURE__ */ new Set;
|
|
@@ -1714,7 +1714,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
return value;
|
|
1716
1716
|
});
|
|
1717
|
-
var
|
|
1717
|
+
var get3 = getUnsafe;
|
|
1718
1718
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1719
1719
|
var getDefaultValue = (ref) => {
|
|
1720
1720
|
if (defaultValueCacheKey in ref) {
|
|
@@ -2994,7 +2994,7 @@ class FiberImpl {
|
|
|
2994
2994
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
2995
2995
|
}
|
|
2996
2996
|
getRef(ref) {
|
|
2997
|
-
return
|
|
2997
|
+
return get3(this.context, ref);
|
|
2998
2998
|
}
|
|
2999
2999
|
addObserver(cb) {
|
|
3000
3000
|
if (this._exit) {
|
|
@@ -3195,17 +3195,17 @@ class FiberImpl {
|
|
|
3195
3195
|
var makeFiberContextCache = (context) => {
|
|
3196
3196
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3197
3197
|
return {
|
|
3198
|
-
scheduler:
|
|
3198
|
+
scheduler: get3(context, Scheduler),
|
|
3199
3199
|
tracer: currentTracer,
|
|
3200
3200
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3201
|
-
tracerEnabled:
|
|
3201
|
+
tracerEnabled: get3(context, TracerEnabled),
|
|
3202
3202
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3203
|
-
logLevel:
|
|
3204
|
-
minimumLogLevel:
|
|
3205
|
-
stackFrame:
|
|
3203
|
+
logLevel: get3(context, CurrentLogLevel),
|
|
3204
|
+
minimumLogLevel: get3(context, MinimumLogLevel),
|
|
3205
|
+
stackFrame: get3(context, CurrentStackFrame),
|
|
3206
3206
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3207
|
-
maxOpsBeforeYield:
|
|
3208
|
-
preventYield:
|
|
3207
|
+
maxOpsBeforeYield: get3(context, MaxOpsBeforeYield),
|
|
3208
|
+
preventYield: get3(context, PreventSchedulerYield)
|
|
3209
3209
|
};
|
|
3210
3210
|
};
|
|
3211
3211
|
var deferredInterruptCont = {
|
|
@@ -4702,10 +4702,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4702
4702
|
var filterDisablePropagation = (span) => {
|
|
4703
4703
|
if (!span)
|
|
4704
4704
|
return none();
|
|
4705
|
-
return
|
|
4705
|
+
return get3(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4706
4706
|
};
|
|
4707
4707
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4708
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4708
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get3(options.annotations, DisablePropagation);
|
|
4709
4709
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4710
4710
|
let span;
|
|
4711
4711
|
if (disablePropagation) {
|
|
@@ -5857,48 +5857,6 @@ var getCode = (charCode) => {
|
|
|
5857
5857
|
return codes[charCode];
|
|
5858
5858
|
};
|
|
5859
5859
|
|
|
5860
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5861
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5862
|
-
var value2 = (self) => {
|
|
5863
|
-
if (redactedRegistry.has(self)) {
|
|
5864
|
-
return redactedRegistry.get(self);
|
|
5865
|
-
} else {
|
|
5866
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5867
|
-
}
|
|
5868
|
-
};
|
|
5869
|
-
|
|
5870
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5871
|
-
var TypeId8 = "~effect/Redacted";
|
|
5872
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5873
|
-
var make16 = (value, options) => {
|
|
5874
|
-
const self = Object.create(Proto2);
|
|
5875
|
-
if (options?.label) {
|
|
5876
|
-
self.label = options.label;
|
|
5877
|
-
}
|
|
5878
|
-
redactedRegistry.set(self, value);
|
|
5879
|
-
return self;
|
|
5880
|
-
};
|
|
5881
|
-
var Proto2 = {
|
|
5882
|
-
[TypeId8]: {
|
|
5883
|
-
_A: (_) => _
|
|
5884
|
-
},
|
|
5885
|
-
label: undefined,
|
|
5886
|
-
...PipeInspectableProto,
|
|
5887
|
-
toJSON() {
|
|
5888
|
-
return this.toString();
|
|
5889
|
-
},
|
|
5890
|
-
toString() {
|
|
5891
|
-
return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
|
|
5892
|
-
},
|
|
5893
|
-
[symbol]() {
|
|
5894
|
-
return hash(redactedRegistry.get(this));
|
|
5895
|
-
},
|
|
5896
|
-
[symbol2](that) {
|
|
5897
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5898
|
-
}
|
|
5899
|
-
};
|
|
5900
|
-
var value = value2;
|
|
5901
|
-
|
|
5902
5860
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5903
5861
|
function resolve(ast) {
|
|
5904
5862
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5922,16 +5880,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5922
5880
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5923
5881
|
|
|
5924
5882
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5925
|
-
var
|
|
5883
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
5926
5884
|
function isIssue(u) {
|
|
5927
|
-
return hasProperty(u,
|
|
5885
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
5928
5886
|
}
|
|
5929
5887
|
function hasInput(issue) {
|
|
5930
5888
|
return Object.hasOwn(issue, "input");
|
|
5931
5889
|
}
|
|
5932
5890
|
|
|
5933
5891
|
class IssueNodeImpl {
|
|
5934
|
-
[
|
|
5892
|
+
[TypeId8] = TypeId8;
|
|
5935
5893
|
constructor(input, options) {
|
|
5936
5894
|
if (options?.reportInput === true && input !== missing) {
|
|
5937
5895
|
this.input = input;
|
|
@@ -6305,9 +6263,9 @@ function setContent(operation, content) {
|
|
|
6305
6263
|
}
|
|
6306
6264
|
|
|
6307
6265
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6308
|
-
var
|
|
6266
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6309
6267
|
var Transformation = class extends Class3 {
|
|
6310
|
-
[
|
|
6268
|
+
[TypeId9] = TypeId9;
|
|
6311
6269
|
_tag = "Transformation";
|
|
6312
6270
|
decode;
|
|
6313
6271
|
encode;
|
|
@@ -6321,7 +6279,7 @@ var Transformation = class extends Class3 {
|
|
|
6321
6279
|
}
|
|
6322
6280
|
};
|
|
6323
6281
|
function isTransformation(u) {
|
|
6324
|
-
return hasProperty(u,
|
|
6282
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6325
6283
|
}
|
|
6326
6284
|
var makeTransformation = (options) => {
|
|
6327
6285
|
if (isTransformation(options)) {
|
|
@@ -6441,10 +6399,10 @@ var Context = class {
|
|
|
6441
6399
|
this.annotations = annotations;
|
|
6442
6400
|
}
|
|
6443
6401
|
};
|
|
6444
|
-
var
|
|
6402
|
+
var TypeId10 = "~effect/Schema";
|
|
6445
6403
|
|
|
6446
6404
|
class ASTNodeImpl {
|
|
6447
|
-
[
|
|
6405
|
+
[TypeId10] = TypeId10;
|
|
6448
6406
|
annotations;
|
|
6449
6407
|
checks;
|
|
6450
6408
|
encoding;
|
|
@@ -8659,10 +8617,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8659
8617
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8660
8618
|
|
|
8661
8619
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8662
|
-
var
|
|
8620
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8663
8621
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8664
8622
|
var SchemaProto = {
|
|
8665
|
-
[
|
|
8623
|
+
[TypeId11]: TypeId11,
|
|
8666
8624
|
get make() {
|
|
8667
8625
|
const value = make4(this);
|
|
8668
8626
|
Object.defineProperty(this, "make", {
|
|
@@ -9107,10 +9065,10 @@ function isSchemaError(u) {
|
|
|
9107
9065
|
}
|
|
9108
9066
|
|
|
9109
9067
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9110
|
-
var
|
|
9068
|
+
var TypeId12 = TypeId11;
|
|
9111
9069
|
function declareConstructor() {
|
|
9112
9070
|
return (typeParameters, run, annotations) => {
|
|
9113
|
-
return
|
|
9071
|
+
return make16(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make16(ast))), annotations));
|
|
9114
9072
|
};
|
|
9115
9073
|
}
|
|
9116
9074
|
function declare(is, annotations) {
|
|
@@ -9218,27 +9176,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
9218
9176
|
};
|
|
9219
9177
|
}
|
|
9220
9178
|
var encodeSync = encodeUnknownSync;
|
|
9221
|
-
var
|
|
9179
|
+
var make16 = make5;
|
|
9222
9180
|
function isSchema(u) {
|
|
9223
|
-
return hasProperty(u,
|
|
9181
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9224
9182
|
}
|
|
9225
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
9183
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make16(optionalKey2(schema.ast), {
|
|
9226
9184
|
schema
|
|
9227
9185
|
}));
|
|
9228
9186
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
9229
9187
|
const schema = UndefinedOr(self);
|
|
9230
|
-
return
|
|
9188
|
+
return make16(optional2(self.ast), {
|
|
9231
9189
|
schema
|
|
9232
9190
|
});
|
|
9233
9191
|
});
|
|
9234
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
9192
|
+
var toType = /* @__PURE__ */ lambda((schema) => make16(toType2(schema.ast), {
|
|
9235
9193
|
schema
|
|
9236
9194
|
}));
|
|
9237
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
9195
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make16(toEncoded(schema.ast), {
|
|
9238
9196
|
schema
|
|
9239
9197
|
}));
|
|
9240
9198
|
function Literal(literal) {
|
|
9241
|
-
const out =
|
|
9199
|
+
const out = make16(new Literal2(literal), {
|
|
9242
9200
|
literal,
|
|
9243
9201
|
transform(to) {
|
|
9244
9202
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -9249,16 +9207,16 @@ function Literal(literal) {
|
|
|
9249
9207
|
});
|
|
9250
9208
|
return out;
|
|
9251
9209
|
}
|
|
9252
|
-
var Never = /* @__PURE__ */
|
|
9253
|
-
var Unknown = /* @__PURE__ */
|
|
9254
|
-
var Null = /* @__PURE__ */
|
|
9255
|
-
var Undefined2 = /* @__PURE__ */
|
|
9256
|
-
var String4 = /* @__PURE__ */
|
|
9257
|
-
var Number5 = /* @__PURE__ */
|
|
9258
|
-
var Boolean2 = /* @__PURE__ */
|
|
9259
|
-
var Void = /* @__PURE__ */
|
|
9210
|
+
var Never = /* @__PURE__ */ make16(never3);
|
|
9211
|
+
var Unknown = /* @__PURE__ */ make16(unknown);
|
|
9212
|
+
var Null = /* @__PURE__ */ make16(null_);
|
|
9213
|
+
var Undefined2 = /* @__PURE__ */ make16(undefined_3);
|
|
9214
|
+
var String4 = /* @__PURE__ */ make16(string2);
|
|
9215
|
+
var Number5 = /* @__PURE__ */ make16(number2);
|
|
9216
|
+
var Boolean2 = /* @__PURE__ */ make16(boolean);
|
|
9217
|
+
var Void = /* @__PURE__ */ make16(void_4);
|
|
9260
9218
|
function makeStruct(ast, fields) {
|
|
9261
|
-
return
|
|
9219
|
+
return make16(ast, {
|
|
9262
9220
|
fields,
|
|
9263
9221
|
mapFields(f, options) {
|
|
9264
9222
|
const fields = f(this.fields);
|
|
@@ -9270,25 +9228,25 @@ function Struct(fields) {
|
|
|
9270
9228
|
return makeStruct(struct(fields, undefined), fields);
|
|
9271
9229
|
}
|
|
9272
9230
|
function Record(key, value) {
|
|
9273
|
-
return
|
|
9231
|
+
return make16(record(key.ast, value.ast), {
|
|
9274
9232
|
key,
|
|
9275
9233
|
value
|
|
9276
9234
|
});
|
|
9277
9235
|
}
|
|
9278
9236
|
function StructWithRest(schema, records) {
|
|
9279
|
-
return
|
|
9237
|
+
return make16(structWithRest(schema.ast, records.map(getAST)), {
|
|
9280
9238
|
schema,
|
|
9281
9239
|
records
|
|
9282
9240
|
});
|
|
9283
9241
|
}
|
|
9284
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
9242
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [], [schema.ast]), {
|
|
9285
9243
|
value: schema
|
|
9286
9244
|
}));
|
|
9287
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
9245
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
9288
9246
|
value: schema
|
|
9289
9247
|
}));
|
|
9290
9248
|
function makeUnion(ast, members) {
|
|
9291
|
-
return
|
|
9249
|
+
return make16(ast, {
|
|
9292
9250
|
members,
|
|
9293
9251
|
mapMembers(f, options) {
|
|
9294
9252
|
const members = f(this.members);
|
|
@@ -9301,7 +9259,7 @@ function Union(members, options) {
|
|
|
9301
9259
|
}
|
|
9302
9260
|
function Literals(literals) {
|
|
9303
9261
|
const members = literals.map(Literal);
|
|
9304
|
-
return
|
|
9262
|
+
return make16(union(members, undefined, undefined), {
|
|
9305
9263
|
literals,
|
|
9306
9264
|
members,
|
|
9307
9265
|
mapMembers(f) {
|
|
@@ -9318,18 +9276,18 @@ function Literals(literals) {
|
|
|
9318
9276
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
9319
9277
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
9320
9278
|
function suspend4(f) {
|
|
9321
|
-
return
|
|
9279
|
+
return make16(new Suspend(() => f().ast));
|
|
9322
9280
|
}
|
|
9323
9281
|
function decodeTo2(to, transformation) {
|
|
9324
9282
|
return (from) => {
|
|
9325
|
-
return
|
|
9283
|
+
return make16(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
9326
9284
|
from,
|
|
9327
9285
|
to
|
|
9328
9286
|
});
|
|
9329
9287
|
};
|
|
9330
9288
|
}
|
|
9331
9289
|
function withConstructorDefault2(defaultValue) {
|
|
9332
|
-
return (schema) =>
|
|
9290
|
+
return (schema) => make16(withConstructorDefault(schema.ast, defaultValue), {
|
|
9333
9291
|
schema
|
|
9334
9292
|
});
|
|
9335
9293
|
}
|
|
@@ -9405,7 +9363,7 @@ function isBase64(annotations) {
|
|
|
9405
9363
|
...annotations
|
|
9406
9364
|
});
|
|
9407
9365
|
}
|
|
9408
|
-
var Finite = /* @__PURE__ */
|
|
9366
|
+
var Finite = /* @__PURE__ */ make16(finite);
|
|
9409
9367
|
function makeIsGreaterThan(options) {
|
|
9410
9368
|
const gt = isGreaterThan2(options.order);
|
|
9411
9369
|
const formatter = options.formatter ?? format;
|
|
@@ -9928,7 +9886,7 @@ function CauseReason(error, defect) {
|
|
|
9928
9886
|
}
|
|
9929
9887
|
}))
|
|
9930
9888
|
});
|
|
9931
|
-
return
|
|
9889
|
+
return make16(schema.ast, {
|
|
9932
9890
|
error,
|
|
9933
9891
|
defect
|
|
9934
9892
|
});
|
|
@@ -9965,7 +9923,7 @@ function Cause(error, defect) {
|
|
|
9965
9923
|
}) => failures
|
|
9966
9924
|
}))
|
|
9967
9925
|
});
|
|
9968
|
-
return
|
|
9926
|
+
return make16(schema.ast, {
|
|
9969
9927
|
error,
|
|
9970
9928
|
defect
|
|
9971
9929
|
});
|
|
@@ -10026,7 +9984,7 @@ function Exit(value, error, defect) {
|
|
|
10026
9984
|
}
|
|
10027
9985
|
}))
|
|
10028
9986
|
});
|
|
10029
|
-
return
|
|
9987
|
+
return make16(schema.ast, {
|
|
10030
9988
|
value,
|
|
10031
9989
|
error,
|
|
10032
9990
|
defect
|
|
@@ -10051,7 +10009,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10051
10009
|
}
|
|
10052
10010
|
});
|
|
10053
10011
|
}
|
|
10054
|
-
static [
|
|
10012
|
+
static [TypeId12] = TypeId12;
|
|
10055
10013
|
get [ClassTypeId]() {
|
|
10056
10014
|
return ClassTypeId;
|
|
10057
10015
|
}
|
|
@@ -10130,7 +10088,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
10130
10088
|
const ClassTypeId = getClassTypeId(identifier);
|
|
10131
10089
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
10132
10090
|
const transformation = getClassTransformation(self);
|
|
10133
|
-
const to =
|
|
10091
|
+
const to = make16(new Declaration([from.ast], () => (input, ast, options) => {
|
|
10134
10092
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
10135
10093
|
}, {
|
|
10136
10094
|
identifier,
|
|
@@ -10183,7 +10141,7 @@ function toEquivalence(schema) {
|
|
|
10183
10141
|
}
|
|
10184
10142
|
var toCodecJson = toCodecJson2;
|
|
10185
10143
|
var toCodecStringTree = toCodecStringTree2;
|
|
10186
|
-
var Json = /* @__PURE__ */
|
|
10144
|
+
var Json = /* @__PURE__ */ make16(/* @__PURE__ */ annotate(Json2, {
|
|
10187
10145
|
toCode: () => ({
|
|
10188
10146
|
runtime: "Schema.Json",
|
|
10189
10147
|
Type: "Schema.Json"
|
|
@@ -10200,4 +10158,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10200
10158
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10201
10159
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10202
10160
|
|
|
10203
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe,
|
|
10161
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get3, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, 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, make15, _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, 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, make16, 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, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
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-qnnsy306.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-72232jhj.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-mr30hj39.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-20rbya07.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|