@kitman-sh/cli 0.12.13 → 0.12.14

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-cxqaccxr.js → chunk-0300vp5q.js} +6 -6
  2. package/dist/{chunk-20qmtmt2.js → chunk-0h49y8gf.js} +17 -17
  3. package/dist/{chunk-4hdk4bje.js → chunk-51ye0af0.js} +7 -7
  4. package/dist/{chunk-dmbcgwea.js → chunk-5wnjn5r0.js} +5 -5
  5. package/dist/{chunk-vp2xdw4r.js → chunk-5zhh41gb.js} +4 -4
  6. package/dist/{chunk-73fqehr2.js → chunk-5zth85pj.js} +2 -2
  7. package/dist/{chunk-ntxzkz25.js → chunk-br7t2pre.js} +23 -23
  8. package/dist/{chunk-853g269m.js → chunk-bzq3bz0d.js} +22 -22
  9. package/dist/{chunk-qpfb12g1.js → chunk-cbpb2rww.js} +7 -7
  10. package/dist/{chunk-n1mzvqt2.js → chunk-f0h8f3kw.js} +4 -4
  11. package/dist/{chunk-vnfshhpk.js → chunk-gnxa022f.js} +1 -1
  12. package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
  13. package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
  14. package/dist/{chunk-mr95mxxv.js → chunk-hh7rg13h.js} +21 -21
  15. package/dist/{chunk-rjxkcjb2.js → chunk-hhnx6314.js} +7 -7
  16. package/dist/{chunk-5f8whb7j.js → chunk-mtkstrh3.js} +60 -14
  17. package/dist/{chunk-1msvjdrq.js → chunk-mxq6zpkw.js} +4 -4
  18. package/dist/{chunk-hb71prd2.js → chunk-q44g4vf7.js} +4 -4
  19. package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
  20. package/dist/{chunk-axh2mt1y.js → chunk-tfd4pnnt.js} +1 -1
  21. package/dist/{chunk-vm5s72rr.js → chunk-wx3cx43j.js} +107 -107
  22. package/dist/{chunk-fsmh52xq.js → chunk-x7574rns.js} +18 -18
  23. package/dist/{chunk-vmhpnqss.js → chunk-xgdyj09a.js} +3 -3
  24. package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
  25. package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
  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,7 +261,7 @@ 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,
@@ -273,8 +270,8 @@ import {
273
270
  systemError,
274
271
  badArgument,
275
272
  makeUnsafe2,
276
- make7,
277
273
  make8,
274
+ make9,
278
275
  sliding,
279
276
  unbounded2,
280
277
  offer,
@@ -290,13 +287,13 @@ import {
290
287
  isSink,
291
288
  fromChannel,
292
289
  drain,
293
- make9,
290
+ make10,
294
291
  get3,
295
292
  isStream,
296
293
  fromChannel2,
297
294
  callback,
298
295
  empty2,
299
- make10,
296
+ make11,
300
297
  suspend,
301
298
  fail2,
302
299
  fromQueue,
@@ -322,16 +319,16 @@ import {
322
319
  mkArrayBuffer,
323
320
  toReadableStreamEffect,
324
321
  FileSystem,
325
- make11,
322
+ make12,
326
323
  FileTypeId,
327
324
  WatchBackend,
328
325
  Path,
329
- make12,
326
+ make13,
330
327
  option,
331
328
  String2,
332
329
  optionalEnv,
333
330
  harnessesUnsupportedInSrt2
334
- } from "./chunk-20qmtmt2.js";
331
+ } from "./chunk-0h49y8gf.js";
335
332
  import {
336
333
  isDateTime,
337
334
  Numeric,
@@ -344,18 +341,21 @@ import {
344
341
  SecretScope,
345
342
  SecretHosts,
346
343
  isSecretReference
347
- } from "./chunk-pxvd8w2v.js";
344
+ } from "./chunk-q5w3v4k1.js";
348
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
349
349
  ExitCode,
350
350
  ProcessId,
351
351
  makeHandle,
352
- make,
352
+ make2,
353
353
  ChildProcessSpawner,
354
354
  display,
355
- make2,
355
+ make3,
356
356
  parseFdName,
357
357
  fdName
358
- } from "./chunk-5f8whb7j.js";
358
+ } from "./chunk-mtkstrh3.js";
359
359
 
360
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
361
361
  var makeEquivalence3 = Tuple;
@@ -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);
@@ -908,7 +908,7 @@ var toNumber = (b) => {
908
908
 
909
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
910
910
  var makeUnsafe = makeUnsafe6;
911
- var make18 = make3;
911
+ var make18 = make4;
912
912
  var now2 = now;
913
913
  var nowUnsafe2 = nowUnsafe;
914
914
  var toDateUtc2 = toDateUtc;
@@ -1123,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1123
1123
  const readable = options.readable;
1124
1124
  const chunkSize = options.chunkSize ?? 4096;
1125
1125
  const closeOnDone = options.closeOnDone ?? true;
1126
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1127
1127
  const latch = options.latch ?? makeUnsafe2(false);
1128
1128
  function onReadable() {
1129
1129
  latch.openUnsafe();
@@ -1687,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1687
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1688
1688
  const toOption = options.to ?? "stdin";
1689
1689
  if (toOption === "stdin") {
1690
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1691
1691
  ...command.options,
1692
1692
  stdin: {
1693
1693
  ...stdinConfig,
@@ -1707,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1707
1707
  type: "input",
1708
1708
  stream: sourceStream
1709
1709
  };
1710
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1711
1711
  ...command.options,
1712
1712
  additionalFds: {
1713
1713
  ...existingFds,
@@ -1715,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1715
1715
  }
1716
1716
  })));
1717
1717
  } else {
1718
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1719
1719
  ...command.options,
1720
1720
  stdin: {
1721
1721
  ...stdinConfig,
@@ -1754,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1754
1754
  }
1755
1755
  }
1756
1756
  });
1757
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1758
1758
  });
1759
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1760
1760
  var flattenCommand = (command) => {
@@ -2240,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2240
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2241
2241
  }
2242
2242
  });
2243
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2244
2244
  access: access2,
2245
2245
  chmod: chmod2,
2246
2246
  chown: chown2,
@@ -2300,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2300
2300
  })
2301
2301
  })
2302
2302
  });
2303
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2304
2304
  ...NodePath.posix,
2305
2305
  .../* @__PURE__ */ fileUrlOps(false)
2306
2306
  }));
2307
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2308
2308
  ...NodePath.win32,
2309
2309
  .../* @__PURE__ */ fileUrlOps(true)
2310
2310
  }));
2311
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2312
2312
  ...NodePath,
2313
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2314
2314
  }));
@@ -2830,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2830
2830
  if (typeof key === "string") {
2831
2831
  const k = key.toLowerCase();
2832
2832
  if (k in self) {
2833
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2834
2834
  }
2835
2835
  } else {
2836
2836
  for (const name in self) {
2837
2837
  if (name.search(key) !== -1) {
2838
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2839
2839
  }
2840
2840
  }
2841
2841
  }
@@ -2942,7 +2942,7 @@ var fromInputNested = (input) => {
2942
2942
  return out;
2943
2943
  };
2944
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2945
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2946
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2947
2947
  var empty4 = /* @__PURE__ */ make23([]);
2948
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2961,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2961
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2962
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2963
2963
  const patterns = Array.isArray(key) ? key : [key];
2964
- 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]);
2965
2965
  });
2966
2966
  var isRedactedName2 = isRedactedName;
2967
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3037,7 +3037,7 @@ import * as readline from "readline";
3037
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3038
3038
  const stdin = process.stdin;
3039
3039
  const stdout = process.stdout;
3040
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3041
3041
  let inputEnded = stdin.readableEnded;
3042
3042
  let readlineActive = false;
3043
3043
  const onStdinEnd = () => {
@@ -3048,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3048
3048
  };
3049
3049
  stdin.once("end", onStdinEnd);
3050
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3051
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3052
3052
  acquire: acquireRelease(sync2(() => {
3053
3053
  const rl = readline.createInterface({
3054
3054
  input: stdin,
@@ -3087,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3087
3087
  if (stdin.isTTY)
3088
3088
  stdin.setRawMode(enabled);
3089
3089
  });
3090
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3091
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3092
3092
  idleTimeToLive: "10 millis"
3093
3093
  });
@@ -3108,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3108
3108
  return queue;
3109
3109
  });
3110
3110
  const readInput = gen(function* () {
3111
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3112
3112
  const handleKeypress = (s, k) => {
3113
3113
  const userInput = {
3114
3114
  input: fromUndefinedOr(s),
@@ -9955,14 +9955,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9955
9955
  return self;
9956
9956
  }
9957
9957
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9958
- var make4 = (method) => (url, options) => modify(empty6, {
9958
+ var make5 = (method) => (url, options) => modify(empty6, {
9959
9959
  method,
9960
9960
  url,
9961
9961
  ...options ?? undefined
9962
9962
  });
9963
- var get = /* @__PURE__ */ make4("GET");
9964
- var post = /* @__PURE__ */ make4("POST");
9965
- var put = /* @__PURE__ */ make4("PUT");
9963
+ var get = /* @__PURE__ */ make5("GET");
9964
+ var post = /* @__PURE__ */ make5("POST");
9965
+ var put = /* @__PURE__ */ make5("PUT");
9966
9966
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9967
9967
  let result = self;
9968
9968
  if (options.method) {
@@ -10263,7 +10263,7 @@ var Proto7 = {
10263
10263
  };
10264
10264
  },
10265
10265
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10266
- return this.execute(make4(fullMethod)(url, options));
10266
+ return this.execute(make5(fullMethod)(url, options));
10267
10267
  }]))
10268
10268
  };
10269
10269
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13960,7 +13960,7 @@ var makeProto = (options) => {
13960
13960
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13961
13961
  return Rpc;
13962
13962
  };
13963
- var make5 = (tag, options) => {
13963
+ var make6 = (tag, options) => {
13964
13964
  const successSchema = options?.success ?? Void;
13965
13965
  const errorSchema = options?.error ?? Never;
13966
13966
  const defectSchema = options?.defect ?? Defect();
@@ -14171,7 +14171,7 @@ var RpcGroupProto = {
14171
14171
  });
14172
14172
  },
14173
14173
  annotateRpcs(service, value) {
14174
- return this.annotateRpcsMerge(make14(service, value));
14174
+ return this.annotateRpcsMerge(make15(service, value));
14175
14175
  },
14176
14176
  annotateMerge(context) {
14177
14177
  return makeProto2({
@@ -14194,7 +14194,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14194
14194
  requests: options.requests,
14195
14195
  annotations: options.annotations
14196
14196
  });
14197
- var make6 = (...rpcs) => makeProto2({
14197
+ var make7 = (...rpcs) => makeProto2({
14198
14198
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14199
14199
  annotations: empty3()
14200
14200
  });
@@ -14300,96 +14300,96 @@ var ProgramOutcome = Union([
14300
14300
  Struct({ status: Literal("failed"), failureSummary: String4 })
14301
14301
  ]);
14302
14302
 
14303
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14303
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14304
14304
  payload: WorkUnitClaimInput,
14305
14305
  success: WorkUnitClaimResult,
14306
14306
  error: RunnerRpcError
14307
- }), make5("Heartbeat", {
14307
+ }), make6("Heartbeat", {
14308
14308
  payload: WorkUnitHeartbeatInput,
14309
14309
  success: WorkUnitHeartbeatResult,
14310
14310
  error: RunnerRpcError
14311
- }), make5("Complete", {
14311
+ }), make6("Complete", {
14312
14312
  payload: WorkUnitCompletion,
14313
14313
  error: RunnerRpcError
14314
- }), make5("Release", {
14314
+ }), make6("Release", {
14315
14315
  payload: WorkUnitReleaseInput,
14316
14316
  error: RunnerRpcError
14317
- }), make5("Signals", {
14317
+ }), make6("Signals", {
14318
14318
  payload: { runnerReplicaId: String4 },
14319
14319
  success: RunnerSignal,
14320
14320
  error: RunnerRpcError,
14321
14321
  stream: true
14322
- }), make5("ReportSteer", {
14322
+ }), make6("ReportSteer", {
14323
14323
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14324
14324
  success: Void,
14325
14325
  error: RunnerRpcError
14326
- }), make5("AppendTranscript", {
14326
+ }), make6("AppendTranscript", {
14327
14327
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14328
14328
  success: Void,
14329
14329
  error: RunnerRpcError
14330
- }), make5("CreateCheckpointFile", {
14330
+ }), make6("CreateCheckpointFile", {
14331
14331
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14332
14332
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14333
14333
  error: Union([RunnerRpcError, RunFileRefused])
14334
- }), make5("CheckpointFileParts", {
14334
+ }), make6("CheckpointFileParts", {
14335
14335
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14336
14336
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14337
14337
  error: RunnerRpcError
14338
- }), make5("CompleteCheckpointFile", {
14338
+ }), make6("CompleteCheckpointFile", {
14339
14339
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14340
14340
  success: RunFileRecord,
14341
14341
  error: RunnerRpcError
14342
- }), make5("SaveCheckpoint", {
14342
+ }), make6("SaveCheckpoint", {
14343
14343
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14344
14344
  success: Void,
14345
14345
  error: RunnerRpcError
14346
- }), make5("ResumeCheckpoint", {
14346
+ }), make6("ResumeCheckpoint", {
14347
14347
  payload: { lease: ProgramLease },
14348
14348
  success: UndefinedOr(ResumedCheckpoint),
14349
14349
  error: RunnerRpcError
14350
- }), make5("SettledCheckpoints", {
14350
+ }), make6("SettledCheckpoints", {
14351
14351
  success: ArraySchema(Struct({
14352
14352
  stepAttemptId: String4,
14353
14353
  ref: optionalKey(String4),
14354
14354
  repoBinding: optionalKey(WorkUnitRepoBinding)
14355
14355
  })),
14356
14356
  error: RunnerRpcError
14357
- }), make5("ForgetCheckpoints", {
14357
+ }), make6("ForgetCheckpoints", {
14358
14358
  payload: { stepAttemptIds: ArraySchema(String4) },
14359
14359
  success: Void,
14360
14360
  error: RunnerRpcError
14361
- }), make5("GitCredential", {
14361
+ }), make6("GitCredential", {
14362
14362
  payload: { repoBindingId: String4 },
14363
14363
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14364
14364
  error: RunnerRpcError
14365
- }), make5("Bundle", {
14365
+ }), make6("Bundle", {
14366
14366
  payload: { digest: String4 },
14367
14367
  success: Struct({ bundle: String4 }),
14368
14368
  error: RunnerRpcError
14369
- }), make5("SettledRuns", {
14369
+ }), make6("SettledRuns", {
14370
14370
  payload: { runIds: ArraySchema(String4) },
14371
14371
  success: ArraySchema(String4),
14372
14372
  error: RunnerRpcError
14373
- }), make5("KnownEvidence", {
14373
+ }), make6("KnownEvidence", {
14374
14374
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14375
14375
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14376
14376
  error: RunnerRpcError
14377
14377
  })).middleware(RunnerAuthentication) {
14378
14378
  }
14379
14379
 
14380
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14380
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14381
14381
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14382
14382
  error: RunnerRpcError
14383
- }), make5("DeferredDone", {
14383
+ }), make6("DeferredDone", {
14384
14384
  payload: { lease: ProgramLease, name: String4, exit: Json },
14385
14385
  error: RunnerRpcError
14386
- }), make5("ScheduleClock", {
14386
+ }), make6("ScheduleClock", {
14387
14387
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14388
14388
  error: RunnerRpcError
14389
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14389
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14390
14390
  }
14391
14391
 
14392
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14392
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14393
14393
  payload: {
14394
14394
  lease: ProgramLease,
14395
14395
  step: String4,
@@ -14409,7 +14409,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14409
14409
  },
14410
14410
  success: Struct({ questionId: String4 }),
14411
14411
  error: RunnerRpcError
14412
- }), make5("StartAgentStep", {
14412
+ }), make6("StartAgentStep", {
14413
14413
  payload: {
14414
14414
  lease: ProgramLease,
14415
14415
  step: String4,
@@ -14425,7 +14425,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14425
14425
  },
14426
14426
  success: Struct({ stepAttemptId: String4 }),
14427
14427
  error: RunnerRpcError
14428
- }), make5("StartVerification", {
14428
+ }), make6("StartVerification", {
14429
14429
  payload: {
14430
14430
  lease: ProgramLease,
14431
14431
  step: String4,
@@ -14446,7 +14446,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14446
14446
  },
14447
14447
  success: Struct({ verificationId: String4 }),
14448
14448
  error: RunnerRpcError
14449
- }), make5("AwaitEvent", {
14449
+ }), make6("AwaitEvent", {
14450
14450
  payload: {
14451
14451
  lease: ProgramLease,
14452
14452
  step: String4,
@@ -14462,7 +14462,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14462
14462
  })))
14463
14463
  },
14464
14464
  error: RunnerRpcError
14465
- }), make5("ClaimResource", {
14465
+ }), make6("ClaimResource", {
14466
14466
  payload: {
14467
14467
  lease: ProgramLease,
14468
14468
  step: String4,
@@ -14471,7 +14471,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14471
14471
  action: Literals(["claim", "take_over", "let_go"])
14472
14472
  },
14473
14473
  error: RunnerRpcError
14474
- }), make5("AdmitChild", {
14474
+ }), make6("AdmitChild", {
14475
14475
  payload: {
14476
14476
  lease: ProgramLease,
14477
14477
  step: String4,
@@ -14482,7 +14482,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14482
14482
  },
14483
14483
  success: Struct({ runId: String4 }),
14484
14484
  error: RunnerRpcError
14485
- }), make5("StoreArtifact", {
14485
+ }), make6("StoreArtifact", {
14486
14486
  payload: {
14487
14487
  lease: ProgramLease,
14488
14488
  step: String4,
@@ -14494,7 +14494,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14494
14494
  },
14495
14495
  success: Struct({ artifactId: String4 }),
14496
14496
  error: RunnerRpcError
14497
- }), make5("RecordNote", {
14497
+ }), make6("RecordNote", {
14498
14498
  payload: {
14499
14499
  lease: ProgramLease,
14500
14500
  step: String4,
@@ -14503,7 +14503,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14503
14503
  kind: optional(Literals(["note", "blocker"]))
14504
14504
  },
14505
14505
  error: RunnerRpcError
14506
- }), make5("PerformHostEffect", {
14506
+ }), make6("PerformHostEffect", {
14507
14507
  payload: {
14508
14508
  lease: ProgramLease,
14509
14509
  step: String4,
@@ -14532,7 +14532,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14532
14532
  },
14533
14533
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14534
14534
  error: RunnerRpcError
14535
- }), make5("AlertTask", {
14535
+ }), make6("AlertTask", {
14536
14536
  payload: {
14537
14537
  lease: ProgramLease,
14538
14538
  step: String4,
@@ -14549,7 +14549,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14549
14549
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14550
14550
  }),
14551
14551
  error: RunnerRpcError
14552
- }), make5("ReadTranscripts", {
14552
+ }), make6("ReadTranscripts", {
14553
14553
  payload: {
14554
14554
  lease: ProgramLease,
14555
14555
  step: String4,
@@ -14584,7 +14584,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14584
14584
  })))
14585
14585
  }),
14586
14586
  error: RunnerRpcError
14587
- }), make5("PipelineStatus", {
14587
+ }), make6("PipelineStatus", {
14588
14588
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14589
14589
  success: Struct({
14590
14590
  head: String4,
@@ -14618,11 +14618,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14618
14618
  }))
14619
14619
  }),
14620
14620
  error: RunnerRpcError
14621
- }), make5("ReportPipeline", {
14621
+ }), make6("ReportPipeline", {
14622
14622
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14623
14623
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14624
14624
  error: RunnerRpcError
14625
- }), make5("ReviewThreads", {
14625
+ }), make6("ReviewThreads", {
14626
14626
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14627
14627
  success: Struct({
14628
14628
  threads: ArraySchema(Struct({
@@ -14634,7 +14634,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14634
14634
  }))
14635
14635
  }),
14636
14636
  error: RunnerRpcError
14637
- }), make5("OpenChangeRequests", {
14637
+ }), make6("OpenChangeRequests", {
14638
14638
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14639
14639
  success: Struct({
14640
14640
  changeRequests: ArraySchema(Struct({
@@ -14648,7 +14648,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14648
14648
  }))
14649
14649
  }),
14650
14650
  error: RunnerRpcError
14651
- }), make5("OwnChangeRequests", {
14651
+ }), make6("OwnChangeRequests", {
14652
14652
  payload: { lease: ProgramLease, step: String4 },
14653
14653
  success: Struct({
14654
14654
  changeRequests: ArraySchema(Struct({
@@ -14661,7 +14661,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14661
14661
  }))
14662
14662
  }),
14663
14663
  error: RunnerRpcError
14664
- }), make5("Propose", {
14664
+ }), make6("Propose", {
14665
14665
  payload: {
14666
14666
  lease: ProgramLease,
14667
14667
  step: String4,
@@ -14690,7 +14690,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14690
14690
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14691
14691
  }),
14692
14692
  error: RunnerRpcError
14693
- }), make5("ReadProject", {
14693
+ }), make6("ReadProject", {
14694
14694
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14695
14695
  success: Struct({
14696
14696
  project: Struct({ id: String4, name: String4 }),
@@ -14713,7 +14713,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14713
14713
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14714
14714
  }),
14715
14715
  error: RunnerRpcError
14716
- }), make5("DraftUpdate", {
14716
+ }), make6("DraftUpdate", {
14717
14717
  payload: {
14718
14718
  lease: ProgramLease,
14719
14719
  step: String4,
@@ -14728,7 +14728,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14728
14728
  },
14729
14729
  success: Struct({ id: String4 }),
14730
14730
  error: RunnerRpcError
14731
- }), make5("CreatePlanTasks", {
14731
+ }), make6("CreatePlanTasks", {
14732
14732
  payload: {
14733
14733
  lease: ProgramLease,
14734
14734
  projectId: optionalKey(String4),
@@ -14746,15 +14746,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14746
14746
  },
14747
14747
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14748
14748
  error: RunnerRpcError
14749
- }), make5("IntegrationBranch", {
14749
+ }), make6("IntegrationBranch", {
14750
14750
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14751
14751
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14752
14752
  error: RunnerRpcError
14753
- }), make5("DeliveryBase", {
14753
+ }), make6("DeliveryBase", {
14754
14754
  payload: { lease: ProgramLease },
14755
14755
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14756
14756
  error: RunnerRpcError
14757
- }), make5("MergeChangeRequest", {
14757
+ }), make6("MergeChangeRequest", {
14758
14758
  payload: {
14759
14759
  lease: ProgramLease,
14760
14760
  step: String4,
@@ -14772,7 +14772,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14772
14772
  Struct({ status: Literal("moved"), head: String4 })
14773
14773
  ]),
14774
14774
  error: RunnerRpcError
14775
- }), make5("ApproveChangeRequest", {
14775
+ }), make6("ApproveChangeRequest", {
14776
14776
  payload: {
14777
14777
  lease: ProgramLease,
14778
14778
  step: String4,
@@ -14788,7 +14788,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14788
14788
  Struct({ approved: Literal(false), reason: String4 })
14789
14789
  ]),
14790
14790
  error: RunnerRpcError
14791
- }), make5("CloseChangeRequest", {
14791
+ }), make6("CloseChangeRequest", {
14792
14792
  payload: {
14793
14793
  lease: ProgramLease,
14794
14794
  step: String4,
@@ -14798,7 +14798,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14798
14798
  },
14799
14799
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14800
14800
  error: RunnerRpcError
14801
- }), make5("RerunPipeline", {
14801
+ }), make6("RerunPipeline", {
14802
14802
  payload: {
14803
14803
  lease: ProgramLease,
14804
14804
  step: String4,
@@ -14808,7 +14808,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14808
14808
  },
14809
14809
  success: Struct({ head: String4, pipelines: Int }),
14810
14810
  error: RunnerRpcError
14811
- }), make5("PublishRelease", {
14811
+ }), make6("PublishRelease", {
14812
14812
  payload: {
14813
14813
  lease: ProgramLease,
14814
14814
  step: String4,
@@ -14820,14 +14820,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14820
14820
  },
14821
14821
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14822
14822
  error: RunnerRpcError
14823
- }), make5("ProgramSecrets", {
14823
+ }), make6("ProgramSecrets", {
14824
14824
  payload: { lease: ProgramLease },
14825
14825
  success: Record(String4, String4),
14826
14826
  error: RunnerRpcError
14827
14827
  })).middleware(RunnerAuthentication) {
14828
14828
  }
14829
14829
 
14830
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14830
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14831
14831
  payload: {
14832
14832
  lease: ProgramLease,
14833
14833
  step: String4,
@@ -14839,11 +14839,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14839
14839
  },
14840
14840
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14841
14841
  error: Union([RunnerRpcError, RunFileRefused])
14842
- }), make5("RunFileParts", {
14842
+ }), make6("RunFileParts", {
14843
14843
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14844
14844
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14845
14845
  error: RunnerRpcError
14846
- }), make5("CompleteRunFile", {
14846
+ }), make6("CompleteRunFile", {
14847
14847
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14848
14848
  success: RunFileRecord,
14849
14849
  error: RunnerRpcError
@@ -14932,7 +14932,7 @@ function toStoredSession(token, existingRefreshToken) {
14932
14932
  }
14933
14933
  function startLoopbackServer(input) {
14934
14934
  return gen(function* () {
14935
- const code = yield* make15();
14935
+ const code = yield* make16();
14936
14936
  const context2 = yield* context();
14937
14937
  const runSyncExit = runSyncExitWith(context2);
14938
14938
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15472,7 +15472,7 @@ var openConnection = (transport) => gen(function* () {
15472
15472
  let lastId = 0;
15473
15473
  let lost = false;
15474
15474
  const notifications = yield* unbounded2();
15475
- const ended = yield* make15();
15475
+ const ended = yield* make16();
15476
15476
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15477
15477
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15478
15478
  onNone: () => void_3,
@@ -15499,7 +15499,7 @@ var openConnection = (transport) => gen(function* () {
15499
15499
  if (lost)
15500
15500
  return yield* new HerdrCoreConnectionLost2({ method });
15501
15501
  const id = ++lastId;
15502
- const deferred = yield* make15();
15502
+ const deferred = yield* make16();
15503
15503
  pending.set(id, { method, deferred });
15504
15504
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15505
15505
  return yield* _await(deferred);
@@ -15573,14 +15573,14 @@ var herdrCoreOver = (transport) => ({
15573
15573
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15574
15574
  };
15575
15575
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15576
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15576
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15577
15577
  }))
15578
15578
  });
15579
15579
  var spawnedTransport = (env) => gen(function* () {
15580
15580
  const spawner = yield* ChildProcessSpawner;
15581
15581
  const input = yield* unbounded2();
15582
15582
  const encoder = new TextEncoder;
15583
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15583
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15584
15584
  extendEnv: false,
15585
15585
  env,
15586
15586
  stdin: fromQueue(input),
@@ -15611,7 +15611,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15611
15611
  const spawner = yield* ChildProcessSpawner;
15612
15612
  const env = coreEnv(options);
15613
15613
  const run = (args) => gen(function* () {
15614
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15614
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15615
15615
  const [stdout, stderr, exitCode] = yield* all3([
15616
15616
  mkString(decodeText(handle.stdout)),
15617
15617
  mkString(decodeText(handle.stderr)),
@@ -15637,7 +15637,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15637
15637
  }
15638
15638
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15639
15639
  const spawner = yield* ChildProcessSpawner;
15640
- const handle = yield* spawner.spawn(make2(command, args, {
15640
+ const handle = yield* spawner.spawn(make3(command, args, {
15641
15641
  stdin: "ignore",
15642
15642
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15643
15643
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15663,8 +15663,8 @@ var shellOutputTailChars2 = 64 * 1024;
15663
15663
  var runProcess2 = (argv, options) => gen(function* () {
15664
15664
  const spawner = yield* ChildProcessSpawner;
15665
15665
  const [command, ...args] = argv;
15666
- const handle = yield* spawner.spawn(make2(command, args, {
15667
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15666
+ const handle = yield* spawner.spawn(make3(command, args, {
15667
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15668
15668
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15669
15669
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15670
15670
  }));
@@ -16096,4 +16096,4 @@ function checkServices(declaration) {
16096
16096
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16097
16097
  }
16098
16098
 
16099
- 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 };
16099
+ 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 };