@kitman-sh/cli 0.12.6 → 0.12.7

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-y7vjk8vv.js → chunk-0h49y8gf.js} +165 -31
  2. package/dist/{chunk-7ncc3m3n.js → chunk-4gy4ty6k.js} +4 -4
  3. package/dist/{chunk-gezjwdpw.js → chunk-4w0c1ykv.js} +126 -117
  4. package/dist/{chunk-8sz25ptv.js → chunk-5zhh41gb.js} +4 -4
  5. package/dist/{chunk-e711ebdj.js → chunk-5zth85pj.js} +2 -2
  6. package/dist/{chunk-gtsq369x.js → chunk-7afnkx5b.js} +7 -7
  7. package/dist/{chunk-k3ak93p1.js → chunk-7dahw7e2.js} +1 -1
  8. package/dist/{chunk-jk5fp5cy.js → chunk-8b8pw0md.js} +23 -23
  9. package/dist/{chunk-7tnm4jef.js → chunk-azfjx5d8.js} +3 -3
  10. package/dist/{chunk-rvpfyjtv.js → chunk-b9rbh1va.js} +1 -1
  11. package/dist/{chunk-vkchn89k.js → chunk-cbpb2rww.js} +7 -7
  12. package/dist/{chunk-23245qh7.js → chunk-fr79hgq2.js} +5 -5
  13. package/dist/{chunk-dcnn882c.js → chunk-fyvtc3xv.js} +20 -20
  14. package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
  15. package/dist/{chunk-wberffvr.js → chunk-gwnyxm1r.js} +24 -24
  16. package/dist/{chunk-n17dr5c1.js → chunk-gxbcvd4q.js} +4 -4
  17. package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
  18. package/dist/{chunk-x5t0c4g4.js → chunk-jn7w2ntt.js} +4 -4
  19. package/dist/{chunk-892qrkb3.js → chunk-mtkstrh3.js} +60 -14
  20. package/dist/{chunk-8djn7v2p.js → chunk-p7hxrkmf.js} +23 -23
  21. package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
  22. package/dist/{chunk-fen5480a.js → chunk-vkg40ysx.js} +7 -7
  23. package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
  24. package/dist/{chunk-v4wn0tz8.js → chunk-ywzxwgrz.js} +6 -6
  25. package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
  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,
@@ -193,12 +193,7 @@ import {
193
193
  clockWith,
194
194
  logError,
195
195
  effectify,
196
- toNumber,
197
- bytes,
198
196
  decode,
199
- isRedacted,
200
- make16,
201
- value,
202
197
  defaultParseOptions,
203
198
  omit,
204
199
  map9,
@@ -266,16 +261,17 @@ import {
266
261
  decodeJsonStringOption,
267
262
  encodeJsonStringSync,
268
263
  encodePrettyJsonString
269
- } from "./chunk-x3cc7dfc.js";
264
+ } from "./chunk-zw3gf6r5.js";
270
265
  import {
271
266
  map,
272
267
  makeEquivalence,
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,27 +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-y7vjk8vv.js";
336
- import {
337
- ExitCode,
338
- ProcessId,
339
- makeHandle,
340
- make,
341
- ChildProcessSpawner,
342
- display,
343
- make2,
344
- parseFdName,
345
- fdName
346
- } from "./chunk-892qrkb3.js";
331
+ } from "./chunk-0h49y8gf.js";
347
332
  import {
348
333
  isDateTime,
349
334
  Numeric,
@@ -356,7 +341,22 @@ import {
356
341
  SecretScope,
357
342
  SecretHosts,
358
343
  isSecretReference
359
- } from "./chunk-s8m2tzdr.js";
344
+ } from "./chunk-q5w3v4k1.js";
345
+ import {
346
+ isRedacted,
347
+ make,
348
+ value,
349
+ ExitCode,
350
+ ProcessId,
351
+ makeHandle,
352
+ make2,
353
+ ChildProcessSpawner,
354
+ display,
355
+ make3,
356
+ parseFdName,
357
+ fdName
358
+ } from "./chunk-mtkstrh3.js";
359
+
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
362
362
 
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
518
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
519
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
520
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
521
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
522
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
523
523
  var nowUnsafe = () => makeUtc(Date.now());
524
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -897,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
897
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
898
898
  var runMain = runMain2;
899
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
900
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
901
910
  var makeUnsafe = makeUnsafe6;
902
- var make18 = make3;
911
+ var make18 = make4;
903
912
  var now2 = now;
904
913
  var nowUnsafe2 = nowUnsafe;
905
914
  var toDateUtc2 = toDateUtc;
@@ -1114,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1114
1123
  const readable = options.readable;
1115
1124
  const chunkSize = options.chunkSize ?? 4096;
1116
1125
  const closeOnDone = options.closeOnDone ?? true;
1117
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1118
1127
  const latch = options.latch ?? makeUnsafe2(false);
1119
1128
  function onReadable() {
1120
1129
  latch.openUnsafe();
@@ -1678,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1678
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1679
1688
  const toOption = options.to ?? "stdin";
1680
1689
  if (toOption === "stdin") {
1681
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1682
1691
  ...command.options,
1683
1692
  stdin: {
1684
1693
  ...stdinConfig,
@@ -1698,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1698
1707
  type: "input",
1699
1708
  stream: sourceStream
1700
1709
  };
1701
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1702
1711
  ...command.options,
1703
1712
  additionalFds: {
1704
1713
  ...existingFds,
@@ -1706,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1706
1715
  }
1707
1716
  })));
1708
1717
  } else {
1709
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1710
1719
  ...command.options,
1711
1720
  stdin: {
1712
1721
  ...stdinConfig,
@@ -1745,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1745
1754
  }
1746
1755
  }
1747
1756
  });
1748
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1749
1758
  });
1750
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1751
1760
  var flattenCommand = (command) => {
@@ -2231,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2231
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2232
2241
  }
2233
2242
  });
2234
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2235
2244
  access: access2,
2236
2245
  chmod: chmod2,
2237
2246
  chown: chown2,
@@ -2291,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2291
2300
  })
2292
2301
  })
2293
2302
  });
2294
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2295
2304
  ...NodePath.posix,
2296
2305
  .../* @__PURE__ */ fileUrlOps(false)
2297
2306
  }));
2298
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2299
2308
  ...NodePath.win32,
2300
2309
  .../* @__PURE__ */ fileUrlOps(true)
2301
2310
  }));
2302
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2303
2312
  ...NodePath,
2304
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2305
2314
  }));
@@ -2821,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2821
2830
  if (typeof key === "string") {
2822
2831
  const k = key.toLowerCase();
2823
2832
  if (k in self) {
2824
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2825
2834
  }
2826
2835
  } else {
2827
2836
  for (const name in self) {
2828
2837
  if (name.search(key) !== -1) {
2829
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2830
2839
  }
2831
2840
  }
2832
2841
  }
@@ -2933,7 +2942,7 @@ var fromInputNested = (input) => {
2933
2942
  return out;
2934
2943
  };
2935
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2936
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2937
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2938
2947
  var empty4 = /* @__PURE__ */ make23([]);
2939
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2952,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2952
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2953
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2954
2963
  const patterns = Array.isArray(key) ? key : [key];
2955
- 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]);
2956
2965
  });
2957
2966
  var isRedactedName2 = isRedactedName;
2958
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3028,7 +3037,7 @@ import * as readline from "readline";
3028
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3029
3038
  const stdin = process.stdin;
3030
3039
  const stdout = process.stdout;
3031
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3032
3041
  let inputEnded = stdin.readableEnded;
3033
3042
  let readlineActive = false;
3034
3043
  const onStdinEnd = () => {
@@ -3039,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3039
3048
  };
3040
3049
  stdin.once("end", onStdinEnd);
3041
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3042
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3043
3052
  acquire: acquireRelease(sync2(() => {
3044
3053
  const rl = readline.createInterface({
3045
3054
  input: stdin,
@@ -3078,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3078
3087
  if (stdin.isTTY)
3079
3088
  stdin.setRawMode(enabled);
3080
3089
  });
3081
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3082
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3083
3092
  idleTimeToLive: "10 millis"
3084
3093
  });
@@ -3099,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3099
3108
  return queue;
3100
3109
  });
3101
3110
  const readInput = gen(function* () {
3102
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3103
3112
  const handleKeypress = (s, k) => {
3104
3113
  const userInput = {
3105
3114
  input: fromUndefinedOr(s),
@@ -9945,14 +9954,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9945
9954
  return self;
9946
9955
  }
9947
9956
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9948
- var make4 = (method) => (url, options) => modify(empty6, {
9957
+ var make5 = (method) => (url, options) => modify(empty6, {
9949
9958
  method,
9950
9959
  url,
9951
9960
  ...options ?? undefined
9952
9961
  });
9953
- var get = /* @__PURE__ */ make4("GET");
9954
- var post = /* @__PURE__ */ make4("POST");
9955
- var put = /* @__PURE__ */ make4("PUT");
9962
+ var get = /* @__PURE__ */ make5("GET");
9963
+ var post = /* @__PURE__ */ make5("POST");
9964
+ var put = /* @__PURE__ */ make5("PUT");
9956
9965
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9957
9966
  let result = self;
9958
9967
  if (options.method) {
@@ -10253,7 +10262,7 @@ var Proto7 = {
10253
10262
  };
10254
10263
  },
10255
10264
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10256
- return this.execute(make4(fullMethod)(url, options));
10265
+ return this.execute(make5(fullMethod)(url, options));
10257
10266
  }]))
10258
10267
  };
10259
10268
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13950,7 +13959,7 @@ var makeProto = (options) => {
13950
13959
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13951
13960
  return Rpc;
13952
13961
  };
13953
- var make5 = (tag, options) => {
13962
+ var make6 = (tag, options) => {
13954
13963
  const successSchema = options?.success ?? Void;
13955
13964
  const errorSchema = options?.error ?? Never;
13956
13965
  const defectSchema = options?.defect ?? Defect();
@@ -14161,7 +14170,7 @@ var RpcGroupProto = {
14161
14170
  });
14162
14171
  },
14163
14172
  annotateRpcs(service, value) {
14164
- return this.annotateRpcsMerge(make14(service, value));
14173
+ return this.annotateRpcsMerge(make15(service, value));
14165
14174
  },
14166
14175
  annotateMerge(context) {
14167
14176
  return makeProto2({
@@ -14184,7 +14193,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14184
14193
  requests: options.requests,
14185
14194
  annotations: options.annotations
14186
14195
  });
14187
- var make6 = (...rpcs) => makeProto2({
14196
+ var make7 = (...rpcs) => makeProto2({
14188
14197
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14189
14198
  annotations: empty3()
14190
14199
  });
@@ -14290,96 +14299,96 @@ var ProgramOutcome = Union([
14290
14299
  Struct({ status: Literal("failed"), failureSummary: String4 })
14291
14300
  ]);
14292
14301
 
14293
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14302
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14294
14303
  payload: WorkUnitClaimInput,
14295
14304
  success: WorkUnitClaimResult,
14296
14305
  error: RunnerRpcError
14297
- }), make5("Heartbeat", {
14306
+ }), make6("Heartbeat", {
14298
14307
  payload: WorkUnitHeartbeatInput,
14299
14308
  success: WorkUnitHeartbeatResult,
14300
14309
  error: RunnerRpcError
14301
- }), make5("Complete", {
14310
+ }), make6("Complete", {
14302
14311
  payload: WorkUnitCompletion,
14303
14312
  error: RunnerRpcError
14304
- }), make5("Release", {
14313
+ }), make6("Release", {
14305
14314
  payload: WorkUnitReleaseInput,
14306
14315
  error: RunnerRpcError
14307
- }), make5("Signals", {
14316
+ }), make6("Signals", {
14308
14317
  payload: { runnerReplicaId: String4 },
14309
14318
  success: RunnerSignal,
14310
14319
  error: RunnerRpcError,
14311
14320
  stream: true
14312
- }), make5("ReportSteer", {
14321
+ }), make6("ReportSteer", {
14313
14322
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14314
14323
  success: Void,
14315
14324
  error: RunnerRpcError
14316
- }), make5("AppendTranscript", {
14325
+ }), make6("AppendTranscript", {
14317
14326
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14318
14327
  success: Void,
14319
14328
  error: RunnerRpcError
14320
- }), make5("CreateCheckpointFile", {
14329
+ }), make6("CreateCheckpointFile", {
14321
14330
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14322
14331
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14323
14332
  error: Union([RunnerRpcError, RunFileRefused])
14324
- }), make5("CheckpointFileParts", {
14333
+ }), make6("CheckpointFileParts", {
14325
14334
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14326
14335
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14327
14336
  error: RunnerRpcError
14328
- }), make5("CompleteCheckpointFile", {
14337
+ }), make6("CompleteCheckpointFile", {
14329
14338
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14330
14339
  success: RunFileRecord,
14331
14340
  error: RunnerRpcError
14332
- }), make5("SaveCheckpoint", {
14341
+ }), make6("SaveCheckpoint", {
14333
14342
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14334
14343
  success: Void,
14335
14344
  error: RunnerRpcError
14336
- }), make5("ResumeCheckpoint", {
14345
+ }), make6("ResumeCheckpoint", {
14337
14346
  payload: { lease: ProgramLease },
14338
14347
  success: UndefinedOr(ResumedCheckpoint),
14339
14348
  error: RunnerRpcError
14340
- }), make5("SettledCheckpoints", {
14349
+ }), make6("SettledCheckpoints", {
14341
14350
  success: ArraySchema(Struct({
14342
14351
  stepAttemptId: String4,
14343
14352
  ref: optionalKey(String4),
14344
14353
  repoBinding: optionalKey(WorkUnitRepoBinding)
14345
14354
  })),
14346
14355
  error: RunnerRpcError
14347
- }), make5("ForgetCheckpoints", {
14356
+ }), make6("ForgetCheckpoints", {
14348
14357
  payload: { stepAttemptIds: ArraySchema(String4) },
14349
14358
  success: Void,
14350
14359
  error: RunnerRpcError
14351
- }), make5("GitCredential", {
14360
+ }), make6("GitCredential", {
14352
14361
  payload: { repoBindingId: String4 },
14353
14362
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14354
14363
  error: RunnerRpcError
14355
- }), make5("Bundle", {
14364
+ }), make6("Bundle", {
14356
14365
  payload: { digest: String4 },
14357
14366
  success: Struct({ bundle: String4 }),
14358
14367
  error: RunnerRpcError
14359
- }), make5("SettledRuns", {
14368
+ }), make6("SettledRuns", {
14360
14369
  payload: { runIds: ArraySchema(String4) },
14361
14370
  success: ArraySchema(String4),
14362
14371
  error: RunnerRpcError
14363
- }), make5("KnownEvidence", {
14372
+ }), make6("KnownEvidence", {
14364
14373
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14365
14374
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14366
14375
  error: RunnerRpcError
14367
14376
  })).middleware(RunnerAuthentication) {
14368
14377
  }
14369
14378
 
14370
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14379
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14371
14380
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14372
14381
  error: RunnerRpcError
14373
- }), make5("DeferredDone", {
14382
+ }), make6("DeferredDone", {
14374
14383
  payload: { lease: ProgramLease, name: String4, exit: Json },
14375
14384
  error: RunnerRpcError
14376
- }), make5("ScheduleClock", {
14385
+ }), make6("ScheduleClock", {
14377
14386
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14378
14387
  error: RunnerRpcError
14379
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14388
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14380
14389
  }
14381
14390
 
14382
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14391
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14383
14392
  payload: {
14384
14393
  lease: ProgramLease,
14385
14394
  step: String4,
@@ -14399,7 +14408,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14399
14408
  },
14400
14409
  success: Struct({ questionId: String4 }),
14401
14410
  error: RunnerRpcError
14402
- }), make5("StartAgentStep", {
14411
+ }), make6("StartAgentStep", {
14403
14412
  payload: {
14404
14413
  lease: ProgramLease,
14405
14414
  step: String4,
@@ -14415,7 +14424,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14415
14424
  },
14416
14425
  success: Struct({ stepAttemptId: String4 }),
14417
14426
  error: RunnerRpcError
14418
- }), make5("StartVerification", {
14427
+ }), make6("StartVerification", {
14419
14428
  payload: {
14420
14429
  lease: ProgramLease,
14421
14430
  step: String4,
@@ -14436,7 +14445,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14436
14445
  },
14437
14446
  success: Struct({ verificationId: String4 }),
14438
14447
  error: RunnerRpcError
14439
- }), make5("AwaitEvent", {
14448
+ }), make6("AwaitEvent", {
14440
14449
  payload: {
14441
14450
  lease: ProgramLease,
14442
14451
  step: String4,
@@ -14452,7 +14461,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14452
14461
  })))
14453
14462
  },
14454
14463
  error: RunnerRpcError
14455
- }), make5("ClaimResource", {
14464
+ }), make6("ClaimResource", {
14456
14465
  payload: {
14457
14466
  lease: ProgramLease,
14458
14467
  step: String4,
@@ -14461,7 +14470,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14461
14470
  action: Literals(["claim", "take_over", "let_go"])
14462
14471
  },
14463
14472
  error: RunnerRpcError
14464
- }), make5("AdmitChild", {
14473
+ }), make6("AdmitChild", {
14465
14474
  payload: {
14466
14475
  lease: ProgramLease,
14467
14476
  step: String4,
@@ -14472,7 +14481,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14472
14481
  },
14473
14482
  success: Struct({ runId: String4 }),
14474
14483
  error: RunnerRpcError
14475
- }), make5("StoreArtifact", {
14484
+ }), make6("StoreArtifact", {
14476
14485
  payload: {
14477
14486
  lease: ProgramLease,
14478
14487
  step: String4,
@@ -14484,7 +14493,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14484
14493
  },
14485
14494
  success: Struct({ artifactId: String4 }),
14486
14495
  error: RunnerRpcError
14487
- }), make5("RecordNote", {
14496
+ }), make6("RecordNote", {
14488
14497
  payload: {
14489
14498
  lease: ProgramLease,
14490
14499
  step: String4,
@@ -14493,7 +14502,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14493
14502
  kind: optional(Literals(["note", "blocker"]))
14494
14503
  },
14495
14504
  error: RunnerRpcError
14496
- }), make5("PerformHostEffect", {
14505
+ }), make6("PerformHostEffect", {
14497
14506
  payload: {
14498
14507
  lease: ProgramLease,
14499
14508
  step: String4,
@@ -14522,7 +14531,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14522
14531
  },
14523
14532
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14524
14533
  error: RunnerRpcError
14525
- }), make5("AlertTask", {
14534
+ }), make6("AlertTask", {
14526
14535
  payload: {
14527
14536
  lease: ProgramLease,
14528
14537
  step: String4,
@@ -14539,7 +14548,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14539
14548
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14540
14549
  }),
14541
14550
  error: RunnerRpcError
14542
- }), make5("ReadTranscripts", {
14551
+ }), make6("ReadTranscripts", {
14543
14552
  payload: {
14544
14553
  lease: ProgramLease,
14545
14554
  step: String4,
@@ -14574,7 +14583,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14574
14583
  })))
14575
14584
  }),
14576
14585
  error: RunnerRpcError
14577
- }), make5("PipelineStatus", {
14586
+ }), make6("PipelineStatus", {
14578
14587
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14579
14588
  success: Struct({
14580
14589
  head: String4,
@@ -14608,11 +14617,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14608
14617
  }))
14609
14618
  }),
14610
14619
  error: RunnerRpcError
14611
- }), make5("ReportPipeline", {
14620
+ }), make6("ReportPipeline", {
14612
14621
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14613
14622
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14614
14623
  error: RunnerRpcError
14615
- }), make5("ReviewThreads", {
14624
+ }), make6("ReviewThreads", {
14616
14625
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14617
14626
  success: Struct({
14618
14627
  threads: ArraySchema(Struct({
@@ -14624,7 +14633,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14624
14633
  }))
14625
14634
  }),
14626
14635
  error: RunnerRpcError
14627
- }), make5("OpenChangeRequests", {
14636
+ }), make6("OpenChangeRequests", {
14628
14637
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14629
14638
  success: Struct({
14630
14639
  changeRequests: ArraySchema(Struct({
@@ -14638,7 +14647,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14638
14647
  }))
14639
14648
  }),
14640
14649
  error: RunnerRpcError
14641
- }), make5("OwnChangeRequests", {
14650
+ }), make6("OwnChangeRequests", {
14642
14651
  payload: { lease: ProgramLease, step: String4 },
14643
14652
  success: Struct({
14644
14653
  changeRequests: ArraySchema(Struct({
@@ -14651,7 +14660,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14651
14660
  }))
14652
14661
  }),
14653
14662
  error: RunnerRpcError
14654
- }), make5("Propose", {
14663
+ }), make6("Propose", {
14655
14664
  payload: {
14656
14665
  lease: ProgramLease,
14657
14666
  step: String4,
@@ -14680,7 +14689,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14680
14689
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14681
14690
  }),
14682
14691
  error: RunnerRpcError
14683
- }), make5("ReadProject", {
14692
+ }), make6("ReadProject", {
14684
14693
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14685
14694
  success: Struct({
14686
14695
  project: Struct({ id: String4, name: String4 }),
@@ -14703,7 +14712,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14703
14712
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14704
14713
  }),
14705
14714
  error: RunnerRpcError
14706
- }), make5("DraftUpdate", {
14715
+ }), make6("DraftUpdate", {
14707
14716
  payload: {
14708
14717
  lease: ProgramLease,
14709
14718
  step: String4,
@@ -14718,7 +14727,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14718
14727
  },
14719
14728
  success: Struct({ id: String4 }),
14720
14729
  error: RunnerRpcError
14721
- }), make5("CreatePlanTasks", {
14730
+ }), make6("CreatePlanTasks", {
14722
14731
  payload: {
14723
14732
  lease: ProgramLease,
14724
14733
  projectId: optionalKey(String4),
@@ -14736,15 +14745,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14736
14745
  },
14737
14746
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14738
14747
  error: RunnerRpcError
14739
- }), make5("IntegrationBranch", {
14748
+ }), make6("IntegrationBranch", {
14740
14749
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14741
14750
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14742
14751
  error: RunnerRpcError
14743
- }), make5("DeliveryBase", {
14752
+ }), make6("DeliveryBase", {
14744
14753
  payload: { lease: ProgramLease },
14745
14754
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14746
14755
  error: RunnerRpcError
14747
- }), make5("MergeChangeRequest", {
14756
+ }), make6("MergeChangeRequest", {
14748
14757
  payload: {
14749
14758
  lease: ProgramLease,
14750
14759
  step: String4,
@@ -14762,7 +14771,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14762
14771
  Struct({ status: Literal("moved"), head: String4 })
14763
14772
  ]),
14764
14773
  error: RunnerRpcError
14765
- }), make5("ApproveChangeRequest", {
14774
+ }), make6("ApproveChangeRequest", {
14766
14775
  payload: {
14767
14776
  lease: ProgramLease,
14768
14777
  step: String4,
@@ -14778,7 +14787,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14778
14787
  Struct({ approved: Literal(false), reason: String4 })
14779
14788
  ]),
14780
14789
  error: RunnerRpcError
14781
- }), make5("CloseChangeRequest", {
14790
+ }), make6("CloseChangeRequest", {
14782
14791
  payload: {
14783
14792
  lease: ProgramLease,
14784
14793
  step: String4,
@@ -14788,7 +14797,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14788
14797
  },
14789
14798
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14790
14799
  error: RunnerRpcError
14791
- }), make5("RerunPipeline", {
14800
+ }), make6("RerunPipeline", {
14792
14801
  payload: {
14793
14802
  lease: ProgramLease,
14794
14803
  step: String4,
@@ -14798,7 +14807,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14798
14807
  },
14799
14808
  success: Struct({ head: String4, pipelines: Int }),
14800
14809
  error: RunnerRpcError
14801
- }), make5("PublishRelease", {
14810
+ }), make6("PublishRelease", {
14802
14811
  payload: {
14803
14812
  lease: ProgramLease,
14804
14813
  step: String4,
@@ -14810,14 +14819,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14810
14819
  },
14811
14820
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14812
14821
  error: RunnerRpcError
14813
- }), make5("ProgramSecrets", {
14822
+ }), make6("ProgramSecrets", {
14814
14823
  payload: { lease: ProgramLease },
14815
14824
  success: Record(String4, String4),
14816
14825
  error: RunnerRpcError
14817
14826
  })).middleware(RunnerAuthentication) {
14818
14827
  }
14819
14828
 
14820
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14829
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14821
14830
  payload: {
14822
14831
  lease: ProgramLease,
14823
14832
  step: String4,
@@ -14829,11 +14838,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14829
14838
  },
14830
14839
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14831
14840
  error: Union([RunnerRpcError, RunFileRefused])
14832
- }), make5("RunFileParts", {
14841
+ }), make6("RunFileParts", {
14833
14842
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14834
14843
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14835
14844
  error: RunnerRpcError
14836
- }), make5("CompleteRunFile", {
14845
+ }), make6("CompleteRunFile", {
14837
14846
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14838
14847
  success: RunFileRecord,
14839
14848
  error: RunnerRpcError
@@ -14922,7 +14931,7 @@ function toStoredSession(token, existingRefreshToken) {
14922
14931
  }
14923
14932
  function startLoopbackServer(input) {
14924
14933
  return gen(function* () {
14925
- const code = yield* make15();
14934
+ const code = yield* make16();
14926
14935
  const context2 = yield* context();
14927
14936
  const runSyncExit = runSyncExitWith(context2);
14928
14937
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15462,7 +15471,7 @@ var openConnection = (transport) => gen(function* () {
15462
15471
  let lastId = 0;
15463
15472
  let lost = false;
15464
15473
  const notifications = yield* unbounded2();
15465
- const ended = yield* make15();
15474
+ const ended = yield* make16();
15466
15475
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15467
15476
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15468
15477
  onNone: () => void_3,
@@ -15489,7 +15498,7 @@ var openConnection = (transport) => gen(function* () {
15489
15498
  if (lost)
15490
15499
  return yield* new HerdrCoreConnectionLost2({ method });
15491
15500
  const id = ++lastId;
15492
- const deferred = yield* make15();
15501
+ const deferred = yield* make16();
15493
15502
  pending.set(id, { method, deferred });
15494
15503
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15495
15504
  return yield* _await(deferred);
@@ -15563,14 +15572,14 @@ var herdrCoreOver = (transport) => ({
15563
15572
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15564
15573
  };
15565
15574
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15566
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15575
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15567
15576
  }))
15568
15577
  });
15569
15578
  var spawnedTransport = (env) => gen(function* () {
15570
15579
  const spawner = yield* ChildProcessSpawner;
15571
15580
  const input = yield* unbounded2();
15572
15581
  const encoder = new TextEncoder;
15573
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15582
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15574
15583
  extendEnv: false,
15575
15584
  env,
15576
15585
  stdin: fromQueue(input),
@@ -15601,7 +15610,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15601
15610
  const spawner = yield* ChildProcessSpawner;
15602
15611
  const env = coreEnv(options);
15603
15612
  const run = (args) => gen(function* () {
15604
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15613
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15605
15614
  const [stdout, stderr, exitCode] = yield* all3([
15606
15615
  mkString(decodeText(handle.stdout)),
15607
15616
  mkString(decodeText(handle.stderr)),
@@ -15627,7 +15636,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15627
15636
  }
15628
15637
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15629
15638
  const spawner = yield* ChildProcessSpawner;
15630
- const handle = yield* spawner.spawn(make2(command, args, {
15639
+ const handle = yield* spawner.spawn(make3(command, args, {
15631
15640
  stdin: "ignore",
15632
15641
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15633
15642
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15653,8 +15662,8 @@ var shellOutputTailChars2 = 64 * 1024;
15653
15662
  var runProcess2 = (argv, options) => gen(function* () {
15654
15663
  const spawner = yield* ChildProcessSpawner;
15655
15664
  const [command, ...args] = argv;
15656
- const handle = yield* spawner.spawn(make2(command, args, {
15657
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15665
+ const handle = yield* spawner.spawn(make3(command, args, {
15666
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15658
15667
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15659
15668
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15660
15669
  }));
@@ -16086,4 +16095,4 @@ function checkServices(declaration) {
16086
16095
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16087
16096
  }
16088
16097
 
16089
- 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, 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, 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 };
16098
+ 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, 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, 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 };