@kitman-sh/cli 0.10.80 → 0.10.82

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 (26) hide show
  1. package/dist/{chunk-z0tv3ak5.js → chunk-2mxpxw3j.js} +3 -3
  2. package/dist/{chunk-0wy2gwj2.js → chunk-5my30s53.js} +8 -8
  3. package/dist/{chunk-ctfv3bg6.js → chunk-62565d52.js} +2 -2
  4. package/dist/{chunk-2afjvt1c.js → chunk-76ctrqm6.js} +1 -1
  5. package/dist/{chunk-vcvnk771.js → chunk-8p0psats.js} +4 -4
  6. package/dist/{chunk-wqv9y3dk.js → chunk-98sg1yyd.js} +60 -14
  7. package/dist/{chunk-4tjeks83.js → chunk-9zd52pda.js} +5 -5
  8. package/dist/{chunk-czxcs1ce.js → chunk-a03wf71k.js} +7 -7
  9. package/dist/{chunk-84gm9qq8.js → chunk-by4t402z.js} +25 -25
  10. package/dist/{chunk-7b6qsc4y.js → chunk-d4atn90g.js} +23 -23
  11. package/dist/{chunk-xkqbgz5j.js → chunk-e8zm8z3a.js} +8 -8
  12. package/dist/{chunk-kjms81x1.js → chunk-fq47a5yd.js} +2 -2
  13. package/dist/{chunk-61jk9k82.js → chunk-gn0v83as.js} +126 -117
  14. package/dist/{chunk-v9nqb2tp.js → chunk-jbwk6k6m.js} +40 -226
  15. package/dist/{chunk-0dwnwx45.js → chunk-jr1363cj.js} +5 -5
  16. package/dist/{chunk-fwsq4r8a.js → chunk-kgdppbdr.js} +1 -1
  17. package/dist/{chunk-hr6etnzn.js → chunk-ky974pcr.js} +4 -4
  18. package/dist/{chunk-twms8y72.js → chunk-pkn6g975.js} +4 -4
  19. package/dist/{chunk-1xn27063.js → chunk-q4cpages.js} +5 -5
  20. package/dist/{chunk-yp10rhmv.js → chunk-q767c0cv.js} +7 -7
  21. package/dist/{chunk-f3k1vjtf.js → chunk-szf97jdk.js} +21 -21
  22. package/dist/{chunk-80z95x19.js → chunk-tzz4fv17.js} +1 -1
  23. package/dist/{chunk-bxxym84e.js → chunk-xb70ys3n.js} +165 -31
  24. package/dist/{chunk-5v9pywm3.js → chunk-zzhewave.js} +111 -124
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make13,
41
+ make14,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,7 +58,7 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make14,
61
+ make15,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
@@ -91,7 +91,7 @@ import {
91
91
  fail4,
92
92
  isSuccess2,
93
93
  makeUnsafe5,
94
- make15,
94
+ make16,
95
95
  _await,
96
96
  fail5,
97
97
  isDone,
@@ -193,12 +193,7 @@ import {
193
193
  clockWith,
194
194
  logError,
195
195
  effectify,
196
- toNumber,
197
- bytes,
198
196
  decode,
199
- isRedacted,
200
- make16,
201
- value,
202
197
  defaultParseOptions,
203
198
  omit,
204
199
  map9,
@@ -254,16 +249,17 @@ import {
254
249
  decodeJsonStringOption,
255
250
  encodeJsonStringSync,
256
251
  encodePrettyJsonString
257
- } from "./chunk-v9nqb2tp.js";
252
+ } from "./chunk-jbwk6k6m.js";
258
253
  import {
259
254
  map,
260
255
  makeEquivalence,
256
+ bytes,
261
257
  BadArgument,
262
258
  systemError,
263
259
  badArgument,
264
260
  makeUnsafe2,
265
- make7,
266
261
  make8,
262
+ make9,
267
263
  sliding,
268
264
  unbounded2,
269
265
  offer,
@@ -279,13 +275,13 @@ import {
279
275
  isSink,
280
276
  fromChannel,
281
277
  drain,
282
- make9,
278
+ make10,
283
279
  get3,
284
280
  isStream,
285
281
  fromChannel2,
286
282
  callback,
287
283
  empty2,
288
- make10,
284
+ make11,
289
285
  suspend,
290
286
  fail2,
291
287
  fromQueue,
@@ -311,27 +307,16 @@ import {
311
307
  mkArrayBuffer,
312
308
  toReadableStreamEffect,
313
309
  FileSystem,
314
- make11,
310
+ make12,
315
311
  FileTypeId,
316
312
  WatchBackend,
317
313
  Path,
318
- make12,
314
+ make13,
319
315
  option,
320
316
  String2,
321
317
  optionalEnv,
322
318
  harnessesUnsupportedInSrt2
323
- } from "./chunk-bxxym84e.js";
324
- import {
325
- ExitCode,
326
- ProcessId,
327
- makeHandle,
328
- make,
329
- ChildProcessSpawner,
330
- display,
331
- make2,
332
- parseFdName,
333
- fdName
334
- } from "./chunk-wqv9y3dk.js";
319
+ } from "./chunk-xb70ys3n.js";
335
320
  import {
336
321
  isDateTime,
337
322
  Numeric,
@@ -344,7 +329,7 @@ import {
344
329
  SecretScope,
345
330
  SecretHosts,
346
331
  isSecretReference
347
- } from "./chunk-fwsq4r8a.js";
332
+ } from "./chunk-kgdppbdr.js";
348
333
  import {
349
334
  toJsonValue,
350
335
  isOneOf,
@@ -358,7 +343,22 @@ import {
358
343
  isSymbol,
359
344
  isUndefined,
360
345
  kindOf
361
- } from "./chunk-80z95x19.js";
346
+ } from "./chunk-tzz4fv17.js";
347
+ import {
348
+ isRedacted,
349
+ make,
350
+ value,
351
+ ExitCode,
352
+ ProcessId,
353
+ makeHandle,
354
+ make2,
355
+ ChildProcessSpawner,
356
+ display,
357
+ make3,
358
+ parseFdName,
359
+ fdName
360
+ } from "./chunk-98sg1yyd.js";
361
+
362
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
363
363
  var makeEquivalence3 = Tuple;
364
364
 
@@ -520,7 +520,7 @@ var makeUnsafe6 = (input) => {
520
520
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
521
521
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
522
522
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
523
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
524
524
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
525
525
  var nowUnsafe = () => makeUtc(Date.now());
526
526
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -899,9 +899,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
899
899
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
900
900
  var runMain = runMain2;
901
901
 
902
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
903
+ var BigInt2 = globalThis.BigInt;
904
+ var toNumber = (b) => {
905
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
906
+ return none();
907
+ }
908
+ return some(Number(b));
909
+ };
910
+
902
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
903
912
  var makeUnsafe = makeUnsafe6;
904
- var make18 = make3;
913
+ var make18 = make4;
905
914
  var now2 = now;
906
915
  var nowUnsafe2 = nowUnsafe;
907
916
  var toDateUtc2 = toDateUtc;
@@ -1116,7 +1125,7 @@ var readableToPullUnsafe = (options) => {
1116
1125
  const readable = options.readable;
1117
1126
  const chunkSize = options.chunkSize ?? 4096;
1118
1127
  const closeOnDone = options.closeOnDone ?? true;
1119
- const exit = options.exit ?? make7(undefined);
1128
+ const exit = options.exit ?? make8(undefined);
1120
1129
  const latch = options.latch ?? makeUnsafe2(false);
1121
1130
  function onReadable() {
1122
1131
  latch.openUnsafe();
@@ -1680,7 +1689,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1680
1689
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1681
1690
  const toOption = options.to ?? "stdin";
1682
1691
  if (toOption === "stdin") {
1683
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1692
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1684
1693
  ...command.options,
1685
1694
  stdin: {
1686
1695
  ...stdinConfig,
@@ -1700,7 +1709,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1700
1709
  type: "input",
1701
1710
  stream: sourceStream
1702
1711
  };
1703
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1712
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1704
1713
  ...command.options,
1705
1714
  additionalFds: {
1706
1715
  ...existingFds,
@@ -1708,7 +1717,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1708
1717
  }
1709
1718
  })));
1710
1719
  } else {
1711
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1720
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1712
1721
  ...command.options,
1713
1722
  stdin: {
1714
1723
  ...stdinConfig,
@@ -1747,7 +1756,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1747
1756
  }
1748
1757
  }
1749
1758
  });
1750
- return make(spawnCommand);
1759
+ return make2(spawnCommand);
1751
1760
  });
1752
1761
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1753
1762
  var flattenCommand = (command) => {
@@ -2233,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2233
2242
  resume(fail7(handleBadArgument("writeFile")(err)));
2234
2243
  }
2235
2244
  });
2236
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2237
2246
  access: access2,
2238
2247
  chmod: chmod2,
2239
2248
  chown: chown2,
@@ -2293,15 +2302,15 @@ var fileUrlOps = (windows) => ({
2293
2302
  })
2294
2303
  })
2295
2304
  });
2296
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2297
2306
  ...NodePath.posix,
2298
2307
  .../* @__PURE__ */ fileUrlOps(false)
2299
2308
  }));
2300
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2301
2310
  ...NodePath.win32,
2302
2311
  .../* @__PURE__ */ fileUrlOps(true)
2303
2312
  }));
2304
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2305
2314
  ...NodePath,
2306
2315
  .../* @__PURE__ */ fileUrlOps(undefined)
2307
2316
  }));
@@ -2823,12 +2832,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2823
2832
  if (typeof key === "string") {
2824
2833
  const k = key.toLowerCase();
2825
2834
  if (k in self) {
2826
- out[k] = make16(self[k]);
2835
+ out[k] = make(self[k]);
2827
2836
  }
2828
2837
  } else {
2829
2838
  for (const name in self) {
2830
2839
  if (name.search(key) !== -1) {
2831
- out[name] = make16(self[name]);
2840
+ out[name] = make(self[name]);
2832
2841
  }
2833
2842
  }
2834
2843
  }
@@ -2935,7 +2944,7 @@ var fromInputNested = (input) => {
2935
2944
  return out;
2936
2945
  };
2937
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
2938
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2939
2948
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2940
2949
  var empty4 = /* @__PURE__ */ make23([]);
2941
2950
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2954,7 +2963,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2954
2963
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2955
2964
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2956
2965
  const patterns = Array.isArray(key) ? key : [key];
2957
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2966
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2958
2967
  });
2959
2968
  var isRedactedName2 = isRedactedName;
2960
2969
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3030,7 +3039,7 @@ import * as readline from "readline";
3030
3039
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3031
3040
  const stdin = process.stdin;
3032
3041
  const stdout = process.stdout;
3033
- const lines = yield* make8();
3042
+ const lines = yield* make9();
3034
3043
  let inputEnded = stdin.readableEnded;
3035
3044
  let readlineActive = false;
3036
3045
  const onStdinEnd = () => {
@@ -3041,7 +3050,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3041
3050
  };
3042
3051
  stdin.once("end", onStdinEnd);
3043
3052
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3044
- const rlRef = yield* make9({
3053
+ const rlRef = yield* make10({
3045
3054
  acquire: acquireRelease(sync2(() => {
3046
3055
  const rl = readline.createInterface({
3047
3056
  input: stdin,
@@ -3080,7 +3089,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3080
3089
  if (stdin.isTTY)
3081
3090
  stdin.setRawMode(enabled);
3082
3091
  });
3083
- const rawModeRef = yield* make9({
3092
+ const rawModeRef = yield* make10({
3084
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3085
3094
  idleTimeToLive: "10 millis"
3086
3095
  });
@@ -3101,7 +3110,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3101
3110
  return queue;
3102
3111
  });
3103
3112
  const readInput = gen(function* () {
3104
- const queue = yield* make8();
3113
+ const queue = yield* make9();
3105
3114
  const handleKeypress = (s, k) => {
3106
3115
  const userInput = {
3107
3116
  input: fromUndefinedOr(s),
@@ -9682,14 +9691,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9682
9691
  return self;
9683
9692
  }
9684
9693
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9685
- var make4 = (method) => (url, options) => modify(empty6, {
9694
+ var make5 = (method) => (url, options) => modify(empty6, {
9686
9695
  method,
9687
9696
  url,
9688
9697
  ...options ?? undefined
9689
9698
  });
9690
- var get = /* @__PURE__ */ make4("GET");
9691
- var post = /* @__PURE__ */ make4("POST");
9692
- var put = /* @__PURE__ */ make4("PUT");
9699
+ var get = /* @__PURE__ */ make5("GET");
9700
+ var post = /* @__PURE__ */ make5("POST");
9701
+ var put = /* @__PURE__ */ make5("PUT");
9693
9702
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9694
9703
  let result = self;
9695
9704
  if (options.method) {
@@ -9990,7 +9999,7 @@ var Proto7 = {
9990
9999
  };
9991
10000
  },
9992
10001
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
9993
- return this.execute(make4(fullMethod)(url, options));
10002
+ return this.execute(make5(fullMethod)(url, options));
9994
10003
  }]))
9995
10004
  };
9996
10005
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13597,7 +13606,7 @@ var makeProto = (options) => {
13597
13606
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13598
13607
  return Rpc;
13599
13608
  };
13600
- var make5 = (tag, options) => {
13609
+ var make6 = (tag, options) => {
13601
13610
  const successSchema = options?.success ?? Void;
13602
13611
  const errorSchema = options?.error ?? Never;
13603
13612
  const defectSchema = options?.defect ?? Defect();
@@ -13808,7 +13817,7 @@ var RpcGroupProto = {
13808
13817
  });
13809
13818
  },
13810
13819
  annotateRpcs(service, value) {
13811
- return this.annotateRpcsMerge(make14(service, value));
13820
+ return this.annotateRpcsMerge(make15(service, value));
13812
13821
  },
13813
13822
  annotateMerge(context) {
13814
13823
  return makeProto2({
@@ -13831,7 +13840,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13831
13840
  requests: options.requests,
13832
13841
  annotations: options.annotations
13833
13842
  });
13834
- var make6 = (...rpcs) => makeProto2({
13843
+ var make7 = (...rpcs) => makeProto2({
13835
13844
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13836
13845
  annotations: empty3()
13837
13846
  });
@@ -13938,96 +13947,96 @@ var ProgramOutcome = Union([
13938
13947
  Struct({ status: Literal("failed"), failureSummary: String4 })
13939
13948
  ]);
13940
13949
 
13941
- class RunnerReplicaRpcs extends make6(make5("Claim", {
13950
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
13942
13951
  payload: WorkUnitClaimInput,
13943
13952
  success: WorkUnitClaimResult,
13944
13953
  error: RunnerRpcError
13945
- }), make5("Heartbeat", {
13954
+ }), make6("Heartbeat", {
13946
13955
  payload: WorkUnitHeartbeatInput,
13947
13956
  success: WorkUnitHeartbeatResult,
13948
13957
  error: RunnerRpcError
13949
- }), make5("Complete", {
13958
+ }), make6("Complete", {
13950
13959
  payload: WorkUnitCompletion,
13951
13960
  error: RunnerRpcError
13952
- }), make5("Release", {
13961
+ }), make6("Release", {
13953
13962
  payload: WorkUnitReleaseInput,
13954
13963
  error: RunnerRpcError
13955
- }), make5("Signals", {
13964
+ }), make6("Signals", {
13956
13965
  payload: { runnerReplicaId: String4 },
13957
13966
  success: RunnerSignal,
13958
13967
  error: RunnerRpcError,
13959
13968
  stream: true
13960
- }), make5("ReportSteer", {
13969
+ }), make6("ReportSteer", {
13961
13970
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13962
13971
  success: Void,
13963
13972
  error: RunnerRpcError
13964
- }), make5("AppendTranscript", {
13973
+ }), make6("AppendTranscript", {
13965
13974
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13966
13975
  success: Void,
13967
13976
  error: RunnerRpcError
13968
- }), make5("CreateCheckpointFile", {
13977
+ }), make6("CreateCheckpointFile", {
13969
13978
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13970
13979
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13971
13980
  error: Union([RunnerRpcError, RunFileRefused])
13972
- }), make5("CheckpointFileParts", {
13981
+ }), make6("CheckpointFileParts", {
13973
13982
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13974
13983
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13975
13984
  error: RunnerRpcError
13976
- }), make5("CompleteCheckpointFile", {
13985
+ }), make6("CompleteCheckpointFile", {
13977
13986
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
13978
13987
  success: RunFileRecord,
13979
13988
  error: RunnerRpcError
13980
- }), make5("SaveCheckpoint", {
13989
+ }), make6("SaveCheckpoint", {
13981
13990
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
13982
13991
  success: Void,
13983
13992
  error: RunnerRpcError
13984
- }), make5("ResumeCheckpoint", {
13993
+ }), make6("ResumeCheckpoint", {
13985
13994
  payload: { lease: ProgramLease },
13986
13995
  success: UndefinedOr(ResumedCheckpoint),
13987
13996
  error: RunnerRpcError
13988
- }), make5("SettledCheckpoints", {
13997
+ }), make6("SettledCheckpoints", {
13989
13998
  success: ArraySchema(Struct({
13990
13999
  stepAttemptId: String4,
13991
14000
  ref: optionalKey(String4),
13992
14001
  repoBinding: optionalKey(WorkUnitRepoBinding)
13993
14002
  })),
13994
14003
  error: RunnerRpcError
13995
- }), make5("ForgetCheckpoints", {
14004
+ }), make6("ForgetCheckpoints", {
13996
14005
  payload: { stepAttemptIds: ArraySchema(String4) },
13997
14006
  success: Void,
13998
14007
  error: RunnerRpcError
13999
- }), make5("GitCredential", {
14008
+ }), make6("GitCredential", {
14000
14009
  payload: { repoBindingId: String4 },
14001
14010
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14002
14011
  error: RunnerRpcError
14003
- }), make5("Bundle", {
14012
+ }), make6("Bundle", {
14004
14013
  payload: { digest: String4 },
14005
14014
  success: Struct({ bundle: String4 }),
14006
14015
  error: RunnerRpcError
14007
- }), make5("SettledRuns", {
14016
+ }), make6("SettledRuns", {
14008
14017
  payload: { runIds: ArraySchema(String4) },
14009
14018
  success: ArraySchema(String4),
14010
14019
  error: RunnerRpcError
14011
- }), make5("KnownEvidence", {
14020
+ }), make6("KnownEvidence", {
14012
14021
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14013
14022
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14014
14023
  error: RunnerRpcError
14015
14024
  })).middleware(RunnerAuthentication) {
14016
14025
  }
14017
14026
 
14018
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14027
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14019
14028
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14020
14029
  error: RunnerRpcError
14021
- }), make5("DeferredDone", {
14030
+ }), make6("DeferredDone", {
14022
14031
  payload: { lease: ProgramLease, name: String4, exit: Json },
14023
14032
  error: RunnerRpcError
14024
- }), make5("ScheduleClock", {
14033
+ }), make6("ScheduleClock", {
14025
14034
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14026
14035
  error: RunnerRpcError
14027
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14036
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14028
14037
  }
14029
14038
 
14030
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14039
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14031
14040
  payload: {
14032
14041
  lease: ProgramLease,
14033
14042
  step: String4,
@@ -14046,7 +14055,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14046
14055
  },
14047
14056
  success: Struct({ questionId: String4 }),
14048
14057
  error: RunnerRpcError
14049
- }), make5("StartAgentStep", {
14058
+ }), make6("StartAgentStep", {
14050
14059
  payload: {
14051
14060
  lease: ProgramLease,
14052
14061
  step: String4,
@@ -14062,7 +14071,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14062
14071
  },
14063
14072
  success: Struct({ stepAttemptId: String4 }),
14064
14073
  error: RunnerRpcError
14065
- }), make5("StartVerification", {
14074
+ }), make6("StartVerification", {
14066
14075
  payload: {
14067
14076
  lease: ProgramLease,
14068
14077
  step: String4,
@@ -14080,7 +14089,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14080
14089
  },
14081
14090
  success: Struct({ verificationId: String4 }),
14082
14091
  error: RunnerRpcError
14083
- }), make5("AwaitEvent", {
14092
+ }), make6("AwaitEvent", {
14084
14093
  payload: {
14085
14094
  lease: ProgramLease,
14086
14095
  step: String4,
@@ -14096,7 +14105,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14096
14105
  })))
14097
14106
  },
14098
14107
  error: RunnerRpcError
14099
- }), make5("ClaimResource", {
14108
+ }), make6("ClaimResource", {
14100
14109
  payload: {
14101
14110
  lease: ProgramLease,
14102
14111
  step: String4,
@@ -14105,7 +14114,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14105
14114
  action: Literals(["claim", "take_over", "let_go"])
14106
14115
  },
14107
14116
  error: RunnerRpcError
14108
- }), make5("AdmitChild", {
14117
+ }), make6("AdmitChild", {
14109
14118
  payload: {
14110
14119
  lease: ProgramLease,
14111
14120
  step: String4,
@@ -14116,7 +14125,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14116
14125
  },
14117
14126
  success: Struct({ runId: String4 }),
14118
14127
  error: RunnerRpcError
14119
- }), make5("StoreArtifact", {
14128
+ }), make6("StoreArtifact", {
14120
14129
  payload: {
14121
14130
  lease: ProgramLease,
14122
14131
  step: String4,
@@ -14128,7 +14137,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14128
14137
  },
14129
14138
  success: Struct({ artifactId: String4 }),
14130
14139
  error: RunnerRpcError
14131
- }), make5("RecordNote", {
14140
+ }), make6("RecordNote", {
14132
14141
  payload: {
14133
14142
  lease: ProgramLease,
14134
14143
  step: String4,
@@ -14137,7 +14146,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14137
14146
  kind: optional(Literals(["note", "blocker"]))
14138
14147
  },
14139
14148
  error: RunnerRpcError
14140
- }), make5("PerformHostEffect", {
14149
+ }), make6("PerformHostEffect", {
14141
14150
  payload: {
14142
14151
  lease: ProgramLease,
14143
14152
  step: String4,
@@ -14165,7 +14174,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14165
14174
  },
14166
14175
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14167
14176
  error: RunnerRpcError
14168
- }), make5("AlertTask", {
14177
+ }), make6("AlertTask", {
14169
14178
  payload: {
14170
14179
  lease: ProgramLease,
14171
14180
  step: String4,
@@ -14182,7 +14191,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14182
14191
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14183
14192
  }),
14184
14193
  error: RunnerRpcError
14185
- }), make5("ReadTranscripts", {
14194
+ }), make6("ReadTranscripts", {
14186
14195
  payload: { lease: ProgramLease, step: String4, days: Int },
14187
14196
  success: Struct({
14188
14197
  runs: ArraySchema(Struct({
@@ -14201,7 +14210,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14201
14210
  }))
14202
14211
  }),
14203
14212
  error: RunnerRpcError
14204
- }), make5("PipelineStatus", {
14213
+ }), make6("PipelineStatus", {
14205
14214
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14206
14215
  success: Struct({
14207
14216
  head: String4,
@@ -14231,11 +14240,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14231
14240
  }))
14232
14241
  }),
14233
14242
  error: RunnerRpcError
14234
- }), make5("ReportPipeline", {
14243
+ }), make6("ReportPipeline", {
14235
14244
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14236
14245
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14237
14246
  error: RunnerRpcError
14238
- }), make5("ReviewThreads", {
14247
+ }), make6("ReviewThreads", {
14239
14248
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14240
14249
  success: Struct({
14241
14250
  threads: ArraySchema(Struct({
@@ -14247,7 +14256,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14247
14256
  }))
14248
14257
  }),
14249
14258
  error: RunnerRpcError
14250
- }), make5("OpenChangeRequests", {
14259
+ }), make6("OpenChangeRequests", {
14251
14260
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14252
14261
  success: Struct({
14253
14262
  changeRequests: ArraySchema(Struct({
@@ -14261,7 +14270,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14261
14270
  }))
14262
14271
  }),
14263
14272
  error: RunnerRpcError
14264
- }), make5("OwnChangeRequests", {
14273
+ }), make6("OwnChangeRequests", {
14265
14274
  payload: { lease: ProgramLease, step: String4 },
14266
14275
  success: Struct({
14267
14276
  changeRequests: ArraySchema(Struct({
@@ -14274,7 +14283,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14274
14283
  }))
14275
14284
  }),
14276
14285
  error: RunnerRpcError
14277
- }), make5("Propose", {
14286
+ }), make6("Propose", {
14278
14287
  payload: {
14279
14288
  lease: ProgramLease,
14280
14289
  step: String4,
@@ -14301,7 +14310,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14301
14310
  matched: optionalKey(Boolean2)
14302
14311
  }),
14303
14312
  error: RunnerRpcError
14304
- }), make5("ReadProject", {
14313
+ }), make6("ReadProject", {
14305
14314
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14306
14315
  success: Struct({
14307
14316
  project: Struct({ id: String4, name: String4 }),
@@ -14324,7 +14333,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14324
14333
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14325
14334
  }),
14326
14335
  error: RunnerRpcError
14327
- }), make5("DraftUpdate", {
14336
+ }), make6("DraftUpdate", {
14328
14337
  payload: {
14329
14338
  lease: ProgramLease,
14330
14339
  step: String4,
@@ -14339,7 +14348,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14339
14348
  },
14340
14349
  success: Struct({ id: String4 }),
14341
14350
  error: RunnerRpcError
14342
- }), make5("CreatePlanTasks", {
14351
+ }), make6("CreatePlanTasks", {
14343
14352
  payload: {
14344
14353
  lease: ProgramLease,
14345
14354
  projectId: optionalKey(String4),
@@ -14354,11 +14363,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14354
14363
  },
14355
14364
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14356
14365
  error: RunnerRpcError
14357
- }), make5("IntegrationBranch", {
14366
+ }), make6("IntegrationBranch", {
14358
14367
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14359
14368
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14360
14369
  error: RunnerRpcError
14361
- }), make5("MergeChangeRequest", {
14370
+ }), make6("MergeChangeRequest", {
14362
14371
  payload: {
14363
14372
  lease: ProgramLease,
14364
14373
  step: String4,
@@ -14371,7 +14380,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14371
14380
  Struct({ status: Literal("moved"), head: String4 })
14372
14381
  ]),
14373
14382
  error: RunnerRpcError
14374
- }), make5("ApproveChangeRequest", {
14383
+ }), make6("ApproveChangeRequest", {
14375
14384
  payload: {
14376
14385
  lease: ProgramLease,
14377
14386
  step: String4,
@@ -14386,7 +14395,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14386
14395
  Struct({ approved: Literal(false), reason: String4 })
14387
14396
  ]),
14388
14397
  error: RunnerRpcError
14389
- }), make5("CloseChangeRequest", {
14398
+ }), make6("CloseChangeRequest", {
14390
14399
  payload: {
14391
14400
  lease: ProgramLease,
14392
14401
  step: String4,
@@ -14396,7 +14405,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14396
14405
  },
14397
14406
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14398
14407
  error: RunnerRpcError
14399
- }), make5("RerunPipeline", {
14408
+ }), make6("RerunPipeline", {
14400
14409
  payload: {
14401
14410
  lease: ProgramLease,
14402
14411
  step: String4,
@@ -14406,7 +14415,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14406
14415
  },
14407
14416
  success: Struct({ head: String4, pipelines: Int }),
14408
14417
  error: RunnerRpcError
14409
- }), make5("PublishRelease", {
14418
+ }), make6("PublishRelease", {
14410
14419
  payload: {
14411
14420
  lease: ProgramLease,
14412
14421
  step: String4,
@@ -14417,14 +14426,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14417
14426
  },
14418
14427
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14419
14428
  error: RunnerRpcError
14420
- }), make5("ProgramSecrets", {
14429
+ }), make6("ProgramSecrets", {
14421
14430
  payload: { lease: ProgramLease },
14422
14431
  success: Record(String4, String4),
14423
14432
  error: RunnerRpcError
14424
14433
  })).middleware(RunnerAuthentication) {
14425
14434
  }
14426
14435
 
14427
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14436
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14428
14437
  payload: {
14429
14438
  lease: ProgramLease,
14430
14439
  step: String4,
@@ -14436,11 +14445,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14436
14445
  },
14437
14446
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14438
14447
  error: Union([RunnerRpcError, RunFileRefused])
14439
- }), make5("RunFileParts", {
14448
+ }), make6("RunFileParts", {
14440
14449
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14441
14450
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14442
14451
  error: RunnerRpcError
14443
- }), make5("CompleteRunFile", {
14452
+ }), make6("CompleteRunFile", {
14444
14453
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14445
14454
  success: RunFileRecord,
14446
14455
  error: RunnerRpcError
@@ -14529,7 +14538,7 @@ function toStoredSession(token, existingRefreshToken) {
14529
14538
  }
14530
14539
  function startLoopbackServer(input) {
14531
14540
  return gen(function* () {
14532
- const code = yield* make15();
14541
+ const code = yield* make16();
14533
14542
  const context2 = yield* context();
14534
14543
  const runSyncExit = runSyncExitWith(context2);
14535
14544
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15069,7 +15078,7 @@ var openConnection = (transport) => gen(function* () {
15069
15078
  let lastId = 0;
15070
15079
  let lost = false;
15071
15080
  const notifications = yield* unbounded2();
15072
- const ended = yield* make15();
15081
+ const ended = yield* make16();
15073
15082
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15074
15083
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15075
15084
  onNone: () => void_3,
@@ -15096,7 +15105,7 @@ var openConnection = (transport) => gen(function* () {
15096
15105
  if (lost)
15097
15106
  return yield* new HerdrCoreConnectionLost2({ method });
15098
15107
  const id = ++lastId;
15099
- const deferred = yield* make15();
15108
+ const deferred = yield* make16();
15100
15109
  pending.set(id, { method, deferred });
15101
15110
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15102
15111
  return yield* _await(deferred);
@@ -15170,14 +15179,14 @@ var herdrCoreOver = (transport) => ({
15170
15179
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15171
15180
  };
15172
15181
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15173
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15182
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15174
15183
  }))
15175
15184
  });
15176
15185
  var spawnedTransport = (env) => gen(function* () {
15177
15186
  const spawner = yield* ChildProcessSpawner;
15178
15187
  const input = yield* unbounded2();
15179
15188
  const encoder = new TextEncoder;
15180
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15189
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15181
15190
  extendEnv: false,
15182
15191
  env,
15183
15192
  stdin: fromQueue(input),
@@ -15208,7 +15217,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15208
15217
  const spawner = yield* ChildProcessSpawner;
15209
15218
  const env = coreEnv(options);
15210
15219
  const run = (args) => gen(function* () {
15211
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15220
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15212
15221
  const [stdout, stderr, exitCode] = yield* all3([
15213
15222
  mkString(decodeText(handle.stdout)),
15214
15223
  mkString(decodeText(handle.stderr)),
@@ -15234,7 +15243,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15234
15243
  }
15235
15244
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15236
15245
  const spawner = yield* ChildProcessSpawner;
15237
- const handle = yield* spawner.spawn(make2(command, args, {
15246
+ const handle = yield* spawner.spawn(make3(command, args, {
15238
15247
  stdin: "ignore",
15239
15248
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15240
15249
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15260,8 +15269,8 @@ var shellOutputTailChars2 = 64 * 1024;
15260
15269
  var runProcess2 = (argv, options) => gen(function* () {
15261
15270
  const spawner = yield* ChildProcessSpawner;
15262
15271
  const [command, ...args] = argv;
15263
- const handle = yield* spawner.spawn(make2(command, args, {
15264
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15272
+ const handle = yield* spawner.spawn(make3(command, args, {
15273
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15265
15274
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15266
15275
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15267
15276
  }));
@@ -15683,4 +15692,4 @@ function checkServices(declaration) {
15683
15692
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15684
15693
  }
15685
15694
 
15686
- 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, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, 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, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, 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, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
15695
+ 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, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, 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, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, 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, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };