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