@kitman-sh/cli 0.32.0 → 0.33.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-a0bjjbhg.js → chunk-1zb8h7gv.js} +42 -29
  2. package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
  3. package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
  4. package/dist/{chunk-z0gqrc8c.js → chunk-8fyfsajs.js} +17 -17
  5. package/dist/{chunk-er0e8d8v.js → chunk-9nbqzdqp.js} +60 -14
  6. package/dist/{chunk-5hp8ams4.js → chunk-9tyv6211.js} +12 -12
  7. package/dist/{chunk-ah59jrtr.js → chunk-a9ncx2a8.js} +1 -1
  8. package/dist/{chunk-af8kftyw.js → chunk-ak1qrm4q.js} +7 -7
  9. package/dist/{chunk-6e6t0f8y.js → chunk-bnhb3cth.js} +2 -2
  10. package/dist/{chunk-c8eg05nh.js → chunk-gnq1ryhx.js} +4 -4
  11. package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
  12. package/dist/{chunk-awx0zevr.js → chunk-hgxhpj6m.js} +4 -4
  13. package/dist/{chunk-4tzzmrz2.js → chunk-jrwpte6y.js} +40 -40
  14. package/dist/{chunk-3cneth9k.js → chunk-mhx0tgm3.js} +7 -7
  15. package/dist/{chunk-r3mjxsmn.js → chunk-np5n54ky.js} +5 -5
  16. package/dist/{chunk-nb6h112w.js → chunk-nwbry6c8.js} +117 -116
  17. package/dist/{chunk-1an3xh3b.js → chunk-py3133q0.js} +6 -6
  18. package/dist/{chunk-x4d4t28n.js → chunk-racse7zf.js} +356 -33
  19. package/dist/{chunk-56gs4z53.js → chunk-s34am3kw.js} +7 -7
  20. package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
  21. package/dist/{chunk-acmyagwp.js → chunk-sgkgwzvb.js} +5 -5
  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-qqb6djs7.js → chunk-x29m7k25.js} +2 -2
  25. package/dist/{chunk-abyssa8p.js → chunk-xkkyx7bn.js} +3 -3
  26. package/dist/{chunk-rnm5ybw4.js → chunk-yveqd8ye.js} +4 -4
  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,
@@ -89,7 +89,7 @@ import {
89
89
  fail4,
90
90
  isSuccess2,
91
91
  makeUnsafe5,
92
- make15,
92
+ make16,
93
93
  _await,
94
94
  fail5,
95
95
  isDone,
@@ -192,9 +192,6 @@ import {
192
192
  logError,
193
193
  effectify,
194
194
  decode,
195
- isRedacted,
196
- make16,
197
- value,
198
195
  defaultParseOptions,
199
196
  omit,
200
197
  map10,
@@ -265,7 +262,7 @@ import {
265
262
  decodeJsonStringOption,
266
263
  encodeJsonStringSync,
267
264
  encodePrettyJsonString
268
- } from "./chunk-61dmxexa.js";
265
+ } from "./chunk-h2f26xbd.js";
269
266
  import {
270
267
  map,
271
268
  makeEquivalence,
@@ -276,8 +273,8 @@ import {
276
273
  systemError,
277
274
  badArgument,
278
275
  makeUnsafe2,
279
- make7,
280
276
  make8,
277
+ make9,
281
278
  sliding,
282
279
  unbounded2,
283
280
  offer,
@@ -293,13 +290,13 @@ import {
293
290
  isSink,
294
291
  fromChannel,
295
292
  drain,
296
- make9,
293
+ make10,
297
294
  get3,
298
295
  isStream,
299
296
  fromChannel2,
300
297
  callback,
301
298
  empty2,
302
- make10,
299
+ make11,
303
300
  suspend,
304
301
  fail2,
305
302
  fromQueue,
@@ -325,28 +322,31 @@ import {
325
322
  mkArrayBuffer,
326
323
  toReadableStreamEffect,
327
324
  FileSystem,
328
- make11,
325
+ make12,
329
326
  FileTypeId,
330
327
  WatchBackend,
331
328
  Path,
332
- make12,
329
+ make13,
333
330
  option,
334
331
  String2,
335
332
  optionalEnv,
336
333
  harnessesUnsupportedInSrt2,
337
334
  harnessesUnsupportedInDocker2
338
- } from "./chunk-z0gqrc8c.js";
335
+ } from "./chunk-8fyfsajs.js";
339
336
  import {
337
+ isRedacted,
338
+ make,
339
+ value,
340
340
  ExitCode,
341
341
  ProcessId,
342
342
  makeHandle,
343
- make,
343
+ make2,
344
344
  ChildProcessSpawner,
345
345
  display,
346
- make2,
346
+ make3,
347
347
  parseFdName,
348
348
  fdName
349
- } from "./chunk-er0e8d8v.js";
349
+ } from "./chunk-9nbqzdqp.js";
350
350
  import {
351
351
  isDateTime,
352
352
  Numeric,
@@ -359,7 +359,7 @@ import {
359
359
  SecretScope,
360
360
  SecretHosts,
361
361
  isSecretReference
362
- } from "./chunk-rbpn35g5.js";
362
+ } from "./chunk-4qjfn1sa.js";
363
363
 
364
364
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
365
365
  var makeEquivalence3 = Tuple;
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
518
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
519
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
520
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
521
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
522
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
523
523
  var nowUnsafe = () => makeUtc(Date.now());
524
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -908,7 +908,7 @@ var toNumber = (b) => {
908
908
 
909
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
910
910
  var makeUnsafe = makeUnsafe6;
911
- var make18 = make3;
911
+ var make18 = make4;
912
912
  var now2 = now;
913
913
  var nowUnsafe2 = nowUnsafe;
914
914
  var toDateUtc2 = toDateUtc;
@@ -1123,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1123
1123
  const readable = options.readable;
1124
1124
  const chunkSize = options.chunkSize ?? 4096;
1125
1125
  const closeOnDone = options.closeOnDone ?? true;
1126
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1127
1127
  const latch = options.latch ?? makeUnsafe2(false);
1128
1128
  function onReadable() {
1129
1129
  latch.openUnsafe();
@@ -1687,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1687
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1688
1688
  const toOption = options.to ?? "stdin";
1689
1689
  if (toOption === "stdin") {
1690
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1691
1691
  ...command.options,
1692
1692
  stdin: {
1693
1693
  ...stdinConfig,
@@ -1707,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1707
  type: "input",
1708
1708
  stream: sourceStream
1709
1709
  };
1710
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1711
1711
  ...command.options,
1712
1712
  additionalFds: {
1713
1713
  ...existingFds,
@@ -1715,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1715
1715
  }
1716
1716
  })));
1717
1717
  } else {
1718
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1719
1719
  ...command.options,
1720
1720
  stdin: {
1721
1721
  ...stdinConfig,
@@ -1754,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1754
1754
  }
1755
1755
  }
1756
1756
  });
1757
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1758
1758
  });
1759
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1760
1760
  var flattenCommand = (command) => {
@@ -2240,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2240
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2241
2241
  }
2242
2242
  });
2243
- var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2244
2244
  access: access2,
2245
2245
  chmod: chmod2,
2246
2246
  chown: chown2,
@@ -2300,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2300
2300
  })
2301
2301
  })
2302
2302
  });
2303
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2304
2304
  ...NodePath.posix,
2305
2305
  .../* @__PURE__ */ fileUrlOps(false)
2306
2306
  }));
2307
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2308
2308
  ...NodePath.win32,
2309
2309
  .../* @__PURE__ */ fileUrlOps(true)
2310
2310
  }));
2311
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2312
2312
  ...NodePath,
2313
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2314
2314
  }));
@@ -2835,12 +2835,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2835
2835
  if (typeof key === "string") {
2836
2836
  const k = key.toLowerCase();
2837
2837
  if (k in self) {
2838
- out[k] = make16(self[k]);
2838
+ out[k] = make(self[k]);
2839
2839
  }
2840
2840
  } else {
2841
2841
  for (const name in self) {
2842
2842
  if (name.search(key) !== -1) {
2843
- out[name] = make16(self[name]);
2843
+ out[name] = make(self[name]);
2844
2844
  }
2845
2845
  }
2846
2846
  }
@@ -2947,7 +2947,7 @@ var fromInputNested = (input) => {
2947
2947
  return out;
2948
2948
  };
2949
2949
  var coerce = (value) => isRedacted(value) ? value : String(value);
2950
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2950
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2951
2951
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2952
2952
  var empty4 = /* @__PURE__ */ make23([]);
2953
2953
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2966,7 +2966,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2966
2966
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2967
2967
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2968
2968
  const patterns = Array.isArray(key) ? key : [key];
2969
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2969
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2970
2970
  });
2971
2971
  var isRedactedName2 = isRedactedName;
2972
2972
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3042,7 +3042,7 @@ import * as readline from "readline";
3042
3042
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3043
3043
  const stdin = process.stdin;
3044
3044
  const stdout = process.stdout;
3045
- const lines = yield* make8();
3045
+ const lines = yield* make9();
3046
3046
  let inputEnded = stdin.readableEnded;
3047
3047
  let readlineActive = false;
3048
3048
  const onStdinEnd = () => {
@@ -3053,7 +3053,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3053
3053
  };
3054
3054
  stdin.once("end", onStdinEnd);
3055
3055
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3056
- const rlRef = yield* make9({
3056
+ const rlRef = yield* make10({
3057
3057
  acquire: acquireRelease(sync2(() => {
3058
3058
  const rl = readline.createInterface({
3059
3059
  input: stdin,
@@ -3092,7 +3092,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3092
3092
  if (stdin.isTTY)
3093
3093
  stdin.setRawMode(enabled);
3094
3094
  });
3095
- const rawModeRef = yield* make9({
3095
+ const rawModeRef = yield* make10({
3096
3096
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3097
3097
  idleTimeToLive: "10 millis"
3098
3098
  });
@@ -3113,7 +3113,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3113
3113
  return queue;
3114
3114
  });
3115
3115
  const readInput = gen(function* () {
3116
- const queue = yield* make8();
3116
+ const queue = yield* make9();
3117
3117
  const handleKeypress = (s, k) => {
3118
3118
  const userInput = {
3119
3119
  input: fromUndefinedOr(s),
@@ -8123,7 +8123,8 @@ var RunnerProblemCodes = [
8123
8123
  "processes_unreaped",
8124
8124
  "processes_uncontained",
8125
8125
  "full_access_refused",
8126
- "cli_session_expired"
8126
+ "cli_session_expired",
8127
+ "disk_nearly_full"
8127
8128
  ];
8128
8129
  var RunnerProblemText = String4.check(isMinLength(1), isMaxLength(500));
8129
8130
  var RunnerProblemReport = Struct({
@@ -11119,14 +11120,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
11119
11120
  return self;
11120
11121
  }
11121
11122
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
11122
- var make4 = (method) => (url, options) => modify(empty6, {
11123
+ var make5 = (method) => (url, options) => modify(empty6, {
11123
11124
  method,
11124
11125
  url,
11125
11126
  ...options ?? undefined
11126
11127
  });
11127
- var get = /* @__PURE__ */ make4("GET");
11128
- var post = /* @__PURE__ */ make4("POST");
11129
- var put = /* @__PURE__ */ make4("PUT");
11128
+ var get = /* @__PURE__ */ make5("GET");
11129
+ var post = /* @__PURE__ */ make5("POST");
11130
+ var put = /* @__PURE__ */ make5("PUT");
11130
11131
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
11131
11132
  let result = self;
11132
11133
  if (options.method) {
@@ -11427,7 +11428,7 @@ var Proto7 = {
11427
11428
  };
11428
11429
  },
11429
11430
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
11430
- return this.execute(make4(fullMethod)(url, options));
11431
+ return this.execute(make5(fullMethod)(url, options));
11431
11432
  }]))
11432
11433
  };
11433
11434
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -15516,7 +15517,7 @@ var makeProto = (options) => {
15516
15517
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
15517
15518
  return Rpc;
15518
15519
  };
15519
- var make5 = (tag, options) => {
15520
+ var make6 = (tag, options) => {
15520
15521
  const successSchema = options?.success ?? Void;
15521
15522
  const errorSchema = options?.error ?? Never;
15522
15523
  const defectSchema = options?.defect ?? Defect();
@@ -15727,7 +15728,7 @@ var RpcGroupProto = {
15727
15728
  });
15728
15729
  },
15729
15730
  annotateRpcs(service, value) {
15730
- return this.annotateRpcsMerge(make14(service, value));
15731
+ return this.annotateRpcsMerge(make15(service, value));
15731
15732
  },
15732
15733
  annotateMerge(context) {
15733
15734
  return makeProto2({
@@ -15750,7 +15751,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
15750
15751
  requests: options.requests,
15751
15752
  annotations: options.annotations
15752
15753
  });
15753
- var make6 = (...rpcs) => makeProto2({
15754
+ var make7 = (...rpcs) => makeProto2({
15754
15755
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
15755
15756
  annotations: empty3()
15756
15757
  });
@@ -15856,77 +15857,77 @@ var ProgramOutcome = Union([
15856
15857
  Struct({ status: Literal("failed"), failureSummary: String4 })
15857
15858
  ]);
15858
15859
 
15859
- class RunnerReplicaRpcs extends make6(make5("Claim", {
15860
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
15860
15861
  payload: WorkUnitClaimInput,
15861
15862
  success: WorkUnitClaimResult,
15862
15863
  error: RunnerRpcError
15863
- }), make5("Heartbeat", {
15864
+ }), make6("Heartbeat", {
15864
15865
  payload: WorkUnitHeartbeatInput,
15865
15866
  success: WorkUnitHeartbeatResult,
15866
15867
  error: RunnerRpcError
15867
- }), make5("Complete", {
15868
+ }), make6("Complete", {
15868
15869
  payload: WorkUnitCompletion,
15869
15870
  error: RunnerRpcError
15870
- }), make5("Release", {
15871
+ }), make6("Release", {
15871
15872
  payload: WorkUnitReleaseInput,
15872
15873
  error: RunnerRpcError
15873
- }), make5("Signals", {
15874
+ }), make6("Signals", {
15874
15875
  payload: { runnerReplicaId: String4 },
15875
15876
  success: RunnerSignal,
15876
15877
  error: RunnerRpcError,
15877
15878
  stream: true
15878
- }), make5("ReportSteer", {
15879
+ }), make6("ReportSteer", {
15879
15880
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
15880
15881
  success: Void,
15881
15882
  error: RunnerRpcError
15882
- }), make5("AppendTranscript", {
15883
+ }), make6("AppendTranscript", {
15883
15884
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
15884
15885
  success: Void,
15885
15886
  error: RunnerRpcError
15886
- }), make5("CreateCheckpointFile", {
15887
+ }), make6("CreateCheckpointFile", {
15887
15888
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
15888
15889
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15889
15890
  error: Union([RunnerRpcError, RunFileRefused])
15890
- }), make5("CheckpointFileParts", {
15891
+ }), make6("CheckpointFileParts", {
15891
15892
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15892
15893
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15893
15894
  error: RunnerRpcError
15894
- }), make5("CompleteCheckpointFile", {
15895
+ }), make6("CompleteCheckpointFile", {
15895
15896
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15896
15897
  success: RunFileRecord,
15897
15898
  error: RunnerRpcError
15898
- }), make5("SaveCheckpoint", {
15899
+ }), make6("SaveCheckpoint", {
15899
15900
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
15900
15901
  success: Void,
15901
15902
  error: RunnerRpcError
15902
- }), make5("ResumeCheckpoint", {
15903
+ }), make6("ResumeCheckpoint", {
15903
15904
  payload: { lease: ProgramLease },
15904
15905
  success: UndefinedOr(ResumedCheckpoint),
15905
15906
  error: RunnerRpcError
15906
- }), make5("SettledCheckpoints", {
15907
+ }), make6("SettledCheckpoints", {
15907
15908
  success: ArraySchema(Struct({
15908
15909
  stepAttemptId: String4,
15909
15910
  ref: optionalKey(String4),
15910
15911
  repoBinding: optionalKey(WorkUnitRepoBinding)
15911
15912
  })),
15912
15913
  error: RunnerRpcError
15913
- }), make5("ForgetCheckpoints", {
15914
+ }), make6("ForgetCheckpoints", {
15914
15915
  payload: { stepAttemptIds: ArraySchema(String4) },
15915
15916
  success: Void,
15916
15917
  error: RunnerRpcError
15917
- }), make5("GitCredential", {
15918
+ }), make6("GitCredential", {
15918
15919
  payload: { repoBindingId: String4 },
15919
15920
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
15920
15921
  error: RunnerRpcError
15921
- }), make5("Bundle", {
15922
+ }), make6("Bundle", {
15922
15923
  payload: { digest: String4 },
15923
15924
  success: Struct({ bundle: String4 }),
15924
15925
  error: RunnerRpcError
15925
- }), make5("SettledRuns", {
15926
+ }), make6("SettledRuns", {
15926
15927
  payload: { runIds: ArraySchema(String4) },
15927
15928
  success: ArraySchema(String4),
15928
15929
  error: RunnerRpcError
15929
- }), make5("KnownEvidence", {
15930
+ }), make6("KnownEvidence", {
15930
15931
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
15931
15932
  success: ArraySchema(Struct({
15932
15933
  tree: String4,
@@ -15938,24 +15939,24 @@ class RunnerReplicaRpcs extends make6(make5("Claim", {
15938
15939
  })).middleware(RunnerAuthentication) {
15939
15940
  }
15940
15941
 
15941
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
15942
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
15942
15943
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
15943
15944
  error: RunnerRpcError
15944
- }), make5("DeferredDone", {
15945
+ }), make6("DeferredDone", {
15945
15946
  payload: { lease: ProgramLease, name: String4, exit: Json },
15946
15947
  error: RunnerRpcError
15947
- }), make5("ScheduleClock", {
15948
+ }), make6("ScheduleClock", {
15948
15949
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
15949
15950
  error: RunnerRpcError
15950
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15951
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15951
15952
  }
15952
- var RunHostStep = make5("RunHostStep", {
15953
+ var RunHostStep = make6("RunHostStep", {
15953
15954
  payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
15954
15955
  success: Json,
15955
15956
  error: RunnerRpcError
15956
15957
  });
15957
15958
 
15958
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15959
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15959
15960
  payload: {
15960
15961
  lease: ProgramLease,
15961
15962
  step: String4,
@@ -15975,7 +15976,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15975
15976
  },
15976
15977
  success: Struct({ questionId: String4 }),
15977
15978
  error: RunnerRpcError
15978
- }), make5("StartAgentStep", {
15979
+ }), make6("StartAgentStep", {
15979
15980
  payload: {
15980
15981
  lease: ProgramLease,
15981
15982
  step: String4,
@@ -15992,7 +15993,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15992
15993
  },
15993
15994
  success: Struct({ stepAttemptId: String4 }),
15994
15995
  error: RunnerRpcError
15995
- }), make5("StartVerification", {
15996
+ }), make6("StartVerification", {
15996
15997
  payload: {
15997
15998
  lease: ProgramLease,
15998
15999
  step: String4,
@@ -16016,7 +16017,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16016
16017
  },
16017
16018
  success: Struct({ verificationId: String4 }),
16018
16019
  error: RunnerRpcError
16019
- }), make5("AwaitEvent", {
16020
+ }), make6("AwaitEvent", {
16020
16021
  payload: {
16021
16022
  lease: ProgramLease,
16022
16023
  step: String4,
@@ -16032,7 +16033,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16032
16033
  })))
16033
16034
  },
16034
16035
  error: RunnerRpcError
16035
- }), make5("ClaimResource", {
16036
+ }), make6("ClaimResource", {
16036
16037
  payload: {
16037
16038
  lease: ProgramLease,
16038
16039
  step: String4,
@@ -16043,7 +16044,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16043
16044
  claims: optionalKey(ArraySchema(String4))
16044
16045
  },
16045
16046
  error: RunnerRpcError
16046
- }), make5("AdmitChild", {
16047
+ }), make6("AdmitChild", {
16047
16048
  payload: {
16048
16049
  lease: ProgramLease,
16049
16050
  step: String4,
@@ -16054,7 +16055,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16054
16055
  },
16055
16056
  success: Struct({ runId: String4 }),
16056
16057
  error: RunnerRpcError
16057
- }), make5("AdmitChildById", {
16058
+ }), make6("AdmitChildById", {
16058
16059
  payload: {
16059
16060
  lease: ProgramLease,
16060
16061
  step: String4,
@@ -16065,18 +16066,18 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16065
16066
  },
16066
16067
  success: Struct({ runId: String4 }),
16067
16068
  error: RunnerRpcError
16068
- }), make5("CallableLoops", {
16069
+ }), make6("CallableLoops", {
16069
16070
  payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
16070
16071
  success: Struct({ loops: ArraySchema(CallableLoop) }),
16071
16072
  error: RunnerRpcError
16072
- }), make5("StopLaunches", {
16073
+ }), make6("StopLaunches", {
16073
16074
  payload: {
16074
16075
  lease: ProgramLease,
16075
16076
  step: String4,
16076
16077
  deferredNames: ArraySchema(String4)
16077
16078
  },
16078
16079
  error: RunnerRpcError
16079
- }), make5("StoreArtifact", {
16080
+ }), make6("StoreArtifact", {
16080
16081
  payload: {
16081
16082
  lease: ProgramLease,
16082
16083
  step: String4,
@@ -16088,7 +16089,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16088
16089
  },
16089
16090
  success: Struct({ artifactId: String4 }),
16090
16091
  error: RunnerRpcError
16091
- }), make5("RecordNote", {
16092
+ }), make6("RecordNote", {
16092
16093
  payload: {
16093
16094
  lease: ProgramLease,
16094
16095
  step: String4,
@@ -16097,7 +16098,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16097
16098
  kind: optional(Literals(["note", "blocker"]))
16098
16099
  },
16099
16100
  error: RunnerRpcError
16100
- }), make5("PerformHostEffect", {
16101
+ }), make6("PerformHostEffect", {
16101
16102
  payload: {
16102
16103
  lease: ProgramLease,
16103
16104
  step: String4,
@@ -16126,7 +16127,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16126
16127
  },
16127
16128
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
16128
16129
  error: RunnerRpcError
16129
- }), make5("AlertTask", {
16130
+ }), make6("AlertTask", {
16130
16131
  payload: {
16131
16132
  lease: ProgramLease,
16132
16133
  step: String4,
@@ -16143,7 +16144,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16143
16144
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
16144
16145
  }),
16145
16146
  error: RunnerRpcError
16146
- }), make5("ReadTranscripts", {
16147
+ }), make6("ReadTranscripts", {
16147
16148
  payload: {
16148
16149
  lease: ProgramLease,
16149
16150
  step: String4,
@@ -16178,7 +16179,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16178
16179
  })))
16179
16180
  }),
16180
16181
  error: RunnerRpcError
16181
- }), make5("PipelineStatus", {
16182
+ }), make6("PipelineStatus", {
16182
16183
  payload: {
16183
16184
  lease: ProgramLease,
16184
16185
  step: String4,
@@ -16218,11 +16219,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16218
16219
  }))
16219
16220
  }),
16220
16221
  error: RunnerRpcError
16221
- }), make5("ReportPipeline", {
16222
+ }), make6("ReportPipeline", {
16222
16223
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
16223
16224
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
16224
16225
  error: RunnerRpcError
16225
- }), make5("ReviewThreads", {
16226
+ }), make6("ReviewThreads", {
16226
16227
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
16227
16228
  success: Struct({
16228
16229
  threads: ArraySchema(Struct({
@@ -16234,7 +16235,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16234
16235
  }))
16235
16236
  }),
16236
16237
  error: RunnerRpcError
16237
- }), make5("OpenChangeRequests", {
16238
+ }), make6("OpenChangeRequests", {
16238
16239
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
16239
16240
  success: Struct({
16240
16241
  changeRequests: ArraySchema(Struct({
@@ -16248,7 +16249,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16248
16249
  }))
16249
16250
  }),
16250
16251
  error: RunnerRpcError
16251
- }), make5("OwnChangeRequests", {
16252
+ }), make6("OwnChangeRequests", {
16252
16253
  payload: { lease: ProgramLease, step: String4 },
16253
16254
  success: Struct({
16254
16255
  changeRequests: ArraySchema(Struct({
@@ -16261,7 +16262,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16261
16262
  }))
16262
16263
  }),
16263
16264
  error: RunnerRpcError
16264
- }), make5("Propose", {
16265
+ }), make6("Propose", {
16265
16266
  payload: {
16266
16267
  lease: ProgramLease,
16267
16268
  step: String4,
@@ -16290,7 +16291,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16290
16291
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
16291
16292
  }),
16292
16293
  error: RunnerRpcError
16293
- }), make5("ReadProject", {
16294
+ }), make6("ReadProject", {
16294
16295
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
16295
16296
  success: Struct({
16296
16297
  project: Struct({ id: String4, name: String4 }),
@@ -16313,7 +16314,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16313
16314
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
16314
16315
  }),
16315
16316
  error: RunnerRpcError
16316
- }), make5("DraftUpdate", {
16317
+ }), make6("DraftUpdate", {
16317
16318
  payload: {
16318
16319
  lease: ProgramLease,
16319
16320
  step: String4,
@@ -16328,7 +16329,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16328
16329
  },
16329
16330
  success: Struct({ id: String4 }),
16330
16331
  error: RunnerRpcError
16331
- }), make5("CreatePlanTasks", {
16332
+ }), make6("CreatePlanTasks", {
16332
16333
  payload: {
16333
16334
  lease: ProgramLease,
16334
16335
  projectId: optionalKey(String4),
@@ -16349,15 +16350,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16349
16350
  },
16350
16351
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
16351
16352
  error: RunnerRpcError
16352
- }), make5("IntegrationBranch", {
16353
+ }), make6("IntegrationBranch", {
16353
16354
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
16354
16355
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16355
16356
  error: RunnerRpcError
16356
- }), make5("DeliveryBase", {
16357
+ }), make6("DeliveryBase", {
16357
16358
  payload: { lease: ProgramLease },
16358
16359
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16359
16360
  error: RunnerRpcError
16360
- }), make5("Branch", {
16361
+ }), make6("Branch", {
16361
16362
  payload: {
16362
16363
  lease: ProgramLease,
16363
16364
  branch: optionalKey(String4),
@@ -16372,7 +16373,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16372
16373
  created: Boolean2
16373
16374
  }),
16374
16375
  error: RunnerRpcError
16375
- }), make5("BranchChangeRequest", {
16376
+ }), make6("BranchChangeRequest", {
16376
16377
  payload: {
16377
16378
  lease: ProgramLease,
16378
16379
  step: String4,
@@ -16395,7 +16396,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16395
16396
  Struct({ status: Literal("elsewhere"), team: String4 })
16396
16397
  ]),
16397
16398
  error: RunnerRpcError
16398
- }), make5("MergeChangeRequest", {
16399
+ }), make6("MergeChangeRequest", {
16399
16400
  payload: {
16400
16401
  lease: ProgramLease,
16401
16402
  step: String4,
@@ -16413,7 +16414,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16413
16414
  Struct({ status: Literal("moved"), head: String4 })
16414
16415
  ]),
16415
16416
  error: RunnerRpcError
16416
- }), make5("ApproveChangeRequest", {
16417
+ }), make6("ApproveChangeRequest", {
16417
16418
  payload: {
16418
16419
  lease: ProgramLease,
16419
16420
  step: String4,
@@ -16429,7 +16430,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16429
16430
  Struct({ approved: Literal(false), reason: String4 })
16430
16431
  ]),
16431
16432
  error: RunnerRpcError
16432
- }), make5("CloseChangeRequest", {
16433
+ }), make6("CloseChangeRequest", {
16433
16434
  payload: {
16434
16435
  lease: ProgramLease,
16435
16436
  step: String4,
@@ -16439,7 +16440,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16439
16440
  },
16440
16441
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
16441
16442
  error: RunnerRpcError
16442
- }), make5("RerunPipeline", {
16443
+ }), make6("RerunPipeline", {
16443
16444
  payload: {
16444
16445
  lease: ProgramLease,
16445
16446
  step: String4,
@@ -16449,7 +16450,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16449
16450
  },
16450
16451
  success: Struct({ head: String4, pipelines: Int }),
16451
16452
  error: RunnerRpcError
16452
- }), make5("PublishRelease", {
16453
+ }), make6("PublishRelease", {
16453
16454
  payload: {
16454
16455
  lease: ProgramLease,
16455
16456
  step: String4,
@@ -16463,7 +16464,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16463
16464
  },
16464
16465
  success: Struct({ tag: String4, revision: String4, url: String4 }),
16465
16466
  error: RunnerRpcError
16466
- }), make5("RecordDeploy", {
16467
+ }), make6("RecordDeploy", {
16467
16468
  payload: {
16468
16469
  lease: ProgramLease,
16469
16470
  step: String4,
@@ -16475,7 +16476,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16475
16476
  },
16476
16477
  success: Deploy,
16477
16478
  error: RunnerRpcError
16478
- }), make5("DeployTarget", {
16479
+ }), make6("DeployTarget", {
16479
16480
  payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
16480
16481
  success: Struct({
16481
16482
  target: String4,
@@ -16483,14 +16484,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
16483
16484
  order: optionalKey(ArraySchema(String4))
16484
16485
  }),
16485
16486
  error: RunnerRpcError
16486
- }), RunHostStep, make5("ProgramSecrets", {
16487
+ }), RunHostStep, make6("ProgramSecrets", {
16487
16488
  payload: { lease: ProgramLease },
16488
16489
  success: Record(String4, String4),
16489
16490
  error: RunnerRpcError
16490
16491
  })).middleware(RunnerAuthentication) {
16491
16492
  }
16492
16493
 
16493
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16494
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16494
16495
  payload: {
16495
16496
  lease: ProgramLease,
16496
16497
  step: String4,
@@ -16502,11 +16503,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16502
16503
  },
16503
16504
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
16504
16505
  error: Union([RunnerRpcError, RunFileRefused])
16505
- }), make5("RunFileParts", {
16506
+ }), make6("RunFileParts", {
16506
16507
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
16507
16508
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
16508
16509
  error: RunnerRpcError
16509
- }), make5("CompleteRunFile", {
16510
+ }), make6("CompleteRunFile", {
16510
16511
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
16511
16512
  success: RunFileRecord,
16512
16513
  error: RunnerRpcError
@@ -16595,7 +16596,7 @@ function toStoredSession(token, existingRefreshToken) {
16595
16596
  }
16596
16597
  function startLoopbackServer(input) {
16597
16598
  return gen(function* () {
16598
- const code = yield* make15();
16599
+ const code = yield* make16();
16599
16600
  const context2 = yield* context();
16600
16601
  const runSyncExit = runSyncExitWith(context2);
16601
16602
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17143,7 +17144,7 @@ var openConnection = (transport) => gen(function* () {
17143
17144
  let lastId = 0;
17144
17145
  let lost = false;
17145
17146
  const notifications = yield* unbounded2();
17146
- const ended = yield* make15();
17147
+ const ended = yield* make16();
17147
17148
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17148
17149
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17149
17150
  onNone: () => void_3,
@@ -17170,7 +17171,7 @@ var openConnection = (transport) => gen(function* () {
17170
17171
  if (lost)
17171
17172
  return yield* new HerdrCoreConnectionLost2({ method });
17172
17173
  const id = ++lastId;
17173
- const deferred = yield* make15();
17174
+ const deferred = yield* make16();
17174
17175
  pending.set(id, { method, deferred });
17175
17176
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17176
17177
  return yield* _await(deferred);
@@ -17244,14 +17245,14 @@ var herdrCoreOver = (transport) => ({
17244
17245
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17245
17246
  };
17246
17247
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17247
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17248
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17248
17249
  }))
17249
17250
  });
17250
17251
  var spawnedTransport = (env) => gen(function* () {
17251
17252
  const spawner = yield* ChildProcessSpawner;
17252
17253
  const input = yield* unbounded2();
17253
17254
  const encoder = new TextEncoder;
17254
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
17255
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
17255
17256
  extendEnv: false,
17256
17257
  env,
17257
17258
  stdin: fromQueue(input),
@@ -17282,7 +17283,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
17282
17283
  const spawner = yield* ChildProcessSpawner;
17283
17284
  const env = coreEnv(options);
17284
17285
  const run = (args) => gen(function* () {
17285
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17286
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17286
17287
  const [stdout, stderr, exitCode] = yield* all3([
17287
17288
  mkString(decodeText(handle.stdout)),
17288
17289
  mkString(decodeText(handle.stderr)),
@@ -17308,7 +17309,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
17308
17309
  }
17309
17310
  var runCommand2 = (command, args, options = {}) => gen(function* () {
17310
17311
  const spawner = yield* ChildProcessSpawner;
17311
- const handle = yield* spawner.spawn(make2(command, args, {
17312
+ const handle = yield* spawner.spawn(make3(command, args, {
17312
17313
  stdin: "ignore",
17313
17314
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17314
17315
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -17334,8 +17335,8 @@ var shellOutputTailChars2 = 64 * 1024;
17334
17335
  var runProcess2 = (argv, options) => gen(function* () {
17335
17336
  const spawner = yield* ChildProcessSpawner;
17336
17337
  const [command, ...args] = argv;
17337
- const handle = yield* spawner.spawn(make2(command, args, {
17338
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17338
+ const handle = yield* spawner.spawn(make3(command, args, {
17339
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17339
17340
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17340
17341
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17341
17342
  }));
@@ -17855,4 +17856,4 @@ function serviceChecks(declaration) {
17855
17856
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
17856
17857
  }
17857
17858
 
17858
- export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, runTicketsPayload, runTicketResult, ticketOutcomeLabels, runGraphLayout, KitDigest, defaultKitName, LoopCapabilities, LoopManifest, CallableLoop, AgentDeclaration, StepManifest, KitDeclarations, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
17859
+ export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, 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 };