@kitman-sh/cli 0.15.1 → 0.16.1
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-zy4sv70r.js → chunk-1r026thg.js} +6 -6
- package/dist/{chunk-69xka6ew.js → chunk-3b198ntn.js} +1 -1
- package/dist/{chunk-91tmbf95.js → chunk-4yjcehqr.js} +17 -17
- package/dist/{chunk-6h70kent.js → chunk-5s4sgrak.js} +7 -7
- package/dist/{chunk-wh4bpc4w.js → chunk-8f632x21.js} +4 -4
- package/dist/{chunk-tgt9a3yz.js → chunk-9qfyb5r2.js} +6 -6
- package/dist/{chunk-fggwdr03.js → chunk-b0b9v7t9.js} +17 -17
- package/dist/{chunk-60fhzjx3.js → chunk-bcqqrwsk.js} +114 -26
- package/dist/{chunk-vg78dz3w.js → chunk-bkteq6b3.js} +28 -177
- package/dist/{chunk-fzaecdgv.js → chunk-djdhep8n.js} +3 -3
- package/dist/{chunk-f36s9s1g.js → chunk-dxfab1aj.js} +273 -113
- package/dist/{chunk-dv4v0tbn.js → chunk-e42hjb3j.js} +33 -29
- package/dist/{chunk-xx711t5r.js → chunk-eavx040m.js} +4 -4
- package/dist/{chunk-csxxwscf.js → chunk-f2y0z04q.js} +1 -1
- package/dist/{chunk-kskb0hkb.js → chunk-ft3gnwd1.js} +3 -3
- package/dist/{chunk-k2wd9r6t.js → chunk-g1f0cjqe.js} +2 -2
- package/dist/{chunk-3ns4sbfb.js → chunk-gwzzacep.js} +1 -1
- package/dist/{chunk-d40233pm.js → chunk-hwqecp0m.js} +8 -8
- package/dist/{chunk-dx792s4w.js → chunk-rfnasm3c.js} +61 -61
- package/dist/{chunk-8wpg3rph.js → chunk-scwj3w7m.js} +2 -2
- package/dist/{chunk-0ws25xvg.js → chunk-sd8b4k1t.js} +2 -2
- package/dist/{chunk-2vxb3q01.js → chunk-tc7td60t.js} +1 -1
- package/dist/{chunk-ygx2pda7.js → chunk-tx7et9g7.js} +4 -4
- package/dist/{chunk-5hkdgzh4.js → chunk-x83q18w0.js} +1 -1
- package/dist/{chunk-39ykbhq8.js → chunk-xy3hcdhr.js} +5 -5
- package/dist/{chunk-xrjt25ns.js → chunk-yja59yh8.js} +10 -10
- 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 make13 = (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 make13((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 make13((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(get3(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 make14(this, self);
|
|
1584
1584
|
},
|
|
1585
1585
|
use(f) {
|
|
1586
|
-
return withFiber((fiber) => f(
|
|
1586
|
+
return withFiber((fiber) => f(get3(fiber.context, this)));
|
|
1587
1587
|
},
|
|
1588
1588
|
useSync(f) {
|
|
1589
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1589
|
+
return withFiber((fiber) => exitSucceed(f(get3(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 make14 = (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 get3 = getUnsafe;
|
|
1720
1720
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1721
1721
|
var getDefaultValue = (ref) => {
|
|
1722
1722
|
if (defaultValueCacheKey in ref) {
|
|
@@ -3032,7 +3032,7 @@ class FiberImpl {
|
|
|
3032
3032
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
3033
3033
|
}
|
|
3034
3034
|
getRef(ref) {
|
|
3035
|
-
return
|
|
3035
|
+
return get3(this.context, ref);
|
|
3036
3036
|
}
|
|
3037
3037
|
addObserver(cb) {
|
|
3038
3038
|
if (this._exit) {
|
|
@@ -3060,7 +3060,7 @@ class FiberImpl {
|
|
|
3060
3060
|
}
|
|
3061
3061
|
let cause = causeInterrupt(fiberId);
|
|
3062
3062
|
if (this.cache.stackFrame) {
|
|
3063
|
-
cause = causeAnnotate(cause,
|
|
3063
|
+
cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
|
|
3064
3064
|
}
|
|
3065
3065
|
if (annotations) {
|
|
3066
3066
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -3233,17 +3233,17 @@ class FiberImpl {
|
|
|
3233
3233
|
var makeFiberContextCache = (context) => {
|
|
3234
3234
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3235
3235
|
return {
|
|
3236
|
-
scheduler:
|
|
3236
|
+
scheduler: get3(context, Scheduler),
|
|
3237
3237
|
tracer: currentTracer,
|
|
3238
3238
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3239
|
-
tracerEnabled:
|
|
3239
|
+
tracerEnabled: get3(context, TracerEnabled),
|
|
3240
3240
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3241
|
-
logLevel:
|
|
3242
|
-
minimumLogLevel:
|
|
3243
|
-
stackFrame:
|
|
3241
|
+
logLevel: get3(context, CurrentLogLevel),
|
|
3242
|
+
minimumLogLevel: get3(context, MinimumLogLevel),
|
|
3243
|
+
stackFrame: get3(context, CurrentStackFrame),
|
|
3244
3244
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3245
|
-
maxOpsBeforeYield:
|
|
3246
|
-
preventYield:
|
|
3245
|
+
maxOpsBeforeYield: get3(context, MaxOpsBeforeYield),
|
|
3246
|
+
preventYield: get3(context, PreventSchedulerYield)
|
|
3247
3247
|
};
|
|
3248
3248
|
};
|
|
3249
3249
|
var deferredInterruptCont = {
|
|
@@ -4741,10 +4741,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4741
4741
|
var filterDisablePropagation = (span) => {
|
|
4742
4742
|
if (!span)
|
|
4743
4743
|
return none();
|
|
4744
|
-
return
|
|
4744
|
+
return get3(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4745
4745
|
};
|
|
4746
4746
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4747
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4747
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get3(options.annotations, DisablePropagation);
|
|
4748
4748
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4749
4749
|
let span;
|
|
4750
4750
|
if (disablePropagation) {
|
|
@@ -5159,7 +5159,7 @@ var DeferredImpl = function() {
|
|
|
5159
5159
|
};
|
|
5160
5160
|
DeferredImpl.prototype = DeferredProto;
|
|
5161
5161
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5162
|
-
var
|
|
5162
|
+
var make15 = () => sync(() => makeUnsafe5());
|
|
5163
5163
|
var _await = (self) => callback2((resume) => {
|
|
5164
5164
|
if (self.effect)
|
|
5165
5165
|
return resume(self.effect);
|
|
@@ -5307,9 +5307,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5307
5307
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5308
5308
|
var succeed5 = function() {
|
|
5309
5309
|
if (arguments.length === 1) {
|
|
5310
|
-
return (resource) => succeedContext(
|
|
5310
|
+
return (resource) => succeedContext(make14(arguments[0], resource));
|
|
5311
5311
|
}
|
|
5312
|
-
return succeedContext(
|
|
5312
|
+
return succeedContext(make14(arguments[0], arguments[1]));
|
|
5313
5313
|
};
|
|
5314
5314
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5315
5315
|
var effect = function() {
|
|
@@ -5318,7 +5318,7 @@ var effect = function() {
|
|
|
5318
5318
|
}
|
|
5319
5319
|
return effectImpl(arguments[0], arguments[1]);
|
|
5320
5320
|
};
|
|
5321
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5321
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
|
|
5322
5322
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5323
5323
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5324
5324
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -10218,7 +10218,7 @@ function recur(ast) {
|
|
|
10218
10218
|
const rest = ast.rest.map(recur);
|
|
10219
10219
|
const [head, ...tail] = rest;
|
|
10220
10220
|
const tailLength = tail.length;
|
|
10221
|
-
return
|
|
10221
|
+
return make13((a, b) => {
|
|
10222
10222
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
10223
10223
|
return false;
|
|
10224
10224
|
}
|
|
@@ -10253,7 +10253,7 @@ function recur(ast) {
|
|
|
10253
10253
|
}
|
|
10254
10254
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
10255
10255
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
10256
|
-
return
|
|
10256
|
+
return make13((a, b) => {
|
|
10257
10257
|
if (!isObject(a) || !isObject(b)) {
|
|
10258
10258
|
return false;
|
|
10259
10259
|
}
|
|
@@ -10291,7 +10291,7 @@ function recur(ast) {
|
|
|
10291
10291
|
const types = toType2(ast).types;
|
|
10292
10292
|
const index = getCandidateIndex(types);
|
|
10293
10293
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
10294
|
-
return
|
|
10294
|
+
return make13((a, b) => {
|
|
10295
10295
|
const candidates = index(a, false);
|
|
10296
10296
|
for (let i = 0;i < candidates.length; i++) {
|
|
10297
10297
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -10304,7 +10304,7 @@ function recur(ast) {
|
|
|
10304
10304
|
}
|
|
10305
10305
|
case "Suspend": {
|
|
10306
10306
|
let equivalence;
|
|
10307
|
-
return
|
|
10307
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
10308
10308
|
}
|
|
10309
10309
|
}
|
|
10310
10310
|
}
|
|
@@ -10405,7 +10405,7 @@ function isSchemaError(u) {
|
|
|
10405
10405
|
var TypeId12 = TypeId11;
|
|
10406
10406
|
function declareConstructor() {
|
|
10407
10407
|
return (typeParameters, run, annotations) => {
|
|
10408
|
-
return
|
|
10408
|
+
return make16(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make16(ast))), annotations));
|
|
10409
10409
|
};
|
|
10410
10410
|
}
|
|
10411
10411
|
function declare(is, annotations) {
|
|
@@ -10513,27 +10513,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
10513
10513
|
};
|
|
10514
10514
|
}
|
|
10515
10515
|
var encodeSync = encodeUnknownSync;
|
|
10516
|
-
var
|
|
10516
|
+
var make16 = make5;
|
|
10517
10517
|
function isSchema(u) {
|
|
10518
10518
|
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
10519
10519
|
}
|
|
10520
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
10520
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make16(optionalKey2(schema.ast), {
|
|
10521
10521
|
schema
|
|
10522
10522
|
}));
|
|
10523
10523
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
10524
10524
|
const schema = UndefinedOr(self);
|
|
10525
|
-
return
|
|
10525
|
+
return make16(optional2(self.ast), {
|
|
10526
10526
|
schema
|
|
10527
10527
|
});
|
|
10528
10528
|
});
|
|
10529
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
10529
|
+
var toType = /* @__PURE__ */ lambda((schema) => make16(toType2(schema.ast), {
|
|
10530
10530
|
schema
|
|
10531
10531
|
}));
|
|
10532
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
10532
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make16(toEncoded(schema.ast), {
|
|
10533
10533
|
schema
|
|
10534
10534
|
}));
|
|
10535
10535
|
function Literal(literal) {
|
|
10536
|
-
const out =
|
|
10536
|
+
const out = make16(new Literal2(literal), {
|
|
10537
10537
|
literal,
|
|
10538
10538
|
transform(to) {
|
|
10539
10539
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -10544,16 +10544,16 @@ function Literal(literal) {
|
|
|
10544
10544
|
});
|
|
10545
10545
|
return out;
|
|
10546
10546
|
}
|
|
10547
|
-
var Never = /* @__PURE__ */
|
|
10548
|
-
var Unknown = /* @__PURE__ */
|
|
10549
|
-
var Null = /* @__PURE__ */
|
|
10550
|
-
var Undefined2 = /* @__PURE__ */
|
|
10551
|
-
var String4 = /* @__PURE__ */
|
|
10552
|
-
var Number5 = /* @__PURE__ */
|
|
10553
|
-
var Boolean2 = /* @__PURE__ */
|
|
10554
|
-
var Void = /* @__PURE__ */
|
|
10547
|
+
var Never = /* @__PURE__ */ make16(never3);
|
|
10548
|
+
var Unknown = /* @__PURE__ */ make16(unknown);
|
|
10549
|
+
var Null = /* @__PURE__ */ make16(null_);
|
|
10550
|
+
var Undefined2 = /* @__PURE__ */ make16(undefined_3);
|
|
10551
|
+
var String4 = /* @__PURE__ */ make16(string2);
|
|
10552
|
+
var Number5 = /* @__PURE__ */ make16(number2);
|
|
10553
|
+
var Boolean2 = /* @__PURE__ */ make16(boolean);
|
|
10554
|
+
var Void = /* @__PURE__ */ make16(void_4);
|
|
10555
10555
|
function makeStruct(ast, fields) {
|
|
10556
|
-
return
|
|
10556
|
+
return make16(ast, {
|
|
10557
10557
|
fields,
|
|
10558
10558
|
mapFields(f, options) {
|
|
10559
10559
|
const fields = f(this.fields);
|
|
@@ -10565,19 +10565,19 @@ function Struct(fields) {
|
|
|
10565
10565
|
return makeStruct(struct(fields, undefined), fields);
|
|
10566
10566
|
}
|
|
10567
10567
|
function Record(key, value) {
|
|
10568
|
-
return
|
|
10568
|
+
return make16(record(key.ast, value.ast), {
|
|
10569
10569
|
key,
|
|
10570
10570
|
value
|
|
10571
10571
|
});
|
|
10572
10572
|
}
|
|
10573
10573
|
function StructWithRest(schema, records) {
|
|
10574
|
-
return
|
|
10574
|
+
return make16(structWithRest(schema.ast, records.map(getAST)), {
|
|
10575
10575
|
schema,
|
|
10576
10576
|
records
|
|
10577
10577
|
});
|
|
10578
10578
|
}
|
|
10579
10579
|
function makeTuple(ast, elements) {
|
|
10580
|
-
return
|
|
10580
|
+
return make16(ast, {
|
|
10581
10581
|
elements,
|
|
10582
10582
|
mapElements(f, options) {
|
|
10583
10583
|
const elements = f(this.elements);
|
|
@@ -10588,14 +10588,14 @@ function makeTuple(ast, elements) {
|
|
|
10588
10588
|
function Tuple2(elements) {
|
|
10589
10589
|
return makeTuple(tuple(elements), elements);
|
|
10590
10590
|
}
|
|
10591
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
10591
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [], [schema.ast]), {
|
|
10592
10592
|
value: schema
|
|
10593
10593
|
}));
|
|
10594
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
10594
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make16(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
10595
10595
|
value: schema
|
|
10596
10596
|
}));
|
|
10597
10597
|
function makeUnion(ast, members) {
|
|
10598
|
-
return
|
|
10598
|
+
return make16(ast, {
|
|
10599
10599
|
members,
|
|
10600
10600
|
mapMembers(f, options) {
|
|
10601
10601
|
const members = f(this.members);
|
|
@@ -10608,7 +10608,7 @@ function Union(members, options) {
|
|
|
10608
10608
|
}
|
|
10609
10609
|
function Literals(literals) {
|
|
10610
10610
|
const members = literals.map(Literal);
|
|
10611
|
-
return
|
|
10611
|
+
return make16(union(members, undefined, undefined), {
|
|
10612
10612
|
literals,
|
|
10613
10613
|
members,
|
|
10614
10614
|
mapMembers(f) {
|
|
@@ -10625,18 +10625,18 @@ function Literals(literals) {
|
|
|
10625
10625
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
10626
10626
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
10627
10627
|
function suspend4(f) {
|
|
10628
|
-
return
|
|
10628
|
+
return make16(new Suspend(() => f().ast));
|
|
10629
10629
|
}
|
|
10630
10630
|
function decodeTo2(to, transformation) {
|
|
10631
10631
|
return (from) => {
|
|
10632
|
-
return
|
|
10632
|
+
return make16(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
10633
10633
|
from,
|
|
10634
10634
|
to
|
|
10635
10635
|
});
|
|
10636
10636
|
};
|
|
10637
10637
|
}
|
|
10638
10638
|
function withConstructorDefault2(defaultValue) {
|
|
10639
|
-
return (schema) =>
|
|
10639
|
+
return (schema) => make16(withConstructorDefault(schema.ast, defaultValue), {
|
|
10640
10640
|
schema
|
|
10641
10641
|
});
|
|
10642
10642
|
}
|
|
@@ -10712,7 +10712,7 @@ function isBase64(annotations) {
|
|
|
10712
10712
|
...annotations
|
|
10713
10713
|
});
|
|
10714
10714
|
}
|
|
10715
|
-
var Finite = /* @__PURE__ */
|
|
10715
|
+
var Finite = /* @__PURE__ */ make16(finite);
|
|
10716
10716
|
function makeIsGreaterThan(options) {
|
|
10717
10717
|
const gt = isGreaterThan2(options.order);
|
|
10718
10718
|
const formatter = options.formatter ?? format;
|
|
@@ -11292,7 +11292,7 @@ function CauseReason(error, defect) {
|
|
|
11292
11292
|
}
|
|
11293
11293
|
}))
|
|
11294
11294
|
});
|
|
11295
|
-
return
|
|
11295
|
+
return make16(schema.ast, {
|
|
11296
11296
|
error,
|
|
11297
11297
|
defect
|
|
11298
11298
|
});
|
|
@@ -11329,7 +11329,7 @@ function Cause(error, defect) {
|
|
|
11329
11329
|
}) => failures
|
|
11330
11330
|
}))
|
|
11331
11331
|
});
|
|
11332
|
-
return
|
|
11332
|
+
return make16(schema.ast, {
|
|
11333
11333
|
error,
|
|
11334
11334
|
defect
|
|
11335
11335
|
});
|
|
@@ -11390,7 +11390,7 @@ function Exit(value, error, defect) {
|
|
|
11390
11390
|
}
|
|
11391
11391
|
}))
|
|
11392
11392
|
});
|
|
11393
|
-
return
|
|
11393
|
+
return make16(schema.ast, {
|
|
11394
11394
|
value,
|
|
11395
11395
|
error,
|
|
11396
11396
|
defect
|
|
@@ -11494,7 +11494,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
11494
11494
|
const ClassTypeId = getClassTypeId(identifier);
|
|
11495
11495
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
11496
11496
|
const transformation = getClassTransformation(self);
|
|
11497
|
-
const to =
|
|
11497
|
+
const to = make16(new Declaration([from.ast], () => (input, ast, options) => {
|
|
11498
11498
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
11499
11499
|
}, {
|
|
11500
11500
|
identifier,
|
|
@@ -11562,7 +11562,7 @@ function toJsonSchemaDocument(schema, options) {
|
|
|
11562
11562
|
}
|
|
11563
11563
|
var toCodecJson = toCodecJson2;
|
|
11564
11564
|
var toCodecStringTree = toCodecStringTree2;
|
|
11565
|
-
var Json = /* @__PURE__ */
|
|
11565
|
+
var Json = /* @__PURE__ */ make16(/* @__PURE__ */ annotate(Json2, {
|
|
11566
11566
|
toCode: () => ({
|
|
11567
11567
|
runtime: "Schema.Json",
|
|
11568
11568
|
Type: "Schema.Json"
|
|
@@ -11709,4 +11709,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11709
11709
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11710
11710
|
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;
|
|
11711
11711
|
|
|
11712
|
-
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,
|
|
11712
|
+
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, get3, 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, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, 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, map8, 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, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, while_, setInputType, 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, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, 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, encode3, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make16, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, 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 };
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-bkteq6b3.js";
|
|
19
|
+
import"./chunk-rfnasm3c.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-rfnasm3c.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-x83q18w0.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -2195,7 +2195,7 @@ var pathOfLink = (link) => {
|
|
|
2195
2195
|
return page === null ? link : page[1] || "index";
|
|
2196
2196
|
};
|
|
2197
2197
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2198
|
-
var pinnedLink2 = (link, version = "0.
|
|
2198
|
+
var pinnedLink2 = (link, version = "0.16.1") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2199
2199
|
var pageOf = (path) => path.split("#")[0];
|
|
2200
2200
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2201
2201
|
function excerpt(text, queryTerms) {
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-rfnasm3c.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-bkteq6b3.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-dxfab1aj.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ft3gnwd1.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
isJsonObject,
|
|
26
26
|
isString2,
|
|
27
27
|
encodeUnknownJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-rfnasm3c.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
make10,
|
|
31
31
|
runForEach,
|
|
32
32
|
compiled2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-bkteq6b3.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
36
|
make3
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-g1f0cjqe.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/opencode-store.ts
|
|
40
40
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -173,7 +173,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
|
|
|
173
173
|
const spawner = yield* ChildProcessSpawner;
|
|
174
174
|
const [command, ...args] = opencodeReaderCommand();
|
|
175
175
|
const handle = yield* spawner.spawn(make3(command, args, {
|
|
176
|
-
stdin:
|
|
176
|
+
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
177
177
|
stderr: "ignore",
|
|
178
178
|
extendEnv: false,
|
|
179
179
|
env: {},
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
toCodecJson,
|
|
36
36
|
Json,
|
|
37
37
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-rfnasm3c.js";
|
|
39
39
|
import {
|
|
40
40
|
SecureRandom,
|
|
41
41
|
layerWebCrypto,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
KitDeclarations,
|
|
53
53
|
kitmanMcpServer,
|
|
54
54
|
RunnerRpcProtocolVersion
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-dxfab1aj.js";
|
|
56
56
|
import {
|
|
57
57
|
decodeText,
|
|
58
58
|
mkString,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
Path,
|
|
61
61
|
withDefault,
|
|
62
62
|
String2
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-bkteq6b3.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ft3gnwd1.js";
|
|
68
68
|
import {
|
|
69
69
|
stepDefinedTwice,
|
|
70
70
|
hostSteps,
|
|
71
71
|
exports_activities,
|
|
72
72
|
describeFlag,
|
|
73
73
|
Described
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import"./chunk-
|
|
76
|
-
import"./chunk-
|
|
74
|
+
} from "./chunk-hwqecp0m.js";
|
|
75
|
+
import"./chunk-1r026thg.js";
|
|
76
|
+
import"./chunk-f2y0z04q.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
79
|
make3
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
80
|
+
} from "./chunk-g1f0cjqe.js";
|
|
81
|
+
import"./chunk-4yjcehqr.js";
|
|
82
|
+
import"./chunk-x83q18w0.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
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-scwj3w7m.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-djdhep8n.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-eavx040m.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-e42hjb3j.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|