@kitman-sh/cli 0.30.0 → 0.31.0

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 (28) hide show
  1. package/dist/{chunk-js64y97w.js → chunk-2sazk478.js} +4 -4
  2. package/dist/{chunk-msn6rrx9.js → chunk-38drrdzp.js} +4 -4
  3. package/dist/{chunk-cehbrs1y.js → chunk-5qrjf4xq.js} +5 -5
  4. package/dist/{chunk-samxkpbz.js → chunk-9a6wbk11.js} +3 -3
  5. package/dist/{chunk-sw0dadq5.js → chunk-9vqkjkya.js} +1 -1
  6. package/dist/{chunk-yr7np5eb.js → chunk-9yvknsnj.js} +3 -3
  7. package/dist/{chunk-39kjyh2y.js → chunk-emw9ragp.js} +21 -21
  8. package/dist/{chunk-d4h1p51s.js → chunk-fjdp3rd6.js} +24 -24
  9. package/dist/{chunk-my92qn4x.js → chunk-kx8rpa62.js} +10 -10
  10. package/dist/{chunk-5kqt4bqp.js → chunk-m1qp6swh.js} +1 -1
  11. package/dist/{chunk-3xg9zbmy.js → chunk-njgay1ed.js} +9 -9
  12. package/dist/{chunk-chxtmsns.js → chunk-nk0ew12p.js} +152 -109
  13. package/dist/{chunk-7j1kf6sa.js → chunk-nndgeync.js} +6 -6
  14. package/dist/{chunk-tsx0347c.js → chunk-pd3azxev.js} +1 -1
  15. package/dist/{chunk-wtea9nbk.js → chunk-qb11yda6.js} +24 -24
  16. package/dist/{chunk-bv4gcq1h.js → chunk-qbrkeg49.js} +7 -7
  17. package/dist/{chunk-1j38xtvp.js → chunk-qjxgew0k.js} +2 -2
  18. package/dist/{chunk-4qjfn1sa.js → chunk-r2kzvdrg.js} +1 -1
  19. package/dist/{chunk-yaa3gkpx.js → chunk-s4r49vbj.js} +9 -9
  20. package/dist/{chunk-gap0vmj7.js → chunk-vh2a72d1.js} +14 -60
  21. package/dist/{chunk-r7m32p2j.js → chunk-vwynec02.js} +1 -1
  22. package/dist/{chunk-0mg7k9b4.js → chunk-xxcxramy.js} +117 -118
  23. package/dist/{chunk-h2f26xbd.js → chunk-y64ssczv.js} +226 -40
  24. package/dist/{chunk-tbmht2qb.js → chunk-yjc2w86k.js} +10 -10
  25. package/dist/{chunk-63cyj9dh.js → chunk-z59pvcbk.js} +31 -174
  26. package/dist/{chunk-vz38kngm.js → chunk-zy21drtv.js} +2 -2
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make14,
41
+ make13,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make15,
61
+ make14,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -91,7 +91,7 @@ import {
91
91
  fail4,
92
92
  isSuccess2,
93
93
  makeUnsafe5,
94
- make16,
94
+ make15,
95
95
  _await,
96
96
  fail5,
97
97
  isDone,
@@ -193,7 +193,12 @@ import {
193
193
  clockWith,
194
194
  logError,
195
195
  effectify,
196
+ toNumber,
197
+ bytes,
196
198
  decode,
199
+ isRedacted,
200
+ make16,
201
+ value,
197
202
  defaultParseOptions,
198
203
  omit,
199
204
  map10,
@@ -264,18 +269,16 @@ import {
264
269
  decodeJsonStringOption,
265
270
  encodeJsonStringSync,
266
271
  encodePrettyJsonString
267
- } from "./chunk-h2f26xbd.js";
272
+ } from "./chunk-y64ssczv.js";
268
273
  import {
269
274
  map,
270
275
  makeEquivalence,
271
- toNumber,
272
- bytes,
273
276
  BadArgument,
274
277
  systemError,
275
278
  badArgument,
276
279
  makeUnsafe2,
280
+ make7,
277
281
  make8,
278
- make9,
279
282
  sliding,
280
283
  unbounded2,
281
284
  offer,
@@ -291,13 +294,13 @@ import {
291
294
  isSink,
292
295
  fromChannel,
293
296
  drain,
294
- make10,
297
+ make9,
295
298
  get3,
296
299
  isStream,
297
300
  fromChannel2,
298
301
  callback,
299
302
  empty2,
300
- make11,
303
+ make10,
301
304
  suspend,
302
305
  fail2,
303
306
  fromQueue,
@@ -323,31 +326,28 @@ import {
323
326
  mkArrayBuffer,
324
327
  toReadableStreamEffect,
325
328
  FileSystem,
326
- make12,
329
+ make11,
327
330
  FileTypeId,
328
331
  WatchBackend,
329
332
  Path,
330
- make13,
333
+ make12,
331
334
  option,
332
335
  String2,
333
336
  optionalEnv,
334
337
  harnessesUnsupportedInSrt2,
335
338
  harnessesUnsupportedInDocker2
336
- } from "./chunk-63cyj9dh.js";
339
+ } from "./chunk-z59pvcbk.js";
337
340
  import {
338
- isRedacted,
339
- make,
340
- value,
341
341
  ExitCode,
342
342
  ProcessId,
343
343
  makeHandle,
344
- make2,
344
+ make,
345
345
  ChildProcessSpawner,
346
346
  display,
347
- make3,
347
+ make2,
348
348
  parseFdName,
349
349
  fdName
350
- } from "./chunk-gap0vmj7.js";
350
+ } from "./chunk-vh2a72d1.js";
351
351
  import {
352
352
  isDateTime,
353
353
  Numeric,
@@ -360,8 +360,7 @@ import {
360
360
  SecretScope,
361
361
  SecretHosts,
362
362
  isSecretReference
363
- } from "./chunk-4qjfn1sa.js";
364
-
363
+ } from "./chunk-r2kzvdrg.js";
365
364
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
366
365
  var makeEquivalence3 = Tuple;
367
366
 
@@ -523,7 +522,7 @@ var makeUnsafe6 = (input) => {
523
522
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
524
523
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
525
524
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
526
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
525
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
527
526
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
528
527
  var nowUnsafe = () => makeUtc(Date.now());
529
528
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -904,7 +903,7 @@ var runMain = runMain2;
904
903
 
905
904
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
906
905
  var makeUnsafe = makeUnsafe6;
907
- var make18 = make4;
906
+ var make18 = make3;
908
907
  var now2 = now;
909
908
  var nowUnsafe2 = nowUnsafe;
910
909
  var toDateUtc2 = toDateUtc;
@@ -1119,7 +1118,7 @@ var readableToPullUnsafe = (options) => {
1119
1118
  const readable = options.readable;
1120
1119
  const chunkSize = options.chunkSize ?? 4096;
1121
1120
  const closeOnDone = options.closeOnDone ?? true;
1122
- const exit = options.exit ?? make8(undefined);
1121
+ const exit = options.exit ?? make7(undefined);
1123
1122
  const latch = options.latch ?? makeUnsafe2(false);
1124
1123
  function onReadable() {
1125
1124
  latch.openUnsafe();
@@ -1683,7 +1682,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1683
1682
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1684
1683
  const toOption = options.to ?? "stdin";
1685
1684
  if (toOption === "stdin") {
1686
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1685
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1687
1686
  ...command.options,
1688
1687
  stdin: {
1689
1688
  ...stdinConfig,
@@ -1703,7 +1702,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1703
1702
  type: "input",
1704
1703
  stream: sourceStream
1705
1704
  };
1706
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1705
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1707
1706
  ...command.options,
1708
1707
  additionalFds: {
1709
1708
  ...existingFds,
@@ -1711,7 +1710,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1711
1710
  }
1712
1711
  })));
1713
1712
  } else {
1714
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1713
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1715
1714
  ...command.options,
1716
1715
  stdin: {
1717
1716
  ...stdinConfig,
@@ -1750,7 +1749,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1750
1749
  }
1751
1750
  }
1752
1751
  });
1753
- return make2(spawnCommand);
1752
+ return make(spawnCommand);
1754
1753
  });
1755
1754
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1756
1755
  var flattenCommand = (command) => {
@@ -2236,7 +2235,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2236
2235
  resume(fail7(handleBadArgument("writeFile")(err)));
2237
2236
  }
2238
2237
  });
2239
- var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2238
+ var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2240
2239
  access: access2,
2241
2240
  chmod: chmod2,
2242
2241
  chown: chown2,
@@ -2296,15 +2295,15 @@ var fileUrlOps = (windows) => ({
2296
2295
  })
2297
2296
  })
2298
2297
  });
2299
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2298
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2300
2299
  ...NodePath.posix,
2301
2300
  .../* @__PURE__ */ fileUrlOps(false)
2302
2301
  }));
2303
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2302
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2304
2303
  ...NodePath.win32,
2305
2304
  .../* @__PURE__ */ fileUrlOps(true)
2306
2305
  }));
2307
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2306
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2308
2307
  ...NodePath,
2309
2308
  .../* @__PURE__ */ fileUrlOps(undefined)
2310
2309
  }));
@@ -2831,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2831
2830
  if (typeof key === "string") {
2832
2831
  const k = key.toLowerCase();
2833
2832
  if (k in self) {
2834
- out[k] = make(self[k]);
2833
+ out[k] = make16(self[k]);
2835
2834
  }
2836
2835
  } else {
2837
2836
  for (const name in self) {
2838
2837
  if (name.search(key) !== -1) {
2839
- out[name] = make(self[name]);
2838
+ out[name] = make16(self[name]);
2840
2839
  }
2841
2840
  }
2842
2841
  }
@@ -2943,7 +2942,7 @@ var fromInputNested = (input) => {
2943
2942
  return out;
2944
2943
  };
2945
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2946
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2948
2947
  var empty4 = /* @__PURE__ */ make23([]);
2949
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2962,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2962
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2963
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2964
2963
  const patterns = Array.isArray(key) ? key : [key];
2965
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2964
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2966
2965
  });
2967
2966
  var isRedactedName2 = isRedactedName;
2968
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3038,7 +3037,7 @@ import * as readline from "readline";
3038
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3039
3038
  const stdin = process.stdin;
3040
3039
  const stdout = process.stdout;
3041
- const lines = yield* make9();
3040
+ const lines = yield* make8();
3042
3041
  let inputEnded = stdin.readableEnded;
3043
3042
  let readlineActive = false;
3044
3043
  const onStdinEnd = () => {
@@ -3049,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3049
3048
  };
3050
3049
  stdin.once("end", onStdinEnd);
3051
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3052
- const rlRef = yield* make10({
3051
+ const rlRef = yield* make9({
3053
3052
  acquire: acquireRelease(sync2(() => {
3054
3053
  const rl = readline.createInterface({
3055
3054
  input: stdin,
@@ -3088,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3088
3087
  if (stdin.isTTY)
3089
3088
  stdin.setRawMode(enabled);
3090
3089
  });
3091
- const rawModeRef = yield* make10({
3090
+ const rawModeRef = yield* make9({
3092
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3093
3092
  idleTimeToLive: "10 millis"
3094
3093
  });
@@ -3109,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3109
3108
  return queue;
3110
3109
  });
3111
3110
  const readInput = gen(function* () {
3112
- const queue = yield* make9();
3111
+ const queue = yield* make8();
3113
3112
  const handleKeypress = (s, k) => {
3114
3113
  const userInput = {
3115
3114
  input: fromUndefinedOr(s),
@@ -11115,14 +11114,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
11115
11114
  return self;
11116
11115
  }
11117
11116
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
11118
- var make5 = (method) => (url, options) => modify(empty6, {
11117
+ var make4 = (method) => (url, options) => modify(empty6, {
11119
11118
  method,
11120
11119
  url,
11121
11120
  ...options ?? undefined
11122
11121
  });
11123
- var get = /* @__PURE__ */ make5("GET");
11124
- var post = /* @__PURE__ */ make5("POST");
11125
- var put = /* @__PURE__ */ make5("PUT");
11122
+ var get = /* @__PURE__ */ make4("GET");
11123
+ var post = /* @__PURE__ */ make4("POST");
11124
+ var put = /* @__PURE__ */ make4("PUT");
11126
11125
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
11127
11126
  let result = self;
11128
11127
  if (options.method) {
@@ -11423,7 +11422,7 @@ var Proto7 = {
11423
11422
  };
11424
11423
  },
11425
11424
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
11426
- return this.execute(make5(fullMethod)(url, options));
11425
+ return this.execute(make4(fullMethod)(url, options));
11427
11426
  }]))
11428
11427
  };
11429
11428
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -15512,7 +15511,7 @@ var makeProto = (options) => {
15512
15511
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
15513
15512
  return Rpc;
15514
15513
  };
15515
- var make6 = (tag, options) => {
15514
+ var make5 = (tag, options) => {
15516
15515
  const successSchema = options?.success ?? Void;
15517
15516
  const errorSchema = options?.error ?? Never;
15518
15517
  const defectSchema = options?.defect ?? Defect();
@@ -15723,7 +15722,7 @@ var RpcGroupProto = {
15723
15722
  });
15724
15723
  },
15725
15724
  annotateRpcs(service, value) {
15726
- return this.annotateRpcsMerge(make15(service, value));
15725
+ return this.annotateRpcsMerge(make14(service, value));
15727
15726
  },
15728
15727
  annotateMerge(context) {
15729
15728
  return makeProto2({
@@ -15746,7 +15745,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
15746
15745
  requests: options.requests,
15747
15746
  annotations: options.annotations
15748
15747
  });
15749
- var make7 = (...rpcs) => makeProto2({
15748
+ var make6 = (...rpcs) => makeProto2({
15750
15749
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
15751
15750
  annotations: empty3()
15752
15751
  });
@@ -15852,77 +15851,77 @@ var ProgramOutcome = Union([
15852
15851
  Struct({ status: Literal("failed"), failureSummary: String4 })
15853
15852
  ]);
15854
15853
 
15855
- class RunnerReplicaRpcs extends make7(make6("Claim", {
15854
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
15856
15855
  payload: WorkUnitClaimInput,
15857
15856
  success: WorkUnitClaimResult,
15858
15857
  error: RunnerRpcError
15859
- }), make6("Heartbeat", {
15858
+ }), make5("Heartbeat", {
15860
15859
  payload: WorkUnitHeartbeatInput,
15861
15860
  success: WorkUnitHeartbeatResult,
15862
15861
  error: RunnerRpcError
15863
- }), make6("Complete", {
15862
+ }), make5("Complete", {
15864
15863
  payload: WorkUnitCompletion,
15865
15864
  error: RunnerRpcError
15866
- }), make6("Release", {
15865
+ }), make5("Release", {
15867
15866
  payload: WorkUnitReleaseInput,
15868
15867
  error: RunnerRpcError
15869
- }), make6("Signals", {
15868
+ }), make5("Signals", {
15870
15869
  payload: { runnerReplicaId: String4 },
15871
15870
  success: RunnerSignal,
15872
15871
  error: RunnerRpcError,
15873
15872
  stream: true
15874
- }), make6("ReportSteer", {
15873
+ }), make5("ReportSteer", {
15875
15874
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
15876
15875
  success: Void,
15877
15876
  error: RunnerRpcError
15878
- }), make6("AppendTranscript", {
15877
+ }), make5("AppendTranscript", {
15879
15878
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
15880
15879
  success: Void,
15881
15880
  error: RunnerRpcError
15882
- }), make6("CreateCheckpointFile", {
15881
+ }), make5("CreateCheckpointFile", {
15883
15882
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
15884
15883
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15885
15884
  error: Union([RunnerRpcError, RunFileRefused])
15886
- }), make6("CheckpointFileParts", {
15885
+ }), make5("CheckpointFileParts", {
15887
15886
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15888
15887
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15889
15888
  error: RunnerRpcError
15890
- }), make6("CompleteCheckpointFile", {
15889
+ }), make5("CompleteCheckpointFile", {
15891
15890
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15892
15891
  success: RunFileRecord,
15893
15892
  error: RunnerRpcError
15894
- }), make6("SaveCheckpoint", {
15893
+ }), make5("SaveCheckpoint", {
15895
15894
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
15896
15895
  success: Void,
15897
15896
  error: RunnerRpcError
15898
- }), make6("ResumeCheckpoint", {
15897
+ }), make5("ResumeCheckpoint", {
15899
15898
  payload: { lease: ProgramLease },
15900
15899
  success: UndefinedOr(ResumedCheckpoint),
15901
15900
  error: RunnerRpcError
15902
- }), make6("SettledCheckpoints", {
15901
+ }), make5("SettledCheckpoints", {
15903
15902
  success: ArraySchema(Struct({
15904
15903
  stepAttemptId: String4,
15905
15904
  ref: optionalKey(String4),
15906
15905
  repoBinding: optionalKey(WorkUnitRepoBinding)
15907
15906
  })),
15908
15907
  error: RunnerRpcError
15909
- }), make6("ForgetCheckpoints", {
15908
+ }), make5("ForgetCheckpoints", {
15910
15909
  payload: { stepAttemptIds: ArraySchema(String4) },
15911
15910
  success: Void,
15912
15911
  error: RunnerRpcError
15913
- }), make6("GitCredential", {
15912
+ }), make5("GitCredential", {
15914
15913
  payload: { repoBindingId: String4 },
15915
15914
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
15916
15915
  error: RunnerRpcError
15917
- }), make6("Bundle", {
15916
+ }), make5("Bundle", {
15918
15917
  payload: { digest: String4 },
15919
15918
  success: Struct({ bundle: String4 }),
15920
15919
  error: RunnerRpcError
15921
- }), make6("SettledRuns", {
15920
+ }), make5("SettledRuns", {
15922
15921
  payload: { runIds: ArraySchema(String4) },
15923
15922
  success: ArraySchema(String4),
15924
15923
  error: RunnerRpcError
15925
- }), make6("KnownEvidence", {
15924
+ }), make5("KnownEvidence", {
15926
15925
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
15927
15926
  success: ArraySchema(Struct({
15928
15927
  tree: String4,
@@ -15934,24 +15933,24 @@ class RunnerReplicaRpcs extends make7(make6("Claim", {
15934
15933
  })).middleware(RunnerAuthentication) {
15935
15934
  }
15936
15935
 
15937
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
15936
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
15938
15937
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
15939
15938
  error: RunnerRpcError
15940
- }), make6("DeferredDone", {
15939
+ }), make5("DeferredDone", {
15941
15940
  payload: { lease: ProgramLease, name: String4, exit: Json },
15942
15941
  error: RunnerRpcError
15943
- }), make6("ScheduleClock", {
15942
+ }), make5("ScheduleClock", {
15944
15943
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
15945
15944
  error: RunnerRpcError
15946
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15945
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15947
15946
  }
15948
- var RunHostStep = make6("RunHostStep", {
15947
+ var RunHostStep = make5("RunHostStep", {
15949
15948
  payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
15950
15949
  success: Json,
15951
15950
  error: RunnerRpcError
15952
15951
  });
15953
15952
 
15954
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15953
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15955
15954
  payload: {
15956
15955
  lease: ProgramLease,
15957
15956
  step: String4,
@@ -15971,7 +15970,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15971
15970
  },
15972
15971
  success: Struct({ questionId: String4 }),
15973
15972
  error: RunnerRpcError
15974
- }), make6("StartAgentStep", {
15973
+ }), make5("StartAgentStep", {
15975
15974
  payload: {
15976
15975
  lease: ProgramLease,
15977
15976
  step: String4,
@@ -15988,7 +15987,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15988
15987
  },
15989
15988
  success: Struct({ stepAttemptId: String4 }),
15990
15989
  error: RunnerRpcError
15991
- }), make6("StartVerification", {
15990
+ }), make5("StartVerification", {
15992
15991
  payload: {
15993
15992
  lease: ProgramLease,
15994
15993
  step: String4,
@@ -16012,7 +16011,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16012
16011
  },
16013
16012
  success: Struct({ verificationId: String4 }),
16014
16013
  error: RunnerRpcError
16015
- }), make6("AwaitEvent", {
16014
+ }), make5("AwaitEvent", {
16016
16015
  payload: {
16017
16016
  lease: ProgramLease,
16018
16017
  step: String4,
@@ -16028,7 +16027,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16028
16027
  })))
16029
16028
  },
16030
16029
  error: RunnerRpcError
16031
- }), make6("ClaimResource", {
16030
+ }), make5("ClaimResource", {
16032
16031
  payload: {
16033
16032
  lease: ProgramLease,
16034
16033
  step: String4,
@@ -16039,7 +16038,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16039
16038
  claims: optionalKey(ArraySchema(String4))
16040
16039
  },
16041
16040
  error: RunnerRpcError
16042
- }), make6("AdmitChild", {
16041
+ }), make5("AdmitChild", {
16043
16042
  payload: {
16044
16043
  lease: ProgramLease,
16045
16044
  step: String4,
@@ -16050,7 +16049,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16050
16049
  },
16051
16050
  success: Struct({ runId: String4 }),
16052
16051
  error: RunnerRpcError
16053
- }), make6("AdmitChildById", {
16052
+ }), make5("AdmitChildById", {
16054
16053
  payload: {
16055
16054
  lease: ProgramLease,
16056
16055
  step: String4,
@@ -16061,18 +16060,18 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16061
16060
  },
16062
16061
  success: Struct({ runId: String4 }),
16063
16062
  error: RunnerRpcError
16064
- }), make6("CallableLoops", {
16063
+ }), make5("CallableLoops", {
16065
16064
  payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
16066
16065
  success: Struct({ loops: ArraySchema(CallableLoop) }),
16067
16066
  error: RunnerRpcError
16068
- }), make6("StopLaunches", {
16067
+ }), make5("StopLaunches", {
16069
16068
  payload: {
16070
16069
  lease: ProgramLease,
16071
16070
  step: String4,
16072
16071
  deferredNames: ArraySchema(String4)
16073
16072
  },
16074
16073
  error: RunnerRpcError
16075
- }), make6("StoreArtifact", {
16074
+ }), make5("StoreArtifact", {
16076
16075
  payload: {
16077
16076
  lease: ProgramLease,
16078
16077
  step: String4,
@@ -16084,7 +16083,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16084
16083
  },
16085
16084
  success: Struct({ artifactId: String4 }),
16086
16085
  error: RunnerRpcError
16087
- }), make6("RecordNote", {
16086
+ }), make5("RecordNote", {
16088
16087
  payload: {
16089
16088
  lease: ProgramLease,
16090
16089
  step: String4,
@@ -16093,7 +16092,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16093
16092
  kind: optional(Literals(["note", "blocker"]))
16094
16093
  },
16095
16094
  error: RunnerRpcError
16096
- }), make6("PerformHostEffect", {
16095
+ }), make5("PerformHostEffect", {
16097
16096
  payload: {
16098
16097
  lease: ProgramLease,
16099
16098
  step: String4,
@@ -16122,7 +16121,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16122
16121
  },
16123
16122
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
16124
16123
  error: RunnerRpcError
16125
- }), make6("AlertTask", {
16124
+ }), make5("AlertTask", {
16126
16125
  payload: {
16127
16126
  lease: ProgramLease,
16128
16127
  step: String4,
@@ -16139,7 +16138,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16139
16138
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
16140
16139
  }),
16141
16140
  error: RunnerRpcError
16142
- }), make6("ReadTranscripts", {
16141
+ }), make5("ReadTranscripts", {
16143
16142
  payload: {
16144
16143
  lease: ProgramLease,
16145
16144
  step: String4,
@@ -16174,7 +16173,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16174
16173
  })))
16175
16174
  }),
16176
16175
  error: RunnerRpcError
16177
- }), make6("PipelineStatus", {
16176
+ }), make5("PipelineStatus", {
16178
16177
  payload: {
16179
16178
  lease: ProgramLease,
16180
16179
  step: String4,
@@ -16214,11 +16213,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16214
16213
  }))
16215
16214
  }),
16216
16215
  error: RunnerRpcError
16217
- }), make6("ReportPipeline", {
16216
+ }), make5("ReportPipeline", {
16218
16217
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
16219
16218
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
16220
16219
  error: RunnerRpcError
16221
- }), make6("ReviewThreads", {
16220
+ }), make5("ReviewThreads", {
16222
16221
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
16223
16222
  success: Struct({
16224
16223
  threads: ArraySchema(Struct({
@@ -16230,7 +16229,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16230
16229
  }))
16231
16230
  }),
16232
16231
  error: RunnerRpcError
16233
- }), make6("OpenChangeRequests", {
16232
+ }), make5("OpenChangeRequests", {
16234
16233
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
16235
16234
  success: Struct({
16236
16235
  changeRequests: ArraySchema(Struct({
@@ -16244,7 +16243,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16244
16243
  }))
16245
16244
  }),
16246
16245
  error: RunnerRpcError
16247
- }), make6("OwnChangeRequests", {
16246
+ }), make5("OwnChangeRequests", {
16248
16247
  payload: { lease: ProgramLease, step: String4 },
16249
16248
  success: Struct({
16250
16249
  changeRequests: ArraySchema(Struct({
@@ -16257,7 +16256,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16257
16256
  }))
16258
16257
  }),
16259
16258
  error: RunnerRpcError
16260
- }), make6("Propose", {
16259
+ }), make5("Propose", {
16261
16260
  payload: {
16262
16261
  lease: ProgramLease,
16263
16262
  step: String4,
@@ -16286,7 +16285,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16286
16285
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
16287
16286
  }),
16288
16287
  error: RunnerRpcError
16289
- }), make6("ReadProject", {
16288
+ }), make5("ReadProject", {
16290
16289
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
16291
16290
  success: Struct({
16292
16291
  project: Struct({ id: String4, name: String4 }),
@@ -16309,7 +16308,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16309
16308
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
16310
16309
  }),
16311
16310
  error: RunnerRpcError
16312
- }), make6("DraftUpdate", {
16311
+ }), make5("DraftUpdate", {
16313
16312
  payload: {
16314
16313
  lease: ProgramLease,
16315
16314
  step: String4,
@@ -16324,7 +16323,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16324
16323
  },
16325
16324
  success: Struct({ id: String4 }),
16326
16325
  error: RunnerRpcError
16327
- }), make6("CreatePlanTasks", {
16326
+ }), make5("CreatePlanTasks", {
16328
16327
  payload: {
16329
16328
  lease: ProgramLease,
16330
16329
  projectId: optionalKey(String4),
@@ -16345,15 +16344,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16345
16344
  },
16346
16345
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
16347
16346
  error: RunnerRpcError
16348
- }), make6("IntegrationBranch", {
16347
+ }), make5("IntegrationBranch", {
16349
16348
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
16350
16349
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16351
16350
  error: RunnerRpcError
16352
- }), make6("DeliveryBase", {
16351
+ }), make5("DeliveryBase", {
16353
16352
  payload: { lease: ProgramLease },
16354
16353
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16355
16354
  error: RunnerRpcError
16356
- }), make6("Branch", {
16355
+ }), make5("Branch", {
16357
16356
  payload: {
16358
16357
  lease: ProgramLease,
16359
16358
  branch: optionalKey(String4),
@@ -16368,7 +16367,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16368
16367
  created: Boolean2
16369
16368
  }),
16370
16369
  error: RunnerRpcError
16371
- }), make6("BranchChangeRequest", {
16370
+ }), make5("BranchChangeRequest", {
16372
16371
  payload: {
16373
16372
  lease: ProgramLease,
16374
16373
  step: String4,
@@ -16391,7 +16390,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16391
16390
  Struct({ status: Literal("elsewhere"), team: String4 })
16392
16391
  ]),
16393
16392
  error: RunnerRpcError
16394
- }), make6("MergeChangeRequest", {
16393
+ }), make5("MergeChangeRequest", {
16395
16394
  payload: {
16396
16395
  lease: ProgramLease,
16397
16396
  step: String4,
@@ -16409,7 +16408,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16409
16408
  Struct({ status: Literal("moved"), head: String4 })
16410
16409
  ]),
16411
16410
  error: RunnerRpcError
16412
- }), make6("ApproveChangeRequest", {
16411
+ }), make5("ApproveChangeRequest", {
16413
16412
  payload: {
16414
16413
  lease: ProgramLease,
16415
16414
  step: String4,
@@ -16425,7 +16424,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16425
16424
  Struct({ approved: Literal(false), reason: String4 })
16426
16425
  ]),
16427
16426
  error: RunnerRpcError
16428
- }), make6("CloseChangeRequest", {
16427
+ }), make5("CloseChangeRequest", {
16429
16428
  payload: {
16430
16429
  lease: ProgramLease,
16431
16430
  step: String4,
@@ -16435,7 +16434,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16435
16434
  },
16436
16435
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
16437
16436
  error: RunnerRpcError
16438
- }), make6("RerunPipeline", {
16437
+ }), make5("RerunPipeline", {
16439
16438
  payload: {
16440
16439
  lease: ProgramLease,
16441
16440
  step: String4,
@@ -16445,7 +16444,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16445
16444
  },
16446
16445
  success: Struct({ head: String4, pipelines: Int }),
16447
16446
  error: RunnerRpcError
16448
- }), make6("PublishRelease", {
16447
+ }), make5("PublishRelease", {
16449
16448
  payload: {
16450
16449
  lease: ProgramLease,
16451
16450
  step: String4,
@@ -16459,7 +16458,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16459
16458
  },
16460
16459
  success: Struct({ tag: String4, revision: String4, url: String4 }),
16461
16460
  error: RunnerRpcError
16462
- }), make6("RecordDeploy", {
16461
+ }), make5("RecordDeploy", {
16463
16462
  payload: {
16464
16463
  lease: ProgramLease,
16465
16464
  step: String4,
@@ -16471,7 +16470,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16471
16470
  },
16472
16471
  success: Deploy,
16473
16472
  error: RunnerRpcError
16474
- }), make6("DeployTarget", {
16473
+ }), make5("DeployTarget", {
16475
16474
  payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
16476
16475
  success: Struct({
16477
16476
  target: String4,
@@ -16479,14 +16478,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16479
16478
  order: optionalKey(ArraySchema(String4))
16480
16479
  }),
16481
16480
  error: RunnerRpcError
16482
- }), RunHostStep, make6("ProgramSecrets", {
16481
+ }), RunHostStep, make5("ProgramSecrets", {
16483
16482
  payload: { lease: ProgramLease },
16484
16483
  success: Record(String4, String4),
16485
16484
  error: RunnerRpcError
16486
16485
  })).middleware(RunnerAuthentication) {
16487
16486
  }
16488
16487
 
16489
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16488
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16490
16489
  payload: {
16491
16490
  lease: ProgramLease,
16492
16491
  step: String4,
@@ -16498,11 +16497,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16498
16497
  },
16499
16498
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
16500
16499
  error: Union([RunnerRpcError, RunFileRefused])
16501
- }), make6("RunFileParts", {
16500
+ }), make5("RunFileParts", {
16502
16501
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
16503
16502
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
16504
16503
  error: RunnerRpcError
16505
- }), make6("CompleteRunFile", {
16504
+ }), make5("CompleteRunFile", {
16506
16505
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
16507
16506
  success: RunFileRecord,
16508
16507
  error: RunnerRpcError
@@ -16591,7 +16590,7 @@ function toStoredSession(token, existingRefreshToken) {
16591
16590
  }
16592
16591
  function startLoopbackServer(input) {
16593
16592
  return gen(function* () {
16594
- const code = yield* make16();
16593
+ const code = yield* make15();
16595
16594
  const context2 = yield* context();
16596
16595
  const runSyncExit = runSyncExitWith(context2);
16597
16596
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17139,7 +17138,7 @@ var openConnection = (transport) => gen(function* () {
17139
17138
  let lastId = 0;
17140
17139
  let lost = false;
17141
17140
  const notifications = yield* unbounded2();
17142
- const ended = yield* make16();
17141
+ const ended = yield* make15();
17143
17142
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17144
17143
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17145
17144
  onNone: () => void_3,
@@ -17166,7 +17165,7 @@ var openConnection = (transport) => gen(function* () {
17166
17165
  if (lost)
17167
17166
  return yield* new HerdrCoreConnectionLost2({ method });
17168
17167
  const id = ++lastId;
17169
- const deferred = yield* make16();
17168
+ const deferred = yield* make15();
17170
17169
  pending.set(id, { method, deferred });
17171
17170
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17172
17171
  return yield* _await(deferred);
@@ -17240,14 +17239,14 @@ var herdrCoreOver = (transport) => ({
17240
17239
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17241
17240
  };
17242
17241
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17243
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17242
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17244
17243
  }))
17245
17244
  });
17246
17245
  var spawnedTransport = (env) => gen(function* () {
17247
17246
  const spawner = yield* ChildProcessSpawner;
17248
17247
  const input = yield* unbounded2();
17249
17248
  const encoder = new TextEncoder;
17250
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
17249
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
17251
17250
  extendEnv: false,
17252
17251
  env,
17253
17252
  stdin: fromQueue(input),
@@ -17278,7 +17277,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
17278
17277
  const spawner = yield* ChildProcessSpawner;
17279
17278
  const env = coreEnv(options);
17280
17279
  const run = (args) => gen(function* () {
17281
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17280
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17282
17281
  const [stdout, stderr, exitCode] = yield* all3([
17283
17282
  mkString(decodeText(handle.stdout)),
17284
17283
  mkString(decodeText(handle.stderr)),
@@ -17304,7 +17303,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
17304
17303
  }
17305
17304
  var runCommand2 = (command, args, options = {}) => gen(function* () {
17306
17305
  const spawner = yield* ChildProcessSpawner;
17307
- const handle = yield* spawner.spawn(make3(command, args, {
17306
+ const handle = yield* spawner.spawn(make2(command, args, {
17308
17307
  stdin: "ignore",
17309
17308
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17310
17309
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -17330,8 +17329,8 @@ var shellOutputTailChars2 = 64 * 1024;
17330
17329
  var runProcess2 = (argv, options) => gen(function* () {
17331
17330
  const spawner = yield* ChildProcessSpawner;
17332
17331
  const [command, ...args] = argv;
17333
- const handle = yield* spawner.spawn(make3(command, args, {
17334
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17332
+ const handle = yield* spawner.spawn(make2(command, args, {
17333
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17335
17334
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17336
17335
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17337
17336
  }));
@@ -17851,4 +17850,4 @@ function serviceChecks(declaration) {
17851
17850
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
17852
17851
  }
17853
17852
 
17854
- 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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, 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, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, 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, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
17853
+ 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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, 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, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, 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, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };