@kitman-sh/cli 0.12.4 → 0.12.6

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-v1pa2dpe.js → chunk-23245qh7.js} +5 -5
  2. package/dist/{chunk-j373bdw1.js → chunk-7ncc3m3n.js} +7 -7
  3. package/dist/{chunk-rs0qassb.js → chunk-7tnm4jef.js} +3 -3
  4. package/dist/{chunk-nfc1scfz.js → chunk-892qrkb3.js} +14 -60
  5. package/dist/{chunk-7tf77mw4.js → chunk-8djn7v2p.js} +23 -23
  6. package/dist/{chunk-zbcxbph8.js → chunk-8sz25ptv.js} +4 -4
  7. package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
  8. package/dist/{chunk-j8j7ryjm.js → chunk-dcnn882c.js} +20 -20
  9. package/dist/{chunk-ywgv15tb.js → chunk-e711ebdj.js} +2 -2
  10. package/dist/{chunk-r3yamwdd.js → chunk-fen5480a.js} +10 -10
  11. package/dist/{chunk-vbv9x6d7.js → chunk-gezjwdpw.js} +117 -118
  12. package/dist/{chunk-6b91ftp6.js → chunk-gtsq369x.js} +7 -7
  13. package/dist/{chunk-9rvj15vf.js → chunk-jk5fp5cy.js} +28 -28
  14. package/dist/{chunk-gbakhy7m.js → chunk-k3ak93p1.js} +1 -1
  15. package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
  16. package/dist/{chunk-9ydwnxh9.js → chunk-n17dr5c1.js} +4 -4
  17. package/dist/{chunk-9hqbmnkh.js → chunk-rvpfyjtv.js} +1 -1
  18. package/dist/{chunk-q5w3v4k1.js → chunk-s8m2tzdr.js} +1 -1
  19. package/dist/{chunk-y1krmnbv.js → chunk-skqn4h13.js} +2 -2
  20. package/dist/{chunk-r4a6f4pa.js → chunk-v4wn0tz8.js} +6 -6
  21. package/dist/{chunk-bvpczkzf.js → chunk-vkchn89k.js} +10 -10
  22. package/dist/{chunk-74zwne6t.js → chunk-wberffvr.js} +63 -63
  23. package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
  24. package/dist/{chunk-y1mhc7qd.js → chunk-x5t0c4g4.js} +9 -9
  25. package/dist/{chunk-trqvcc06.js → chunk-y7vjk8vv.js} +31 -174
  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
- 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,
@@ -193,7 +193,12 @@ import {
193
193
  clockWith,
194
194
  logError,
195
195
  effectify,
196
+ toNumber,
197
+ bytes,
196
198
  decode,
199
+ isRedacted,
200
+ make16,
201
+ value,
197
202
  defaultParseOptions,
198
203
  omit,
199
204
  map9,
@@ -261,18 +266,16 @@ import {
261
266
  decodeJsonStringOption,
262
267
  encodeJsonStringSync,
263
268
  encodePrettyJsonString
264
- } from "./chunk-zw3gf6r5.js";
269
+ } from "./chunk-x3cc7dfc.js";
265
270
  import {
266
271
  map,
267
272
  makeEquivalence,
268
- toNumber,
269
- bytes,
270
273
  BadArgument,
271
274
  systemError,
272
275
  badArgument,
273
276
  makeUnsafe2,
277
+ make7,
274
278
  make8,
275
- make9,
276
279
  sliding,
277
280
  unbounded2,
278
281
  offer,
@@ -288,13 +291,13 @@ import {
288
291
  isSink,
289
292
  fromChannel,
290
293
  drain,
291
- make10,
294
+ make9,
292
295
  get3,
293
296
  isStream,
294
297
  fromChannel2,
295
298
  callback,
296
299
  empty2,
297
- make11,
300
+ make10,
298
301
  suspend,
299
302
  fail2,
300
303
  fromQueue,
@@ -320,16 +323,27 @@ import {
320
323
  mkArrayBuffer,
321
324
  toReadableStreamEffect,
322
325
  FileSystem,
323
- make12,
326
+ make11,
324
327
  FileTypeId,
325
328
  WatchBackend,
326
329
  Path,
327
- make13,
330
+ make12,
328
331
  option,
329
332
  String2,
330
333
  optionalEnv,
331
334
  harnessesUnsupportedInSrt2
332
- } from "./chunk-trqvcc06.js";
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";
333
347
  import {
334
348
  isDateTime,
335
349
  Numeric,
@@ -342,22 +356,7 @@ import {
342
356
  SecretScope,
343
357
  SecretHosts,
344
358
  isSecretReference
345
- } from "./chunk-q5w3v4k1.js";
346
- import {
347
- isRedacted,
348
- make,
349
- value,
350
- ExitCode,
351
- ProcessId,
352
- makeHandle,
353
- make2,
354
- ChildProcessSpawner,
355
- display,
356
- make3,
357
- parseFdName,
358
- fdName
359
- } from "./chunk-nfc1scfz.js";
360
-
359
+ } from "./chunk-s8m2tzdr.js";
361
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
362
361
  var makeEquivalence3 = Tuple;
363
362
 
@@ -519,7 +518,7 @@ var makeUnsafe6 = (input) => {
519
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
520
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
521
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
522
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
524
523
  var nowUnsafe = () => makeUtc(Date.now());
525
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -900,7 +899,7 @@ var runMain = runMain2;
900
899
 
901
900
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
902
901
  var makeUnsafe = makeUnsafe6;
903
- var make18 = make4;
902
+ var make18 = make3;
904
903
  var now2 = now;
905
904
  var nowUnsafe2 = nowUnsafe;
906
905
  var toDateUtc2 = toDateUtc;
@@ -1115,7 +1114,7 @@ var readableToPullUnsafe = (options) => {
1115
1114
  const readable = options.readable;
1116
1115
  const chunkSize = options.chunkSize ?? 4096;
1117
1116
  const closeOnDone = options.closeOnDone ?? true;
1118
- const exit = options.exit ?? make8(undefined);
1117
+ const exit = options.exit ?? make7(undefined);
1119
1118
  const latch = options.latch ?? makeUnsafe2(false);
1120
1119
  function onReadable() {
1121
1120
  latch.openUnsafe();
@@ -1679,7 +1678,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1679
1678
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1680
1679
  const toOption = options.to ?? "stdin";
1681
1680
  if (toOption === "stdin") {
1682
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1681
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1683
1682
  ...command.options,
1684
1683
  stdin: {
1685
1684
  ...stdinConfig,
@@ -1699,7 +1698,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1699
1698
  type: "input",
1700
1699
  stream: sourceStream
1701
1700
  };
1702
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1701
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1703
1702
  ...command.options,
1704
1703
  additionalFds: {
1705
1704
  ...existingFds,
@@ -1707,7 +1706,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1706
  }
1708
1707
  })));
1709
1708
  } else {
1710
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1709
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1711
1710
  ...command.options,
1712
1711
  stdin: {
1713
1712
  ...stdinConfig,
@@ -1746,7 +1745,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1746
1745
  }
1747
1746
  }
1748
1747
  });
1749
- return make2(spawnCommand);
1748
+ return make(spawnCommand);
1750
1749
  });
1751
1750
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1752
1751
  var flattenCommand = (command) => {
@@ -2232,7 +2231,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2232
2231
  resume(fail7(handleBadArgument("writeFile")(err)));
2233
2232
  }
2234
2233
  });
2235
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2234
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2236
2235
  access: access2,
2237
2236
  chmod: chmod2,
2238
2237
  chown: chown2,
@@ -2292,15 +2291,15 @@ var fileUrlOps = (windows) => ({
2292
2291
  })
2293
2292
  })
2294
2293
  });
2295
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2294
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2296
2295
  ...NodePath.posix,
2297
2296
  .../* @__PURE__ */ fileUrlOps(false)
2298
2297
  }));
2299
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2298
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2300
2299
  ...NodePath.win32,
2301
2300
  .../* @__PURE__ */ fileUrlOps(true)
2302
2301
  }));
2303
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2302
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2304
2303
  ...NodePath,
2305
2304
  .../* @__PURE__ */ fileUrlOps(undefined)
2306
2305
  }));
@@ -2822,12 +2821,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2822
2821
  if (typeof key === "string") {
2823
2822
  const k = key.toLowerCase();
2824
2823
  if (k in self) {
2825
- out[k] = make(self[k]);
2824
+ out[k] = make16(self[k]);
2826
2825
  }
2827
2826
  } else {
2828
2827
  for (const name in self) {
2829
2828
  if (name.search(key) !== -1) {
2830
- out[name] = make(self[name]);
2829
+ out[name] = make16(self[name]);
2831
2830
  }
2832
2831
  }
2833
2832
  }
@@ -2934,7 +2933,7 @@ var fromInputNested = (input) => {
2934
2933
  return out;
2935
2934
  };
2936
2935
  var coerce = (value) => isRedacted(value) ? value : String(value);
2937
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2936
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2938
2937
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2939
2938
  var empty4 = /* @__PURE__ */ make23([]);
2940
2939
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2953,7 +2952,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2953
2952
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2954
2953
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2955
2954
  const patterns = Array.isArray(key) ? key : [key];
2956
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2955
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2957
2956
  });
2958
2957
  var isRedactedName2 = isRedactedName;
2959
2958
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3029,7 +3028,7 @@ import * as readline from "readline";
3029
3028
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3030
3029
  const stdin = process.stdin;
3031
3030
  const stdout = process.stdout;
3032
- const lines = yield* make9();
3031
+ const lines = yield* make8();
3033
3032
  let inputEnded = stdin.readableEnded;
3034
3033
  let readlineActive = false;
3035
3034
  const onStdinEnd = () => {
@@ -3040,7 +3039,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3040
3039
  };
3041
3040
  stdin.once("end", onStdinEnd);
3042
3041
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3043
- const rlRef = yield* make10({
3042
+ const rlRef = yield* make9({
3044
3043
  acquire: acquireRelease(sync2(() => {
3045
3044
  const rl = readline.createInterface({
3046
3045
  input: stdin,
@@ -3079,7 +3078,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3079
3078
  if (stdin.isTTY)
3080
3079
  stdin.setRawMode(enabled);
3081
3080
  });
3082
- const rawModeRef = yield* make10({
3081
+ const rawModeRef = yield* make9({
3083
3082
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3084
3083
  idleTimeToLive: "10 millis"
3085
3084
  });
@@ -3100,7 +3099,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3100
3099
  return queue;
3101
3100
  });
3102
3101
  const readInput = gen(function* () {
3103
- const queue = yield* make9();
3102
+ const queue = yield* make8();
3104
3103
  const handleKeypress = (s, k) => {
3105
3104
  const userInput = {
3106
3105
  input: fromUndefinedOr(s),
@@ -9946,14 +9945,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9946
9945
  return self;
9947
9946
  }
9948
9947
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9949
- var make5 = (method) => (url, options) => modify(empty6, {
9948
+ var make4 = (method) => (url, options) => modify(empty6, {
9950
9949
  method,
9951
9950
  url,
9952
9951
  ...options ?? undefined
9953
9952
  });
9954
- var get = /* @__PURE__ */ make5("GET");
9955
- var post = /* @__PURE__ */ make5("POST");
9956
- var put = /* @__PURE__ */ make5("PUT");
9953
+ var get = /* @__PURE__ */ make4("GET");
9954
+ var post = /* @__PURE__ */ make4("POST");
9955
+ var put = /* @__PURE__ */ make4("PUT");
9957
9956
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9958
9957
  let result = self;
9959
9958
  if (options.method) {
@@ -10254,7 +10253,7 @@ var Proto7 = {
10254
10253
  };
10255
10254
  },
10256
10255
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10257
- return this.execute(make5(fullMethod)(url, options));
10256
+ return this.execute(make4(fullMethod)(url, options));
10258
10257
  }]))
10259
10258
  };
10260
10259
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13951,7 +13950,7 @@ var makeProto = (options) => {
13951
13950
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13952
13951
  return Rpc;
13953
13952
  };
13954
- var make6 = (tag, options) => {
13953
+ var make5 = (tag, options) => {
13955
13954
  const successSchema = options?.success ?? Void;
13956
13955
  const errorSchema = options?.error ?? Never;
13957
13956
  const defectSchema = options?.defect ?? Defect();
@@ -14162,7 +14161,7 @@ var RpcGroupProto = {
14162
14161
  });
14163
14162
  },
14164
14163
  annotateRpcs(service, value) {
14165
- return this.annotateRpcsMerge(make15(service, value));
14164
+ return this.annotateRpcsMerge(make14(service, value));
14166
14165
  },
14167
14166
  annotateMerge(context) {
14168
14167
  return makeProto2({
@@ -14185,7 +14184,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14185
14184
  requests: options.requests,
14186
14185
  annotations: options.annotations
14187
14186
  });
14188
- var make7 = (...rpcs) => makeProto2({
14187
+ var make6 = (...rpcs) => makeProto2({
14189
14188
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14190
14189
  annotations: empty3()
14191
14190
  });
@@ -14291,96 +14290,96 @@ var ProgramOutcome = Union([
14291
14290
  Struct({ status: Literal("failed"), failureSummary: String4 })
14292
14291
  ]);
14293
14292
 
14294
- class RunnerReplicaRpcs extends make7(make6("Claim", {
14293
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
14295
14294
  payload: WorkUnitClaimInput,
14296
14295
  success: WorkUnitClaimResult,
14297
14296
  error: RunnerRpcError
14298
- }), make6("Heartbeat", {
14297
+ }), make5("Heartbeat", {
14299
14298
  payload: WorkUnitHeartbeatInput,
14300
14299
  success: WorkUnitHeartbeatResult,
14301
14300
  error: RunnerRpcError
14302
- }), make6("Complete", {
14301
+ }), make5("Complete", {
14303
14302
  payload: WorkUnitCompletion,
14304
14303
  error: RunnerRpcError
14305
- }), make6("Release", {
14304
+ }), make5("Release", {
14306
14305
  payload: WorkUnitReleaseInput,
14307
14306
  error: RunnerRpcError
14308
- }), make6("Signals", {
14307
+ }), make5("Signals", {
14309
14308
  payload: { runnerReplicaId: String4 },
14310
14309
  success: RunnerSignal,
14311
14310
  error: RunnerRpcError,
14312
14311
  stream: true
14313
- }), make6("ReportSteer", {
14312
+ }), make5("ReportSteer", {
14314
14313
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14315
14314
  success: Void,
14316
14315
  error: RunnerRpcError
14317
- }), make6("AppendTranscript", {
14316
+ }), make5("AppendTranscript", {
14318
14317
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14319
14318
  success: Void,
14320
14319
  error: RunnerRpcError
14321
- }), make6("CreateCheckpointFile", {
14320
+ }), make5("CreateCheckpointFile", {
14322
14321
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14323
14322
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14324
14323
  error: Union([RunnerRpcError, RunFileRefused])
14325
- }), make6("CheckpointFileParts", {
14324
+ }), make5("CheckpointFileParts", {
14326
14325
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14327
14326
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14328
14327
  error: RunnerRpcError
14329
- }), make6("CompleteCheckpointFile", {
14328
+ }), make5("CompleteCheckpointFile", {
14330
14329
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14331
14330
  success: RunFileRecord,
14332
14331
  error: RunnerRpcError
14333
- }), make6("SaveCheckpoint", {
14332
+ }), make5("SaveCheckpoint", {
14334
14333
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14335
14334
  success: Void,
14336
14335
  error: RunnerRpcError
14337
- }), make6("ResumeCheckpoint", {
14336
+ }), make5("ResumeCheckpoint", {
14338
14337
  payload: { lease: ProgramLease },
14339
14338
  success: UndefinedOr(ResumedCheckpoint),
14340
14339
  error: RunnerRpcError
14341
- }), make6("SettledCheckpoints", {
14340
+ }), make5("SettledCheckpoints", {
14342
14341
  success: ArraySchema(Struct({
14343
14342
  stepAttemptId: String4,
14344
14343
  ref: optionalKey(String4),
14345
14344
  repoBinding: optionalKey(WorkUnitRepoBinding)
14346
14345
  })),
14347
14346
  error: RunnerRpcError
14348
- }), make6("ForgetCheckpoints", {
14347
+ }), make5("ForgetCheckpoints", {
14349
14348
  payload: { stepAttemptIds: ArraySchema(String4) },
14350
14349
  success: Void,
14351
14350
  error: RunnerRpcError
14352
- }), make6("GitCredential", {
14351
+ }), make5("GitCredential", {
14353
14352
  payload: { repoBindingId: String4 },
14354
14353
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14355
14354
  error: RunnerRpcError
14356
- }), make6("Bundle", {
14355
+ }), make5("Bundle", {
14357
14356
  payload: { digest: String4 },
14358
14357
  success: Struct({ bundle: String4 }),
14359
14358
  error: RunnerRpcError
14360
- }), make6("SettledRuns", {
14359
+ }), make5("SettledRuns", {
14361
14360
  payload: { runIds: ArraySchema(String4) },
14362
14361
  success: ArraySchema(String4),
14363
14362
  error: RunnerRpcError
14364
- }), make6("KnownEvidence", {
14363
+ }), make5("KnownEvidence", {
14365
14364
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14366
14365
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14367
14366
  error: RunnerRpcError
14368
14367
  })).middleware(RunnerAuthentication) {
14369
14368
  }
14370
14369
 
14371
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14370
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14372
14371
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14373
14372
  error: RunnerRpcError
14374
- }), make6("DeferredDone", {
14373
+ }), make5("DeferredDone", {
14375
14374
  payload: { lease: ProgramLease, name: String4, exit: Json },
14376
14375
  error: RunnerRpcError
14377
- }), make6("ScheduleClock", {
14376
+ }), make5("ScheduleClock", {
14378
14377
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14379
14378
  error: RunnerRpcError
14380
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14379
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14381
14380
  }
14382
14381
 
14383
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14382
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14384
14383
  payload: {
14385
14384
  lease: ProgramLease,
14386
14385
  step: String4,
@@ -14400,7 +14399,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14400
14399
  },
14401
14400
  success: Struct({ questionId: String4 }),
14402
14401
  error: RunnerRpcError
14403
- }), make6("StartAgentStep", {
14402
+ }), make5("StartAgentStep", {
14404
14403
  payload: {
14405
14404
  lease: ProgramLease,
14406
14405
  step: String4,
@@ -14416,7 +14415,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14416
14415
  },
14417
14416
  success: Struct({ stepAttemptId: String4 }),
14418
14417
  error: RunnerRpcError
14419
- }), make6("StartVerification", {
14418
+ }), make5("StartVerification", {
14420
14419
  payload: {
14421
14420
  lease: ProgramLease,
14422
14421
  step: String4,
@@ -14437,7 +14436,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14437
14436
  },
14438
14437
  success: Struct({ verificationId: String4 }),
14439
14438
  error: RunnerRpcError
14440
- }), make6("AwaitEvent", {
14439
+ }), make5("AwaitEvent", {
14441
14440
  payload: {
14442
14441
  lease: ProgramLease,
14443
14442
  step: String4,
@@ -14453,7 +14452,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14453
14452
  })))
14454
14453
  },
14455
14454
  error: RunnerRpcError
14456
- }), make6("ClaimResource", {
14455
+ }), make5("ClaimResource", {
14457
14456
  payload: {
14458
14457
  lease: ProgramLease,
14459
14458
  step: String4,
@@ -14462,7 +14461,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14462
14461
  action: Literals(["claim", "take_over", "let_go"])
14463
14462
  },
14464
14463
  error: RunnerRpcError
14465
- }), make6("AdmitChild", {
14464
+ }), make5("AdmitChild", {
14466
14465
  payload: {
14467
14466
  lease: ProgramLease,
14468
14467
  step: String4,
@@ -14473,7 +14472,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14473
14472
  },
14474
14473
  success: Struct({ runId: String4 }),
14475
14474
  error: RunnerRpcError
14476
- }), make6("StoreArtifact", {
14475
+ }), make5("StoreArtifact", {
14477
14476
  payload: {
14478
14477
  lease: ProgramLease,
14479
14478
  step: String4,
@@ -14485,7 +14484,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14485
14484
  },
14486
14485
  success: Struct({ artifactId: String4 }),
14487
14486
  error: RunnerRpcError
14488
- }), make6("RecordNote", {
14487
+ }), make5("RecordNote", {
14489
14488
  payload: {
14490
14489
  lease: ProgramLease,
14491
14490
  step: String4,
@@ -14494,7 +14493,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14494
14493
  kind: optional(Literals(["note", "blocker"]))
14495
14494
  },
14496
14495
  error: RunnerRpcError
14497
- }), make6("PerformHostEffect", {
14496
+ }), make5("PerformHostEffect", {
14498
14497
  payload: {
14499
14498
  lease: ProgramLease,
14500
14499
  step: String4,
@@ -14523,7 +14522,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14523
14522
  },
14524
14523
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14525
14524
  error: RunnerRpcError
14526
- }), make6("AlertTask", {
14525
+ }), make5("AlertTask", {
14527
14526
  payload: {
14528
14527
  lease: ProgramLease,
14529
14528
  step: String4,
@@ -14540,7 +14539,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14540
14539
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14541
14540
  }),
14542
14541
  error: RunnerRpcError
14543
- }), make6("ReadTranscripts", {
14542
+ }), make5("ReadTranscripts", {
14544
14543
  payload: {
14545
14544
  lease: ProgramLease,
14546
14545
  step: String4,
@@ -14575,7 +14574,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14575
14574
  })))
14576
14575
  }),
14577
14576
  error: RunnerRpcError
14578
- }), make6("PipelineStatus", {
14577
+ }), make5("PipelineStatus", {
14579
14578
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14580
14579
  success: Struct({
14581
14580
  head: String4,
@@ -14609,11 +14608,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14609
14608
  }))
14610
14609
  }),
14611
14610
  error: RunnerRpcError
14612
- }), make6("ReportPipeline", {
14611
+ }), make5("ReportPipeline", {
14613
14612
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14614
14613
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14615
14614
  error: RunnerRpcError
14616
- }), make6("ReviewThreads", {
14615
+ }), make5("ReviewThreads", {
14617
14616
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14618
14617
  success: Struct({
14619
14618
  threads: ArraySchema(Struct({
@@ -14625,7 +14624,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14625
14624
  }))
14626
14625
  }),
14627
14626
  error: RunnerRpcError
14628
- }), make6("OpenChangeRequests", {
14627
+ }), make5("OpenChangeRequests", {
14629
14628
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14630
14629
  success: Struct({
14631
14630
  changeRequests: ArraySchema(Struct({
@@ -14639,7 +14638,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14639
14638
  }))
14640
14639
  }),
14641
14640
  error: RunnerRpcError
14642
- }), make6("OwnChangeRequests", {
14641
+ }), make5("OwnChangeRequests", {
14643
14642
  payload: { lease: ProgramLease, step: String4 },
14644
14643
  success: Struct({
14645
14644
  changeRequests: ArraySchema(Struct({
@@ -14652,7 +14651,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14652
14651
  }))
14653
14652
  }),
14654
14653
  error: RunnerRpcError
14655
- }), make6("Propose", {
14654
+ }), make5("Propose", {
14656
14655
  payload: {
14657
14656
  lease: ProgramLease,
14658
14657
  step: String4,
@@ -14681,7 +14680,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14681
14680
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14682
14681
  }),
14683
14682
  error: RunnerRpcError
14684
- }), make6("ReadProject", {
14683
+ }), make5("ReadProject", {
14685
14684
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14686
14685
  success: Struct({
14687
14686
  project: Struct({ id: String4, name: String4 }),
@@ -14704,7 +14703,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14704
14703
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14705
14704
  }),
14706
14705
  error: RunnerRpcError
14707
- }), make6("DraftUpdate", {
14706
+ }), make5("DraftUpdate", {
14708
14707
  payload: {
14709
14708
  lease: ProgramLease,
14710
14709
  step: String4,
@@ -14719,7 +14718,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14719
14718
  },
14720
14719
  success: Struct({ id: String4 }),
14721
14720
  error: RunnerRpcError
14722
- }), make6("CreatePlanTasks", {
14721
+ }), make5("CreatePlanTasks", {
14723
14722
  payload: {
14724
14723
  lease: ProgramLease,
14725
14724
  projectId: optionalKey(String4),
@@ -14737,15 +14736,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14737
14736
  },
14738
14737
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14739
14738
  error: RunnerRpcError
14740
- }), make6("IntegrationBranch", {
14739
+ }), make5("IntegrationBranch", {
14741
14740
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14742
14741
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14743
14742
  error: RunnerRpcError
14744
- }), make6("DeliveryBase", {
14743
+ }), make5("DeliveryBase", {
14745
14744
  payload: { lease: ProgramLease },
14746
14745
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14747
14746
  error: RunnerRpcError
14748
- }), make6("MergeChangeRequest", {
14747
+ }), make5("MergeChangeRequest", {
14749
14748
  payload: {
14750
14749
  lease: ProgramLease,
14751
14750
  step: String4,
@@ -14763,7 +14762,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14763
14762
  Struct({ status: Literal("moved"), head: String4 })
14764
14763
  ]),
14765
14764
  error: RunnerRpcError
14766
- }), make6("ApproveChangeRequest", {
14765
+ }), make5("ApproveChangeRequest", {
14767
14766
  payload: {
14768
14767
  lease: ProgramLease,
14769
14768
  step: String4,
@@ -14779,7 +14778,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14779
14778
  Struct({ approved: Literal(false), reason: String4 })
14780
14779
  ]),
14781
14780
  error: RunnerRpcError
14782
- }), make6("CloseChangeRequest", {
14781
+ }), make5("CloseChangeRequest", {
14783
14782
  payload: {
14784
14783
  lease: ProgramLease,
14785
14784
  step: String4,
@@ -14789,7 +14788,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14789
14788
  },
14790
14789
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14791
14790
  error: RunnerRpcError
14792
- }), make6("RerunPipeline", {
14791
+ }), make5("RerunPipeline", {
14793
14792
  payload: {
14794
14793
  lease: ProgramLease,
14795
14794
  step: String4,
@@ -14799,7 +14798,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14799
14798
  },
14800
14799
  success: Struct({ head: String4, pipelines: Int }),
14801
14800
  error: RunnerRpcError
14802
- }), make6("PublishRelease", {
14801
+ }), make5("PublishRelease", {
14803
14802
  payload: {
14804
14803
  lease: ProgramLease,
14805
14804
  step: String4,
@@ -14811,14 +14810,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14811
14810
  },
14812
14811
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14813
14812
  error: RunnerRpcError
14814
- }), make6("ProgramSecrets", {
14813
+ }), make5("ProgramSecrets", {
14815
14814
  payload: { lease: ProgramLease },
14816
14815
  success: Record(String4, String4),
14817
14816
  error: RunnerRpcError
14818
14817
  })).middleware(RunnerAuthentication) {
14819
14818
  }
14820
14819
 
14821
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14820
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14822
14821
  payload: {
14823
14822
  lease: ProgramLease,
14824
14823
  step: String4,
@@ -14830,11 +14829,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14830
14829
  },
14831
14830
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14832
14831
  error: Union([RunnerRpcError, RunFileRefused])
14833
- }), make6("RunFileParts", {
14832
+ }), make5("RunFileParts", {
14834
14833
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14835
14834
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14836
14835
  error: RunnerRpcError
14837
- }), make6("CompleteRunFile", {
14836
+ }), make5("CompleteRunFile", {
14838
14837
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14839
14838
  success: RunFileRecord,
14840
14839
  error: RunnerRpcError
@@ -14923,7 +14922,7 @@ function toStoredSession(token, existingRefreshToken) {
14923
14922
  }
14924
14923
  function startLoopbackServer(input) {
14925
14924
  return gen(function* () {
14926
- const code = yield* make16();
14925
+ const code = yield* make15();
14927
14926
  const context2 = yield* context();
14928
14927
  const runSyncExit = runSyncExitWith(context2);
14929
14928
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15463,7 +15462,7 @@ var openConnection = (transport) => gen(function* () {
15463
15462
  let lastId = 0;
15464
15463
  let lost = false;
15465
15464
  const notifications = yield* unbounded2();
15466
- const ended = yield* make16();
15465
+ const ended = yield* make15();
15467
15466
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15468
15467
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15469
15468
  onNone: () => void_3,
@@ -15490,7 +15489,7 @@ var openConnection = (transport) => gen(function* () {
15490
15489
  if (lost)
15491
15490
  return yield* new HerdrCoreConnectionLost2({ method });
15492
15491
  const id = ++lastId;
15493
- const deferred = yield* make16();
15492
+ const deferred = yield* make15();
15494
15493
  pending.set(id, { method, deferred });
15495
15494
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15496
15495
  return yield* _await(deferred);
@@ -15564,14 +15563,14 @@ var herdrCoreOver = (transport) => ({
15564
15563
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15565
15564
  };
15566
15565
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15567
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15566
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15568
15567
  }))
15569
15568
  });
15570
15569
  var spawnedTransport = (env) => gen(function* () {
15571
15570
  const spawner = yield* ChildProcessSpawner;
15572
15571
  const input = yield* unbounded2();
15573
15572
  const encoder = new TextEncoder;
15574
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15573
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15575
15574
  extendEnv: false,
15576
15575
  env,
15577
15576
  stdin: fromQueue(input),
@@ -15602,7 +15601,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15602
15601
  const spawner = yield* ChildProcessSpawner;
15603
15602
  const env = coreEnv(options);
15604
15603
  const run = (args) => gen(function* () {
15605
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15604
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15606
15605
  const [stdout, stderr, exitCode] = yield* all3([
15607
15606
  mkString(decodeText(handle.stdout)),
15608
15607
  mkString(decodeText(handle.stderr)),
@@ -15628,7 +15627,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15628
15627
  }
15629
15628
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15630
15629
  const spawner = yield* ChildProcessSpawner;
15631
- const handle = yield* spawner.spawn(make3(command, args, {
15630
+ const handle = yield* spawner.spawn(make2(command, args, {
15632
15631
  stdin: "ignore",
15633
15632
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15634
15633
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15654,8 +15653,8 @@ var shellOutputTailChars2 = 64 * 1024;
15654
15653
  var runProcess2 = (argv, options) => gen(function* () {
15655
15654
  const spawner = yield* ChildProcessSpawner;
15656
15655
  const [command, ...args] = argv;
15657
- const handle = yield* spawner.spawn(make3(command, args, {
15658
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15656
+ const handle = yield* spawner.spawn(make2(command, args, {
15657
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15659
15658
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15660
15659
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15661
15660
  }));
@@ -16087,4 +16086,4 @@ function checkServices(declaration) {
16087
16086
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16088
16087
  }
16089
16088
 
16090
- 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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, 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, 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 };
16089
+ 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, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, 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, 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 };