@kitman-sh/cli 0.49.0 → 0.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{chunk-4vxbxjf8.js → chunk-5tgpa02q.js} +1 -1
  2. package/dist/{chunk-6ne389p2.js → chunk-72ht3484.js} +10 -10
  3. package/dist/{chunk-6btp5qcy.js → chunk-7y1w0dhd.js} +13 -11
  4. package/dist/{chunk-zr1kvjzj.js → chunk-8r9k7pqk.js} +9 -3
  5. package/dist/{chunk-ceh3fcex.js → chunk-9jz94mb7.js} +1 -1
  6. package/dist/{chunk-5t7qvmkj.js → chunk-9vdy85kg.js} +21 -21
  7. package/dist/{chunk-kaqwjb64.js → chunk-ag79vvjy.js} +4 -4
  8. package/dist/{chunk-04wqa07j.js → chunk-apv9h5tz.js} +1 -1
  9. package/dist/{chunk-wr2yqtwt.js → chunk-bk28dr40.js} +20 -20
  10. package/dist/{chunk-vtzn8zqj.js → chunk-brbym443.js} +2 -2
  11. package/dist/{chunk-cv7xg2ps.js → chunk-ecweehc6.js} +103 -81
  12. package/dist/{chunk-59hspz5e.js → chunk-g3c1vesf.js} +1 -1
  13. package/dist/{chunk-nsw1wykj.js → chunk-h3wes7wf.js} +10 -10
  14. package/dist/{chunk-xajmb07d.js → chunk-hyaq30ne.js} +21 -170
  15. package/dist/{chunk-9ykh05hz.js → chunk-k1fdsn2c.js} +1 -1
  16. package/dist/{chunk-dh7ewhqd.js → chunk-k5cqc0cs.js} +6 -4
  17. package/dist/{chunk-e2dszepq.js → chunk-mtrhqr16.js} +3 -3
  18. package/dist/{chunk-n3jpxd14.js → chunk-n00cpb86.js} +2 -2
  19. package/dist/{chunk-k462v2v7.js → chunk-n381rqax.js} +157 -13
  20. package/dist/{chunk-0n9f624b.js → chunk-q8m2ygyt.js} +4 -4
  21. package/dist/{chunk-5pjbxhxy.js → chunk-qfwhsqej.js} +3 -3
  22. package/dist/{chunk-8qvgey5g.js → chunk-rr0rem5d.js} +6 -6
  23. package/dist/{chunk-c3m48dge.js → chunk-s6z4sdkw.js} +4 -4
  24. package/dist/{chunk-qvvph24z.js → chunk-s8ws5fqj.js} +18 -11
  25. package/dist/{chunk-0hb5d4rz.js → chunk-v96hm634.js} +9 -9
  26. package/dist/{chunk-cps0774f.js → chunk-watq46xe.js} +19 -11
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -96,9 +96,8 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-k462v2v7.js";
99
+ } from "./chunk-n381rqax.js";
100
100
  import {
101
- Clock,
102
101
  interrupt,
103
102
  getCurrent,
104
103
  makeUnsafe2,
@@ -109,7 +108,7 @@ import {
109
108
  shutdownUnsafe,
110
109
  fromQueue,
111
110
  unwrap
112
- } from "./chunk-xajmb07d.js";
111
+ } from "./chunk-hyaq30ne.js";
113
112
  import {
114
113
  empty,
115
114
  fromInput,
@@ -123,7 +122,10 @@ import {
123
122
  ParseOptions,
124
123
  RpcClientDefect,
125
124
  RpcClientError
126
- } from "./chunk-qvvph24z.js";
125
+ } from "./chunk-s8ws5fqj.js";
126
+ import {
127
+ Clock
128
+ } from "./chunk-8r9k7pqk.js";
127
129
 
128
130
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
131
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-k462v2v7.js";
27
+ } from "./chunk-n381rqax.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-xajmb07d.js";
31
+ } from "./chunk-hyaq30ne.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-qvvph24z.js";
42
+ } from "./chunk-s8ws5fqj.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -13,11 +13,11 @@ import {
13
13
  ArraySchema,
14
14
  decodeJsonStringOption,
15
15
  encodeUnknownJsonStringSync
16
- } from "./chunk-k462v2v7.js";
16
+ } from "./chunk-n381rqax.js";
17
17
  import {
18
18
  replaceSecretReferences,
19
19
  secretReferencesIn
20
- } from "./chunk-4vxbxjf8.js";
20
+ } from "./chunk-5tgpa02q.js";
21
21
 
22
22
  // packages/agent-runtime/src/srt-step.ts
23
23
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -5832,6 +5832,150 @@ var flatMapEager = flatMapEager2;
5832
5832
  var catchEager = catchEager2;
5833
5833
  var fnUntracedEager2 = fnUntracedEager;
5834
5834
 
5835
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
5836
+ var BigInt2 = globalThis.BigInt;
5837
+ var toNumber = (b) => {
5838
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
5839
+ return none();
5840
+ }
5841
+ return some(Number(b));
5842
+ };
5843
+
5844
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
5845
+ var bigint03 = /* @__PURE__ */ BigInt(0);
5846
+ var bigint12 = /* @__PURE__ */ BigInt(1);
5847
+ var decimalBase = /* @__PURE__ */ BigInt(1000);
5848
+ var binaryBase = /* @__PURE__ */ BigInt(1024);
5849
+ var decimalUnits = [{
5850
+ symbol: "B",
5851
+ factor: bigint12,
5852
+ names: ["B", "byte", "bytes"]
5853
+ }, {
5854
+ symbol: "kB",
5855
+ factor: decimalBase,
5856
+ names: ["kB", "kilobyte", "kilobytes"]
5857
+ }, {
5858
+ symbol: "MB",
5859
+ factor: decimalBase ** /* @__PURE__ */ BigInt(2),
5860
+ names: ["MB", "megabyte", "megabytes"]
5861
+ }, {
5862
+ symbol: "GB",
5863
+ factor: decimalBase ** /* @__PURE__ */ BigInt(3),
5864
+ names: ["GB", "gigabyte", "gigabytes"]
5865
+ }, {
5866
+ symbol: "TB",
5867
+ factor: decimalBase ** /* @__PURE__ */ BigInt(4),
5868
+ names: ["TB", "terabyte", "terabytes"]
5869
+ }, {
5870
+ symbol: "PB",
5871
+ factor: decimalBase ** /* @__PURE__ */ BigInt(5),
5872
+ names: ["PB", "petabyte", "petabytes"]
5873
+ }, {
5874
+ symbol: "EB",
5875
+ factor: decimalBase ** /* @__PURE__ */ BigInt(6),
5876
+ names: ["EB", "exabyte", "exabytes"]
5877
+ }, {
5878
+ symbol: "ZB",
5879
+ factor: decimalBase ** /* @__PURE__ */ BigInt(7),
5880
+ names: ["ZB", "zettabyte", "zettabytes"]
5881
+ }, {
5882
+ symbol: "YB",
5883
+ factor: decimalBase ** /* @__PURE__ */ BigInt(8),
5884
+ names: ["YB", "yottabyte", "yottabytes"]
5885
+ }, {
5886
+ symbol: "RB",
5887
+ factor: decimalBase ** /* @__PURE__ */ BigInt(9),
5888
+ names: ["RB", "ronnabyte", "ronnabytes"]
5889
+ }, {
5890
+ symbol: "QB",
5891
+ factor: decimalBase ** /* @__PURE__ */ BigInt(10),
5892
+ names: ["QB", "quettabyte", "quettabytes"]
5893
+ }];
5894
+ var binaryUnits = [decimalUnits[0], {
5895
+ symbol: "KiB",
5896
+ factor: binaryBase,
5897
+ names: ["KiB", "kibibyte", "kibibytes"]
5898
+ }, {
5899
+ symbol: "MiB",
5900
+ factor: binaryBase ** /* @__PURE__ */ BigInt(2),
5901
+ names: ["MiB", "mebibyte", "mebibytes"]
5902
+ }, {
5903
+ symbol: "GiB",
5904
+ factor: binaryBase ** /* @__PURE__ */ BigInt(3),
5905
+ names: ["GiB", "gibibyte", "gibibytes"]
5906
+ }, {
5907
+ symbol: "TiB",
5908
+ factor: binaryBase ** /* @__PURE__ */ BigInt(4),
5909
+ names: ["TiB", "tebibyte", "tebibytes"]
5910
+ }, {
5911
+ symbol: "PiB",
5912
+ factor: binaryBase ** /* @__PURE__ */ BigInt(5),
5913
+ names: ["PiB", "pebibyte", "pebibytes"]
5914
+ }, {
5915
+ symbol: "EiB",
5916
+ factor: binaryBase ** /* @__PURE__ */ BigInt(6),
5917
+ names: ["EiB", "exbibyte", "exbibytes"]
5918
+ }, {
5919
+ symbol: "ZiB",
5920
+ factor: binaryBase ** /* @__PURE__ */ BigInt(7),
5921
+ names: ["ZiB", "zebibyte", "zebibytes"]
5922
+ }, {
5923
+ symbol: "YiB",
5924
+ factor: binaryBase ** /* @__PURE__ */ BigInt(8),
5925
+ names: ["YiB", "yobibyte", "yobibytes"]
5926
+ }];
5927
+ var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
5928
+ var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
5929
+ var make4 = (value) => value;
5930
+ var invalid2 = (message) => {
5931
+ throw new Error(`Invalid ByteSize: ${message}`);
5932
+ };
5933
+ var fromNumber = (input) => {
5934
+ if (!Number.isSafeInteger(input) || input < 0) {
5935
+ return invalid2(`expected a non-negative safe integer, received ${input}`);
5936
+ }
5937
+ return make4(BigInt(input));
5938
+ };
5939
+ var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
5940
+ var scaleDecimal = (quantity, factor) => {
5941
+ const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
5942
+ if (match === null)
5943
+ return;
5944
+ const fraction = match[2] ?? "";
5945
+ const numerator = BigInt(match[1] + fraction) * factor;
5946
+ const shift = Number(match[3] ?? 0) - fraction.length;
5947
+ if (shift >= 0)
5948
+ return numerator * BigInt(10) ** BigInt(shift);
5949
+ const scale = BigInt(10) ** BigInt(-shift);
5950
+ return numerator % scale === bigint03 ? numerator / scale : undefined;
5951
+ };
5952
+ var fromStringUnsafe = (input) => {
5953
+ const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
5954
+ if (match === null)
5955
+ return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
5956
+ const unit = unitsByName.get(match[2]);
5957
+ if (unit === undefined)
5958
+ return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
5959
+ const value = scaleDecimal(match[1], unit.factor);
5960
+ if (value === undefined)
5961
+ return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
5962
+ return make4(value);
5963
+ };
5964
+ var fromInputUnsafe2 = (input) => {
5965
+ switch (typeof input) {
5966
+ case "bigint":
5967
+ if (input < bigint03)
5968
+ return invalid2(`expected a non-negative bigint, received ${input}`);
5969
+ return make4(input);
5970
+ case "number":
5971
+ return fromNumber(input);
5972
+ case "string":
5973
+ return fromStringUnsafe(input);
5974
+ }
5975
+ return invalid2(`unsupported input ${input}`);
5976
+ };
5977
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
5978
+
5835
5979
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
5836
5980
  var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
5837
5981
  var decode = (str) => {
@@ -8532,7 +8676,7 @@ function compile(ast, compile, compileField, base, specialize) {
8532
8676
  }
8533
8677
 
8534
8678
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
8535
- var invalid2 = /* @__PURE__ */ Symbol();
8679
+ var invalid3 = /* @__PURE__ */ Symbol();
8536
8680
  var cache = /* @__PURE__ */ new WeakMap;
8537
8681
  var compiler;
8538
8682
  var compilerAdaptersEnabled = false;
@@ -8607,7 +8751,7 @@ function withDecode(fastDecode, decodeEffect) {
8607
8751
  if (input !== missing) {
8608
8752
  try {
8609
8753
  const value = fastDecode(input, options);
8610
- if (value !== invalid2)
8754
+ if (value !== invalid3)
8611
8755
  return value === input ? sameExit : succeed8(value);
8612
8756
  } catch (error) {
8613
8757
  return die3(error);
@@ -8657,7 +8801,7 @@ function makeOption(schema) {
8657
8801
  return none();
8658
8802
  };
8659
8803
  }
8660
- function make4(schema) {
8804
+ function make5(schema) {
8661
8805
  return makeConstructorSync(toType2(schema.ast));
8662
8806
  }
8663
8807
  function is2(schema) {
@@ -8804,7 +8948,7 @@ function constructSync(entry, input, options) {
8804
8948
  } catch (error) {
8805
8949
  throwConstructorDefect(error);
8806
8950
  }
8807
- if (output !== invalid2 && output !== missing)
8951
+ if (output !== invalid3 && output !== missing)
8808
8952
  return output;
8809
8953
  }
8810
8954
  return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
@@ -8833,7 +8977,7 @@ var RebuildOptions = /* @__PURE__ */ Symbol();
8833
8977
  var SchemaProto = {
8834
8978
  [TypeId12]: TypeId12,
8835
8979
  get make() {
8836
- const value = make4(this);
8980
+ const value = make5(this);
8837
8981
  Object.defineProperty(this, "make", {
8838
8982
  value,
8839
8983
  enumerable: true
@@ -8869,10 +9013,10 @@ var SchemaProto = {
8869
9013
  return this.rebuild(appendChecks(this.ast, checks));
8870
9014
  },
8871
9015
  rebuild(ast) {
8872
- return make5(ast, this[RebuildOptions]);
9016
+ return make6(ast, this[RebuildOptions]);
8873
9017
  }
8874
9018
  };
8875
- function make5(ast, options) {
9019
+ function make6(ast, options) {
8876
9020
  function Schema() {}
8877
9021
  const self = Object.setPrototypeOf(Schema, SchemaProto);
8878
9022
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
@@ -8999,7 +9143,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
8999
9143
 
9000
9144
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
9001
9145
  function toCodecJson2(schema) {
9002
- return make5(toCodecJsonAST(schema.ast), {
9146
+ return make6(toCodecJsonAST(schema.ast), {
9003
9147
  schema
9004
9148
  });
9005
9149
  }
@@ -9055,7 +9199,7 @@ function toCodecJsonASTStep(ast, recur) {
9055
9199
  if (!isFunction(getLink)) {
9056
9200
  return replaceEncoding(ast, [unknownToJson]);
9057
9201
  }
9058
- const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
9202
+ const typeParameters = ast.typeParameters.map((tp) => make6(toEncoded(tp)));
9059
9203
  const link = getLink(typeParameters);
9060
9204
  return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
9061
9205
  }
@@ -9090,7 +9234,7 @@ function toCodecJsonASTStep(ast, recur) {
9090
9234
  return ast;
9091
9235
  }
9092
9236
  function toCodecStringTree2(schema) {
9093
- return make5(toCodecStringTreeAST(schema.ast), {
9237
+ return make6(toCodecStringTreeAST(schema.ast), {
9094
9238
  schema
9095
9239
  });
9096
9240
  }
@@ -9110,7 +9254,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
9110
9254
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
9111
9255
  switch (ast._tag) {
9112
9256
  case "Declaration": {
9113
- const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
9257
+ const typeParameters = ast.typeParameters.map((tp) => make6(recur(toEncoded(tp))));
9114
9258
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
9115
9259
  if (isFunction(getStringTreeLink)) {
9116
9260
  const link = getStringTreeLink(typeParameters);
@@ -10599,7 +10743,7 @@ function encodeUnknownSync(schema, options) {
10599
10743
  };
10600
10744
  }
10601
10745
  var encodeSync = encodeUnknownSync;
10602
- var make17 = make5;
10746
+ var make17 = make6;
10603
10747
  function isSchema(u) {
10604
10748
  return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
10605
10749
  }
@@ -11795,4 +11939,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
11795
11939
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
11796
11940
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
11797
11941
 
11798
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
11942
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, toNumber, fromInputUnsafe2, bytes, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-k462v2v7.js";
9
+ } from "./chunk-n381rqax.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-xajmb07d.js";
12
+ } from "./chunk-hyaq30ne.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-qvvph24z.js";
22
+ } from "./chunk-s8ws5fqj.js";
23
23
  import {
24
24
  layerJson,
25
25
  make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-dh7ewhqd.js";
28
+ } from "./chunk-k5cqc0cs.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-n3jpxd14.js";
8
- import"./chunk-4vxbxjf8.js";
9
- import"./chunk-k462v2v7.js";
7
+ } from "./chunk-n00cpb86.js";
8
+ import"./chunk-5tgpa02q.js";
9
+ import"./chunk-n381rqax.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-0n9f624b.js";
8
- import"./chunk-dh7ewhqd.js";
9
- import"./chunk-qvvph24z.js";
10
- import"./chunk-4vxbxjf8.js";
11
- import"./chunk-xajmb07d.js";
12
- import"./chunk-k462v2v7.js";
7
+ } from "./chunk-q8m2ygyt.js";
8
+ import"./chunk-k5cqc0cs.js";
9
+ import"./chunk-s8ws5fqj.js";
10
+ import"./chunk-5tgpa02q.js";
11
+ import"./chunk-hyaq30ne.js";
12
+ import"./chunk-n381rqax.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-zr1kvjzj.js";
2
+ import"./chunk-8r9k7pqk.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-qvvph24z.js";
16
- import"./chunk-xajmb07d.js";
17
- import"./chunk-k462v2v7.js";
15
+ } from "./chunk-s8ws5fqj.js";
16
+ import"./chunk-hyaq30ne.js";
17
+ import"./chunk-n381rqax.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -191,6 +191,8 @@ import {
191
191
  clockWith,
192
192
  logError,
193
193
  effectify,
194
+ toNumber,
195
+ bytes,
194
196
  decode,
195
197
  isRedacted,
196
198
  make16,
@@ -266,14 +268,10 @@ import {
266
268
  decodeJsonStringOption,
267
269
  encodeJsonStringSync,
268
270
  encodePrettyJsonString
269
- } from "./chunk-k462v2v7.js";
271
+ } from "./chunk-n381rqax.js";
270
272
  import {
271
273
  map,
272
274
  makeEquivalence,
273
- Clock,
274
- currentTimeMillis,
275
- toNumber,
276
- bytes,
277
275
  BadArgument,
278
276
  systemError,
279
277
  badArgument,
@@ -337,8 +335,10 @@ import {
337
335
  optionalEnv,
338
336
  harnessesUnsupportedInSrt2,
339
337
  harnessesUnsupportedInDocker2
340
- } from "./chunk-xajmb07d.js";
338
+ } from "./chunk-hyaq30ne.js";
341
339
  import {
340
+ Clock,
341
+ currentTimeMillis,
342
342
  ExitCode,
343
343
  ProcessId,
344
344
  makeHandle,
@@ -348,7 +348,7 @@ import {
348
348
  make2,
349
349
  parseFdName,
350
350
  fdName
351
- } from "./chunk-zr1kvjzj.js";
351
+ } from "./chunk-8r9k7pqk.js";
352
352
  import {
353
353
  isDateTime,
354
354
  Numeric,
@@ -361,7 +361,7 @@ import {
361
361
  SecretScope,
362
362
  SecretHosts,
363
363
  isSecretReference
364
- } from "./chunk-4vxbxjf8.js";
364
+ } from "./chunk-5tgpa02q.js";
365
365
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
366
366
  var makeEquivalence3 = Tuple;
367
367
 
@@ -8185,10 +8185,16 @@ var WorkUnitHeartbeatResult = Struct({
8185
8185
  questionOpen: optionalKey(Boolean2),
8186
8186
  revokedSecrets: optionalKey(ArraySchema(SecretName))
8187
8187
  });
8188
+ var programCrashOutputChars = 4000;
8189
+ var ProgramCrash = Struct({
8190
+ reason: String4.check(isMinLength(1), isMaxLength(500)),
8191
+ output: optionalKey(String4.check(isMinLength(1), isMaxLength(programCrashOutputChars))),
8192
+ outputCut: optionalKey(Boolean2)
8193
+ });
8188
8194
  var WorkUnitReleaseInput = Struct({
8189
8195
  workUnitId: Id,
8190
8196
  lease: WorkUnitLeaseInput,
8191
- crashed: optionalKey(Struct({ reason: String4.check(isMinLength(1), isMaxLength(500)) })),
8197
+ crashed: optionalKey(ProgramCrash),
8192
8198
  tokens: optionalKey(AttemptTokens),
8193
8199
  ranModel: optionalKey(String4.check(isMinLength(1), isMaxLength(200)))
8194
8200
  });
@@ -17544,7 +17550,8 @@ var runProcess2 = (argv, options) => gen(function* () {
17544
17550
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17545
17551
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17546
17552
  }));
17547
- const tail = runFold(decodeText(options.onOutput === undefined ? handle.all : tap(handle.all, options.onOutput)), () => "", (kept, text) => kept.length + text.length <= shellOutputTailChars2 ? kept + text : (kept + text).slice(-shellOutputTailChars2));
17553
+ const decoded = (stream) => decodeText(options.onOutput === undefined ? stream : tap(stream, options.onOutput));
17554
+ const tail = runFold(merge2(decoded(handle.stdout), decoded(handle.stderr)), () => "", (kept, text) => kept.length + text.length <= shellOutputTailChars2 ? kept + text : (kept + text).slice(-shellOutputTailChars2));
17548
17555
  const [output, exitCode] = yield* all3([tail, handle.exitCode], { concurrency: 2 });
17549
17556
  return { exitCode: Number(exitCode), output };
17550
17557
  }).pipe(scoped, timeoutOrElse({
@@ -18061,4 +18068,4 @@ function serviceChecks(declaration) {
18061
18068
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
18062
18069
  }
18063
18070
 
18064
- export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, decodeAnswerSchema, answerAccepts, answerProblem, answerValue, loopSafeTextMaxLength, recommendedDefault, isLoopSafeText, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, verificationCap, PinnedImage, RunnerSettings, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepLogDirFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, WorkAvailable, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
18071
+ export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, decodeAnswerSchema, answerAccepts, answerProblem, answerValue, loopSafeTextMaxLength, recommendedDefault, isLoopSafeText, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, programCrashOutputChars, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, verificationCap, PinnedImage, RunnerSettings, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepLogDirFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, WorkAvailable, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
@@ -1,10 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path,
5
- optionalEnv,
6
- tempDirectoryScoped
7
- } from "./chunk-xajmb07d.js";
8
2
  import {
9
3
  Reference,
10
4
  TaggedError,
@@ -31,15 +25,21 @@ import {
31
25
  isString2,
32
26
  encodePrettyJsonString,
33
27
  decodeJsonStringSync
34
- } from "./chunk-k462v2v7.js";
28
+ } from "./chunk-n381rqax.js";
29
+ import {
30
+ FileSystem,
31
+ Path,
32
+ optionalEnv,
33
+ tempDirectoryScoped
34
+ } from "./chunk-hyaq30ne.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-qvvph24z.js";
39
+ } from "./chunk-s8ws5fqj.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-e2dszepq.js";
42
+ } from "./chunk-mtrhqr16.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -139,13 +139,7 @@ import {
139
139
  toCodecJson,
140
140
  Json,
141
141
  encodeUnknownJsonStringSync
142
- } from "./chunk-k462v2v7.js";
143
- import {
144
- currentTimeMillis,
145
- getCurrent,
146
- runForEach,
147
- FileSystem
148
- } from "./chunk-xajmb07d.js";
142
+ } from "./chunk-n381rqax.js";
149
143
  import {
150
144
  WebCrypto,
151
145
  makeUnsafe,
@@ -186,18 +180,26 @@ import {
186
180
  StepManifest,
187
181
  KitSetup,
188
182
  RunnerRpcError
189
- } from "./chunk-qvvph24z.js";
183
+ } from "./chunk-s8ws5fqj.js";
184
+ import {
185
+ getCurrent,
186
+ runForEach,
187
+ FileSystem
188
+ } from "./chunk-hyaq30ne.js";
189
+ import {
190
+ currentTimeMillis
191
+ } from "./chunk-8r9k7pqk.js";
190
192
  import {
191
193
  splitQuestionOptions,
192
194
  recommendationProblem,
193
195
  questionAdvice
194
- } from "./chunk-9ykh05hz.js";
196
+ } from "./chunk-k1fdsn2c.js";
195
197
  import {
196
198
  guard,
197
199
  Id,
198
200
  Timestamp,
199
201
  ActorType
200
- } from "./chunk-4vxbxjf8.js";
202
+ } from "./chunk-5tgpa02q.js";
201
203
  var __defProp = Object.defineProperty;
202
204
  var __returnValue = (v) => v;
203
205
  function __exportSetter(name, newValue) {
@@ -1007,6 +1009,7 @@ var EvidenceCheck = Struct({
1007
1009
  outputTail: optionalKey(String4),
1008
1010
  failedTests: optionalKey(ArraySchema(String4)),
1009
1011
  suggested: optionalKey(Boolean2),
1012
+ notStarted: optionalKey(Boolean2),
1010
1013
  skippedSinceBaseline: optionalKey(ArraySchema(String4)),
1011
1014
  newNotRun: optionalKey(ArraySchema(String4)),
1012
1015
  environmentFailure: optionalKey(Struct({
@@ -1021,7 +1024,12 @@ var VerifyResult = Struct({
1021
1024
  tree: String4,
1022
1025
  passed: Boolean2,
1023
1026
  unchanged: optionalKey(Boolean2),
1024
- checks: ArraySchema(EvidenceCheck)
1027
+ checks: ArraySchema(EvidenceCheck),
1028
+ runnable: optionalKey(ArraySchema(Struct({
1029
+ name: String4,
1030
+ command: String4,
1031
+ workingDirectory: optionalKey(String4)
1032
+ })))
1025
1033
  });
1026
1034
 
1027
1035
  // packages/sdk/src/loop/steps.ts
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-vtzn8zqj.js");
8
+ const { runSrtCli } = await import("./chunk-brbym443.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-5pjbxhxy.js");
11
+ const { runSrtStep } = await import("./chunk-qfwhsqej.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-kaqwjb64.js");
14
+ const { runOpencodeReader } = await import("./chunk-ag79vvjy.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-5t7qvmkj.js");
17
+ const { runCli } = await import("./chunk-9vdy85kg.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.49.0",
3
+ "version": "0.50.1",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {