@kitman-sh/cli 0.12.0-rc.8 → 0.12.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 (27) hide show
  1. package/dist/{chunk-y7vjk8vv.js → chunk-0h49y8gf.js} +165 -31
  2. package/dist/{chunk-vrms6e1m.js → chunk-0wdm7br1.js} +4 -4
  3. package/dist/{chunk-scb6qgy2.js → chunk-4k5jfyqd.js} +23 -23
  4. package/dist/{chunk-d8qcmqh5.js → chunk-4x06mdcd.js} +4 -4
  5. package/dist/{chunk-8sz25ptv.js → chunk-5zhh41gb.js} +4 -4
  6. package/dist/{chunk-e711ebdj.js → chunk-5zth85pj.js} +2 -2
  7. package/dist/{chunk-3kxwb7qn.js → chunk-cb78rzqd.js} +7 -7
  8. package/dist/{chunk-vkchn89k.js → chunk-cbpb2rww.js} +7 -7
  9. package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
  10. package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
  11. package/dist/{chunk-dh09wyed.js → chunk-h3em3y8r.js} +23 -23
  12. package/dist/{chunk-6pqxsnk1.js → chunk-mjdt8wbv.js} +13 -13
  13. package/dist/{chunk-892qrkb3.js → chunk-mtkstrh3.js} +60 -14
  14. package/dist/{chunk-jg8n8z0z.js → chunk-pf13sv65.js} +4 -4
  15. package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
  16. package/dist/{chunk-3cgshf16.js → chunk-qj6gjtdd.js} +24 -24
  17. package/dist/{chunk-ey4mf341.js → chunk-s6z4aqag.js} +6 -6
  18. package/dist/{chunk-9c9vrbh4.js → chunk-shv2xs9y.js} +126 -117
  19. package/dist/{chunk-mmpcdj8f.js → chunk-vw462m91.js} +7 -7
  20. package/dist/{chunk-9q7qc1dg.js → chunk-wh2ep6fc.js} +1 -1
  21. package/dist/{chunk-jwc8bdga.js → chunk-wyhg9cyk.js} +5 -5
  22. package/dist/{chunk-det0tmx7.js → chunk-xaspqegt.js} +1 -1
  23. package/dist/{chunk-7959aeck.js → chunk-xsdceanv.js} +3 -3
  24. package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
  25. package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
  26. package/dist/index.js +4 -4
  27. 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,
@@ -266,16 +261,17 @@ import {
266
261
  decodeJsonStringOption,
267
262
  encodeJsonStringSync,
268
263
  encodePrettyJsonString
269
- } from "./chunk-x3cc7dfc.js";
264
+ } from "./chunk-zw3gf6r5.js";
270
265
  import {
271
266
  map,
272
267
  makeEquivalence,
268
+ bytes,
273
269
  BadArgument,
274
270
  systemError,
275
271
  badArgument,
276
272
  makeUnsafe2,
277
- make7,
278
273
  make8,
274
+ make9,
279
275
  sliding,
280
276
  unbounded2,
281
277
  offer,
@@ -291,13 +287,13 @@ import {
291
287
  isSink,
292
288
  fromChannel,
293
289
  drain,
294
- make9,
290
+ make10,
295
291
  get3,
296
292
  isStream,
297
293
  fromChannel2,
298
294
  callback,
299
295
  empty2,
300
- make10,
296
+ make11,
301
297
  suspend,
302
298
  fail2,
303
299
  fromQueue,
@@ -323,27 +319,16 @@ import {
323
319
  mkArrayBuffer,
324
320
  toReadableStreamEffect,
325
321
  FileSystem,
326
- make11,
322
+ make12,
327
323
  FileTypeId,
328
324
  WatchBackend,
329
325
  Path,
330
- make12,
326
+ make13,
331
327
  option,
332
328
  String2,
333
329
  optionalEnv,
334
330
  harnessesUnsupportedInSrt2
335
- } from "./chunk-y7vjk8vv.js";
336
- import {
337
- ExitCode,
338
- ProcessId,
339
- makeHandle,
340
- make,
341
- ChildProcessSpawner,
342
- display,
343
- make2,
344
- parseFdName,
345
- fdName
346
- } from "./chunk-892qrkb3.js";
331
+ } from "./chunk-0h49y8gf.js";
347
332
  import {
348
333
  isDateTime,
349
334
  Numeric,
@@ -356,7 +341,22 @@ import {
356
341
  SecretScope,
357
342
  SecretHosts,
358
343
  isSecretReference
359
- } from "./chunk-s8m2tzdr.js";
344
+ } from "./chunk-q5w3v4k1.js";
345
+ import {
346
+ isRedacted,
347
+ make,
348
+ value,
349
+ ExitCode,
350
+ ProcessId,
351
+ makeHandle,
352
+ make2,
353
+ ChildProcessSpawner,
354
+ display,
355
+ make3,
356
+ parseFdName,
357
+ fdName
358
+ } from "./chunk-mtkstrh3.js";
359
+
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
362
362
 
@@ -518,7 +518,7 @@ var makeUnsafe6 = (input) => {
518
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
519
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
520
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
521
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
522
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
523
523
  var nowUnsafe = () => makeUtc(Date.now());
524
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -897,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
897
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
898
898
  var runMain = runMain2;
899
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
900
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
901
910
  var makeUnsafe = makeUnsafe6;
902
- var make18 = make3;
911
+ var make18 = make4;
903
912
  var now2 = now;
904
913
  var nowUnsafe2 = nowUnsafe;
905
914
  var toDateUtc2 = toDateUtc;
@@ -1114,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1114
1123
  const readable = options.readable;
1115
1124
  const chunkSize = options.chunkSize ?? 4096;
1116
1125
  const closeOnDone = options.closeOnDone ?? true;
1117
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1118
1127
  const latch = options.latch ?? makeUnsafe2(false);
1119
1128
  function onReadable() {
1120
1129
  latch.openUnsafe();
@@ -1678,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1678
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1679
1688
  const toOption = options.to ?? "stdin";
1680
1689
  if (toOption === "stdin") {
1681
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1682
1691
  ...command.options,
1683
1692
  stdin: {
1684
1693
  ...stdinConfig,
@@ -1698,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1698
1707
  type: "input",
1699
1708
  stream: sourceStream
1700
1709
  };
1701
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1702
1711
  ...command.options,
1703
1712
  additionalFds: {
1704
1713
  ...existingFds,
@@ -1706,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1706
1715
  }
1707
1716
  })));
1708
1717
  } else {
1709
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1710
1719
  ...command.options,
1711
1720
  stdin: {
1712
1721
  ...stdinConfig,
@@ -1745,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1745
1754
  }
1746
1755
  }
1747
1756
  });
1748
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1749
1758
  });
1750
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1751
1760
  var flattenCommand = (command) => {
@@ -2231,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2231
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2232
2241
  }
2233
2242
  });
2234
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2235
2244
  access: access2,
2236
2245
  chmod: chmod2,
2237
2246
  chown: chown2,
@@ -2291,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2291
2300
  })
2292
2301
  })
2293
2302
  });
2294
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2295
2304
  ...NodePath.posix,
2296
2305
  .../* @__PURE__ */ fileUrlOps(false)
2297
2306
  }));
2298
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2299
2308
  ...NodePath.win32,
2300
2309
  .../* @__PURE__ */ fileUrlOps(true)
2301
2310
  }));
2302
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2303
2312
  ...NodePath,
2304
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2305
2314
  }));
@@ -2821,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2821
2830
  if (typeof key === "string") {
2822
2831
  const k = key.toLowerCase();
2823
2832
  if (k in self) {
2824
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2825
2834
  }
2826
2835
  } else {
2827
2836
  for (const name in self) {
2828
2837
  if (name.search(key) !== -1) {
2829
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2830
2839
  }
2831
2840
  }
2832
2841
  }
@@ -2933,7 +2942,7 @@ var fromInputNested = (input) => {
2933
2942
  return out;
2934
2943
  };
2935
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2936
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2937
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2938
2947
  var empty4 = /* @__PURE__ */ make23([]);
2939
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2952,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2952
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2953
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2954
2963
  const patterns = Array.isArray(key) ? key : [key];
2955
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2964
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2956
2965
  });
2957
2966
  var isRedactedName2 = isRedactedName;
2958
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3028,7 +3037,7 @@ import * as readline from "readline";
3028
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3029
3038
  const stdin = process.stdin;
3030
3039
  const stdout = process.stdout;
3031
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3032
3041
  let inputEnded = stdin.readableEnded;
3033
3042
  let readlineActive = false;
3034
3043
  const onStdinEnd = () => {
@@ -3039,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3039
3048
  };
3040
3049
  stdin.once("end", onStdinEnd);
3041
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3042
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3043
3052
  acquire: acquireRelease(sync2(() => {
3044
3053
  const rl = readline.createInterface({
3045
3054
  input: stdin,
@@ -3078,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3078
3087
  if (stdin.isTTY)
3079
3088
  stdin.setRawMode(enabled);
3080
3089
  });
3081
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3082
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3083
3092
  idleTimeToLive: "10 millis"
3084
3093
  });
@@ -3099,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3099
3108
  return queue;
3100
3109
  });
3101
3110
  const readInput = gen(function* () {
3102
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3103
3112
  const handleKeypress = (s, k) => {
3104
3113
  const userInput = {
3105
3114
  input: fromUndefinedOr(s),
@@ -9911,14 +9920,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9911
9920
  return self;
9912
9921
  }
9913
9922
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9914
- var make4 = (method) => (url, options) => modify(empty6, {
9923
+ var make5 = (method) => (url, options) => modify(empty6, {
9915
9924
  method,
9916
9925
  url,
9917
9926
  ...options ?? undefined
9918
9927
  });
9919
- var get = /* @__PURE__ */ make4("GET");
9920
- var post = /* @__PURE__ */ make4("POST");
9921
- var put = /* @__PURE__ */ make4("PUT");
9928
+ var get = /* @__PURE__ */ make5("GET");
9929
+ var post = /* @__PURE__ */ make5("POST");
9930
+ var put = /* @__PURE__ */ make5("PUT");
9922
9931
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9923
9932
  let result = self;
9924
9933
  if (options.method) {
@@ -10219,7 +10228,7 @@ var Proto7 = {
10219
10228
  };
10220
10229
  },
10221
10230
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10222
- return this.execute(make4(fullMethod)(url, options));
10231
+ return this.execute(make5(fullMethod)(url, options));
10223
10232
  }]))
10224
10233
  };
10225
10234
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13907,7 +13916,7 @@ var makeProto = (options) => {
13907
13916
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13908
13917
  return Rpc;
13909
13918
  };
13910
- var make5 = (tag, options) => {
13919
+ var make6 = (tag, options) => {
13911
13920
  const successSchema = options?.success ?? Void;
13912
13921
  const errorSchema = options?.error ?? Never;
13913
13922
  const defectSchema = options?.defect ?? Defect();
@@ -14118,7 +14127,7 @@ var RpcGroupProto = {
14118
14127
  });
14119
14128
  },
14120
14129
  annotateRpcs(service, value) {
14121
- return this.annotateRpcsMerge(make14(service, value));
14130
+ return this.annotateRpcsMerge(make15(service, value));
14122
14131
  },
14123
14132
  annotateMerge(context) {
14124
14133
  return makeProto2({
@@ -14141,7 +14150,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14141
14150
  requests: options.requests,
14142
14151
  annotations: options.annotations
14143
14152
  });
14144
- var make6 = (...rpcs) => makeProto2({
14153
+ var make7 = (...rpcs) => makeProto2({
14145
14154
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14146
14155
  annotations: empty3()
14147
14156
  });
@@ -14247,96 +14256,96 @@ var ProgramOutcome = Union([
14247
14256
  Struct({ status: Literal("failed"), failureSummary: String4 })
14248
14257
  ]);
14249
14258
 
14250
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14259
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14251
14260
  payload: WorkUnitClaimInput,
14252
14261
  success: WorkUnitClaimResult,
14253
14262
  error: RunnerRpcError
14254
- }), make5("Heartbeat", {
14263
+ }), make6("Heartbeat", {
14255
14264
  payload: WorkUnitHeartbeatInput,
14256
14265
  success: WorkUnitHeartbeatResult,
14257
14266
  error: RunnerRpcError
14258
- }), make5("Complete", {
14267
+ }), make6("Complete", {
14259
14268
  payload: WorkUnitCompletion,
14260
14269
  error: RunnerRpcError
14261
- }), make5("Release", {
14270
+ }), make6("Release", {
14262
14271
  payload: WorkUnitReleaseInput,
14263
14272
  error: RunnerRpcError
14264
- }), make5("Signals", {
14273
+ }), make6("Signals", {
14265
14274
  payload: { runnerReplicaId: String4 },
14266
14275
  success: RunnerSignal,
14267
14276
  error: RunnerRpcError,
14268
14277
  stream: true
14269
- }), make5("ReportSteer", {
14278
+ }), make6("ReportSteer", {
14270
14279
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14271
14280
  success: Void,
14272
14281
  error: RunnerRpcError
14273
- }), make5("AppendTranscript", {
14282
+ }), make6("AppendTranscript", {
14274
14283
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14275
14284
  success: Void,
14276
14285
  error: RunnerRpcError
14277
- }), make5("CreateCheckpointFile", {
14286
+ }), make6("CreateCheckpointFile", {
14278
14287
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14279
14288
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14280
14289
  error: Union([RunnerRpcError, RunFileRefused])
14281
- }), make5("CheckpointFileParts", {
14290
+ }), make6("CheckpointFileParts", {
14282
14291
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14283
14292
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14284
14293
  error: RunnerRpcError
14285
- }), make5("CompleteCheckpointFile", {
14294
+ }), make6("CompleteCheckpointFile", {
14286
14295
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14287
14296
  success: RunFileRecord,
14288
14297
  error: RunnerRpcError
14289
- }), make5("SaveCheckpoint", {
14298
+ }), make6("SaveCheckpoint", {
14290
14299
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14291
14300
  success: Void,
14292
14301
  error: RunnerRpcError
14293
- }), make5("ResumeCheckpoint", {
14302
+ }), make6("ResumeCheckpoint", {
14294
14303
  payload: { lease: ProgramLease },
14295
14304
  success: UndefinedOr(ResumedCheckpoint),
14296
14305
  error: RunnerRpcError
14297
- }), make5("SettledCheckpoints", {
14306
+ }), make6("SettledCheckpoints", {
14298
14307
  success: ArraySchema(Struct({
14299
14308
  stepAttemptId: String4,
14300
14309
  ref: optionalKey(String4),
14301
14310
  repoBinding: optionalKey(WorkUnitRepoBinding)
14302
14311
  })),
14303
14312
  error: RunnerRpcError
14304
- }), make5("ForgetCheckpoints", {
14313
+ }), make6("ForgetCheckpoints", {
14305
14314
  payload: { stepAttemptIds: ArraySchema(String4) },
14306
14315
  success: Void,
14307
14316
  error: RunnerRpcError
14308
- }), make5("GitCredential", {
14317
+ }), make6("GitCredential", {
14309
14318
  payload: { repoBindingId: String4 },
14310
14319
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14311
14320
  error: RunnerRpcError
14312
- }), make5("Bundle", {
14321
+ }), make6("Bundle", {
14313
14322
  payload: { digest: String4 },
14314
14323
  success: Struct({ bundle: String4 }),
14315
14324
  error: RunnerRpcError
14316
- }), make5("SettledRuns", {
14325
+ }), make6("SettledRuns", {
14317
14326
  payload: { runIds: ArraySchema(String4) },
14318
14327
  success: ArraySchema(String4),
14319
14328
  error: RunnerRpcError
14320
- }), make5("KnownEvidence", {
14329
+ }), make6("KnownEvidence", {
14321
14330
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14322
14331
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14323
14332
  error: RunnerRpcError
14324
14333
  })).middleware(RunnerAuthentication) {
14325
14334
  }
14326
14335
 
14327
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14336
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14328
14337
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14329
14338
  error: RunnerRpcError
14330
- }), make5("DeferredDone", {
14339
+ }), make6("DeferredDone", {
14331
14340
  payload: { lease: ProgramLease, name: String4, exit: Json },
14332
14341
  error: RunnerRpcError
14333
- }), make5("ScheduleClock", {
14342
+ }), make6("ScheduleClock", {
14334
14343
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14335
14344
  error: RunnerRpcError
14336
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14345
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14337
14346
  }
14338
14347
 
14339
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14348
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14340
14349
  payload: {
14341
14350
  lease: ProgramLease,
14342
14351
  step: String4,
@@ -14356,7 +14365,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14356
14365
  },
14357
14366
  success: Struct({ questionId: String4 }),
14358
14367
  error: RunnerRpcError
14359
- }), make5("StartAgentStep", {
14368
+ }), make6("StartAgentStep", {
14360
14369
  payload: {
14361
14370
  lease: ProgramLease,
14362
14371
  step: String4,
@@ -14372,7 +14381,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14372
14381
  },
14373
14382
  success: Struct({ stepAttemptId: String4 }),
14374
14383
  error: RunnerRpcError
14375
- }), make5("StartVerification", {
14384
+ }), make6("StartVerification", {
14376
14385
  payload: {
14377
14386
  lease: ProgramLease,
14378
14387
  step: String4,
@@ -14393,7 +14402,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14393
14402
  },
14394
14403
  success: Struct({ verificationId: String4 }),
14395
14404
  error: RunnerRpcError
14396
- }), make5("AwaitEvent", {
14405
+ }), make6("AwaitEvent", {
14397
14406
  payload: {
14398
14407
  lease: ProgramLease,
14399
14408
  step: String4,
@@ -14409,7 +14418,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14409
14418
  })))
14410
14419
  },
14411
14420
  error: RunnerRpcError
14412
- }), make5("ClaimResource", {
14421
+ }), make6("ClaimResource", {
14413
14422
  payload: {
14414
14423
  lease: ProgramLease,
14415
14424
  step: String4,
@@ -14418,7 +14427,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14418
14427
  action: Literals(["claim", "take_over", "let_go"])
14419
14428
  },
14420
14429
  error: RunnerRpcError
14421
- }), make5("AdmitChild", {
14430
+ }), make6("AdmitChild", {
14422
14431
  payload: {
14423
14432
  lease: ProgramLease,
14424
14433
  step: String4,
@@ -14429,7 +14438,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14429
14438
  },
14430
14439
  success: Struct({ runId: String4 }),
14431
14440
  error: RunnerRpcError
14432
- }), make5("StoreArtifact", {
14441
+ }), make6("StoreArtifact", {
14433
14442
  payload: {
14434
14443
  lease: ProgramLease,
14435
14444
  step: String4,
@@ -14441,7 +14450,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14441
14450
  },
14442
14451
  success: Struct({ artifactId: String4 }),
14443
14452
  error: RunnerRpcError
14444
- }), make5("RecordNote", {
14453
+ }), make6("RecordNote", {
14445
14454
  payload: {
14446
14455
  lease: ProgramLease,
14447
14456
  step: String4,
@@ -14450,7 +14459,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14450
14459
  kind: optional(Literals(["note", "blocker"]))
14451
14460
  },
14452
14461
  error: RunnerRpcError
14453
- }), make5("PerformHostEffect", {
14462
+ }), make6("PerformHostEffect", {
14454
14463
  payload: {
14455
14464
  lease: ProgramLease,
14456
14465
  step: String4,
@@ -14479,7 +14488,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14479
14488
  },
14480
14489
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14481
14490
  error: RunnerRpcError
14482
- }), make5("AlertTask", {
14491
+ }), make6("AlertTask", {
14483
14492
  payload: {
14484
14493
  lease: ProgramLease,
14485
14494
  step: String4,
@@ -14496,7 +14505,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14496
14505
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14497
14506
  }),
14498
14507
  error: RunnerRpcError
14499
- }), make5("ReadTranscripts", {
14508
+ }), make6("ReadTranscripts", {
14500
14509
  payload: {
14501
14510
  lease: ProgramLease,
14502
14511
  step: String4,
@@ -14531,7 +14540,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14531
14540
  })))
14532
14541
  }),
14533
14542
  error: RunnerRpcError
14534
- }), make5("PipelineStatus", {
14543
+ }), make6("PipelineStatus", {
14535
14544
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14536
14545
  success: Struct({
14537
14546
  head: String4,
@@ -14565,11 +14574,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14565
14574
  }))
14566
14575
  }),
14567
14576
  error: RunnerRpcError
14568
- }), make5("ReportPipeline", {
14577
+ }), make6("ReportPipeline", {
14569
14578
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14570
14579
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14571
14580
  error: RunnerRpcError
14572
- }), make5("ReviewThreads", {
14581
+ }), make6("ReviewThreads", {
14573
14582
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14574
14583
  success: Struct({
14575
14584
  threads: ArraySchema(Struct({
@@ -14581,7 +14590,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14581
14590
  }))
14582
14591
  }),
14583
14592
  error: RunnerRpcError
14584
- }), make5("OpenChangeRequests", {
14593
+ }), make6("OpenChangeRequests", {
14585
14594
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14586
14595
  success: Struct({
14587
14596
  changeRequests: ArraySchema(Struct({
@@ -14595,7 +14604,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14595
14604
  }))
14596
14605
  }),
14597
14606
  error: RunnerRpcError
14598
- }), make5("OwnChangeRequests", {
14607
+ }), make6("OwnChangeRequests", {
14599
14608
  payload: { lease: ProgramLease, step: String4 },
14600
14609
  success: Struct({
14601
14610
  changeRequests: ArraySchema(Struct({
@@ -14608,7 +14617,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14608
14617
  }))
14609
14618
  }),
14610
14619
  error: RunnerRpcError
14611
- }), make5("Propose", {
14620
+ }), make6("Propose", {
14612
14621
  payload: {
14613
14622
  lease: ProgramLease,
14614
14623
  step: String4,
@@ -14637,7 +14646,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14637
14646
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14638
14647
  }),
14639
14648
  error: RunnerRpcError
14640
- }), make5("ReadProject", {
14649
+ }), make6("ReadProject", {
14641
14650
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14642
14651
  success: Struct({
14643
14652
  project: Struct({ id: String4, name: String4 }),
@@ -14660,7 +14669,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14660
14669
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14661
14670
  }),
14662
14671
  error: RunnerRpcError
14663
- }), make5("DraftUpdate", {
14672
+ }), make6("DraftUpdate", {
14664
14673
  payload: {
14665
14674
  lease: ProgramLease,
14666
14675
  step: String4,
@@ -14675,7 +14684,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14675
14684
  },
14676
14685
  success: Struct({ id: String4 }),
14677
14686
  error: RunnerRpcError
14678
- }), make5("CreatePlanTasks", {
14687
+ }), make6("CreatePlanTasks", {
14679
14688
  payload: {
14680
14689
  lease: ProgramLease,
14681
14690
  projectId: optionalKey(String4),
@@ -14693,15 +14702,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14693
14702
  },
14694
14703
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14695
14704
  error: RunnerRpcError
14696
- }), make5("IntegrationBranch", {
14705
+ }), make6("IntegrationBranch", {
14697
14706
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14698
14707
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14699
14708
  error: RunnerRpcError
14700
- }), make5("DeliveryBase", {
14709
+ }), make6("DeliveryBase", {
14701
14710
  payload: { lease: ProgramLease },
14702
14711
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14703
14712
  error: RunnerRpcError
14704
- }), make5("MergeChangeRequest", {
14713
+ }), make6("MergeChangeRequest", {
14705
14714
  payload: {
14706
14715
  lease: ProgramLease,
14707
14716
  step: String4,
@@ -14719,7 +14728,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14719
14728
  Struct({ status: Literal("moved"), head: String4 })
14720
14729
  ]),
14721
14730
  error: RunnerRpcError
14722
- }), make5("ApproveChangeRequest", {
14731
+ }), make6("ApproveChangeRequest", {
14723
14732
  payload: {
14724
14733
  lease: ProgramLease,
14725
14734
  step: String4,
@@ -14735,7 +14744,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14735
14744
  Struct({ approved: Literal(false), reason: String4 })
14736
14745
  ]),
14737
14746
  error: RunnerRpcError
14738
- }), make5("CloseChangeRequest", {
14747
+ }), make6("CloseChangeRequest", {
14739
14748
  payload: {
14740
14749
  lease: ProgramLease,
14741
14750
  step: String4,
@@ -14745,7 +14754,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14745
14754
  },
14746
14755
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14747
14756
  error: RunnerRpcError
14748
- }), make5("RerunPipeline", {
14757
+ }), make6("RerunPipeline", {
14749
14758
  payload: {
14750
14759
  lease: ProgramLease,
14751
14760
  step: String4,
@@ -14755,7 +14764,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14755
14764
  },
14756
14765
  success: Struct({ head: String4, pipelines: Int }),
14757
14766
  error: RunnerRpcError
14758
- }), make5("PublishRelease", {
14767
+ }), make6("PublishRelease", {
14759
14768
  payload: {
14760
14769
  lease: ProgramLease,
14761
14770
  step: String4,
@@ -14767,14 +14776,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14767
14776
  },
14768
14777
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14769
14778
  error: RunnerRpcError
14770
- }), make5("ProgramSecrets", {
14779
+ }), make6("ProgramSecrets", {
14771
14780
  payload: { lease: ProgramLease },
14772
14781
  success: Record(String4, String4),
14773
14782
  error: RunnerRpcError
14774
14783
  })).middleware(RunnerAuthentication) {
14775
14784
  }
14776
14785
 
14777
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14786
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14778
14787
  payload: {
14779
14788
  lease: ProgramLease,
14780
14789
  step: String4,
@@ -14786,11 +14795,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14786
14795
  },
14787
14796
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14788
14797
  error: Union([RunnerRpcError, RunFileRefused])
14789
- }), make5("RunFileParts", {
14798
+ }), make6("RunFileParts", {
14790
14799
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14791
14800
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14792
14801
  error: RunnerRpcError
14793
- }), make5("CompleteRunFile", {
14802
+ }), make6("CompleteRunFile", {
14794
14803
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14795
14804
  success: RunFileRecord,
14796
14805
  error: RunnerRpcError
@@ -14879,7 +14888,7 @@ function toStoredSession(token, existingRefreshToken) {
14879
14888
  }
14880
14889
  function startLoopbackServer(input) {
14881
14890
  return gen(function* () {
14882
- const code = yield* make15();
14891
+ const code = yield* make16();
14883
14892
  const context2 = yield* context();
14884
14893
  const runSyncExit = runSyncExitWith(context2);
14885
14894
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15419,7 +15428,7 @@ var openConnection = (transport) => gen(function* () {
15419
15428
  let lastId = 0;
15420
15429
  let lost = false;
15421
15430
  const notifications = yield* unbounded2();
15422
- const ended = yield* make15();
15431
+ const ended = yield* make16();
15423
15432
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15424
15433
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15425
15434
  onNone: () => void_3,
@@ -15446,7 +15455,7 @@ var openConnection = (transport) => gen(function* () {
15446
15455
  if (lost)
15447
15456
  return yield* new HerdrCoreConnectionLost2({ method });
15448
15457
  const id = ++lastId;
15449
- const deferred = yield* make15();
15458
+ const deferred = yield* make16();
15450
15459
  pending.set(id, { method, deferred });
15451
15460
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15452
15461
  return yield* _await(deferred);
@@ -15520,14 +15529,14 @@ var herdrCoreOver = (transport) => ({
15520
15529
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15521
15530
  };
15522
15531
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15523
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15532
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15524
15533
  }))
15525
15534
  });
15526
15535
  var spawnedTransport = (env) => gen(function* () {
15527
15536
  const spawner = yield* ChildProcessSpawner;
15528
15537
  const input = yield* unbounded2();
15529
15538
  const encoder = new TextEncoder;
15530
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15539
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15531
15540
  extendEnv: false,
15532
15541
  env,
15533
15542
  stdin: fromQueue(input),
@@ -15558,7 +15567,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15558
15567
  const spawner = yield* ChildProcessSpawner;
15559
15568
  const env = coreEnv(options);
15560
15569
  const run = (args) => gen(function* () {
15561
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15570
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15562
15571
  const [stdout, stderr, exitCode] = yield* all3([
15563
15572
  mkString(decodeText(handle.stdout)),
15564
15573
  mkString(decodeText(handle.stderr)),
@@ -15584,7 +15593,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15584
15593
  }
15585
15594
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15586
15595
  const spawner = yield* ChildProcessSpawner;
15587
- const handle = yield* spawner.spawn(make2(command, args, {
15596
+ const handle = yield* spawner.spawn(make3(command, args, {
15588
15597
  stdin: "ignore",
15589
15598
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15590
15599
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15610,8 +15619,8 @@ var shellOutputTailChars2 = 64 * 1024;
15610
15619
  var runProcess2 = (argv, options) => gen(function* () {
15611
15620
  const spawner = yield* ChildProcessSpawner;
15612
15621
  const [command, ...args] = argv;
15613
- const handle = yield* spawner.spawn(make2(command, args, {
15614
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15622
+ const handle = yield* spawner.spawn(make3(command, args, {
15623
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15615
15624
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15616
15625
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15617
15626
  }));
@@ -16043,4 +16052,4 @@ function checkServices(declaration) {
16043
16052
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16044
16053
  }
16045
16054
 
16046
- 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, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, newerKitmanVersion, 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 };
16055
+ 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, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, newerKitmanVersion, 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 };