@kitman-sh/cli 0.14.1 → 0.14.2
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-5jqqhvv2.js → chunk-0r9tp5pz.js} +4 -4
- package/dist/{chunk-wttgq85b.js → chunk-1jabs81x.js} +70 -28
- package/dist/{chunk-0axm9scx.js → chunk-24j1cmsm.js} +23 -23
- package/dist/{chunk-pyss20q2.js → chunk-39pdxhcv.js} +3 -3
- package/dist/{chunk-jnpv483d.js → chunk-3csj1ve1.js} +4 -4
- package/dist/{chunk-fch7pjzh.js → chunk-4xez238w.js} +2 -2
- package/dist/{chunk-27k0egfz.js → chunk-80vwvv5x.js} +39 -39
- package/dist/{chunk-rbbh4f56.js → chunk-avhqm9p0.js} +17 -17
- package/dist/{chunk-cwdrhsvk.js → chunk-e024f8af.js} +2 -2
- package/dist/{chunk-77jk3v8v.js → chunk-ffq8vvvx.js} +7 -7
- package/dist/{chunk-nvncrs4n.js → chunk-ge9qjp6s.js} +4 -4
- package/dist/{chunk-kwkh8hxt.js → chunk-gwz39037.js} +1 -1
- package/dist/{chunk-c80dvhxf.js → chunk-h6kd80nr.js} +1 -1
- package/dist/{chunk-a9srrnsk.js → chunk-hza25m2e.js} +23 -23
- package/dist/{chunk-jp7cjnng.js → chunk-jzfy127y.js} +4 -4
- package/dist/{chunk-enabwyrn.js → chunk-m9x7feh0.js} +7 -7
- package/dist/{chunk-5x44qb6d.js → chunk-q4ch3t9q.js} +6 -6
- package/dist/{chunk-4qpmjrd2.js → chunk-qqmxhk9w.js} +14 -60
- package/dist/{chunk-f1y7ysjg.js → chunk-ryxff0xk.js} +108 -108
- package/dist/{chunk-vt8aqeby.js → chunk-scdr623z.js} +1 -1
- package/dist/{chunk-gvs5fcvy.js → chunk-t9chwen8.js} +2 -2
- package/dist/{chunk-vx4qe0fe.js → chunk-v86jpzpr.js} +7 -7
- package/dist/{chunk-93xj74qp.js → chunk-vfw3xn1e.js} +3 -3
- package/dist/{chunk-zr59g5bk.js → chunk-yfag1eey.js} +5 -5
- package/dist/{chunk-zw2mzy00.js → chunk-z7c2ndfg.js} +11 -11
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-1jabs81x.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-avhqm9p0.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ryxff0xk.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-39pdxhcv.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -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++) {
|
|
@@ -1580,7 +1580,7 @@ var ServiceProto = {
|
|
|
1580
1580
|
return self;
|
|
1581
1581
|
},
|
|
1582
1582
|
context(self) {
|
|
1583
|
-
return
|
|
1583
|
+
return make14(this, self);
|
|
1584
1584
|
},
|
|
1585
1585
|
use(f) {
|
|
1586
1586
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1684,7 +1684,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1684
1684
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1685
1685
|
var empty3 = () => emptyContext2;
|
|
1686
1686
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1687
|
-
var
|
|
1687
|
+
var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1688
1688
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1689
1689
|
var addUnsafe = (self, key, service) => {
|
|
1690
1690
|
const impl = self;
|
|
@@ -3030,7 +3030,7 @@ class FiberImpl {
|
|
|
3030
3030
|
}
|
|
3031
3031
|
let cause = causeInterrupt(fiberId);
|
|
3032
3032
|
if (this.cache.stackFrame) {
|
|
3033
|
-
cause = causeAnnotate(cause,
|
|
3033
|
+
cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
|
|
3034
3034
|
}
|
|
3035
3035
|
if (annotations) {
|
|
3036
3036
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5127,7 +5127,7 @@ var DeferredImpl = function() {
|
|
|
5127
5127
|
};
|
|
5128
5128
|
DeferredImpl.prototype = DeferredProto;
|
|
5129
5129
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5130
|
-
var
|
|
5130
|
+
var make15 = () => sync(() => makeUnsafe5());
|
|
5131
5131
|
var _await = (self) => callback2((resume) => {
|
|
5132
5132
|
if (self.effect)
|
|
5133
5133
|
return resume(self.effect);
|
|
@@ -5275,9 +5275,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5275
5275
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5276
5276
|
var succeed5 = function() {
|
|
5277
5277
|
if (arguments.length === 1) {
|
|
5278
|
-
return (resource) => succeedContext(
|
|
5278
|
+
return (resource) => succeedContext(make14(arguments[0], resource));
|
|
5279
5279
|
}
|
|
5280
|
-
return succeedContext(
|
|
5280
|
+
return succeedContext(make14(arguments[0], arguments[1]));
|
|
5281
5281
|
};
|
|
5282
5282
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5283
5283
|
var effect = function() {
|
|
@@ -5286,7 +5286,7 @@ var effect = function() {
|
|
|
5286
5286
|
}
|
|
5287
5287
|
return effectImpl(arguments[0], arguments[1]);
|
|
5288
5288
|
};
|
|
5289
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5289
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
|
|
5290
5290
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5291
5291
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5292
5292
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -5866,6 +5866,48 @@ var getCode = (charCode) => {
|
|
|
5866
5866
|
return codes[charCode];
|
|
5867
5867
|
};
|
|
5868
5868
|
|
|
5869
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5870
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5871
|
+
var value2 = (self) => {
|
|
5872
|
+
if (redactedRegistry.has(self)) {
|
|
5873
|
+
return redactedRegistry.get(self);
|
|
5874
|
+
} else {
|
|
5875
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5876
|
+
}
|
|
5877
|
+
};
|
|
5878
|
+
|
|
5879
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5880
|
+
var TypeId8 = "~effect/Redacted";
|
|
5881
|
+
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5882
|
+
var make16 = (value, options) => {
|
|
5883
|
+
const self = Object.create(Proto2);
|
|
5884
|
+
if (options?.label) {
|
|
5885
|
+
self.label = options.label;
|
|
5886
|
+
}
|
|
5887
|
+
redactedRegistry.set(self, value);
|
|
5888
|
+
return self;
|
|
5889
|
+
};
|
|
5890
|
+
var Proto2 = {
|
|
5891
|
+
[TypeId8]: {
|
|
5892
|
+
_A: (_) => _
|
|
5893
|
+
},
|
|
5894
|
+
label: undefined,
|
|
5895
|
+
...PipeInspectableProto,
|
|
5896
|
+
toJSON() {
|
|
5897
|
+
return this.toString();
|
|
5898
|
+
},
|
|
5899
|
+
toString() {
|
|
5900
|
+
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
5901
|
+
},
|
|
5902
|
+
[symbol]() {
|
|
5903
|
+
return hash(redactedRegistry.get(this));
|
|
5904
|
+
},
|
|
5905
|
+
[symbol2](that) {
|
|
5906
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5907
|
+
}
|
|
5908
|
+
};
|
|
5909
|
+
var value = value2;
|
|
5910
|
+
|
|
5869
5911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5870
5912
|
function resolve(ast) {
|
|
5871
5913
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5889,16 +5931,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5889
5931
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5890
5932
|
|
|
5891
5933
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5892
|
-
var
|
|
5934
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5893
5935
|
function isIssue(u) {
|
|
5894
|
-
return hasProperty(u,
|
|
5936
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5895
5937
|
}
|
|
5896
5938
|
function hasInput(issue) {
|
|
5897
5939
|
return Object.hasOwn(issue, "input");
|
|
5898
5940
|
}
|
|
5899
5941
|
|
|
5900
5942
|
class IssueNodeImpl {
|
|
5901
|
-
[
|
|
5943
|
+
[TypeId9] = TypeId9;
|
|
5902
5944
|
constructor(input, options) {
|
|
5903
5945
|
if (options?.reportInput === true && input !== missing) {
|
|
5904
5946
|
this.input = input;
|
|
@@ -6272,9 +6314,9 @@ function setContent(operation, content) {
|
|
|
6272
6314
|
}
|
|
6273
6315
|
|
|
6274
6316
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6275
|
-
var
|
|
6317
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6276
6318
|
var Transformation = class extends Class3 {
|
|
6277
|
-
[
|
|
6319
|
+
[TypeId10] = TypeId10;
|
|
6278
6320
|
_tag = "Transformation";
|
|
6279
6321
|
decode;
|
|
6280
6322
|
encode;
|
|
@@ -6288,7 +6330,7 @@ var Transformation = class extends Class3 {
|
|
|
6288
6330
|
}
|
|
6289
6331
|
};
|
|
6290
6332
|
function isTransformation(u) {
|
|
6291
|
-
return hasProperty(u,
|
|
6333
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6292
6334
|
}
|
|
6293
6335
|
var makeTransformation = (options) => {
|
|
6294
6336
|
if (isTransformation(options)) {
|
|
@@ -6408,10 +6450,10 @@ var Context = class {
|
|
|
6408
6450
|
this.annotations = annotations;
|
|
6409
6451
|
}
|
|
6410
6452
|
};
|
|
6411
|
-
var
|
|
6453
|
+
var TypeId11 = "~effect/Schema";
|
|
6412
6454
|
|
|
6413
6455
|
class ASTNodeImpl {
|
|
6414
|
-
[
|
|
6456
|
+
[TypeId11] = TypeId11;
|
|
6415
6457
|
annotations;
|
|
6416
6458
|
checks;
|
|
6417
6459
|
encoding;
|
|
@@ -8626,10 +8668,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8626
8668
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8627
8669
|
|
|
8628
8670
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8629
|
-
var
|
|
8671
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8630
8672
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8631
8673
|
var SchemaProto = {
|
|
8632
|
-
[
|
|
8674
|
+
[TypeId12]: TypeId12,
|
|
8633
8675
|
get make() {
|
|
8634
8676
|
const value = make4(this);
|
|
8635
8677
|
Object.defineProperty(this, "make", {
|
|
@@ -8890,7 +8932,7 @@ function recur(ast) {
|
|
|
8890
8932
|
const rest = ast.rest.map(recur);
|
|
8891
8933
|
const [head, ...tail] = rest;
|
|
8892
8934
|
const tailLength = tail.length;
|
|
8893
|
-
return
|
|
8935
|
+
return make13((a, b) => {
|
|
8894
8936
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8895
8937
|
return false;
|
|
8896
8938
|
}
|
|
@@ -8925,7 +8967,7 @@ function recur(ast) {
|
|
|
8925
8967
|
}
|
|
8926
8968
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8927
8969
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8928
|
-
return
|
|
8970
|
+
return make13((a, b) => {
|
|
8929
8971
|
if (!isObject(a) || !isObject(b)) {
|
|
8930
8972
|
return false;
|
|
8931
8973
|
}
|
|
@@ -8963,7 +9005,7 @@ function recur(ast) {
|
|
|
8963
9005
|
const types = toType2(ast).types;
|
|
8964
9006
|
const index = getCandidateIndex(types);
|
|
8965
9007
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8966
|
-
return
|
|
9008
|
+
return make13((a, b) => {
|
|
8967
9009
|
const candidates = index(a, false);
|
|
8968
9010
|
for (let i = 0;i < candidates.length; i++) {
|
|
8969
9011
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8976,7 +9018,7 @@ function recur(ast) {
|
|
|
8976
9018
|
}
|
|
8977
9019
|
case "Suspend": {
|
|
8978
9020
|
let equivalence;
|
|
8979
|
-
return
|
|
9021
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8980
9022
|
}
|
|
8981
9023
|
}
|
|
8982
9024
|
}
|
|
@@ -9074,7 +9116,7 @@ function isSchemaError(u) {
|
|
|
9074
9116
|
}
|
|
9075
9117
|
|
|
9076
9118
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9077
|
-
var
|
|
9119
|
+
var TypeId13 = TypeId12;
|
|
9078
9120
|
function declareConstructor() {
|
|
9079
9121
|
return (typeParameters, run, annotations) => {
|
|
9080
9122
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9187,7 +9229,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9187
9229
|
var encodeSync = encodeUnknownSync;
|
|
9188
9230
|
var make17 = make5;
|
|
9189
9231
|
function isSchema(u) {
|
|
9190
|
-
return hasProperty(u,
|
|
9232
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9191
9233
|
}
|
|
9192
9234
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9193
9235
|
schema
|
|
@@ -10075,7 +10117,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10075
10117
|
}
|
|
10076
10118
|
});
|
|
10077
10119
|
}
|
|
10078
|
-
static [
|
|
10120
|
+
static [TypeId13] = TypeId13;
|
|
10079
10121
|
get [ClassTypeId]() {
|
|
10080
10122
|
return ClassTypeId;
|
|
10081
10123
|
}
|
|
@@ -10354,4 +10396,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
10354
10396
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
10355
10397
|
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;
|
|
10356
10398
|
|
|
10357
|
-
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,
|
|
10399
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, 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, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, 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 };
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
isFailure2,
|
|
42
42
|
hasInterrupts,
|
|
43
43
|
makeUnsafe5,
|
|
44
|
-
|
|
44
|
+
make15,
|
|
45
45
|
_await,
|
|
46
46
|
fail5,
|
|
47
47
|
isDoneUnsafe,
|
|
@@ -168,12 +168,12 @@ import {
|
|
|
168
168
|
decodeJsonStringSync,
|
|
169
169
|
encodeUnknownJsonStringSync,
|
|
170
170
|
storable
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-1jabs81x.js";
|
|
172
172
|
import {
|
|
173
173
|
Id,
|
|
174
174
|
secretReference,
|
|
175
175
|
secretPlaceholder
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-h6kd80nr.js";
|
|
177
177
|
import {
|
|
178
178
|
currentTimeMillis,
|
|
179
179
|
SecureRandom,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
checkServicesFile,
|
|
255
255
|
checkServices,
|
|
256
256
|
serviceChecks
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-ryxff0xk.js";
|
|
258
258
|
import {
|
|
259
259
|
join,
|
|
260
260
|
interrupt,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
unbounded2,
|
|
264
264
|
offer,
|
|
265
265
|
makeUnsafe3,
|
|
266
|
-
|
|
266
|
+
make10,
|
|
267
267
|
fromQueue,
|
|
268
268
|
fromPubSub,
|
|
269
269
|
map2,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
writeSrtSettings2,
|
|
299
299
|
srtStepArgv2,
|
|
300
300
|
srtArgv2
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-avhqm9p0.js";
|
|
302
302
|
import {
|
|
303
303
|
writeAgentEnvironmentConfigFile2,
|
|
304
304
|
readManifestSkillPaths2,
|
|
@@ -314,8 +314,8 @@ import {
|
|
|
314
314
|
applyAgentEnvironmentMaterialization2,
|
|
315
315
|
isPathWithin2,
|
|
316
316
|
skillIdentity2
|
|
317
|
-
} from "./chunk-
|
|
318
|
-
import"./chunk-
|
|
317
|
+
} from "./chunk-0r9tp5pz.js";
|
|
318
|
+
import"./chunk-39pdxhcv.js";
|
|
319
319
|
import {
|
|
320
320
|
egressAllowed,
|
|
321
321
|
writeSecretRegistry,
|
|
@@ -325,7 +325,7 @@ import {
|
|
|
325
325
|
secretFilter2,
|
|
326
326
|
opaqueTunnelRefusal2,
|
|
327
327
|
isOpaqueConnectReason2
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-e024f8af.js";
|
|
329
329
|
import {
|
|
330
330
|
sliceBytes2,
|
|
331
331
|
maxLineBytes2,
|
|
@@ -333,23 +333,23 @@ import {
|
|
|
333
333
|
decodedOption2,
|
|
334
334
|
decoded2,
|
|
335
335
|
readOpencode2
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-ffq8vvvx.js";
|
|
337
337
|
import {
|
|
338
338
|
uploadRunFile,
|
|
339
339
|
programLease,
|
|
340
340
|
rpcRunFiles,
|
|
341
341
|
programHostsEnv,
|
|
342
342
|
undeclaredHostsEnv
|
|
343
|
-
} from "./chunk-
|
|
344
|
-
import"./chunk-
|
|
343
|
+
} from "./chunk-ge9qjp6s.js";
|
|
344
|
+
import"./chunk-v86jpzpr.js";
|
|
345
345
|
import {
|
|
346
346
|
nextInt
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-scdr623z.js";
|
|
348
348
|
import {
|
|
349
349
|
ChildProcessSpawner,
|
|
350
|
-
|
|
351
|
-
} from "./chunk-
|
|
352
|
-
import"./chunk-
|
|
350
|
+
make2
|
|
351
|
+
} from "./chunk-qqmxhk9w.js";
|
|
352
|
+
import"./chunk-yfag1eey.js";
|
|
353
353
|
|
|
354
354
|
// packages/core/src/sync-kit.ts
|
|
355
355
|
import { createHash } from "crypto";
|
|
@@ -6904,7 +6904,7 @@ var dockerCheckPostgres = (runnerId, replicaId) => (id) => gen(function* () {
|
|
|
6904
6904
|
"fsync=off",
|
|
6905
6905
|
"-c",
|
|
6906
6906
|
"full_page_writes=off"
|
|
6907
|
-
], "30 minutes"), () => ignore(docker(["rm", "--force", "--volumes", container])));
|
|
6907
|
+
], "30 minutes"), () => ignore(docker(["rm", "--force", "--volumes", container], "1 minute").pipe(retry({ schedule: spaced("1 second"), times: 2 }))));
|
|
6908
6908
|
const hostPort = publishedPort(yield* docker(["port", container, `${checkPostgresSandboxPort}/tcp`]));
|
|
6909
6909
|
if (hostPort === undefined)
|
|
6910
6910
|
return yield* new CheckPostgresUnavailable({ reason: "docker published no port" });
|
|
@@ -7152,7 +7152,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
7152
7152
|
const input = yield* unbounded2();
|
|
7153
7153
|
const pending = new Map;
|
|
7154
7154
|
let lastId = 0;
|
|
7155
|
-
const handle = yield* spawner.spawn(
|
|
7155
|
+
const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
|
|
7156
7156
|
cwd: env.home,
|
|
7157
7157
|
extendEnv: true,
|
|
7158
7158
|
env: { HOME: env.home, CODEX_HOME: env.codexHome },
|
|
@@ -7175,7 +7175,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
7175
7175
|
return {
|
|
7176
7176
|
request: (method, params) => gen(function* () {
|
|
7177
7177
|
const id = ++lastId;
|
|
7178
|
-
const deferred = yield*
|
|
7178
|
+
const deferred = yield* make15();
|
|
7179
7179
|
pending.set(id, deferred);
|
|
7180
7180
|
yield* send({ id, method, params });
|
|
7181
7181
|
return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
|
|
@@ -7315,10 +7315,10 @@ var handshake = [
|
|
|
7315
7315
|
`).join("");
|
|
7316
7316
|
var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
7317
7317
|
const spawner = yield* ChildProcessSpawner;
|
|
7318
|
-
const server = yield* spawner.spawn(
|
|
7318
|
+
const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
|
|
7319
7319
|
extendEnv: true,
|
|
7320
7320
|
env: mcp.env,
|
|
7321
|
-
stdin: { stream:
|
|
7321
|
+
stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
7322
7322
|
stderr: "ignore"
|
|
7323
7323
|
}));
|
|
7324
7324
|
const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
|
|
@@ -7391,8 +7391,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
7391
7391
|
};
|
|
7392
7392
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
7393
7393
|
const spawner = yield* ChildProcessSpawner;
|
|
7394
|
-
const handle = yield* spawner.spawn(
|
|
7395
|
-
stdin:
|
|
7394
|
+
const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
|
|
7395
|
+
stdin: make10(new TextEncoder().encode(stdin)),
|
|
7396
7396
|
stdout: "inherit",
|
|
7397
7397
|
stderr: "inherit",
|
|
7398
7398
|
extendEnv: false,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-1jabs81x.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-avhqm9p0.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ryxff0xk.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-qqmxhk9w.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-ryxff0xk.js";
|
|
16
|
+
import"./chunk-avhqm9p0.js";
|
|
17
|
+
import"./chunk-1jabs81x.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-avhqm9p0.js";
|
|
18
|
+
import"./chunk-1jabs81x.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|