@kitman-sh/cli 0.30.0 → 0.32.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 (29) hide show
  1. package/dist/{chunk-7j1kf6sa.js → chunk-1an3xh3b.js} +6 -6
  2. package/dist/{chunk-tsx0347c.js → chunk-1hgsf81a.js} +1 -1
  3. package/dist/{chunk-bv4gcq1h.js → chunk-3cneth9k.js} +7 -7
  4. package/dist/{chunk-samxkpbz.js → chunk-4qrb09w4.js} +3 -3
  5. package/dist/{chunk-wtea9nbk.js → chunk-4tzzmrz2.js} +25 -25
  6. package/dist/chunk-56gs4z53.js +399 -0
  7. package/dist/{chunk-39kjyh2y.js → chunk-5hp8ams4.js} +19 -19
  8. package/dist/{chunk-h2f26xbd.js → chunk-61dmxexa.js} +70 -28
  9. package/dist/{chunk-sw0dadq5.js → chunk-6e6t0f8y.js} +1 -1
  10. package/dist/{chunk-d4h1p51s.js → chunk-a0bjjbhg.js} +23 -23
  11. package/dist/{chunk-yr7np5eb.js → chunk-abyssa8p.js} +3 -3
  12. package/dist/{chunk-3xg9zbmy.js → chunk-acmyagwp.js} +10 -10
  13. package/dist/{chunk-tbmht2qb.js → chunk-af8kftyw.js} +10 -10
  14. package/dist/{chunk-r7m32p2j.js → chunk-ah59jrtr.js} +1 -1
  15. package/dist/{chunk-yaa3gkpx.js → chunk-awx0zevr.js} +9 -9
  16. package/dist/{chunk-js64y97w.js → chunk-c8eg05nh.js} +8 -4
  17. package/dist/{chunk-gap0vmj7.js → chunk-er0e8d8v.js} +14 -60
  18. package/dist/{chunk-0mg7k9b4.js → chunk-nb6h112w.js} +126 -122
  19. package/dist/{chunk-vz38kngm.js → chunk-q8e58p57.js} +2 -2
  20. package/dist/{chunk-1j38xtvp.js → chunk-qqb6djs7.js} +2 -2
  21. package/dist/{chunk-cehbrs1y.js → chunk-r3mjxsmn.js} +6 -6
  22. package/dist/{chunk-4qjfn1sa.js → chunk-rbpn35g5.js} +1 -1
  23. package/dist/{chunk-msn6rrx9.js → chunk-rnm5ybw4.js} +4 -4
  24. package/dist/{chunk-chxtmsns.js → chunk-x4d4t28n.js} +241 -109
  25. package/dist/{chunk-63cyj9dh.js → chunk-z0gqrc8c.js} +30 -25
  26. package/dist/{chunk-5kqt4bqp.js → chunk-znhjs0t6.js} +1 -1
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
  29. package/dist/chunk-my92qn4x.js +0 -230
@@ -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,
@@ -84,14 +84,12 @@ import {
84
84
  DisablePropagation,
85
85
  sync,
86
86
  map7,
87
- ClockRef,
88
- currentTimeMillis2,
89
87
  ConsoleRef,
90
88
  succeed3,
91
89
  fail4,
92
90
  isSuccess2,
93
91
  makeUnsafe5,
94
- make16,
92
+ make15,
95
93
  _await,
96
94
  fail5,
97
95
  isDone,
@@ -194,6 +192,9 @@ import {
194
192
  logError,
195
193
  effectify,
196
194
  decode,
195
+ isRedacted,
196
+ make16,
197
+ value,
197
198
  defaultParseOptions,
198
199
  omit,
199
200
  map10,
@@ -264,18 +265,19 @@ import {
264
265
  decodeJsonStringOption,
265
266
  encodeJsonStringSync,
266
267
  encodePrettyJsonString
267
- } from "./chunk-h2f26xbd.js";
268
+ } from "./chunk-61dmxexa.js";
268
269
  import {
269
270
  map,
270
271
  makeEquivalence,
271
- toNumber,
272
+ Clock,
273
+ currentTimeMillis,
272
274
  bytes,
273
275
  BadArgument,
274
276
  systemError,
275
277
  badArgument,
276
278
  makeUnsafe2,
279
+ make7,
277
280
  make8,
278
- make9,
279
281
  sliding,
280
282
  unbounded2,
281
283
  offer,
@@ -291,13 +293,13 @@ import {
291
293
  isSink,
292
294
  fromChannel,
293
295
  drain,
294
- make10,
296
+ make9,
295
297
  get3,
296
298
  isStream,
297
299
  fromChannel2,
298
300
  callback,
299
301
  empty2,
300
- make11,
302
+ make10,
301
303
  suspend,
302
304
  fail2,
303
305
  fromQueue,
@@ -323,31 +325,28 @@ import {
323
325
  mkArrayBuffer,
324
326
  toReadableStreamEffect,
325
327
  FileSystem,
326
- make12,
328
+ make11,
327
329
  FileTypeId,
328
330
  WatchBackend,
329
331
  Path,
330
- make13,
332
+ make12,
331
333
  option,
332
334
  String2,
333
335
  optionalEnv,
334
336
  harnessesUnsupportedInSrt2,
335
337
  harnessesUnsupportedInDocker2
336
- } from "./chunk-63cyj9dh.js";
338
+ } from "./chunk-z0gqrc8c.js";
337
339
  import {
338
- isRedacted,
339
- make,
340
- value,
341
340
  ExitCode,
342
341
  ProcessId,
343
342
  makeHandle,
344
- make2,
343
+ make,
345
344
  ChildProcessSpawner,
346
345
  display,
347
- make3,
346
+ make2,
348
347
  parseFdName,
349
348
  fdName
350
- } from "./chunk-gap0vmj7.js";
349
+ } from "./chunk-er0e8d8v.js";
351
350
  import {
352
351
  isDateTime,
353
352
  Numeric,
@@ -360,15 +359,11 @@ import {
360
359
  SecretScope,
361
360
  SecretHosts,
362
361
  isSecretReference
363
- } from "./chunk-4qjfn1sa.js";
362
+ } from "./chunk-rbpn35g5.js";
364
363
 
365
364
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
366
365
  var makeEquivalence3 = Tuple;
367
366
 
368
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
369
- var Clock = ClockRef;
370
- var currentTimeMillis = currentTimeMillis2;
371
-
372
367
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
373
368
  var TypeId = "~effect/DateTime";
374
369
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -523,7 +518,7 @@ var makeUnsafe6 = (input) => {
523
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
524
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
525
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
526
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
527
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
528
523
  var nowUnsafe = () => makeUtc(Date.now());
529
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -902,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
902
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
903
898
  var runMain = runMain2;
904
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
905
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
906
910
  var makeUnsafe = makeUnsafe6;
907
- var make18 = make4;
911
+ var make18 = make3;
908
912
  var now2 = now;
909
913
  var nowUnsafe2 = nowUnsafe;
910
914
  var toDateUtc2 = toDateUtc;
@@ -1119,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1119
1123
  const readable = options.readable;
1120
1124
  const chunkSize = options.chunkSize ?? 4096;
1121
1125
  const closeOnDone = options.closeOnDone ?? true;
1122
- const exit = options.exit ?? make8(undefined);
1126
+ const exit = options.exit ?? make7(undefined);
1123
1127
  const latch = options.latch ?? makeUnsafe2(false);
1124
1128
  function onReadable() {
1125
1129
  latch.openUnsafe();
@@ -1683,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1683
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1684
1688
  const toOption = options.to ?? "stdin";
1685
1689
  if (toOption === "stdin") {
1686
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1687
1691
  ...command.options,
1688
1692
  stdin: {
1689
1693
  ...stdinConfig,
@@ -1703,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1703
1707
  type: "input",
1704
1708
  stream: sourceStream
1705
1709
  };
1706
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1707
1711
  ...command.options,
1708
1712
  additionalFds: {
1709
1713
  ...existingFds,
@@ -1711,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1711
1715
  }
1712
1716
  })));
1713
1717
  } else {
1714
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1715
1719
  ...command.options,
1716
1720
  stdin: {
1717
1721
  ...stdinConfig,
@@ -1750,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1750
1754
  }
1751
1755
  }
1752
1756
  });
1753
- return make2(spawnCommand);
1757
+ return make(spawnCommand);
1754
1758
  });
1755
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1756
1760
  var flattenCommand = (command) => {
@@ -2236,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2236
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2237
2241
  }
2238
2242
  });
2239
- var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2243
+ var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2240
2244
  access: access2,
2241
2245
  chmod: chmod2,
2242
2246
  chown: chown2,
@@ -2296,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2296
2300
  })
2297
2301
  })
2298
2302
  });
2299
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2300
2304
  ...NodePath.posix,
2301
2305
  .../* @__PURE__ */ fileUrlOps(false)
2302
2306
  }));
2303
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2304
2308
  ...NodePath.win32,
2305
2309
  .../* @__PURE__ */ fileUrlOps(true)
2306
2310
  }));
2307
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2308
2312
  ...NodePath,
2309
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2310
2314
  }));
@@ -2831,12 +2835,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2831
2835
  if (typeof key === "string") {
2832
2836
  const k = key.toLowerCase();
2833
2837
  if (k in self) {
2834
- out[k] = make(self[k]);
2838
+ out[k] = make16(self[k]);
2835
2839
  }
2836
2840
  } else {
2837
2841
  for (const name in self) {
2838
2842
  if (name.search(key) !== -1) {
2839
- out[name] = make(self[name]);
2843
+ out[name] = make16(self[name]);
2840
2844
  }
2841
2845
  }
2842
2846
  }
@@ -2943,7 +2947,7 @@ var fromInputNested = (input) => {
2943
2947
  return out;
2944
2948
  };
2945
2949
  var coerce = (value) => isRedacted(value) ? value : String(value);
2946
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2950
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
2951
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2948
2952
  var empty4 = /* @__PURE__ */ make23([]);
2949
2953
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2962,7 +2966,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2962
2966
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2963
2967
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2964
2968
  const patterns = Array.isArray(key) ? key : [key];
2965
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2969
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2966
2970
  });
2967
2971
  var isRedactedName2 = isRedactedName;
2968
2972
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3038,7 +3042,7 @@ import * as readline from "readline";
3038
3042
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3039
3043
  const stdin = process.stdin;
3040
3044
  const stdout = process.stdout;
3041
- const lines = yield* make9();
3045
+ const lines = yield* make8();
3042
3046
  let inputEnded = stdin.readableEnded;
3043
3047
  let readlineActive = false;
3044
3048
  const onStdinEnd = () => {
@@ -3049,7 +3053,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3049
3053
  };
3050
3054
  stdin.once("end", onStdinEnd);
3051
3055
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3052
- const rlRef = yield* make10({
3056
+ const rlRef = yield* make9({
3053
3057
  acquire: acquireRelease(sync2(() => {
3054
3058
  const rl = readline.createInterface({
3055
3059
  input: stdin,
@@ -3088,7 +3092,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3088
3092
  if (stdin.isTTY)
3089
3093
  stdin.setRawMode(enabled);
3090
3094
  });
3091
- const rawModeRef = yield* make10({
3095
+ const rawModeRef = yield* make9({
3092
3096
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3093
3097
  idleTimeToLive: "10 millis"
3094
3098
  });
@@ -3109,7 +3113,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3109
3113
  return queue;
3110
3114
  });
3111
3115
  const readInput = gen(function* () {
3112
- const queue = yield* make9();
3116
+ const queue = yield* make8();
3113
3117
  const handleKeypress = (s, k) => {
3114
3118
  const userInput = {
3115
3119
  input: fromUndefinedOr(s),
@@ -11115,14 +11119,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
11115
11119
  return self;
11116
11120
  }
11117
11121
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
11118
- var make5 = (method) => (url, options) => modify(empty6, {
11122
+ var make4 = (method) => (url, options) => modify(empty6, {
11119
11123
  method,
11120
11124
  url,
11121
11125
  ...options ?? undefined
11122
11126
  });
11123
- var get = /* @__PURE__ */ make5("GET");
11124
- var post = /* @__PURE__ */ make5("POST");
11125
- var put = /* @__PURE__ */ make5("PUT");
11127
+ var get = /* @__PURE__ */ make4("GET");
11128
+ var post = /* @__PURE__ */ make4("POST");
11129
+ var put = /* @__PURE__ */ make4("PUT");
11126
11130
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
11127
11131
  let result = self;
11128
11132
  if (options.method) {
@@ -11423,7 +11427,7 @@ var Proto7 = {
11423
11427
  };
11424
11428
  },
11425
11429
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
11426
- return this.execute(make5(fullMethod)(url, options));
11430
+ return this.execute(make4(fullMethod)(url, options));
11427
11431
  }]))
11428
11432
  };
11429
11433
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -15512,7 +15516,7 @@ var makeProto = (options) => {
15512
15516
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
15513
15517
  return Rpc;
15514
15518
  };
15515
- var make6 = (tag, options) => {
15519
+ var make5 = (tag, options) => {
15516
15520
  const successSchema = options?.success ?? Void;
15517
15521
  const errorSchema = options?.error ?? Never;
15518
15522
  const defectSchema = options?.defect ?? Defect();
@@ -15723,7 +15727,7 @@ var RpcGroupProto = {
15723
15727
  });
15724
15728
  },
15725
15729
  annotateRpcs(service, value) {
15726
- return this.annotateRpcsMerge(make15(service, value));
15730
+ return this.annotateRpcsMerge(make14(service, value));
15727
15731
  },
15728
15732
  annotateMerge(context) {
15729
15733
  return makeProto2({
@@ -15746,7 +15750,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
15746
15750
  requests: options.requests,
15747
15751
  annotations: options.annotations
15748
15752
  });
15749
- var make7 = (...rpcs) => makeProto2({
15753
+ var make6 = (...rpcs) => makeProto2({
15750
15754
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
15751
15755
  annotations: empty3()
15752
15756
  });
@@ -15852,77 +15856,77 @@ var ProgramOutcome = Union([
15852
15856
  Struct({ status: Literal("failed"), failureSummary: String4 })
15853
15857
  ]);
15854
15858
 
15855
- class RunnerReplicaRpcs extends make7(make6("Claim", {
15859
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
15856
15860
  payload: WorkUnitClaimInput,
15857
15861
  success: WorkUnitClaimResult,
15858
15862
  error: RunnerRpcError
15859
- }), make6("Heartbeat", {
15863
+ }), make5("Heartbeat", {
15860
15864
  payload: WorkUnitHeartbeatInput,
15861
15865
  success: WorkUnitHeartbeatResult,
15862
15866
  error: RunnerRpcError
15863
- }), make6("Complete", {
15867
+ }), make5("Complete", {
15864
15868
  payload: WorkUnitCompletion,
15865
15869
  error: RunnerRpcError
15866
- }), make6("Release", {
15870
+ }), make5("Release", {
15867
15871
  payload: WorkUnitReleaseInput,
15868
15872
  error: RunnerRpcError
15869
- }), make6("Signals", {
15873
+ }), make5("Signals", {
15870
15874
  payload: { runnerReplicaId: String4 },
15871
15875
  success: RunnerSignal,
15872
15876
  error: RunnerRpcError,
15873
15877
  stream: true
15874
- }), make6("ReportSteer", {
15878
+ }), make5("ReportSteer", {
15875
15879
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
15876
15880
  success: Void,
15877
15881
  error: RunnerRpcError
15878
- }), make6("AppendTranscript", {
15882
+ }), make5("AppendTranscript", {
15879
15883
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
15880
15884
  success: Void,
15881
15885
  error: RunnerRpcError
15882
- }), make6("CreateCheckpointFile", {
15886
+ }), make5("CreateCheckpointFile", {
15883
15887
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
15884
15888
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15885
15889
  error: Union([RunnerRpcError, RunFileRefused])
15886
- }), make6("CheckpointFileParts", {
15890
+ }), make5("CheckpointFileParts", {
15887
15891
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15888
15892
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15889
15893
  error: RunnerRpcError
15890
- }), make6("CompleteCheckpointFile", {
15894
+ }), make5("CompleteCheckpointFile", {
15891
15895
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15892
15896
  success: RunFileRecord,
15893
15897
  error: RunnerRpcError
15894
- }), make6("SaveCheckpoint", {
15898
+ }), make5("SaveCheckpoint", {
15895
15899
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
15896
15900
  success: Void,
15897
15901
  error: RunnerRpcError
15898
- }), make6("ResumeCheckpoint", {
15902
+ }), make5("ResumeCheckpoint", {
15899
15903
  payload: { lease: ProgramLease },
15900
15904
  success: UndefinedOr(ResumedCheckpoint),
15901
15905
  error: RunnerRpcError
15902
- }), make6("SettledCheckpoints", {
15906
+ }), make5("SettledCheckpoints", {
15903
15907
  success: ArraySchema(Struct({
15904
15908
  stepAttemptId: String4,
15905
15909
  ref: optionalKey(String4),
15906
15910
  repoBinding: optionalKey(WorkUnitRepoBinding)
15907
15911
  })),
15908
15912
  error: RunnerRpcError
15909
- }), make6("ForgetCheckpoints", {
15913
+ }), make5("ForgetCheckpoints", {
15910
15914
  payload: { stepAttemptIds: ArraySchema(String4) },
15911
15915
  success: Void,
15912
15916
  error: RunnerRpcError
15913
- }), make6("GitCredential", {
15917
+ }), make5("GitCredential", {
15914
15918
  payload: { repoBindingId: String4 },
15915
15919
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
15916
15920
  error: RunnerRpcError
15917
- }), make6("Bundle", {
15921
+ }), make5("Bundle", {
15918
15922
  payload: { digest: String4 },
15919
15923
  success: Struct({ bundle: String4 }),
15920
15924
  error: RunnerRpcError
15921
- }), make6("SettledRuns", {
15925
+ }), make5("SettledRuns", {
15922
15926
  payload: { runIds: ArraySchema(String4) },
15923
15927
  success: ArraySchema(String4),
15924
15928
  error: RunnerRpcError
15925
- }), make6("KnownEvidence", {
15929
+ }), make5("KnownEvidence", {
15926
15930
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
15927
15931
  success: ArraySchema(Struct({
15928
15932
  tree: String4,
@@ -15934,24 +15938,24 @@ class RunnerReplicaRpcs extends make7(make6("Claim", {
15934
15938
  })).middleware(RunnerAuthentication) {
15935
15939
  }
15936
15940
 
15937
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
15941
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
15938
15942
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
15939
15943
  error: RunnerRpcError
15940
- }), make6("DeferredDone", {
15944
+ }), make5("DeferredDone", {
15941
15945
  payload: { lease: ProgramLease, name: String4, exit: Json },
15942
15946
  error: RunnerRpcError
15943
- }), make6("ScheduleClock", {
15947
+ }), make5("ScheduleClock", {
15944
15948
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
15945
15949
  error: RunnerRpcError
15946
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15950
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15947
15951
  }
15948
- var RunHostStep = make6("RunHostStep", {
15952
+ var RunHostStep = make5("RunHostStep", {
15949
15953
  payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
15950
15954
  success: Json,
15951
15955
  error: RunnerRpcError
15952
15956
  });
15953
15957
 
15954
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15958
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15955
15959
  payload: {
15956
15960
  lease: ProgramLease,
15957
15961
  step: String4,
@@ -15971,7 +15975,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15971
15975
  },
15972
15976
  success: Struct({ questionId: String4 }),
15973
15977
  error: RunnerRpcError
15974
- }), make6("StartAgentStep", {
15978
+ }), make5("StartAgentStep", {
15975
15979
  payload: {
15976
15980
  lease: ProgramLease,
15977
15981
  step: String4,
@@ -15988,7 +15992,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15988
15992
  },
15989
15993
  success: Struct({ stepAttemptId: String4 }),
15990
15994
  error: RunnerRpcError
15991
- }), make6("StartVerification", {
15995
+ }), make5("StartVerification", {
15992
15996
  payload: {
15993
15997
  lease: ProgramLease,
15994
15998
  step: String4,
@@ -16012,7 +16016,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16012
16016
  },
16013
16017
  success: Struct({ verificationId: String4 }),
16014
16018
  error: RunnerRpcError
16015
- }), make6("AwaitEvent", {
16019
+ }), make5("AwaitEvent", {
16016
16020
  payload: {
16017
16021
  lease: ProgramLease,
16018
16022
  step: String4,
@@ -16028,7 +16032,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16028
16032
  })))
16029
16033
  },
16030
16034
  error: RunnerRpcError
16031
- }), make6("ClaimResource", {
16035
+ }), make5("ClaimResource", {
16032
16036
  payload: {
16033
16037
  lease: ProgramLease,
16034
16038
  step: String4,
@@ -16039,7 +16043,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16039
16043
  claims: optionalKey(ArraySchema(String4))
16040
16044
  },
16041
16045
  error: RunnerRpcError
16042
- }), make6("AdmitChild", {
16046
+ }), make5("AdmitChild", {
16043
16047
  payload: {
16044
16048
  lease: ProgramLease,
16045
16049
  step: String4,
@@ -16050,7 +16054,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16050
16054
  },
16051
16055
  success: Struct({ runId: String4 }),
16052
16056
  error: RunnerRpcError
16053
- }), make6("AdmitChildById", {
16057
+ }), make5("AdmitChildById", {
16054
16058
  payload: {
16055
16059
  lease: ProgramLease,
16056
16060
  step: String4,
@@ -16061,18 +16065,18 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16061
16065
  },
16062
16066
  success: Struct({ runId: String4 }),
16063
16067
  error: RunnerRpcError
16064
- }), make6("CallableLoops", {
16068
+ }), make5("CallableLoops", {
16065
16069
  payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
16066
16070
  success: Struct({ loops: ArraySchema(CallableLoop) }),
16067
16071
  error: RunnerRpcError
16068
- }), make6("StopLaunches", {
16072
+ }), make5("StopLaunches", {
16069
16073
  payload: {
16070
16074
  lease: ProgramLease,
16071
16075
  step: String4,
16072
16076
  deferredNames: ArraySchema(String4)
16073
16077
  },
16074
16078
  error: RunnerRpcError
16075
- }), make6("StoreArtifact", {
16079
+ }), make5("StoreArtifact", {
16076
16080
  payload: {
16077
16081
  lease: ProgramLease,
16078
16082
  step: String4,
@@ -16084,7 +16088,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16084
16088
  },
16085
16089
  success: Struct({ artifactId: String4 }),
16086
16090
  error: RunnerRpcError
16087
- }), make6("RecordNote", {
16091
+ }), make5("RecordNote", {
16088
16092
  payload: {
16089
16093
  lease: ProgramLease,
16090
16094
  step: String4,
@@ -16093,7 +16097,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16093
16097
  kind: optional(Literals(["note", "blocker"]))
16094
16098
  },
16095
16099
  error: RunnerRpcError
16096
- }), make6("PerformHostEffect", {
16100
+ }), make5("PerformHostEffect", {
16097
16101
  payload: {
16098
16102
  lease: ProgramLease,
16099
16103
  step: String4,
@@ -16122,7 +16126,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16122
16126
  },
16123
16127
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
16124
16128
  error: RunnerRpcError
16125
- }), make6("AlertTask", {
16129
+ }), make5("AlertTask", {
16126
16130
  payload: {
16127
16131
  lease: ProgramLease,
16128
16132
  step: String4,
@@ -16139,7 +16143,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16139
16143
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
16140
16144
  }),
16141
16145
  error: RunnerRpcError
16142
- }), make6("ReadTranscripts", {
16146
+ }), make5("ReadTranscripts", {
16143
16147
  payload: {
16144
16148
  lease: ProgramLease,
16145
16149
  step: String4,
@@ -16174,7 +16178,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16174
16178
  })))
16175
16179
  }),
16176
16180
  error: RunnerRpcError
16177
- }), make6("PipelineStatus", {
16181
+ }), make5("PipelineStatus", {
16178
16182
  payload: {
16179
16183
  lease: ProgramLease,
16180
16184
  step: String4,
@@ -16214,11 +16218,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16214
16218
  }))
16215
16219
  }),
16216
16220
  error: RunnerRpcError
16217
- }), make6("ReportPipeline", {
16221
+ }), make5("ReportPipeline", {
16218
16222
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
16219
16223
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
16220
16224
  error: RunnerRpcError
16221
- }), make6("ReviewThreads", {
16225
+ }), make5("ReviewThreads", {
16222
16226
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
16223
16227
  success: Struct({
16224
16228
  threads: ArraySchema(Struct({
@@ -16230,7 +16234,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16230
16234
  }))
16231
16235
  }),
16232
16236
  error: RunnerRpcError
16233
- }), make6("OpenChangeRequests", {
16237
+ }), make5("OpenChangeRequests", {
16234
16238
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
16235
16239
  success: Struct({
16236
16240
  changeRequests: ArraySchema(Struct({
@@ -16244,7 +16248,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16244
16248
  }))
16245
16249
  }),
16246
16250
  error: RunnerRpcError
16247
- }), make6("OwnChangeRequests", {
16251
+ }), make5("OwnChangeRequests", {
16248
16252
  payload: { lease: ProgramLease, step: String4 },
16249
16253
  success: Struct({
16250
16254
  changeRequests: ArraySchema(Struct({
@@ -16257,7 +16261,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16257
16261
  }))
16258
16262
  }),
16259
16263
  error: RunnerRpcError
16260
- }), make6("Propose", {
16264
+ }), make5("Propose", {
16261
16265
  payload: {
16262
16266
  lease: ProgramLease,
16263
16267
  step: String4,
@@ -16286,7 +16290,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16286
16290
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
16287
16291
  }),
16288
16292
  error: RunnerRpcError
16289
- }), make6("ReadProject", {
16293
+ }), make5("ReadProject", {
16290
16294
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
16291
16295
  success: Struct({
16292
16296
  project: Struct({ id: String4, name: String4 }),
@@ -16309,7 +16313,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16309
16313
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
16310
16314
  }),
16311
16315
  error: RunnerRpcError
16312
- }), make6("DraftUpdate", {
16316
+ }), make5("DraftUpdate", {
16313
16317
  payload: {
16314
16318
  lease: ProgramLease,
16315
16319
  step: String4,
@@ -16324,7 +16328,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16324
16328
  },
16325
16329
  success: Struct({ id: String4 }),
16326
16330
  error: RunnerRpcError
16327
- }), make6("CreatePlanTasks", {
16331
+ }), make5("CreatePlanTasks", {
16328
16332
  payload: {
16329
16333
  lease: ProgramLease,
16330
16334
  projectId: optionalKey(String4),
@@ -16345,15 +16349,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16345
16349
  },
16346
16350
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
16347
16351
  error: RunnerRpcError
16348
- }), make6("IntegrationBranch", {
16352
+ }), make5("IntegrationBranch", {
16349
16353
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
16350
16354
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16351
16355
  error: RunnerRpcError
16352
- }), make6("DeliveryBase", {
16356
+ }), make5("DeliveryBase", {
16353
16357
  payload: { lease: ProgramLease },
16354
16358
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16355
16359
  error: RunnerRpcError
16356
- }), make6("Branch", {
16360
+ }), make5("Branch", {
16357
16361
  payload: {
16358
16362
  lease: ProgramLease,
16359
16363
  branch: optionalKey(String4),
@@ -16368,7 +16372,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16368
16372
  created: Boolean2
16369
16373
  }),
16370
16374
  error: RunnerRpcError
16371
- }), make6("BranchChangeRequest", {
16375
+ }), make5("BranchChangeRequest", {
16372
16376
  payload: {
16373
16377
  lease: ProgramLease,
16374
16378
  step: String4,
@@ -16391,7 +16395,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16391
16395
  Struct({ status: Literal("elsewhere"), team: String4 })
16392
16396
  ]),
16393
16397
  error: RunnerRpcError
16394
- }), make6("MergeChangeRequest", {
16398
+ }), make5("MergeChangeRequest", {
16395
16399
  payload: {
16396
16400
  lease: ProgramLease,
16397
16401
  step: String4,
@@ -16409,7 +16413,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16409
16413
  Struct({ status: Literal("moved"), head: String4 })
16410
16414
  ]),
16411
16415
  error: RunnerRpcError
16412
- }), make6("ApproveChangeRequest", {
16416
+ }), make5("ApproveChangeRequest", {
16413
16417
  payload: {
16414
16418
  lease: ProgramLease,
16415
16419
  step: String4,
@@ -16425,7 +16429,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16425
16429
  Struct({ approved: Literal(false), reason: String4 })
16426
16430
  ]),
16427
16431
  error: RunnerRpcError
16428
- }), make6("CloseChangeRequest", {
16432
+ }), make5("CloseChangeRequest", {
16429
16433
  payload: {
16430
16434
  lease: ProgramLease,
16431
16435
  step: String4,
@@ -16435,7 +16439,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16435
16439
  },
16436
16440
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
16437
16441
  error: RunnerRpcError
16438
- }), make6("RerunPipeline", {
16442
+ }), make5("RerunPipeline", {
16439
16443
  payload: {
16440
16444
  lease: ProgramLease,
16441
16445
  step: String4,
@@ -16445,7 +16449,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16445
16449
  },
16446
16450
  success: Struct({ head: String4, pipelines: Int }),
16447
16451
  error: RunnerRpcError
16448
- }), make6("PublishRelease", {
16452
+ }), make5("PublishRelease", {
16449
16453
  payload: {
16450
16454
  lease: ProgramLease,
16451
16455
  step: String4,
@@ -16459,7 +16463,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16459
16463
  },
16460
16464
  success: Struct({ tag: String4, revision: String4, url: String4 }),
16461
16465
  error: RunnerRpcError
16462
- }), make6("RecordDeploy", {
16466
+ }), make5("RecordDeploy", {
16463
16467
  payload: {
16464
16468
  lease: ProgramLease,
16465
16469
  step: String4,
@@ -16471,7 +16475,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16471
16475
  },
16472
16476
  success: Deploy,
16473
16477
  error: RunnerRpcError
16474
- }), make6("DeployTarget", {
16478
+ }), make5("DeployTarget", {
16475
16479
  payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
16476
16480
  success: Struct({
16477
16481
  target: String4,
@@ -16479,14 +16483,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16479
16483
  order: optionalKey(ArraySchema(String4))
16480
16484
  }),
16481
16485
  error: RunnerRpcError
16482
- }), RunHostStep, make6("ProgramSecrets", {
16486
+ }), RunHostStep, make5("ProgramSecrets", {
16483
16487
  payload: { lease: ProgramLease },
16484
16488
  success: Record(String4, String4),
16485
16489
  error: RunnerRpcError
16486
16490
  })).middleware(RunnerAuthentication) {
16487
16491
  }
16488
16492
 
16489
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16493
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16490
16494
  payload: {
16491
16495
  lease: ProgramLease,
16492
16496
  step: String4,
@@ -16498,11 +16502,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16498
16502
  },
16499
16503
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
16500
16504
  error: Union([RunnerRpcError, RunFileRefused])
16501
- }), make6("RunFileParts", {
16505
+ }), make5("RunFileParts", {
16502
16506
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
16503
16507
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
16504
16508
  error: RunnerRpcError
16505
- }), make6("CompleteRunFile", {
16509
+ }), make5("CompleteRunFile", {
16506
16510
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
16507
16511
  success: RunFileRecord,
16508
16512
  error: RunnerRpcError
@@ -16591,7 +16595,7 @@ function toStoredSession(token, existingRefreshToken) {
16591
16595
  }
16592
16596
  function startLoopbackServer(input) {
16593
16597
  return gen(function* () {
16594
- const code = yield* make16();
16598
+ const code = yield* make15();
16595
16599
  const context2 = yield* context();
16596
16600
  const runSyncExit = runSyncExitWith(context2);
16597
16601
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17139,7 +17143,7 @@ var openConnection = (transport) => gen(function* () {
17139
17143
  let lastId = 0;
17140
17144
  let lost = false;
17141
17145
  const notifications = yield* unbounded2();
17142
- const ended = yield* make16();
17146
+ const ended = yield* make15();
17143
17147
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17144
17148
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17145
17149
  onNone: () => void_3,
@@ -17166,7 +17170,7 @@ var openConnection = (transport) => gen(function* () {
17166
17170
  if (lost)
17167
17171
  return yield* new HerdrCoreConnectionLost2({ method });
17168
17172
  const id = ++lastId;
17169
- const deferred = yield* make16();
17173
+ const deferred = yield* make15();
17170
17174
  pending.set(id, { method, deferred });
17171
17175
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17172
17176
  return yield* _await(deferred);
@@ -17240,14 +17244,14 @@ var herdrCoreOver = (transport) => ({
17240
17244
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17241
17245
  };
17242
17246
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17243
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17247
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17244
17248
  }))
17245
17249
  });
17246
17250
  var spawnedTransport = (env) => gen(function* () {
17247
17251
  const spawner = yield* ChildProcessSpawner;
17248
17252
  const input = yield* unbounded2();
17249
17253
  const encoder = new TextEncoder;
17250
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
17254
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
17251
17255
  extendEnv: false,
17252
17256
  env,
17253
17257
  stdin: fromQueue(input),
@@ -17278,7 +17282,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
17278
17282
  const spawner = yield* ChildProcessSpawner;
17279
17283
  const env = coreEnv(options);
17280
17284
  const run = (args) => gen(function* () {
17281
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17285
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17282
17286
  const [stdout, stderr, exitCode] = yield* all3([
17283
17287
  mkString(decodeText(handle.stdout)),
17284
17288
  mkString(decodeText(handle.stderr)),
@@ -17304,7 +17308,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
17304
17308
  }
17305
17309
  var runCommand2 = (command, args, options = {}) => gen(function* () {
17306
17310
  const spawner = yield* ChildProcessSpawner;
17307
- const handle = yield* spawner.spawn(make3(command, args, {
17311
+ const handle = yield* spawner.spawn(make2(command, args, {
17308
17312
  stdin: "ignore",
17309
17313
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17310
17314
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -17330,8 +17334,8 @@ var shellOutputTailChars2 = 64 * 1024;
17330
17334
  var runProcess2 = (argv, options) => gen(function* () {
17331
17335
  const spawner = yield* ChildProcessSpawner;
17332
17336
  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)),
17337
+ const handle = yield* spawner.spawn(make2(command, args, {
17338
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17335
17339
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17336
17340
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17337
17341
  }));
@@ -17851,4 +17855,4 @@ function serviceChecks(declaration) {
17851
17855
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
17852
17856
  }
17853
17857
 
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 };
17858
+ export { 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 };