@kitman-sh/cli 0.13.10 → 0.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-t82w7459.js → chunk-0h49y8gf.js} +17 -26
  2. package/dist/{chunk-kj1zjrs9.js → chunk-3rkhx6gq.js} +6 -6
  3. package/dist/{chunk-d4pxty7x.js → chunk-5an78wy8.js} +5 -5
  4. package/dist/{chunk-kk32jckf.js → chunk-5zhh41gb.js} +4 -4
  5. package/dist/{chunk-4crf5vhd.js → chunk-5zth85pj.js} +2 -2
  6. package/dist/{chunk-j34gensq.js → chunk-7rpd6a98.js} +1 -1
  7. package/dist/{chunk-jkddgvev.js → chunk-acneym1p.js} +30 -30
  8. package/dist/{chunk-mtdz4k32.js → chunk-cbpb2rww.js} +10 -10
  9. package/dist/{chunk-rz01craf.js → chunk-dtkejy3r.js} +118 -108
  10. package/dist/{chunk-bkecckjn.js → chunk-fcb6skhx.js} +10 -10
  11. package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
  12. package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
  13. package/dist/{chunk-0nh3w4vn.js → chunk-h7mnz0w3.js} +7 -7
  14. package/dist/{chunk-s00cj5sw.js → chunk-j48k8j8y.js} +4 -4
  15. package/dist/{chunk-813vn8sn.js → chunk-jyq4790r.js} +18 -18
  16. package/dist/{chunk-2dwqak36.js → chunk-krqb80g6.js} +9 -9
  17. package/dist/{chunk-vxfajzpz.js → chunk-mtkstrh3.js} +60 -14
  18. package/dist/{chunk-r5v7df8h.js → chunk-mx3zt8v8.js} +61 -61
  19. package/dist/{chunk-6n3m0t02.js → chunk-p0vqjc0n.js} +2 -2
  20. package/dist/{chunk-6x4wkf0x.js → chunk-p8fhxfa0.js} +3 -3
  21. package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
  22. package/dist/{chunk-c60xk73g.js → chunk-rh9g6sef.js} +21 -21
  23. package/dist/{chunk-hkg8s472.js → chunk-xzfj61cp.js} +7 -7
  24. package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
  25. package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make13,
41
+ make14,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make14,
61
+ make15,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -91,7 +91,7 @@ import {
91
91
  fail4,
92
92
  isSuccess2,
93
93
  makeUnsafe5,
94
- make15,
94
+ make16,
95
95
  _await,
96
96
  fail5,
97
97
  isDone,
@@ -194,9 +194,6 @@ import {
194
194
  logError,
195
195
  effectify,
196
196
  decode,
197
- isRedacted,
198
- make16,
199
- value,
200
197
  defaultParseOptions,
201
198
  omit,
202
199
  map9,
@@ -264,18 +261,17 @@ import {
264
261
  decodeJsonStringOption,
265
262
  encodeJsonStringSync,
266
263
  encodePrettyJsonString
267
- } from "./chunk-zgraq2y3.js";
264
+ } from "./chunk-zw3gf6r5.js";
268
265
  import {
269
266
  map,
270
267
  makeEquivalence,
271
- toNumber,
272
268
  bytes,
273
269
  BadArgument,
274
270
  systemError,
275
271
  badArgument,
276
272
  makeUnsafe2,
277
- make7,
278
273
  make8,
274
+ make9,
279
275
  sliding,
280
276
  unbounded2,
281
277
  offer,
@@ -291,13 +287,13 @@ import {
291
287
  isSink,
292
288
  fromChannel,
293
289
  drain,
294
- make9,
290
+ make10,
295
291
  get3,
296
292
  isStream,
297
293
  fromChannel2,
298
294
  callback,
299
295
  empty2,
300
- make10,
296
+ make11,
301
297
  suspend,
302
298
  fail2,
303
299
  fromQueue,
@@ -323,16 +319,16 @@ import {
323
319
  mkArrayBuffer,
324
320
  toReadableStreamEffect,
325
321
  FileSystem,
326
- make11,
322
+ make12,
327
323
  FileTypeId,
328
324
  WatchBackend,
329
325
  Path,
330
- make12,
326
+ make13,
331
327
  option,
332
328
  String2,
333
329
  optionalEnv,
334
330
  harnessesUnsupportedInSrt2
335
- } from "./chunk-t82w7459.js";
331
+ } from "./chunk-0h49y8gf.js";
336
332
  import {
337
333
  isDateTime,
338
334
  Numeric,
@@ -345,18 +341,21 @@ import {
345
341
  SecretScope,
346
342
  SecretHosts,
347
343
  isSecretReference
348
- } from "./chunk-pxvd8w2v.js";
344
+ } from "./chunk-q5w3v4k1.js";
349
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
350
349
  ExitCode,
351
350
  ProcessId,
352
351
  makeHandle,
353
- make,
352
+ make2,
354
353
  ChildProcessSpawner,
355
354
  display,
356
- make2,
355
+ make3,
357
356
  parseFdName,
358
357
  fdName
359
- } from "./chunk-vxfajzpz.js";
358
+ } from "./chunk-mtkstrh3.js";
360
359
 
361
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
362
361
  var makeEquivalence3 = Tuple;
@@ -519,7 +518,7 @@ var makeUnsafe6 = (input) => {
519
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
520
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
521
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
522
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
524
523
  var nowUnsafe = () => makeUtc(Date.now());
525
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -898,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
898
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
899
898
  var runMain = runMain2;
900
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
901
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
902
910
  var makeUnsafe = makeUnsafe6;
903
- var make18 = make3;
911
+ var make18 = make4;
904
912
  var now2 = now;
905
913
  var nowUnsafe2 = nowUnsafe;
906
914
  var toDateUtc2 = toDateUtc;
@@ -1115,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1115
1123
  const readable = options.readable;
1116
1124
  const chunkSize = options.chunkSize ?? 4096;
1117
1125
  const closeOnDone = options.closeOnDone ?? true;
1118
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1119
1127
  const latch = options.latch ?? makeUnsafe2(false);
1120
1128
  function onReadable() {
1121
1129
  latch.openUnsafe();
@@ -1679,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1679
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1680
1688
  const toOption = options.to ?? "stdin";
1681
1689
  if (toOption === "stdin") {
1682
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1683
1691
  ...command.options,
1684
1692
  stdin: {
1685
1693
  ...stdinConfig,
@@ -1699,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1699
1707
  type: "input",
1700
1708
  stream: sourceStream
1701
1709
  };
1702
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1703
1711
  ...command.options,
1704
1712
  additionalFds: {
1705
1713
  ...existingFds,
@@ -1707,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1715
  }
1708
1716
  })));
1709
1717
  } else {
1710
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1711
1719
  ...command.options,
1712
1720
  stdin: {
1713
1721
  ...stdinConfig,
@@ -1746,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1746
1754
  }
1747
1755
  }
1748
1756
  });
1749
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1750
1758
  });
1751
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1752
1760
  var flattenCommand = (command) => {
@@ -2232,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2232
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2233
2241
  }
2234
2242
  });
2235
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2236
2244
  access: access2,
2237
2245
  chmod: chmod2,
2238
2246
  chown: chown2,
@@ -2292,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2292
2300
  })
2293
2301
  })
2294
2302
  });
2295
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2296
2304
  ...NodePath.posix,
2297
2305
  .../* @__PURE__ */ fileUrlOps(false)
2298
2306
  }));
2299
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2300
2308
  ...NodePath.win32,
2301
2309
  .../* @__PURE__ */ fileUrlOps(true)
2302
2310
  }));
2303
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2304
2312
  ...NodePath,
2305
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2306
2314
  }));
@@ -2822,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2822
2830
  if (typeof key === "string") {
2823
2831
  const k = key.toLowerCase();
2824
2832
  if (k in self) {
2825
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2826
2834
  }
2827
2835
  } else {
2828
2836
  for (const name in self) {
2829
2837
  if (name.search(key) !== -1) {
2830
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2831
2839
  }
2832
2840
  }
2833
2841
  }
@@ -2934,7 +2942,7 @@ var fromInputNested = (input) => {
2934
2942
  return out;
2935
2943
  };
2936
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2937
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2938
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2939
2947
  var empty4 = /* @__PURE__ */ make23([]);
2940
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2953,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2953
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2954
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2955
2963
  const patterns = Array.isArray(key) ? key : [key];
2956
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2964
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2957
2965
  });
2958
2966
  var isRedactedName2 = isRedactedName;
2959
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3029,7 +3037,7 @@ import * as readline from "readline";
3029
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3030
3038
  const stdin = process.stdin;
3031
3039
  const stdout = process.stdout;
3032
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3033
3041
  let inputEnded = stdin.readableEnded;
3034
3042
  let readlineActive = false;
3035
3043
  const onStdinEnd = () => {
@@ -3040,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3040
3048
  };
3041
3049
  stdin.once("end", onStdinEnd);
3042
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3043
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3044
3052
  acquire: acquireRelease(sync2(() => {
3045
3053
  const rl = readline.createInterface({
3046
3054
  input: stdin,
@@ -3079,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3079
3087
  if (stdin.isTTY)
3080
3088
  stdin.setRawMode(enabled);
3081
3089
  });
3082
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3083
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3084
3092
  idleTimeToLive: "10 millis"
3085
3093
  });
@@ -3100,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3100
3108
  return queue;
3101
3109
  });
3102
3110
  const readInput = gen(function* () {
3103
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3104
3112
  const handleKeypress = (s, k) => {
3105
3113
  const userInput = {
3106
3114
  input: fromUndefinedOr(s),
@@ -6508,6 +6516,8 @@ var RunStepSummary = Struct({
6508
6516
  failureSummary: optionalKey(String4),
6509
6517
  output: optionalKey(Unknown),
6510
6518
  revision: optionalKey(String4),
6519
+ harness: optionalKey(String4),
6520
+ model: optionalKey(String4),
6511
6521
  tokens: optionalKey(AttemptTokens)
6512
6522
  })),
6513
6523
  tokens: optionalKey(TokenUsage)
@@ -9959,14 +9969,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9959
9969
  return self;
9960
9970
  }
9961
9971
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9962
- var make4 = (method) => (url, options) => modify(empty6, {
9972
+ var make5 = (method) => (url, options) => modify(empty6, {
9963
9973
  method,
9964
9974
  url,
9965
9975
  ...options ?? undefined
9966
9976
  });
9967
- var get = /* @__PURE__ */ make4("GET");
9968
- var post = /* @__PURE__ */ make4("POST");
9969
- var put = /* @__PURE__ */ make4("PUT");
9977
+ var get = /* @__PURE__ */ make5("GET");
9978
+ var post = /* @__PURE__ */ make5("POST");
9979
+ var put = /* @__PURE__ */ make5("PUT");
9970
9980
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9971
9981
  let result = self;
9972
9982
  if (options.method) {
@@ -10267,7 +10277,7 @@ var Proto7 = {
10267
10277
  };
10268
10278
  },
10269
10279
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10270
- return this.execute(make4(fullMethod)(url, options));
10280
+ return this.execute(make5(fullMethod)(url, options));
10271
10281
  }]))
10272
10282
  };
10273
10283
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13977,7 +13987,7 @@ var makeProto = (options) => {
13977
13987
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13978
13988
  return Rpc;
13979
13989
  };
13980
- var make5 = (tag, options) => {
13990
+ var make6 = (tag, options) => {
13981
13991
  const successSchema = options?.success ?? Void;
13982
13992
  const errorSchema = options?.error ?? Never;
13983
13993
  const defectSchema = options?.defect ?? Defect();
@@ -14188,7 +14198,7 @@ var RpcGroupProto = {
14188
14198
  });
14189
14199
  },
14190
14200
  annotateRpcs(service, value) {
14191
- return this.annotateRpcsMerge(make14(service, value));
14201
+ return this.annotateRpcsMerge(make15(service, value));
14192
14202
  },
14193
14203
  annotateMerge(context) {
14194
14204
  return makeProto2({
@@ -14211,7 +14221,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14211
14221
  requests: options.requests,
14212
14222
  annotations: options.annotations
14213
14223
  });
14214
- var make6 = (...rpcs) => makeProto2({
14224
+ var make7 = (...rpcs) => makeProto2({
14215
14225
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14216
14226
  annotations: empty3()
14217
14227
  });
@@ -14317,96 +14327,96 @@ var ProgramOutcome = Union([
14317
14327
  Struct({ status: Literal("failed"), failureSummary: String4 })
14318
14328
  ]);
14319
14329
 
14320
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14330
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14321
14331
  payload: WorkUnitClaimInput,
14322
14332
  success: WorkUnitClaimResult,
14323
14333
  error: RunnerRpcError
14324
- }), make5("Heartbeat", {
14334
+ }), make6("Heartbeat", {
14325
14335
  payload: WorkUnitHeartbeatInput,
14326
14336
  success: WorkUnitHeartbeatResult,
14327
14337
  error: RunnerRpcError
14328
- }), make5("Complete", {
14338
+ }), make6("Complete", {
14329
14339
  payload: WorkUnitCompletion,
14330
14340
  error: RunnerRpcError
14331
- }), make5("Release", {
14341
+ }), make6("Release", {
14332
14342
  payload: WorkUnitReleaseInput,
14333
14343
  error: RunnerRpcError
14334
- }), make5("Signals", {
14344
+ }), make6("Signals", {
14335
14345
  payload: { runnerReplicaId: String4 },
14336
14346
  success: RunnerSignal,
14337
14347
  error: RunnerRpcError,
14338
14348
  stream: true
14339
- }), make5("ReportSteer", {
14349
+ }), make6("ReportSteer", {
14340
14350
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14341
14351
  success: Void,
14342
14352
  error: RunnerRpcError
14343
- }), make5("AppendTranscript", {
14353
+ }), make6("AppendTranscript", {
14344
14354
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14345
14355
  success: Void,
14346
14356
  error: RunnerRpcError
14347
- }), make5("CreateCheckpointFile", {
14357
+ }), make6("CreateCheckpointFile", {
14348
14358
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14349
14359
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14350
14360
  error: Union([RunnerRpcError, RunFileRefused])
14351
- }), make5("CheckpointFileParts", {
14361
+ }), make6("CheckpointFileParts", {
14352
14362
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14353
14363
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14354
14364
  error: RunnerRpcError
14355
- }), make5("CompleteCheckpointFile", {
14365
+ }), make6("CompleteCheckpointFile", {
14356
14366
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14357
14367
  success: RunFileRecord,
14358
14368
  error: RunnerRpcError
14359
- }), make5("SaveCheckpoint", {
14369
+ }), make6("SaveCheckpoint", {
14360
14370
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14361
14371
  success: Void,
14362
14372
  error: RunnerRpcError
14363
- }), make5("ResumeCheckpoint", {
14373
+ }), make6("ResumeCheckpoint", {
14364
14374
  payload: { lease: ProgramLease },
14365
14375
  success: UndefinedOr(ResumedCheckpoint),
14366
14376
  error: RunnerRpcError
14367
- }), make5("SettledCheckpoints", {
14377
+ }), make6("SettledCheckpoints", {
14368
14378
  success: ArraySchema(Struct({
14369
14379
  stepAttemptId: String4,
14370
14380
  ref: optionalKey(String4),
14371
14381
  repoBinding: optionalKey(WorkUnitRepoBinding)
14372
14382
  })),
14373
14383
  error: RunnerRpcError
14374
- }), make5("ForgetCheckpoints", {
14384
+ }), make6("ForgetCheckpoints", {
14375
14385
  payload: { stepAttemptIds: ArraySchema(String4) },
14376
14386
  success: Void,
14377
14387
  error: RunnerRpcError
14378
- }), make5("GitCredential", {
14388
+ }), make6("GitCredential", {
14379
14389
  payload: { repoBindingId: String4 },
14380
14390
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14381
14391
  error: RunnerRpcError
14382
- }), make5("Bundle", {
14392
+ }), make6("Bundle", {
14383
14393
  payload: { digest: String4 },
14384
14394
  success: Struct({ bundle: String4 }),
14385
14395
  error: RunnerRpcError
14386
- }), make5("SettledRuns", {
14396
+ }), make6("SettledRuns", {
14387
14397
  payload: { runIds: ArraySchema(String4) },
14388
14398
  success: ArraySchema(String4),
14389
14399
  error: RunnerRpcError
14390
- }), make5("KnownEvidence", {
14400
+ }), make6("KnownEvidence", {
14391
14401
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14392
14402
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14393
14403
  error: RunnerRpcError
14394
14404
  })).middleware(RunnerAuthentication) {
14395
14405
  }
14396
14406
 
14397
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14407
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14398
14408
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14399
14409
  error: RunnerRpcError
14400
- }), make5("DeferredDone", {
14410
+ }), make6("DeferredDone", {
14401
14411
  payload: { lease: ProgramLease, name: String4, exit: Json },
14402
14412
  error: RunnerRpcError
14403
- }), make5("ScheduleClock", {
14413
+ }), make6("ScheduleClock", {
14404
14414
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14405
14415
  error: RunnerRpcError
14406
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14416
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14407
14417
  }
14408
14418
 
14409
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14419
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14410
14420
  payload: {
14411
14421
  lease: ProgramLease,
14412
14422
  step: String4,
@@ -14426,7 +14436,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14426
14436
  },
14427
14437
  success: Struct({ questionId: String4 }),
14428
14438
  error: RunnerRpcError
14429
- }), make5("StartAgentStep", {
14439
+ }), make6("StartAgentStep", {
14430
14440
  payload: {
14431
14441
  lease: ProgramLease,
14432
14442
  step: String4,
@@ -14442,7 +14452,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14442
14452
  },
14443
14453
  success: Struct({ stepAttemptId: String4 }),
14444
14454
  error: RunnerRpcError
14445
- }), make5("StartVerification", {
14455
+ }), make6("StartVerification", {
14446
14456
  payload: {
14447
14457
  lease: ProgramLease,
14448
14458
  step: String4,
@@ -14463,7 +14473,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14463
14473
  },
14464
14474
  success: Struct({ verificationId: String4 }),
14465
14475
  error: RunnerRpcError
14466
- }), make5("AwaitEvent", {
14476
+ }), make6("AwaitEvent", {
14467
14477
  payload: {
14468
14478
  lease: ProgramLease,
14469
14479
  step: String4,
@@ -14479,7 +14489,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14479
14489
  })))
14480
14490
  },
14481
14491
  error: RunnerRpcError
14482
- }), make5("ClaimResource", {
14492
+ }), make6("ClaimResource", {
14483
14493
  payload: {
14484
14494
  lease: ProgramLease,
14485
14495
  step: String4,
@@ -14488,7 +14498,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14488
14498
  action: Literals(["claim", "take_over", "let_go"])
14489
14499
  },
14490
14500
  error: RunnerRpcError
14491
- }), make5("AdmitChild", {
14501
+ }), make6("AdmitChild", {
14492
14502
  payload: {
14493
14503
  lease: ProgramLease,
14494
14504
  step: String4,
@@ -14499,7 +14509,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14499
14509
  },
14500
14510
  success: Struct({ runId: String4 }),
14501
14511
  error: RunnerRpcError
14502
- }), make5("StoreArtifact", {
14512
+ }), make6("StoreArtifact", {
14503
14513
  payload: {
14504
14514
  lease: ProgramLease,
14505
14515
  step: String4,
@@ -14511,7 +14521,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14511
14521
  },
14512
14522
  success: Struct({ artifactId: String4 }),
14513
14523
  error: RunnerRpcError
14514
- }), make5("RecordNote", {
14524
+ }), make6("RecordNote", {
14515
14525
  payload: {
14516
14526
  lease: ProgramLease,
14517
14527
  step: String4,
@@ -14520,7 +14530,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14520
14530
  kind: optional(Literals(["note", "blocker"]))
14521
14531
  },
14522
14532
  error: RunnerRpcError
14523
- }), make5("PerformHostEffect", {
14533
+ }), make6("PerformHostEffect", {
14524
14534
  payload: {
14525
14535
  lease: ProgramLease,
14526
14536
  step: String4,
@@ -14549,7 +14559,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14549
14559
  },
14550
14560
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14551
14561
  error: RunnerRpcError
14552
- }), make5("AlertTask", {
14562
+ }), make6("AlertTask", {
14553
14563
  payload: {
14554
14564
  lease: ProgramLease,
14555
14565
  step: String4,
@@ -14566,7 +14576,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14566
14576
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14567
14577
  }),
14568
14578
  error: RunnerRpcError
14569
- }), make5("ReadTranscripts", {
14579
+ }), make6("ReadTranscripts", {
14570
14580
  payload: {
14571
14581
  lease: ProgramLease,
14572
14582
  step: String4,
@@ -14601,7 +14611,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14601
14611
  })))
14602
14612
  }),
14603
14613
  error: RunnerRpcError
14604
- }), make5("PipelineStatus", {
14614
+ }), make6("PipelineStatus", {
14605
14615
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14606
14616
  success: Struct({
14607
14617
  head: String4,
@@ -14635,11 +14645,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14635
14645
  }))
14636
14646
  }),
14637
14647
  error: RunnerRpcError
14638
- }), make5("ReportPipeline", {
14648
+ }), make6("ReportPipeline", {
14639
14649
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14640
14650
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14641
14651
  error: RunnerRpcError
14642
- }), make5("ReviewThreads", {
14652
+ }), make6("ReviewThreads", {
14643
14653
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14644
14654
  success: Struct({
14645
14655
  threads: ArraySchema(Struct({
@@ -14651,7 +14661,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14651
14661
  }))
14652
14662
  }),
14653
14663
  error: RunnerRpcError
14654
- }), make5("OpenChangeRequests", {
14664
+ }), make6("OpenChangeRequests", {
14655
14665
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14656
14666
  success: Struct({
14657
14667
  changeRequests: ArraySchema(Struct({
@@ -14665,7 +14675,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14665
14675
  }))
14666
14676
  }),
14667
14677
  error: RunnerRpcError
14668
- }), make5("OwnChangeRequests", {
14678
+ }), make6("OwnChangeRequests", {
14669
14679
  payload: { lease: ProgramLease, step: String4 },
14670
14680
  success: Struct({
14671
14681
  changeRequests: ArraySchema(Struct({
@@ -14678,7 +14688,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14678
14688
  }))
14679
14689
  }),
14680
14690
  error: RunnerRpcError
14681
- }), make5("Propose", {
14691
+ }), make6("Propose", {
14682
14692
  payload: {
14683
14693
  lease: ProgramLease,
14684
14694
  step: String4,
@@ -14707,7 +14717,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14707
14717
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14708
14718
  }),
14709
14719
  error: RunnerRpcError
14710
- }), make5("ReadProject", {
14720
+ }), make6("ReadProject", {
14711
14721
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14712
14722
  success: Struct({
14713
14723
  project: Struct({ id: String4, name: String4 }),
@@ -14730,7 +14740,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14730
14740
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14731
14741
  }),
14732
14742
  error: RunnerRpcError
14733
- }), make5("DraftUpdate", {
14743
+ }), make6("DraftUpdate", {
14734
14744
  payload: {
14735
14745
  lease: ProgramLease,
14736
14746
  step: String4,
@@ -14745,7 +14755,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14745
14755
  },
14746
14756
  success: Struct({ id: String4 }),
14747
14757
  error: RunnerRpcError
14748
- }), make5("CreatePlanTasks", {
14758
+ }), make6("CreatePlanTasks", {
14749
14759
  payload: {
14750
14760
  lease: ProgramLease,
14751
14761
  projectId: optionalKey(String4),
@@ -14765,15 +14775,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14765
14775
  },
14766
14776
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14767
14777
  error: RunnerRpcError
14768
- }), make5("IntegrationBranch", {
14778
+ }), make6("IntegrationBranch", {
14769
14779
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14770
14780
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14771
14781
  error: RunnerRpcError
14772
- }), make5("DeliveryBase", {
14782
+ }), make6("DeliveryBase", {
14773
14783
  payload: { lease: ProgramLease },
14774
14784
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14775
14785
  error: RunnerRpcError
14776
- }), make5("MergeChangeRequest", {
14786
+ }), make6("MergeChangeRequest", {
14777
14787
  payload: {
14778
14788
  lease: ProgramLease,
14779
14789
  step: String4,
@@ -14791,7 +14801,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14791
14801
  Struct({ status: Literal("moved"), head: String4 })
14792
14802
  ]),
14793
14803
  error: RunnerRpcError
14794
- }), make5("ApproveChangeRequest", {
14804
+ }), make6("ApproveChangeRequest", {
14795
14805
  payload: {
14796
14806
  lease: ProgramLease,
14797
14807
  step: String4,
@@ -14807,7 +14817,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14807
14817
  Struct({ approved: Literal(false), reason: String4 })
14808
14818
  ]),
14809
14819
  error: RunnerRpcError
14810
- }), make5("CloseChangeRequest", {
14820
+ }), make6("CloseChangeRequest", {
14811
14821
  payload: {
14812
14822
  lease: ProgramLease,
14813
14823
  step: String4,
@@ -14817,7 +14827,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14817
14827
  },
14818
14828
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14819
14829
  error: RunnerRpcError
14820
- }), make5("RerunPipeline", {
14830
+ }), make6("RerunPipeline", {
14821
14831
  payload: {
14822
14832
  lease: ProgramLease,
14823
14833
  step: String4,
@@ -14827,7 +14837,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14827
14837
  },
14828
14838
  success: Struct({ head: String4, pipelines: Int }),
14829
14839
  error: RunnerRpcError
14830
- }), make5("PublishRelease", {
14840
+ }), make6("PublishRelease", {
14831
14841
  payload: {
14832
14842
  lease: ProgramLease,
14833
14843
  step: String4,
@@ -14839,14 +14849,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14839
14849
  },
14840
14850
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14841
14851
  error: RunnerRpcError
14842
- }), make5("ProgramSecrets", {
14852
+ }), make6("ProgramSecrets", {
14843
14853
  payload: { lease: ProgramLease },
14844
14854
  success: Record(String4, String4),
14845
14855
  error: RunnerRpcError
14846
14856
  })).middleware(RunnerAuthentication) {
14847
14857
  }
14848
14858
 
14849
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14859
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14850
14860
  payload: {
14851
14861
  lease: ProgramLease,
14852
14862
  step: String4,
@@ -14858,11 +14868,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14858
14868
  },
14859
14869
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14860
14870
  error: Union([RunnerRpcError, RunFileRefused])
14861
- }), make5("RunFileParts", {
14871
+ }), make6("RunFileParts", {
14862
14872
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14863
14873
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14864
14874
  error: RunnerRpcError
14865
- }), make5("CompleteRunFile", {
14875
+ }), make6("CompleteRunFile", {
14866
14876
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14867
14877
  success: RunFileRecord,
14868
14878
  error: RunnerRpcError
@@ -14951,7 +14961,7 @@ function toStoredSession(token, existingRefreshToken) {
14951
14961
  }
14952
14962
  function startLoopbackServer(input) {
14953
14963
  return gen(function* () {
14954
- const code = yield* make15();
14964
+ const code = yield* make16();
14955
14965
  const context2 = yield* context();
14956
14966
  const runSyncExit = runSyncExitWith(context2);
14957
14967
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15491,7 +15501,7 @@ var openConnection = (transport) => gen(function* () {
15491
15501
  let lastId = 0;
15492
15502
  let lost = false;
15493
15503
  const notifications = yield* unbounded2();
15494
- const ended = yield* make15();
15504
+ const ended = yield* make16();
15495
15505
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15496
15506
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15497
15507
  onNone: () => void_3,
@@ -15518,7 +15528,7 @@ var openConnection = (transport) => gen(function* () {
15518
15528
  if (lost)
15519
15529
  return yield* new HerdrCoreConnectionLost2({ method });
15520
15530
  const id = ++lastId;
15521
- const deferred = yield* make15();
15531
+ const deferred = yield* make16();
15522
15532
  pending.set(id, { method, deferred });
15523
15533
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15524
15534
  return yield* _await(deferred);
@@ -15592,14 +15602,14 @@ var herdrCoreOver = (transport) => ({
15592
15602
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15593
15603
  };
15594
15604
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15595
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15605
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15596
15606
  }))
15597
15607
  });
15598
15608
  var spawnedTransport = (env) => gen(function* () {
15599
15609
  const spawner = yield* ChildProcessSpawner;
15600
15610
  const input = yield* unbounded2();
15601
15611
  const encoder = new TextEncoder;
15602
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15612
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15603
15613
  extendEnv: false,
15604
15614
  env,
15605
15615
  stdin: fromQueue(input),
@@ -15630,7 +15640,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15630
15640
  const spawner = yield* ChildProcessSpawner;
15631
15641
  const env = coreEnv(options);
15632
15642
  const run = (args) => gen(function* () {
15633
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15643
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15634
15644
  const [stdout, stderr, exitCode] = yield* all3([
15635
15645
  mkString(decodeText(handle.stdout)),
15636
15646
  mkString(decodeText(handle.stderr)),
@@ -15656,7 +15666,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15656
15666
  }
15657
15667
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15658
15668
  const spawner = yield* ChildProcessSpawner;
15659
- const handle = yield* spawner.spawn(make2(command, args, {
15669
+ const handle = yield* spawner.spawn(make3(command, args, {
15660
15670
  stdin: "ignore",
15661
15671
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15662
15672
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15682,8 +15692,8 @@ var shellOutputTailChars2 = 64 * 1024;
15682
15692
  var runProcess2 = (argv, options) => gen(function* () {
15683
15693
  const spawner = yield* ChildProcessSpawner;
15684
15694
  const [command, ...args] = argv;
15685
- const handle = yield* spawner.spawn(make2(command, args, {
15686
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15695
+ const handle = yield* spawner.spawn(make3(command, args, {
15696
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15687
15697
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15688
15698
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15689
15699
  }));
@@ -16115,4 +16125,4 @@ function checkServices(declaration) {
16115
16125
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16116
16126
  }
16117
16127
 
16118
- export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16128
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };