@kitman-sh/cli 0.12.13 → 0.12.15

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-20qmtmt2.js → chunk-0h49y8gf.js} +17 -17
  2. package/dist/{chunk-hb71prd2.js → chunk-1625ftev.js} +4 -4
  3. package/dist/{chunk-fsmh52xq.js → chunk-44mcajbw.js} +11 -11
  4. package/dist/{chunk-1msvjdrq.js → chunk-55sk24xq.js} +4 -4
  5. package/dist/{chunk-vp2xdw4r.js → chunk-5zhh41gb.js} +4 -4
  6. package/dist/{chunk-73fqehr2.js → chunk-5zth85pj.js} +2 -2
  7. package/dist/{chunk-vmhpnqss.js → chunk-9sbkchpk.js} +3 -3
  8. package/dist/{chunk-qpfb12g1.js → chunk-cbpb2rww.js} +7 -7
  9. package/dist/{chunk-vm5s72rr.js → chunk-cjzcg317.js} +119 -107
  10. package/dist/{chunk-ntxzkz25.js → chunk-ekr50hg6.js} +72 -23
  11. package/dist/{chunk-axh2mt1y.js → chunk-f8ck3syn.js} +1 -1
  12. package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
  13. package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
  14. package/dist/{chunk-853g269m.js → chunk-hkwxb1am.js} +22 -22
  15. package/dist/{chunk-rjxkcjb2.js → chunk-kedmv3za.js} +7 -7
  16. package/dist/{chunk-vnfshhpk.js → chunk-m9revazf.js} +17 -2
  17. package/dist/{chunk-5f8whb7j.js → chunk-mtkstrh3.js} +60 -14
  18. package/dist/{chunk-dmbcgwea.js → chunk-nh27qwj1.js} +5 -5
  19. package/dist/{chunk-4hdk4bje.js → chunk-nve7atre.js} +7 -7
  20. package/dist/{chunk-cxqaccxr.js → chunk-pg4tyn18.js} +6 -6
  21. package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
  22. package/dist/{chunk-n1mzvqt2.js → chunk-rt5czket.js} +4 -4
  23. package/dist/{chunk-mr95mxxv.js → chunk-saeb3621.js} +21 -21
  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,7 +261,7 @@ 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,
@@ -273,8 +270,8 @@ import {
273
270
  systemError,
274
271
  badArgument,
275
272
  makeUnsafe2,
276
- make7,
277
273
  make8,
274
+ make9,
278
275
  sliding,
279
276
  unbounded2,
280
277
  offer,
@@ -290,13 +287,13 @@ import {
290
287
  isSink,
291
288
  fromChannel,
292
289
  drain,
293
- make9,
290
+ make10,
294
291
  get3,
295
292
  isStream,
296
293
  fromChannel2,
297
294
  callback,
298
295
  empty2,
299
- make10,
296
+ make11,
300
297
  suspend,
301
298
  fail2,
302
299
  fromQueue,
@@ -322,16 +319,16 @@ import {
322
319
  mkArrayBuffer,
323
320
  toReadableStreamEffect,
324
321
  FileSystem,
325
- make11,
322
+ make12,
326
323
  FileTypeId,
327
324
  WatchBackend,
328
325
  Path,
329
- make12,
326
+ make13,
330
327
  option,
331
328
  String2,
332
329
  optionalEnv,
333
330
  harnessesUnsupportedInSrt2
334
- } from "./chunk-20qmtmt2.js";
331
+ } from "./chunk-0h49y8gf.js";
335
332
  import {
336
333
  isDateTime,
337
334
  Numeric,
@@ -344,18 +341,21 @@ import {
344
341
  SecretScope,
345
342
  SecretHosts,
346
343
  isSecretReference
347
- } from "./chunk-pxvd8w2v.js";
344
+ } from "./chunk-q5w3v4k1.js";
348
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
349
349
  ExitCode,
350
350
  ProcessId,
351
351
  makeHandle,
352
- make,
352
+ make2,
353
353
  ChildProcessSpawner,
354
354
  display,
355
- make2,
355
+ make3,
356
356
  parseFdName,
357
357
  fdName
358
- } from "./chunk-5f8whb7j.js";
358
+ } from "./chunk-mtkstrh3.js";
359
359
 
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
@@ -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);
@@ -908,7 +908,7 @@ var toNumber = (b) => {
908
908
 
909
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
910
910
  var makeUnsafe = makeUnsafe6;
911
- var make18 = make3;
911
+ var make18 = make4;
912
912
  var now2 = now;
913
913
  var nowUnsafe2 = nowUnsafe;
914
914
  var toDateUtc2 = toDateUtc;
@@ -1123,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1123
1123
  const readable = options.readable;
1124
1124
  const chunkSize = options.chunkSize ?? 4096;
1125
1125
  const closeOnDone = options.closeOnDone ?? true;
1126
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1127
1127
  const latch = options.latch ?? makeUnsafe2(false);
1128
1128
  function onReadable() {
1129
1129
  latch.openUnsafe();
@@ -1687,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1687
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1688
1688
  const toOption = options.to ?? "stdin";
1689
1689
  if (toOption === "stdin") {
1690
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1691
1691
  ...command.options,
1692
1692
  stdin: {
1693
1693
  ...stdinConfig,
@@ -1707,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1707
  type: "input",
1708
1708
  stream: sourceStream
1709
1709
  };
1710
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1711
1711
  ...command.options,
1712
1712
  additionalFds: {
1713
1713
  ...existingFds,
@@ -1715,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1715
1715
  }
1716
1716
  })));
1717
1717
  } else {
1718
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1719
1719
  ...command.options,
1720
1720
  stdin: {
1721
1721
  ...stdinConfig,
@@ -1754,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1754
1754
  }
1755
1755
  }
1756
1756
  });
1757
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1758
1758
  });
1759
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1760
1760
  var flattenCommand = (command) => {
@@ -2240,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2240
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2241
2241
  }
2242
2242
  });
2243
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2244
2244
  access: access2,
2245
2245
  chmod: chmod2,
2246
2246
  chown: chown2,
@@ -2300,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2300
2300
  })
2301
2301
  })
2302
2302
  });
2303
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2304
2304
  ...NodePath.posix,
2305
2305
  .../* @__PURE__ */ fileUrlOps(false)
2306
2306
  }));
2307
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2308
2308
  ...NodePath.win32,
2309
2309
  .../* @__PURE__ */ fileUrlOps(true)
2310
2310
  }));
2311
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2312
2312
  ...NodePath,
2313
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2314
2314
  }));
@@ -2830,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2830
2830
  if (typeof key === "string") {
2831
2831
  const k = key.toLowerCase();
2832
2832
  if (k in self) {
2833
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2834
2834
  }
2835
2835
  } else {
2836
2836
  for (const name in self) {
2837
2837
  if (name.search(key) !== -1) {
2838
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2839
2839
  }
2840
2840
  }
2841
2841
  }
@@ -2942,7 +2942,7 @@ var fromInputNested = (input) => {
2942
2942
  return out;
2943
2943
  };
2944
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2945
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2946
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2947
2947
  var empty4 = /* @__PURE__ */ make23([]);
2948
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2961,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2961
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2962
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2963
2963
  const patterns = Array.isArray(key) ? key : [key];
2964
- 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]);
2965
2965
  });
2966
2966
  var isRedactedName2 = isRedactedName;
2967
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3037,7 +3037,7 @@ import * as readline from "readline";
3037
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3038
3038
  const stdin = process.stdin;
3039
3039
  const stdout = process.stdout;
3040
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3041
3041
  let inputEnded = stdin.readableEnded;
3042
3042
  let readlineActive = false;
3043
3043
  const onStdinEnd = () => {
@@ -3048,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3048
3048
  };
3049
3049
  stdin.once("end", onStdinEnd);
3050
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3051
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3052
3052
  acquire: acquireRelease(sync2(() => {
3053
3053
  const rl = readline.createInterface({
3054
3054
  input: stdin,
@@ -3087,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3087
3087
  if (stdin.isTTY)
3088
3088
  stdin.setRawMode(enabled);
3089
3089
  });
3090
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3091
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3092
3092
  idleTimeToLive: "10 millis"
3093
3093
  });
@@ -3108,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3108
3108
  return queue;
3109
3109
  });
3110
3110
  const readInput = gen(function* () {
3111
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3112
3112
  const handleKeypress = (s, k) => {
3113
3113
  const userInput = {
3114
3114
  input: fromUndefinedOr(s),
@@ -9955,14 +9955,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9955
9955
  return self;
9956
9956
  }
9957
9957
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9958
- var make4 = (method) => (url, options) => modify(empty6, {
9958
+ var make5 = (method) => (url, options) => modify(empty6, {
9959
9959
  method,
9960
9960
  url,
9961
9961
  ...options ?? undefined
9962
9962
  });
9963
- var get = /* @__PURE__ */ make4("GET");
9964
- var post = /* @__PURE__ */ make4("POST");
9965
- var put = /* @__PURE__ */ make4("PUT");
9963
+ var get = /* @__PURE__ */ make5("GET");
9964
+ var post = /* @__PURE__ */ make5("POST");
9965
+ var put = /* @__PURE__ */ make5("PUT");
9966
9966
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9967
9967
  let result = self;
9968
9968
  if (options.method) {
@@ -10263,7 +10263,7 @@ var Proto7 = {
10263
10263
  };
10264
10264
  },
10265
10265
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10266
- return this.execute(make4(fullMethod)(url, options));
10266
+ return this.execute(make5(fullMethod)(url, options));
10267
10267
  }]))
10268
10268
  };
10269
10269
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -12407,6 +12407,18 @@ class KitmanEffectClient {
12407
12407
  body: JSON.stringify(input)
12408
12408
  });
12409
12409
  }
12410
+ submitChangeRequestReview(changeRequestId, input) {
12411
+ return this.request("submitChangeRequestReview", `/change-requests/${segment(changeRequestId)}/review-submissions`, { method: "POST", headers: this.headers(true), body: JSON.stringify(input) });
12412
+ }
12413
+ listChangeRequestReviewComments(changeRequestId) {
12414
+ return this.request("listChangeRequestReviewComments", `/change-requests/${segment(changeRequestId)}/review-comments`, { headers: this.headers() });
12415
+ }
12416
+ resolveChangeRequestReviewComment(changeRequestId, commentId, input) {
12417
+ return this.request("resolveChangeRequestReviewComment", `/change-requests/${segment(changeRequestId)}/review-comments/${segment(commentId)}/resolve`, { method: "POST", headers: this.headers(true), body: JSON.stringify(input) });
12418
+ }
12419
+ redeliverChangeRequestReview(changeRequestId, reviewId, input = {}) {
12420
+ return this.request("redeliverChangeRequestReview", `/change-requests/${segment(changeRequestId)}/reviews/${segment(reviewId)}/deliveries`, { method: "POST", headers: this.headers(true), body: JSON.stringify(input) });
12421
+ }
12410
12422
  reportPipelineResult(changeRequestId, input) {
12411
12423
  return this.request("reportPipelineResult", `/change-requests/${segment(changeRequestId)}/pipeline-results`, {
12412
12424
  method: "POST",
@@ -13960,7 +13972,7 @@ var makeProto = (options) => {
13960
13972
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13961
13973
  return Rpc;
13962
13974
  };
13963
- var make5 = (tag, options) => {
13975
+ var make6 = (tag, options) => {
13964
13976
  const successSchema = options?.success ?? Void;
13965
13977
  const errorSchema = options?.error ?? Never;
13966
13978
  const defectSchema = options?.defect ?? Defect();
@@ -14171,7 +14183,7 @@ var RpcGroupProto = {
14171
14183
  });
14172
14184
  },
14173
14185
  annotateRpcs(service, value) {
14174
- return this.annotateRpcsMerge(make14(service, value));
14186
+ return this.annotateRpcsMerge(make15(service, value));
14175
14187
  },
14176
14188
  annotateMerge(context) {
14177
14189
  return makeProto2({
@@ -14194,7 +14206,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14194
14206
  requests: options.requests,
14195
14207
  annotations: options.annotations
14196
14208
  });
14197
- var make6 = (...rpcs) => makeProto2({
14209
+ var make7 = (...rpcs) => makeProto2({
14198
14210
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14199
14211
  annotations: empty3()
14200
14212
  });
@@ -14300,96 +14312,96 @@ var ProgramOutcome = Union([
14300
14312
  Struct({ status: Literal("failed"), failureSummary: String4 })
14301
14313
  ]);
14302
14314
 
14303
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14315
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14304
14316
  payload: WorkUnitClaimInput,
14305
14317
  success: WorkUnitClaimResult,
14306
14318
  error: RunnerRpcError
14307
- }), make5("Heartbeat", {
14319
+ }), make6("Heartbeat", {
14308
14320
  payload: WorkUnitHeartbeatInput,
14309
14321
  success: WorkUnitHeartbeatResult,
14310
14322
  error: RunnerRpcError
14311
- }), make5("Complete", {
14323
+ }), make6("Complete", {
14312
14324
  payload: WorkUnitCompletion,
14313
14325
  error: RunnerRpcError
14314
- }), make5("Release", {
14326
+ }), make6("Release", {
14315
14327
  payload: WorkUnitReleaseInput,
14316
14328
  error: RunnerRpcError
14317
- }), make5("Signals", {
14329
+ }), make6("Signals", {
14318
14330
  payload: { runnerReplicaId: String4 },
14319
14331
  success: RunnerSignal,
14320
14332
  error: RunnerRpcError,
14321
14333
  stream: true
14322
- }), make5("ReportSteer", {
14334
+ }), make6("ReportSteer", {
14323
14335
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14324
14336
  success: Void,
14325
14337
  error: RunnerRpcError
14326
- }), make5("AppendTranscript", {
14338
+ }), make6("AppendTranscript", {
14327
14339
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14328
14340
  success: Void,
14329
14341
  error: RunnerRpcError
14330
- }), make5("CreateCheckpointFile", {
14342
+ }), make6("CreateCheckpointFile", {
14331
14343
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14332
14344
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14333
14345
  error: Union([RunnerRpcError, RunFileRefused])
14334
- }), make5("CheckpointFileParts", {
14346
+ }), make6("CheckpointFileParts", {
14335
14347
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14336
14348
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14337
14349
  error: RunnerRpcError
14338
- }), make5("CompleteCheckpointFile", {
14350
+ }), make6("CompleteCheckpointFile", {
14339
14351
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14340
14352
  success: RunFileRecord,
14341
14353
  error: RunnerRpcError
14342
- }), make5("SaveCheckpoint", {
14354
+ }), make6("SaveCheckpoint", {
14343
14355
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14344
14356
  success: Void,
14345
14357
  error: RunnerRpcError
14346
- }), make5("ResumeCheckpoint", {
14358
+ }), make6("ResumeCheckpoint", {
14347
14359
  payload: { lease: ProgramLease },
14348
14360
  success: UndefinedOr(ResumedCheckpoint),
14349
14361
  error: RunnerRpcError
14350
- }), make5("SettledCheckpoints", {
14362
+ }), make6("SettledCheckpoints", {
14351
14363
  success: ArraySchema(Struct({
14352
14364
  stepAttemptId: String4,
14353
14365
  ref: optionalKey(String4),
14354
14366
  repoBinding: optionalKey(WorkUnitRepoBinding)
14355
14367
  })),
14356
14368
  error: RunnerRpcError
14357
- }), make5("ForgetCheckpoints", {
14369
+ }), make6("ForgetCheckpoints", {
14358
14370
  payload: { stepAttemptIds: ArraySchema(String4) },
14359
14371
  success: Void,
14360
14372
  error: RunnerRpcError
14361
- }), make5("GitCredential", {
14373
+ }), make6("GitCredential", {
14362
14374
  payload: { repoBindingId: String4 },
14363
14375
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14364
14376
  error: RunnerRpcError
14365
- }), make5("Bundle", {
14377
+ }), make6("Bundle", {
14366
14378
  payload: { digest: String4 },
14367
14379
  success: Struct({ bundle: String4 }),
14368
14380
  error: RunnerRpcError
14369
- }), make5("SettledRuns", {
14381
+ }), make6("SettledRuns", {
14370
14382
  payload: { runIds: ArraySchema(String4) },
14371
14383
  success: ArraySchema(String4),
14372
14384
  error: RunnerRpcError
14373
- }), make5("KnownEvidence", {
14385
+ }), make6("KnownEvidence", {
14374
14386
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14375
14387
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14376
14388
  error: RunnerRpcError
14377
14389
  })).middleware(RunnerAuthentication) {
14378
14390
  }
14379
14391
 
14380
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14392
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14381
14393
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14382
14394
  error: RunnerRpcError
14383
- }), make5("DeferredDone", {
14395
+ }), make6("DeferredDone", {
14384
14396
  payload: { lease: ProgramLease, name: String4, exit: Json },
14385
14397
  error: RunnerRpcError
14386
- }), make5("ScheduleClock", {
14398
+ }), make6("ScheduleClock", {
14387
14399
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14388
14400
  error: RunnerRpcError
14389
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14401
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14390
14402
  }
14391
14403
 
14392
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14404
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14393
14405
  payload: {
14394
14406
  lease: ProgramLease,
14395
14407
  step: String4,
@@ -14409,7 +14421,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14409
14421
  },
14410
14422
  success: Struct({ questionId: String4 }),
14411
14423
  error: RunnerRpcError
14412
- }), make5("StartAgentStep", {
14424
+ }), make6("StartAgentStep", {
14413
14425
  payload: {
14414
14426
  lease: ProgramLease,
14415
14427
  step: String4,
@@ -14425,7 +14437,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14425
14437
  },
14426
14438
  success: Struct({ stepAttemptId: String4 }),
14427
14439
  error: RunnerRpcError
14428
- }), make5("StartVerification", {
14440
+ }), make6("StartVerification", {
14429
14441
  payload: {
14430
14442
  lease: ProgramLease,
14431
14443
  step: String4,
@@ -14446,7 +14458,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14446
14458
  },
14447
14459
  success: Struct({ verificationId: String4 }),
14448
14460
  error: RunnerRpcError
14449
- }), make5("AwaitEvent", {
14461
+ }), make6("AwaitEvent", {
14450
14462
  payload: {
14451
14463
  lease: ProgramLease,
14452
14464
  step: String4,
@@ -14462,7 +14474,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14462
14474
  })))
14463
14475
  },
14464
14476
  error: RunnerRpcError
14465
- }), make5("ClaimResource", {
14477
+ }), make6("ClaimResource", {
14466
14478
  payload: {
14467
14479
  lease: ProgramLease,
14468
14480
  step: String4,
@@ -14471,7 +14483,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14471
14483
  action: Literals(["claim", "take_over", "let_go"])
14472
14484
  },
14473
14485
  error: RunnerRpcError
14474
- }), make5("AdmitChild", {
14486
+ }), make6("AdmitChild", {
14475
14487
  payload: {
14476
14488
  lease: ProgramLease,
14477
14489
  step: String4,
@@ -14482,7 +14494,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14482
14494
  },
14483
14495
  success: Struct({ runId: String4 }),
14484
14496
  error: RunnerRpcError
14485
- }), make5("StoreArtifact", {
14497
+ }), make6("StoreArtifact", {
14486
14498
  payload: {
14487
14499
  lease: ProgramLease,
14488
14500
  step: String4,
@@ -14494,7 +14506,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14494
14506
  },
14495
14507
  success: Struct({ artifactId: String4 }),
14496
14508
  error: RunnerRpcError
14497
- }), make5("RecordNote", {
14509
+ }), make6("RecordNote", {
14498
14510
  payload: {
14499
14511
  lease: ProgramLease,
14500
14512
  step: String4,
@@ -14503,7 +14515,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14503
14515
  kind: optional(Literals(["note", "blocker"]))
14504
14516
  },
14505
14517
  error: RunnerRpcError
14506
- }), make5("PerformHostEffect", {
14518
+ }), make6("PerformHostEffect", {
14507
14519
  payload: {
14508
14520
  lease: ProgramLease,
14509
14521
  step: String4,
@@ -14532,7 +14544,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14532
14544
  },
14533
14545
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14534
14546
  error: RunnerRpcError
14535
- }), make5("AlertTask", {
14547
+ }), make6("AlertTask", {
14536
14548
  payload: {
14537
14549
  lease: ProgramLease,
14538
14550
  step: String4,
@@ -14549,7 +14561,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14549
14561
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14550
14562
  }),
14551
14563
  error: RunnerRpcError
14552
- }), make5("ReadTranscripts", {
14564
+ }), make6("ReadTranscripts", {
14553
14565
  payload: {
14554
14566
  lease: ProgramLease,
14555
14567
  step: String4,
@@ -14584,7 +14596,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14584
14596
  })))
14585
14597
  }),
14586
14598
  error: RunnerRpcError
14587
- }), make5("PipelineStatus", {
14599
+ }), make6("PipelineStatus", {
14588
14600
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14589
14601
  success: Struct({
14590
14602
  head: String4,
@@ -14618,11 +14630,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14618
14630
  }))
14619
14631
  }),
14620
14632
  error: RunnerRpcError
14621
- }), make5("ReportPipeline", {
14633
+ }), make6("ReportPipeline", {
14622
14634
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14623
14635
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14624
14636
  error: RunnerRpcError
14625
- }), make5("ReviewThreads", {
14637
+ }), make6("ReviewThreads", {
14626
14638
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14627
14639
  success: Struct({
14628
14640
  threads: ArraySchema(Struct({
@@ -14634,7 +14646,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14634
14646
  }))
14635
14647
  }),
14636
14648
  error: RunnerRpcError
14637
- }), make5("OpenChangeRequests", {
14649
+ }), make6("OpenChangeRequests", {
14638
14650
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14639
14651
  success: Struct({
14640
14652
  changeRequests: ArraySchema(Struct({
@@ -14648,7 +14660,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14648
14660
  }))
14649
14661
  }),
14650
14662
  error: RunnerRpcError
14651
- }), make5("OwnChangeRequests", {
14663
+ }), make6("OwnChangeRequests", {
14652
14664
  payload: { lease: ProgramLease, step: String4 },
14653
14665
  success: Struct({
14654
14666
  changeRequests: ArraySchema(Struct({
@@ -14661,7 +14673,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14661
14673
  }))
14662
14674
  }),
14663
14675
  error: RunnerRpcError
14664
- }), make5("Propose", {
14676
+ }), make6("Propose", {
14665
14677
  payload: {
14666
14678
  lease: ProgramLease,
14667
14679
  step: String4,
@@ -14690,7 +14702,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14690
14702
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14691
14703
  }),
14692
14704
  error: RunnerRpcError
14693
- }), make5("ReadProject", {
14705
+ }), make6("ReadProject", {
14694
14706
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14695
14707
  success: Struct({
14696
14708
  project: Struct({ id: String4, name: String4 }),
@@ -14713,7 +14725,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14713
14725
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14714
14726
  }),
14715
14727
  error: RunnerRpcError
14716
- }), make5("DraftUpdate", {
14728
+ }), make6("DraftUpdate", {
14717
14729
  payload: {
14718
14730
  lease: ProgramLease,
14719
14731
  step: String4,
@@ -14728,7 +14740,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14728
14740
  },
14729
14741
  success: Struct({ id: String4 }),
14730
14742
  error: RunnerRpcError
14731
- }), make5("CreatePlanTasks", {
14743
+ }), make6("CreatePlanTasks", {
14732
14744
  payload: {
14733
14745
  lease: ProgramLease,
14734
14746
  projectId: optionalKey(String4),
@@ -14746,15 +14758,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14746
14758
  },
14747
14759
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14748
14760
  error: RunnerRpcError
14749
- }), make5("IntegrationBranch", {
14761
+ }), make6("IntegrationBranch", {
14750
14762
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14751
14763
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14752
14764
  error: RunnerRpcError
14753
- }), make5("DeliveryBase", {
14765
+ }), make6("DeliveryBase", {
14754
14766
  payload: { lease: ProgramLease },
14755
14767
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14756
14768
  error: RunnerRpcError
14757
- }), make5("MergeChangeRequest", {
14769
+ }), make6("MergeChangeRequest", {
14758
14770
  payload: {
14759
14771
  lease: ProgramLease,
14760
14772
  step: String4,
@@ -14772,7 +14784,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14772
14784
  Struct({ status: Literal("moved"), head: String4 })
14773
14785
  ]),
14774
14786
  error: RunnerRpcError
14775
- }), make5("ApproveChangeRequest", {
14787
+ }), make6("ApproveChangeRequest", {
14776
14788
  payload: {
14777
14789
  lease: ProgramLease,
14778
14790
  step: String4,
@@ -14788,7 +14800,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14788
14800
  Struct({ approved: Literal(false), reason: String4 })
14789
14801
  ]),
14790
14802
  error: RunnerRpcError
14791
- }), make5("CloseChangeRequest", {
14803
+ }), make6("CloseChangeRequest", {
14792
14804
  payload: {
14793
14805
  lease: ProgramLease,
14794
14806
  step: String4,
@@ -14798,7 +14810,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14798
14810
  },
14799
14811
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14800
14812
  error: RunnerRpcError
14801
- }), make5("RerunPipeline", {
14813
+ }), make6("RerunPipeline", {
14802
14814
  payload: {
14803
14815
  lease: ProgramLease,
14804
14816
  step: String4,
@@ -14808,7 +14820,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14808
14820
  },
14809
14821
  success: Struct({ head: String4, pipelines: Int }),
14810
14822
  error: RunnerRpcError
14811
- }), make5("PublishRelease", {
14823
+ }), make6("PublishRelease", {
14812
14824
  payload: {
14813
14825
  lease: ProgramLease,
14814
14826
  step: String4,
@@ -14820,14 +14832,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14820
14832
  },
14821
14833
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14822
14834
  error: RunnerRpcError
14823
- }), make5("ProgramSecrets", {
14835
+ }), make6("ProgramSecrets", {
14824
14836
  payload: { lease: ProgramLease },
14825
14837
  success: Record(String4, String4),
14826
14838
  error: RunnerRpcError
14827
14839
  })).middleware(RunnerAuthentication) {
14828
14840
  }
14829
14841
 
14830
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14842
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14831
14843
  payload: {
14832
14844
  lease: ProgramLease,
14833
14845
  step: String4,
@@ -14839,11 +14851,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14839
14851
  },
14840
14852
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14841
14853
  error: Union([RunnerRpcError, RunFileRefused])
14842
- }), make5("RunFileParts", {
14854
+ }), make6("RunFileParts", {
14843
14855
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14844
14856
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14845
14857
  error: RunnerRpcError
14846
- }), make5("CompleteRunFile", {
14858
+ }), make6("CompleteRunFile", {
14847
14859
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14848
14860
  success: RunFileRecord,
14849
14861
  error: RunnerRpcError
@@ -14932,7 +14944,7 @@ function toStoredSession(token, existingRefreshToken) {
14932
14944
  }
14933
14945
  function startLoopbackServer(input) {
14934
14946
  return gen(function* () {
14935
- const code = yield* make15();
14947
+ const code = yield* make16();
14936
14948
  const context2 = yield* context();
14937
14949
  const runSyncExit = runSyncExitWith(context2);
14938
14950
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15472,7 +15484,7 @@ var openConnection = (transport) => gen(function* () {
15472
15484
  let lastId = 0;
15473
15485
  let lost = false;
15474
15486
  const notifications = yield* unbounded2();
15475
- const ended = yield* make15();
15487
+ const ended = yield* make16();
15476
15488
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15477
15489
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15478
15490
  onNone: () => void_3,
@@ -15499,7 +15511,7 @@ var openConnection = (transport) => gen(function* () {
15499
15511
  if (lost)
15500
15512
  return yield* new HerdrCoreConnectionLost2({ method });
15501
15513
  const id = ++lastId;
15502
- const deferred = yield* make15();
15514
+ const deferred = yield* make16();
15503
15515
  pending.set(id, { method, deferred });
15504
15516
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15505
15517
  return yield* _await(deferred);
@@ -15573,14 +15585,14 @@ var herdrCoreOver = (transport) => ({
15573
15585
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15574
15586
  };
15575
15587
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15576
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15588
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15577
15589
  }))
15578
15590
  });
15579
15591
  var spawnedTransport = (env) => gen(function* () {
15580
15592
  const spawner = yield* ChildProcessSpawner;
15581
15593
  const input = yield* unbounded2();
15582
15594
  const encoder = new TextEncoder;
15583
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15595
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15584
15596
  extendEnv: false,
15585
15597
  env,
15586
15598
  stdin: fromQueue(input),
@@ -15611,7 +15623,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15611
15623
  const spawner = yield* ChildProcessSpawner;
15612
15624
  const env = coreEnv(options);
15613
15625
  const run = (args) => gen(function* () {
15614
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15626
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15615
15627
  const [stdout, stderr, exitCode] = yield* all3([
15616
15628
  mkString(decodeText(handle.stdout)),
15617
15629
  mkString(decodeText(handle.stderr)),
@@ -15637,7 +15649,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15637
15649
  }
15638
15650
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15639
15651
  const spawner = yield* ChildProcessSpawner;
15640
- const handle = yield* spawner.spawn(make2(command, args, {
15652
+ const handle = yield* spawner.spawn(make3(command, args, {
15641
15653
  stdin: "ignore",
15642
15654
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15643
15655
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15663,8 +15675,8 @@ var shellOutputTailChars2 = 64 * 1024;
15663
15675
  var runProcess2 = (argv, options) => gen(function* () {
15664
15676
  const spawner = yield* ChildProcessSpawner;
15665
15677
  const [command, ...args] = argv;
15666
- const handle = yield* spawner.spawn(make2(command, args, {
15667
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15678
+ const handle = yield* spawner.spawn(make3(command, args, {
15679
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15668
15680
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15669
15681
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15670
15682
  }));
@@ -16096,4 +16108,4 @@ function checkServices(declaration) {
16096
16108
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16097
16109
  }
16098
16110
 
16099
- 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 };
16111
+ 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 };