@kitman-sh/cli 0.10.61 → 0.10.62

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 (26) hide show
  1. package/dist/{chunk-x306t6v1.js → chunk-09jf8588.js} +11 -11
  2. package/dist/{chunk-qdn9tnav.js → chunk-0fdgam8v.js} +17 -26
  3. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  4. package/dist/{chunk-byhwksbq.js → chunk-1z9p4q8b.js} +2 -2
  5. package/dist/{chunk-769fbeff.js → chunk-5y050gx7.js} +36 -36
  6. package/dist/{chunk-26hcgbe7.js → chunk-a4798jzf.js} +3 -3
  7. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  8. package/dist/{chunk-43tv7md8.js → chunk-d8awdfdj.js} +60 -60
  9. package/dist/{chunk-evgrce0h.js → chunk-e3tv8mv2.js} +5 -5
  10. package/dist/{chunk-zej59tf2.js → chunk-eawcprsb.js} +60 -14
  11. package/dist/{chunk-wf3ednaj.js → chunk-ft2fm6ye.js} +19 -19
  12. package/dist/{chunk-mewtccqf.js → chunk-hvev0dve.js} +11 -11
  13. package/dist/{chunk-7a5njmab.js → chunk-hxkk42cg.js} +7 -7
  14. package/dist/{chunk-eyw9a80g.js → chunk-kz8e6cfc.js} +21 -21
  15. package/dist/{chunk-1vav1vaf.js → chunk-phmma642.js} +7 -7
  16. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  17. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  18. package/dist/{chunk-ksx5nt4b.js → chunk-rrz0v4fg.js} +5 -5
  19. package/dist/{chunk-k2bnq58a.js → chunk-sdpjvc1r.js} +115 -107
  20. package/dist/{chunk-r0s0wvev.js → chunk-smgvtzd2.js} +7 -7
  21. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  22. package/dist/{chunk-n7g89pj2.js → chunk-wkccjgwb.js} +4 -4
  23. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  24. package/dist/{chunk-qdx3wa4y.js → chunk-z0z56a72.js} +9 -9
  25. package/dist/index.js +4 -4
  26. 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,
@@ -251,18 +248,17 @@ import {
251
248
  decodeJsonStringOption,
252
249
  encodeJsonStringSync,
253
250
  encodePrettyJsonString
254
- } from "./chunk-677etczq.js";
251
+ } from "./chunk-d3ksv8y1.js";
255
252
  import {
256
253
  map,
257
254
  makeEquivalence,
258
- toNumber,
259
255
  bytes,
260
256
  BadArgument,
261
257
  systemError,
262
258
  badArgument,
263
259
  makeUnsafe2,
264
- make7,
265
260
  make8,
261
+ make9,
266
262
  sliding,
267
263
  unbounded2,
268
264
  offer,
@@ -278,13 +274,13 @@ import {
278
274
  isSink,
279
275
  fromChannel,
280
276
  drain,
281
- make9,
277
+ make10,
282
278
  get3,
283
279
  isStream,
284
280
  fromChannel2,
285
281
  callback,
286
282
  empty2,
287
- make10,
283
+ make11,
288
284
  suspend,
289
285
  fail2,
290
286
  fromQueue,
@@ -310,16 +306,16 @@ import {
310
306
  mkArrayBuffer,
311
307
  toReadableStreamEffect,
312
308
  FileSystem,
313
- make11,
309
+ make12,
314
310
  FileTypeId,
315
311
  WatchBackend,
316
312
  Path,
317
- make12,
313
+ make13,
318
314
  option,
319
315
  String2,
320
316
  optionalEnv,
321
317
  harnessesUnsupportedInSrt2
322
- } from "./chunk-qdn9tnav.js";
318
+ } from "./chunk-0fdgam8v.js";
323
319
  import {
324
320
  isDateTime,
325
321
  Numeric,
@@ -331,7 +327,7 @@ import {
331
327
  SecretName,
332
328
  SecretScope,
333
329
  SecretHosts
334
- } from "./chunk-wnwyp9qn.js";
330
+ } from "./chunk-rrnee9mk.js";
335
331
  import {
336
332
  toJsonValue,
337
333
  isOneOf,
@@ -345,18 +341,21 @@ import {
345
341
  isSymbol,
346
342
  isUndefined,
347
343
  kindOf
348
- } from "./chunk-h6360r1c.js";
344
+ } from "./chunk-v01c0k6j.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-zej59tf2.js";
358
+ } from "./chunk-eawcprsb.js";
360
359
 
361
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
362
361
  var makeEquivalence3 = Tuple;
@@ -519,7 +518,7 @@ var makeUnsafe6 = (input) => {
519
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
520
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
521
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
522
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
524
523
  var nowUnsafe = () => makeUtc(Date.now());
525
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -898,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
898
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
899
898
  var runMain = runMain2;
900
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
+
901
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
902
910
  var makeUnsafe = makeUnsafe6;
903
- var make18 = make3;
911
+ var make18 = make4;
904
912
  var now2 = now;
905
913
  var nowUnsafe2 = nowUnsafe;
906
914
  var toDateUtc2 = toDateUtc;
@@ -1115,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1115
1123
  const readable = options.readable;
1116
1124
  const chunkSize = options.chunkSize ?? 4096;
1117
1125
  const closeOnDone = options.closeOnDone ?? true;
1118
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1119
1127
  const latch = options.latch ?? makeUnsafe2(false);
1120
1128
  function onReadable() {
1121
1129
  latch.openUnsafe();
@@ -1679,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1679
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1680
1688
  const toOption = options.to ?? "stdin";
1681
1689
  if (toOption === "stdin") {
1682
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1683
1691
  ...command.options,
1684
1692
  stdin: {
1685
1693
  ...stdinConfig,
@@ -1699,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1699
1707
  type: "input",
1700
1708
  stream: sourceStream
1701
1709
  };
1702
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1703
1711
  ...command.options,
1704
1712
  additionalFds: {
1705
1713
  ...existingFds,
@@ -1707,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1715
  }
1708
1716
  })));
1709
1717
  } else {
1710
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1711
1719
  ...command.options,
1712
1720
  stdin: {
1713
1721
  ...stdinConfig,
@@ -1746,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1746
1754
  }
1747
1755
  }
1748
1756
  });
1749
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1750
1758
  });
1751
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1752
1760
  var flattenCommand = (command) => {
@@ -2232,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2232
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2233
2241
  }
2234
2242
  });
2235
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2236
2244
  access: access2,
2237
2245
  chmod: chmod2,
2238
2246
  chown: chown2,
@@ -2292,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2292
2300
  })
2293
2301
  })
2294
2302
  });
2295
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2296
2304
  ...NodePath.posix,
2297
2305
  .../* @__PURE__ */ fileUrlOps(false)
2298
2306
  }));
2299
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2300
2308
  ...NodePath.win32,
2301
2309
  .../* @__PURE__ */ fileUrlOps(true)
2302
2310
  }));
2303
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2304
2312
  ...NodePath,
2305
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2306
2314
  }));
@@ -2822,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2822
2830
  if (typeof key === "string") {
2823
2831
  const k = key.toLowerCase();
2824
2832
  if (k in self) {
2825
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2826
2834
  }
2827
2835
  } else {
2828
2836
  for (const name in self) {
2829
2837
  if (name.search(key) !== -1) {
2830
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2831
2839
  }
2832
2840
  }
2833
2841
  }
@@ -2934,7 +2942,7 @@ var fromInputNested = (input) => {
2934
2942
  return out;
2935
2943
  };
2936
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2937
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2938
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2939
2947
  var empty4 = /* @__PURE__ */ make23([]);
2940
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2952,7 +2960,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2952
2960
  });
2953
2961
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2954
2962
  const patterns = Array.isArray(key) ? key : [key];
2955
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2963
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2956
2964
  });
2957
2965
  var isRedactedName2 = isRedactedName;
2958
2966
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3028,7 +3036,7 @@ import * as readline from "readline";
3028
3036
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3029
3037
  const stdin = process.stdin;
3030
3038
  const stdout = process.stdout;
3031
- const lines = yield* make8();
3039
+ const lines = yield* make9();
3032
3040
  let inputEnded = stdin.readableEnded;
3033
3041
  let readlineActive = false;
3034
3042
  const onStdinEnd = () => {
@@ -3039,7 +3047,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3039
3047
  };
3040
3048
  stdin.once("end", onStdinEnd);
3041
3049
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3042
- const rlRef = yield* make9({
3050
+ const rlRef = yield* make10({
3043
3051
  acquire: acquireRelease(sync2(() => {
3044
3052
  const rl = readline.createInterface({
3045
3053
  input: stdin,
@@ -3078,7 +3086,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3078
3086
  if (stdin.isTTY)
3079
3087
  stdin.setRawMode(enabled);
3080
3088
  });
3081
- const rawModeRef = yield* make9({
3089
+ const rawModeRef = yield* make10({
3082
3090
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3083
3091
  idleTimeToLive: "10 millis"
3084
3092
  });
@@ -3099,7 +3107,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3099
3107
  return queue;
3100
3108
  });
3101
3109
  const readInput = gen(function* () {
3102
- const queue = yield* make8();
3110
+ const queue = yield* make9();
3103
3111
  const handleKeypress = (s, k) => {
3104
3112
  const userInput = {
3105
3113
  input: fromUndefinedOr(s),
@@ -9488,13 +9496,13 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9488
9496
  return self;
9489
9497
  }
9490
9498
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9491
- var make4 = (method) => (url, options) => modify(empty6, {
9499
+ var make5 = (method) => (url, options) => modify(empty6, {
9492
9500
  method,
9493
9501
  url,
9494
9502
  ...options ?? undefined
9495
9503
  });
9496
- var get = /* @__PURE__ */ make4("GET");
9497
- var put = /* @__PURE__ */ make4("PUT");
9504
+ var get = /* @__PURE__ */ make5("GET");
9505
+ var put = /* @__PURE__ */ make5("PUT");
9498
9506
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9499
9507
  let result = self;
9500
9508
  if (options.method) {
@@ -9793,7 +9801,7 @@ var Proto7 = {
9793
9801
  };
9794
9802
  },
9795
9803
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
9796
- return this.execute(make4(fullMethod)(url, options));
9804
+ return this.execute(make5(fullMethod)(url, options));
9797
9805
  }]))
9798
9806
  };
9799
9807
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13385,7 +13393,7 @@ var makeProto = (options) => {
13385
13393
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13386
13394
  return Rpc;
13387
13395
  };
13388
- var make5 = (tag, options) => {
13396
+ var make6 = (tag, options) => {
13389
13397
  const successSchema = options?.success ?? Void;
13390
13398
  const errorSchema = options?.error ?? Never;
13391
13399
  const defectSchema = options?.defect ?? Defect();
@@ -13596,7 +13604,7 @@ var RpcGroupProto = {
13596
13604
  });
13597
13605
  },
13598
13606
  annotateRpcs(service, value) {
13599
- return this.annotateRpcsMerge(make14(service, value));
13607
+ return this.annotateRpcsMerge(make15(service, value));
13600
13608
  },
13601
13609
  annotateMerge(context) {
13602
13610
  return makeProto2({
@@ -13619,7 +13627,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13619
13627
  requests: options.requests,
13620
13628
  annotations: options.annotations
13621
13629
  });
13622
- var make6 = (...rpcs) => makeProto2({
13630
+ var make7 = (...rpcs) => makeProto2({
13623
13631
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13624
13632
  annotations: empty3()
13625
13633
  });
@@ -13726,96 +13734,96 @@ var ProgramOutcome = Union([
13726
13734
  Struct({ status: Literal("failed"), failureSummary: String4 })
13727
13735
  ]);
13728
13736
 
13729
- class RunnerReplicaRpcs extends make6(make5("Claim", {
13737
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
13730
13738
  payload: WorkUnitClaimInput,
13731
13739
  success: WorkUnitClaimResult,
13732
13740
  error: RunnerRpcError
13733
- }), make5("Heartbeat", {
13741
+ }), make6("Heartbeat", {
13734
13742
  payload: WorkUnitHeartbeatInput,
13735
13743
  success: WorkUnitHeartbeatResult,
13736
13744
  error: RunnerRpcError
13737
- }), make5("Complete", {
13745
+ }), make6("Complete", {
13738
13746
  payload: WorkUnitCompletion,
13739
13747
  error: RunnerRpcError
13740
- }), make5("Release", {
13748
+ }), make6("Release", {
13741
13749
  payload: WorkUnitReleaseInput,
13742
13750
  error: RunnerRpcError
13743
- }), make5("Signals", {
13751
+ }), make6("Signals", {
13744
13752
  payload: { runnerReplicaId: String4 },
13745
13753
  success: RunnerSignal,
13746
13754
  error: RunnerRpcError,
13747
13755
  stream: true
13748
- }), make5("ReportSteer", {
13756
+ }), make6("ReportSteer", {
13749
13757
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13750
13758
  success: Void,
13751
13759
  error: RunnerRpcError
13752
- }), make5("AppendTranscript", {
13760
+ }), make6("AppendTranscript", {
13753
13761
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13754
13762
  success: Void,
13755
13763
  error: RunnerRpcError
13756
- }), make5("CreateCheckpointFile", {
13764
+ }), make6("CreateCheckpointFile", {
13757
13765
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13758
13766
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13759
13767
  error: Union([RunnerRpcError, RunFileRefused])
13760
- }), make5("CheckpointFileParts", {
13768
+ }), make6("CheckpointFileParts", {
13761
13769
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13762
13770
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13763
13771
  error: RunnerRpcError
13764
- }), make5("CompleteCheckpointFile", {
13772
+ }), make6("CompleteCheckpointFile", {
13765
13773
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
13766
13774
  success: RunFileRecord,
13767
13775
  error: RunnerRpcError
13768
- }), make5("SaveCheckpoint", {
13776
+ }), make6("SaveCheckpoint", {
13769
13777
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
13770
13778
  success: Void,
13771
13779
  error: RunnerRpcError
13772
- }), make5("ResumeCheckpoint", {
13780
+ }), make6("ResumeCheckpoint", {
13773
13781
  payload: { lease: ProgramLease },
13774
13782
  success: UndefinedOr(ResumedCheckpoint),
13775
13783
  error: RunnerRpcError
13776
- }), make5("SettledCheckpoints", {
13784
+ }), make6("SettledCheckpoints", {
13777
13785
  success: ArraySchema(Struct({
13778
13786
  stepAttemptId: String4,
13779
13787
  ref: optionalKey(String4),
13780
13788
  repoBinding: optionalKey(WorkUnitRepoBinding)
13781
13789
  })),
13782
13790
  error: RunnerRpcError
13783
- }), make5("ForgetCheckpoints", {
13791
+ }), make6("ForgetCheckpoints", {
13784
13792
  payload: { stepAttemptIds: ArraySchema(String4) },
13785
13793
  success: Void,
13786
13794
  error: RunnerRpcError
13787
- }), make5("GitCredential", {
13795
+ }), make6("GitCredential", {
13788
13796
  payload: { repoBindingId: String4 },
13789
13797
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
13790
13798
  error: RunnerRpcError
13791
- }), make5("Bundle", {
13799
+ }), make6("Bundle", {
13792
13800
  payload: { digest: String4 },
13793
13801
  success: Struct({ bundle: String4 }),
13794
13802
  error: RunnerRpcError
13795
- }), make5("SettledRuns", {
13803
+ }), make6("SettledRuns", {
13796
13804
  payload: { runIds: ArraySchema(String4) },
13797
13805
  success: ArraySchema(String4),
13798
13806
  error: RunnerRpcError
13799
- }), make5("KnownEvidence", {
13807
+ }), make6("KnownEvidence", {
13800
13808
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
13801
13809
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
13802
13810
  error: RunnerRpcError
13803
13811
  })).middleware(RunnerAuthentication) {
13804
13812
  }
13805
13813
 
13806
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
13814
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
13807
13815
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
13808
13816
  error: RunnerRpcError
13809
- }), make5("DeferredDone", {
13817
+ }), make6("DeferredDone", {
13810
13818
  payload: { lease: ProgramLease, name: String4, exit: Json },
13811
13819
  error: RunnerRpcError
13812
- }), make5("ScheduleClock", {
13820
+ }), make6("ScheduleClock", {
13813
13821
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
13814
13822
  error: RunnerRpcError
13815
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
13823
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
13816
13824
  }
13817
13825
 
13818
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13826
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
13819
13827
  payload: {
13820
13828
  lease: ProgramLease,
13821
13829
  step: String4,
@@ -13833,7 +13841,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13833
13841
  },
13834
13842
  success: Struct({ questionId: String4 }),
13835
13843
  error: RunnerRpcError
13836
- }), make5("StartAgentStep", {
13844
+ }), make6("StartAgentStep", {
13837
13845
  payload: {
13838
13846
  lease: ProgramLease,
13839
13847
  step: String4,
@@ -13849,7 +13857,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13849
13857
  },
13850
13858
  success: Struct({ stepAttemptId: String4 }),
13851
13859
  error: RunnerRpcError
13852
- }), make5("StartVerification", {
13860
+ }), make6("StartVerification", {
13853
13861
  payload: {
13854
13862
  lease: ProgramLease,
13855
13863
  step: String4,
@@ -13866,7 +13874,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13866
13874
  },
13867
13875
  success: Struct({ verificationId: String4 }),
13868
13876
  error: RunnerRpcError
13869
- }), make5("AwaitEvent", {
13877
+ }), make6("AwaitEvent", {
13870
13878
  payload: {
13871
13879
  lease: ProgramLease,
13872
13880
  step: String4,
@@ -13882,7 +13890,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13882
13890
  })))
13883
13891
  },
13884
13892
  error: RunnerRpcError
13885
- }), make5("ClaimResource", {
13893
+ }), make6("ClaimResource", {
13886
13894
  payload: {
13887
13895
  lease: ProgramLease,
13888
13896
  step: String4,
@@ -13891,7 +13899,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13891
13899
  action: Literals(["claim", "take_over", "let_go"])
13892
13900
  },
13893
13901
  error: RunnerRpcError
13894
- }), make5("AdmitChild", {
13902
+ }), make6("AdmitChild", {
13895
13903
  payload: {
13896
13904
  lease: ProgramLease,
13897
13905
  step: String4,
@@ -13901,7 +13909,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13901
13909
  },
13902
13910
  success: Struct({ runId: String4 }),
13903
13911
  error: RunnerRpcError
13904
- }), make5("StoreArtifact", {
13912
+ }), make6("StoreArtifact", {
13905
13913
  payload: {
13906
13914
  lease: ProgramLease,
13907
13915
  step: String4,
@@ -13913,7 +13921,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13913
13921
  },
13914
13922
  success: Struct({ artifactId: String4 }),
13915
13923
  error: RunnerRpcError
13916
- }), make5("RecordNote", {
13924
+ }), make6("RecordNote", {
13917
13925
  payload: {
13918
13926
  lease: ProgramLease,
13919
13927
  step: String4,
@@ -13921,7 +13929,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13921
13929
  artifactId: optional(String4)
13922
13930
  },
13923
13931
  error: RunnerRpcError
13924
- }), make5("PerformHostEffect", {
13932
+ }), make6("PerformHostEffect", {
13925
13933
  payload: {
13926
13934
  lease: ProgramLease,
13927
13935
  step: String4,
@@ -13949,7 +13957,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13949
13957
  },
13950
13958
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
13951
13959
  error: RunnerRpcError
13952
- }), make5("AlertTask", {
13960
+ }), make6("AlertTask", {
13953
13961
  payload: {
13954
13962
  lease: ProgramLease,
13955
13963
  step: String4,
@@ -13966,7 +13974,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13966
13974
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
13967
13975
  }),
13968
13976
  error: RunnerRpcError
13969
- }), make5("ReadTranscripts", {
13977
+ }), make6("ReadTranscripts", {
13970
13978
  payload: { lease: ProgramLease, step: String4, days: Int },
13971
13979
  success: Struct({
13972
13980
  runs: ArraySchema(Struct({
@@ -13985,7 +13993,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13985
13993
  }))
13986
13994
  }),
13987
13995
  error: RunnerRpcError
13988
- }), make5("PipelineStatus", {
13996
+ }), make6("PipelineStatus", {
13989
13997
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
13990
13998
  success: Struct({
13991
13999
  head: String4,
@@ -14001,11 +14009,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14001
14009
  runnerChecks: optionalKey(ArraySchema(String4))
14002
14010
  }),
14003
14011
  error: RunnerRpcError
14004
- }), make5("ReportPipeline", {
14012
+ }), make6("ReportPipeline", {
14005
14013
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14006
14014
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14007
14015
  error: RunnerRpcError
14008
- }), make5("ReviewThreads", {
14016
+ }), make6("ReviewThreads", {
14009
14017
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14010
14018
  success: Struct({
14011
14019
  threads: ArraySchema(Struct({
@@ -14017,7 +14025,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14017
14025
  }))
14018
14026
  }),
14019
14027
  error: RunnerRpcError
14020
- }), make5("OpenChangeRequests", {
14028
+ }), make6("OpenChangeRequests", {
14021
14029
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14022
14030
  success: Struct({
14023
14031
  changeRequests: ArraySchema(Struct({
@@ -14031,7 +14039,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14031
14039
  }))
14032
14040
  }),
14033
14041
  error: RunnerRpcError
14034
- }), make5("OwnChangeRequests", {
14042
+ }), make6("OwnChangeRequests", {
14035
14043
  payload: { lease: ProgramLease, step: String4 },
14036
14044
  success: Struct({
14037
14045
  changeRequests: ArraySchema(Struct({
@@ -14044,7 +14052,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14044
14052
  }))
14045
14053
  }),
14046
14054
  error: RunnerRpcError
14047
- }), make5("Propose", {
14055
+ }), make6("Propose", {
14048
14056
  payload: {
14049
14057
  lease: ProgramLease,
14050
14058
  step: String4,
@@ -14071,7 +14079,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14071
14079
  matched: optionalKey(Boolean2)
14072
14080
  }),
14073
14081
  error: RunnerRpcError
14074
- }), make5("ReadProject", {
14082
+ }), make6("ReadProject", {
14075
14083
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14076
14084
  success: Struct({
14077
14085
  project: Struct({ id: String4, name: String4 }),
@@ -14094,7 +14102,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14094
14102
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14095
14103
  }),
14096
14104
  error: RunnerRpcError
14097
- }), make5("DraftUpdate", {
14105
+ }), make6("DraftUpdate", {
14098
14106
  payload: {
14099
14107
  lease: ProgramLease,
14100
14108
  step: String4,
@@ -14109,7 +14117,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14109
14117
  },
14110
14118
  success: Struct({ id: String4 }),
14111
14119
  error: RunnerRpcError
14112
- }), make5("CreatePlanTasks", {
14120
+ }), make6("CreatePlanTasks", {
14113
14121
  payload: {
14114
14122
  lease: ProgramLease,
14115
14123
  projectId: optionalKey(String4),
@@ -14124,11 +14132,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14124
14132
  },
14125
14133
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14126
14134
  error: RunnerRpcError
14127
- }), make5("IntegrationBranch", {
14135
+ }), make6("IntegrationBranch", {
14128
14136
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14129
14137
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14130
14138
  error: RunnerRpcError
14131
- }), make5("MergeChangeRequest", {
14139
+ }), make6("MergeChangeRequest", {
14132
14140
  payload: {
14133
14141
  lease: ProgramLease,
14134
14142
  step: String4,
@@ -14141,7 +14149,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14141
14149
  Struct({ status: Literal("moved"), head: String4 })
14142
14150
  ]),
14143
14151
  error: RunnerRpcError
14144
- }), make5("ApproveChangeRequest", {
14152
+ }), make6("ApproveChangeRequest", {
14145
14153
  payload: {
14146
14154
  lease: ProgramLease,
14147
14155
  step: String4,
@@ -14156,7 +14164,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14156
14164
  Struct({ approved: Literal(false), reason: String4 })
14157
14165
  ]),
14158
14166
  error: RunnerRpcError
14159
- }), make5("CloseChangeRequest", {
14167
+ }), make6("CloseChangeRequest", {
14160
14168
  payload: {
14161
14169
  lease: ProgramLease,
14162
14170
  step: String4,
@@ -14166,7 +14174,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14166
14174
  },
14167
14175
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14168
14176
  error: RunnerRpcError
14169
- }), make5("RerunPipeline", {
14177
+ }), make6("RerunPipeline", {
14170
14178
  payload: {
14171
14179
  lease: ProgramLease,
14172
14180
  step: String4,
@@ -14176,7 +14184,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14176
14184
  },
14177
14185
  success: Struct({ head: String4, pipelines: Int }),
14178
14186
  error: RunnerRpcError
14179
- }), make5("PublishRelease", {
14187
+ }), make6("PublishRelease", {
14180
14188
  payload: {
14181
14189
  lease: ProgramLease,
14182
14190
  step: String4,
@@ -14187,14 +14195,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14187
14195
  },
14188
14196
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14189
14197
  error: RunnerRpcError
14190
- }), make5("ProgramSecrets", {
14198
+ }), make6("ProgramSecrets", {
14191
14199
  payload: { lease: ProgramLease },
14192
14200
  success: Record(String4, String4),
14193
14201
  error: RunnerRpcError
14194
14202
  })).middleware(RunnerAuthentication) {
14195
14203
  }
14196
14204
 
14197
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14205
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14198
14206
  payload: {
14199
14207
  lease: ProgramLease,
14200
14208
  step: String4,
@@ -14206,11 +14214,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14206
14214
  },
14207
14215
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14208
14216
  error: Union([RunnerRpcError, RunFileRefused])
14209
- }), make5("RunFileParts", {
14217
+ }), make6("RunFileParts", {
14210
14218
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14211
14219
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14212
14220
  error: RunnerRpcError
14213
- }), make5("CompleteRunFile", {
14221
+ }), make6("CompleteRunFile", {
14214
14222
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14215
14223
  success: RunFileRecord,
14216
14224
  error: RunnerRpcError
@@ -14299,7 +14307,7 @@ function toStoredSession(token, existingRefreshToken) {
14299
14307
  }
14300
14308
  function startLoopbackServer(input) {
14301
14309
  return gen(function* () {
14302
- const code = yield* make15();
14310
+ const code = yield* make16();
14303
14311
  const context2 = yield* context();
14304
14312
  const runSyncExit = runSyncExitWith(context2);
14305
14313
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -14839,7 +14847,7 @@ var openConnection = (transport) => gen(function* () {
14839
14847
  let lastId = 0;
14840
14848
  let lost = false;
14841
14849
  const notifications = yield* unbounded2();
14842
- const ended = yield* make15();
14850
+ const ended = yield* make16();
14843
14851
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
14844
14852
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
14845
14853
  onNone: () => void_3,
@@ -14866,7 +14874,7 @@ var openConnection = (transport) => gen(function* () {
14866
14874
  if (lost)
14867
14875
  return yield* new HerdrCoreConnectionLost2({ method });
14868
14876
  const id = ++lastId;
14869
- const deferred = yield* make15();
14877
+ const deferred = yield* make16();
14870
14878
  pending.set(id, { method, deferred });
14871
14879
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
14872
14880
  return yield* _await(deferred);
@@ -14940,14 +14948,14 @@ var herdrCoreOver = (transport) => ({
14940
14948
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
14941
14949
  };
14942
14950
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
14943
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
14951
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
14944
14952
  }))
14945
14953
  });
14946
14954
  var spawnedTransport = (env) => gen(function* () {
14947
14955
  const spawner = yield* ChildProcessSpawner;
14948
14956
  const input = yield* unbounded2();
14949
14957
  const encoder = new TextEncoder;
14950
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
14958
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
14951
14959
  extendEnv: false,
14952
14960
  env,
14953
14961
  stdin: fromQueue(input),
@@ -14978,7 +14986,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
14978
14986
  const spawner = yield* ChildProcessSpawner;
14979
14987
  const env = coreEnv(options);
14980
14988
  const run = (args) => gen(function* () {
14981
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
14989
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
14982
14990
  const [stdout, stderr, exitCode] = yield* all3([
14983
14991
  mkString(decodeText(handle.stdout)),
14984
14992
  mkString(decodeText(handle.stderr)),
@@ -15004,7 +15012,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15004
15012
  }
15005
15013
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15006
15014
  const spawner = yield* ChildProcessSpawner;
15007
- const handle = yield* spawner.spawn(make2(command, args, {
15015
+ const handle = yield* spawner.spawn(make3(command, args, {
15008
15016
  stdin: "ignore",
15009
15017
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15010
15018
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15030,8 +15038,8 @@ var shellOutputTailChars2 = 64 * 1024;
15030
15038
  var runProcess2 = (argv, options) => gen(function* () {
15031
15039
  const spawner = yield* ChildProcessSpawner;
15032
15040
  const [command, ...args] = argv;
15033
- const handle = yield* spawner.spawn(make2(command, args, {
15034
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15041
+ const handle = yield* spawner.spawn(make3(command, args, {
15042
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15035
15043
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15036
15044
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15037
15045
  }));
@@ -15453,4 +15461,4 @@ function checkServices(declaration) {
15453
15461
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15454
15462
  }
15455
15463
 
15456
- 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, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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, put, setHeaders, bodyUint8Array, 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, 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 };
15464
+ 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, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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, put, setHeaders, bodyUint8Array, 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, 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 };