@kitman-sh/cli 0.10.87 → 0.10.89
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-rxcy9h90.js → chunk-1hqy9g9w.js} +7 -7
- package/dist/{chunk-tzz4fv17.js → chunk-1mcwey0c.js} +1 -1
- package/dist/{chunk-11pnta38.js → chunk-1whmkfzv.js} +5 -5
- package/dist/{chunk-z7mvdzqm.js → chunk-4b1nj0zw.js} +21 -21
- package/dist/{chunk-9zd52pda.js → chunk-5dwyvg1z.js} +5 -5
- package/dist/{chunk-gaxp5nmx.js → chunk-5dydsgwg.js} +25 -25
- package/dist/{chunk-4s08g8x1.js → chunk-5w8trr75.js} +8 -8
- package/dist/{chunk-w5smxtzc.js → chunk-73fw4pgr.js} +108 -108
- package/dist/{chunk-bk31f16e.js → chunk-99ad4j9s.js} +3 -3
- package/dist/{chunk-62565d52.js → chunk-aj4ev9v2.js} +2 -2
- package/dist/{chunk-jbwk6k6m.js → chunk-caqesagt.js} +70 -28
- package/dist/{chunk-ky974pcr.js → chunk-cw2ghw7n.js} +4 -4
- package/dist/{chunk-myjfc5nh.js → chunk-d8tabep6.js} +5 -5
- package/dist/{chunk-n3prr22y.js → chunk-daycfvkq.js} +19 -19
- package/dist/{chunk-e8zm8z3a.js → chunk-dmwqvnmb.js} +8 -8
- package/dist/{chunk-76ctrqm6.js → chunk-maj4dn1b.js} +1 -1
- package/dist/{chunk-kgdppbdr.js → chunk-p74pmd81.js} +1 -1
- package/dist/{chunk-m0yvvg6r.js → chunk-phcerzkf.js} +5 -5
- package/dist/{chunk-193zkyhj.js → chunk-qqzr8ym6.js} +4 -4
- package/dist/{chunk-fq47a5yd.js → chunk-vne4rsj0.js} +2 -2
- package/dist/{chunk-fhgfsets.js → chunk-vzq3q5zr.js} +7 -7
- package/dist/{chunk-xb70ys3n.js → chunk-w9j2yb0n.js} +17 -17
- package/dist/{chunk-98sg1yyd.js → chunk-ybp1mwv9.js} +14 -60
- package/dist/{chunk-h6v1w0vw.js → chunk-yhh9yeqf.js} +23 -23
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-caqesagt.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-w9j2yb0n.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-73fw4pgr.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-caqesagt.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-p74pmd81.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -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) => {
|
|
@@ -5857,6 +5857,48 @@ 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
|
+
|
|
5860
5902
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5861
5903
|
function resolve(ast) {
|
|
5862
5904
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5880,16 +5922,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5880
5922
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5881
5923
|
|
|
5882
5924
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5883
|
-
var
|
|
5925
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5884
5926
|
function isIssue(u) {
|
|
5885
|
-
return hasProperty(u,
|
|
5927
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5886
5928
|
}
|
|
5887
5929
|
function hasInput(issue) {
|
|
5888
5930
|
return Object.hasOwn(issue, "input");
|
|
5889
5931
|
}
|
|
5890
5932
|
|
|
5891
5933
|
class IssueNodeImpl {
|
|
5892
|
-
[
|
|
5934
|
+
[TypeId9] = TypeId9;
|
|
5893
5935
|
constructor(input, options) {
|
|
5894
5936
|
if (options?.reportInput === true && input !== missing) {
|
|
5895
5937
|
this.input = input;
|
|
@@ -6263,9 +6305,9 @@ function setContent(operation, content) {
|
|
|
6263
6305
|
}
|
|
6264
6306
|
|
|
6265
6307
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6266
|
-
var
|
|
6308
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6267
6309
|
var Transformation = class extends Class3 {
|
|
6268
|
-
[
|
|
6310
|
+
[TypeId10] = TypeId10;
|
|
6269
6311
|
_tag = "Transformation";
|
|
6270
6312
|
decode;
|
|
6271
6313
|
encode;
|
|
@@ -6279,7 +6321,7 @@ var Transformation = class extends Class3 {
|
|
|
6279
6321
|
}
|
|
6280
6322
|
};
|
|
6281
6323
|
function isTransformation(u) {
|
|
6282
|
-
return hasProperty(u,
|
|
6324
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6283
6325
|
}
|
|
6284
6326
|
var makeTransformation = (options) => {
|
|
6285
6327
|
if (isTransformation(options)) {
|
|
@@ -6399,10 +6441,10 @@ var Context = class {
|
|
|
6399
6441
|
this.annotations = annotations;
|
|
6400
6442
|
}
|
|
6401
6443
|
};
|
|
6402
|
-
var
|
|
6444
|
+
var TypeId11 = "~effect/Schema";
|
|
6403
6445
|
|
|
6404
6446
|
class ASTNodeImpl {
|
|
6405
|
-
[
|
|
6447
|
+
[TypeId11] = TypeId11;
|
|
6406
6448
|
annotations;
|
|
6407
6449
|
checks;
|
|
6408
6450
|
encoding;
|
|
@@ -8617,10 +8659,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8617
8659
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8618
8660
|
|
|
8619
8661
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8620
|
-
var
|
|
8662
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8621
8663
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8622
8664
|
var SchemaProto = {
|
|
8623
|
-
[
|
|
8665
|
+
[TypeId12]: TypeId12,
|
|
8624
8666
|
get make() {
|
|
8625
8667
|
const value = make4(this);
|
|
8626
8668
|
Object.defineProperty(this, "make", {
|
|
@@ -8881,7 +8923,7 @@ function recur(ast) {
|
|
|
8881
8923
|
const rest = ast.rest.map(recur);
|
|
8882
8924
|
const [head, ...tail] = rest;
|
|
8883
8925
|
const tailLength = tail.length;
|
|
8884
|
-
return
|
|
8926
|
+
return make13((a, b) => {
|
|
8885
8927
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8886
8928
|
return false;
|
|
8887
8929
|
}
|
|
@@ -8916,7 +8958,7 @@ function recur(ast) {
|
|
|
8916
8958
|
}
|
|
8917
8959
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8918
8960
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8919
|
-
return
|
|
8961
|
+
return make13((a, b) => {
|
|
8920
8962
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8921
8963
|
return false;
|
|
8922
8964
|
}
|
|
@@ -8954,7 +8996,7 @@ function recur(ast) {
|
|
|
8954
8996
|
const types = toType2(ast).types;
|
|
8955
8997
|
const index = getCandidateIndex(types);
|
|
8956
8998
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8957
|
-
return
|
|
8999
|
+
return make13((a, b) => {
|
|
8958
9000
|
const candidates = index(a, false);
|
|
8959
9001
|
for (let i = 0;i < candidates.length; i++) {
|
|
8960
9002
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8967,7 +9009,7 @@ function recur(ast) {
|
|
|
8967
9009
|
}
|
|
8968
9010
|
case "Suspend": {
|
|
8969
9011
|
let equivalence;
|
|
8970
|
-
return
|
|
9012
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8971
9013
|
}
|
|
8972
9014
|
}
|
|
8973
9015
|
}
|
|
@@ -9065,7 +9107,7 @@ function isSchemaError(u) {
|
|
|
9065
9107
|
}
|
|
9066
9108
|
|
|
9067
9109
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9068
|
-
var
|
|
9110
|
+
var TypeId13 = TypeId12;
|
|
9069
9111
|
function declareConstructor() {
|
|
9070
9112
|
return (typeParameters, run, annotations) => {
|
|
9071
9113
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9178,7 +9220,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9178
9220
|
var encodeSync = encodeUnknownSync;
|
|
9179
9221
|
var make17 = make5;
|
|
9180
9222
|
function isSchema(u) {
|
|
9181
|
-
return hasProperty(u,
|
|
9223
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9182
9224
|
}
|
|
9183
9225
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9184
9226
|
schema
|
|
@@ -10009,7 +10051,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10009
10051
|
}
|
|
10010
10052
|
});
|
|
10011
10053
|
}
|
|
10012
|
-
static [
|
|
10054
|
+
static [TypeId13] = TypeId13;
|
|
10013
10055
|
get [ClassTypeId]() {
|
|
10014
10056
|
return ClassTypeId;
|
|
10015
10057
|
}
|
|
@@ -10158,4 +10200,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10158
10200
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10159
10201
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10160
10202
|
|
|
10161
|
-
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,
|
|
10203
|
+
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, 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 };
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-aj4ev9v2.js";
|
|
8
|
+
import"./chunk-p74pmd81.js";
|
|
9
|
+
import"./chunk-1mcwey0c.js";
|
|
10
|
+
import"./chunk-caqesagt.js";
|
|
11
11
|
export {
|
|
12
12
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
13
13
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -23,24 +23,24 @@ import {
|
|
|
23
23
|
fnUntraced,
|
|
24
24
|
encodePrettyJsonString,
|
|
25
25
|
decodeJsonStringSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-caqesagt.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-1mcwey0c.js";
|
|
31
31
|
import {
|
|
32
32
|
FileSystem,
|
|
33
33
|
Path,
|
|
34
34
|
optionalEnv
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-w9j2yb0n.js";
|
|
36
36
|
import {
|
|
37
37
|
AgentHarnessIds,
|
|
38
38
|
sha2562,
|
|
39
39
|
runCommand2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-73fw4pgr.js";
|
|
41
41
|
import {
|
|
42
42
|
NpmRegistry
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-99ad4j9s.js";
|
|
44
44
|
|
|
45
45
|
// packages/agent-runtime/src/config-convergence.ts
|
|
46
46
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -32,17 +32,9 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-xb70ys3n.js";
|
|
35
|
+
} from "./chunk-caqesagt.js";
|
|
36
|
+
import"./chunk-p74pmd81.js";
|
|
37
|
+
import"./chunk-1mcwey0c.js";
|
|
46
38
|
import {
|
|
47
39
|
SecureRandom,
|
|
48
40
|
layerWebCrypto,
|
|
@@ -54,23 +46,31 @@ import {
|
|
|
54
46
|
layer4,
|
|
55
47
|
kitmanMcpServer,
|
|
56
48
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-73fw4pgr.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-w9j2yb0n.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
61
|
+
} from "./chunk-99ad4j9s.js";
|
|
62
|
+
import"./chunk-vzq3q5zr.js";
|
|
63
63
|
import {
|
|
64
64
|
AgentDeclaration,
|
|
65
65
|
KitDeclarations,
|
|
66
66
|
describeFlag,
|
|
67
67
|
Described
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-phcerzkf.js";
|
|
69
69
|
import {
|
|
70
70
|
ChildProcessSpawner,
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
71
|
+
make2
|
|
72
|
+
} from "./chunk-ybp1mwv9.js";
|
|
73
|
+
import"./chunk-1whmkfzv.js";
|
|
74
74
|
|
|
75
75
|
// packages/sdk/src/build/index.ts
|
|
76
76
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
109
109
|
}));
|
|
110
110
|
var run = (command, args, cwd) => gen(function* () {
|
|
111
111
|
const spawner = yield* ChildProcessSpawner;
|
|
112
|
-
const handle = yield* spawner.spawn(
|
|
112
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
113
113
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
114
114
|
mkString(decodeText(handle.stdout)),
|
|
115
115
|
mkString(decodeText(handle.stderr)),
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-caqesagt.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-1mcwey0c.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make10,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-w9j2yb0n.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make2
|
|
39
|
+
} from "./chunk-ybp1mwv9.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
173
|
-
stdin:
|
|
172
|
+
const handle = yield* spawner.spawn(make2(command, args, {
|
|
173
|
+
stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-caqesagt.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"];
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-caqesagt.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-p74pmd81.js";
|
|
82
82
|
import {
|
|
83
83
|
currentTimeMillis,
|
|
84
84
|
WebCrypto,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
KitDigest,
|
|
106
106
|
KitSetup,
|
|
107
107
|
RunnerRpcError
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-73fw4pgr.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-w9j2yb0n.js";
|
|
113
113
|
|
|
114
114
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
|
|
115
115
|
var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
|
|
@@ -635,7 +635,7 @@ var ChangeRequestRequest = Struct({
|
|
|
635
635
|
integration: optional(String4)
|
|
636
636
|
});
|
|
637
637
|
var ChangeRequestResult = Struct({ id: String4, number: String4, url: String4 });
|
|
638
|
-
var WriteBackMilestones = ["started", "change_request_opened", "merged", "failed"];
|
|
638
|
+
var WriteBackMilestones = ["started", "change_request_opened", "merged", "failed", "blocked"];
|
|
639
639
|
var WriteBackRequest = Struct({
|
|
640
640
|
milestone: optional(Literals(WriteBackMilestones)),
|
|
641
641
|
changeRequestUrl: optional(String4)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-ybp1mwv9.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-73fw4pgr.js";
|
|
16
|
+
import"./chunk-w9j2yb0n.js";
|
|
17
|
+
import"./chunk-caqesagt.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-w9j2yb0n.js";
|
|
18
|
+
import"./chunk-caqesagt.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-caqesagt.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-w9j2yb0n.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-73fw4pgr.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-1whmkfzv.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|