@kitman-sh/cli 0.12.5 → 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-4ksq2d3k.js → chunk-23245qh7.js} +5 -5
  2. package/dist/{chunk-34qnpbzd.js → chunk-7ncc3m3n.js} +4 -4
  3. package/dist/{chunk-ycb69yfq.js → chunk-7tnm4jef.js} +3 -3
  4. package/dist/{chunk-mtkstrh3.js → chunk-892qrkb3.js} +14 -60
  5. package/dist/{chunk-gzfcxjzb.js → chunk-8djn7v2p.js} +23 -23
  6. package/dist/{chunk-5zhh41gb.js → chunk-8sz25ptv.js} +4 -4
  7. package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
  8. package/dist/{chunk-3bz9qx6q.js → chunk-dcnn882c.js} +13 -13
  9. package/dist/{chunk-5zth85pj.js → chunk-e711ebdj.js} +2 -2
  10. package/dist/{chunk-yj971evw.js → chunk-fen5480a.js} +7 -7
  11. package/dist/{chunk-csgqrjmm.js → chunk-gezjwdpw.js} +117 -125
  12. package/dist/{chunk-sk0j9vm2.js → chunk-gtsq369x.js} +7 -7
  13. package/dist/{chunk-5746z147.js → chunk-jk5fp5cy.js} +23 -23
  14. package/dist/{chunk-mgn7vmf0.js → chunk-k3ak93p1.js} +1 -1
  15. package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
  16. package/dist/{chunk-rvgc6sb6.js → chunk-n17dr5c1.js} +4 -4
  17. package/dist/{chunk-p5ct5y4z.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-tfkgd2gr.js → chunk-v4wn0tz8.js} +6 -6
  21. package/dist/{chunk-cbpb2rww.js → chunk-vkchn89k.js} +7 -7
  22. package/dist/{chunk-q25thbsb.js → chunk-wberffvr.js} +24 -24
  23. package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
  24. package/dist/{chunk-4ab93yg1.js → chunk-x5t0c4g4.js} +4 -4
  25. package/dist/{chunk-0h49y8gf.js → chunk-y7vjk8vv.js} +31 -165
  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,17 +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
- bytes,
269
273
  BadArgument,
270
274
  systemError,
271
275
  badArgument,
272
276
  makeUnsafe2,
277
+ make7,
273
278
  make8,
274
- make9,
275
279
  sliding,
276
280
  unbounded2,
277
281
  offer,
@@ -287,13 +291,13 @@ import {
287
291
  isSink,
288
292
  fromChannel,
289
293
  drain,
290
- make10,
294
+ make9,
291
295
  get3,
292
296
  isStream,
293
297
  fromChannel2,
294
298
  callback,
295
299
  empty2,
296
- make11,
300
+ make10,
297
301
  suspend,
298
302
  fail2,
299
303
  fromQueue,
@@ -319,16 +323,27 @@ import {
319
323
  mkArrayBuffer,
320
324
  toReadableStreamEffect,
321
325
  FileSystem,
322
- make12,
326
+ make11,
323
327
  FileTypeId,
324
328
  WatchBackend,
325
329
  Path,
326
- make13,
330
+ make12,
327
331
  option,
328
332
  String2,
329
333
  optionalEnv,
330
334
  harnessesUnsupportedInSrt2
331
- } from "./chunk-0h49y8gf.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";
332
347
  import {
333
348
  isDateTime,
334
349
  Numeric,
@@ -341,21 +356,7 @@ import {
341
356
  SecretScope,
342
357
  SecretHosts,
343
358
  isSecretReference
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
+ } from "./chunk-s8m2tzdr.js";
359
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
360
361
  var makeEquivalence3 = Tuple;
361
362
 
@@ -517,7 +518,7 @@ var makeUnsafe6 = (input) => {
517
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
518
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
519
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
520
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
522
523
  var nowUnsafe = () => makeUtc(Date.now());
523
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -896,18 +897,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
896
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
897
898
  var runMain = runMain2;
898
899
 
899
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
900
- var BigInt2 = globalThis.BigInt;
901
- var toNumber = (b) => {
902
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
903
- return none();
904
- }
905
- return some(Number(b));
906
- };
907
-
908
900
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
909
901
  var makeUnsafe = makeUnsafe6;
910
- var make18 = make4;
902
+ var make18 = make3;
911
903
  var now2 = now;
912
904
  var nowUnsafe2 = nowUnsafe;
913
905
  var toDateUtc2 = toDateUtc;
@@ -1122,7 +1114,7 @@ var readableToPullUnsafe = (options) => {
1122
1114
  const readable = options.readable;
1123
1115
  const chunkSize = options.chunkSize ?? 4096;
1124
1116
  const closeOnDone = options.closeOnDone ?? true;
1125
- const exit = options.exit ?? make8(undefined);
1117
+ const exit = options.exit ?? make7(undefined);
1126
1118
  const latch = options.latch ?? makeUnsafe2(false);
1127
1119
  function onReadable() {
1128
1120
  latch.openUnsafe();
@@ -1686,7 +1678,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1686
1678
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1687
1679
  const toOption = options.to ?? "stdin";
1688
1680
  if (toOption === "stdin") {
1689
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1681
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
1682
  ...command.options,
1691
1683
  stdin: {
1692
1684
  ...stdinConfig,
@@ -1706,7 +1698,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1706
1698
  type: "input",
1707
1699
  stream: sourceStream
1708
1700
  };
1709
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1701
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
1702
  ...command.options,
1711
1703
  additionalFds: {
1712
1704
  ...existingFds,
@@ -1714,7 +1706,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1714
1706
  }
1715
1707
  })));
1716
1708
  } else {
1717
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1709
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
1710
  ...command.options,
1719
1711
  stdin: {
1720
1712
  ...stdinConfig,
@@ -1753,7 +1745,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1753
1745
  }
1754
1746
  }
1755
1747
  });
1756
- return make2(spawnCommand);
1748
+ return make(spawnCommand);
1757
1749
  });
1758
1750
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1759
1751
  var flattenCommand = (command) => {
@@ -2239,7 +2231,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2239
2231
  resume(fail7(handleBadArgument("writeFile")(err)));
2240
2232
  }
2241
2233
  });
2242
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2234
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
2235
  access: access2,
2244
2236
  chmod: chmod2,
2245
2237
  chown: chown2,
@@ -2299,15 +2291,15 @@ var fileUrlOps = (windows) => ({
2299
2291
  })
2300
2292
  })
2301
2293
  });
2302
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2294
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
2295
  ...NodePath.posix,
2304
2296
  .../* @__PURE__ */ fileUrlOps(false)
2305
2297
  }));
2306
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2298
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
2299
  ...NodePath.win32,
2308
2300
  .../* @__PURE__ */ fileUrlOps(true)
2309
2301
  }));
2310
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2302
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
2303
  ...NodePath,
2312
2304
  .../* @__PURE__ */ fileUrlOps(undefined)
2313
2305
  }));
@@ -2829,12 +2821,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2829
2821
  if (typeof key === "string") {
2830
2822
  const k = key.toLowerCase();
2831
2823
  if (k in self) {
2832
- out[k] = make(self[k]);
2824
+ out[k] = make16(self[k]);
2833
2825
  }
2834
2826
  } else {
2835
2827
  for (const name in self) {
2836
2828
  if (name.search(key) !== -1) {
2837
- out[name] = make(self[name]);
2829
+ out[name] = make16(self[name]);
2838
2830
  }
2839
2831
  }
2840
2832
  }
@@ -2941,7 +2933,7 @@ var fromInputNested = (input) => {
2941
2933
  return out;
2942
2934
  };
2943
2935
  var coerce = (value) => isRedacted(value) ? value : String(value);
2944
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2936
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
2937
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2946
2938
  var empty4 = /* @__PURE__ */ make23([]);
2947
2939
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2960,7 +2952,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2960
2952
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2961
2953
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2962
2954
  const patterns = Array.isArray(key) ? key : [key];
2963
- 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]);
2964
2956
  });
2965
2957
  var isRedactedName2 = isRedactedName;
2966
2958
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3036,7 +3028,7 @@ import * as readline from "readline";
3036
3028
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3037
3029
  const stdin = process.stdin;
3038
3030
  const stdout = process.stdout;
3039
- const lines = yield* make9();
3031
+ const lines = yield* make8();
3040
3032
  let inputEnded = stdin.readableEnded;
3041
3033
  let readlineActive = false;
3042
3034
  const onStdinEnd = () => {
@@ -3047,7 +3039,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3047
3039
  };
3048
3040
  stdin.once("end", onStdinEnd);
3049
3041
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3050
- const rlRef = yield* make10({
3042
+ const rlRef = yield* make9({
3051
3043
  acquire: acquireRelease(sync2(() => {
3052
3044
  const rl = readline.createInterface({
3053
3045
  input: stdin,
@@ -3086,7 +3078,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3086
3078
  if (stdin.isTTY)
3087
3079
  stdin.setRawMode(enabled);
3088
3080
  });
3089
- const rawModeRef = yield* make10({
3081
+ const rawModeRef = yield* make9({
3090
3082
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3091
3083
  idleTimeToLive: "10 millis"
3092
3084
  });
@@ -3107,7 +3099,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3107
3099
  return queue;
3108
3100
  });
3109
3101
  const readInput = gen(function* () {
3110
- const queue = yield* make9();
3102
+ const queue = yield* make8();
3111
3103
  const handleKeypress = (s, k) => {
3112
3104
  const userInput = {
3113
3105
  input: fromUndefinedOr(s),
@@ -9953,14 +9945,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9953
9945
  return self;
9954
9946
  }
9955
9947
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9956
- var make5 = (method) => (url, options) => modify(empty6, {
9948
+ var make4 = (method) => (url, options) => modify(empty6, {
9957
9949
  method,
9958
9950
  url,
9959
9951
  ...options ?? undefined
9960
9952
  });
9961
- var get = /* @__PURE__ */ make5("GET");
9962
- var post = /* @__PURE__ */ make5("POST");
9963
- var put = /* @__PURE__ */ make5("PUT");
9953
+ var get = /* @__PURE__ */ make4("GET");
9954
+ var post = /* @__PURE__ */ make4("POST");
9955
+ var put = /* @__PURE__ */ make4("PUT");
9964
9956
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9965
9957
  let result = self;
9966
9958
  if (options.method) {
@@ -10261,7 +10253,7 @@ var Proto7 = {
10261
10253
  };
10262
10254
  },
10263
10255
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10264
- return this.execute(make5(fullMethod)(url, options));
10256
+ return this.execute(make4(fullMethod)(url, options));
10265
10257
  }]))
10266
10258
  };
10267
10259
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13958,7 +13950,7 @@ var makeProto = (options) => {
13958
13950
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13959
13951
  return Rpc;
13960
13952
  };
13961
- var make6 = (tag, options) => {
13953
+ var make5 = (tag, options) => {
13962
13954
  const successSchema = options?.success ?? Void;
13963
13955
  const errorSchema = options?.error ?? Never;
13964
13956
  const defectSchema = options?.defect ?? Defect();
@@ -14169,7 +14161,7 @@ var RpcGroupProto = {
14169
14161
  });
14170
14162
  },
14171
14163
  annotateRpcs(service, value) {
14172
- return this.annotateRpcsMerge(make15(service, value));
14164
+ return this.annotateRpcsMerge(make14(service, value));
14173
14165
  },
14174
14166
  annotateMerge(context) {
14175
14167
  return makeProto2({
@@ -14192,7 +14184,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14192
14184
  requests: options.requests,
14193
14185
  annotations: options.annotations
14194
14186
  });
14195
- var make7 = (...rpcs) => makeProto2({
14187
+ var make6 = (...rpcs) => makeProto2({
14196
14188
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14197
14189
  annotations: empty3()
14198
14190
  });
@@ -14298,96 +14290,96 @@ var ProgramOutcome = Union([
14298
14290
  Struct({ status: Literal("failed"), failureSummary: String4 })
14299
14291
  ]);
14300
14292
 
14301
- class RunnerReplicaRpcs extends make7(make6("Claim", {
14293
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
14302
14294
  payload: WorkUnitClaimInput,
14303
14295
  success: WorkUnitClaimResult,
14304
14296
  error: RunnerRpcError
14305
- }), make6("Heartbeat", {
14297
+ }), make5("Heartbeat", {
14306
14298
  payload: WorkUnitHeartbeatInput,
14307
14299
  success: WorkUnitHeartbeatResult,
14308
14300
  error: RunnerRpcError
14309
- }), make6("Complete", {
14301
+ }), make5("Complete", {
14310
14302
  payload: WorkUnitCompletion,
14311
14303
  error: RunnerRpcError
14312
- }), make6("Release", {
14304
+ }), make5("Release", {
14313
14305
  payload: WorkUnitReleaseInput,
14314
14306
  error: RunnerRpcError
14315
- }), make6("Signals", {
14307
+ }), make5("Signals", {
14316
14308
  payload: { runnerReplicaId: String4 },
14317
14309
  success: RunnerSignal,
14318
14310
  error: RunnerRpcError,
14319
14311
  stream: true
14320
- }), make6("ReportSteer", {
14312
+ }), make5("ReportSteer", {
14321
14313
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14322
14314
  success: Void,
14323
14315
  error: RunnerRpcError
14324
- }), make6("AppendTranscript", {
14316
+ }), make5("AppendTranscript", {
14325
14317
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14326
14318
  success: Void,
14327
14319
  error: RunnerRpcError
14328
- }), make6("CreateCheckpointFile", {
14320
+ }), make5("CreateCheckpointFile", {
14329
14321
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14330
14322
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14331
14323
  error: Union([RunnerRpcError, RunFileRefused])
14332
- }), make6("CheckpointFileParts", {
14324
+ }), make5("CheckpointFileParts", {
14333
14325
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14334
14326
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14335
14327
  error: RunnerRpcError
14336
- }), make6("CompleteCheckpointFile", {
14328
+ }), make5("CompleteCheckpointFile", {
14337
14329
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14338
14330
  success: RunFileRecord,
14339
14331
  error: RunnerRpcError
14340
- }), make6("SaveCheckpoint", {
14332
+ }), make5("SaveCheckpoint", {
14341
14333
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14342
14334
  success: Void,
14343
14335
  error: RunnerRpcError
14344
- }), make6("ResumeCheckpoint", {
14336
+ }), make5("ResumeCheckpoint", {
14345
14337
  payload: { lease: ProgramLease },
14346
14338
  success: UndefinedOr(ResumedCheckpoint),
14347
14339
  error: RunnerRpcError
14348
- }), make6("SettledCheckpoints", {
14340
+ }), make5("SettledCheckpoints", {
14349
14341
  success: ArraySchema(Struct({
14350
14342
  stepAttemptId: String4,
14351
14343
  ref: optionalKey(String4),
14352
14344
  repoBinding: optionalKey(WorkUnitRepoBinding)
14353
14345
  })),
14354
14346
  error: RunnerRpcError
14355
- }), make6("ForgetCheckpoints", {
14347
+ }), make5("ForgetCheckpoints", {
14356
14348
  payload: { stepAttemptIds: ArraySchema(String4) },
14357
14349
  success: Void,
14358
14350
  error: RunnerRpcError
14359
- }), make6("GitCredential", {
14351
+ }), make5("GitCredential", {
14360
14352
  payload: { repoBindingId: String4 },
14361
14353
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14362
14354
  error: RunnerRpcError
14363
- }), make6("Bundle", {
14355
+ }), make5("Bundle", {
14364
14356
  payload: { digest: String4 },
14365
14357
  success: Struct({ bundle: String4 }),
14366
14358
  error: RunnerRpcError
14367
- }), make6("SettledRuns", {
14359
+ }), make5("SettledRuns", {
14368
14360
  payload: { runIds: ArraySchema(String4) },
14369
14361
  success: ArraySchema(String4),
14370
14362
  error: RunnerRpcError
14371
- }), make6("KnownEvidence", {
14363
+ }), make5("KnownEvidence", {
14372
14364
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14373
14365
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14374
14366
  error: RunnerRpcError
14375
14367
  })).middleware(RunnerAuthentication) {
14376
14368
  }
14377
14369
 
14378
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14370
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14379
14371
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14380
14372
  error: RunnerRpcError
14381
- }), make6("DeferredDone", {
14373
+ }), make5("DeferredDone", {
14382
14374
  payload: { lease: ProgramLease, name: String4, exit: Json },
14383
14375
  error: RunnerRpcError
14384
- }), make6("ScheduleClock", {
14376
+ }), make5("ScheduleClock", {
14385
14377
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14386
14378
  error: RunnerRpcError
14387
- }), 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) {
14388
14380
  }
14389
14381
 
14390
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14382
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14391
14383
  payload: {
14392
14384
  lease: ProgramLease,
14393
14385
  step: String4,
@@ -14407,7 +14399,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14407
14399
  },
14408
14400
  success: Struct({ questionId: String4 }),
14409
14401
  error: RunnerRpcError
14410
- }), make6("StartAgentStep", {
14402
+ }), make5("StartAgentStep", {
14411
14403
  payload: {
14412
14404
  lease: ProgramLease,
14413
14405
  step: String4,
@@ -14423,7 +14415,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14423
14415
  },
14424
14416
  success: Struct({ stepAttemptId: String4 }),
14425
14417
  error: RunnerRpcError
14426
- }), make6("StartVerification", {
14418
+ }), make5("StartVerification", {
14427
14419
  payload: {
14428
14420
  lease: ProgramLease,
14429
14421
  step: String4,
@@ -14444,7 +14436,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14444
14436
  },
14445
14437
  success: Struct({ verificationId: String4 }),
14446
14438
  error: RunnerRpcError
14447
- }), make6("AwaitEvent", {
14439
+ }), make5("AwaitEvent", {
14448
14440
  payload: {
14449
14441
  lease: ProgramLease,
14450
14442
  step: String4,
@@ -14460,7 +14452,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14460
14452
  })))
14461
14453
  },
14462
14454
  error: RunnerRpcError
14463
- }), make6("ClaimResource", {
14455
+ }), make5("ClaimResource", {
14464
14456
  payload: {
14465
14457
  lease: ProgramLease,
14466
14458
  step: String4,
@@ -14469,7 +14461,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14469
14461
  action: Literals(["claim", "take_over", "let_go"])
14470
14462
  },
14471
14463
  error: RunnerRpcError
14472
- }), make6("AdmitChild", {
14464
+ }), make5("AdmitChild", {
14473
14465
  payload: {
14474
14466
  lease: ProgramLease,
14475
14467
  step: String4,
@@ -14480,7 +14472,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14480
14472
  },
14481
14473
  success: Struct({ runId: String4 }),
14482
14474
  error: RunnerRpcError
14483
- }), make6("StoreArtifact", {
14475
+ }), make5("StoreArtifact", {
14484
14476
  payload: {
14485
14477
  lease: ProgramLease,
14486
14478
  step: String4,
@@ -14492,7 +14484,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14492
14484
  },
14493
14485
  success: Struct({ artifactId: String4 }),
14494
14486
  error: RunnerRpcError
14495
- }), make6("RecordNote", {
14487
+ }), make5("RecordNote", {
14496
14488
  payload: {
14497
14489
  lease: ProgramLease,
14498
14490
  step: String4,
@@ -14501,7 +14493,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14501
14493
  kind: optional(Literals(["note", "blocker"]))
14502
14494
  },
14503
14495
  error: RunnerRpcError
14504
- }), make6("PerformHostEffect", {
14496
+ }), make5("PerformHostEffect", {
14505
14497
  payload: {
14506
14498
  lease: ProgramLease,
14507
14499
  step: String4,
@@ -14530,7 +14522,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14530
14522
  },
14531
14523
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14532
14524
  error: RunnerRpcError
14533
- }), make6("AlertTask", {
14525
+ }), make5("AlertTask", {
14534
14526
  payload: {
14535
14527
  lease: ProgramLease,
14536
14528
  step: String4,
@@ -14547,7 +14539,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14547
14539
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14548
14540
  }),
14549
14541
  error: RunnerRpcError
14550
- }), make6("ReadTranscripts", {
14542
+ }), make5("ReadTranscripts", {
14551
14543
  payload: {
14552
14544
  lease: ProgramLease,
14553
14545
  step: String4,
@@ -14582,7 +14574,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14582
14574
  })))
14583
14575
  }),
14584
14576
  error: RunnerRpcError
14585
- }), make6("PipelineStatus", {
14577
+ }), make5("PipelineStatus", {
14586
14578
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14587
14579
  success: Struct({
14588
14580
  head: String4,
@@ -14616,11 +14608,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14616
14608
  }))
14617
14609
  }),
14618
14610
  error: RunnerRpcError
14619
- }), make6("ReportPipeline", {
14611
+ }), make5("ReportPipeline", {
14620
14612
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14621
14613
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14622
14614
  error: RunnerRpcError
14623
- }), make6("ReviewThreads", {
14615
+ }), make5("ReviewThreads", {
14624
14616
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14625
14617
  success: Struct({
14626
14618
  threads: ArraySchema(Struct({
@@ -14632,7 +14624,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14632
14624
  }))
14633
14625
  }),
14634
14626
  error: RunnerRpcError
14635
- }), make6("OpenChangeRequests", {
14627
+ }), make5("OpenChangeRequests", {
14636
14628
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14637
14629
  success: Struct({
14638
14630
  changeRequests: ArraySchema(Struct({
@@ -14646,7 +14638,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14646
14638
  }))
14647
14639
  }),
14648
14640
  error: RunnerRpcError
14649
- }), make6("OwnChangeRequests", {
14641
+ }), make5("OwnChangeRequests", {
14650
14642
  payload: { lease: ProgramLease, step: String4 },
14651
14643
  success: Struct({
14652
14644
  changeRequests: ArraySchema(Struct({
@@ -14659,7 +14651,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14659
14651
  }))
14660
14652
  }),
14661
14653
  error: RunnerRpcError
14662
- }), make6("Propose", {
14654
+ }), make5("Propose", {
14663
14655
  payload: {
14664
14656
  lease: ProgramLease,
14665
14657
  step: String4,
@@ -14688,7 +14680,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14688
14680
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14689
14681
  }),
14690
14682
  error: RunnerRpcError
14691
- }), make6("ReadProject", {
14683
+ }), make5("ReadProject", {
14692
14684
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14693
14685
  success: Struct({
14694
14686
  project: Struct({ id: String4, name: String4 }),
@@ -14711,7 +14703,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14711
14703
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14712
14704
  }),
14713
14705
  error: RunnerRpcError
14714
- }), make6("DraftUpdate", {
14706
+ }), make5("DraftUpdate", {
14715
14707
  payload: {
14716
14708
  lease: ProgramLease,
14717
14709
  step: String4,
@@ -14726,7 +14718,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14726
14718
  },
14727
14719
  success: Struct({ id: String4 }),
14728
14720
  error: RunnerRpcError
14729
- }), make6("CreatePlanTasks", {
14721
+ }), make5("CreatePlanTasks", {
14730
14722
  payload: {
14731
14723
  lease: ProgramLease,
14732
14724
  projectId: optionalKey(String4),
@@ -14744,15 +14736,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14744
14736
  },
14745
14737
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14746
14738
  error: RunnerRpcError
14747
- }), make6("IntegrationBranch", {
14739
+ }), make5("IntegrationBranch", {
14748
14740
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14749
14741
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14750
14742
  error: RunnerRpcError
14751
- }), make6("DeliveryBase", {
14743
+ }), make5("DeliveryBase", {
14752
14744
  payload: { lease: ProgramLease },
14753
14745
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14754
14746
  error: RunnerRpcError
14755
- }), make6("MergeChangeRequest", {
14747
+ }), make5("MergeChangeRequest", {
14756
14748
  payload: {
14757
14749
  lease: ProgramLease,
14758
14750
  step: String4,
@@ -14770,7 +14762,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14770
14762
  Struct({ status: Literal("moved"), head: String4 })
14771
14763
  ]),
14772
14764
  error: RunnerRpcError
14773
- }), make6("ApproveChangeRequest", {
14765
+ }), make5("ApproveChangeRequest", {
14774
14766
  payload: {
14775
14767
  lease: ProgramLease,
14776
14768
  step: String4,
@@ -14786,7 +14778,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14786
14778
  Struct({ approved: Literal(false), reason: String4 })
14787
14779
  ]),
14788
14780
  error: RunnerRpcError
14789
- }), make6("CloseChangeRequest", {
14781
+ }), make5("CloseChangeRequest", {
14790
14782
  payload: {
14791
14783
  lease: ProgramLease,
14792
14784
  step: String4,
@@ -14796,7 +14788,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14796
14788
  },
14797
14789
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14798
14790
  error: RunnerRpcError
14799
- }), make6("RerunPipeline", {
14791
+ }), make5("RerunPipeline", {
14800
14792
  payload: {
14801
14793
  lease: ProgramLease,
14802
14794
  step: String4,
@@ -14806,7 +14798,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14806
14798
  },
14807
14799
  success: Struct({ head: String4, pipelines: Int }),
14808
14800
  error: RunnerRpcError
14809
- }), make6("PublishRelease", {
14801
+ }), make5("PublishRelease", {
14810
14802
  payload: {
14811
14803
  lease: ProgramLease,
14812
14804
  step: String4,
@@ -14818,14 +14810,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14818
14810
  },
14819
14811
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14820
14812
  error: RunnerRpcError
14821
- }), make6("ProgramSecrets", {
14813
+ }), make5("ProgramSecrets", {
14822
14814
  payload: { lease: ProgramLease },
14823
14815
  success: Record(String4, String4),
14824
14816
  error: RunnerRpcError
14825
14817
  })).middleware(RunnerAuthentication) {
14826
14818
  }
14827
14819
 
14828
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14820
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14829
14821
  payload: {
14830
14822
  lease: ProgramLease,
14831
14823
  step: String4,
@@ -14837,11 +14829,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14837
14829
  },
14838
14830
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14839
14831
  error: Union([RunnerRpcError, RunFileRefused])
14840
- }), make6("RunFileParts", {
14832
+ }), make5("RunFileParts", {
14841
14833
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14842
14834
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14843
14835
  error: RunnerRpcError
14844
- }), make6("CompleteRunFile", {
14836
+ }), make5("CompleteRunFile", {
14845
14837
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14846
14838
  success: RunFileRecord,
14847
14839
  error: RunnerRpcError
@@ -14930,7 +14922,7 @@ function toStoredSession(token, existingRefreshToken) {
14930
14922
  }
14931
14923
  function startLoopbackServer(input) {
14932
14924
  return gen(function* () {
14933
- const code = yield* make16();
14925
+ const code = yield* make15();
14934
14926
  const context2 = yield* context();
14935
14927
  const runSyncExit = runSyncExitWith(context2);
14936
14928
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15470,7 +15462,7 @@ var openConnection = (transport) => gen(function* () {
15470
15462
  let lastId = 0;
15471
15463
  let lost = false;
15472
15464
  const notifications = yield* unbounded2();
15473
- const ended = yield* make16();
15465
+ const ended = yield* make15();
15474
15466
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15475
15467
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15476
15468
  onNone: () => void_3,
@@ -15497,7 +15489,7 @@ var openConnection = (transport) => gen(function* () {
15497
15489
  if (lost)
15498
15490
  return yield* new HerdrCoreConnectionLost2({ method });
15499
15491
  const id = ++lastId;
15500
- const deferred = yield* make16();
15492
+ const deferred = yield* make15();
15501
15493
  pending.set(id, { method, deferred });
15502
15494
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15503
15495
  return yield* _await(deferred);
@@ -15571,14 +15563,14 @@ var herdrCoreOver = (transport) => ({
15571
15563
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15572
15564
  };
15573
15565
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15574
- 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)));
15575
15567
  }))
15576
15568
  });
15577
15569
  var spawnedTransport = (env) => gen(function* () {
15578
15570
  const spawner = yield* ChildProcessSpawner;
15579
15571
  const input = yield* unbounded2();
15580
15572
  const encoder = new TextEncoder;
15581
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15573
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15582
15574
  extendEnv: false,
15583
15575
  env,
15584
15576
  stdin: fromQueue(input),
@@ -15609,7 +15601,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15609
15601
  const spawner = yield* ChildProcessSpawner;
15610
15602
  const env = coreEnv(options);
15611
15603
  const run = (args) => gen(function* () {
15612
- 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" }));
15613
15605
  const [stdout, stderr, exitCode] = yield* all3([
15614
15606
  mkString(decodeText(handle.stdout)),
15615
15607
  mkString(decodeText(handle.stderr)),
@@ -15635,7 +15627,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15635
15627
  }
15636
15628
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15637
15629
  const spawner = yield* ChildProcessSpawner;
15638
- const handle = yield* spawner.spawn(make3(command, args, {
15630
+ const handle = yield* spawner.spawn(make2(command, args, {
15639
15631
  stdin: "ignore",
15640
15632
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15641
15633
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15661,8 +15653,8 @@ var shellOutputTailChars2 = 64 * 1024;
15661
15653
  var runProcess2 = (argv, options) => gen(function* () {
15662
15654
  const spawner = yield* ChildProcessSpawner;
15663
15655
  const [command, ...args] = argv;
15664
- const handle = yield* spawner.spawn(make3(command, args, {
15665
- 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)),
15666
15658
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15667
15659
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15668
15660
  }));
@@ -16094,4 +16086,4 @@ function checkServices(declaration) {
16094
16086
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16095
16087
  }
16096
16088
 
16097
- 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 };