@kitman-sh/cli 0.17.0 → 0.18.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-qjxgew0k.js → chunk-1j38xtvp.js} +2 -2
  2. package/dist/{chunk-ebpjd7kg.js → chunk-2bagaygt.js} +6 -6
  3. package/dist/{chunk-jg1pjhba.js → chunk-4p1k3yyc.js} +21 -21
  4. package/dist/{chunk-r2kzvdrg.js → chunk-4qjfn1sa.js} +1 -1
  5. package/dist/{chunk-m1qp6swh.js → chunk-5kqt4bqp.js} +1 -1
  6. package/dist/{chunk-z59pvcbk.js → chunk-63cyj9dh.js} +174 -31
  7. package/dist/{chunk-0wqkz371.js → chunk-9jffw2mk.js} +3 -3
  8. package/dist/{chunk-0f67q0tf.js → chunk-bqhfbng3.js} +9 -9
  9. package/dist/{chunk-2928qj8m.js → chunk-d3gs4jvd.js} +69 -69
  10. package/dist/{chunk-vh2a72d1.js → chunk-gap0vmj7.js} +60 -14
  11. package/dist/{chunk-y64ssczv.js → chunk-h2f26xbd.js} +40 -226
  12. package/dist/{chunk-829r4kya.js → chunk-hj8ex4x6.js} +4 -4
  13. package/dist/{chunk-8r1a93rc.js → chunk-jaa8qjky.js} +9 -9
  14. package/dist/{chunk-2sazk478.js → chunk-js64y97w.js} +4 -4
  15. package/dist/{chunk-5me7tnrw.js → chunk-mca2zp8p.js} +2 -2
  16. package/dist/{chunk-g3jqqpky.js → chunk-mg3mxhxe.js} +7 -7
  17. package/dist/{chunk-pnckztvv.js → chunk-mqsxwm53.js} +5 -5
  18. package/dist/{chunk-kx8rpa62.js → chunk-my92qn4x.js} +10 -10
  19. package/dist/{chunk-nf9rfrvv.js → chunk-n05bj55h.js} +24 -24
  20. package/dist/{chunk-r3d2yjsh.js → chunk-nfnw3dh1.js} +24 -24
  21. package/dist/{chunk-9a6wbk11.js → chunk-samxkpbz.js} +3 -3
  22. package/dist/{chunk-pd3azxev.js → chunk-tsx0347c.js} +1 -1
  23. package/dist/{chunk-zy21drtv.js → chunk-vz38kngm.js} +2 -2
  24. package/dist/{chunk-nqh0pbgt.js → chunk-wg6xkkcr.js} +1 -1
  25. package/dist/{chunk-ekyj0bps.js → chunk-x8zzax0f.js} +10 -10
  26. package/dist/{chunk-j37p2y71.js → chunk-zmqm4mrm.js} +118 -117
  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,
@@ -193,12 +193,7 @@ import {
193
193
  clockWith,
194
194
  logError,
195
195
  effectify,
196
- toNumber,
197
- bytes,
198
196
  decode,
199
- isRedacted,
200
- make16,
201
- value,
202
197
  defaultParseOptions,
203
198
  omit,
204
199
  map10,
@@ -269,16 +264,18 @@ import {
269
264
  decodeJsonStringOption,
270
265
  encodeJsonStringSync,
271
266
  encodePrettyJsonString
272
- } from "./chunk-y64ssczv.js";
267
+ } from "./chunk-h2f26xbd.js";
273
268
  import {
274
269
  map,
275
270
  makeEquivalence,
271
+ toNumber,
272
+ bytes,
276
273
  BadArgument,
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-z59pvcbk.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-vh2a72d1.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-r2kzvdrg.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),
@@ -11106,14 +11107,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
11106
11107
  return self;
11107
11108
  }
11108
11109
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
11109
- var make4 = (method) => (url, options) => modify(empty6, {
11110
+ var make5 = (method) => (url, options) => modify(empty6, {
11110
11111
  method,
11111
11112
  url,
11112
11113
  ...options ?? undefined
11113
11114
  });
11114
- var get = /* @__PURE__ */ make4("GET");
11115
- var post = /* @__PURE__ */ make4("POST");
11116
- var put = /* @__PURE__ */ make4("PUT");
11115
+ var get = /* @__PURE__ */ make5("GET");
11116
+ var post = /* @__PURE__ */ make5("POST");
11117
+ var put = /* @__PURE__ */ make5("PUT");
11117
11118
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
11118
11119
  let result = self;
11119
11120
  if (options.method) {
@@ -11414,7 +11415,7 @@ var Proto7 = {
11414
11415
  };
11415
11416
  },
11416
11417
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
11417
- return this.execute(make4(fullMethod)(url, options));
11418
+ return this.execute(make5(fullMethod)(url, options));
11418
11419
  }]))
11419
11420
  };
11420
11421
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -15495,7 +15496,7 @@ var makeProto = (options) => {
15495
15496
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
15496
15497
  return Rpc;
15497
15498
  };
15498
- var make5 = (tag, options) => {
15499
+ var make6 = (tag, options) => {
15499
15500
  const successSchema = options?.success ?? Void;
15500
15501
  const errorSchema = options?.error ?? Never;
15501
15502
  const defectSchema = options?.defect ?? Defect();
@@ -15706,7 +15707,7 @@ var RpcGroupProto = {
15706
15707
  });
15707
15708
  },
15708
15709
  annotateRpcs(service, value) {
15709
- return this.annotateRpcsMerge(make14(service, value));
15710
+ return this.annotateRpcsMerge(make15(service, value));
15710
15711
  },
15711
15712
  annotateMerge(context) {
15712
15713
  return makeProto2({
@@ -15729,7 +15730,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
15729
15730
  requests: options.requests,
15730
15731
  annotations: options.annotations
15731
15732
  });
15732
- var make6 = (...rpcs) => makeProto2({
15733
+ var make7 = (...rpcs) => makeProto2({
15733
15734
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
15734
15735
  annotations: empty3()
15735
15736
  });
@@ -15835,77 +15836,77 @@ var ProgramOutcome = Union([
15835
15836
  Struct({ status: Literal("failed"), failureSummary: String4 })
15836
15837
  ]);
15837
15838
 
15838
- class RunnerReplicaRpcs extends make6(make5("Claim", {
15839
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
15839
15840
  payload: WorkUnitClaimInput,
15840
15841
  success: WorkUnitClaimResult,
15841
15842
  error: RunnerRpcError
15842
- }), make5("Heartbeat", {
15843
+ }), make6("Heartbeat", {
15843
15844
  payload: WorkUnitHeartbeatInput,
15844
15845
  success: WorkUnitHeartbeatResult,
15845
15846
  error: RunnerRpcError
15846
- }), make5("Complete", {
15847
+ }), make6("Complete", {
15847
15848
  payload: WorkUnitCompletion,
15848
15849
  error: RunnerRpcError
15849
- }), make5("Release", {
15850
+ }), make6("Release", {
15850
15851
  payload: WorkUnitReleaseInput,
15851
15852
  error: RunnerRpcError
15852
- }), make5("Signals", {
15853
+ }), make6("Signals", {
15853
15854
  payload: { runnerReplicaId: String4 },
15854
15855
  success: RunnerSignal,
15855
15856
  error: RunnerRpcError,
15856
15857
  stream: true
15857
- }), make5("ReportSteer", {
15858
+ }), make6("ReportSteer", {
15858
15859
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
15859
15860
  success: Void,
15860
15861
  error: RunnerRpcError
15861
- }), make5("AppendTranscript", {
15862
+ }), make6("AppendTranscript", {
15862
15863
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
15863
15864
  success: Void,
15864
15865
  error: RunnerRpcError
15865
- }), make5("CreateCheckpointFile", {
15866
+ }), make6("CreateCheckpointFile", {
15866
15867
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
15867
15868
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15868
15869
  error: Union([RunnerRpcError, RunFileRefused])
15869
- }), make5("CheckpointFileParts", {
15870
+ }), make6("CheckpointFileParts", {
15870
15871
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15871
15872
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15872
15873
  error: RunnerRpcError
15873
- }), make5("CompleteCheckpointFile", {
15874
+ }), make6("CompleteCheckpointFile", {
15874
15875
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15875
15876
  success: RunFileRecord,
15876
15877
  error: RunnerRpcError
15877
- }), make5("SaveCheckpoint", {
15878
+ }), make6("SaveCheckpoint", {
15878
15879
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
15879
15880
  success: Void,
15880
15881
  error: RunnerRpcError
15881
- }), make5("ResumeCheckpoint", {
15882
+ }), make6("ResumeCheckpoint", {
15882
15883
  payload: { lease: ProgramLease },
15883
15884
  success: UndefinedOr(ResumedCheckpoint),
15884
15885
  error: RunnerRpcError
15885
- }), make5("SettledCheckpoints", {
15886
+ }), make6("SettledCheckpoints", {
15886
15887
  success: ArraySchema(Struct({
15887
15888
  stepAttemptId: String4,
15888
15889
  ref: optionalKey(String4),
15889
15890
  repoBinding: optionalKey(WorkUnitRepoBinding)
15890
15891
  })),
15891
15892
  error: RunnerRpcError
15892
- }), make5("ForgetCheckpoints", {
15893
+ }), make6("ForgetCheckpoints", {
15893
15894
  payload: { stepAttemptIds: ArraySchema(String4) },
15894
15895
  success: Void,
15895
15896
  error: RunnerRpcError
15896
- }), make5("GitCredential", {
15897
+ }), make6("GitCredential", {
15897
15898
  payload: { repoBindingId: String4 },
15898
15899
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
15899
15900
  error: RunnerRpcError
15900
- }), make5("Bundle", {
15901
+ }), make6("Bundle", {
15901
15902
  payload: { digest: String4 },
15902
15903
  success: Struct({ bundle: String4 }),
15903
15904
  error: RunnerRpcError
15904
- }), make5("SettledRuns", {
15905
+ }), make6("SettledRuns", {
15905
15906
  payload: { runIds: ArraySchema(String4) },
15906
15907
  success: ArraySchema(String4),
15907
15908
  error: RunnerRpcError
15908
- }), make5("KnownEvidence", {
15909
+ }), make6("KnownEvidence", {
15909
15910
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
15910
15911
  success: ArraySchema(Struct({
15911
15912
  tree: String4,
@@ -15917,24 +15918,24 @@ class RunnerReplicaRpcs extends make6(make5("Claim", {
15917
15918
  })).middleware(RunnerAuthentication) {
15918
15919
  }
15919
15920
 
15920
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
15921
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
15921
15922
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
15922
15923
  error: RunnerRpcError
15923
- }), make5("DeferredDone", {
15924
+ }), make6("DeferredDone", {
15924
15925
  payload: { lease: ProgramLease, name: String4, exit: Json },
15925
15926
  error: RunnerRpcError
15926
- }), make5("ScheduleClock", {
15927
+ }), make6("ScheduleClock", {
15927
15928
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
15928
15929
  error: RunnerRpcError
15929
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15930
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15930
15931
  }
15931
- var RunHostStep = make5("RunHostStep", {
15932
+ var RunHostStep = make6("RunHostStep", {
15932
15933
  payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
15933
15934
  success: Json,
15934
15935
  error: RunnerRpcError
15935
15936
  });
15936
15937
 
15937
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15938
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15938
15939
  payload: {
15939
15940
  lease: ProgramLease,
15940
15941
  step: String4,
@@ -15954,7 +15955,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15954
15955
  },
15955
15956
  success: Struct({ questionId: String4 }),
15956
15957
  error: RunnerRpcError
15957
- }), make5("StartAgentStep", {
15958
+ }), make6("StartAgentStep", {
15958
15959
  payload: {
15959
15960
  lease: ProgramLease,
15960
15961
  step: String4,
@@ -15971,7 +15972,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15971
15972
  },
15972
15973
  success: Struct({ stepAttemptId: String4 }),
15973
15974
  error: RunnerRpcError
15974
- }), make5("StartVerification", {
15975
+ }), make6("StartVerification", {
15975
15976
  payload: {
15976
15977
  lease: ProgramLease,
15977
15978
  step: String4,
@@ -15995,7 +15996,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15995
15996
  },
15996
15997
  success: Struct({ verificationId: String4 }),
15997
15998
  error: RunnerRpcError
15998
- }), make5("AwaitEvent", {
15999
+ }), make6("AwaitEvent", {
15999
16000
  payload: {
16000
16001
  lease: ProgramLease,
16001
16002
  step: String4,
@@ -16011,7 +16012,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16011
16012
  })))
16012
16013
  },
16013
16014
  error: RunnerRpcError
16014
- }), make5("ClaimResource", {
16015
+ }), make6("ClaimResource", {
16015
16016
  payload: {
16016
16017
  lease: ProgramLease,
16017
16018
  step: String4,
@@ -16022,7 +16023,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16022
16023
  claims: optionalKey(ArraySchema(String4))
16023
16024
  },
16024
16025
  error: RunnerRpcError
16025
- }), make5("AdmitChild", {
16026
+ }), make6("AdmitChild", {
16026
16027
  payload: {
16027
16028
  lease: ProgramLease,
16028
16029
  step: String4,
@@ -16033,7 +16034,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16033
16034
  },
16034
16035
  success: Struct({ runId: String4 }),
16035
16036
  error: RunnerRpcError
16036
- }), make5("AdmitChildById", {
16037
+ }), make6("AdmitChildById", {
16037
16038
  payload: {
16038
16039
  lease: ProgramLease,
16039
16040
  step: String4,
@@ -16044,18 +16045,18 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16044
16045
  },
16045
16046
  success: Struct({ runId: String4 }),
16046
16047
  error: RunnerRpcError
16047
- }), make5("CallableLoops", {
16048
+ }), make6("CallableLoops", {
16048
16049
  payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
16049
16050
  success: Struct({ loops: ArraySchema(CallableLoop) }),
16050
16051
  error: RunnerRpcError
16051
- }), make5("StopLaunches", {
16052
+ }), make6("StopLaunches", {
16052
16053
  payload: {
16053
16054
  lease: ProgramLease,
16054
16055
  step: String4,
16055
16056
  deferredNames: ArraySchema(String4)
16056
16057
  },
16057
16058
  error: RunnerRpcError
16058
- }), make5("StoreArtifact", {
16059
+ }), make6("StoreArtifact", {
16059
16060
  payload: {
16060
16061
  lease: ProgramLease,
16061
16062
  step: String4,
@@ -16067,7 +16068,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16067
16068
  },
16068
16069
  success: Struct({ artifactId: String4 }),
16069
16070
  error: RunnerRpcError
16070
- }), make5("RecordNote", {
16071
+ }), make6("RecordNote", {
16071
16072
  payload: {
16072
16073
  lease: ProgramLease,
16073
16074
  step: String4,
@@ -16076,7 +16077,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16076
16077
  kind: optional(Literals(["note", "blocker"]))
16077
16078
  },
16078
16079
  error: RunnerRpcError
16079
- }), make5("PerformHostEffect", {
16080
+ }), make6("PerformHostEffect", {
16080
16081
  payload: {
16081
16082
  lease: ProgramLease,
16082
16083
  step: String4,
@@ -16105,7 +16106,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16105
16106
  },
16106
16107
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
16107
16108
  error: RunnerRpcError
16108
- }), make5("AlertTask", {
16109
+ }), make6("AlertTask", {
16109
16110
  payload: {
16110
16111
  lease: ProgramLease,
16111
16112
  step: String4,
@@ -16122,7 +16123,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16122
16123
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
16123
16124
  }),
16124
16125
  error: RunnerRpcError
16125
- }), make5("ReadTranscripts", {
16126
+ }), make6("ReadTranscripts", {
16126
16127
  payload: {
16127
16128
  lease: ProgramLease,
16128
16129
  step: String4,
@@ -16157,7 +16158,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16157
16158
  })))
16158
16159
  }),
16159
16160
  error: RunnerRpcError
16160
- }), make5("PipelineStatus", {
16161
+ }), make6("PipelineStatus", {
16161
16162
  payload: {
16162
16163
  lease: ProgramLease,
16163
16164
  step: String4,
@@ -16197,11 +16198,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16197
16198
  }))
16198
16199
  }),
16199
16200
  error: RunnerRpcError
16200
- }), make5("ReportPipeline", {
16201
+ }), make6("ReportPipeline", {
16201
16202
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
16202
16203
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
16203
16204
  error: RunnerRpcError
16204
- }), make5("ReviewThreads", {
16205
+ }), make6("ReviewThreads", {
16205
16206
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
16206
16207
  success: Struct({
16207
16208
  threads: ArraySchema(Struct({
@@ -16213,7 +16214,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16213
16214
  }))
16214
16215
  }),
16215
16216
  error: RunnerRpcError
16216
- }), make5("OpenChangeRequests", {
16217
+ }), make6("OpenChangeRequests", {
16217
16218
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
16218
16219
  success: Struct({
16219
16220
  changeRequests: ArraySchema(Struct({
@@ -16227,7 +16228,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16227
16228
  }))
16228
16229
  }),
16229
16230
  error: RunnerRpcError
16230
- }), make5("OwnChangeRequests", {
16231
+ }), make6("OwnChangeRequests", {
16231
16232
  payload: { lease: ProgramLease, step: String4 },
16232
16233
  success: Struct({
16233
16234
  changeRequests: ArraySchema(Struct({
@@ -16240,7 +16241,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16240
16241
  }))
16241
16242
  }),
16242
16243
  error: RunnerRpcError
16243
- }), make5("Propose", {
16244
+ }), make6("Propose", {
16244
16245
  payload: {
16245
16246
  lease: ProgramLease,
16246
16247
  step: String4,
@@ -16269,7 +16270,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16269
16270
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
16270
16271
  }),
16271
16272
  error: RunnerRpcError
16272
- }), make5("ReadProject", {
16273
+ }), make6("ReadProject", {
16273
16274
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
16274
16275
  success: Struct({
16275
16276
  project: Struct({ id: String4, name: String4 }),
@@ -16292,7 +16293,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16292
16293
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
16293
16294
  }),
16294
16295
  error: RunnerRpcError
16295
- }), make5("DraftUpdate", {
16296
+ }), make6("DraftUpdate", {
16296
16297
  payload: {
16297
16298
  lease: ProgramLease,
16298
16299
  step: String4,
@@ -16307,7 +16308,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16307
16308
  },
16308
16309
  success: Struct({ id: String4 }),
16309
16310
  error: RunnerRpcError
16310
- }), make5("CreatePlanTasks", {
16311
+ }), make6("CreatePlanTasks", {
16311
16312
  payload: {
16312
16313
  lease: ProgramLease,
16313
16314
  projectId: optionalKey(String4),
@@ -16328,15 +16329,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16328
16329
  },
16329
16330
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
16330
16331
  error: RunnerRpcError
16331
- }), make5("IntegrationBranch", {
16332
+ }), make6("IntegrationBranch", {
16332
16333
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
16333
16334
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16334
16335
  error: RunnerRpcError
16335
- }), make5("DeliveryBase", {
16336
+ }), make6("DeliveryBase", {
16336
16337
  payload: { lease: ProgramLease },
16337
16338
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16338
16339
  error: RunnerRpcError
16339
- }), make5("Branch", {
16340
+ }), make6("Branch", {
16340
16341
  payload: {
16341
16342
  lease: ProgramLease,
16342
16343
  branch: optionalKey(String4),
@@ -16351,7 +16352,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16351
16352
  created: Boolean2
16352
16353
  }),
16353
16354
  error: RunnerRpcError
16354
- }), make5("BranchChangeRequest", {
16355
+ }), make6("BranchChangeRequest", {
16355
16356
  payload: {
16356
16357
  lease: ProgramLease,
16357
16358
  step: String4,
@@ -16374,7 +16375,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16374
16375
  Struct({ status: Literal("elsewhere"), team: String4 })
16375
16376
  ]),
16376
16377
  error: RunnerRpcError
16377
- }), make5("MergeChangeRequest", {
16378
+ }), make6("MergeChangeRequest", {
16378
16379
  payload: {
16379
16380
  lease: ProgramLease,
16380
16381
  step: String4,
@@ -16392,7 +16393,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16392
16393
  Struct({ status: Literal("moved"), head: String4 })
16393
16394
  ]),
16394
16395
  error: RunnerRpcError
16395
- }), make5("ApproveChangeRequest", {
16396
+ }), make6("ApproveChangeRequest", {
16396
16397
  payload: {
16397
16398
  lease: ProgramLease,
16398
16399
  step: String4,
@@ -16408,7 +16409,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16408
16409
  Struct({ approved: Literal(false), reason: String4 })
16409
16410
  ]),
16410
16411
  error: RunnerRpcError
16411
- }), make5("CloseChangeRequest", {
16412
+ }), make6("CloseChangeRequest", {
16412
16413
  payload: {
16413
16414
  lease: ProgramLease,
16414
16415
  step: String4,
@@ -16418,7 +16419,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16418
16419
  },
16419
16420
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
16420
16421
  error: RunnerRpcError
16421
- }), make5("RerunPipeline", {
16422
+ }), make6("RerunPipeline", {
16422
16423
  payload: {
16423
16424
  lease: ProgramLease,
16424
16425
  step: String4,
@@ -16428,7 +16429,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16428
16429
  },
16429
16430
  success: Struct({ head: String4, pipelines: Int }),
16430
16431
  error: RunnerRpcError
16431
- }), make5("PublishRelease", {
16432
+ }), make6("PublishRelease", {
16432
16433
  payload: {
16433
16434
  lease: ProgramLease,
16434
16435
  step: String4,
@@ -16442,7 +16443,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16442
16443
  },
16443
16444
  success: Struct({ tag: String4, revision: String4, url: String4 }),
16444
16445
  error: RunnerRpcError
16445
- }), make5("RecordDeploy", {
16446
+ }), make6("RecordDeploy", {
16446
16447
  payload: {
16447
16448
  lease: ProgramLease,
16448
16449
  step: String4,
@@ -16454,7 +16455,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16454
16455
  },
16455
16456
  success: Deploy,
16456
16457
  error: RunnerRpcError
16457
- }), make5("DeployTarget", {
16458
+ }), make6("DeployTarget", {
16458
16459
  payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
16459
16460
  success: Struct({
16460
16461
  target: String4,
@@ -16462,14 +16463,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16462
16463
  order: optionalKey(ArraySchema(String4))
16463
16464
  }),
16464
16465
  error: RunnerRpcError
16465
- }), RunHostStep, make5("ProgramSecrets", {
16466
+ }), RunHostStep, make6("ProgramSecrets", {
16466
16467
  payload: { lease: ProgramLease },
16467
16468
  success: Record(String4, String4),
16468
16469
  error: RunnerRpcError
16469
16470
  })).middleware(RunnerAuthentication) {
16470
16471
  }
16471
16472
 
16472
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16473
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16473
16474
  payload: {
16474
16475
  lease: ProgramLease,
16475
16476
  step: String4,
@@ -16481,11 +16482,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16481
16482
  },
16482
16483
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
16483
16484
  error: Union([RunnerRpcError, RunFileRefused])
16484
- }), make5("RunFileParts", {
16485
+ }), make6("RunFileParts", {
16485
16486
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
16486
16487
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
16487
16488
  error: RunnerRpcError
16488
- }), make5("CompleteRunFile", {
16489
+ }), make6("CompleteRunFile", {
16489
16490
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
16490
16491
  success: RunFileRecord,
16491
16492
  error: RunnerRpcError
@@ -16574,7 +16575,7 @@ function toStoredSession(token, existingRefreshToken) {
16574
16575
  }
16575
16576
  function startLoopbackServer(input) {
16576
16577
  return gen(function* () {
16577
- const code = yield* make15();
16578
+ const code = yield* make16();
16578
16579
  const context2 = yield* context();
16579
16580
  const runSyncExit = runSyncExitWith(context2);
16580
16581
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17122,7 +17123,7 @@ var openConnection = (transport) => gen(function* () {
17122
17123
  let lastId = 0;
17123
17124
  let lost = false;
17124
17125
  const notifications = yield* unbounded2();
17125
- const ended = yield* make15();
17126
+ const ended = yield* make16();
17126
17127
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17127
17128
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17128
17129
  onNone: () => void_3,
@@ -17149,7 +17150,7 @@ var openConnection = (transport) => gen(function* () {
17149
17150
  if (lost)
17150
17151
  return yield* new HerdrCoreConnectionLost2({ method });
17151
17152
  const id = ++lastId;
17152
- const deferred = yield* make15();
17153
+ const deferred = yield* make16();
17153
17154
  pending.set(id, { method, deferred });
17154
17155
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17155
17156
  return yield* _await(deferred);
@@ -17223,14 +17224,14 @@ var herdrCoreOver = (transport) => ({
17223
17224
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17224
17225
  };
17225
17226
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17226
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17227
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17227
17228
  }))
17228
17229
  });
17229
17230
  var spawnedTransport = (env) => gen(function* () {
17230
17231
  const spawner = yield* ChildProcessSpawner;
17231
17232
  const input = yield* unbounded2();
17232
17233
  const encoder = new TextEncoder;
17233
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
17234
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
17234
17235
  extendEnv: false,
17235
17236
  env,
17236
17237
  stdin: fromQueue(input),
@@ -17261,7 +17262,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
17261
17262
  const spawner = yield* ChildProcessSpawner;
17262
17263
  const env = coreEnv(options);
17263
17264
  const run = (args) => gen(function* () {
17264
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17265
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17265
17266
  const [stdout, stderr, exitCode] = yield* all3([
17266
17267
  mkString(decodeText(handle.stdout)),
17267
17268
  mkString(decodeText(handle.stderr)),
@@ -17287,7 +17288,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
17287
17288
  }
17288
17289
  var runCommand2 = (command, args, options = {}) => gen(function* () {
17289
17290
  const spawner = yield* ChildProcessSpawner;
17290
- const handle = yield* spawner.spawn(make2(command, args, {
17291
+ const handle = yield* spawner.spawn(make3(command, args, {
17291
17292
  stdin: "ignore",
17292
17293
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17293
17294
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -17313,8 +17314,8 @@ var shellOutputTailChars2 = 64 * 1024;
17313
17314
  var runProcess2 = (argv, options) => gen(function* () {
17314
17315
  const spawner = yield* ChildProcessSpawner;
17315
17316
  const [command, ...args] = argv;
17316
- const handle = yield* spawner.spawn(make2(command, args, {
17317
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17317
+ const handle = yield* spawner.spawn(make3(command, args, {
17318
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17318
17319
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17319
17320
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17320
17321
  }));
@@ -17834,4 +17835,4 @@ function serviceChecks(declaration) {
17834
17835
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
17835
17836
  }
17836
17837
 
17837
- 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 };
17838
+ 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 };