@kitman-sh/cli 0.13.4 → 0.13.6

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 (27) hide show
  1. package/dist/{chunk-5zth85pj.js → chunk-27pv44t3.js} +2 -2
  2. package/dist/{chunk-5zhh41gb.js → chunk-2x1q8z5t.js} +4 -4
  3. package/dist/{chunk-x97wk81p.js → chunk-3teferzd.js} +4 -4
  4. package/dist/{chunk-mtkstrh3.js → chunk-4nfan8t6.js} +14 -60
  5. package/dist/{chunk-80w7aane.js → chunk-89hds8q4.js} +26 -26
  6. package/dist/{chunk-fhy47ebn.js → chunk-9t8afbrw.js} +6 -6
  7. package/dist/{chunk-fw4zkr03.js → chunk-a0wt1r43.js} +24 -24
  8. package/dist/{chunk-wyrxh8rq.js → chunk-at4e0xvg.js} +7 -7
  9. package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
  10. package/dist/{chunk-cbpb2rww.js → chunk-cabmcvy1.js} +7 -7
  11. package/dist/{chunk-8r76zwpy.js → chunk-cg3xstek.js} +3 -3
  12. package/dist/{chunk-1yr345dx.js → chunk-hg8wgm04.js} +4 -4
  13. package/dist/{chunk-f7qygpcv.js → chunk-j974anp7.js} +1 -1
  14. package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
  15. package/dist/{chunk-vys24xfp.js → chunk-mwkn1c5q.js} +113 -123
  16. package/dist/{chunk-12qchvpn.js → chunk-qj412x98.js} +11 -11
  17. package/dist/{chunk-ny4ek749.js → chunk-r08sz4ry.js} +6 -6
  18. package/dist/{chunk-9cj69m9m.js → chunk-s06x2ktk.js} +7 -7
  19. package/dist/{chunk-q5w3v4k1.js → chunk-s8m2tzdr.js} +1 -1
  20. package/dist/{chunk-y1krmnbv.js → chunk-skqn4h13.js} +2 -2
  21. package/dist/{chunk-0h49y8gf.js → chunk-vktjb2p7.js} +36 -164
  22. package/dist/{chunk-ce73tjqv.js → chunk-vmzr8xcg.js} +7 -6
  23. package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
  24. package/dist/{chunk-pdrm1nty.js → chunk-xc1grg7y.js} +9 -3
  25. package/dist/{chunk-1avftsk4.js → chunk-xy7ze8dj.js} +22 -22
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make14,
41
+ make13,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make15,
61
+ make14,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -84,14 +84,12 @@ import {
84
84
  DisablePropagation,
85
85
  sync,
86
86
  map7,
87
- ClockRef,
88
- currentTimeMillis2,
89
87
  ConsoleRef,
90
88
  succeed3,
91
89
  fail4,
92
90
  isSuccess2,
93
91
  makeUnsafe5,
94
- make16,
92
+ make15,
95
93
  _await,
96
94
  fail5,
97
95
  isDone,
@@ -193,7 +191,12 @@ import {
193
191
  clockWith,
194
192
  logError,
195
193
  effectify,
194
+ toNumber,
195
+ bytes,
196
196
  decode,
197
+ isRedacted,
198
+ make16,
199
+ value,
197
200
  defaultParseOptions,
198
201
  omit,
199
202
  map9,
@@ -261,17 +264,18 @@ import {
261
264
  decodeJsonStringOption,
262
265
  encodeJsonStringSync,
263
266
  encodePrettyJsonString
264
- } from "./chunk-zw3gf6r5.js";
267
+ } from "./chunk-x3cc7dfc.js";
265
268
  import {
266
269
  map,
267
270
  makeEquivalence,
268
- bytes,
271
+ Clock,
272
+ currentTimeMillis,
269
273
  BadArgument,
270
274
  systemError,
271
275
  badArgument,
272
276
  makeUnsafe2,
277
+ make7,
273
278
  make8,
274
- make9,
275
279
  sliding,
276
280
  unbounded2,
277
281
  offer,
@@ -287,13 +291,13 @@ import {
287
291
  isSink,
288
292
  fromChannel,
289
293
  drain,
290
- make10,
294
+ make9,
291
295
  get3,
292
296
  isStream,
293
297
  fromChannel2,
294
298
  callback,
295
299
  empty2,
296
- make11,
300
+ make10,
297
301
  suspend,
298
302
  fail2,
299
303
  fromQueue,
@@ -319,16 +323,16 @@ import {
319
323
  mkArrayBuffer,
320
324
  toReadableStreamEffect,
321
325
  FileSystem,
322
- make12,
326
+ make11,
323
327
  FileTypeId,
324
328
  WatchBackend,
325
329
  Path,
326
- make13,
330
+ make12,
327
331
  option,
328
332
  String2,
329
333
  optionalEnv,
330
334
  harnessesUnsupportedInSrt2
331
- } from "./chunk-0h49y8gf.js";
335
+ } from "./chunk-vktjb2p7.js";
332
336
  import {
333
337
  isDateTime,
334
338
  Numeric,
@@ -341,29 +345,22 @@ import {
341
345
  SecretScope,
342
346
  SecretHosts,
343
347
  isSecretReference
344
- } from "./chunk-q5w3v4k1.js";
348
+ } from "./chunk-s8m2tzdr.js";
345
349
  import {
346
- isRedacted,
347
- make,
348
- value,
349
350
  ExitCode,
350
351
  ProcessId,
351
352
  makeHandle,
352
- make2,
353
+ make,
353
354
  ChildProcessSpawner,
354
355
  display,
355
- make3,
356
+ make2,
356
357
  parseFdName,
357
358
  fdName
358
- } from "./chunk-mtkstrh3.js";
359
+ } from "./chunk-4nfan8t6.js";
359
360
 
360
361
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
362
  var makeEquivalence3 = Tuple;
362
363
 
363
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
364
- var Clock = ClockRef;
365
- var currentTimeMillis = currentTimeMillis2;
366
-
367
364
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
368
365
  var TypeId = "~effect/DateTime";
369
366
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -518,7 +515,7 @@ var makeUnsafe6 = (input) => {
518
515
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
519
516
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
520
517
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
521
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
518
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
522
519
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
523
520
  var nowUnsafe = () => makeUtc(Date.now());
524
521
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -897,18 +894,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
897
894
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
898
895
  var runMain = runMain2;
899
896
 
900
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
- var BigInt2 = globalThis.BigInt;
902
- var toNumber = (b) => {
903
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
- return none();
905
- }
906
- return some(Number(b));
907
- };
908
-
909
897
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
910
898
  var makeUnsafe = makeUnsafe6;
911
- var make18 = make4;
899
+ var make18 = make3;
912
900
  var now2 = now;
913
901
  var nowUnsafe2 = nowUnsafe;
914
902
  var toDateUtc2 = toDateUtc;
@@ -1123,7 +1111,7 @@ var readableToPullUnsafe = (options) => {
1123
1111
  const readable = options.readable;
1124
1112
  const chunkSize = options.chunkSize ?? 4096;
1125
1113
  const closeOnDone = options.closeOnDone ?? true;
1126
- const exit = options.exit ?? make8(undefined);
1114
+ const exit = options.exit ?? make7(undefined);
1127
1115
  const latch = options.latch ?? makeUnsafe2(false);
1128
1116
  function onReadable() {
1129
1117
  latch.openUnsafe();
@@ -1687,7 +1675,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1687
1675
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1688
1676
  const toOption = options.to ?? "stdin";
1689
1677
  if (toOption === "stdin") {
1690
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1678
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1691
1679
  ...command.options,
1692
1680
  stdin: {
1693
1681
  ...stdinConfig,
@@ -1707,7 +1695,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1695
  type: "input",
1708
1696
  stream: sourceStream
1709
1697
  };
1710
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1698
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1711
1699
  ...command.options,
1712
1700
  additionalFds: {
1713
1701
  ...existingFds,
@@ -1715,7 +1703,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1715
1703
  }
1716
1704
  })));
1717
1705
  } else {
1718
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1706
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1719
1707
  ...command.options,
1720
1708
  stdin: {
1721
1709
  ...stdinConfig,
@@ -1754,7 +1742,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1754
1742
  }
1755
1743
  }
1756
1744
  });
1757
- return make2(spawnCommand);
1745
+ return make(spawnCommand);
1758
1746
  });
1759
1747
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1760
1748
  var flattenCommand = (command) => {
@@ -2240,7 +2228,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2240
2228
  resume(fail7(handleBadArgument("writeFile")(err)));
2241
2229
  }
2242
2230
  });
2243
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2231
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2244
2232
  access: access2,
2245
2233
  chmod: chmod2,
2246
2234
  chown: chown2,
@@ -2300,15 +2288,15 @@ var fileUrlOps = (windows) => ({
2300
2288
  })
2301
2289
  })
2302
2290
  });
2303
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2291
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2304
2292
  ...NodePath.posix,
2305
2293
  .../* @__PURE__ */ fileUrlOps(false)
2306
2294
  }));
2307
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2295
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2308
2296
  ...NodePath.win32,
2309
2297
  .../* @__PURE__ */ fileUrlOps(true)
2310
2298
  }));
2311
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2299
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2312
2300
  ...NodePath,
2313
2301
  .../* @__PURE__ */ fileUrlOps(undefined)
2314
2302
  }));
@@ -2830,12 +2818,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2830
2818
  if (typeof key === "string") {
2831
2819
  const k = key.toLowerCase();
2832
2820
  if (k in self) {
2833
- out[k] = make(self[k]);
2821
+ out[k] = make16(self[k]);
2834
2822
  }
2835
2823
  } else {
2836
2824
  for (const name in self) {
2837
2825
  if (name.search(key) !== -1) {
2838
- out[name] = make(self[name]);
2826
+ out[name] = make16(self[name]);
2839
2827
  }
2840
2828
  }
2841
2829
  }
@@ -2942,7 +2930,7 @@ var fromInputNested = (input) => {
2942
2930
  return out;
2943
2931
  };
2944
2932
  var coerce = (value) => isRedacted(value) ? value : String(value);
2945
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2933
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2946
2934
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2947
2935
  var empty4 = /* @__PURE__ */ make23([]);
2948
2936
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2961,7 +2949,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2961
2949
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2962
2950
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2963
2951
  const patterns = Array.isArray(key) ? key : [key];
2964
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2952
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2965
2953
  });
2966
2954
  var isRedactedName2 = isRedactedName;
2967
2955
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3037,7 +3025,7 @@ import * as readline from "readline";
3037
3025
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3038
3026
  const stdin = process.stdin;
3039
3027
  const stdout = process.stdout;
3040
- const lines = yield* make9();
3028
+ const lines = yield* make8();
3041
3029
  let inputEnded = stdin.readableEnded;
3042
3030
  let readlineActive = false;
3043
3031
  const onStdinEnd = () => {
@@ -3048,7 +3036,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3048
3036
  };
3049
3037
  stdin.once("end", onStdinEnd);
3050
3038
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3051
- const rlRef = yield* make10({
3039
+ const rlRef = yield* make9({
3052
3040
  acquire: acquireRelease(sync2(() => {
3053
3041
  const rl = readline.createInterface({
3054
3042
  input: stdin,
@@ -3087,7 +3075,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3087
3075
  if (stdin.isTTY)
3088
3076
  stdin.setRawMode(enabled);
3089
3077
  });
3090
- const rawModeRef = yield* make10({
3078
+ const rawModeRef = yield* make9({
3091
3079
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3092
3080
  idleTimeToLive: "10 millis"
3093
3081
  });
@@ -3108,7 +3096,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3108
3096
  return queue;
3109
3097
  });
3110
3098
  const readInput = gen(function* () {
3111
- const queue = yield* make9();
3099
+ const queue = yield* make8();
3112
3100
  const handleKeypress = (s, k) => {
3113
3101
  const userInput = {
3114
3102
  input: fromUndefinedOr(s),
@@ -6469,6 +6457,7 @@ var QuestionAnswerCreate = Struct({
6469
6457
  idempotencyKey: String4.check(isMinLength(1), isMaxLength(240))
6470
6458
  });
6471
6459
  var QuestionList = Struct({ items: ArraySchema(Question) });
6460
+ var QuestionBelow = Struct({ name: String4, question: Question });
6472
6461
  var RunLaunchContext = Struct({
6473
6462
  teamId: optionalKey(Id),
6474
6463
  remoteUrl: optionalKey(String4.check(isMinLength(1), isMaxLength(2000))),
@@ -6611,6 +6600,7 @@ var RunShow = Struct({
6611
6600
  graph: RunGraph,
6612
6601
  steps: ArraySchema(RunStepSummary),
6613
6602
  questions: ArraySchema(Question),
6603
+ questionsBelow: optionalKey(ArraySchema(QuestionBelow)),
6614
6604
  children: ArraySchema(Struct({
6615
6605
  runId: Id,
6616
6606
  name: String4,
@@ -9961,14 +9951,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9961
9951
  return self;
9962
9952
  }
9963
9953
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9964
- var make5 = (method) => (url, options) => modify(empty6, {
9954
+ var make4 = (method) => (url, options) => modify(empty6, {
9965
9955
  method,
9966
9956
  url,
9967
9957
  ...options ?? undefined
9968
9958
  });
9969
- var get = /* @__PURE__ */ make5("GET");
9970
- var post = /* @__PURE__ */ make5("POST");
9971
- var put = /* @__PURE__ */ make5("PUT");
9959
+ var get = /* @__PURE__ */ make4("GET");
9960
+ var post = /* @__PURE__ */ make4("POST");
9961
+ var put = /* @__PURE__ */ make4("PUT");
9972
9962
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9973
9963
  let result = self;
9974
9964
  if (options.method) {
@@ -10269,7 +10259,7 @@ var Proto7 = {
10269
10259
  };
10270
10260
  },
10271
10261
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10272
- return this.execute(make5(fullMethod)(url, options));
10262
+ return this.execute(make4(fullMethod)(url, options));
10273
10263
  }]))
10274
10264
  };
10275
10265
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13979,7 +13969,7 @@ var makeProto = (options) => {
13979
13969
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13980
13970
  return Rpc;
13981
13971
  };
13982
- var make6 = (tag, options) => {
13972
+ var make5 = (tag, options) => {
13983
13973
  const successSchema = options?.success ?? Void;
13984
13974
  const errorSchema = options?.error ?? Never;
13985
13975
  const defectSchema = options?.defect ?? Defect();
@@ -14190,7 +14180,7 @@ var RpcGroupProto = {
14190
14180
  });
14191
14181
  },
14192
14182
  annotateRpcs(service, value) {
14193
- return this.annotateRpcsMerge(make15(service, value));
14183
+ return this.annotateRpcsMerge(make14(service, value));
14194
14184
  },
14195
14185
  annotateMerge(context) {
14196
14186
  return makeProto2({
@@ -14213,7 +14203,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14213
14203
  requests: options.requests,
14214
14204
  annotations: options.annotations
14215
14205
  });
14216
- var make7 = (...rpcs) => makeProto2({
14206
+ var make6 = (...rpcs) => makeProto2({
14217
14207
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14218
14208
  annotations: empty3()
14219
14209
  });
@@ -14319,96 +14309,96 @@ var ProgramOutcome = Union([
14319
14309
  Struct({ status: Literal("failed"), failureSummary: String4 })
14320
14310
  ]);
14321
14311
 
14322
- class RunnerReplicaRpcs extends make7(make6("Claim", {
14312
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
14323
14313
  payload: WorkUnitClaimInput,
14324
14314
  success: WorkUnitClaimResult,
14325
14315
  error: RunnerRpcError
14326
- }), make6("Heartbeat", {
14316
+ }), make5("Heartbeat", {
14327
14317
  payload: WorkUnitHeartbeatInput,
14328
14318
  success: WorkUnitHeartbeatResult,
14329
14319
  error: RunnerRpcError
14330
- }), make6("Complete", {
14320
+ }), make5("Complete", {
14331
14321
  payload: WorkUnitCompletion,
14332
14322
  error: RunnerRpcError
14333
- }), make6("Release", {
14323
+ }), make5("Release", {
14334
14324
  payload: WorkUnitReleaseInput,
14335
14325
  error: RunnerRpcError
14336
- }), make6("Signals", {
14326
+ }), make5("Signals", {
14337
14327
  payload: { runnerReplicaId: String4 },
14338
14328
  success: RunnerSignal,
14339
14329
  error: RunnerRpcError,
14340
14330
  stream: true
14341
- }), make6("ReportSteer", {
14331
+ }), make5("ReportSteer", {
14342
14332
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14343
14333
  success: Void,
14344
14334
  error: RunnerRpcError
14345
- }), make6("AppendTranscript", {
14335
+ }), make5("AppendTranscript", {
14346
14336
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14347
14337
  success: Void,
14348
14338
  error: RunnerRpcError
14349
- }), make6("CreateCheckpointFile", {
14339
+ }), make5("CreateCheckpointFile", {
14350
14340
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14351
14341
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14352
14342
  error: Union([RunnerRpcError, RunFileRefused])
14353
- }), make6("CheckpointFileParts", {
14343
+ }), make5("CheckpointFileParts", {
14354
14344
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14355
14345
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14356
14346
  error: RunnerRpcError
14357
- }), make6("CompleteCheckpointFile", {
14347
+ }), make5("CompleteCheckpointFile", {
14358
14348
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14359
14349
  success: RunFileRecord,
14360
14350
  error: RunnerRpcError
14361
- }), make6("SaveCheckpoint", {
14351
+ }), make5("SaveCheckpoint", {
14362
14352
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14363
14353
  success: Void,
14364
14354
  error: RunnerRpcError
14365
- }), make6("ResumeCheckpoint", {
14355
+ }), make5("ResumeCheckpoint", {
14366
14356
  payload: { lease: ProgramLease },
14367
14357
  success: UndefinedOr(ResumedCheckpoint),
14368
14358
  error: RunnerRpcError
14369
- }), make6("SettledCheckpoints", {
14359
+ }), make5("SettledCheckpoints", {
14370
14360
  success: ArraySchema(Struct({
14371
14361
  stepAttemptId: String4,
14372
14362
  ref: optionalKey(String4),
14373
14363
  repoBinding: optionalKey(WorkUnitRepoBinding)
14374
14364
  })),
14375
14365
  error: RunnerRpcError
14376
- }), make6("ForgetCheckpoints", {
14366
+ }), make5("ForgetCheckpoints", {
14377
14367
  payload: { stepAttemptIds: ArraySchema(String4) },
14378
14368
  success: Void,
14379
14369
  error: RunnerRpcError
14380
- }), make6("GitCredential", {
14370
+ }), make5("GitCredential", {
14381
14371
  payload: { repoBindingId: String4 },
14382
14372
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14383
14373
  error: RunnerRpcError
14384
- }), make6("Bundle", {
14374
+ }), make5("Bundle", {
14385
14375
  payload: { digest: String4 },
14386
14376
  success: Struct({ bundle: String4 }),
14387
14377
  error: RunnerRpcError
14388
- }), make6("SettledRuns", {
14378
+ }), make5("SettledRuns", {
14389
14379
  payload: { runIds: ArraySchema(String4) },
14390
14380
  success: ArraySchema(String4),
14391
14381
  error: RunnerRpcError
14392
- }), make6("KnownEvidence", {
14382
+ }), make5("KnownEvidence", {
14393
14383
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14394
14384
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14395
14385
  error: RunnerRpcError
14396
14386
  })).middleware(RunnerAuthentication) {
14397
14387
  }
14398
14388
 
14399
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14389
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14400
14390
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14401
14391
  error: RunnerRpcError
14402
- }), make6("DeferredDone", {
14392
+ }), make5("DeferredDone", {
14403
14393
  payload: { lease: ProgramLease, name: String4, exit: Json },
14404
14394
  error: RunnerRpcError
14405
- }), make6("ScheduleClock", {
14395
+ }), make5("ScheduleClock", {
14406
14396
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14407
14397
  error: RunnerRpcError
14408
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14398
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14409
14399
  }
14410
14400
 
14411
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14401
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14412
14402
  payload: {
14413
14403
  lease: ProgramLease,
14414
14404
  step: String4,
@@ -14428,7 +14418,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14428
14418
  },
14429
14419
  success: Struct({ questionId: String4 }),
14430
14420
  error: RunnerRpcError
14431
- }), make6("StartAgentStep", {
14421
+ }), make5("StartAgentStep", {
14432
14422
  payload: {
14433
14423
  lease: ProgramLease,
14434
14424
  step: String4,
@@ -14444,7 +14434,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14444
14434
  },
14445
14435
  success: Struct({ stepAttemptId: String4 }),
14446
14436
  error: RunnerRpcError
14447
- }), make6("StartVerification", {
14437
+ }), make5("StartVerification", {
14448
14438
  payload: {
14449
14439
  lease: ProgramLease,
14450
14440
  step: String4,
@@ -14465,7 +14455,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14465
14455
  },
14466
14456
  success: Struct({ verificationId: String4 }),
14467
14457
  error: RunnerRpcError
14468
- }), make6("AwaitEvent", {
14458
+ }), make5("AwaitEvent", {
14469
14459
  payload: {
14470
14460
  lease: ProgramLease,
14471
14461
  step: String4,
@@ -14481,7 +14471,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14481
14471
  })))
14482
14472
  },
14483
14473
  error: RunnerRpcError
14484
- }), make6("ClaimResource", {
14474
+ }), make5("ClaimResource", {
14485
14475
  payload: {
14486
14476
  lease: ProgramLease,
14487
14477
  step: String4,
@@ -14490,7 +14480,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14490
14480
  action: Literals(["claim", "take_over", "let_go"])
14491
14481
  },
14492
14482
  error: RunnerRpcError
14493
- }), make6("AdmitChild", {
14483
+ }), make5("AdmitChild", {
14494
14484
  payload: {
14495
14485
  lease: ProgramLease,
14496
14486
  step: String4,
@@ -14501,7 +14491,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14501
14491
  },
14502
14492
  success: Struct({ runId: String4 }),
14503
14493
  error: RunnerRpcError
14504
- }), make6("StoreArtifact", {
14494
+ }), make5("StoreArtifact", {
14505
14495
  payload: {
14506
14496
  lease: ProgramLease,
14507
14497
  step: String4,
@@ -14513,7 +14503,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14513
14503
  },
14514
14504
  success: Struct({ artifactId: String4 }),
14515
14505
  error: RunnerRpcError
14516
- }), make6("RecordNote", {
14506
+ }), make5("RecordNote", {
14517
14507
  payload: {
14518
14508
  lease: ProgramLease,
14519
14509
  step: String4,
@@ -14522,7 +14512,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14522
14512
  kind: optional(Literals(["note", "blocker"]))
14523
14513
  },
14524
14514
  error: RunnerRpcError
14525
- }), make6("PerformHostEffect", {
14515
+ }), make5("PerformHostEffect", {
14526
14516
  payload: {
14527
14517
  lease: ProgramLease,
14528
14518
  step: String4,
@@ -14551,7 +14541,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14551
14541
  },
14552
14542
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14553
14543
  error: RunnerRpcError
14554
- }), make6("AlertTask", {
14544
+ }), make5("AlertTask", {
14555
14545
  payload: {
14556
14546
  lease: ProgramLease,
14557
14547
  step: String4,
@@ -14568,7 +14558,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14568
14558
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14569
14559
  }),
14570
14560
  error: RunnerRpcError
14571
- }), make6("ReadTranscripts", {
14561
+ }), make5("ReadTranscripts", {
14572
14562
  payload: {
14573
14563
  lease: ProgramLease,
14574
14564
  step: String4,
@@ -14603,7 +14593,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14603
14593
  })))
14604
14594
  }),
14605
14595
  error: RunnerRpcError
14606
- }), make6("PipelineStatus", {
14596
+ }), make5("PipelineStatus", {
14607
14597
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14608
14598
  success: Struct({
14609
14599
  head: String4,
@@ -14637,11 +14627,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14637
14627
  }))
14638
14628
  }),
14639
14629
  error: RunnerRpcError
14640
- }), make6("ReportPipeline", {
14630
+ }), make5("ReportPipeline", {
14641
14631
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14642
14632
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14643
14633
  error: RunnerRpcError
14644
- }), make6("ReviewThreads", {
14634
+ }), make5("ReviewThreads", {
14645
14635
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14646
14636
  success: Struct({
14647
14637
  threads: ArraySchema(Struct({
@@ -14653,7 +14643,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14653
14643
  }))
14654
14644
  }),
14655
14645
  error: RunnerRpcError
14656
- }), make6("OpenChangeRequests", {
14646
+ }), make5("OpenChangeRequests", {
14657
14647
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14658
14648
  success: Struct({
14659
14649
  changeRequests: ArraySchema(Struct({
@@ -14667,7 +14657,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14667
14657
  }))
14668
14658
  }),
14669
14659
  error: RunnerRpcError
14670
- }), make6("OwnChangeRequests", {
14660
+ }), make5("OwnChangeRequests", {
14671
14661
  payload: { lease: ProgramLease, step: String4 },
14672
14662
  success: Struct({
14673
14663
  changeRequests: ArraySchema(Struct({
@@ -14680,7 +14670,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14680
14670
  }))
14681
14671
  }),
14682
14672
  error: RunnerRpcError
14683
- }), make6("Propose", {
14673
+ }), make5("Propose", {
14684
14674
  payload: {
14685
14675
  lease: ProgramLease,
14686
14676
  step: String4,
@@ -14709,7 +14699,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14709
14699
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14710
14700
  }),
14711
14701
  error: RunnerRpcError
14712
- }), make6("ReadProject", {
14702
+ }), make5("ReadProject", {
14713
14703
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14714
14704
  success: Struct({
14715
14705
  project: Struct({ id: String4, name: String4 }),
@@ -14732,7 +14722,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14732
14722
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14733
14723
  }),
14734
14724
  error: RunnerRpcError
14735
- }), make6("DraftUpdate", {
14725
+ }), make5("DraftUpdate", {
14736
14726
  payload: {
14737
14727
  lease: ProgramLease,
14738
14728
  step: String4,
@@ -14747,7 +14737,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14747
14737
  },
14748
14738
  success: Struct({ id: String4 }),
14749
14739
  error: RunnerRpcError
14750
- }), make6("CreatePlanTasks", {
14740
+ }), make5("CreatePlanTasks", {
14751
14741
  payload: {
14752
14742
  lease: ProgramLease,
14753
14743
  projectId: optionalKey(String4),
@@ -14765,15 +14755,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14765
14755
  },
14766
14756
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14767
14757
  error: RunnerRpcError
14768
- }), make6("IntegrationBranch", {
14758
+ }), make5("IntegrationBranch", {
14769
14759
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14770
14760
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14771
14761
  error: RunnerRpcError
14772
- }), make6("DeliveryBase", {
14762
+ }), make5("DeliveryBase", {
14773
14763
  payload: { lease: ProgramLease },
14774
14764
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14775
14765
  error: RunnerRpcError
14776
- }), make6("MergeChangeRequest", {
14766
+ }), make5("MergeChangeRequest", {
14777
14767
  payload: {
14778
14768
  lease: ProgramLease,
14779
14769
  step: String4,
@@ -14791,7 +14781,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14791
14781
  Struct({ status: Literal("moved"), head: String4 })
14792
14782
  ]),
14793
14783
  error: RunnerRpcError
14794
- }), make6("ApproveChangeRequest", {
14784
+ }), make5("ApproveChangeRequest", {
14795
14785
  payload: {
14796
14786
  lease: ProgramLease,
14797
14787
  step: String4,
@@ -14807,7 +14797,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14807
14797
  Struct({ approved: Literal(false), reason: String4 })
14808
14798
  ]),
14809
14799
  error: RunnerRpcError
14810
- }), make6("CloseChangeRequest", {
14800
+ }), make5("CloseChangeRequest", {
14811
14801
  payload: {
14812
14802
  lease: ProgramLease,
14813
14803
  step: String4,
@@ -14817,7 +14807,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14817
14807
  },
14818
14808
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14819
14809
  error: RunnerRpcError
14820
- }), make6("RerunPipeline", {
14810
+ }), make5("RerunPipeline", {
14821
14811
  payload: {
14822
14812
  lease: ProgramLease,
14823
14813
  step: String4,
@@ -14827,7 +14817,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14827
14817
  },
14828
14818
  success: Struct({ head: String4, pipelines: Int }),
14829
14819
  error: RunnerRpcError
14830
- }), make6("PublishRelease", {
14820
+ }), make5("PublishRelease", {
14831
14821
  payload: {
14832
14822
  lease: ProgramLease,
14833
14823
  step: String4,
@@ -14839,14 +14829,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14839
14829
  },
14840
14830
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14841
14831
  error: RunnerRpcError
14842
- }), make6("ProgramSecrets", {
14832
+ }), make5("ProgramSecrets", {
14843
14833
  payload: { lease: ProgramLease },
14844
14834
  success: Record(String4, String4),
14845
14835
  error: RunnerRpcError
14846
14836
  })).middleware(RunnerAuthentication) {
14847
14837
  }
14848
14838
 
14849
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14839
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14850
14840
  payload: {
14851
14841
  lease: ProgramLease,
14852
14842
  step: String4,
@@ -14858,11 +14848,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14858
14848
  },
14859
14849
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14860
14850
  error: Union([RunnerRpcError, RunFileRefused])
14861
- }), make6("RunFileParts", {
14851
+ }), make5("RunFileParts", {
14862
14852
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14863
14853
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14864
14854
  error: RunnerRpcError
14865
- }), make6("CompleteRunFile", {
14855
+ }), make5("CompleteRunFile", {
14866
14856
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14867
14857
  success: RunFileRecord,
14868
14858
  error: RunnerRpcError
@@ -14951,7 +14941,7 @@ function toStoredSession(token, existingRefreshToken) {
14951
14941
  }
14952
14942
  function startLoopbackServer(input) {
14953
14943
  return gen(function* () {
14954
- const code = yield* make16();
14944
+ const code = yield* make15();
14955
14945
  const context2 = yield* context();
14956
14946
  const runSyncExit = runSyncExitWith(context2);
14957
14947
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15491,7 +15481,7 @@ var openConnection = (transport) => gen(function* () {
15491
15481
  let lastId = 0;
15492
15482
  let lost = false;
15493
15483
  const notifications = yield* unbounded2();
15494
- const ended = yield* make16();
15484
+ const ended = yield* make15();
15495
15485
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15496
15486
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15497
15487
  onNone: () => void_3,
@@ -15518,7 +15508,7 @@ var openConnection = (transport) => gen(function* () {
15518
15508
  if (lost)
15519
15509
  return yield* new HerdrCoreConnectionLost2({ method });
15520
15510
  const id = ++lastId;
15521
- const deferred = yield* make16();
15511
+ const deferred = yield* make15();
15522
15512
  pending.set(id, { method, deferred });
15523
15513
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15524
15514
  return yield* _await(deferred);
@@ -15592,14 +15582,14 @@ var herdrCoreOver = (transport) => ({
15592
15582
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15593
15583
  };
15594
15584
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15595
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15585
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15596
15586
  }))
15597
15587
  });
15598
15588
  var spawnedTransport = (env) => gen(function* () {
15599
15589
  const spawner = yield* ChildProcessSpawner;
15600
15590
  const input = yield* unbounded2();
15601
15591
  const encoder = new TextEncoder;
15602
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15592
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15603
15593
  extendEnv: false,
15604
15594
  env,
15605
15595
  stdin: fromQueue(input),
@@ -15630,7 +15620,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15630
15620
  const spawner = yield* ChildProcessSpawner;
15631
15621
  const env = coreEnv(options);
15632
15622
  const run = (args) => gen(function* () {
15633
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15623
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15634
15624
  const [stdout, stderr, exitCode] = yield* all3([
15635
15625
  mkString(decodeText(handle.stdout)),
15636
15626
  mkString(decodeText(handle.stderr)),
@@ -15656,7 +15646,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15656
15646
  }
15657
15647
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15658
15648
  const spawner = yield* ChildProcessSpawner;
15659
- const handle = yield* spawner.spawn(make3(command, args, {
15649
+ const handle = yield* spawner.spawn(make2(command, args, {
15660
15650
  stdin: "ignore",
15661
15651
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15662
15652
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15682,8 +15672,8 @@ var shellOutputTailChars2 = 64 * 1024;
15682
15672
  var runProcess2 = (argv, options) => gen(function* () {
15683
15673
  const spawner = yield* ChildProcessSpawner;
15684
15674
  const [command, ...args] = argv;
15685
- const handle = yield* spawner.spawn(make3(command, args, {
15686
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15675
+ const handle = yield* spawner.spawn(make2(command, args, {
15676
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15687
15677
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15688
15678
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15689
15679
  }));
@@ -16115,4 +16105,4 @@ function checkServices(declaration) {
16115
16105
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16116
16106
  }
16117
16107
 
16118
- export { Clock, currentTimeMillis, 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, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, 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, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, 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, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16108
+ 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, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, 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, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, 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, 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, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };