@kitman-sh/cli 0.10.64 → 0.10.66

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-zej59tf2.js → chunk-1rry0tsn.js} +60 -14
  2. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  3. package/dist/{chunk-wjs5fpv0.js → chunk-2z450w92.js} +5 -5
  4. package/dist/{chunk-ksx5nt4b.js → chunk-60333x3q.js} +5 -5
  5. package/dist/{chunk-m9v1z0gz.js → chunk-7zm5er63.js} +21 -21
  6. package/dist/{chunk-b9xcawfx.js → chunk-8mj0z3hb.js} +36 -36
  7. package/dist/{chunk-rv4r0n7d.js → chunk-9pp1w29g.js} +4 -4
  8. package/dist/{chunk-dzxahdb7.js → chunk-b90vtscf.js} +75 -66
  9. package/dist/{chunk-3z0p2wtr.js → chunk-cctfnp4r.js} +3 -3
  10. package/dist/{chunk-x306t6v1.js → chunk-csbf77zs.js} +11 -11
  11. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  12. package/dist/{chunk-qdn9tnav.js → chunk-dk0ftqwg.js} +18 -26
  13. package/dist/{chunk-fm4m4v6j.js → chunk-fc0y8kn7.js} +116 -107
  14. package/dist/{chunk-smmgt31x.js → chunk-fsbpm71s.js} +9 -9
  15. package/dist/{chunk-fznm6es2.js → chunk-gfr11y10.js} +7 -7
  16. package/dist/{chunk-t47h82ew.js → chunk-n0h0z7yh.js} +11 -11
  17. package/dist/{chunk-a31qjdsm.js → chunk-p8akhcme.js} +7 -7
  18. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  19. package/dist/{chunk-tdp34kqg.js → chunk-qp5cdtsr.js} +19 -19
  20. package/dist/{chunk-byhwksbq.js → chunk-rm83dbpv.js} +2 -2
  21. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  22. package/dist/{chunk-s2d1a2my.js → chunk-t6w469gd.js} +7 -7
  23. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  24. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  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-dk0ftqwg.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,22 @@ 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-1rry0tsn.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) => {
@@ -2951,7 +2960,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2951
2960
  });
2952
2961
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2953
2962
  const patterns = Array.isArray(key) ? key : [key];
2954
- 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]);
2955
2964
  });
2956
2965
  var isRedactedName2 = isRedactedName;
2957
2966
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3027,7 +3036,7 @@ import * as readline from "readline";
3027
3036
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3028
3037
  const stdin = process.stdin;
3029
3038
  const stdout = process.stdout;
3030
- const lines = yield* make8();
3039
+ const lines = yield* make9();
3031
3040
  let inputEnded = stdin.readableEnded;
3032
3041
  let readlineActive = false;
3033
3042
  const onStdinEnd = () => {
@@ -3038,7 +3047,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3038
3047
  };
3039
3048
  stdin.once("end", onStdinEnd);
3040
3049
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3041
- const rlRef = yield* make9({
3050
+ const rlRef = yield* make10({
3042
3051
  acquire: acquireRelease(sync2(() => {
3043
3052
  const rl = readline.createInterface({
3044
3053
  input: stdin,
@@ -3077,7 +3086,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3077
3086
  if (stdin.isTTY)
3078
3087
  stdin.setRawMode(enabled);
3079
3088
  });
3080
- const rawModeRef = yield* make9({
3089
+ const rawModeRef = yield* make10({
3081
3090
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3082
3091
  idleTimeToLive: "10 millis"
3083
3092
  });
@@ -3098,7 +3107,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3098
3107
  return queue;
3099
3108
  });
3100
3109
  const readInput = gen(function* () {
3101
- const queue = yield* make8();
3110
+ const queue = yield* make9();
3102
3111
  const handleKeypress = (s, k) => {
3103
3112
  const userInput = {
3104
3113
  input: fromUndefinedOr(s),
@@ -9487,13 +9496,13 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9487
9496
  return self;
9488
9497
  }
9489
9498
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9490
- var make4 = (method) => (url, options) => modify(empty6, {
9499
+ var make5 = (method) => (url, options) => modify(empty6, {
9491
9500
  method,
9492
9501
  url,
9493
9502
  ...options ?? undefined
9494
9503
  });
9495
- var get = /* @__PURE__ */ make4("GET");
9496
- var put = /* @__PURE__ */ make4("PUT");
9504
+ var get = /* @__PURE__ */ make5("GET");
9505
+ var put = /* @__PURE__ */ make5("PUT");
9497
9506
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9498
9507
  let result = self;
9499
9508
  if (options.method) {
@@ -9792,7 +9801,7 @@ var Proto7 = {
9792
9801
  };
9793
9802
  },
9794
9803
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
9795
- return this.execute(make4(fullMethod)(url, options));
9804
+ return this.execute(make5(fullMethod)(url, options));
9796
9805
  }]))
9797
9806
  };
9798
9807
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13384,7 +13393,7 @@ var makeProto = (options) => {
13384
13393
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13385
13394
  return Rpc;
13386
13395
  };
13387
- var make5 = (tag, options) => {
13396
+ var make6 = (tag, options) => {
13388
13397
  const successSchema = options?.success ?? Void;
13389
13398
  const errorSchema = options?.error ?? Never;
13390
13399
  const defectSchema = options?.defect ?? Defect();
@@ -13595,7 +13604,7 @@ var RpcGroupProto = {
13595
13604
  });
13596
13605
  },
13597
13606
  annotateRpcs(service, value) {
13598
- return this.annotateRpcsMerge(make14(service, value));
13607
+ return this.annotateRpcsMerge(make15(service, value));
13599
13608
  },
13600
13609
  annotateMerge(context) {
13601
13610
  return makeProto2({
@@ -13618,7 +13627,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13618
13627
  requests: options.requests,
13619
13628
  annotations: options.annotations
13620
13629
  });
13621
- var make6 = (...rpcs) => makeProto2({
13630
+ var make7 = (...rpcs) => makeProto2({
13622
13631
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13623
13632
  annotations: empty3()
13624
13633
  });
@@ -13725,96 +13734,96 @@ var ProgramOutcome = Union([
13725
13734
  Struct({ status: Literal("failed"), failureSummary: String4 })
13726
13735
  ]);
13727
13736
 
13728
- class RunnerReplicaRpcs extends make6(make5("Claim", {
13737
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
13729
13738
  payload: WorkUnitClaimInput,
13730
13739
  success: WorkUnitClaimResult,
13731
13740
  error: RunnerRpcError
13732
- }), make5("Heartbeat", {
13741
+ }), make6("Heartbeat", {
13733
13742
  payload: WorkUnitHeartbeatInput,
13734
13743
  success: WorkUnitHeartbeatResult,
13735
13744
  error: RunnerRpcError
13736
- }), make5("Complete", {
13745
+ }), make6("Complete", {
13737
13746
  payload: WorkUnitCompletion,
13738
13747
  error: RunnerRpcError
13739
- }), make5("Release", {
13748
+ }), make6("Release", {
13740
13749
  payload: WorkUnitReleaseInput,
13741
13750
  error: RunnerRpcError
13742
- }), make5("Signals", {
13751
+ }), make6("Signals", {
13743
13752
  payload: { runnerReplicaId: String4 },
13744
13753
  success: RunnerSignal,
13745
13754
  error: RunnerRpcError,
13746
13755
  stream: true
13747
- }), make5("ReportSteer", {
13756
+ }), make6("ReportSteer", {
13748
13757
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13749
13758
  success: Void,
13750
13759
  error: RunnerRpcError
13751
- }), make5("AppendTranscript", {
13760
+ }), make6("AppendTranscript", {
13752
13761
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13753
13762
  success: Void,
13754
13763
  error: RunnerRpcError
13755
- }), make5("CreateCheckpointFile", {
13764
+ }), make6("CreateCheckpointFile", {
13756
13765
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13757
13766
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13758
13767
  error: Union([RunnerRpcError, RunFileRefused])
13759
- }), make5("CheckpointFileParts", {
13768
+ }), make6("CheckpointFileParts", {
13760
13769
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13761
13770
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13762
13771
  error: RunnerRpcError
13763
- }), make5("CompleteCheckpointFile", {
13772
+ }), make6("CompleteCheckpointFile", {
13764
13773
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
13765
13774
  success: RunFileRecord,
13766
13775
  error: RunnerRpcError
13767
- }), make5("SaveCheckpoint", {
13776
+ }), make6("SaveCheckpoint", {
13768
13777
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
13769
13778
  success: Void,
13770
13779
  error: RunnerRpcError
13771
- }), make5("ResumeCheckpoint", {
13780
+ }), make6("ResumeCheckpoint", {
13772
13781
  payload: { lease: ProgramLease },
13773
13782
  success: UndefinedOr(ResumedCheckpoint),
13774
13783
  error: RunnerRpcError
13775
- }), make5("SettledCheckpoints", {
13784
+ }), make6("SettledCheckpoints", {
13776
13785
  success: ArraySchema(Struct({
13777
13786
  stepAttemptId: String4,
13778
13787
  ref: optionalKey(String4),
13779
13788
  repoBinding: optionalKey(WorkUnitRepoBinding)
13780
13789
  })),
13781
13790
  error: RunnerRpcError
13782
- }), make5("ForgetCheckpoints", {
13791
+ }), make6("ForgetCheckpoints", {
13783
13792
  payload: { stepAttemptIds: ArraySchema(String4) },
13784
13793
  success: Void,
13785
13794
  error: RunnerRpcError
13786
- }), make5("GitCredential", {
13795
+ }), make6("GitCredential", {
13787
13796
  payload: { repoBindingId: String4 },
13788
13797
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
13789
13798
  error: RunnerRpcError
13790
- }), make5("Bundle", {
13799
+ }), make6("Bundle", {
13791
13800
  payload: { digest: String4 },
13792
13801
  success: Struct({ bundle: String4 }),
13793
13802
  error: RunnerRpcError
13794
- }), make5("SettledRuns", {
13803
+ }), make6("SettledRuns", {
13795
13804
  payload: { runIds: ArraySchema(String4) },
13796
13805
  success: ArraySchema(String4),
13797
13806
  error: RunnerRpcError
13798
- }), make5("KnownEvidence", {
13807
+ }), make6("KnownEvidence", {
13799
13808
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
13800
13809
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
13801
13810
  error: RunnerRpcError
13802
13811
  })).middleware(RunnerAuthentication) {
13803
13812
  }
13804
13813
 
13805
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
13814
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
13806
13815
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
13807
13816
  error: RunnerRpcError
13808
- }), make5("DeferredDone", {
13817
+ }), make6("DeferredDone", {
13809
13818
  payload: { lease: ProgramLease, name: String4, exit: Json },
13810
13819
  error: RunnerRpcError
13811
- }), make5("ScheduleClock", {
13820
+ }), make6("ScheduleClock", {
13812
13821
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
13813
13822
  error: RunnerRpcError
13814
- }), 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) {
13815
13824
  }
13816
13825
 
13817
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13826
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
13818
13827
  payload: {
13819
13828
  lease: ProgramLease,
13820
13829
  step: String4,
@@ -13832,7 +13841,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13832
13841
  },
13833
13842
  success: Struct({ questionId: String4 }),
13834
13843
  error: RunnerRpcError
13835
- }), make5("StartAgentStep", {
13844
+ }), make6("StartAgentStep", {
13836
13845
  payload: {
13837
13846
  lease: ProgramLease,
13838
13847
  step: String4,
@@ -13848,7 +13857,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13848
13857
  },
13849
13858
  success: Struct({ stepAttemptId: String4 }),
13850
13859
  error: RunnerRpcError
13851
- }), make5("StartVerification", {
13860
+ }), make6("StartVerification", {
13852
13861
  payload: {
13853
13862
  lease: ProgramLease,
13854
13863
  step: String4,
@@ -13865,7 +13874,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13865
13874
  },
13866
13875
  success: Struct({ verificationId: String4 }),
13867
13876
  error: RunnerRpcError
13868
- }), make5("AwaitEvent", {
13877
+ }), make6("AwaitEvent", {
13869
13878
  payload: {
13870
13879
  lease: ProgramLease,
13871
13880
  step: String4,
@@ -13881,7 +13890,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13881
13890
  })))
13882
13891
  },
13883
13892
  error: RunnerRpcError
13884
- }), make5("ClaimResource", {
13893
+ }), make6("ClaimResource", {
13885
13894
  payload: {
13886
13895
  lease: ProgramLease,
13887
13896
  step: String4,
@@ -13890,7 +13899,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13890
13899
  action: Literals(["claim", "take_over", "let_go"])
13891
13900
  },
13892
13901
  error: RunnerRpcError
13893
- }), make5("AdmitChild", {
13902
+ }), make6("AdmitChild", {
13894
13903
  payload: {
13895
13904
  lease: ProgramLease,
13896
13905
  step: String4,
@@ -13900,7 +13909,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13900
13909
  },
13901
13910
  success: Struct({ runId: String4 }),
13902
13911
  error: RunnerRpcError
13903
- }), make5("StoreArtifact", {
13912
+ }), make6("StoreArtifact", {
13904
13913
  payload: {
13905
13914
  lease: ProgramLease,
13906
13915
  step: String4,
@@ -13912,7 +13921,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13912
13921
  },
13913
13922
  success: Struct({ artifactId: String4 }),
13914
13923
  error: RunnerRpcError
13915
- }), make5("RecordNote", {
13924
+ }), make6("RecordNote", {
13916
13925
  payload: {
13917
13926
  lease: ProgramLease,
13918
13927
  step: String4,
@@ -13920,7 +13929,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13920
13929
  artifactId: optional(String4)
13921
13930
  },
13922
13931
  error: RunnerRpcError
13923
- }), make5("PerformHostEffect", {
13932
+ }), make6("PerformHostEffect", {
13924
13933
  payload: {
13925
13934
  lease: ProgramLease,
13926
13935
  step: String4,
@@ -13948,7 +13957,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13948
13957
  },
13949
13958
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
13950
13959
  error: RunnerRpcError
13951
- }), make5("AlertTask", {
13960
+ }), make6("AlertTask", {
13952
13961
  payload: {
13953
13962
  lease: ProgramLease,
13954
13963
  step: String4,
@@ -13965,7 +13974,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13965
13974
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
13966
13975
  }),
13967
13976
  error: RunnerRpcError
13968
- }), make5("ReadTranscripts", {
13977
+ }), make6("ReadTranscripts", {
13969
13978
  payload: { lease: ProgramLease, step: String4, days: Int },
13970
13979
  success: Struct({
13971
13980
  runs: ArraySchema(Struct({
@@ -13984,7 +13993,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
13984
13993
  }))
13985
13994
  }),
13986
13995
  error: RunnerRpcError
13987
- }), make5("PipelineStatus", {
13996
+ }), make6("PipelineStatus", {
13988
13997
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
13989
13998
  success: Struct({
13990
13999
  head: String4,
@@ -14000,11 +14009,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14000
14009
  runnerChecks: optionalKey(ArraySchema(String4))
14001
14010
  }),
14002
14011
  error: RunnerRpcError
14003
- }), make5("ReportPipeline", {
14012
+ }), make6("ReportPipeline", {
14004
14013
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14005
14014
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14006
14015
  error: RunnerRpcError
14007
- }), make5("ReviewThreads", {
14016
+ }), make6("ReviewThreads", {
14008
14017
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14009
14018
  success: Struct({
14010
14019
  threads: ArraySchema(Struct({
@@ -14016,7 +14025,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14016
14025
  }))
14017
14026
  }),
14018
14027
  error: RunnerRpcError
14019
- }), make5("OpenChangeRequests", {
14028
+ }), make6("OpenChangeRequests", {
14020
14029
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14021
14030
  success: Struct({
14022
14031
  changeRequests: ArraySchema(Struct({
@@ -14030,7 +14039,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14030
14039
  }))
14031
14040
  }),
14032
14041
  error: RunnerRpcError
14033
- }), make5("OwnChangeRequests", {
14042
+ }), make6("OwnChangeRequests", {
14034
14043
  payload: { lease: ProgramLease, step: String4 },
14035
14044
  success: Struct({
14036
14045
  changeRequests: ArraySchema(Struct({
@@ -14043,7 +14052,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14043
14052
  }))
14044
14053
  }),
14045
14054
  error: RunnerRpcError
14046
- }), make5("Propose", {
14055
+ }), make6("Propose", {
14047
14056
  payload: {
14048
14057
  lease: ProgramLease,
14049
14058
  step: String4,
@@ -14070,7 +14079,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14070
14079
  matched: optionalKey(Boolean2)
14071
14080
  }),
14072
14081
  error: RunnerRpcError
14073
- }), make5("ReadProject", {
14082
+ }), make6("ReadProject", {
14074
14083
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14075
14084
  success: Struct({
14076
14085
  project: Struct({ id: String4, name: String4 }),
@@ -14093,7 +14102,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14093
14102
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14094
14103
  }),
14095
14104
  error: RunnerRpcError
14096
- }), make5("DraftUpdate", {
14105
+ }), make6("DraftUpdate", {
14097
14106
  payload: {
14098
14107
  lease: ProgramLease,
14099
14108
  step: String4,
@@ -14108,7 +14117,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14108
14117
  },
14109
14118
  success: Struct({ id: String4 }),
14110
14119
  error: RunnerRpcError
14111
- }), make5("CreatePlanTasks", {
14120
+ }), make6("CreatePlanTasks", {
14112
14121
  payload: {
14113
14122
  lease: ProgramLease,
14114
14123
  projectId: optionalKey(String4),
@@ -14123,11 +14132,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14123
14132
  },
14124
14133
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14125
14134
  error: RunnerRpcError
14126
- }), make5("IntegrationBranch", {
14135
+ }), make6("IntegrationBranch", {
14127
14136
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14128
14137
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14129
14138
  error: RunnerRpcError
14130
- }), make5("MergeChangeRequest", {
14139
+ }), make6("MergeChangeRequest", {
14131
14140
  payload: {
14132
14141
  lease: ProgramLease,
14133
14142
  step: String4,
@@ -14140,7 +14149,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14140
14149
  Struct({ status: Literal("moved"), head: String4 })
14141
14150
  ]),
14142
14151
  error: RunnerRpcError
14143
- }), make5("ApproveChangeRequest", {
14152
+ }), make6("ApproveChangeRequest", {
14144
14153
  payload: {
14145
14154
  lease: ProgramLease,
14146
14155
  step: String4,
@@ -14155,7 +14164,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14155
14164
  Struct({ approved: Literal(false), reason: String4 })
14156
14165
  ]),
14157
14166
  error: RunnerRpcError
14158
- }), make5("CloseChangeRequest", {
14167
+ }), make6("CloseChangeRequest", {
14159
14168
  payload: {
14160
14169
  lease: ProgramLease,
14161
14170
  step: String4,
@@ -14165,7 +14174,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14165
14174
  },
14166
14175
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14167
14176
  error: RunnerRpcError
14168
- }), make5("RerunPipeline", {
14177
+ }), make6("RerunPipeline", {
14169
14178
  payload: {
14170
14179
  lease: ProgramLease,
14171
14180
  step: String4,
@@ -14175,7 +14184,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14175
14184
  },
14176
14185
  success: Struct({ head: String4, pipelines: Int }),
14177
14186
  error: RunnerRpcError
14178
- }), make5("PublishRelease", {
14187
+ }), make6("PublishRelease", {
14179
14188
  payload: {
14180
14189
  lease: ProgramLease,
14181
14190
  step: String4,
@@ -14186,14 +14195,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14186
14195
  },
14187
14196
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14188
14197
  error: RunnerRpcError
14189
- }), make5("ProgramSecrets", {
14198
+ }), make6("ProgramSecrets", {
14190
14199
  payload: { lease: ProgramLease },
14191
14200
  success: Record(String4, String4),
14192
14201
  error: RunnerRpcError
14193
14202
  })).middleware(RunnerAuthentication) {
14194
14203
  }
14195
14204
 
14196
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14205
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14197
14206
  payload: {
14198
14207
  lease: ProgramLease,
14199
14208
  step: String4,
@@ -14205,11 +14214,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14205
14214
  },
14206
14215
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14207
14216
  error: Union([RunnerRpcError, RunFileRefused])
14208
- }), make5("RunFileParts", {
14217
+ }), make6("RunFileParts", {
14209
14218
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14210
14219
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14211
14220
  error: RunnerRpcError
14212
- }), make5("CompleteRunFile", {
14221
+ }), make6("CompleteRunFile", {
14213
14222
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14214
14223
  success: RunFileRecord,
14215
14224
  error: RunnerRpcError
@@ -14298,7 +14307,7 @@ function toStoredSession(token, existingRefreshToken) {
14298
14307
  }
14299
14308
  function startLoopbackServer(input) {
14300
14309
  return gen(function* () {
14301
- const code = yield* make15();
14310
+ const code = yield* make16();
14302
14311
  const context2 = yield* context();
14303
14312
  const runSyncExit = runSyncExitWith(context2);
14304
14313
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -14838,7 +14847,7 @@ var openConnection = (transport) => gen(function* () {
14838
14847
  let lastId = 0;
14839
14848
  let lost = false;
14840
14849
  const notifications = yield* unbounded2();
14841
- const ended = yield* make15();
14850
+ const ended = yield* make16();
14842
14851
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
14843
14852
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
14844
14853
  onNone: () => void_3,
@@ -14865,7 +14874,7 @@ var openConnection = (transport) => gen(function* () {
14865
14874
  if (lost)
14866
14875
  return yield* new HerdrCoreConnectionLost2({ method });
14867
14876
  const id = ++lastId;
14868
- const deferred = yield* make15();
14877
+ const deferred = yield* make16();
14869
14878
  pending.set(id, { method, deferred });
14870
14879
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
14871
14880
  return yield* _await(deferred);
@@ -14939,14 +14948,14 @@ var herdrCoreOver = (transport) => ({
14939
14948
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
14940
14949
  };
14941
14950
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
14942
- 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)));
14943
14952
  }))
14944
14953
  });
14945
14954
  var spawnedTransport = (env) => gen(function* () {
14946
14955
  const spawner = yield* ChildProcessSpawner;
14947
14956
  const input = yield* unbounded2();
14948
14957
  const encoder = new TextEncoder;
14949
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
14958
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
14950
14959
  extendEnv: false,
14951
14960
  env,
14952
14961
  stdin: fromQueue(input),
@@ -14977,7 +14986,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
14977
14986
  const spawner = yield* ChildProcessSpawner;
14978
14987
  const env = coreEnv(options);
14979
14988
  const run = (args) => gen(function* () {
14980
- 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" }));
14981
14990
  const [stdout, stderr, exitCode] = yield* all3([
14982
14991
  mkString(decodeText(handle.stdout)),
14983
14992
  mkString(decodeText(handle.stderr)),
@@ -15003,7 +15012,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15003
15012
  }
15004
15013
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15005
15014
  const spawner = yield* ChildProcessSpawner;
15006
- const handle = yield* spawner.spawn(make2(command, args, {
15015
+ const handle = yield* spawner.spawn(make3(command, args, {
15007
15016
  stdin: "ignore",
15008
15017
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15009
15018
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15029,8 +15038,8 @@ var shellOutputTailChars2 = 64 * 1024;
15029
15038
  var runProcess2 = (argv, options) => gen(function* () {
15030
15039
  const spawner = yield* ChildProcessSpawner;
15031
15040
  const [command, ...args] = argv;
15032
- const handle = yield* spawner.spawn(make2(command, args, {
15033
- 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)),
15034
15043
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15035
15044
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15036
15045
  }));
@@ -15452,4 +15461,4 @@ function checkServices(declaration) {
15452
15461
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15453
15462
  }
15454
15463
 
15455
- 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 };