@kitman-sh/cli 0.10.63 → 0.10.64

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