@kitman-sh/cli 0.50.0 → 0.50.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-4vxbxjf8.js → chunk-5tgpa02q.js} +1 -1
- package/dist/{chunk-8gkrs473.js → chunk-72ht3484.js} +4 -4
- package/dist/{chunk-aekx465g.js → chunk-7y1w0dhd.js} +11 -9
- package/dist/{chunk-fqh4pj6b.js → chunk-8r9k7pqk.js} +9 -3
- package/dist/{chunk-y34fqzax.js → chunk-9jz94mb7.js} +1 -1
- package/dist/{chunk-0nqjdqnc.js → chunk-9vdy85kg.js} +20 -20
- package/dist/{chunk-tfwgeqx5.js → chunk-ag79vvjy.js} +4 -4
- package/dist/{chunk-04wqa07j.js → chunk-apv9h5tz.js} +1 -1
- package/dist/{chunk-1gxrhdb3.js → chunk-bk28dr40.js} +20 -20
- package/dist/{chunk-a71b15k3.js → chunk-brbym443.js} +2 -2
- package/dist/{chunk-w4hkd8ab.js → chunk-ecweehc6.js} +24 -23
- package/dist/{chunk-32jx4pb9.js → chunk-g3c1vesf.js} +1 -1
- package/dist/{chunk-wkt559vb.js → chunk-h3wes7wf.js} +7 -7
- package/dist/{chunk-5smh4dp2.js → chunk-hyaq30ne.js} +21 -161
- package/dist/{chunk-9ykh05hz.js → chunk-k1fdsn2c.js} +1 -1
- package/dist/{chunk-01tf5h5v.js → chunk-k5cqc0cs.js} +6 -4
- package/dist/{chunk-tpeynf2f.js → chunk-mtrhqr16.js} +3 -3
- package/dist/{chunk-n3jpxd14.js → chunk-n00cpb86.js} +2 -2
- package/dist/{chunk-k462v2v7.js → chunk-n381rqax.js} +157 -13
- package/dist/{chunk-kc1nw3ks.js → chunk-q8m2ygyt.js} +4 -4
- package/dist/{chunk-5pjbxhxy.js → chunk-qfwhsqej.js} +3 -3
- package/dist/{chunk-qs1f7rh9.js → chunk-rr0rem5d.js} +6 -6
- package/dist/{chunk-6n976mhk.js → chunk-s6z4sdkw.js} +4 -4
- package/dist/{chunk-pp76dgv5.js → chunk-s8ws5fqj.js} +8 -17
- package/dist/{chunk-wkfht1sx.js → chunk-v96hm634.js} +4 -4
- package/dist/{chunk-z155a0wp.js → chunk-watq46xe.js} +15 -7
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -5832,6 +5832,150 @@ var flatMapEager = flatMapEager2;
|
|
|
5832
5832
|
var catchEager = catchEager2;
|
|
5833
5833
|
var fnUntracedEager2 = fnUntracedEager;
|
|
5834
5834
|
|
|
5835
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
5836
|
+
var BigInt2 = globalThis.BigInt;
|
|
5837
|
+
var toNumber = (b) => {
|
|
5838
|
+
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
5839
|
+
return none();
|
|
5840
|
+
}
|
|
5841
|
+
return some(Number(b));
|
|
5842
|
+
};
|
|
5843
|
+
|
|
5844
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
5845
|
+
var bigint03 = /* @__PURE__ */ BigInt(0);
|
|
5846
|
+
var bigint12 = /* @__PURE__ */ BigInt(1);
|
|
5847
|
+
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
5848
|
+
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
5849
|
+
var decimalUnits = [{
|
|
5850
|
+
symbol: "B",
|
|
5851
|
+
factor: bigint12,
|
|
5852
|
+
names: ["B", "byte", "bytes"]
|
|
5853
|
+
}, {
|
|
5854
|
+
symbol: "kB",
|
|
5855
|
+
factor: decimalBase,
|
|
5856
|
+
names: ["kB", "kilobyte", "kilobytes"]
|
|
5857
|
+
}, {
|
|
5858
|
+
symbol: "MB",
|
|
5859
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
5860
|
+
names: ["MB", "megabyte", "megabytes"]
|
|
5861
|
+
}, {
|
|
5862
|
+
symbol: "GB",
|
|
5863
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
5864
|
+
names: ["GB", "gigabyte", "gigabytes"]
|
|
5865
|
+
}, {
|
|
5866
|
+
symbol: "TB",
|
|
5867
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
5868
|
+
names: ["TB", "terabyte", "terabytes"]
|
|
5869
|
+
}, {
|
|
5870
|
+
symbol: "PB",
|
|
5871
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
5872
|
+
names: ["PB", "petabyte", "petabytes"]
|
|
5873
|
+
}, {
|
|
5874
|
+
symbol: "EB",
|
|
5875
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
5876
|
+
names: ["EB", "exabyte", "exabytes"]
|
|
5877
|
+
}, {
|
|
5878
|
+
symbol: "ZB",
|
|
5879
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
5880
|
+
names: ["ZB", "zettabyte", "zettabytes"]
|
|
5881
|
+
}, {
|
|
5882
|
+
symbol: "YB",
|
|
5883
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
5884
|
+
names: ["YB", "yottabyte", "yottabytes"]
|
|
5885
|
+
}, {
|
|
5886
|
+
symbol: "RB",
|
|
5887
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
5888
|
+
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
5889
|
+
}, {
|
|
5890
|
+
symbol: "QB",
|
|
5891
|
+
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
5892
|
+
names: ["QB", "quettabyte", "quettabytes"]
|
|
5893
|
+
}];
|
|
5894
|
+
var binaryUnits = [decimalUnits[0], {
|
|
5895
|
+
symbol: "KiB",
|
|
5896
|
+
factor: binaryBase,
|
|
5897
|
+
names: ["KiB", "kibibyte", "kibibytes"]
|
|
5898
|
+
}, {
|
|
5899
|
+
symbol: "MiB",
|
|
5900
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
5901
|
+
names: ["MiB", "mebibyte", "mebibytes"]
|
|
5902
|
+
}, {
|
|
5903
|
+
symbol: "GiB",
|
|
5904
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
5905
|
+
names: ["GiB", "gibibyte", "gibibytes"]
|
|
5906
|
+
}, {
|
|
5907
|
+
symbol: "TiB",
|
|
5908
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
5909
|
+
names: ["TiB", "tebibyte", "tebibytes"]
|
|
5910
|
+
}, {
|
|
5911
|
+
symbol: "PiB",
|
|
5912
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
5913
|
+
names: ["PiB", "pebibyte", "pebibytes"]
|
|
5914
|
+
}, {
|
|
5915
|
+
symbol: "EiB",
|
|
5916
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
5917
|
+
names: ["EiB", "exbibyte", "exbibytes"]
|
|
5918
|
+
}, {
|
|
5919
|
+
symbol: "ZiB",
|
|
5920
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
5921
|
+
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
5922
|
+
}, {
|
|
5923
|
+
symbol: "YiB",
|
|
5924
|
+
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
5925
|
+
names: ["YiB", "yobibyte", "yobibytes"]
|
|
5926
|
+
}];
|
|
5927
|
+
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
5928
|
+
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
5929
|
+
var make4 = (value) => value;
|
|
5930
|
+
var invalid2 = (message) => {
|
|
5931
|
+
throw new Error(`Invalid ByteSize: ${message}`);
|
|
5932
|
+
};
|
|
5933
|
+
var fromNumber = (input) => {
|
|
5934
|
+
if (!Number.isSafeInteger(input) || input < 0) {
|
|
5935
|
+
return invalid2(`expected a non-negative safe integer, received ${input}`);
|
|
5936
|
+
}
|
|
5937
|
+
return make4(BigInt(input));
|
|
5938
|
+
};
|
|
5939
|
+
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
5940
|
+
var scaleDecimal = (quantity, factor) => {
|
|
5941
|
+
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
5942
|
+
if (match === null)
|
|
5943
|
+
return;
|
|
5944
|
+
const fraction = match[2] ?? "";
|
|
5945
|
+
const numerator = BigInt(match[1] + fraction) * factor;
|
|
5946
|
+
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
5947
|
+
if (shift >= 0)
|
|
5948
|
+
return numerator * BigInt(10) ** BigInt(shift);
|
|
5949
|
+
const scale = BigInt(10) ** BigInt(-shift);
|
|
5950
|
+
return numerator % scale === bigint03 ? numerator / scale : undefined;
|
|
5951
|
+
};
|
|
5952
|
+
var fromStringUnsafe = (input) => {
|
|
5953
|
+
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
5954
|
+
if (match === null)
|
|
5955
|
+
return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
|
|
5956
|
+
const unit = unitsByName.get(match[2]);
|
|
5957
|
+
if (unit === undefined)
|
|
5958
|
+
return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
5959
|
+
const value = scaleDecimal(match[1], unit.factor);
|
|
5960
|
+
if (value === undefined)
|
|
5961
|
+
return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
5962
|
+
return make4(value);
|
|
5963
|
+
};
|
|
5964
|
+
var fromInputUnsafe2 = (input) => {
|
|
5965
|
+
switch (typeof input) {
|
|
5966
|
+
case "bigint":
|
|
5967
|
+
if (input < bigint03)
|
|
5968
|
+
return invalid2(`expected a non-negative bigint, received ${input}`);
|
|
5969
|
+
return make4(input);
|
|
5970
|
+
case "number":
|
|
5971
|
+
return fromNumber(input);
|
|
5972
|
+
case "string":
|
|
5973
|
+
return fromStringUnsafe(input);
|
|
5974
|
+
}
|
|
5975
|
+
return invalid2(`unsupported input ${input}`);
|
|
5976
|
+
};
|
|
5977
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
5978
|
+
|
|
5835
5979
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
|
|
5836
5980
|
var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
|
|
5837
5981
|
var decode = (str) => {
|
|
@@ -8532,7 +8676,7 @@ function compile(ast, compile, compileField, base, specialize) {
|
|
|
8532
8676
|
}
|
|
8533
8677
|
|
|
8534
8678
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
|
|
8535
|
-
var
|
|
8679
|
+
var invalid3 = /* @__PURE__ */ Symbol();
|
|
8536
8680
|
var cache = /* @__PURE__ */ new WeakMap;
|
|
8537
8681
|
var compiler;
|
|
8538
8682
|
var compilerAdaptersEnabled = false;
|
|
@@ -8607,7 +8751,7 @@ function withDecode(fastDecode, decodeEffect) {
|
|
|
8607
8751
|
if (input !== missing) {
|
|
8608
8752
|
try {
|
|
8609
8753
|
const value = fastDecode(input, options);
|
|
8610
|
-
if (value !==
|
|
8754
|
+
if (value !== invalid3)
|
|
8611
8755
|
return value === input ? sameExit : succeed8(value);
|
|
8612
8756
|
} catch (error) {
|
|
8613
8757
|
return die3(error);
|
|
@@ -8657,7 +8801,7 @@ function makeOption(schema) {
|
|
|
8657
8801
|
return none();
|
|
8658
8802
|
};
|
|
8659
8803
|
}
|
|
8660
|
-
function
|
|
8804
|
+
function make5(schema) {
|
|
8661
8805
|
return makeConstructorSync(toType2(schema.ast));
|
|
8662
8806
|
}
|
|
8663
8807
|
function is2(schema) {
|
|
@@ -8804,7 +8948,7 @@ function constructSync(entry, input, options) {
|
|
|
8804
8948
|
} catch (error) {
|
|
8805
8949
|
throwConstructorDefect(error);
|
|
8806
8950
|
}
|
|
8807
|
-
if (output !==
|
|
8951
|
+
if (output !== invalid3 && output !== missing)
|
|
8808
8952
|
return output;
|
|
8809
8953
|
}
|
|
8810
8954
|
return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
|
|
@@ -8833,7 +8977,7 @@ var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
|
8833
8977
|
var SchemaProto = {
|
|
8834
8978
|
[TypeId12]: TypeId12,
|
|
8835
8979
|
get make() {
|
|
8836
|
-
const value =
|
|
8980
|
+
const value = make5(this);
|
|
8837
8981
|
Object.defineProperty(this, "make", {
|
|
8838
8982
|
value,
|
|
8839
8983
|
enumerable: true
|
|
@@ -8869,10 +9013,10 @@ var SchemaProto = {
|
|
|
8869
9013
|
return this.rebuild(appendChecks(this.ast, checks));
|
|
8870
9014
|
},
|
|
8871
9015
|
rebuild(ast) {
|
|
8872
|
-
return
|
|
9016
|
+
return make6(ast, this[RebuildOptions]);
|
|
8873
9017
|
}
|
|
8874
9018
|
};
|
|
8875
|
-
function
|
|
9019
|
+
function make6(ast, options) {
|
|
8876
9020
|
function Schema() {}
|
|
8877
9021
|
const self = Object.setPrototypeOf(Schema, SchemaProto);
|
|
8878
9022
|
if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
|
|
@@ -8999,7 +9143,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
|
|
|
8999
9143
|
|
|
9000
9144
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
|
|
9001
9145
|
function toCodecJson2(schema) {
|
|
9002
|
-
return
|
|
9146
|
+
return make6(toCodecJsonAST(schema.ast), {
|
|
9003
9147
|
schema
|
|
9004
9148
|
});
|
|
9005
9149
|
}
|
|
@@ -9055,7 +9199,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9055
9199
|
if (!isFunction(getLink)) {
|
|
9056
9200
|
return replaceEncoding(ast, [unknownToJson]);
|
|
9057
9201
|
}
|
|
9058
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9202
|
+
const typeParameters = ast.typeParameters.map((tp) => make6(toEncoded(tp)));
|
|
9059
9203
|
const link = getLink(typeParameters);
|
|
9060
9204
|
return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
|
|
9061
9205
|
}
|
|
@@ -9090,7 +9234,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9090
9234
|
return ast;
|
|
9091
9235
|
}
|
|
9092
9236
|
function toCodecStringTree2(schema) {
|
|
9093
|
-
return
|
|
9237
|
+
return make6(toCodecStringTreeAST(schema.ast), {
|
|
9094
9238
|
schema
|
|
9095
9239
|
});
|
|
9096
9240
|
}
|
|
@@ -9110,7 +9254,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
|
|
|
9110
9254
|
function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
|
|
9111
9255
|
switch (ast._tag) {
|
|
9112
9256
|
case "Declaration": {
|
|
9113
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9257
|
+
const typeParameters = ast.typeParameters.map((tp) => make6(recur(toEncoded(tp))));
|
|
9114
9258
|
const getStringTreeLink = ast.annotations?.toCodecStringTree;
|
|
9115
9259
|
if (isFunction(getStringTreeLink)) {
|
|
9116
9260
|
const link = getStringTreeLink(typeParameters);
|
|
@@ -10599,7 +10743,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
10599
10743
|
};
|
|
10600
10744
|
}
|
|
10601
10745
|
var encodeSync = encodeUnknownSync;
|
|
10602
|
-
var make17 =
|
|
10746
|
+
var make17 = make6;
|
|
10603
10747
|
function isSchema(u) {
|
|
10604
10748
|
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
10605
10749
|
}
|
|
@@ -11795,4 +11939,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11795
11939
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11796
11940
|
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;
|
|
11797
11941
|
|
|
11798
|
-
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, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, 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, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, 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, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, 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, isRedacted, make16, value, 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, make17, 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 };
|
|
11942
|
+
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, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, 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, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, 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, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, 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, toNumber, fromInputUnsafe2, bytes, encode2, decode, encode3, isRedacted, make16, value, 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, make17, 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 };
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-n381rqax.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-hyaq30ne.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-s8ws5fqj.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-k5cqc0cs.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-n00cpb86.js";
|
|
8
|
+
import"./chunk-5tgpa02q.js";
|
|
9
|
+
import"./chunk-n381rqax.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -4,12 +4,12 @@ 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-
|
|
7
|
+
} from "./chunk-q8m2ygyt.js";
|
|
8
|
+
import"./chunk-k5cqc0cs.js";
|
|
9
|
+
import"./chunk-s8ws5fqj.js";
|
|
10
|
+
import"./chunk-5tgpa02q.js";
|
|
11
|
+
import"./chunk-hyaq30ne.js";
|
|
12
|
+
import"./chunk-n381rqax.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-8r9k7pqk.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-s8ws5fqj.js";
|
|
16
|
+
import"./chunk-hyaq30ne.js";
|
|
17
|
+
import"./chunk-n381rqax.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -191,6 +191,8 @@ import {
|
|
|
191
191
|
clockWith,
|
|
192
192
|
logError,
|
|
193
193
|
effectify,
|
|
194
|
+
toNumber,
|
|
195
|
+
bytes,
|
|
194
196
|
decode,
|
|
195
197
|
isRedacted,
|
|
196
198
|
make16,
|
|
@@ -266,13 +268,10 @@ import {
|
|
|
266
268
|
decodeJsonStringOption,
|
|
267
269
|
encodeJsonStringSync,
|
|
268
270
|
encodePrettyJsonString
|
|
269
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-n381rqax.js";
|
|
270
272
|
import {
|
|
271
273
|
map,
|
|
272
274
|
makeEquivalence,
|
|
273
|
-
Clock,
|
|
274
|
-
currentTimeMillis,
|
|
275
|
-
bytes,
|
|
276
275
|
BadArgument,
|
|
277
276
|
systemError,
|
|
278
277
|
badArgument,
|
|
@@ -336,8 +335,10 @@ import {
|
|
|
336
335
|
optionalEnv,
|
|
337
336
|
harnessesUnsupportedInSrt2,
|
|
338
337
|
harnessesUnsupportedInDocker2
|
|
339
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-hyaq30ne.js";
|
|
340
339
|
import {
|
|
340
|
+
Clock,
|
|
341
|
+
currentTimeMillis,
|
|
341
342
|
ExitCode,
|
|
342
343
|
ProcessId,
|
|
343
344
|
makeHandle,
|
|
@@ -347,7 +348,7 @@ import {
|
|
|
347
348
|
make2,
|
|
348
349
|
parseFdName,
|
|
349
350
|
fdName
|
|
350
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-8r9k7pqk.js";
|
|
351
352
|
import {
|
|
352
353
|
isDateTime,
|
|
353
354
|
Numeric,
|
|
@@ -360,8 +361,7 @@ import {
|
|
|
360
361
|
SecretScope,
|
|
361
362
|
SecretHosts,
|
|
362
363
|
isSecretReference
|
|
363
|
-
} from "./chunk-
|
|
364
|
-
|
|
364
|
+
} from "./chunk-5tgpa02q.js";
|
|
365
365
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
|
|
366
366
|
var makeEquivalence3 = Tuple;
|
|
367
367
|
|
|
@@ -898,15 +898,6 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
|
|
|
898
898
|
// node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
|
|
899
899
|
var runMain = runMain2;
|
|
900
900
|
|
|
901
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
902
|
-
var BigInt2 = globalThis.BigInt;
|
|
903
|
-
var toNumber = (b) => {
|
|
904
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
905
|
-
return none();
|
|
906
|
-
}
|
|
907
|
-
return some(Number(b));
|
|
908
|
-
};
|
|
909
|
-
|
|
910
901
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
|
|
911
902
|
var makeUnsafe = makeUnsafe6;
|
|
912
903
|
var make18 = make3;
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-n381rqax.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-hyaq30ne.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-s8ws5fqj.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-mtrhqr16.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json,
|
|
141
141
|
encodeUnknownJsonStringSync
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-n381rqax.js";
|
|
143
143
|
import {
|
|
144
144
|
WebCrypto,
|
|
145
145
|
makeUnsafe,
|
|
@@ -180,24 +180,26 @@ import {
|
|
|
180
180
|
StepManifest,
|
|
181
181
|
KitSetup,
|
|
182
182
|
RunnerRpcError
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-s8ws5fqj.js";
|
|
184
184
|
import {
|
|
185
|
-
currentTimeMillis,
|
|
186
185
|
getCurrent,
|
|
187
186
|
runForEach,
|
|
188
187
|
FileSystem
|
|
189
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-hyaq30ne.js";
|
|
189
|
+
import {
|
|
190
|
+
currentTimeMillis
|
|
191
|
+
} from "./chunk-8r9k7pqk.js";
|
|
190
192
|
import {
|
|
191
193
|
splitQuestionOptions,
|
|
192
194
|
recommendationProblem,
|
|
193
195
|
questionAdvice
|
|
194
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-k1fdsn2c.js";
|
|
195
197
|
import {
|
|
196
198
|
guard,
|
|
197
199
|
Id,
|
|
198
200
|
Timestamp,
|
|
199
201
|
ActorType
|
|
200
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-5tgpa02q.js";
|
|
201
203
|
var __defProp = Object.defineProperty;
|
|
202
204
|
var __returnValue = (v) => v;
|
|
203
205
|
function __exportSetter(name, newValue) {
|
|
@@ -1007,6 +1009,7 @@ var EvidenceCheck = Struct({
|
|
|
1007
1009
|
outputTail: optionalKey(String4),
|
|
1008
1010
|
failedTests: optionalKey(ArraySchema(String4)),
|
|
1009
1011
|
suggested: optionalKey(Boolean2),
|
|
1012
|
+
notStarted: optionalKey(Boolean2),
|
|
1010
1013
|
skippedSinceBaseline: optionalKey(ArraySchema(String4)),
|
|
1011
1014
|
newNotRun: optionalKey(ArraySchema(String4)),
|
|
1012
1015
|
environmentFailure: optionalKey(Struct({
|
|
@@ -1021,7 +1024,12 @@ var VerifyResult = Struct({
|
|
|
1021
1024
|
tree: String4,
|
|
1022
1025
|
passed: Boolean2,
|
|
1023
1026
|
unchanged: optionalKey(Boolean2),
|
|
1024
|
-
checks: ArraySchema(EvidenceCheck)
|
|
1027
|
+
checks: ArraySchema(EvidenceCheck),
|
|
1028
|
+
runnable: optionalKey(ArraySchema(Struct({
|
|
1029
|
+
name: String4,
|
|
1030
|
+
command: String4,
|
|
1031
|
+
workingDirectory: optionalKey(String4)
|
|
1032
|
+
})))
|
|
1025
1033
|
});
|
|
1026
1034
|
|
|
1027
1035
|
// packages/sdk/src/loop/steps.ts
|
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-brbym443.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-qfwhsqej.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-ag79vvjy.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-9vdy85kg.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|