@kitman-sh/cli 0.10.86 → 0.10.88
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-ekkjbmr9.js → chunk-101maext.js} +5 -5
- package/dist/{chunk-292vjjdz.js → chunk-1mcwey0c.js} +1 -1
- package/dist/{chunk-mr30hj39.js → chunk-5dwyvg1z.js} +5 -5
- package/dist/{chunk-38end526.js → chunk-7202s8t5.js} +19 -19
- package/dist/{chunk-ehwvgxq8.js → chunk-7bv81x50.js} +8 -8
- package/dist/{chunk-wbdgjd1n.js → chunk-8n5fwxyd.js} +31 -31
- package/dist/{chunk-q1qrwcnw.js → chunk-9b0agw88.js} +24 -24
- package/dist/{chunk-6tq2m8xc.js → chunk-a7m6tq5q.js} +3 -3
- package/dist/{chunk-zms40x1v.js → chunk-aj4ev9v2.js} +2 -2
- package/dist/{chunk-xq4k0mgr.js → chunk-caqesagt.js} +101 -59
- package/dist/{chunk-wtx1vq9t.js → chunk-cw2ghw7n.js} +4 -4
- package/dist/{chunk-999xbcaa.js → chunk-dmwqvnmb.js} +6 -6
- package/dist/{chunk-jfgmhb6k.js → chunk-ghga9phe.js} +5 -5
- package/dist/{chunk-h8fq958v.js → chunk-h2e1m210.js} +204 -356
- package/dist/{chunk-b0qaan2c.js → chunk-jv2xwq5v.js} +4 -4
- package/dist/{chunk-93vddjpx.js → chunk-maj4dn1b.js} +1 -1
- package/dist/{chunk-mak28dxp.js → chunk-ntbwavn3.js} +20 -20
- package/dist/{chunk-3wvp5n5a.js → chunk-p74pmd81.js} +1 -1
- package/dist/{chunk-4sz3sg95.js → chunk-q6yydf12.js} +7 -7
- package/dist/{chunk-y1x0mb3b.js → chunk-tm2zkgsf.js} +12 -12
- package/dist/{chunk-qnnsy306.js → chunk-vne4rsj0.js} +2 -2
- package/dist/{chunk-2fqry6rd.js → chunk-w9j2yb0n.js} +183 -40
- package/dist/{chunk-bjexx93x.js → chunk-ybp1mwv9.js} +14 -60
- package/dist/{chunk-gmt7awee.js → chunk-zy5ywtx2.js} +9 -9
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1565,7 +1565,7 @@ var ServiceProto = {
|
|
|
1565
1565
|
.../* @__PURE__ */ Prototype({
|
|
1566
1566
|
label: "Service",
|
|
1567
1567
|
evaluate(fiber) {
|
|
1568
|
-
return exitSucceed(
|
|
1568
|
+
return exitSucceed(get4(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(get4(fiber.context, this)));
|
|
1585
1585
|
},
|
|
1586
1586
|
useSync(f) {
|
|
1587
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1587
|
+
return withFiber((fiber) => exitSucceed(f(get4(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 get4 = 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 get4(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: get4(context, Scheduler),
|
|
3199
3199
|
tracer: currentTracer,
|
|
3200
3200
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3201
|
-
tracerEnabled:
|
|
3201
|
+
tracerEnabled: get4(context, TracerEnabled),
|
|
3202
3202
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3203
|
-
logLevel:
|
|
3204
|
-
minimumLogLevel:
|
|
3205
|
-
stackFrame:
|
|
3203
|
+
logLevel: get4(context, CurrentLogLevel),
|
|
3204
|
+
minimumLogLevel: get4(context, MinimumLogLevel),
|
|
3205
|
+
stackFrame: get4(context, CurrentStackFrame),
|
|
3206
3206
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3207
|
-
maxOpsBeforeYield:
|
|
3208
|
-
preventYield:
|
|
3207
|
+
maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
|
|
3208
|
+
preventYield: get4(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 get4(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 && get4(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,6 +5857,48 @@ 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
|
+
|
|
5860
5902
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5861
5903
|
function resolve(ast) {
|
|
5862
5904
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5880,16 +5922,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5880
5922
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5881
5923
|
|
|
5882
5924
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5883
|
-
var
|
|
5925
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5884
5926
|
function isIssue(u) {
|
|
5885
|
-
return hasProperty(u,
|
|
5927
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5886
5928
|
}
|
|
5887
5929
|
function hasInput(issue) {
|
|
5888
5930
|
return Object.hasOwn(issue, "input");
|
|
5889
5931
|
}
|
|
5890
5932
|
|
|
5891
5933
|
class IssueNodeImpl {
|
|
5892
|
-
[
|
|
5934
|
+
[TypeId9] = TypeId9;
|
|
5893
5935
|
constructor(input, options) {
|
|
5894
5936
|
if (options?.reportInput === true && input !== missing) {
|
|
5895
5937
|
this.input = input;
|
|
@@ -6263,9 +6305,9 @@ function setContent(operation, content) {
|
|
|
6263
6305
|
}
|
|
6264
6306
|
|
|
6265
6307
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6266
|
-
var
|
|
6308
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6267
6309
|
var Transformation = class extends Class3 {
|
|
6268
|
-
[
|
|
6310
|
+
[TypeId10] = TypeId10;
|
|
6269
6311
|
_tag = "Transformation";
|
|
6270
6312
|
decode;
|
|
6271
6313
|
encode;
|
|
@@ -6279,7 +6321,7 @@ var Transformation = class extends Class3 {
|
|
|
6279
6321
|
}
|
|
6280
6322
|
};
|
|
6281
6323
|
function isTransformation(u) {
|
|
6282
|
-
return hasProperty(u,
|
|
6324
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6283
6325
|
}
|
|
6284
6326
|
var makeTransformation = (options) => {
|
|
6285
6327
|
if (isTransformation(options)) {
|
|
@@ -6399,10 +6441,10 @@ var Context = class {
|
|
|
6399
6441
|
this.annotations = annotations;
|
|
6400
6442
|
}
|
|
6401
6443
|
};
|
|
6402
|
-
var
|
|
6444
|
+
var TypeId11 = "~effect/Schema";
|
|
6403
6445
|
|
|
6404
6446
|
class ASTNodeImpl {
|
|
6405
|
-
[
|
|
6447
|
+
[TypeId11] = TypeId11;
|
|
6406
6448
|
annotations;
|
|
6407
6449
|
checks;
|
|
6408
6450
|
encoding;
|
|
@@ -8617,10 +8659,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8617
8659
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8618
8660
|
|
|
8619
8661
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8620
|
-
var
|
|
8662
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8621
8663
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8622
8664
|
var SchemaProto = {
|
|
8623
|
-
[
|
|
8665
|
+
[TypeId12]: TypeId12,
|
|
8624
8666
|
get make() {
|
|
8625
8667
|
const value = make4(this);
|
|
8626
8668
|
Object.defineProperty(this, "make", {
|
|
@@ -9065,10 +9107,10 @@ function isSchemaError(u) {
|
|
|
9065
9107
|
}
|
|
9066
9108
|
|
|
9067
9109
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9068
|
-
var
|
|
9110
|
+
var TypeId13 = TypeId12;
|
|
9069
9111
|
function declareConstructor() {
|
|
9070
9112
|
return (typeParameters, run, annotations) => {
|
|
9071
|
-
return
|
|
9113
|
+
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
9072
9114
|
};
|
|
9073
9115
|
}
|
|
9074
9116
|
function declare(is, annotations) {
|
|
@@ -9176,27 +9218,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
9176
9218
|
};
|
|
9177
9219
|
}
|
|
9178
9220
|
var encodeSync = encodeUnknownSync;
|
|
9179
|
-
var
|
|
9221
|
+
var make17 = make5;
|
|
9180
9222
|
function isSchema(u) {
|
|
9181
|
-
return hasProperty(u,
|
|
9223
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9182
9224
|
}
|
|
9183
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
9225
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9184
9226
|
schema
|
|
9185
9227
|
}));
|
|
9186
9228
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
9187
9229
|
const schema = UndefinedOr(self);
|
|
9188
|
-
return
|
|
9230
|
+
return make17(optional2(self.ast), {
|
|
9189
9231
|
schema
|
|
9190
9232
|
});
|
|
9191
9233
|
});
|
|
9192
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
9234
|
+
var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
|
|
9193
9235
|
schema
|
|
9194
9236
|
}));
|
|
9195
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
9237
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
|
|
9196
9238
|
schema
|
|
9197
9239
|
}));
|
|
9198
9240
|
function Literal(literal) {
|
|
9199
|
-
const out =
|
|
9241
|
+
const out = make17(new Literal2(literal), {
|
|
9200
9242
|
literal,
|
|
9201
9243
|
transform(to) {
|
|
9202
9244
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -9207,16 +9249,16 @@ function Literal(literal) {
|
|
|
9207
9249
|
});
|
|
9208
9250
|
return out;
|
|
9209
9251
|
}
|
|
9210
|
-
var Never = /* @__PURE__ */
|
|
9211
|
-
var Unknown = /* @__PURE__ */
|
|
9212
|
-
var Null = /* @__PURE__ */
|
|
9213
|
-
var Undefined2 = /* @__PURE__ */
|
|
9214
|
-
var String4 = /* @__PURE__ */
|
|
9215
|
-
var Number5 = /* @__PURE__ */
|
|
9216
|
-
var Boolean2 = /* @__PURE__ */
|
|
9217
|
-
var Void = /* @__PURE__ */
|
|
9252
|
+
var Never = /* @__PURE__ */ make17(never3);
|
|
9253
|
+
var Unknown = /* @__PURE__ */ make17(unknown);
|
|
9254
|
+
var Null = /* @__PURE__ */ make17(null_);
|
|
9255
|
+
var Undefined2 = /* @__PURE__ */ make17(undefined_3);
|
|
9256
|
+
var String4 = /* @__PURE__ */ make17(string2);
|
|
9257
|
+
var Number5 = /* @__PURE__ */ make17(number2);
|
|
9258
|
+
var Boolean2 = /* @__PURE__ */ make17(boolean);
|
|
9259
|
+
var Void = /* @__PURE__ */ make17(void_4);
|
|
9218
9260
|
function makeStruct(ast, fields) {
|
|
9219
|
-
return
|
|
9261
|
+
return make17(ast, {
|
|
9220
9262
|
fields,
|
|
9221
9263
|
mapFields(f, options) {
|
|
9222
9264
|
const fields = f(this.fields);
|
|
@@ -9228,25 +9270,25 @@ function Struct(fields) {
|
|
|
9228
9270
|
return makeStruct(struct(fields, undefined), fields);
|
|
9229
9271
|
}
|
|
9230
9272
|
function Record(key, value) {
|
|
9231
|
-
return
|
|
9273
|
+
return make17(record(key.ast, value.ast), {
|
|
9232
9274
|
key,
|
|
9233
9275
|
value
|
|
9234
9276
|
});
|
|
9235
9277
|
}
|
|
9236
9278
|
function StructWithRest(schema, records) {
|
|
9237
|
-
return
|
|
9279
|
+
return make17(structWithRest(schema.ast, records.map(getAST)), {
|
|
9238
9280
|
schema,
|
|
9239
9281
|
records
|
|
9240
9282
|
});
|
|
9241
9283
|
}
|
|
9242
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
9284
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
|
|
9243
9285
|
value: schema
|
|
9244
9286
|
}));
|
|
9245
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
9287
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
9246
9288
|
value: schema
|
|
9247
9289
|
}));
|
|
9248
9290
|
function makeUnion(ast, members) {
|
|
9249
|
-
return
|
|
9291
|
+
return make17(ast, {
|
|
9250
9292
|
members,
|
|
9251
9293
|
mapMembers(f, options) {
|
|
9252
9294
|
const members = f(this.members);
|
|
@@ -9259,7 +9301,7 @@ function Union(members, options) {
|
|
|
9259
9301
|
}
|
|
9260
9302
|
function Literals(literals) {
|
|
9261
9303
|
const members = literals.map(Literal);
|
|
9262
|
-
return
|
|
9304
|
+
return make17(union(members, undefined, undefined), {
|
|
9263
9305
|
literals,
|
|
9264
9306
|
members,
|
|
9265
9307
|
mapMembers(f) {
|
|
@@ -9276,18 +9318,18 @@ function Literals(literals) {
|
|
|
9276
9318
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
9277
9319
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
9278
9320
|
function suspend4(f) {
|
|
9279
|
-
return
|
|
9321
|
+
return make17(new Suspend(() => f().ast));
|
|
9280
9322
|
}
|
|
9281
9323
|
function decodeTo2(to, transformation) {
|
|
9282
9324
|
return (from) => {
|
|
9283
|
-
return
|
|
9325
|
+
return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
9284
9326
|
from,
|
|
9285
9327
|
to
|
|
9286
9328
|
});
|
|
9287
9329
|
};
|
|
9288
9330
|
}
|
|
9289
9331
|
function withConstructorDefault2(defaultValue) {
|
|
9290
|
-
return (schema) =>
|
|
9332
|
+
return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
|
|
9291
9333
|
schema
|
|
9292
9334
|
});
|
|
9293
9335
|
}
|
|
@@ -9363,7 +9405,7 @@ function isBase64(annotations) {
|
|
|
9363
9405
|
...annotations
|
|
9364
9406
|
});
|
|
9365
9407
|
}
|
|
9366
|
-
var Finite = /* @__PURE__ */
|
|
9408
|
+
var Finite = /* @__PURE__ */ make17(finite);
|
|
9367
9409
|
function makeIsGreaterThan(options) {
|
|
9368
9410
|
const gt = isGreaterThan2(options.order);
|
|
9369
9411
|
const formatter = options.formatter ?? format;
|
|
@@ -9886,7 +9928,7 @@ function CauseReason(error, defect) {
|
|
|
9886
9928
|
}
|
|
9887
9929
|
}))
|
|
9888
9930
|
});
|
|
9889
|
-
return
|
|
9931
|
+
return make17(schema.ast, {
|
|
9890
9932
|
error,
|
|
9891
9933
|
defect
|
|
9892
9934
|
});
|
|
@@ -9923,7 +9965,7 @@ function Cause(error, defect) {
|
|
|
9923
9965
|
}) => failures
|
|
9924
9966
|
}))
|
|
9925
9967
|
});
|
|
9926
|
-
return
|
|
9968
|
+
return make17(schema.ast, {
|
|
9927
9969
|
error,
|
|
9928
9970
|
defect
|
|
9929
9971
|
});
|
|
@@ -9984,7 +10026,7 @@ function Exit(value, error, defect) {
|
|
|
9984
10026
|
}
|
|
9985
10027
|
}))
|
|
9986
10028
|
});
|
|
9987
|
-
return
|
|
10029
|
+
return make17(schema.ast, {
|
|
9988
10030
|
value,
|
|
9989
10031
|
error,
|
|
9990
10032
|
defect
|
|
@@ -10009,7 +10051,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10009
10051
|
}
|
|
10010
10052
|
});
|
|
10011
10053
|
}
|
|
10012
|
-
static [
|
|
10054
|
+
static [TypeId13] = TypeId13;
|
|
10013
10055
|
get [ClassTypeId]() {
|
|
10014
10056
|
return ClassTypeId;
|
|
10015
10057
|
}
|
|
@@ -10088,7 +10130,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
10088
10130
|
const ClassTypeId = getClassTypeId(identifier);
|
|
10089
10131
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
10090
10132
|
const transformation = getClassTransformation(self);
|
|
10091
|
-
const to =
|
|
10133
|
+
const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
|
|
10092
10134
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
10093
10135
|
}, {
|
|
10094
10136
|
identifier,
|
|
@@ -10141,7 +10183,7 @@ function toEquivalence(schema) {
|
|
|
10141
10183
|
}
|
|
10142
10184
|
var toCodecJson = toCodecJson2;
|
|
10143
10185
|
var toCodecStringTree = toCodecStringTree2;
|
|
10144
|
-
var Json = /* @__PURE__ */
|
|
10186
|
+
var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
|
|
10145
10187
|
toCode: () => ({
|
|
10146
10188
|
runtime: "Schema.Json",
|
|
10147
10189
|
Type: "Schema.Json"
|
|
@@ -10158,4 +10200,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10158
10200
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10159
10201
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10160
10202
|
|
|
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,
|
|
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, get4, 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, 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, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-aj4ev9v2.js";
|
|
8
|
+
import"./chunk-p74pmd81.js";
|
|
9
|
+
import"./chunk-1mcwey0c.js";
|
|
10
|
+
import"./chunk-caqesagt.js";
|
|
11
11
|
export {
|
|
12
12
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
13
13
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-caqesagt.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-1mcwey0c.js";
|
|
31
31
|
import {
|
|
32
32
|
make10,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-w9j2yb0n.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make2
|
|
39
|
+
} from "./chunk-ybp1mwv9.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,7 +169,7 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
172
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
173
173
|
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-caqesagt.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-1mcwey0c.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-w9j2yb0n.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-h2e1m210.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-a7m6tq5q.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|