@kitman-sh/cli 0.10.60 → 0.10.61

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