@kitman-sh/cli 0.27.1 → 0.29.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-ja48xvcs.js → chunk-18x6rmkq.js} +9 -9
  2. package/dist/{chunk-tsx0347c.js → chunk-1hgsf81a.js} +1 -1
  3. package/dist/{chunk-nhe2pgzz.js → chunk-1yyq4nh2.js} +24 -24
  4. package/dist/{chunk-samxkpbz.js → chunk-4qrb09w4.js} +3 -3
  5. package/dist/{chunk-t6ynnbcb.js → chunk-4tdk1w0k.js} +7 -7
  6. package/dist/{chunk-h2f26xbd.js → chunk-61dmxexa.js} +70 -28
  7. package/dist/{chunk-1vnvmeqr.js → chunk-801jtbdq.js} +3 -3
  8. package/dist/{chunk-sxjz1jg3.js → chunk-89eskdmq.js} +26 -23
  9. package/dist/{chunk-vv7zg8rb.js → chunk-8andwyqa.js} +5 -5
  10. package/dist/{chunk-zysde2fp.js → chunk-9zxzmsmm.js} +9 -9
  11. package/dist/{chunk-mpxtpwqp.js → chunk-cbkj3km5.js} +1 -1
  12. package/dist/{chunk-dfvamygr.js → chunk-cm2sr223.js} +129 -87
  13. package/dist/{chunk-7re3n1ze.js → chunk-e491q405.js} +10 -10
  14. package/dist/{chunk-8t2wcrvv.js → chunk-eshk0da5.js} +2 -2
  15. package/dist/{chunk-220vzyz9.js → chunk-f9fhdprs.js} +4 -4
  16. package/dist/{chunk-npfdbssf.js → chunk-fyjet273.js} +4 -4
  17. package/dist/{chunk-bsgvmq34.js → chunk-j021bman.js} +14 -60
  18. package/dist/{chunk-g9z2pdfh.js → chunk-pyjx5q5s.js} +1 -1
  19. package/dist/{chunk-ks4q040v.js → chunk-q1medqp5.js} +6 -6
  20. package/dist/{chunk-vz38kngm.js → chunk-q8e58p57.js} +2 -2
  21. package/dist/{chunk-4qjfn1sa.js → chunk-rbpn35g5.js} +1 -1
  22. package/dist/{chunk-j4b1yvcd.js → chunk-sm340tvm.js} +26 -17
  23. package/dist/{chunk-z05pkzhf.js → chunk-vshy6fm5.js} +10 -10
  24. package/dist/{chunk-mvqggmpj.js → chunk-wqdxszpm.js} +19 -19
  25. package/dist/{chunk-xppw33hz.js → chunk-y6petreh.js} +116 -124
  26. package/dist/{chunk-5kqt4bqp.js → chunk-znhjs0t6.js} +1 -1
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make14,
41
+ make13,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make15,
61
+ make14,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -91,7 +91,7 @@ import {
91
91
  fail4,
92
92
  isSuccess2,
93
93
  makeUnsafe5,
94
- make16,
94
+ make15,
95
95
  _await,
96
96
  fail5,
97
97
  isDone,
@@ -194,6 +194,9 @@ import {
194
194
  logError,
195
195
  effectify,
196
196
  decode,
197
+ isRedacted,
198
+ make16,
199
+ value,
197
200
  defaultParseOptions,
198
201
  omit,
199
202
  map10,
@@ -264,17 +267,18 @@ import {
264
267
  decodeJsonStringOption,
265
268
  encodeJsonStringSync,
266
269
  encodePrettyJsonString
267
- } from "./chunk-h2f26xbd.js";
270
+ } from "./chunk-61dmxexa.js";
268
271
  import {
269
272
  map,
270
273
  makeEquivalence,
274
+ toNumber,
271
275
  bytes,
272
276
  BadArgument,
273
277
  systemError,
274
278
  badArgument,
275
279
  makeUnsafe2,
280
+ make7,
276
281
  make8,
277
- make9,
278
282
  sliding,
279
283
  unbounded2,
280
284
  offer,
@@ -290,13 +294,13 @@ import {
290
294
  isSink,
291
295
  fromChannel,
292
296
  drain,
293
- make10,
297
+ make9,
294
298
  get3,
295
299
  isStream,
296
300
  fromChannel2,
297
301
  callback,
298
302
  empty2,
299
- make11,
303
+ make10,
300
304
  suspend,
301
305
  fail2,
302
306
  fromQueue,
@@ -322,31 +326,28 @@ import {
322
326
  mkArrayBuffer,
323
327
  toReadableStreamEffect,
324
328
  FileSystem,
325
- make12,
329
+ make11,
326
330
  FileTypeId,
327
331
  WatchBackend,
328
332
  Path,
329
- make13,
333
+ make12,
330
334
  option,
331
335
  String2,
332
336
  optionalEnv,
333
337
  harnessesUnsupportedInSrt2,
334
338
  harnessesUnsupportedInDocker2
335
- } from "./chunk-j4b1yvcd.js";
339
+ } from "./chunk-sm340tvm.js";
336
340
  import {
337
- isRedacted,
338
- make,
339
- value,
340
341
  ExitCode,
341
342
  ProcessId,
342
343
  makeHandle,
343
- make2,
344
+ make,
344
345
  ChildProcessSpawner,
345
346
  display,
346
- make3,
347
+ make2,
347
348
  parseFdName,
348
349
  fdName
349
- } from "./chunk-bsgvmq34.js";
350
+ } from "./chunk-j021bman.js";
350
351
  import {
351
352
  isDateTime,
352
353
  Numeric,
@@ -359,7 +360,7 @@ import {
359
360
  SecretScope,
360
361
  SecretHosts,
361
362
  isSecretReference
362
- } from "./chunk-4qjfn1sa.js";
363
+ } from "./chunk-rbpn35g5.js";
363
364
 
364
365
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
365
366
  var makeEquivalence3 = Tuple;
@@ -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 make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
526
+ var make3 = /* @__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);
@@ -901,18 +902,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
901
902
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
902
903
  var runMain = runMain2;
903
904
 
904
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
905
- var BigInt2 = globalThis.BigInt;
906
- var toNumber = (b) => {
907
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
908
- return none();
909
- }
910
- return some(Number(b));
911
- };
912
-
913
905
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
914
906
  var makeUnsafe = makeUnsafe6;
915
- var make18 = make4;
907
+ var make18 = make3;
916
908
  var now2 = now;
917
909
  var nowUnsafe2 = nowUnsafe;
918
910
  var toDateUtc2 = toDateUtc;
@@ -1127,7 +1119,7 @@ var readableToPullUnsafe = (options) => {
1127
1119
  const readable = options.readable;
1128
1120
  const chunkSize = options.chunkSize ?? 4096;
1129
1121
  const closeOnDone = options.closeOnDone ?? true;
1130
- const exit = options.exit ?? make8(undefined);
1122
+ const exit = options.exit ?? make7(undefined);
1131
1123
  const latch = options.latch ?? makeUnsafe2(false);
1132
1124
  function onReadable() {
1133
1125
  latch.openUnsafe();
@@ -1691,7 +1683,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1691
1683
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1692
1684
  const toOption = options.to ?? "stdin";
1693
1685
  if (toOption === "stdin") {
1694
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1686
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1695
1687
  ...command.options,
1696
1688
  stdin: {
1697
1689
  ...stdinConfig,
@@ -1711,7 +1703,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1711
1703
  type: "input",
1712
1704
  stream: sourceStream
1713
1705
  };
1714
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1706
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1715
1707
  ...command.options,
1716
1708
  additionalFds: {
1717
1709
  ...existingFds,
@@ -1719,7 +1711,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1719
1711
  }
1720
1712
  })));
1721
1713
  } else {
1722
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1714
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1723
1715
  ...command.options,
1724
1716
  stdin: {
1725
1717
  ...stdinConfig,
@@ -1758,7 +1750,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1758
1750
  }
1759
1751
  }
1760
1752
  });
1761
- return make2(spawnCommand);
1753
+ return make(spawnCommand);
1762
1754
  });
1763
1755
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1764
1756
  var flattenCommand = (command) => {
@@ -2244,7 +2236,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2244
2236
  resume(fail7(handleBadArgument("writeFile")(err)));
2245
2237
  }
2246
2238
  });
2247
- var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2239
+ var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2248
2240
  access: access2,
2249
2241
  chmod: chmod2,
2250
2242
  chown: chown2,
@@ -2304,15 +2296,15 @@ var fileUrlOps = (windows) => ({
2304
2296
  })
2305
2297
  })
2306
2298
  });
2307
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2299
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2308
2300
  ...NodePath.posix,
2309
2301
  .../* @__PURE__ */ fileUrlOps(false)
2310
2302
  }));
2311
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2303
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2312
2304
  ...NodePath.win32,
2313
2305
  .../* @__PURE__ */ fileUrlOps(true)
2314
2306
  }));
2315
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2307
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2316
2308
  ...NodePath,
2317
2309
  .../* @__PURE__ */ fileUrlOps(undefined)
2318
2310
  }));
@@ -2839,12 +2831,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2839
2831
  if (typeof key === "string") {
2840
2832
  const k = key.toLowerCase();
2841
2833
  if (k in self) {
2842
- out[k] = make(self[k]);
2834
+ out[k] = make16(self[k]);
2843
2835
  }
2844
2836
  } else {
2845
2837
  for (const name in self) {
2846
2838
  if (name.search(key) !== -1) {
2847
- out[name] = make(self[name]);
2839
+ out[name] = make16(self[name]);
2848
2840
  }
2849
2841
  }
2850
2842
  }
@@ -2951,7 +2943,7 @@ var fromInputNested = (input) => {
2951
2943
  return out;
2952
2944
  };
2953
2945
  var coerce = (value) => isRedacted(value) ? value : String(value);
2954
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2946
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2955
2947
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2956
2948
  var empty4 = /* @__PURE__ */ make23([]);
2957
2949
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2970,7 +2962,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2970
2962
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2971
2963
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2972
2964
  const patterns = Array.isArray(key) ? key : [key];
2973
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2965
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2974
2966
  });
2975
2967
  var isRedactedName2 = isRedactedName;
2976
2968
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3046,7 +3038,7 @@ import * as readline from "readline";
3046
3038
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3047
3039
  const stdin = process.stdin;
3048
3040
  const stdout = process.stdout;
3049
- const lines = yield* make9();
3041
+ const lines = yield* make8();
3050
3042
  let inputEnded = stdin.readableEnded;
3051
3043
  let readlineActive = false;
3052
3044
  const onStdinEnd = () => {
@@ -3057,7 +3049,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3057
3049
  };
3058
3050
  stdin.once("end", onStdinEnd);
3059
3051
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3060
- const rlRef = yield* make10({
3052
+ const rlRef = yield* make9({
3061
3053
  acquire: acquireRelease(sync2(() => {
3062
3054
  const rl = readline.createInterface({
3063
3055
  input: stdin,
@@ -3096,7 +3088,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3096
3088
  if (stdin.isTTY)
3097
3089
  stdin.setRawMode(enabled);
3098
3090
  });
3099
- const rawModeRef = yield* make10({
3091
+ const rawModeRef = yield* make9({
3100
3092
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3101
3093
  idleTimeToLive: "10 millis"
3102
3094
  });
@@ -3117,7 +3109,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3117
3109
  return queue;
3118
3110
  });
3119
3111
  const readInput = gen(function* () {
3120
- const queue = yield* make9();
3112
+ const queue = yield* make8();
3121
3113
  const handleKeypress = (s, k) => {
3122
3114
  const userInput = {
3123
3115
  input: fromUndefinedOr(s),
@@ -11123,14 +11115,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
11123
11115
  return self;
11124
11116
  }
11125
11117
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
11126
- var make5 = (method) => (url, options) => modify(empty6, {
11118
+ var make4 = (method) => (url, options) => modify(empty6, {
11127
11119
  method,
11128
11120
  url,
11129
11121
  ...options ?? undefined
11130
11122
  });
11131
- var get = /* @__PURE__ */ make5("GET");
11132
- var post = /* @__PURE__ */ make5("POST");
11133
- var put = /* @__PURE__ */ make5("PUT");
11123
+ var get = /* @__PURE__ */ make4("GET");
11124
+ var post = /* @__PURE__ */ make4("POST");
11125
+ var put = /* @__PURE__ */ make4("PUT");
11134
11126
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
11135
11127
  let result = self;
11136
11128
  if (options.method) {
@@ -11431,7 +11423,7 @@ var Proto7 = {
11431
11423
  };
11432
11424
  },
11433
11425
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
11434
- return this.execute(make5(fullMethod)(url, options));
11426
+ return this.execute(make4(fullMethod)(url, options));
11435
11427
  }]))
11436
11428
  };
11437
11429
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -15520,7 +15512,7 @@ var makeProto = (options) => {
15520
15512
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
15521
15513
  return Rpc;
15522
15514
  };
15523
- var make6 = (tag, options) => {
15515
+ var make5 = (tag, options) => {
15524
15516
  const successSchema = options?.success ?? Void;
15525
15517
  const errorSchema = options?.error ?? Never;
15526
15518
  const defectSchema = options?.defect ?? Defect();
@@ -15731,7 +15723,7 @@ var RpcGroupProto = {
15731
15723
  });
15732
15724
  },
15733
15725
  annotateRpcs(service, value) {
15734
- return this.annotateRpcsMerge(make15(service, value));
15726
+ return this.annotateRpcsMerge(make14(service, value));
15735
15727
  },
15736
15728
  annotateMerge(context) {
15737
15729
  return makeProto2({
@@ -15754,7 +15746,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
15754
15746
  requests: options.requests,
15755
15747
  annotations: options.annotations
15756
15748
  });
15757
- var make7 = (...rpcs) => makeProto2({
15749
+ var make6 = (...rpcs) => makeProto2({
15758
15750
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
15759
15751
  annotations: empty3()
15760
15752
  });
@@ -15860,77 +15852,77 @@ var ProgramOutcome = Union([
15860
15852
  Struct({ status: Literal("failed"), failureSummary: String4 })
15861
15853
  ]);
15862
15854
 
15863
- class RunnerReplicaRpcs extends make7(make6("Claim", {
15855
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
15864
15856
  payload: WorkUnitClaimInput,
15865
15857
  success: WorkUnitClaimResult,
15866
15858
  error: RunnerRpcError
15867
- }), make6("Heartbeat", {
15859
+ }), make5("Heartbeat", {
15868
15860
  payload: WorkUnitHeartbeatInput,
15869
15861
  success: WorkUnitHeartbeatResult,
15870
15862
  error: RunnerRpcError
15871
- }), make6("Complete", {
15863
+ }), make5("Complete", {
15872
15864
  payload: WorkUnitCompletion,
15873
15865
  error: RunnerRpcError
15874
- }), make6("Release", {
15866
+ }), make5("Release", {
15875
15867
  payload: WorkUnitReleaseInput,
15876
15868
  error: RunnerRpcError
15877
- }), make6("Signals", {
15869
+ }), make5("Signals", {
15878
15870
  payload: { runnerReplicaId: String4 },
15879
15871
  success: RunnerSignal,
15880
15872
  error: RunnerRpcError,
15881
15873
  stream: true
15882
- }), make6("ReportSteer", {
15874
+ }), make5("ReportSteer", {
15883
15875
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
15884
15876
  success: Void,
15885
15877
  error: RunnerRpcError
15886
- }), make6("AppendTranscript", {
15878
+ }), make5("AppendTranscript", {
15887
15879
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
15888
15880
  success: Void,
15889
15881
  error: RunnerRpcError
15890
- }), make6("CreateCheckpointFile", {
15882
+ }), make5("CreateCheckpointFile", {
15891
15883
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
15892
15884
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15893
15885
  error: Union([RunnerRpcError, RunFileRefused])
15894
- }), make6("CheckpointFileParts", {
15886
+ }), make5("CheckpointFileParts", {
15895
15887
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15896
15888
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15897
15889
  error: RunnerRpcError
15898
- }), make6("CompleteCheckpointFile", {
15890
+ }), make5("CompleteCheckpointFile", {
15899
15891
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15900
15892
  success: RunFileRecord,
15901
15893
  error: RunnerRpcError
15902
- }), make6("SaveCheckpoint", {
15894
+ }), make5("SaveCheckpoint", {
15903
15895
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
15904
15896
  success: Void,
15905
15897
  error: RunnerRpcError
15906
- }), make6("ResumeCheckpoint", {
15898
+ }), make5("ResumeCheckpoint", {
15907
15899
  payload: { lease: ProgramLease },
15908
15900
  success: UndefinedOr(ResumedCheckpoint),
15909
15901
  error: RunnerRpcError
15910
- }), make6("SettledCheckpoints", {
15902
+ }), make5("SettledCheckpoints", {
15911
15903
  success: ArraySchema(Struct({
15912
15904
  stepAttemptId: String4,
15913
15905
  ref: optionalKey(String4),
15914
15906
  repoBinding: optionalKey(WorkUnitRepoBinding)
15915
15907
  })),
15916
15908
  error: RunnerRpcError
15917
- }), make6("ForgetCheckpoints", {
15909
+ }), make5("ForgetCheckpoints", {
15918
15910
  payload: { stepAttemptIds: ArraySchema(String4) },
15919
15911
  success: Void,
15920
15912
  error: RunnerRpcError
15921
- }), make6("GitCredential", {
15913
+ }), make5("GitCredential", {
15922
15914
  payload: { repoBindingId: String4 },
15923
15915
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
15924
15916
  error: RunnerRpcError
15925
- }), make6("Bundle", {
15917
+ }), make5("Bundle", {
15926
15918
  payload: { digest: String4 },
15927
15919
  success: Struct({ bundle: String4 }),
15928
15920
  error: RunnerRpcError
15929
- }), make6("SettledRuns", {
15921
+ }), make5("SettledRuns", {
15930
15922
  payload: { runIds: ArraySchema(String4) },
15931
15923
  success: ArraySchema(String4),
15932
15924
  error: RunnerRpcError
15933
- }), make6("KnownEvidence", {
15925
+ }), make5("KnownEvidence", {
15934
15926
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
15935
15927
  success: ArraySchema(Struct({
15936
15928
  tree: String4,
@@ -15942,24 +15934,24 @@ class RunnerReplicaRpcs extends make7(make6("Claim", {
15942
15934
  })).middleware(RunnerAuthentication) {
15943
15935
  }
15944
15936
 
15945
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
15937
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
15946
15938
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
15947
15939
  error: RunnerRpcError
15948
- }), make6("DeferredDone", {
15940
+ }), make5("DeferredDone", {
15949
15941
  payload: { lease: ProgramLease, name: String4, exit: Json },
15950
15942
  error: RunnerRpcError
15951
- }), make6("ScheduleClock", {
15943
+ }), make5("ScheduleClock", {
15952
15944
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
15953
15945
  error: RunnerRpcError
15954
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15946
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
15955
15947
  }
15956
- var RunHostStep = make6("RunHostStep", {
15948
+ var RunHostStep = make5("RunHostStep", {
15957
15949
  payload: { lease: ProgramLease, step: String4, hostStep: String4, request: Json },
15958
15950
  success: Json,
15959
15951
  error: RunnerRpcError
15960
15952
  });
15961
15953
 
15962
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15954
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
15963
15955
  payload: {
15964
15956
  lease: ProgramLease,
15965
15957
  step: String4,
@@ -15979,7 +15971,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15979
15971
  },
15980
15972
  success: Struct({ questionId: String4 }),
15981
15973
  error: RunnerRpcError
15982
- }), make6("StartAgentStep", {
15974
+ }), make5("StartAgentStep", {
15983
15975
  payload: {
15984
15976
  lease: ProgramLease,
15985
15977
  step: String4,
@@ -15996,7 +15988,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15996
15988
  },
15997
15989
  success: Struct({ stepAttemptId: String4 }),
15998
15990
  error: RunnerRpcError
15999
- }), make6("StartVerification", {
15991
+ }), make5("StartVerification", {
16000
15992
  payload: {
16001
15993
  lease: ProgramLease,
16002
15994
  step: String4,
@@ -16020,7 +16012,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16020
16012
  },
16021
16013
  success: Struct({ verificationId: String4 }),
16022
16014
  error: RunnerRpcError
16023
- }), make6("AwaitEvent", {
16015
+ }), make5("AwaitEvent", {
16024
16016
  payload: {
16025
16017
  lease: ProgramLease,
16026
16018
  step: String4,
@@ -16036,7 +16028,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16036
16028
  })))
16037
16029
  },
16038
16030
  error: RunnerRpcError
16039
- }), make6("ClaimResource", {
16031
+ }), make5("ClaimResource", {
16040
16032
  payload: {
16041
16033
  lease: ProgramLease,
16042
16034
  step: String4,
@@ -16047,7 +16039,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16047
16039
  claims: optionalKey(ArraySchema(String4))
16048
16040
  },
16049
16041
  error: RunnerRpcError
16050
- }), make6("AdmitChild", {
16042
+ }), make5("AdmitChild", {
16051
16043
  payload: {
16052
16044
  lease: ProgramLease,
16053
16045
  step: String4,
@@ -16058,7 +16050,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16058
16050
  },
16059
16051
  success: Struct({ runId: String4 }),
16060
16052
  error: RunnerRpcError
16061
- }), make6("AdmitChildById", {
16053
+ }), make5("AdmitChildById", {
16062
16054
  payload: {
16063
16055
  lease: ProgramLease,
16064
16056
  step: String4,
@@ -16069,18 +16061,18 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16069
16061
  },
16070
16062
  success: Struct({ runId: String4 }),
16071
16063
  error: RunnerRpcError
16072
- }), make6("CallableLoops", {
16064
+ }), make5("CallableLoops", {
16073
16065
  payload: { lease: ProgramLease, step: String4, taskId: optional(String4) },
16074
16066
  success: Struct({ loops: ArraySchema(CallableLoop) }),
16075
16067
  error: RunnerRpcError
16076
- }), make6("StopLaunches", {
16068
+ }), make5("StopLaunches", {
16077
16069
  payload: {
16078
16070
  lease: ProgramLease,
16079
16071
  step: String4,
16080
16072
  deferredNames: ArraySchema(String4)
16081
16073
  },
16082
16074
  error: RunnerRpcError
16083
- }), make6("StoreArtifact", {
16075
+ }), make5("StoreArtifact", {
16084
16076
  payload: {
16085
16077
  lease: ProgramLease,
16086
16078
  step: String4,
@@ -16092,7 +16084,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16092
16084
  },
16093
16085
  success: Struct({ artifactId: String4 }),
16094
16086
  error: RunnerRpcError
16095
- }), make6("RecordNote", {
16087
+ }), make5("RecordNote", {
16096
16088
  payload: {
16097
16089
  lease: ProgramLease,
16098
16090
  step: String4,
@@ -16101,7 +16093,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16101
16093
  kind: optional(Literals(["note", "blocker"]))
16102
16094
  },
16103
16095
  error: RunnerRpcError
16104
- }), make6("PerformHostEffect", {
16096
+ }), make5("PerformHostEffect", {
16105
16097
  payload: {
16106
16098
  lease: ProgramLease,
16107
16099
  step: String4,
@@ -16130,7 +16122,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16130
16122
  },
16131
16123
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
16132
16124
  error: RunnerRpcError
16133
- }), make6("AlertTask", {
16125
+ }), make5("AlertTask", {
16134
16126
  payload: {
16135
16127
  lease: ProgramLease,
16136
16128
  step: String4,
@@ -16147,7 +16139,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16147
16139
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
16148
16140
  }),
16149
16141
  error: RunnerRpcError
16150
- }), make6("ReadTranscripts", {
16142
+ }), make5("ReadTranscripts", {
16151
16143
  payload: {
16152
16144
  lease: ProgramLease,
16153
16145
  step: String4,
@@ -16182,7 +16174,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16182
16174
  })))
16183
16175
  }),
16184
16176
  error: RunnerRpcError
16185
- }), make6("PipelineStatus", {
16177
+ }), make5("PipelineStatus", {
16186
16178
  payload: {
16187
16179
  lease: ProgramLease,
16188
16180
  step: String4,
@@ -16222,11 +16214,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16222
16214
  }))
16223
16215
  }),
16224
16216
  error: RunnerRpcError
16225
- }), make6("ReportPipeline", {
16217
+ }), make5("ReportPipeline", {
16226
16218
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
16227
16219
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
16228
16220
  error: RunnerRpcError
16229
- }), make6("ReviewThreads", {
16221
+ }), make5("ReviewThreads", {
16230
16222
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
16231
16223
  success: Struct({
16232
16224
  threads: ArraySchema(Struct({
@@ -16238,7 +16230,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16238
16230
  }))
16239
16231
  }),
16240
16232
  error: RunnerRpcError
16241
- }), make6("OpenChangeRequests", {
16233
+ }), make5("OpenChangeRequests", {
16242
16234
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
16243
16235
  success: Struct({
16244
16236
  changeRequests: ArraySchema(Struct({
@@ -16252,7 +16244,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16252
16244
  }))
16253
16245
  }),
16254
16246
  error: RunnerRpcError
16255
- }), make6("OwnChangeRequests", {
16247
+ }), make5("OwnChangeRequests", {
16256
16248
  payload: { lease: ProgramLease, step: String4 },
16257
16249
  success: Struct({
16258
16250
  changeRequests: ArraySchema(Struct({
@@ -16265,7 +16257,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16265
16257
  }))
16266
16258
  }),
16267
16259
  error: RunnerRpcError
16268
- }), make6("Propose", {
16260
+ }), make5("Propose", {
16269
16261
  payload: {
16270
16262
  lease: ProgramLease,
16271
16263
  step: String4,
@@ -16294,7 +16286,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16294
16286
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
16295
16287
  }),
16296
16288
  error: RunnerRpcError
16297
- }), make6("ReadProject", {
16289
+ }), make5("ReadProject", {
16298
16290
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
16299
16291
  success: Struct({
16300
16292
  project: Struct({ id: String4, name: String4 }),
@@ -16317,7 +16309,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16317
16309
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
16318
16310
  }),
16319
16311
  error: RunnerRpcError
16320
- }), make6("DraftUpdate", {
16312
+ }), make5("DraftUpdate", {
16321
16313
  payload: {
16322
16314
  lease: ProgramLease,
16323
16315
  step: String4,
@@ -16332,7 +16324,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16332
16324
  },
16333
16325
  success: Struct({ id: String4 }),
16334
16326
  error: RunnerRpcError
16335
- }), make6("CreatePlanTasks", {
16327
+ }), make5("CreatePlanTasks", {
16336
16328
  payload: {
16337
16329
  lease: ProgramLease,
16338
16330
  projectId: optionalKey(String4),
@@ -16353,15 +16345,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16353
16345
  },
16354
16346
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
16355
16347
  error: RunnerRpcError
16356
- }), make6("IntegrationBranch", {
16348
+ }), make5("IntegrationBranch", {
16357
16349
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
16358
16350
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16359
16351
  error: RunnerRpcError
16360
- }), make6("DeliveryBase", {
16352
+ }), make5("DeliveryBase", {
16361
16353
  payload: { lease: ProgramLease },
16362
16354
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
16363
16355
  error: RunnerRpcError
16364
- }), make6("Branch", {
16356
+ }), make5("Branch", {
16365
16357
  payload: {
16366
16358
  lease: ProgramLease,
16367
16359
  branch: optionalKey(String4),
@@ -16376,7 +16368,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16376
16368
  created: Boolean2
16377
16369
  }),
16378
16370
  error: RunnerRpcError
16379
- }), make6("BranchChangeRequest", {
16371
+ }), make5("BranchChangeRequest", {
16380
16372
  payload: {
16381
16373
  lease: ProgramLease,
16382
16374
  step: String4,
@@ -16399,7 +16391,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16399
16391
  Struct({ status: Literal("elsewhere"), team: String4 })
16400
16392
  ]),
16401
16393
  error: RunnerRpcError
16402
- }), make6("MergeChangeRequest", {
16394
+ }), make5("MergeChangeRequest", {
16403
16395
  payload: {
16404
16396
  lease: ProgramLease,
16405
16397
  step: String4,
@@ -16417,7 +16409,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16417
16409
  Struct({ status: Literal("moved"), head: String4 })
16418
16410
  ]),
16419
16411
  error: RunnerRpcError
16420
- }), make6("ApproveChangeRequest", {
16412
+ }), make5("ApproveChangeRequest", {
16421
16413
  payload: {
16422
16414
  lease: ProgramLease,
16423
16415
  step: String4,
@@ -16433,7 +16425,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16433
16425
  Struct({ approved: Literal(false), reason: String4 })
16434
16426
  ]),
16435
16427
  error: RunnerRpcError
16436
- }), make6("CloseChangeRequest", {
16428
+ }), make5("CloseChangeRequest", {
16437
16429
  payload: {
16438
16430
  lease: ProgramLease,
16439
16431
  step: String4,
@@ -16443,7 +16435,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16443
16435
  },
16444
16436
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
16445
16437
  error: RunnerRpcError
16446
- }), make6("RerunPipeline", {
16438
+ }), make5("RerunPipeline", {
16447
16439
  payload: {
16448
16440
  lease: ProgramLease,
16449
16441
  step: String4,
@@ -16453,7 +16445,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16453
16445
  },
16454
16446
  success: Struct({ head: String4, pipelines: Int }),
16455
16447
  error: RunnerRpcError
16456
- }), make6("PublishRelease", {
16448
+ }), make5("PublishRelease", {
16457
16449
  payload: {
16458
16450
  lease: ProgramLease,
16459
16451
  step: String4,
@@ -16467,7 +16459,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16467
16459
  },
16468
16460
  success: Struct({ tag: String4, revision: String4, url: String4 }),
16469
16461
  error: RunnerRpcError
16470
- }), make6("RecordDeploy", {
16462
+ }), make5("RecordDeploy", {
16471
16463
  payload: {
16472
16464
  lease: ProgramLease,
16473
16465
  step: String4,
@@ -16479,7 +16471,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16479
16471
  },
16480
16472
  success: Deploy,
16481
16473
  error: RunnerRpcError
16482
- }), make6("DeployTarget", {
16474
+ }), make5("DeployTarget", {
16483
16475
  payload: { lease: ProgramLease, step: String4, target: DeployTargetName },
16484
16476
  success: Struct({
16485
16477
  target: String4,
@@ -16487,14 +16479,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
16487
16479
  order: optionalKey(ArraySchema(String4))
16488
16480
  }),
16489
16481
  error: RunnerRpcError
16490
- }), RunHostStep, make6("ProgramSecrets", {
16482
+ }), RunHostStep, make5("ProgramSecrets", {
16491
16483
  payload: { lease: ProgramLease },
16492
16484
  success: Record(String4, String4),
16493
16485
  error: RunnerRpcError
16494
16486
  })).middleware(RunnerAuthentication) {
16495
16487
  }
16496
16488
 
16497
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16489
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
16498
16490
  payload: {
16499
16491
  lease: ProgramLease,
16500
16492
  step: String4,
@@ -16506,11 +16498,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
16506
16498
  },
16507
16499
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
16508
16500
  error: Union([RunnerRpcError, RunFileRefused])
16509
- }), make6("RunFileParts", {
16501
+ }), make5("RunFileParts", {
16510
16502
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
16511
16503
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
16512
16504
  error: RunnerRpcError
16513
- }), make6("CompleteRunFile", {
16505
+ }), make5("CompleteRunFile", {
16514
16506
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
16515
16507
  success: RunFileRecord,
16516
16508
  error: RunnerRpcError
@@ -16599,7 +16591,7 @@ function toStoredSession(token, existingRefreshToken) {
16599
16591
  }
16600
16592
  function startLoopbackServer(input) {
16601
16593
  return gen(function* () {
16602
- const code = yield* make16();
16594
+ const code = yield* make15();
16603
16595
  const context2 = yield* context();
16604
16596
  const runSyncExit = runSyncExitWith(context2);
16605
16597
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17147,7 +17139,7 @@ var openConnection = (transport) => gen(function* () {
17147
17139
  let lastId = 0;
17148
17140
  let lost = false;
17149
17141
  const notifications = yield* unbounded2();
17150
- const ended = yield* make16();
17142
+ const ended = yield* make15();
17151
17143
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17152
17144
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17153
17145
  onNone: () => void_3,
@@ -17174,7 +17166,7 @@ var openConnection = (transport) => gen(function* () {
17174
17166
  if (lost)
17175
17167
  return yield* new HerdrCoreConnectionLost2({ method });
17176
17168
  const id = ++lastId;
17177
- const deferred = yield* make16();
17169
+ const deferred = yield* make15();
17178
17170
  pending.set(id, { method, deferred });
17179
17171
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17180
17172
  return yield* _await(deferred);
@@ -17248,14 +17240,14 @@ var herdrCoreOver = (transport) => ({
17248
17240
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17249
17241
  };
17250
17242
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17251
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17243
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17252
17244
  }))
17253
17245
  });
17254
17246
  var spawnedTransport = (env) => gen(function* () {
17255
17247
  const spawner = yield* ChildProcessSpawner;
17256
17248
  const input = yield* unbounded2();
17257
17249
  const encoder = new TextEncoder;
17258
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
17250
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
17259
17251
  extendEnv: false,
17260
17252
  env,
17261
17253
  stdin: fromQueue(input),
@@ -17286,7 +17278,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
17286
17278
  const spawner = yield* ChildProcessSpawner;
17287
17279
  const env = coreEnv(options);
17288
17280
  const run = (args) => gen(function* () {
17289
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17281
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
17290
17282
  const [stdout, stderr, exitCode] = yield* all3([
17291
17283
  mkString(decodeText(handle.stdout)),
17292
17284
  mkString(decodeText(handle.stderr)),
@@ -17312,7 +17304,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
17312
17304
  }
17313
17305
  var runCommand2 = (command, args, options = {}) => gen(function* () {
17314
17306
  const spawner = yield* ChildProcessSpawner;
17315
- const handle = yield* spawner.spawn(make3(command, args, {
17307
+ const handle = yield* spawner.spawn(make2(command, args, {
17316
17308
  stdin: "ignore",
17317
17309
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17318
17310
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -17338,8 +17330,8 @@ var shellOutputTailChars2 = 64 * 1024;
17338
17330
  var runProcess2 = (argv, options) => gen(function* () {
17339
17331
  const spawner = yield* ChildProcessSpawner;
17340
17332
  const [command, ...args] = argv;
17341
- const handle = yield* spawner.spawn(make3(command, args, {
17342
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17333
+ const handle = yield* spawner.spawn(make2(command, args, {
17334
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17343
17335
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17344
17336
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17345
17337
  }));
@@ -17859,4 +17851,4 @@ function serviceChecks(declaration) {
17859
17851
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
17860
17852
  }
17861
17853
 
17862
- 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 };
17854
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, RepoBindingProvider, findForbiddenRepoBindingSecretPath, releaseVersion, ReleaseScope, isBranchName, baseBranchLayerWords, repositoryKey, loopInputFields, InputSourceLayers, InputSource, inputSourceWords, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, tokensSpent, tokenCountWords, endsFailing, outlineText, anyFailure, goesOn, outlineMermaid, runOutlineText, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, loopSafeTextMaxLength, recommendedDefault, reportedModelName, RunDisplayStates, RunWaitUntils, calverNumbers, compareCalver, DeliveryMode, defaultDeployCommand, ProgramWorkUnit, MeasureSample, MeasureEvidence, TagVersions, compareCommitMax, commitMessageMax, commandTimeoutMillisDefault, commandTextLimit, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, DeployTargetName, DeployRef, DeployStatus, runsDeployedTag, Deploy, DeployTargetRunning, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, ClaimResult, mergeTurnResource, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, 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 };