@kitman-sh/cli 0.10.61 → 0.10.63
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-x306t6v1.js → chunk-09jf8588.js} +11 -11
- package/dist/{chunk-qdn9tnav.js → chunk-0fdgam8v.js} +17 -26
- package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-byhwksbq.js → chunk-1z9p4q8b.js} +2 -2
- package/dist/{chunk-769fbeff.js → chunk-5y050gx7.js} +36 -36
- package/dist/{chunk-eyw9a80g.js → chunk-62mqje8y.js} +21 -21
- package/dist/{chunk-wf3ednaj.js → chunk-88257wax.js} +19 -19
- package/dist/{chunk-26hcgbe7.js → chunk-a4798jzf.js} +3 -3
- package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
- package/dist/{chunk-43tv7md8.js → chunk-d8awdfdj.js} +60 -60
- package/dist/{chunk-evgrce0h.js → chunk-e3tv8mv2.js} +5 -5
- package/dist/{chunk-zej59tf2.js → chunk-eawcprsb.js} +60 -14
- package/dist/{chunk-mewtccqf.js → chunk-hvev0dve.js} +11 -11
- package/dist/{chunk-7a5njmab.js → chunk-hxkk42cg.js} +7 -7
- package/dist/{chunk-1vav1vaf.js → chunk-phmma642.js} +7 -7
- package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-ksx5nt4b.js → chunk-rrz0v4fg.js} +5 -5
- package/dist/{chunk-k2bnq58a.js → chunk-sdpjvc1r.js} +115 -107
- package/dist/{chunk-r0s0wvev.js → chunk-smgvtzd2.js} +7 -7
- package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-n7g89pj2.js → chunk-wkccjgwb.js} +4 -4
- package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
- package/dist/{chunk-qdx3wa4y.js → chunk-z0z56a72.js} +9 -9
- 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) => {
|
|
@@ -5857,48 +5857,6 @@ var getCode = (charCode) => {
|
|
|
5857
5857
|
return codes[charCode];
|
|
5858
5858
|
};
|
|
5859
5859
|
|
|
5860
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5861
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5862
|
-
var value2 = (self) => {
|
|
5863
|
-
if (redactedRegistry.has(self)) {
|
|
5864
|
-
return redactedRegistry.get(self);
|
|
5865
|
-
} else {
|
|
5866
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5867
|
-
}
|
|
5868
|
-
};
|
|
5869
|
-
|
|
5870
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5871
|
-
var TypeId8 = "~effect/Redacted";
|
|
5872
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5873
|
-
var make16 = (value, options) => {
|
|
5874
|
-
const self = Object.create(Proto2);
|
|
5875
|
-
if (options?.label) {
|
|
5876
|
-
self.label = options.label;
|
|
5877
|
-
}
|
|
5878
|
-
redactedRegistry.set(self, value);
|
|
5879
|
-
return self;
|
|
5880
|
-
};
|
|
5881
|
-
var Proto2 = {
|
|
5882
|
-
[TypeId8]: {
|
|
5883
|
-
_A: (_) => _
|
|
5884
|
-
},
|
|
5885
|
-
label: undefined,
|
|
5886
|
-
...PipeInspectableProto,
|
|
5887
|
-
toJSON() {
|
|
5888
|
-
return this.toString();
|
|
5889
|
-
},
|
|
5890
|
-
toString() {
|
|
5891
|
-
return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
|
|
5892
|
-
},
|
|
5893
|
-
[symbol]() {
|
|
5894
|
-
return hash(redactedRegistry.get(this));
|
|
5895
|
-
},
|
|
5896
|
-
[symbol2](that) {
|
|
5897
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5898
|
-
}
|
|
5899
|
-
};
|
|
5900
|
-
var value = value2;
|
|
5901
|
-
|
|
5902
5860
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5903
5861
|
function resolve(ast) {
|
|
5904
5862
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5922,16 +5880,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5922
5880
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5923
5881
|
|
|
5924
5882
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5925
|
-
var
|
|
5883
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
5926
5884
|
function isIssue(u) {
|
|
5927
|
-
return hasProperty(u,
|
|
5885
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
5928
5886
|
}
|
|
5929
5887
|
function hasInput(issue) {
|
|
5930
5888
|
return Object.hasOwn(issue, "input");
|
|
5931
5889
|
}
|
|
5932
5890
|
|
|
5933
5891
|
class IssueNodeImpl {
|
|
5934
|
-
[
|
|
5892
|
+
[TypeId8] = TypeId8;
|
|
5935
5893
|
constructor(input, options) {
|
|
5936
5894
|
if (options?.reportInput === true && input !== missing) {
|
|
5937
5895
|
this.input = input;
|
|
@@ -6305,9 +6263,9 @@ function setContent(operation, content) {
|
|
|
6305
6263
|
}
|
|
6306
6264
|
|
|
6307
6265
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6308
|
-
var
|
|
6266
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6309
6267
|
var Transformation = class extends Class3 {
|
|
6310
|
-
[
|
|
6268
|
+
[TypeId9] = TypeId9;
|
|
6311
6269
|
_tag = "Transformation";
|
|
6312
6270
|
decode;
|
|
6313
6271
|
encode;
|
|
@@ -6321,7 +6279,7 @@ var Transformation = class extends Class3 {
|
|
|
6321
6279
|
}
|
|
6322
6280
|
};
|
|
6323
6281
|
function isTransformation(u) {
|
|
6324
|
-
return hasProperty(u,
|
|
6282
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6325
6283
|
}
|
|
6326
6284
|
var makeTransformation = (options) => {
|
|
6327
6285
|
if (isTransformation(options)) {
|
|
@@ -6441,10 +6399,10 @@ var Context = class {
|
|
|
6441
6399
|
this.annotations = annotations;
|
|
6442
6400
|
}
|
|
6443
6401
|
};
|
|
6444
|
-
var
|
|
6402
|
+
var TypeId10 = "~effect/Schema";
|
|
6445
6403
|
|
|
6446
6404
|
class ASTNodeImpl {
|
|
6447
|
-
[
|
|
6405
|
+
[TypeId10] = TypeId10;
|
|
6448
6406
|
annotations;
|
|
6449
6407
|
checks;
|
|
6450
6408
|
encoding;
|
|
@@ -8659,10 +8617,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8659
8617
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8660
8618
|
|
|
8661
8619
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8662
|
-
var
|
|
8620
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8663
8621
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8664
8622
|
var SchemaProto = {
|
|
8665
|
-
[
|
|
8623
|
+
[TypeId11]: TypeId11,
|
|
8666
8624
|
get make() {
|
|
8667
8625
|
const value = make4(this);
|
|
8668
8626
|
Object.defineProperty(this, "make", {
|
|
@@ -8923,7 +8881,7 @@ function recur(ast) {
|
|
|
8923
8881
|
const rest = ast.rest.map(recur);
|
|
8924
8882
|
const [head, ...tail] = rest;
|
|
8925
8883
|
const tailLength = tail.length;
|
|
8926
|
-
return
|
|
8884
|
+
return make14((a, b) => {
|
|
8927
8885
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8928
8886
|
return false;
|
|
8929
8887
|
}
|
|
@@ -8958,7 +8916,7 @@ function recur(ast) {
|
|
|
8958
8916
|
}
|
|
8959
8917
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8960
8918
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8961
|
-
return
|
|
8919
|
+
return make14((a, b) => {
|
|
8962
8920
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8963
8921
|
return false;
|
|
8964
8922
|
}
|
|
@@ -8996,7 +8954,7 @@ function recur(ast) {
|
|
|
8996
8954
|
const types = toType2(ast).types;
|
|
8997
8955
|
const index = getCandidateIndex(types);
|
|
8998
8956
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8999
|
-
return
|
|
8957
|
+
return make14((a, b) => {
|
|
9000
8958
|
const candidates = index(a, false);
|
|
9001
8959
|
for (let i = 0;i < candidates.length; i++) {
|
|
9002
8960
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -9009,7 +8967,7 @@ function recur(ast) {
|
|
|
9009
8967
|
}
|
|
9010
8968
|
case "Suspend": {
|
|
9011
8969
|
let equivalence;
|
|
9012
|
-
return
|
|
8970
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
9013
8971
|
}
|
|
9014
8972
|
}
|
|
9015
8973
|
}
|
|
@@ -9107,7 +9065,7 @@ function isSchemaError(u) {
|
|
|
9107
9065
|
}
|
|
9108
9066
|
|
|
9109
9067
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9110
|
-
var
|
|
9068
|
+
var TypeId12 = TypeId11;
|
|
9111
9069
|
function declareConstructor() {
|
|
9112
9070
|
return (typeParameters, run, annotations) => {
|
|
9113
9071
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9220,7 +9178,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9220
9178
|
var encodeSync = encodeUnknownSync;
|
|
9221
9179
|
var make17 = make5;
|
|
9222
9180
|
function isSchema(u) {
|
|
9223
|
-
return hasProperty(u,
|
|
9181
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9224
9182
|
}
|
|
9225
9183
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9226
9184
|
schema
|
|
@@ -10014,7 +9972,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10014
9972
|
}
|
|
10015
9973
|
});
|
|
10016
9974
|
}
|
|
10017
|
-
static [
|
|
9975
|
+
static [TypeId12] = TypeId12;
|
|
10018
9976
|
get [ClassTypeId]() {
|
|
10019
9977
|
return ClassTypeId;
|
|
10020
9978
|
}
|
|
@@ -10163,4 +10121,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10163
10121
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10164
10122
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10165
10123
|
|
|
10166
|
-
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,
|
|
10124
|
+
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, 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, filter2, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, 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, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
|
@@ -5,46 +5,7 @@ import {
|
|
|
5
5
|
isObject,
|
|
6
6
|
isJsonObject,
|
|
7
7
|
isString
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
join,
|
|
11
|
-
interrupt,
|
|
12
|
-
unbounded,
|
|
13
|
-
publishUnsafe,
|
|
14
|
-
unbounded2,
|
|
15
|
-
offer,
|
|
16
|
-
makeUnsafe3,
|
|
17
|
-
make10,
|
|
18
|
-
fromQueue,
|
|
19
|
-
fromPubSub,
|
|
20
|
-
map2,
|
|
21
|
-
filter,
|
|
22
|
-
decodeText,
|
|
23
|
-
encodeText,
|
|
24
|
-
splitLines,
|
|
25
|
-
run,
|
|
26
|
-
runHead,
|
|
27
|
-
runForEach,
|
|
28
|
-
FileSystem,
|
|
29
|
-
Path,
|
|
30
|
-
embeddedFile,
|
|
31
|
-
extractEmbeddedFile,
|
|
32
|
-
optionalEnv,
|
|
33
|
-
harnessesUnsupportedInSrt2,
|
|
34
|
-
compiled2,
|
|
35
|
-
pinnedSrtCommand2,
|
|
36
|
-
pinnedSrtStepCommand2,
|
|
37
|
-
runSrtCli2,
|
|
38
|
-
kitmanCacheDirectory2,
|
|
39
|
-
srtSettings2,
|
|
40
|
-
srtCacheEnvironment2,
|
|
41
|
-
srtInheritedEnv2,
|
|
42
|
-
inheritedEnvironment2,
|
|
43
|
-
withOnlyEnvironment2,
|
|
44
|
-
writeSrtSettings2,
|
|
45
|
-
srtStepArgv2,
|
|
46
|
-
srtArgv2
|
|
47
|
-
} from "./chunk-qdn9tnav.js";
|
|
8
|
+
} from "./chunk-v01c0k6j.js";
|
|
48
9
|
import {
|
|
49
10
|
pipeArguments,
|
|
50
11
|
dual,
|
|
@@ -81,7 +42,7 @@ import {
|
|
|
81
42
|
isFailure2,
|
|
82
43
|
hasInterrupts,
|
|
83
44
|
makeUnsafe5,
|
|
84
|
-
|
|
45
|
+
make16,
|
|
85
46
|
_await,
|
|
86
47
|
fail5,
|
|
87
48
|
isDoneUnsafe,
|
|
@@ -195,11 +156,11 @@ import {
|
|
|
195
156
|
encodePrettyJsonString,
|
|
196
157
|
decodeJsonStringSync,
|
|
197
158
|
encodeUnknownJsonStringSync
|
|
198
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-d3ksv8y1.js";
|
|
199
160
|
import {
|
|
200
161
|
Id,
|
|
201
162
|
secretReference
|
|
202
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-rrnee9mk.js";
|
|
203
164
|
import {
|
|
204
165
|
currentTimeMillis,
|
|
205
166
|
SecureRandom,
|
|
@@ -264,7 +225,46 @@ import {
|
|
|
264
225
|
installCommand,
|
|
265
226
|
checkServicesFile,
|
|
266
227
|
checkServices
|
|
267
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-sdpjvc1r.js";
|
|
229
|
+
import {
|
|
230
|
+
join,
|
|
231
|
+
interrupt,
|
|
232
|
+
unbounded,
|
|
233
|
+
publishUnsafe,
|
|
234
|
+
unbounded2,
|
|
235
|
+
offer,
|
|
236
|
+
makeUnsafe3,
|
|
237
|
+
make11,
|
|
238
|
+
fromQueue,
|
|
239
|
+
fromPubSub,
|
|
240
|
+
map2,
|
|
241
|
+
filter,
|
|
242
|
+
decodeText,
|
|
243
|
+
encodeText,
|
|
244
|
+
splitLines,
|
|
245
|
+
run,
|
|
246
|
+
runHead,
|
|
247
|
+
runForEach,
|
|
248
|
+
FileSystem,
|
|
249
|
+
Path,
|
|
250
|
+
embeddedFile,
|
|
251
|
+
extractEmbeddedFile,
|
|
252
|
+
optionalEnv,
|
|
253
|
+
harnessesUnsupportedInSrt2,
|
|
254
|
+
compiled2,
|
|
255
|
+
pinnedSrtCommand2,
|
|
256
|
+
pinnedSrtStepCommand2,
|
|
257
|
+
runSrtCli2,
|
|
258
|
+
kitmanCacheDirectory2,
|
|
259
|
+
srtSettings2,
|
|
260
|
+
srtCacheEnvironment2,
|
|
261
|
+
srtInheritedEnv2,
|
|
262
|
+
inheritedEnvironment2,
|
|
263
|
+
withOnlyEnvironment2,
|
|
264
|
+
writeSrtSettings2,
|
|
265
|
+
srtStepArgv2,
|
|
266
|
+
srtArgv2
|
|
267
|
+
} from "./chunk-0fdgam8v.js";
|
|
268
268
|
import {
|
|
269
269
|
writeAgentEnvironmentConfigFile2,
|
|
270
270
|
readManifestSkillPaths2,
|
|
@@ -280,8 +280,8 @@ import {
|
|
|
280
280
|
applyAgentEnvironmentMaterialization2,
|
|
281
281
|
isPathWithin2,
|
|
282
282
|
skillIdentity2
|
|
283
|
-
} from "./chunk-
|
|
284
|
-
import"./chunk-
|
|
283
|
+
} from "./chunk-z0z56a72.js";
|
|
284
|
+
import"./chunk-a4798jzf.js";
|
|
285
285
|
import {
|
|
286
286
|
sliceBytes2,
|
|
287
287
|
maxLineBytes2,
|
|
@@ -289,28 +289,28 @@ import {
|
|
|
289
289
|
decodedOption2,
|
|
290
290
|
decoded2,
|
|
291
291
|
readOpencode2
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-09jf8588.js";
|
|
293
293
|
import {
|
|
294
294
|
writeSecretRegistry,
|
|
295
295
|
secretRefusalLog,
|
|
296
296
|
parseSecretRefusals
|
|
297
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-1w81w56v.js";
|
|
298
298
|
import {
|
|
299
299
|
uploadRunFile,
|
|
300
300
|
programLease,
|
|
301
301
|
rpcRunFiles,
|
|
302
302
|
programHostsEnv,
|
|
303
303
|
undeclaredHostsEnv
|
|
304
|
-
} from "./chunk-
|
|
305
|
-
import"./chunk-
|
|
304
|
+
} from "./chunk-phmma642.js";
|
|
305
|
+
import"./chunk-hxkk42cg.js";
|
|
306
306
|
import {
|
|
307
307
|
nextInt
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-q3c7vmby.js";
|
|
309
309
|
import {
|
|
310
310
|
ChildProcessSpawner,
|
|
311
|
-
|
|
312
|
-
} from "./chunk-
|
|
313
|
-
import"./chunk-
|
|
311
|
+
make3
|
|
312
|
+
} from "./chunk-eawcprsb.js";
|
|
313
|
+
import"./chunk-e3tv8mv2.js";
|
|
314
314
|
|
|
315
315
|
// packages/core/src/sync-kit.ts
|
|
316
316
|
import { createHash } from "crypto";
|
|
@@ -5827,7 +5827,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
5827
5827
|
const input = yield* unbounded2();
|
|
5828
5828
|
const pending = new Map;
|
|
5829
5829
|
let lastId = 0;
|
|
5830
|
-
const handle = yield* spawner.spawn(
|
|
5830
|
+
const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
|
|
5831
5831
|
cwd: env.home,
|
|
5832
5832
|
extendEnv: true,
|
|
5833
5833
|
env: { HOME: env.home, CODEX_HOME: env.codexHome },
|
|
@@ -5850,7 +5850,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
5850
5850
|
return {
|
|
5851
5851
|
request: (method, params) => gen(function* () {
|
|
5852
5852
|
const id = ++lastId;
|
|
5853
|
-
const deferred = yield*
|
|
5853
|
+
const deferred = yield* make16();
|
|
5854
5854
|
pending.set(id, deferred);
|
|
5855
5855
|
yield* send({ id, method, params });
|
|
5856
5856
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -5990,10 +5990,10 @@ var handshake = [
|
|
|
5990
5990
|
`).join("");
|
|
5991
5991
|
var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
5992
5992
|
const spawner = yield* ChildProcessSpawner;
|
|
5993
|
-
const server = yield* spawner.spawn(
|
|
5993
|
+
const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
|
|
5994
5994
|
extendEnv: true,
|
|
5995
5995
|
env: mcp.env,
|
|
5996
|
-
stdin: { stream:
|
|
5996
|
+
stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
5997
5997
|
stderr: "ignore"
|
|
5998
5998
|
}));
|
|
5999
5999
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -6066,8 +6066,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
6066
6066
|
};
|
|
6067
6067
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
6068
6068
|
const spawner = yield* ChildProcessSpawner;
|
|
6069
|
-
const handle = yield* spawner.spawn(
|
|
6070
|
-
stdin:
|
|
6069
|
+
const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
|
|
6070
|
+
stdin: make11(new TextEncoder().encode(stdin)),
|
|
6071
6071
|
stdout: "inherit",
|
|
6072
6072
|
stderr: "inherit",
|
|
6073
6073
|
extendEnv: false,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-d3ksv8y1.js";
|
|
100
100
|
import {
|
|
101
101
|
interrupt,
|
|
102
102
|
getCurrent,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-0fdgam8v.js";
|
|
112
112
|
import {
|
|
113
113
|
Clock,
|
|
114
114
|
empty,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-sdpjvc1r.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
isString2,
|
|
4
|
+
hasProperty,
|
|
5
|
+
symbol,
|
|
6
|
+
hash,
|
|
7
|
+
symbol2,
|
|
8
|
+
equals,
|
|
3
9
|
BaseProto,
|
|
10
|
+
PipeInspectableProto,
|
|
4
11
|
Prototype,
|
|
5
12
|
some,
|
|
6
13
|
Service2,
|
|
@@ -14,11 +21,8 @@ import {
|
|
|
14
21
|
andThen2,
|
|
15
22
|
map8,
|
|
16
23
|
raceFirst,
|
|
17
|
-
scoped
|
|
18
|
-
|
|
19
|
-
make16,
|
|
20
|
-
value
|
|
21
|
-
} from "./chunk-677etczq.js";
|
|
24
|
+
scoped
|
|
25
|
+
} from "./chunk-d3ksv8y1.js";
|
|
22
26
|
import {
|
|
23
27
|
unwrap,
|
|
24
28
|
drainFork,
|
|
@@ -27,7 +31,49 @@ import {
|
|
|
27
31
|
runCollect,
|
|
28
32
|
runDrain,
|
|
29
33
|
mkString
|
|
30
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-0fdgam8v.js";
|
|
35
|
+
|
|
36
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
38
|
+
var value2 = (self) => {
|
|
39
|
+
if (redactedRegistry.has(self)) {
|
|
40
|
+
return redactedRegistry.get(self);
|
|
41
|
+
} else {
|
|
42
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
47
|
+
var TypeId = "~effect/Redacted";
|
|
48
|
+
var isRedacted = (u) => hasProperty(u, TypeId);
|
|
49
|
+
var make = (value, options) => {
|
|
50
|
+
const self = Object.create(Proto);
|
|
51
|
+
if (options?.label) {
|
|
52
|
+
self.label = options.label;
|
|
53
|
+
}
|
|
54
|
+
redactedRegistry.set(self, value);
|
|
55
|
+
return self;
|
|
56
|
+
};
|
|
57
|
+
var Proto = {
|
|
58
|
+
[TypeId]: {
|
|
59
|
+
_A: (_) => _
|
|
60
|
+
},
|
|
61
|
+
label: undefined,
|
|
62
|
+
...PipeInspectableProto,
|
|
63
|
+
toJSON() {
|
|
64
|
+
return this.toString();
|
|
65
|
+
},
|
|
66
|
+
toString() {
|
|
67
|
+
return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
|
|
68
|
+
},
|
|
69
|
+
[symbol]() {
|
|
70
|
+
return hash(redactedRegistry.get(this));
|
|
71
|
+
},
|
|
72
|
+
[symbol2](that) {
|
|
73
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var value = value2;
|
|
31
77
|
|
|
32
78
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
33
79
|
function nominal() {
|
|
@@ -55,7 +101,7 @@ var HandleProto = {
|
|
|
55
101
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
56
102
|
...params
|
|
57
103
|
}, HandleProto);
|
|
58
|
-
var
|
|
104
|
+
var make2 = (spawn) => {
|
|
59
105
|
const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
60
106
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
61
107
|
return ChildProcessSpawner.of({
|
|
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
|
|
|
176
222
|
if (word.length === 0)
|
|
177
223
|
return;
|
|
178
224
|
const value = word.map(unwrap2).join("");
|
|
179
|
-
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ?
|
|
225
|
+
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
|
|
180
226
|
word = [];
|
|
181
227
|
plain = true;
|
|
182
228
|
braceDepth = 0;
|
|
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
|
|
|
266
312
|
};
|
|
267
313
|
|
|
268
314
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
|
|
269
|
-
var
|
|
270
|
-
var
|
|
315
|
+
var TypeId2 = "~effect/process/ChildProcess";
|
|
316
|
+
var Proto2 = {
|
|
271
317
|
.../* @__PURE__ */ Prototype({
|
|
272
318
|
label: "Command",
|
|
273
319
|
evaluate(fiber) {
|
|
274
320
|
return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
|
|
275
321
|
}
|
|
276
322
|
}),
|
|
277
|
-
[
|
|
323
|
+
[TypeId2]: TypeId2
|
|
278
324
|
};
|
|
279
|
-
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(
|
|
325
|
+
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
|
|
280
326
|
_tag: "StandardCommand",
|
|
281
327
|
command,
|
|
282
328
|
args,
|
|
283
329
|
options
|
|
284
330
|
});
|
|
285
|
-
var
|
|
331
|
+
var make3 = function make(...args) {
|
|
286
332
|
if (isTemplateString(args[0])) {
|
|
287
333
|
const [templates, ...expressions] = args;
|
|
288
334
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
|
|
|
340
386
|
}
|
|
341
387
|
return script;
|
|
342
388
|
};
|
|
343
|
-
export { ExitCode, ProcessId, makeHandle,
|
|
389
|
+
export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
|