@kitman-sh/cli 0.10.91 → 0.10.93
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-d82t42vr.js → chunk-15w92pn6.js} +16 -16
- package/dist/{chunk-5fxxg02f.js → chunk-2kr43ps6.js} +144 -337
- package/dist/{chunk-w0sehmpd.js → chunk-3r7ahnwy.js} +60 -14
- package/dist/{chunk-fgnfx5mw.js → chunk-4psvc86s.js} +212 -7
- package/dist/{chunk-6h0rz0zk.js → chunk-6aa8y66v.js} +4 -4
- package/dist/{chunk-sb8c2sgy.js → chunk-8tq7n7wc.js} +16 -16
- package/dist/{chunk-c3k32vw4.js → chunk-a244myqw.js} +1 -1
- package/dist/{chunk-cmtvcbxr.js → chunk-abf4m4b2.js} +5 -5
- package/dist/{chunk-dstm8aen.js → chunk-ampzxrqe.js} +28 -70
- package/dist/{chunk-k4fvnphp.js → chunk-bk3dpjxq.js} +1 -1
- package/dist/{chunk-tmbhak7y.js → chunk-c9wzakrx.js} +8 -8
- package/dist/{chunk-d9wjvvbc.js → chunk-dh3108wk.js} +5 -5
- package/dist/{chunk-mbqeakm1.js → chunk-et6qa95h.js} +1 -1
- package/dist/{chunk-hsf2sj69.js → chunk-fv6kgtze.js} +2 -2
- package/dist/{chunk-9m9cv82t.js → chunk-g3r5xp0t.js} +2 -2
- package/dist/{chunk-947btdv6.js → chunk-mcpesyz2.js} +3 -3
- package/dist/{chunk-2wsyg2g7.js → chunk-mjn42bxn.js} +32 -32
- package/dist/{chunk-gykt7zjx.js → chunk-q3nygncv.js} +7 -7
- package/dist/{chunk-gncygm43.js → chunk-qacvrg7j.js} +9 -9
- package/dist/{chunk-rmsm8vnc.js → chunk-rdv42ygn.js} +4 -4
- package/dist/{chunk-r6d67qqa.js → chunk-s3qgchay.js} +41 -33
- package/dist/{chunk-5tqy48a3.js → chunk-t7ncjd6s.js} +10 -10
- package/dist/{chunk-y1tnxz9f.js → chunk-tpdcq44c.js} +25 -25
- package/dist/{chunk-25q7mg6g.js → chunk-vjcn82g3.js} +17 -17
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
|
|
|
1331
1331
|
});
|
|
1332
1332
|
|
|
1333
1333
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
|
|
1334
|
-
var
|
|
1334
|
+
var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
1335
1335
|
var isStrictEquivalent = (x, y) => x === y;
|
|
1336
1336
|
var strictEqual = () => isStrictEquivalent;
|
|
1337
1337
|
function Tuple(elements) {
|
|
1338
|
-
return
|
|
1338
|
+
return make14((self, that) => {
|
|
1339
1339
|
if (self.length !== that.length) {
|
|
1340
1340
|
return false;
|
|
1341
1341
|
}
|
|
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
function Array_(item) {
|
|
1351
|
-
return
|
|
1351
|
+
return make14((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1578,7 +1578,7 @@ var ServiceProto = {
|
|
|
1578
1578
|
return self;
|
|
1579
1579
|
},
|
|
1580
1580
|
context(self) {
|
|
1581
|
-
return
|
|
1581
|
+
return make15(this, self);
|
|
1582
1582
|
},
|
|
1583
1583
|
use(f) {
|
|
1584
1584
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1682,7 +1682,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1682
1682
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1683
1683
|
var empty3 = () => emptyContext2;
|
|
1684
1684
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1685
|
-
var
|
|
1685
|
+
var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1686
1686
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1687
1687
|
var addUnsafe = (self, key, service) => {
|
|
1688
1688
|
const impl = self;
|
|
@@ -3022,7 +3022,7 @@ class FiberImpl {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
let cause = causeInterrupt(fiberId);
|
|
3024
3024
|
if (this.cache.stackFrame) {
|
|
3025
|
-
cause = causeAnnotate(cause,
|
|
3025
|
+
cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
|
|
3026
3026
|
}
|
|
3027
3027
|
if (annotations) {
|
|
3028
3028
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5119,7 +5119,7 @@ var DeferredImpl = function() {
|
|
|
5119
5119
|
};
|
|
5120
5120
|
DeferredImpl.prototype = DeferredProto;
|
|
5121
5121
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5122
|
-
var
|
|
5122
|
+
var make16 = () => sync(() => makeUnsafe5());
|
|
5123
5123
|
var _await = (self) => callback2((resume) => {
|
|
5124
5124
|
if (self.effect)
|
|
5125
5125
|
return resume(self.effect);
|
|
@@ -5267,9 +5267,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5267
5267
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5268
5268
|
var succeed5 = function() {
|
|
5269
5269
|
if (arguments.length === 1) {
|
|
5270
|
-
return (resource) => succeedContext(
|
|
5270
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5271
5271
|
}
|
|
5272
|
-
return succeedContext(
|
|
5272
|
+
return succeedContext(make15(arguments[0], arguments[1]));
|
|
5273
5273
|
};
|
|
5274
5274
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5275
5275
|
var effect = function() {
|
|
@@ -5278,7 +5278,7 @@ var effect = function() {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
return effectImpl(arguments[0], arguments[1]);
|
|
5280
5280
|
};
|
|
5281
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5281
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
|
|
5282
5282
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5283
5283
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5284
5284
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -5858,48 +5858,6 @@ var getCode = (charCode) => {
|
|
|
5858
5858
|
return codes[charCode];
|
|
5859
5859
|
};
|
|
5860
5860
|
|
|
5861
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5862
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5863
|
-
var value2 = (self) => {
|
|
5864
|
-
if (redactedRegistry.has(self)) {
|
|
5865
|
-
return redactedRegistry.get(self);
|
|
5866
|
-
} else {
|
|
5867
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5868
|
-
}
|
|
5869
|
-
};
|
|
5870
|
-
|
|
5871
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5872
|
-
var TypeId8 = "~effect/Redacted";
|
|
5873
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5874
|
-
var make16 = (value, options) => {
|
|
5875
|
-
const self = Object.create(Proto2);
|
|
5876
|
-
if (options?.label) {
|
|
5877
|
-
self.label = options.label;
|
|
5878
|
-
}
|
|
5879
|
-
redactedRegistry.set(self, value);
|
|
5880
|
-
return self;
|
|
5881
|
-
};
|
|
5882
|
-
var Proto2 = {
|
|
5883
|
-
[TypeId8]: {
|
|
5884
|
-
_A: (_) => _
|
|
5885
|
-
},
|
|
5886
|
-
label: undefined,
|
|
5887
|
-
...PipeInspectableProto,
|
|
5888
|
-
toJSON() {
|
|
5889
|
-
return this.toString();
|
|
5890
|
-
},
|
|
5891
|
-
toString() {
|
|
5892
|
-
return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
|
|
5893
|
-
},
|
|
5894
|
-
[symbol]() {
|
|
5895
|
-
return hash(redactedRegistry.get(this));
|
|
5896
|
-
},
|
|
5897
|
-
[symbol2](that) {
|
|
5898
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5899
|
-
}
|
|
5900
|
-
};
|
|
5901
|
-
var value = value2;
|
|
5902
|
-
|
|
5903
5861
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5904
5862
|
function resolve(ast) {
|
|
5905
5863
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5923,16 +5881,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5923
5881
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5924
5882
|
|
|
5925
5883
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5926
|
-
var
|
|
5884
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
5927
5885
|
function isIssue(u) {
|
|
5928
|
-
return hasProperty(u,
|
|
5886
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
5929
5887
|
}
|
|
5930
5888
|
function hasInput(issue) {
|
|
5931
5889
|
return Object.hasOwn(issue, "input");
|
|
5932
5890
|
}
|
|
5933
5891
|
|
|
5934
5892
|
class IssueNodeImpl {
|
|
5935
|
-
[
|
|
5893
|
+
[TypeId8] = TypeId8;
|
|
5936
5894
|
constructor(input, options) {
|
|
5937
5895
|
if (options?.reportInput === true && input !== missing) {
|
|
5938
5896
|
this.input = input;
|
|
@@ -6306,9 +6264,9 @@ function setContent(operation, content) {
|
|
|
6306
6264
|
}
|
|
6307
6265
|
|
|
6308
6266
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6309
|
-
var
|
|
6267
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6310
6268
|
var Transformation = class extends Class3 {
|
|
6311
|
-
[
|
|
6269
|
+
[TypeId9] = TypeId9;
|
|
6312
6270
|
_tag = "Transformation";
|
|
6313
6271
|
decode;
|
|
6314
6272
|
encode;
|
|
@@ -6322,7 +6280,7 @@ var Transformation = class extends Class3 {
|
|
|
6322
6280
|
}
|
|
6323
6281
|
};
|
|
6324
6282
|
function isTransformation(u) {
|
|
6325
|
-
return hasProperty(u,
|
|
6283
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6326
6284
|
}
|
|
6327
6285
|
var makeTransformation = (options) => {
|
|
6328
6286
|
if (isTransformation(options)) {
|
|
@@ -6442,10 +6400,10 @@ var Context = class {
|
|
|
6442
6400
|
this.annotations = annotations;
|
|
6443
6401
|
}
|
|
6444
6402
|
};
|
|
6445
|
-
var
|
|
6403
|
+
var TypeId10 = "~effect/Schema";
|
|
6446
6404
|
|
|
6447
6405
|
class ASTNodeImpl {
|
|
6448
|
-
[
|
|
6406
|
+
[TypeId10] = TypeId10;
|
|
6449
6407
|
annotations;
|
|
6450
6408
|
checks;
|
|
6451
6409
|
encoding;
|
|
@@ -8660,10 +8618,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8660
8618
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8661
8619
|
|
|
8662
8620
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8663
|
-
var
|
|
8621
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8664
8622
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8665
8623
|
var SchemaProto = {
|
|
8666
|
-
[
|
|
8624
|
+
[TypeId11]: TypeId11,
|
|
8667
8625
|
get make() {
|
|
8668
8626
|
const value = make4(this);
|
|
8669
8627
|
Object.defineProperty(this, "make", {
|
|
@@ -8924,7 +8882,7 @@ function recur(ast) {
|
|
|
8924
8882
|
const rest = ast.rest.map(recur);
|
|
8925
8883
|
const [head, ...tail] = rest;
|
|
8926
8884
|
const tailLength = tail.length;
|
|
8927
|
-
return
|
|
8885
|
+
return make14((a, b) => {
|
|
8928
8886
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8929
8887
|
return false;
|
|
8930
8888
|
}
|
|
@@ -8959,7 +8917,7 @@ function recur(ast) {
|
|
|
8959
8917
|
}
|
|
8960
8918
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8961
8919
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8962
|
-
return
|
|
8920
|
+
return make14((a, b) => {
|
|
8963
8921
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8964
8922
|
return false;
|
|
8965
8923
|
}
|
|
@@ -8997,7 +8955,7 @@ function recur(ast) {
|
|
|
8997
8955
|
const types = toType2(ast).types;
|
|
8998
8956
|
const index = getCandidateIndex(types);
|
|
8999
8957
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
9000
|
-
return
|
|
8958
|
+
return make14((a, b) => {
|
|
9001
8959
|
const candidates = index(a, false);
|
|
9002
8960
|
for (let i = 0;i < candidates.length; i++) {
|
|
9003
8961
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -9010,7 +8968,7 @@ function recur(ast) {
|
|
|
9010
8968
|
}
|
|
9011
8969
|
case "Suspend": {
|
|
9012
8970
|
let equivalence;
|
|
9013
|
-
return
|
|
8971
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
9014
8972
|
}
|
|
9015
8973
|
}
|
|
9016
8974
|
}
|
|
@@ -9108,7 +9066,7 @@ function isSchemaError(u) {
|
|
|
9108
9066
|
}
|
|
9109
9067
|
|
|
9110
9068
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9111
|
-
var
|
|
9069
|
+
var TypeId12 = TypeId11;
|
|
9112
9070
|
function declareConstructor() {
|
|
9113
9071
|
return (typeParameters, run, annotations) => {
|
|
9114
9072
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9221,7 +9179,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9221
9179
|
var encodeSync = encodeUnknownSync;
|
|
9222
9180
|
var make17 = make5;
|
|
9223
9181
|
function isSchema(u) {
|
|
9224
|
-
return hasProperty(u,
|
|
9182
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9225
9183
|
}
|
|
9226
9184
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9227
9185
|
schema
|
|
@@ -10052,7 +10010,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10052
10010
|
}
|
|
10053
10011
|
});
|
|
10054
10012
|
}
|
|
10055
|
-
static [
|
|
10013
|
+
static [TypeId12] = TypeId12;
|
|
10056
10014
|
get [ClassTypeId]() {
|
|
10057
10015
|
return ClassTypeId;
|
|
10058
10016
|
}
|
|
@@ -10201,4 +10159,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10201
10159
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10202
10160
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10203
10161
|
|
|
10204
|
-
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,
|
|
10162
|
+
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, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, Service2, makeUnsafe4, empty3, make15, 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, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, 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 };
|
|
@@ -12,30 +12,30 @@ import {
|
|
|
12
12
|
orElseSucceed,
|
|
13
13
|
decodeJsonString,
|
|
14
14
|
encodePrettyJsonString
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-ampzxrqe.js";
|
|
16
|
+
import"./chunk-et6qa95h.js";
|
|
17
17
|
import {
|
|
18
18
|
isJsonObject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-bk3dpjxq.js";
|
|
20
20
|
import {
|
|
21
21
|
FileSystem,
|
|
22
22
|
Path
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-vjcn82g3.js";
|
|
24
24
|
import {
|
|
25
25
|
tomlTableHeader2,
|
|
26
26
|
tomlKeyPath2,
|
|
27
27
|
kitmanSkillEntry,
|
|
28
28
|
isPathWithin2
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-dh3108wk.js";
|
|
30
30
|
import {
|
|
31
31
|
instructionsStart,
|
|
32
32
|
instructionsEnd,
|
|
33
33
|
renderMcpServer,
|
|
34
34
|
materializeKitSetup,
|
|
35
35
|
tomlInline
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import"./chunk-
|
|
36
|
+
} from "./chunk-2kr43ps6.js";
|
|
37
|
+
import"./chunk-mcpesyz2.js";
|
|
38
|
+
import"./chunk-3r7ahnwy.js";
|
|
39
39
|
|
|
40
40
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
41
41
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ampzxrqe.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-bk3dpjxq.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-vjcn82g3.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2kr43ps6.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-mcpesyz2.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ampzxrqe.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ampzxrqe.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-et6qa95h.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-vjcn82g3.js";
|
|
18
|
+
import"./chunk-ampzxrqe.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ampzxrqe.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-vjcn82g3.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-2kr43ps6.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make16,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,11 +85,19 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ampzxrqe.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
tap,
|
|
91
|
+
mapError,
|
|
92
|
+
decodeText,
|
|
93
|
+
run,
|
|
94
|
+
mkString,
|
|
95
|
+
FileSystem,
|
|
96
|
+
Path,
|
|
97
|
+
withDefault,
|
|
98
|
+
option,
|
|
99
|
+
String2
|
|
100
|
+
} from "./chunk-vjcn82g3.js";
|
|
93
101
|
import {
|
|
94
102
|
currentTimeMillis,
|
|
95
103
|
SecureRandom,
|
|
@@ -127,7 +135,7 @@ import {
|
|
|
127
135
|
digestSha256,
|
|
128
136
|
sha256Hasher,
|
|
129
137
|
raw,
|
|
130
|
-
|
|
138
|
+
make5,
|
|
131
139
|
get,
|
|
132
140
|
put,
|
|
133
141
|
HttpClient,
|
|
@@ -189,10 +197,10 @@ import {
|
|
|
189
197
|
harnessNames,
|
|
190
198
|
herdrRunnerCapabilities2,
|
|
191
199
|
declaredChecks
|
|
192
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-2kr43ps6.js";
|
|
193
201
|
import {
|
|
194
202
|
Id
|
|
195
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-et6qa95h.js";
|
|
196
204
|
import {
|
|
197
205
|
toJsonValue,
|
|
198
206
|
isOneOf,
|
|
@@ -202,19 +210,11 @@ import {
|
|
|
202
210
|
isObject,
|
|
203
211
|
isJsonObject,
|
|
204
212
|
isString
|
|
205
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-bk3dpjxq.js";
|
|
206
214
|
import {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
run,
|
|
211
|
-
mkString,
|
|
212
|
-
FileSystem,
|
|
213
|
-
Path,
|
|
214
|
-
withDefault,
|
|
215
|
-
option,
|
|
216
|
-
String2
|
|
217
|
-
} from "./chunk-25q7mg6g.js";
|
|
215
|
+
ChildProcessSpawner,
|
|
216
|
+
make3
|
|
217
|
+
} from "./chunk-3r7ahnwy.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-6aa8y66v.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-6aa8y66v.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-c9wzakrx.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1249
1249
|
run: (command, args) => runCommand2(command, args),
|
|
1250
1250
|
attach: (command, args) => gen(function* () {
|
|
1251
1251
|
const spawner = yield* ChildProcessSpawner;
|
|
1252
|
-
const handle = yield* spawner.spawn(
|
|
1252
|
+
const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1253
1253
|
const exitCode = yield* handle.exitCode;
|
|
1254
1254
|
if (exitCode !== 0)
|
|
1255
1255
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.93";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1901,7 +1901,7 @@ var Usage = [
|
|
|
1901
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1902
1902
|
].join(`
|
|
1903
1903
|
`);
|
|
1904
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-s3qgchay.js"));
|
|
1905
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1906
1906
|
defaultValue: () => gen(function* () {
|
|
1907
1907
|
const tui = yield* tryPromise({
|
|
@@ -2777,7 +2777,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2777
2777
|
});
|
|
2778
2778
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2779
2779
|
defaultValue: () => (options) => gen(function* () {
|
|
2780
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2780
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-q3nygncv.js"));
|
|
2781
2781
|
return yield* makeRunnerRpcClient({
|
|
2782
2782
|
runnerId: options.runnerId,
|
|
2783
2783
|
bearer: options.bearer,
|
|
@@ -2980,7 +2980,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2980
2980
|
});
|
|
2981
2981
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2982
2982
|
const platform = yield* context();
|
|
2983
|
-
const updated = yield*
|
|
2983
|
+
const updated = yield* make16();
|
|
2984
2984
|
const scope = yield* scope2;
|
|
2985
2985
|
yield* listenForSignals({
|
|
2986
2986
|
rpc,
|
|
@@ -3169,7 +3169,7 @@ function mcpCommand(args) {
|
|
|
3169
3169
|
if (command.action === "run") {
|
|
3170
3170
|
if (command.args.length > 0)
|
|
3171
3171
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3172
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3172
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-tpdcq44c.js"));
|
|
3173
3173
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3174
3174
|
}
|
|
3175
3175
|
if (command.action !== "setup")
|
|
@@ -4380,9 +4380,9 @@ function claimCommand(args) {
|
|
|
4380
4380
|
}
|
|
4381
4381
|
});
|
|
4382
4382
|
}
|
|
4383
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4383
|
+
var KitWriter = map8(promise(() => import("./chunk-15w92pn6.js")), (build) => build.writeKit);
|
|
4384
4384
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4385
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4385
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-15w92pn6.js")), (build) => build.buildKit(directory))
|
|
4386
4386
|
});
|
|
4387
4387
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4388
4388
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5140,7 +5140,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5140
5140
|
return gen(function* () {
|
|
5141
5141
|
const fs = yield* FileSystem;
|
|
5142
5142
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5143
|
-
const response = yield* send(
|
|
5143
|
+
const response = yield* send(make5(download.method)(download.url), failed);
|
|
5144
5144
|
if (response.status < 200 || response.status >= 300)
|
|
5145
5145
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5146
5146
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-qacvrg7j.js";
|
|
8
|
+
import"./chunk-8tq7n7wc.js";
|
|
9
|
+
import"./chunk-2kr43ps6.js";
|
|
10
|
+
import"./chunk-et6qa95h.js";
|
|
11
|
+
import"./chunk-bk3dpjxq.js";
|
|
12
|
+
import"./chunk-vjcn82g3.js";
|
|
13
|
+
import"./chunk-ampzxrqe.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ampzxrqe.js";
|
|
10
|
+
import {
|
|
11
|
+
runForEach
|
|
12
|
+
} from "./chunk-vjcn82g3.js";
|
|
10
13
|
import {
|
|
11
14
|
WebSocketConstructor,
|
|
12
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +19,13 @@ import {
|
|
|
16
19
|
RunnerReplicaRpcs,
|
|
17
20
|
RunnerRunFileRpcs,
|
|
18
21
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runForEach
|
|
22
|
-
} from "./chunk-25q7mg6g.js";
|
|
22
|
+
} from "./chunk-2kr43ps6.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-8tq7n7wc.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|