@kitman-sh/cli 0.13.7 → 0.13.8

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-byg71zra.js → chunk-08dyrk6y.js} +10 -10
  2. package/dist/{chunk-t82w7459.js → chunk-0h49y8gf.js} +17 -26
  3. package/dist/{chunk-kk32jckf.js → chunk-5zhh41gb.js} +4 -4
  4. package/dist/{chunk-4crf5vhd.js → chunk-5zth85pj.js} +2 -2
  5. package/dist/{chunk-4bgj3b5r.js → chunk-7bytsxkf.js} +7 -7
  6. package/dist/{chunk-m406nanz.js → chunk-96svx416.js} +6 -6
  7. package/dist/{chunk-22z1yemd.js → chunk-a24jc5rx.js} +5 -3
  8. package/dist/{chunk-m079pjdy.js → chunk-byeasm6x.js} +3 -3
  9. package/dist/{chunk-t37qzgmb.js → chunk-c4ccpwjy.js} +4 -4
  10. package/dist/{chunk-mtdz4k32.js → chunk-cbpb2rww.js} +10 -10
  11. package/dist/{chunk-x44re8th.js → chunk-cq2h8q9e.js} +7 -7
  12. package/dist/{chunk-bbks1scp.js → chunk-eg1n8wvf.js} +35 -21
  13. package/dist/{chunk-8v0t5kzg.js → chunk-ff1r9vcq.js} +1 -1
  14. package/dist/{chunk-xt97vb58.js → chunk-gj1padza.js} +87 -43
  15. package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
  16. package/dist/{chunk-bs5bh8ys.js → chunk-gr17n0z3.js} +18 -18
  17. package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
  18. package/dist/{chunk-1nxcn08k.js → chunk-h1rmw7yk.js} +5 -5
  19. package/dist/{chunk-vxfajzpz.js → chunk-mtkstrh3.js} +60 -14
  20. package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
  21. package/dist/{chunk-4x3zm541.js → chunk-vm2qy986.js} +119 -108
  22. package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
  23. package/dist/{chunk-jbjz7b6n.js → chunk-z68rzf0f.js} +61 -61
  24. package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
  25. package/dist/{chunk-9g8tc40f.js → chunk-zz589n7a.js} +9 -9
  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,
@@ -194,9 +194,6 @@ import {
194
194
  logError,
195
195
  effectify,
196
196
  decode,
197
- isRedacted,
198
- make16,
199
- value,
200
197
  defaultParseOptions,
201
198
  omit,
202
199
  map9,
@@ -264,18 +261,17 @@ import {
264
261
  decodeJsonStringOption,
265
262
  encodeJsonStringSync,
266
263
  encodePrettyJsonString
267
- } from "./chunk-zgraq2y3.js";
264
+ } from "./chunk-zw3gf6r5.js";
268
265
  import {
269
266
  map,
270
267
  makeEquivalence,
271
- toNumber,
272
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,16 +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-t82w7459.js";
331
+ } from "./chunk-0h49y8gf.js";
336
332
  import {
337
333
  isDateTime,
338
334
  Numeric,
@@ -345,18 +341,22 @@ import {
345
341
  SecretScope,
346
342
  SecretHosts,
347
343
  isSecretReference
348
- } from "./chunk-pxvd8w2v.js";
344
+ } from "./chunk-q5w3v4k1.js";
349
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
350
349
  ExitCode,
351
350
  ProcessId,
352
351
  makeHandle,
353
- make,
352
+ make2,
354
353
  ChildProcessSpawner,
355
354
  display,
356
- make2,
355
+ make3,
357
356
  parseFdName,
358
357
  fdName
359
- } from "./chunk-vxfajzpz.js";
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),
@@ -8178,6 +8187,7 @@ var TeamDeliverySettings = Struct({
8178
8187
  isolatedChildBranchTemplate: BranchTemplate,
8179
8188
  delivery: DeliveryMode,
8180
8189
  hoursPerPriorityLevel: HoursPerPriorityLevel,
8190
+ agentsStateScope: Boolean2,
8181
8191
  revision: Int.check(isGreaterThanOrEqualTo(1))
8182
8192
  });
8183
8193
  var TeamDeliverySettingsUpdate = Struct({
@@ -8187,6 +8197,7 @@ var TeamDeliverySettingsUpdate = Struct({
8187
8197
  isolatedChildBranchTemplate: optionalKey(BranchTemplate),
8188
8198
  delivery: optionalKey(DeliveryMode),
8189
8199
  hoursPerPriorityLevel: optionalKey(HoursPerPriorityLevel),
8200
+ agentsStateScope: optionalKey(Boolean2),
8190
8201
  expectedRevision: Int.check(isGreaterThanOrEqualTo(1))
8191
8202
  });
8192
8203
  var TeamReference = Struct({ id: Id, workspaceId: Id, key: String4, name: String4 });
@@ -9956,14 +9967,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9956
9967
  return self;
9957
9968
  }
9958
9969
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9959
- var make4 = (method) => (url, options) => modify(empty6, {
9970
+ var make5 = (method) => (url, options) => modify(empty6, {
9960
9971
  method,
9961
9972
  url,
9962
9973
  ...options ?? undefined
9963
9974
  });
9964
- var get = /* @__PURE__ */ make4("GET");
9965
- var post = /* @__PURE__ */ make4("POST");
9966
- var put = /* @__PURE__ */ make4("PUT");
9975
+ var get = /* @__PURE__ */ make5("GET");
9976
+ var post = /* @__PURE__ */ make5("POST");
9977
+ var put = /* @__PURE__ */ make5("PUT");
9967
9978
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9968
9979
  let result = self;
9969
9980
  if (options.method) {
@@ -10264,7 +10275,7 @@ var Proto7 = {
10264
10275
  };
10265
10276
  },
10266
10277
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10267
- return this.execute(make4(fullMethod)(url, options));
10278
+ return this.execute(make5(fullMethod)(url, options));
10268
10279
  }]))
10269
10280
  };
10270
10281
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13974,7 +13985,7 @@ var makeProto = (options) => {
13974
13985
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13975
13986
  return Rpc;
13976
13987
  };
13977
- var make5 = (tag, options) => {
13988
+ var make6 = (tag, options) => {
13978
13989
  const successSchema = options?.success ?? Void;
13979
13990
  const errorSchema = options?.error ?? Never;
13980
13991
  const defectSchema = options?.defect ?? Defect();
@@ -14185,7 +14196,7 @@ var RpcGroupProto = {
14185
14196
  });
14186
14197
  },
14187
14198
  annotateRpcs(service, value) {
14188
- return this.annotateRpcsMerge(make14(service, value));
14199
+ return this.annotateRpcsMerge(make15(service, value));
14189
14200
  },
14190
14201
  annotateMerge(context) {
14191
14202
  return makeProto2({
@@ -14208,7 +14219,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14208
14219
  requests: options.requests,
14209
14220
  annotations: options.annotations
14210
14221
  });
14211
- var make6 = (...rpcs) => makeProto2({
14222
+ var make7 = (...rpcs) => makeProto2({
14212
14223
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14213
14224
  annotations: empty3()
14214
14225
  });
@@ -14314,96 +14325,96 @@ var ProgramOutcome = Union([
14314
14325
  Struct({ status: Literal("failed"), failureSummary: String4 })
14315
14326
  ]);
14316
14327
 
14317
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14328
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14318
14329
  payload: WorkUnitClaimInput,
14319
14330
  success: WorkUnitClaimResult,
14320
14331
  error: RunnerRpcError
14321
- }), make5("Heartbeat", {
14332
+ }), make6("Heartbeat", {
14322
14333
  payload: WorkUnitHeartbeatInput,
14323
14334
  success: WorkUnitHeartbeatResult,
14324
14335
  error: RunnerRpcError
14325
- }), make5("Complete", {
14336
+ }), make6("Complete", {
14326
14337
  payload: WorkUnitCompletion,
14327
14338
  error: RunnerRpcError
14328
- }), make5("Release", {
14339
+ }), make6("Release", {
14329
14340
  payload: WorkUnitReleaseInput,
14330
14341
  error: RunnerRpcError
14331
- }), make5("Signals", {
14342
+ }), make6("Signals", {
14332
14343
  payload: { runnerReplicaId: String4 },
14333
14344
  success: RunnerSignal,
14334
14345
  error: RunnerRpcError,
14335
14346
  stream: true
14336
- }), make5("ReportSteer", {
14347
+ }), make6("ReportSteer", {
14337
14348
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14338
14349
  success: Void,
14339
14350
  error: RunnerRpcError
14340
- }), make5("AppendTranscript", {
14351
+ }), make6("AppendTranscript", {
14341
14352
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14342
14353
  success: Void,
14343
14354
  error: RunnerRpcError
14344
- }), make5("CreateCheckpointFile", {
14355
+ }), make6("CreateCheckpointFile", {
14345
14356
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14346
14357
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14347
14358
  error: Union([RunnerRpcError, RunFileRefused])
14348
- }), make5("CheckpointFileParts", {
14359
+ }), make6("CheckpointFileParts", {
14349
14360
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14350
14361
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14351
14362
  error: RunnerRpcError
14352
- }), make5("CompleteCheckpointFile", {
14363
+ }), make6("CompleteCheckpointFile", {
14353
14364
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14354
14365
  success: RunFileRecord,
14355
14366
  error: RunnerRpcError
14356
- }), make5("SaveCheckpoint", {
14367
+ }), make6("SaveCheckpoint", {
14357
14368
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14358
14369
  success: Void,
14359
14370
  error: RunnerRpcError
14360
- }), make5("ResumeCheckpoint", {
14371
+ }), make6("ResumeCheckpoint", {
14361
14372
  payload: { lease: ProgramLease },
14362
14373
  success: UndefinedOr(ResumedCheckpoint),
14363
14374
  error: RunnerRpcError
14364
- }), make5("SettledCheckpoints", {
14375
+ }), make6("SettledCheckpoints", {
14365
14376
  success: ArraySchema(Struct({
14366
14377
  stepAttemptId: String4,
14367
14378
  ref: optionalKey(String4),
14368
14379
  repoBinding: optionalKey(WorkUnitRepoBinding)
14369
14380
  })),
14370
14381
  error: RunnerRpcError
14371
- }), make5("ForgetCheckpoints", {
14382
+ }), make6("ForgetCheckpoints", {
14372
14383
  payload: { stepAttemptIds: ArraySchema(String4) },
14373
14384
  success: Void,
14374
14385
  error: RunnerRpcError
14375
- }), make5("GitCredential", {
14386
+ }), make6("GitCredential", {
14376
14387
  payload: { repoBindingId: String4 },
14377
14388
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14378
14389
  error: RunnerRpcError
14379
- }), make5("Bundle", {
14390
+ }), make6("Bundle", {
14380
14391
  payload: { digest: String4 },
14381
14392
  success: Struct({ bundle: String4 }),
14382
14393
  error: RunnerRpcError
14383
- }), make5("SettledRuns", {
14394
+ }), make6("SettledRuns", {
14384
14395
  payload: { runIds: ArraySchema(String4) },
14385
14396
  success: ArraySchema(String4),
14386
14397
  error: RunnerRpcError
14387
- }), make5("KnownEvidence", {
14398
+ }), make6("KnownEvidence", {
14388
14399
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14389
14400
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14390
14401
  error: RunnerRpcError
14391
14402
  })).middleware(RunnerAuthentication) {
14392
14403
  }
14393
14404
 
14394
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14405
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14395
14406
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14396
14407
  error: RunnerRpcError
14397
- }), make5("DeferredDone", {
14408
+ }), make6("DeferredDone", {
14398
14409
  payload: { lease: ProgramLease, name: String4, exit: Json },
14399
14410
  error: RunnerRpcError
14400
- }), make5("ScheduleClock", {
14411
+ }), make6("ScheduleClock", {
14401
14412
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14402
14413
  error: RunnerRpcError
14403
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14414
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14404
14415
  }
14405
14416
 
14406
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14417
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14407
14418
  payload: {
14408
14419
  lease: ProgramLease,
14409
14420
  step: String4,
@@ -14423,7 +14434,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14423
14434
  },
14424
14435
  success: Struct({ questionId: String4 }),
14425
14436
  error: RunnerRpcError
14426
- }), make5("StartAgentStep", {
14437
+ }), make6("StartAgentStep", {
14427
14438
  payload: {
14428
14439
  lease: ProgramLease,
14429
14440
  step: String4,
@@ -14439,7 +14450,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14439
14450
  },
14440
14451
  success: Struct({ stepAttemptId: String4 }),
14441
14452
  error: RunnerRpcError
14442
- }), make5("StartVerification", {
14453
+ }), make6("StartVerification", {
14443
14454
  payload: {
14444
14455
  lease: ProgramLease,
14445
14456
  step: String4,
@@ -14460,7 +14471,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14460
14471
  },
14461
14472
  success: Struct({ verificationId: String4 }),
14462
14473
  error: RunnerRpcError
14463
- }), make5("AwaitEvent", {
14474
+ }), make6("AwaitEvent", {
14464
14475
  payload: {
14465
14476
  lease: ProgramLease,
14466
14477
  step: String4,
@@ -14476,7 +14487,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14476
14487
  })))
14477
14488
  },
14478
14489
  error: RunnerRpcError
14479
- }), make5("ClaimResource", {
14490
+ }), make6("ClaimResource", {
14480
14491
  payload: {
14481
14492
  lease: ProgramLease,
14482
14493
  step: String4,
@@ -14485,7 +14496,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14485
14496
  action: Literals(["claim", "take_over", "let_go"])
14486
14497
  },
14487
14498
  error: RunnerRpcError
14488
- }), make5("AdmitChild", {
14499
+ }), make6("AdmitChild", {
14489
14500
  payload: {
14490
14501
  lease: ProgramLease,
14491
14502
  step: String4,
@@ -14496,7 +14507,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14496
14507
  },
14497
14508
  success: Struct({ runId: String4 }),
14498
14509
  error: RunnerRpcError
14499
- }), make5("StoreArtifact", {
14510
+ }), make6("StoreArtifact", {
14500
14511
  payload: {
14501
14512
  lease: ProgramLease,
14502
14513
  step: String4,
@@ -14508,7 +14519,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14508
14519
  },
14509
14520
  success: Struct({ artifactId: String4 }),
14510
14521
  error: RunnerRpcError
14511
- }), make5("RecordNote", {
14522
+ }), make6("RecordNote", {
14512
14523
  payload: {
14513
14524
  lease: ProgramLease,
14514
14525
  step: String4,
@@ -14517,7 +14528,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14517
14528
  kind: optional(Literals(["note", "blocker"]))
14518
14529
  },
14519
14530
  error: RunnerRpcError
14520
- }), make5("PerformHostEffect", {
14531
+ }), make6("PerformHostEffect", {
14521
14532
  payload: {
14522
14533
  lease: ProgramLease,
14523
14534
  step: String4,
@@ -14546,7 +14557,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14546
14557
  },
14547
14558
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14548
14559
  error: RunnerRpcError
14549
- }), make5("AlertTask", {
14560
+ }), make6("AlertTask", {
14550
14561
  payload: {
14551
14562
  lease: ProgramLease,
14552
14563
  step: String4,
@@ -14563,7 +14574,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14563
14574
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14564
14575
  }),
14565
14576
  error: RunnerRpcError
14566
- }), make5("ReadTranscripts", {
14577
+ }), make6("ReadTranscripts", {
14567
14578
  payload: {
14568
14579
  lease: ProgramLease,
14569
14580
  step: String4,
@@ -14598,7 +14609,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14598
14609
  })))
14599
14610
  }),
14600
14611
  error: RunnerRpcError
14601
- }), make5("PipelineStatus", {
14612
+ }), make6("PipelineStatus", {
14602
14613
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14603
14614
  success: Struct({
14604
14615
  head: String4,
@@ -14632,11 +14643,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14632
14643
  }))
14633
14644
  }),
14634
14645
  error: RunnerRpcError
14635
- }), make5("ReportPipeline", {
14646
+ }), make6("ReportPipeline", {
14636
14647
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14637
14648
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14638
14649
  error: RunnerRpcError
14639
- }), make5("ReviewThreads", {
14650
+ }), make6("ReviewThreads", {
14640
14651
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14641
14652
  success: Struct({
14642
14653
  threads: ArraySchema(Struct({
@@ -14648,7 +14659,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14648
14659
  }))
14649
14660
  }),
14650
14661
  error: RunnerRpcError
14651
- }), make5("OpenChangeRequests", {
14662
+ }), make6("OpenChangeRequests", {
14652
14663
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14653
14664
  success: Struct({
14654
14665
  changeRequests: ArraySchema(Struct({
@@ -14662,7 +14673,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14662
14673
  }))
14663
14674
  }),
14664
14675
  error: RunnerRpcError
14665
- }), make5("OwnChangeRequests", {
14676
+ }), make6("OwnChangeRequests", {
14666
14677
  payload: { lease: ProgramLease, step: String4 },
14667
14678
  success: Struct({
14668
14679
  changeRequests: ArraySchema(Struct({
@@ -14675,7 +14686,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14675
14686
  }))
14676
14687
  }),
14677
14688
  error: RunnerRpcError
14678
- }), make5("Propose", {
14689
+ }), make6("Propose", {
14679
14690
  payload: {
14680
14691
  lease: ProgramLease,
14681
14692
  step: String4,
@@ -14704,7 +14715,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14704
14715
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14705
14716
  }),
14706
14717
  error: RunnerRpcError
14707
- }), make5("ReadProject", {
14718
+ }), make6("ReadProject", {
14708
14719
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14709
14720
  success: Struct({
14710
14721
  project: Struct({ id: String4, name: String4 }),
@@ -14727,7 +14738,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14727
14738
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14728
14739
  }),
14729
14740
  error: RunnerRpcError
14730
- }), make5("DraftUpdate", {
14741
+ }), make6("DraftUpdate", {
14731
14742
  payload: {
14732
14743
  lease: ProgramLease,
14733
14744
  step: String4,
@@ -14742,7 +14753,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14742
14753
  },
14743
14754
  success: Struct({ id: String4 }),
14744
14755
  error: RunnerRpcError
14745
- }), make5("CreatePlanTasks", {
14756
+ }), make6("CreatePlanTasks", {
14746
14757
  payload: {
14747
14758
  lease: ProgramLease,
14748
14759
  projectId: optionalKey(String4),
@@ -14762,15 +14773,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14762
14773
  },
14763
14774
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14764
14775
  error: RunnerRpcError
14765
- }), make5("IntegrationBranch", {
14776
+ }), make6("IntegrationBranch", {
14766
14777
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14767
14778
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14768
14779
  error: RunnerRpcError
14769
- }), make5("DeliveryBase", {
14780
+ }), make6("DeliveryBase", {
14770
14781
  payload: { lease: ProgramLease },
14771
14782
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14772
14783
  error: RunnerRpcError
14773
- }), make5("MergeChangeRequest", {
14784
+ }), make6("MergeChangeRequest", {
14774
14785
  payload: {
14775
14786
  lease: ProgramLease,
14776
14787
  step: String4,
@@ -14788,7 +14799,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14788
14799
  Struct({ status: Literal("moved"), head: String4 })
14789
14800
  ]),
14790
14801
  error: RunnerRpcError
14791
- }), make5("ApproveChangeRequest", {
14802
+ }), make6("ApproveChangeRequest", {
14792
14803
  payload: {
14793
14804
  lease: ProgramLease,
14794
14805
  step: String4,
@@ -14804,7 +14815,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14804
14815
  Struct({ approved: Literal(false), reason: String4 })
14805
14816
  ]),
14806
14817
  error: RunnerRpcError
14807
- }), make5("CloseChangeRequest", {
14818
+ }), make6("CloseChangeRequest", {
14808
14819
  payload: {
14809
14820
  lease: ProgramLease,
14810
14821
  step: String4,
@@ -14814,7 +14825,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14814
14825
  },
14815
14826
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14816
14827
  error: RunnerRpcError
14817
- }), make5("RerunPipeline", {
14828
+ }), make6("RerunPipeline", {
14818
14829
  payload: {
14819
14830
  lease: ProgramLease,
14820
14831
  step: String4,
@@ -14824,7 +14835,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14824
14835
  },
14825
14836
  success: Struct({ head: String4, pipelines: Int }),
14826
14837
  error: RunnerRpcError
14827
- }), make5("PublishRelease", {
14838
+ }), make6("PublishRelease", {
14828
14839
  payload: {
14829
14840
  lease: ProgramLease,
14830
14841
  step: String4,
@@ -14836,14 +14847,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14836
14847
  },
14837
14848
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14838
14849
  error: RunnerRpcError
14839
- }), make5("ProgramSecrets", {
14850
+ }), make6("ProgramSecrets", {
14840
14851
  payload: { lease: ProgramLease },
14841
14852
  success: Record(String4, String4),
14842
14853
  error: RunnerRpcError
14843
14854
  })).middleware(RunnerAuthentication) {
14844
14855
  }
14845
14856
 
14846
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14857
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14847
14858
  payload: {
14848
14859
  lease: ProgramLease,
14849
14860
  step: String4,
@@ -14855,11 +14866,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14855
14866
  },
14856
14867
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14857
14868
  error: Union([RunnerRpcError, RunFileRefused])
14858
- }), make5("RunFileParts", {
14869
+ }), make6("RunFileParts", {
14859
14870
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14860
14871
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14861
14872
  error: RunnerRpcError
14862
- }), make5("CompleteRunFile", {
14873
+ }), make6("CompleteRunFile", {
14863
14874
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14864
14875
  success: RunFileRecord,
14865
14876
  error: RunnerRpcError
@@ -14948,7 +14959,7 @@ function toStoredSession(token, existingRefreshToken) {
14948
14959
  }
14949
14960
  function startLoopbackServer(input) {
14950
14961
  return gen(function* () {
14951
- const code = yield* make15();
14962
+ const code = yield* make16();
14952
14963
  const context2 = yield* context();
14953
14964
  const runSyncExit = runSyncExitWith(context2);
14954
14965
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15488,7 +15499,7 @@ var openConnection = (transport) => gen(function* () {
15488
15499
  let lastId = 0;
15489
15500
  let lost = false;
15490
15501
  const notifications = yield* unbounded2();
15491
- const ended = yield* make15();
15502
+ const ended = yield* make16();
15492
15503
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15493
15504
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15494
15505
  onNone: () => void_3,
@@ -15515,7 +15526,7 @@ var openConnection = (transport) => gen(function* () {
15515
15526
  if (lost)
15516
15527
  return yield* new HerdrCoreConnectionLost2({ method });
15517
15528
  const id = ++lastId;
15518
- const deferred = yield* make15();
15529
+ const deferred = yield* make16();
15519
15530
  pending.set(id, { method, deferred });
15520
15531
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15521
15532
  return yield* _await(deferred);
@@ -15589,14 +15600,14 @@ var herdrCoreOver = (transport) => ({
15589
15600
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15590
15601
  };
15591
15602
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15592
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15603
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15593
15604
  }))
15594
15605
  });
15595
15606
  var spawnedTransport = (env) => gen(function* () {
15596
15607
  const spawner = yield* ChildProcessSpawner;
15597
15608
  const input = yield* unbounded2();
15598
15609
  const encoder = new TextEncoder;
15599
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15610
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15600
15611
  extendEnv: false,
15601
15612
  env,
15602
15613
  stdin: fromQueue(input),
@@ -15627,7 +15638,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15627
15638
  const spawner = yield* ChildProcessSpawner;
15628
15639
  const env = coreEnv(options);
15629
15640
  const run = (args) => gen(function* () {
15630
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15641
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15631
15642
  const [stdout, stderr, exitCode] = yield* all3([
15632
15643
  mkString(decodeText(handle.stdout)),
15633
15644
  mkString(decodeText(handle.stderr)),
@@ -15653,7 +15664,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15653
15664
  }
15654
15665
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15655
15666
  const spawner = yield* ChildProcessSpawner;
15656
- const handle = yield* spawner.spawn(make2(command, args, {
15667
+ const handle = yield* spawner.spawn(make3(command, args, {
15657
15668
  stdin: "ignore",
15658
15669
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15659
15670
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15679,8 +15690,8 @@ var shellOutputTailChars2 = 64 * 1024;
15679
15690
  var runProcess2 = (argv, options) => gen(function* () {
15680
15691
  const spawner = yield* ChildProcessSpawner;
15681
15692
  const [command, ...args] = argv;
15682
- const handle = yield* spawner.spawn(make2(command, args, {
15683
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15693
+ const handle = yield* spawner.spawn(make3(command, args, {
15694
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15684
15695
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15685
15696
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15686
15697
  }));
@@ -16112,4 +16123,4 @@ function checkServices(declaration) {
16112
16123
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16113
16124
  }
16114
16125
 
16115
- 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, releaseChannelOffers, 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, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16126
+ 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, releaseChannelOffers, 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, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };