@kitman-sh/cli 0.13.12 → 0.13.14
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-36s51mp6.js → chunk-06dwvzv0.js} +64 -64
- package/dist/{chunk-fwja3qb1.js → chunk-24h0y27w.js} +1 -1
- package/dist/{chunk-ths93svq.js → chunk-3vbs995s.js} +208 -352
- package/dist/{chunk-4m923rz8.js → chunk-4142qeg3.js} +3 -3
- package/dist/{chunk-02ye1s9f.js → chunk-5ba08a9e.js} +18 -18
- package/dist/{chunk-nge8fq10.js → chunk-5mxvqg32.js} +9 -9
- package/dist/{chunk-n1aqwdc2.js → chunk-6agcvxbj.js} +10 -10
- package/dist/{chunk-8cxh8j07.js → chunk-89rpg6j9.js} +94 -94
- package/dist/{chunk-3z9yz32f.js → chunk-8xpdkxr7.js} +14 -60
- package/dist/{chunk-1bkrxc3v.js → chunk-aa30tt6t.js} +2 -2
- package/dist/{chunk-4t6nrgxw.js → chunk-d4kmyv5h.js} +4 -4
- package/dist/{chunk-npjpmb0w.js → chunk-dwxqp8ez.js} +9 -9
- package/dist/{chunk-x5nv63jj.js → chunk-ef3nzqng.js} +3 -3
- package/dist/{chunk-8t1vygmr.js → chunk-fk5238tn.js} +4 -4
- package/dist/{chunk-eahqsd8h.js → chunk-ggmwpwhf.js} +2 -2
- package/dist/{chunk-szt25e0z.js → chunk-hgfphycc.js} +191 -39
- package/dist/{chunk-95w14qxp.js → chunk-hmt2egsx.js} +6 -6
- package/dist/{chunk-9d03t0pn.js → chunk-hw9fcfs0.js} +9 -9
- package/dist/{chunk-yab3j170.js → chunk-mmd7mjv0.js} +3 -3
- package/dist/{chunk-mcw7wvtx.js → chunk-pxvd8w2v.js} +6 -1
- package/dist/{chunk-zb5pnthp.js → chunk-st8ggqv1.js} +33 -33
- package/dist/{chunk-2xh5p0na.js → chunk-vjsqg4a5.js} +12 -11
- package/dist/{chunk-z74fnmqb.js → chunk-vmww6hnk.js} +20 -20
- package/dist/{chunk-n734b61f.js → chunk-zencwg2t.js} +1 -1
- package/dist/{chunk-8pbnfqaz.js → chunk-zgraq2y3.js} +101 -59
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1566,7 +1566,7 @@ var ServiceProto = {
|
|
|
1566
1566
|
.../* @__PURE__ */ Prototype({
|
|
1567
1567
|
label: "Service",
|
|
1568
1568
|
evaluate(fiber) {
|
|
1569
|
-
return exitSucceed(
|
|
1569
|
+
return exitSucceed(get4(fiber.context, this));
|
|
1570
1570
|
}
|
|
1571
1571
|
}),
|
|
1572
1572
|
toJSON() {
|
|
@@ -1582,10 +1582,10 @@ var ServiceProto = {
|
|
|
1582
1582
|
return make14(this, self);
|
|
1583
1583
|
},
|
|
1584
1584
|
use(f) {
|
|
1585
|
-
return withFiber((fiber) => f(
|
|
1585
|
+
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
1586
1586
|
},
|
|
1587
1587
|
useSync(f) {
|
|
1588
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1588
|
+
return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
|
|
1589
1589
|
}
|
|
1590
1590
|
};
|
|
1591
1591
|
var cacheKeys = /* @__PURE__ */ new Set;
|
|
@@ -1715,7 +1715,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
return value;
|
|
1717
1717
|
});
|
|
1718
|
-
var
|
|
1718
|
+
var get4 = getUnsafe;
|
|
1719
1719
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1720
1720
|
var getDefaultValue = (ref) => {
|
|
1721
1721
|
if (defaultValueCacheKey in ref) {
|
|
@@ -3001,7 +3001,7 @@ class FiberImpl {
|
|
|
3001
3001
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
3002
3002
|
}
|
|
3003
3003
|
getRef(ref) {
|
|
3004
|
-
return
|
|
3004
|
+
return get4(this.context, ref);
|
|
3005
3005
|
}
|
|
3006
3006
|
addObserver(cb) {
|
|
3007
3007
|
if (this._exit) {
|
|
@@ -3202,17 +3202,17 @@ class FiberImpl {
|
|
|
3202
3202
|
var makeFiberContextCache = (context) => {
|
|
3203
3203
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3204
3204
|
return {
|
|
3205
|
-
scheduler:
|
|
3205
|
+
scheduler: get4(context, Scheduler),
|
|
3206
3206
|
tracer: currentTracer,
|
|
3207
3207
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3208
|
-
tracerEnabled:
|
|
3208
|
+
tracerEnabled: get4(context, TracerEnabled),
|
|
3209
3209
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3210
|
-
logLevel:
|
|
3211
|
-
minimumLogLevel:
|
|
3212
|
-
stackFrame:
|
|
3210
|
+
logLevel: get4(context, CurrentLogLevel),
|
|
3211
|
+
minimumLogLevel: get4(context, MinimumLogLevel),
|
|
3212
|
+
stackFrame: get4(context, CurrentStackFrame),
|
|
3213
3213
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3214
|
-
maxOpsBeforeYield:
|
|
3215
|
-
preventYield:
|
|
3214
|
+
maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
|
|
3215
|
+
preventYield: get4(context, PreventSchedulerYield)
|
|
3216
3216
|
};
|
|
3217
3217
|
};
|
|
3218
3218
|
var deferredInterruptCont = {
|
|
@@ -4709,10 +4709,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4709
4709
|
var filterDisablePropagation = (span) => {
|
|
4710
4710
|
if (!span)
|
|
4711
4711
|
return none();
|
|
4712
|
-
return
|
|
4712
|
+
return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4713
4713
|
};
|
|
4714
4714
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4715
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4715
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
|
|
4716
4716
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4717
4717
|
let span;
|
|
4718
4718
|
if (disablePropagation) {
|
|
@@ -5865,6 +5865,48 @@ var getCode = (charCode) => {
|
|
|
5865
5865
|
return codes[charCode];
|
|
5866
5866
|
};
|
|
5867
5867
|
|
|
5868
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5869
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5870
|
+
var value2 = (self) => {
|
|
5871
|
+
if (redactedRegistry.has(self)) {
|
|
5872
|
+
return redactedRegistry.get(self);
|
|
5873
|
+
} else {
|
|
5874
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5875
|
+
}
|
|
5876
|
+
};
|
|
5877
|
+
|
|
5878
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5879
|
+
var TypeId8 = "~effect/Redacted";
|
|
5880
|
+
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5881
|
+
var make16 = (value, options) => {
|
|
5882
|
+
const self = Object.create(Proto2);
|
|
5883
|
+
if (options?.label) {
|
|
5884
|
+
self.label = options.label;
|
|
5885
|
+
}
|
|
5886
|
+
redactedRegistry.set(self, value);
|
|
5887
|
+
return self;
|
|
5888
|
+
};
|
|
5889
|
+
var Proto2 = {
|
|
5890
|
+
[TypeId8]: {
|
|
5891
|
+
_A: (_) => _
|
|
5892
|
+
},
|
|
5893
|
+
label: undefined,
|
|
5894
|
+
...PipeInspectableProto,
|
|
5895
|
+
toJSON() {
|
|
5896
|
+
return this.toString();
|
|
5897
|
+
},
|
|
5898
|
+
toString() {
|
|
5899
|
+
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
5900
|
+
},
|
|
5901
|
+
[symbol]() {
|
|
5902
|
+
return hash(redactedRegistry.get(this));
|
|
5903
|
+
},
|
|
5904
|
+
[symbol2](that) {
|
|
5905
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5906
|
+
}
|
|
5907
|
+
};
|
|
5908
|
+
var value = value2;
|
|
5909
|
+
|
|
5868
5910
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5869
5911
|
function resolve(ast) {
|
|
5870
5912
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5888,16 +5930,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5888
5930
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5889
5931
|
|
|
5890
5932
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5891
|
-
var
|
|
5933
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5892
5934
|
function isIssue(u) {
|
|
5893
|
-
return hasProperty(u,
|
|
5935
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5894
5936
|
}
|
|
5895
5937
|
function hasInput(issue) {
|
|
5896
5938
|
return Object.hasOwn(issue, "input");
|
|
5897
5939
|
}
|
|
5898
5940
|
|
|
5899
5941
|
class IssueNodeImpl {
|
|
5900
|
-
[
|
|
5942
|
+
[TypeId9] = TypeId9;
|
|
5901
5943
|
constructor(input, options) {
|
|
5902
5944
|
if (options?.reportInput === true && input !== missing) {
|
|
5903
5945
|
this.input = input;
|
|
@@ -6271,9 +6313,9 @@ function setContent(operation, content) {
|
|
|
6271
6313
|
}
|
|
6272
6314
|
|
|
6273
6315
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6274
|
-
var
|
|
6316
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6275
6317
|
var Transformation = class extends Class3 {
|
|
6276
|
-
[
|
|
6318
|
+
[TypeId10] = TypeId10;
|
|
6277
6319
|
_tag = "Transformation";
|
|
6278
6320
|
decode;
|
|
6279
6321
|
encode;
|
|
@@ -6287,7 +6329,7 @@ var Transformation = class extends Class3 {
|
|
|
6287
6329
|
}
|
|
6288
6330
|
};
|
|
6289
6331
|
function isTransformation(u) {
|
|
6290
|
-
return hasProperty(u,
|
|
6332
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6291
6333
|
}
|
|
6292
6334
|
var makeTransformation = (options) => {
|
|
6293
6335
|
if (isTransformation(options)) {
|
|
@@ -6407,10 +6449,10 @@ var Context = class {
|
|
|
6407
6449
|
this.annotations = annotations;
|
|
6408
6450
|
}
|
|
6409
6451
|
};
|
|
6410
|
-
var
|
|
6452
|
+
var TypeId11 = "~effect/Schema";
|
|
6411
6453
|
|
|
6412
6454
|
class ASTNodeImpl {
|
|
6413
|
-
[
|
|
6455
|
+
[TypeId11] = TypeId11;
|
|
6414
6456
|
annotations;
|
|
6415
6457
|
checks;
|
|
6416
6458
|
encoding;
|
|
@@ -8625,10 +8667,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8625
8667
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8626
8668
|
|
|
8627
8669
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8628
|
-
var
|
|
8670
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8629
8671
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8630
8672
|
var SchemaProto = {
|
|
8631
|
-
[
|
|
8673
|
+
[TypeId12]: TypeId12,
|
|
8632
8674
|
get make() {
|
|
8633
8675
|
const value = make4(this);
|
|
8634
8676
|
Object.defineProperty(this, "make", {
|
|
@@ -9073,10 +9115,10 @@ function isSchemaError(u) {
|
|
|
9073
9115
|
}
|
|
9074
9116
|
|
|
9075
9117
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9076
|
-
var
|
|
9118
|
+
var TypeId13 = TypeId12;
|
|
9077
9119
|
function declareConstructor() {
|
|
9078
9120
|
return (typeParameters, run, annotations) => {
|
|
9079
|
-
return
|
|
9121
|
+
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
9080
9122
|
};
|
|
9081
9123
|
}
|
|
9082
9124
|
function declare(is, annotations) {
|
|
@@ -9184,27 +9226,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
9184
9226
|
};
|
|
9185
9227
|
}
|
|
9186
9228
|
var encodeSync = encodeUnknownSync;
|
|
9187
|
-
var
|
|
9229
|
+
var make17 = make5;
|
|
9188
9230
|
function isSchema(u) {
|
|
9189
|
-
return hasProperty(u,
|
|
9231
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9190
9232
|
}
|
|
9191
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
9233
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9192
9234
|
schema
|
|
9193
9235
|
}));
|
|
9194
9236
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
9195
9237
|
const schema = UndefinedOr(self);
|
|
9196
|
-
return
|
|
9238
|
+
return make17(optional2(self.ast), {
|
|
9197
9239
|
schema
|
|
9198
9240
|
});
|
|
9199
9241
|
});
|
|
9200
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
9242
|
+
var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
|
|
9201
9243
|
schema
|
|
9202
9244
|
}));
|
|
9203
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
9245
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
|
|
9204
9246
|
schema
|
|
9205
9247
|
}));
|
|
9206
9248
|
function Literal(literal) {
|
|
9207
|
-
const out =
|
|
9249
|
+
const out = make17(new Literal2(literal), {
|
|
9208
9250
|
literal,
|
|
9209
9251
|
transform(to) {
|
|
9210
9252
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -9215,16 +9257,16 @@ function Literal(literal) {
|
|
|
9215
9257
|
});
|
|
9216
9258
|
return out;
|
|
9217
9259
|
}
|
|
9218
|
-
var Never = /* @__PURE__ */
|
|
9219
|
-
var Unknown = /* @__PURE__ */
|
|
9220
|
-
var Null = /* @__PURE__ */
|
|
9221
|
-
var Undefined2 = /* @__PURE__ */
|
|
9222
|
-
var String4 = /* @__PURE__ */
|
|
9223
|
-
var Number5 = /* @__PURE__ */
|
|
9224
|
-
var Boolean2 = /* @__PURE__ */
|
|
9225
|
-
var Void = /* @__PURE__ */
|
|
9260
|
+
var Never = /* @__PURE__ */ make17(never3);
|
|
9261
|
+
var Unknown = /* @__PURE__ */ make17(unknown);
|
|
9262
|
+
var Null = /* @__PURE__ */ make17(null_);
|
|
9263
|
+
var Undefined2 = /* @__PURE__ */ make17(undefined_3);
|
|
9264
|
+
var String4 = /* @__PURE__ */ make17(string2);
|
|
9265
|
+
var Number5 = /* @__PURE__ */ make17(number2);
|
|
9266
|
+
var Boolean2 = /* @__PURE__ */ make17(boolean);
|
|
9267
|
+
var Void = /* @__PURE__ */ make17(void_4);
|
|
9226
9268
|
function makeStruct(ast, fields) {
|
|
9227
|
-
return
|
|
9269
|
+
return make17(ast, {
|
|
9228
9270
|
fields,
|
|
9229
9271
|
mapFields(f, options) {
|
|
9230
9272
|
const fields = f(this.fields);
|
|
@@ -9236,25 +9278,25 @@ function Struct(fields) {
|
|
|
9236
9278
|
return makeStruct(struct(fields, undefined), fields);
|
|
9237
9279
|
}
|
|
9238
9280
|
function Record(key, value) {
|
|
9239
|
-
return
|
|
9281
|
+
return make17(record(key.ast, value.ast), {
|
|
9240
9282
|
key,
|
|
9241
9283
|
value
|
|
9242
9284
|
});
|
|
9243
9285
|
}
|
|
9244
9286
|
function StructWithRest(schema, records) {
|
|
9245
|
-
return
|
|
9287
|
+
return make17(structWithRest(schema.ast, records.map(getAST)), {
|
|
9246
9288
|
schema,
|
|
9247
9289
|
records
|
|
9248
9290
|
});
|
|
9249
9291
|
}
|
|
9250
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
9292
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
|
|
9251
9293
|
value: schema
|
|
9252
9294
|
}));
|
|
9253
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
9295
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
9254
9296
|
value: schema
|
|
9255
9297
|
}));
|
|
9256
9298
|
function makeUnion(ast, members) {
|
|
9257
|
-
return
|
|
9299
|
+
return make17(ast, {
|
|
9258
9300
|
members,
|
|
9259
9301
|
mapMembers(f, options) {
|
|
9260
9302
|
const members = f(this.members);
|
|
@@ -9267,7 +9309,7 @@ function Union(members, options) {
|
|
|
9267
9309
|
}
|
|
9268
9310
|
function Literals(literals) {
|
|
9269
9311
|
const members = literals.map(Literal);
|
|
9270
|
-
return
|
|
9312
|
+
return make17(union(members, undefined, undefined), {
|
|
9271
9313
|
literals,
|
|
9272
9314
|
members,
|
|
9273
9315
|
mapMembers(f) {
|
|
@@ -9284,18 +9326,18 @@ function Literals(literals) {
|
|
|
9284
9326
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
9285
9327
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
9286
9328
|
function suspend4(f) {
|
|
9287
|
-
return
|
|
9329
|
+
return make17(new Suspend(() => f().ast));
|
|
9288
9330
|
}
|
|
9289
9331
|
function decodeTo2(to, transformation) {
|
|
9290
9332
|
return (from) => {
|
|
9291
|
-
return
|
|
9333
|
+
return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
9292
9334
|
from,
|
|
9293
9335
|
to
|
|
9294
9336
|
});
|
|
9295
9337
|
};
|
|
9296
9338
|
}
|
|
9297
9339
|
function withConstructorDefault2(defaultValue) {
|
|
9298
|
-
return (schema) =>
|
|
9340
|
+
return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
|
|
9299
9341
|
schema
|
|
9300
9342
|
});
|
|
9301
9343
|
}
|
|
@@ -9371,7 +9413,7 @@ function isBase64(annotations) {
|
|
|
9371
9413
|
...annotations
|
|
9372
9414
|
});
|
|
9373
9415
|
}
|
|
9374
|
-
var Finite = /* @__PURE__ */
|
|
9416
|
+
var Finite = /* @__PURE__ */ make17(finite);
|
|
9375
9417
|
function makeIsGreaterThan(options) {
|
|
9376
9418
|
const gt = isGreaterThan2(options.order);
|
|
9377
9419
|
const formatter = options.formatter ?? format;
|
|
@@ -9894,7 +9936,7 @@ function CauseReason(error, defect) {
|
|
|
9894
9936
|
}
|
|
9895
9937
|
}))
|
|
9896
9938
|
});
|
|
9897
|
-
return
|
|
9939
|
+
return make17(schema.ast, {
|
|
9898
9940
|
error,
|
|
9899
9941
|
defect
|
|
9900
9942
|
});
|
|
@@ -9931,7 +9973,7 @@ function Cause(error, defect) {
|
|
|
9931
9973
|
}) => failures
|
|
9932
9974
|
}))
|
|
9933
9975
|
});
|
|
9934
|
-
return
|
|
9976
|
+
return make17(schema.ast, {
|
|
9935
9977
|
error,
|
|
9936
9978
|
defect
|
|
9937
9979
|
});
|
|
@@ -9992,7 +10034,7 @@ function Exit(value, error, defect) {
|
|
|
9992
10034
|
}
|
|
9993
10035
|
}))
|
|
9994
10036
|
});
|
|
9995
|
-
return
|
|
10037
|
+
return make17(schema.ast, {
|
|
9996
10038
|
value,
|
|
9997
10039
|
error,
|
|
9998
10040
|
defect
|
|
@@ -10017,7 +10059,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10017
10059
|
}
|
|
10018
10060
|
});
|
|
10019
10061
|
}
|
|
10020
|
-
static [
|
|
10062
|
+
static [TypeId13] = TypeId13;
|
|
10021
10063
|
get [ClassTypeId]() {
|
|
10022
10064
|
return ClassTypeId;
|
|
10023
10065
|
}
|
|
@@ -10096,7 +10138,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
10096
10138
|
const ClassTypeId = getClassTypeId(identifier);
|
|
10097
10139
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
10098
10140
|
const transformation = getClassTransformation(self);
|
|
10099
|
-
const to =
|
|
10141
|
+
const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
|
|
10100
10142
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
10101
10143
|
}, {
|
|
10102
10144
|
identifier,
|
|
@@ -10149,7 +10191,7 @@ function toEquivalence(schema) {
|
|
|
10149
10191
|
}
|
|
10150
10192
|
var toCodecJson = toCodecJson2;
|
|
10151
10193
|
var toCodecStringTree = toCodecStringTree2;
|
|
10152
|
-
var Json = /* @__PURE__ */
|
|
10194
|
+
var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
|
|
10153
10195
|
toCode: () => ({
|
|
10154
10196
|
runtime: "Schema.Json",
|
|
10155
10197
|
Type: "Schema.Json"
|
|
@@ -10296,4 +10338,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
10296
10338
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
10297
10339
|
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;
|
|
10298
10340
|
|
|
10299
|
-
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, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe,
|
|
10341
|
+
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, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, 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, 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, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, isRedacted, make16, value, 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, 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 };
|
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-aa30tt6t.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-mmd7mjv0.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-d4kmyv5h.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-st8ggqv1.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|