@kitman-sh/cli 0.13.14 → 0.13.15

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-vmww6hnk.js → chunk-3syr8kyv.js} +5 -5
  2. package/dist/{chunk-ef3nzqng.js → chunk-5qeqhjxy.js} +2 -2
  3. package/dist/{chunk-d4kmyv5h.js → chunk-6kz6qa2h.js} +4 -4
  4. package/dist/{chunk-hmt2egsx.js → chunk-6qdhhk6r.js} +6 -6
  5. package/dist/{chunk-st8ggqv1.js → chunk-6z499mrc.js} +21 -21
  6. package/dist/{chunk-vjsqg4a5.js → chunk-7cx4t4em.js} +7 -7
  7. package/dist/{chunk-8xpdkxr7.js → chunk-82w8rmkc.js} +60 -14
  8. package/dist/{chunk-3vbs995s.js → chunk-b07c43pg.js} +117 -108
  9. package/dist/{chunk-aa30tt6t.js → chunk-fc2bhh5v.js} +2 -2
  10. package/dist/{chunk-5mxvqg32.js → chunk-ga76znz9.js} +10 -10
  11. package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
  12. package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
  13. package/dist/{chunk-zencwg2t.js → chunk-h0jf48ew.js} +1 -1
  14. package/dist/{chunk-4142qeg3.js → chunk-hn9x2jjs.js} +3 -3
  15. package/dist/{chunk-89rpg6j9.js → chunk-jattyebv.js} +28 -28
  16. package/dist/{chunk-dwxqp8ez.js → chunk-my63gy4t.js} +7 -7
  17. package/dist/{chunk-hgfphycc.js → chunk-nf9gdnsf.js} +17 -26
  18. package/dist/{chunk-hw9fcfs0.js → chunk-npnbac9a.js} +9 -9
  19. package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
  20. package/dist/{chunk-fk5238tn.js → chunk-rqrtf7sb.js} +4 -4
  21. package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
  22. package/dist/{chunk-06dwvzv0.js → chunk-ydz5ctsj.js} +63 -63
  23. package/dist/{chunk-6agcvxbj.js → chunk-z4x9m2bv.js} +10 -10
  24. package/dist/{chunk-5ba08a9e.js → chunk-zem7mg1b.js} +18 -18
  25. package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
  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
- make13,
41
+ make14,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make14,
61
+ make15,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -91,7 +91,7 @@ import {
91
91
  fail4,
92
92
  isSuccess2,
93
93
  makeUnsafe5,
94
- make15,
94
+ make16,
95
95
  _await,
96
96
  fail5,
97
97
  isDone,
@@ -194,9 +194,6 @@ import {
194
194
  logError,
195
195
  effectify,
196
196
  decode,
197
- isRedacted,
198
- make16,
199
- value,
200
197
  defaultParseOptions,
201
198
  omit,
202
199
  map9,
@@ -264,18 +261,17 @@ import {
264
261
  decodeJsonStringOption,
265
262
  encodeJsonStringSync,
266
263
  encodePrettyJsonString
267
- } from "./chunk-zgraq2y3.js";
264
+ } from "./chunk-zw3gf6r5.js";
268
265
  import {
269
266
  map,
270
267
  makeEquivalence,
271
- toNumber,
272
268
  bytes,
273
269
  BadArgument,
274
270
  systemError,
275
271
  badArgument,
276
272
  makeUnsafe2,
277
- make7,
278
273
  make8,
274
+ make9,
279
275
  sliding,
280
276
  unbounded2,
281
277
  offer,
@@ -291,13 +287,13 @@ import {
291
287
  isSink,
292
288
  fromChannel,
293
289
  drain,
294
- make9,
290
+ make10,
295
291
  get3,
296
292
  isStream,
297
293
  fromChannel2,
298
294
  callback,
299
295
  empty2,
300
- make10,
296
+ make11,
301
297
  suspend,
302
298
  fail2,
303
299
  fromQueue,
@@ -323,16 +319,16 @@ import {
323
319
  mkArrayBuffer,
324
320
  toReadableStreamEffect,
325
321
  FileSystem,
326
- make11,
322
+ make12,
327
323
  FileTypeId,
328
324
  WatchBackend,
329
325
  Path,
330
- make12,
326
+ make13,
331
327
  option,
332
328
  String2,
333
329
  optionalEnv,
334
330
  harnessesUnsupportedInSrt2
335
- } from "./chunk-hgfphycc.js";
331
+ } from "./chunk-nf9gdnsf.js";
336
332
  import {
337
333
  isDateTime,
338
334
  Numeric,
@@ -345,18 +341,22 @@ import {
345
341
  SecretScope,
346
342
  SecretHosts,
347
343
  isSecretReference
348
- } from "./chunk-pxvd8w2v.js";
344
+ } from "./chunk-q5w3v4k1.js";
349
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
350
349
  ExitCode,
351
350
  ProcessId,
352
351
  makeHandle,
353
- make,
352
+ make2,
354
353
  ChildProcessSpawner,
355
354
  display,
356
- make2,
355
+ make3,
357
356
  parseFdName,
358
357
  fdName
359
- } from "./chunk-8xpdkxr7.js";
358
+ } from "./chunk-82w8rmkc.js";
359
+
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
362
362
 
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
518
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
519
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
520
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
521
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
522
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
523
523
  var nowUnsafe = () => makeUtc(Date.now());
524
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -897,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
897
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
898
898
  var runMain = runMain2;
899
899
 
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
+
900
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
901
910
  var makeUnsafe = makeUnsafe6;
902
- var make18 = make3;
911
+ var make18 = make4;
903
912
  var now2 = now;
904
913
  var nowUnsafe2 = nowUnsafe;
905
914
  var toDateUtc2 = toDateUtc;
@@ -1114,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1114
1123
  const readable = options.readable;
1115
1124
  const chunkSize = options.chunkSize ?? 4096;
1116
1125
  const closeOnDone = options.closeOnDone ?? true;
1117
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1118
1127
  const latch = options.latch ?? makeUnsafe2(false);
1119
1128
  function onReadable() {
1120
1129
  latch.openUnsafe();
@@ -1678,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1678
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1679
1688
  const toOption = options.to ?? "stdin";
1680
1689
  if (toOption === "stdin") {
1681
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1682
1691
  ...command.options,
1683
1692
  stdin: {
1684
1693
  ...stdinConfig,
@@ -1698,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1698
1707
  type: "input",
1699
1708
  stream: sourceStream
1700
1709
  };
1701
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1702
1711
  ...command.options,
1703
1712
  additionalFds: {
1704
1713
  ...existingFds,
@@ -1706,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1706
1715
  }
1707
1716
  })));
1708
1717
  } else {
1709
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1710
1719
  ...command.options,
1711
1720
  stdin: {
1712
1721
  ...stdinConfig,
@@ -1745,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1745
1754
  }
1746
1755
  }
1747
1756
  });
1748
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1749
1758
  });
1750
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1751
1760
  var flattenCommand = (command) => {
@@ -2231,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2231
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2232
2241
  }
2233
2242
  });
2234
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2235
2244
  access: access2,
2236
2245
  chmod: chmod2,
2237
2246
  chown: chown2,
@@ -2291,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2291
2300
  })
2292
2301
  })
2293
2302
  });
2294
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2295
2304
  ...NodePath.posix,
2296
2305
  .../* @__PURE__ */ fileUrlOps(false)
2297
2306
  }));
2298
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2299
2308
  ...NodePath.win32,
2300
2309
  .../* @__PURE__ */ fileUrlOps(true)
2301
2310
  }));
2302
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2303
2312
  ...NodePath,
2304
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2305
2314
  }));
@@ -2821,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2821
2830
  if (typeof key === "string") {
2822
2831
  const k = key.toLowerCase();
2823
2832
  if (k in self) {
2824
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2825
2834
  }
2826
2835
  } else {
2827
2836
  for (const name in self) {
2828
2837
  if (name.search(key) !== -1) {
2829
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2830
2839
  }
2831
2840
  }
2832
2841
  }
@@ -2933,7 +2942,7 @@ var fromInputNested = (input) => {
2933
2942
  return out;
2934
2943
  };
2935
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2936
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2937
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2938
2947
  var empty4 = /* @__PURE__ */ make23([]);
2939
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2952,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2952
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2953
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2954
2963
  const patterns = Array.isArray(key) ? key : [key];
2955
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2964
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2956
2965
  });
2957
2966
  var isRedactedName2 = isRedactedName;
2958
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3028,7 +3037,7 @@ import * as readline from "readline";
3028
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3029
3038
  const stdin = process.stdin;
3030
3039
  const stdout = process.stdout;
3031
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3032
3041
  let inputEnded = stdin.readableEnded;
3033
3042
  let readlineActive = false;
3034
3043
  const onStdinEnd = () => {
@@ -3039,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3039
3048
  };
3040
3049
  stdin.once("end", onStdinEnd);
3041
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3042
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3043
3052
  acquire: acquireRelease(sync2(() => {
3044
3053
  const rl = readline.createInterface({
3045
3054
  input: stdin,
@@ -3078,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3078
3087
  if (stdin.isTTY)
3079
3088
  stdin.setRawMode(enabled);
3080
3089
  });
3081
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3082
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3083
3092
  idleTimeToLive: "10 millis"
3084
3093
  });
@@ -3099,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3099
3108
  return queue;
3100
3109
  });
3101
3110
  const readInput = gen(function* () {
3102
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3103
3112
  const handleKeypress = (s, k) => {
3104
3113
  const userInput = {
3105
3114
  input: fromUndefinedOr(s),
@@ -10074,14 +10083,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
10074
10083
  return self;
10075
10084
  }
10076
10085
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
10077
- var make4 = (method) => (url, options) => modify(empty6, {
10086
+ var make5 = (method) => (url, options) => modify(empty6, {
10078
10087
  method,
10079
10088
  url,
10080
10089
  ...options ?? undefined
10081
10090
  });
10082
- var get = /* @__PURE__ */ make4("GET");
10083
- var post = /* @__PURE__ */ make4("POST");
10084
- var put = /* @__PURE__ */ make4("PUT");
10091
+ var get = /* @__PURE__ */ make5("GET");
10092
+ var post = /* @__PURE__ */ make5("POST");
10093
+ var put = /* @__PURE__ */ make5("PUT");
10085
10094
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
10086
10095
  let result = self;
10087
10096
  if (options.method) {
@@ -10382,7 +10391,7 @@ var Proto7 = {
10382
10391
  };
10383
10392
  },
10384
10393
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10385
- return this.execute(make4(fullMethod)(url, options));
10394
+ return this.execute(make5(fullMethod)(url, options));
10386
10395
  }]))
10387
10396
  };
10388
10397
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -14092,7 +14101,7 @@ var makeProto = (options) => {
14092
14101
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
14093
14102
  return Rpc;
14094
14103
  };
14095
- var make5 = (tag, options) => {
14104
+ var make6 = (tag, options) => {
14096
14105
  const successSchema = options?.success ?? Void;
14097
14106
  const errorSchema = options?.error ?? Never;
14098
14107
  const defectSchema = options?.defect ?? Defect();
@@ -14303,7 +14312,7 @@ var RpcGroupProto = {
14303
14312
  });
14304
14313
  },
14305
14314
  annotateRpcs(service, value) {
14306
- return this.annotateRpcsMerge(make14(service, value));
14315
+ return this.annotateRpcsMerge(make15(service, value));
14307
14316
  },
14308
14317
  annotateMerge(context) {
14309
14318
  return makeProto2({
@@ -14326,7 +14335,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14326
14335
  requests: options.requests,
14327
14336
  annotations: options.annotations
14328
14337
  });
14329
- var make6 = (...rpcs) => makeProto2({
14338
+ var make7 = (...rpcs) => makeProto2({
14330
14339
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14331
14340
  annotations: empty3()
14332
14341
  });
@@ -14432,96 +14441,96 @@ var ProgramOutcome = Union([
14432
14441
  Struct({ status: Literal("failed"), failureSummary: String4 })
14433
14442
  ]);
14434
14443
 
14435
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14444
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14436
14445
  payload: WorkUnitClaimInput,
14437
14446
  success: WorkUnitClaimResult,
14438
14447
  error: RunnerRpcError
14439
- }), make5("Heartbeat", {
14448
+ }), make6("Heartbeat", {
14440
14449
  payload: WorkUnitHeartbeatInput,
14441
14450
  success: WorkUnitHeartbeatResult,
14442
14451
  error: RunnerRpcError
14443
- }), make5("Complete", {
14452
+ }), make6("Complete", {
14444
14453
  payload: WorkUnitCompletion,
14445
14454
  error: RunnerRpcError
14446
- }), make5("Release", {
14455
+ }), make6("Release", {
14447
14456
  payload: WorkUnitReleaseInput,
14448
14457
  error: RunnerRpcError
14449
- }), make5("Signals", {
14458
+ }), make6("Signals", {
14450
14459
  payload: { runnerReplicaId: String4 },
14451
14460
  success: RunnerSignal,
14452
14461
  error: RunnerRpcError,
14453
14462
  stream: true
14454
- }), make5("ReportSteer", {
14463
+ }), make6("ReportSteer", {
14455
14464
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14456
14465
  success: Void,
14457
14466
  error: RunnerRpcError
14458
- }), make5("AppendTranscript", {
14467
+ }), make6("AppendTranscript", {
14459
14468
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14460
14469
  success: Void,
14461
14470
  error: RunnerRpcError
14462
- }), make5("CreateCheckpointFile", {
14471
+ }), make6("CreateCheckpointFile", {
14463
14472
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14464
14473
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14465
14474
  error: Union([RunnerRpcError, RunFileRefused])
14466
- }), make5("CheckpointFileParts", {
14475
+ }), make6("CheckpointFileParts", {
14467
14476
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14468
14477
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14469
14478
  error: RunnerRpcError
14470
- }), make5("CompleteCheckpointFile", {
14479
+ }), make6("CompleteCheckpointFile", {
14471
14480
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14472
14481
  success: RunFileRecord,
14473
14482
  error: RunnerRpcError
14474
- }), make5("SaveCheckpoint", {
14483
+ }), make6("SaveCheckpoint", {
14475
14484
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14476
14485
  success: Void,
14477
14486
  error: RunnerRpcError
14478
- }), make5("ResumeCheckpoint", {
14487
+ }), make6("ResumeCheckpoint", {
14479
14488
  payload: { lease: ProgramLease },
14480
14489
  success: UndefinedOr(ResumedCheckpoint),
14481
14490
  error: RunnerRpcError
14482
- }), make5("SettledCheckpoints", {
14491
+ }), make6("SettledCheckpoints", {
14483
14492
  success: ArraySchema(Struct({
14484
14493
  stepAttemptId: String4,
14485
14494
  ref: optionalKey(String4),
14486
14495
  repoBinding: optionalKey(WorkUnitRepoBinding)
14487
14496
  })),
14488
14497
  error: RunnerRpcError
14489
- }), make5("ForgetCheckpoints", {
14498
+ }), make6("ForgetCheckpoints", {
14490
14499
  payload: { stepAttemptIds: ArraySchema(String4) },
14491
14500
  success: Void,
14492
14501
  error: RunnerRpcError
14493
- }), make5("GitCredential", {
14502
+ }), make6("GitCredential", {
14494
14503
  payload: { repoBindingId: String4 },
14495
14504
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14496
14505
  error: RunnerRpcError
14497
- }), make5("Bundle", {
14506
+ }), make6("Bundle", {
14498
14507
  payload: { digest: String4 },
14499
14508
  success: Struct({ bundle: String4 }),
14500
14509
  error: RunnerRpcError
14501
- }), make5("SettledRuns", {
14510
+ }), make6("SettledRuns", {
14502
14511
  payload: { runIds: ArraySchema(String4) },
14503
14512
  success: ArraySchema(String4),
14504
14513
  error: RunnerRpcError
14505
- }), make5("KnownEvidence", {
14514
+ }), make6("KnownEvidence", {
14506
14515
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14507
14516
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14508
14517
  error: RunnerRpcError
14509
14518
  })).middleware(RunnerAuthentication) {
14510
14519
  }
14511
14520
 
14512
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14521
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14513
14522
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14514
14523
  error: RunnerRpcError
14515
- }), make5("DeferredDone", {
14524
+ }), make6("DeferredDone", {
14516
14525
  payload: { lease: ProgramLease, name: String4, exit: Json },
14517
14526
  error: RunnerRpcError
14518
- }), make5("ScheduleClock", {
14527
+ }), make6("ScheduleClock", {
14519
14528
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14520
14529
  error: RunnerRpcError
14521
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14530
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14522
14531
  }
14523
14532
 
14524
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14533
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14525
14534
  payload: {
14526
14535
  lease: ProgramLease,
14527
14536
  step: String4,
@@ -14541,7 +14550,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14541
14550
  },
14542
14551
  success: Struct({ questionId: String4 }),
14543
14552
  error: RunnerRpcError
14544
- }), make5("StartAgentStep", {
14553
+ }), make6("StartAgentStep", {
14545
14554
  payload: {
14546
14555
  lease: ProgramLease,
14547
14556
  step: String4,
@@ -14557,7 +14566,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14557
14566
  },
14558
14567
  success: Struct({ stepAttemptId: String4 }),
14559
14568
  error: RunnerRpcError
14560
- }), make5("StartVerification", {
14569
+ }), make6("StartVerification", {
14561
14570
  payload: {
14562
14571
  lease: ProgramLease,
14563
14572
  step: String4,
@@ -14578,7 +14587,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14578
14587
  },
14579
14588
  success: Struct({ verificationId: String4 }),
14580
14589
  error: RunnerRpcError
14581
- }), make5("AwaitEvent", {
14590
+ }), make6("AwaitEvent", {
14582
14591
  payload: {
14583
14592
  lease: ProgramLease,
14584
14593
  step: String4,
@@ -14594,7 +14603,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14594
14603
  })))
14595
14604
  },
14596
14605
  error: RunnerRpcError
14597
- }), make5("ClaimResource", {
14606
+ }), make6("ClaimResource", {
14598
14607
  payload: {
14599
14608
  lease: ProgramLease,
14600
14609
  step: String4,
@@ -14603,7 +14612,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14603
14612
  action: Literals(["claim", "take_over", "let_go"])
14604
14613
  },
14605
14614
  error: RunnerRpcError
14606
- }), make5("AdmitChild", {
14615
+ }), make6("AdmitChild", {
14607
14616
  payload: {
14608
14617
  lease: ProgramLease,
14609
14618
  step: String4,
@@ -14614,7 +14623,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14614
14623
  },
14615
14624
  success: Struct({ runId: String4 }),
14616
14625
  error: RunnerRpcError
14617
- }), make5("StoreArtifact", {
14626
+ }), make6("StoreArtifact", {
14618
14627
  payload: {
14619
14628
  lease: ProgramLease,
14620
14629
  step: String4,
@@ -14626,7 +14635,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14626
14635
  },
14627
14636
  success: Struct({ artifactId: String4 }),
14628
14637
  error: RunnerRpcError
14629
- }), make5("RecordNote", {
14638
+ }), make6("RecordNote", {
14630
14639
  payload: {
14631
14640
  lease: ProgramLease,
14632
14641
  step: String4,
@@ -14635,7 +14644,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14635
14644
  kind: optional(Literals(["note", "blocker"]))
14636
14645
  },
14637
14646
  error: RunnerRpcError
14638
- }), make5("PerformHostEffect", {
14647
+ }), make6("PerformHostEffect", {
14639
14648
  payload: {
14640
14649
  lease: ProgramLease,
14641
14650
  step: String4,
@@ -14664,7 +14673,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14664
14673
  },
14665
14674
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14666
14675
  error: RunnerRpcError
14667
- }), make5("AlertTask", {
14676
+ }), make6("AlertTask", {
14668
14677
  payload: {
14669
14678
  lease: ProgramLease,
14670
14679
  step: String4,
@@ -14681,7 +14690,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14681
14690
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14682
14691
  }),
14683
14692
  error: RunnerRpcError
14684
- }), make5("ReadTranscripts", {
14693
+ }), make6("ReadTranscripts", {
14685
14694
  payload: {
14686
14695
  lease: ProgramLease,
14687
14696
  step: String4,
@@ -14716,7 +14725,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14716
14725
  })))
14717
14726
  }),
14718
14727
  error: RunnerRpcError
14719
- }), make5("PipelineStatus", {
14728
+ }), make6("PipelineStatus", {
14720
14729
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14721
14730
  success: Struct({
14722
14731
  head: String4,
@@ -14750,11 +14759,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14750
14759
  }))
14751
14760
  }),
14752
14761
  error: RunnerRpcError
14753
- }), make5("ReportPipeline", {
14762
+ }), make6("ReportPipeline", {
14754
14763
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14755
14764
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14756
14765
  error: RunnerRpcError
14757
- }), make5("ReviewThreads", {
14766
+ }), make6("ReviewThreads", {
14758
14767
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14759
14768
  success: Struct({
14760
14769
  threads: ArraySchema(Struct({
@@ -14766,7 +14775,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14766
14775
  }))
14767
14776
  }),
14768
14777
  error: RunnerRpcError
14769
- }), make5("OpenChangeRequests", {
14778
+ }), make6("OpenChangeRequests", {
14770
14779
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14771
14780
  success: Struct({
14772
14781
  changeRequests: ArraySchema(Struct({
@@ -14780,7 +14789,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14780
14789
  }))
14781
14790
  }),
14782
14791
  error: RunnerRpcError
14783
- }), make5("OwnChangeRequests", {
14792
+ }), make6("OwnChangeRequests", {
14784
14793
  payload: { lease: ProgramLease, step: String4 },
14785
14794
  success: Struct({
14786
14795
  changeRequests: ArraySchema(Struct({
@@ -14793,7 +14802,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14793
14802
  }))
14794
14803
  }),
14795
14804
  error: RunnerRpcError
14796
- }), make5("Propose", {
14805
+ }), make6("Propose", {
14797
14806
  payload: {
14798
14807
  lease: ProgramLease,
14799
14808
  step: String4,
@@ -14822,7 +14831,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14822
14831
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14823
14832
  }),
14824
14833
  error: RunnerRpcError
14825
- }), make5("ReadProject", {
14834
+ }), make6("ReadProject", {
14826
14835
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14827
14836
  success: Struct({
14828
14837
  project: Struct({ id: String4, name: String4 }),
@@ -14845,7 +14854,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14845
14854
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14846
14855
  }),
14847
14856
  error: RunnerRpcError
14848
- }), make5("DraftUpdate", {
14857
+ }), make6("DraftUpdate", {
14849
14858
  payload: {
14850
14859
  lease: ProgramLease,
14851
14860
  step: String4,
@@ -14860,7 +14869,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14860
14869
  },
14861
14870
  success: Struct({ id: String4 }),
14862
14871
  error: RunnerRpcError
14863
- }), make5("CreatePlanTasks", {
14872
+ }), make6("CreatePlanTasks", {
14864
14873
  payload: {
14865
14874
  lease: ProgramLease,
14866
14875
  projectId: optionalKey(String4),
@@ -14881,15 +14890,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14881
14890
  },
14882
14891
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14883
14892
  error: RunnerRpcError
14884
- }), make5("IntegrationBranch", {
14893
+ }), make6("IntegrationBranch", {
14885
14894
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14886
14895
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14887
14896
  error: RunnerRpcError
14888
- }), make5("DeliveryBase", {
14897
+ }), make6("DeliveryBase", {
14889
14898
  payload: { lease: ProgramLease },
14890
14899
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14891
14900
  error: RunnerRpcError
14892
- }), make5("MergeChangeRequest", {
14901
+ }), make6("MergeChangeRequest", {
14893
14902
  payload: {
14894
14903
  lease: ProgramLease,
14895
14904
  step: String4,
@@ -14907,7 +14916,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14907
14916
  Struct({ status: Literal("moved"), head: String4 })
14908
14917
  ]),
14909
14918
  error: RunnerRpcError
14910
- }), make5("ApproveChangeRequest", {
14919
+ }), make6("ApproveChangeRequest", {
14911
14920
  payload: {
14912
14921
  lease: ProgramLease,
14913
14922
  step: String4,
@@ -14923,7 +14932,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14923
14932
  Struct({ approved: Literal(false), reason: String4 })
14924
14933
  ]),
14925
14934
  error: RunnerRpcError
14926
- }), make5("CloseChangeRequest", {
14935
+ }), make6("CloseChangeRequest", {
14927
14936
  payload: {
14928
14937
  lease: ProgramLease,
14929
14938
  step: String4,
@@ -14933,7 +14942,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14933
14942
  },
14934
14943
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14935
14944
  error: RunnerRpcError
14936
- }), make5("RerunPipeline", {
14945
+ }), make6("RerunPipeline", {
14937
14946
  payload: {
14938
14947
  lease: ProgramLease,
14939
14948
  step: String4,
@@ -14943,7 +14952,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14943
14952
  },
14944
14953
  success: Struct({ head: String4, pipelines: Int }),
14945
14954
  error: RunnerRpcError
14946
- }), make5("PublishRelease", {
14955
+ }), make6("PublishRelease", {
14947
14956
  payload: {
14948
14957
  lease: ProgramLease,
14949
14958
  step: String4,
@@ -14955,14 +14964,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14955
14964
  },
14956
14965
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14957
14966
  error: RunnerRpcError
14958
- }), make5("ProgramSecrets", {
14967
+ }), make6("ProgramSecrets", {
14959
14968
  payload: { lease: ProgramLease },
14960
14969
  success: Record(String4, String4),
14961
14970
  error: RunnerRpcError
14962
14971
  })).middleware(RunnerAuthentication) {
14963
14972
  }
14964
14973
 
14965
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14974
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14966
14975
  payload: {
14967
14976
  lease: ProgramLease,
14968
14977
  step: String4,
@@ -14974,11 +14983,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14974
14983
  },
14975
14984
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14976
14985
  error: Union([RunnerRpcError, RunFileRefused])
14977
- }), make5("RunFileParts", {
14986
+ }), make6("RunFileParts", {
14978
14987
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14979
14988
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14980
14989
  error: RunnerRpcError
14981
- }), make5("CompleteRunFile", {
14990
+ }), make6("CompleteRunFile", {
14982
14991
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14983
14992
  success: RunFileRecord,
14984
14993
  error: RunnerRpcError
@@ -15067,7 +15076,7 @@ function toStoredSession(token, existingRefreshToken) {
15067
15076
  }
15068
15077
  function startLoopbackServer(input) {
15069
15078
  return gen(function* () {
15070
- const code = yield* make15();
15079
+ const code = yield* make16();
15071
15080
  const context2 = yield* context();
15072
15081
  const runSyncExit = runSyncExitWith(context2);
15073
15082
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15615,7 +15624,7 @@ var openConnection = (transport) => gen(function* () {
15615
15624
  let lastId = 0;
15616
15625
  let lost = false;
15617
15626
  const notifications = yield* unbounded2();
15618
- const ended = yield* make15();
15627
+ const ended = yield* make16();
15619
15628
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15620
15629
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15621
15630
  onNone: () => void_3,
@@ -15642,7 +15651,7 @@ var openConnection = (transport) => gen(function* () {
15642
15651
  if (lost)
15643
15652
  return yield* new HerdrCoreConnectionLost2({ method });
15644
15653
  const id = ++lastId;
15645
- const deferred = yield* make15();
15654
+ const deferred = yield* make16();
15646
15655
  pending.set(id, { method, deferred });
15647
15656
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15648
15657
  return yield* _await(deferred);
@@ -15716,14 +15725,14 @@ var herdrCoreOver = (transport) => ({
15716
15725
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15717
15726
  };
15718
15727
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15719
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15728
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15720
15729
  }))
15721
15730
  });
15722
15731
  var spawnedTransport = (env) => gen(function* () {
15723
15732
  const spawner = yield* ChildProcessSpawner;
15724
15733
  const input = yield* unbounded2();
15725
15734
  const encoder = new TextEncoder;
15726
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15735
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15727
15736
  extendEnv: false,
15728
15737
  env,
15729
15738
  stdin: fromQueue(input),
@@ -15754,7 +15763,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15754
15763
  const spawner = yield* ChildProcessSpawner;
15755
15764
  const env = coreEnv(options);
15756
15765
  const run = (args) => gen(function* () {
15757
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15766
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15758
15767
  const [stdout, stderr, exitCode] = yield* all3([
15759
15768
  mkString(decodeText(handle.stdout)),
15760
15769
  mkString(decodeText(handle.stderr)),
@@ -15780,7 +15789,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15780
15789
  }
15781
15790
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15782
15791
  const spawner = yield* ChildProcessSpawner;
15783
- const handle = yield* spawner.spawn(make2(command, args, {
15792
+ const handle = yield* spawner.spawn(make3(command, args, {
15784
15793
  stdin: "ignore",
15785
15794
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15786
15795
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15806,8 +15815,8 @@ var shellOutputTailChars2 = 64 * 1024;
15806
15815
  var runProcess2 = (argv, options) => gen(function* () {
15807
15816
  const spawner = yield* ChildProcessSpawner;
15808
15817
  const [command, ...args] = argv;
15809
- const handle = yield* spawner.spawn(make2(command, args, {
15810
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15818
+ const handle = yield* spawner.spawn(make3(command, args, {
15819
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15811
15820
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15812
15821
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15813
15822
  }));
@@ -16239,4 +16248,4 @@ function checkServices(declaration) {
16239
16248
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16240
16249
  }
16241
16250
 
16242
- 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, failedTestOfLine, 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 };
16251
+ 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, failedTestOfLine, 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 };