@kitman-sh/cli 0.10.96 → 0.10.97
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-vjcn82g3.js → chunk-25q7mg6g.js} +17 -17
- package/dist/{chunk-t7ncjd6s.js → chunk-2ndnvcp3.js} +8 -8
- package/dist/{chunk-q2d37e4x.js → chunk-3snbxcct.js} +21 -21
- package/dist/{chunk-c9wzakrx.js → chunk-3tjssyvf.js} +8 -8
- package/dist/{chunk-g3r5xp0t.js → chunk-9m9cv82t.js} +2 -2
- package/dist/{chunk-a244myqw.js → chunk-c3k32vw4.js} +1 -1
- package/dist/{chunk-ampzxrqe.js → chunk-dstm8aen.js} +70 -28
- package/dist/{chunk-dh3108wk.js → chunk-gfe4kk5k.js} +5 -5
- package/dist/{chunk-fv6kgtze.js → chunk-hsf2sj69.js} +2 -2
- package/dist/{chunk-s3qgchay.js → chunk-jtyxjjvs.js} +23 -23
- package/dist/{chunk-bk3dpjxq.js → chunk-k4fvnphp.js} +1 -1
- package/dist/{chunk-tpdcq44c.js → chunk-k6ndhjcd.js} +23 -23
- package/dist/{chunk-et6qa95h.js → chunk-mbqeakm1.js} +1 -1
- package/dist/{chunk-mcpesyz2.js → chunk-mkr1nwdy.js} +3 -3
- package/dist/{chunk-6aa8y66v.js → chunk-mrzmq4jq.js} +4 -4
- package/dist/{chunk-8tq7n7wc.js → chunk-mxqrv47k.js} +5 -5
- package/dist/{chunk-4psvc86s.js → chunk-nwqcmdtz.js} +4 -4
- package/dist/{chunk-q3nygncv.js → chunk-q4q69zgm.js} +7 -7
- package/dist/{chunk-15w92pn6.js → chunk-qr0n7rde.js} +12 -12
- package/dist/{chunk-rdv42ygn.js → chunk-rmsm8vnc.js} +4 -4
- package/dist/{chunk-qacvrg7j.js → chunk-t8ny8exc.js} +7 -7
- package/dist/{chunk-3r7ahnwy.js → chunk-w0sehmpd.js} +14 -60
- package/dist/{chunk-2kr43ps6.js → chunk-y8dzp1t8.js} +107 -107
- package/dist/{chunk-abf4m4b2.js → chunk-yzmyy4vs.js} +5 -5
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
|
|
|
1331
1331
|
});
|
|
1332
1332
|
|
|
1333
1333
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
|
|
1334
|
-
var
|
|
1334
|
+
var make13 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
1335
1335
|
var isStrictEquivalent = (x, y) => x === y;
|
|
1336
1336
|
var strictEqual = () => isStrictEquivalent;
|
|
1337
1337
|
function Tuple(elements) {
|
|
1338
|
-
return
|
|
1338
|
+
return make13((self, that) => {
|
|
1339
1339
|
if (self.length !== that.length) {
|
|
1340
1340
|
return false;
|
|
1341
1341
|
}
|
|
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
function Array_(item) {
|
|
1351
|
-
return
|
|
1351
|
+
return make13((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1578,7 +1578,7 @@ var ServiceProto = {
|
|
|
1578
1578
|
return self;
|
|
1579
1579
|
},
|
|
1580
1580
|
context(self) {
|
|
1581
|
-
return
|
|
1581
|
+
return make14(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 make14 = (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, make14(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 make15 = () => 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(make14(arguments[0], resource));
|
|
5271
5271
|
}
|
|
5272
|
-
return succeedContext(
|
|
5272
|
+
return succeedContext(make14(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) => make14(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,6 +5858,48 @@ 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
|
+
|
|
5861
5903
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5862
5904
|
function resolve(ast) {
|
|
5863
5905
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5881,16 +5923,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5881
5923
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5882
5924
|
|
|
5883
5925
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5884
|
-
var
|
|
5926
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5885
5927
|
function isIssue(u) {
|
|
5886
|
-
return hasProperty(u,
|
|
5928
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5887
5929
|
}
|
|
5888
5930
|
function hasInput(issue) {
|
|
5889
5931
|
return Object.hasOwn(issue, "input");
|
|
5890
5932
|
}
|
|
5891
5933
|
|
|
5892
5934
|
class IssueNodeImpl {
|
|
5893
|
-
[
|
|
5935
|
+
[TypeId9] = TypeId9;
|
|
5894
5936
|
constructor(input, options) {
|
|
5895
5937
|
if (options?.reportInput === true && input !== missing) {
|
|
5896
5938
|
this.input = input;
|
|
@@ -6264,9 +6306,9 @@ function setContent(operation, content) {
|
|
|
6264
6306
|
}
|
|
6265
6307
|
|
|
6266
6308
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6267
|
-
var
|
|
6309
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6268
6310
|
var Transformation = class extends Class3 {
|
|
6269
|
-
[
|
|
6311
|
+
[TypeId10] = TypeId10;
|
|
6270
6312
|
_tag = "Transformation";
|
|
6271
6313
|
decode;
|
|
6272
6314
|
encode;
|
|
@@ -6280,7 +6322,7 @@ var Transformation = class extends Class3 {
|
|
|
6280
6322
|
}
|
|
6281
6323
|
};
|
|
6282
6324
|
function isTransformation(u) {
|
|
6283
|
-
return hasProperty(u,
|
|
6325
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6284
6326
|
}
|
|
6285
6327
|
var makeTransformation = (options) => {
|
|
6286
6328
|
if (isTransformation(options)) {
|
|
@@ -6400,10 +6442,10 @@ var Context = class {
|
|
|
6400
6442
|
this.annotations = annotations;
|
|
6401
6443
|
}
|
|
6402
6444
|
};
|
|
6403
|
-
var
|
|
6445
|
+
var TypeId11 = "~effect/Schema";
|
|
6404
6446
|
|
|
6405
6447
|
class ASTNodeImpl {
|
|
6406
|
-
[
|
|
6448
|
+
[TypeId11] = TypeId11;
|
|
6407
6449
|
annotations;
|
|
6408
6450
|
checks;
|
|
6409
6451
|
encoding;
|
|
@@ -8618,10 +8660,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8618
8660
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8619
8661
|
|
|
8620
8662
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8621
|
-
var
|
|
8663
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8622
8664
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8623
8665
|
var SchemaProto = {
|
|
8624
|
-
[
|
|
8666
|
+
[TypeId12]: TypeId12,
|
|
8625
8667
|
get make() {
|
|
8626
8668
|
const value = make4(this);
|
|
8627
8669
|
Object.defineProperty(this, "make", {
|
|
@@ -8882,7 +8924,7 @@ function recur(ast) {
|
|
|
8882
8924
|
const rest = ast.rest.map(recur);
|
|
8883
8925
|
const [head, ...tail] = rest;
|
|
8884
8926
|
const tailLength = tail.length;
|
|
8885
|
-
return
|
|
8927
|
+
return make13((a, b) => {
|
|
8886
8928
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8887
8929
|
return false;
|
|
8888
8930
|
}
|
|
@@ -8917,7 +8959,7 @@ function recur(ast) {
|
|
|
8917
8959
|
}
|
|
8918
8960
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8919
8961
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8920
|
-
return
|
|
8962
|
+
return make13((a, b) => {
|
|
8921
8963
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8922
8964
|
return false;
|
|
8923
8965
|
}
|
|
@@ -8955,7 +8997,7 @@ function recur(ast) {
|
|
|
8955
8997
|
const types = toType2(ast).types;
|
|
8956
8998
|
const index = getCandidateIndex(types);
|
|
8957
8999
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8958
|
-
return
|
|
9000
|
+
return make13((a, b) => {
|
|
8959
9001
|
const candidates = index(a, false);
|
|
8960
9002
|
for (let i = 0;i < candidates.length; i++) {
|
|
8961
9003
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8968,7 +9010,7 @@ function recur(ast) {
|
|
|
8968
9010
|
}
|
|
8969
9011
|
case "Suspend": {
|
|
8970
9012
|
let equivalence;
|
|
8971
|
-
return
|
|
9013
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8972
9014
|
}
|
|
8973
9015
|
}
|
|
8974
9016
|
}
|
|
@@ -9066,7 +9108,7 @@ function isSchemaError(u) {
|
|
|
9066
9108
|
}
|
|
9067
9109
|
|
|
9068
9110
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9069
|
-
var
|
|
9111
|
+
var TypeId13 = TypeId12;
|
|
9070
9112
|
function declareConstructor() {
|
|
9071
9113
|
return (typeParameters, run, annotations) => {
|
|
9072
9114
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9179,7 +9221,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9179
9221
|
var encodeSync = encodeUnknownSync;
|
|
9180
9222
|
var make17 = make5;
|
|
9181
9223
|
function isSchema(u) {
|
|
9182
|
-
return hasProperty(u,
|
|
9224
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9183
9225
|
}
|
|
9184
9226
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9185
9227
|
schema
|
|
@@ -10010,7 +10052,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10010
10052
|
}
|
|
10011
10053
|
});
|
|
10012
10054
|
}
|
|
10013
|
-
static [
|
|
10055
|
+
static [TypeId13] = TypeId13;
|
|
10014
10056
|
get [ClassTypeId]() {
|
|
10015
10057
|
return ClassTypeId;
|
|
10016
10058
|
}
|
|
@@ -10159,4 +10201,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10159
10201
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10160
10202
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10161
10203
|
|
|
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,
|
|
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, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-dstm8aen.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-k4fvnphp.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-25q7mg6g.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-y8dzp1t8.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-mkr1nwdy.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-dstm8aen.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-mbqeakm1.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
isObject,
|
|
7
7
|
isJsonObject,
|
|
8
8
|
isString
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-k4fvnphp.js";
|
|
10
10
|
import {
|
|
11
11
|
pipeArguments,
|
|
12
12
|
dual,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
isFailure2,
|
|
48
48
|
hasInterrupts,
|
|
49
49
|
makeUnsafe5,
|
|
50
|
-
|
|
50
|
+
make15,
|
|
51
51
|
_await,
|
|
52
52
|
fail5,
|
|
53
53
|
isDoneUnsafe,
|
|
@@ -167,12 +167,12 @@ import {
|
|
|
167
167
|
encodePrettyJsonString,
|
|
168
168
|
decodeJsonStringSync,
|
|
169
169
|
encodeUnknownJsonStringSync
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-dstm8aen.js";
|
|
171
171
|
import {
|
|
172
172
|
Id,
|
|
173
173
|
secretReference,
|
|
174
174
|
secretPlaceholder
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-mbqeakm1.js";
|
|
176
176
|
import {
|
|
177
177
|
currentTimeMillis,
|
|
178
178
|
SecureRandom,
|
|
@@ -245,7 +245,7 @@ import {
|
|
|
245
245
|
installCommand,
|
|
246
246
|
checkServicesFile,
|
|
247
247
|
checkServices
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-y8dzp1t8.js";
|
|
249
249
|
import {
|
|
250
250
|
join,
|
|
251
251
|
interrupt,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
unbounded2,
|
|
255
255
|
offer,
|
|
256
256
|
makeUnsafe3,
|
|
257
|
-
|
|
257
|
+
make10,
|
|
258
258
|
fromQueue,
|
|
259
259
|
fromPubSub,
|
|
260
260
|
map2,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
writeSrtSettings2,
|
|
286
286
|
srtStepArgv2,
|
|
287
287
|
srtArgv2
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-25q7mg6g.js";
|
|
289
289
|
import {
|
|
290
290
|
writeAgentEnvironmentConfigFile2,
|
|
291
291
|
readManifestSkillPaths2,
|
|
@@ -301,8 +301,8 @@ import {
|
|
|
301
301
|
applyAgentEnvironmentMaterialization2,
|
|
302
302
|
isPathWithin2,
|
|
303
303
|
skillIdentity2
|
|
304
|
-
} from "./chunk-
|
|
305
|
-
import"./chunk-
|
|
304
|
+
} from "./chunk-gfe4kk5k.js";
|
|
305
|
+
import"./chunk-mkr1nwdy.js";
|
|
306
306
|
import {
|
|
307
307
|
egressAllowed,
|
|
308
308
|
writeSecretRegistry,
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
secretFilter2,
|
|
313
313
|
opaqueTunnelRefusal2,
|
|
314
314
|
isOpaqueConnectReason2
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-hsf2sj69.js";
|
|
316
316
|
import {
|
|
317
317
|
sliceBytes2,
|
|
318
318
|
maxLineBytes2,
|
|
@@ -320,23 +320,23 @@ import {
|
|
|
320
320
|
decodedOption2,
|
|
321
321
|
decoded2,
|
|
322
322
|
readOpencode2
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-2ndnvcp3.js";
|
|
324
324
|
import {
|
|
325
325
|
uploadRunFile,
|
|
326
326
|
programLease,
|
|
327
327
|
rpcRunFiles,
|
|
328
328
|
programHostsEnv,
|
|
329
329
|
undeclaredHostsEnv
|
|
330
|
-
} from "./chunk-
|
|
331
|
-
import"./chunk-
|
|
330
|
+
} from "./chunk-nwqcmdtz.js";
|
|
331
|
+
import"./chunk-t8ny8exc.js";
|
|
332
332
|
import {
|
|
333
333
|
nextInt
|
|
334
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-c3k32vw4.js";
|
|
335
335
|
import {
|
|
336
336
|
ChildProcessSpawner,
|
|
337
|
-
|
|
338
|
-
} from "./chunk-
|
|
339
|
-
import"./chunk-
|
|
337
|
+
make2
|
|
338
|
+
} from "./chunk-w0sehmpd.js";
|
|
339
|
+
import"./chunk-mxqrv47k.js";
|
|
340
340
|
|
|
341
341
|
// packages/core/src/sync-kit.ts
|
|
342
342
|
import { createHash } from "crypto";
|
|
@@ -6775,7 +6775,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
6775
6775
|
const input = yield* unbounded2();
|
|
6776
6776
|
const pending = new Map;
|
|
6777
6777
|
let lastId = 0;
|
|
6778
|
-
const handle = yield* spawner.spawn(
|
|
6778
|
+
const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
|
|
6779
6779
|
cwd: env.home,
|
|
6780
6780
|
extendEnv: true,
|
|
6781
6781
|
env: { HOME: env.home, CODEX_HOME: env.codexHome },
|
|
@@ -6798,7 +6798,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
6798
6798
|
return {
|
|
6799
6799
|
request: (method, params) => gen(function* () {
|
|
6800
6800
|
const id = ++lastId;
|
|
6801
|
-
const deferred = yield*
|
|
6801
|
+
const deferred = yield* make15();
|
|
6802
6802
|
pending.set(id, deferred);
|
|
6803
6803
|
yield* send({ id, method, params });
|
|
6804
6804
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -6938,10 +6938,10 @@ var handshake = [
|
|
|
6938
6938
|
`).join("");
|
|
6939
6939
|
var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
6940
6940
|
const spawner = yield* ChildProcessSpawner;
|
|
6941
|
-
const server = yield* spawner.spawn(
|
|
6941
|
+
const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
|
|
6942
6942
|
extendEnv: true,
|
|
6943
6943
|
env: mcp.env,
|
|
6944
|
-
stdin: { stream:
|
|
6944
|
+
stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
6945
6945
|
stderr: "ignore"
|
|
6946
6946
|
}));
|
|
6947
6947
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -7014,8 +7014,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
7014
7014
|
};
|
|
7015
7015
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
7016
7016
|
const spawner = yield* ChildProcessSpawner;
|
|
7017
|
-
const handle = yield* spawner.spawn(
|
|
7018
|
-
stdin:
|
|
7017
|
+
const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
|
|
7018
|
+
stdin: make10(new TextEncoder().encode(stdin)),
|
|
7019
7019
|
stdout: "inherit",
|
|
7020
7020
|
stderr: "inherit",
|
|
7021
7021
|
extendEnv: false,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-dstm8aen.js";
|
|
106
106
|
import {
|
|
107
107
|
currentTimeMillis,
|
|
108
108
|
SecureRandom,
|
|
@@ -142,8 +142,8 @@ import {
|
|
|
142
142
|
sessionForApi,
|
|
143
143
|
readAuthStore,
|
|
144
144
|
agentCredentialForApi,
|
|
145
|
+
make5,
|
|
145
146
|
make6,
|
|
146
|
-
make7,
|
|
147
147
|
Service,
|
|
148
148
|
shouldRefresh,
|
|
149
149
|
refreshSession,
|
|
@@ -154,13 +154,13 @@ import {
|
|
|
154
154
|
runMcpEffect,
|
|
155
155
|
createAgentAuthSignedFetch,
|
|
156
156
|
setupMcpAgentCredential
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-y8dzp1t8.js";
|
|
158
158
|
import {
|
|
159
159
|
guard,
|
|
160
160
|
Id,
|
|
161
161
|
Timestamp,
|
|
162
162
|
ActorType
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-mbqeakm1.js";
|
|
164
164
|
import {
|
|
165
165
|
toJsonValue,
|
|
166
166
|
isOneOf,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
isJsonObject,
|
|
174
174
|
isString,
|
|
175
175
|
kindOf
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-k4fvnphp.js";
|
|
177
177
|
import {
|
|
178
178
|
join,
|
|
179
179
|
interrupt,
|
|
@@ -187,17 +187,17 @@ import {
|
|
|
187
187
|
withDefault,
|
|
188
188
|
option,
|
|
189
189
|
String2
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-25q7mg6g.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-c3k32vw4.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
|
-
|
|
196
|
+
make3,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-mxqrv47k.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -1949,56 +1949,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1949
1949
|
LivePresenceSubscriptionUpdate
|
|
1950
1950
|
]);
|
|
1951
1951
|
|
|
1952
|
-
class LiveRpcs extends
|
|
1952
|
+
class LiveRpcs extends make6(make5("Session", {
|
|
1953
1953
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1954
1954
|
error: LiveRpcError
|
|
1955
|
-
}),
|
|
1955
|
+
}), make5("Subscribe", {
|
|
1956
1956
|
payload: LiveSubscribeInput,
|
|
1957
1957
|
success: LiveSubscriptionMessage,
|
|
1958
1958
|
error: LiveRpcError,
|
|
1959
1959
|
stream: true
|
|
1960
|
-
}),
|
|
1960
|
+
}), make5("Replay", {
|
|
1961
1961
|
payload: LiveReplayInput,
|
|
1962
1962
|
success: ArraySchema(LiveEvent),
|
|
1963
1963
|
error: LiveRpcError
|
|
1964
|
-
}),
|
|
1964
|
+
}), make5("Ack", {
|
|
1965
1965
|
payload: LiveAckInput,
|
|
1966
1966
|
success: LiveAckResult,
|
|
1967
1967
|
error: LiveRpcError
|
|
1968
|
-
}),
|
|
1968
|
+
}), make5("SubscribeWeb", {
|
|
1969
1969
|
payload: LiveWebSubscribeInput,
|
|
1970
1970
|
success: LiveWebSubscriptionMessage,
|
|
1971
1971
|
error: LiveRpcError,
|
|
1972
1972
|
stream: true
|
|
1973
|
-
}),
|
|
1973
|
+
}), make5("SubscriptionStatus", {
|
|
1974
1974
|
payload: { subscriptionId: String4 },
|
|
1975
1975
|
success: LiveSubscriptionStatus,
|
|
1976
1976
|
error: LiveRpcError
|
|
1977
|
-
}),
|
|
1977
|
+
}), make5("ReplayWeb", {
|
|
1978
1978
|
payload: LiveWebReplayInput,
|
|
1979
1979
|
success: LiveWebReplayResult,
|
|
1980
1980
|
error: LiveRpcError
|
|
1981
|
-
}),
|
|
1981
|
+
}), make5("AckWeb", {
|
|
1982
1982
|
payload: LiveWebAckInput,
|
|
1983
1983
|
success: LiveWebAckResult,
|
|
1984
1984
|
error: LiveRpcError
|
|
1985
|
-
}),
|
|
1985
|
+
}), make5("PublishPresence", {
|
|
1986
1986
|
payload: LivePresencePublishInput,
|
|
1987
1987
|
success: LivePresenceEntry,
|
|
1988
1988
|
error: LiveRpcError
|
|
1989
|
-
}),
|
|
1989
|
+
}), make5("SubscribePresence", {
|
|
1990
1990
|
payload: LivePresenceSubscribeInput,
|
|
1991
1991
|
success: LivePresenceSubscriptionMessage,
|
|
1992
1992
|
error: LiveRpcError,
|
|
1993
1993
|
stream: true
|
|
1994
|
-
}),
|
|
1994
|
+
}), make5("ClearPresence", {
|
|
1995
1995
|
payload: { scope: optional(LiveScope) },
|
|
1996
1996
|
error: LiveRpcError
|
|
1997
|
-
}),
|
|
1997
|
+
}), make5("RecordSessionUpdate", {
|
|
1998
1998
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1999
1999
|
success: SessionUpdate,
|
|
2000
2000
|
error: LiveRpcError
|
|
2001
|
-
}),
|
|
2001
|
+
}), make5("EndSession", {
|
|
2002
2002
|
payload: { sessionId: String4, input: SessionEnd },
|
|
2003
2003
|
success: Session,
|
|
2004
2004
|
error: LiveRpcError
|
|
@@ -2050,7 +2050,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2050
2050
|
})
|
|
2051
2051
|
});
|
|
2052
2052
|
const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2053
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2053
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2054
2054
|
let abandon = () => {};
|
|
2055
2055
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2056
2056
|
abandon = reject;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-dstm8aen.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"];
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-dstm8aen.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-25q7mg6g.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-y8dzp1t8.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|