@kitman-sh/cli 0.10.95 → 0.10.97

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 (26) hide show
  1. package/dist/{chunk-vjcn82g3.js → chunk-25q7mg6g.js} +17 -17
  2. package/dist/{chunk-t7ncjd6s.js → chunk-2ndnvcp3.js} +8 -8
  3. package/dist/{chunk-kw83etsy.js → chunk-3snbxcct.js} +21 -21
  4. package/dist/{chunk-c9wzakrx.js → chunk-3tjssyvf.js} +8 -8
  5. package/dist/{chunk-g3r5xp0t.js → chunk-9m9cv82t.js} +2 -2
  6. package/dist/{chunk-a244myqw.js → chunk-c3k32vw4.js} +1 -1
  7. package/dist/{chunk-ampzxrqe.js → chunk-dstm8aen.js} +70 -28
  8. package/dist/{chunk-dh3108wk.js → chunk-gfe4kk5k.js} +5 -5
  9. package/dist/{chunk-fv6kgtze.js → chunk-hsf2sj69.js} +2 -2
  10. package/dist/{chunk-s3qgchay.js → chunk-jtyxjjvs.js} +23 -23
  11. package/dist/{chunk-bk3dpjxq.js → chunk-k4fvnphp.js} +1 -1
  12. package/dist/{chunk-tpdcq44c.js → chunk-k6ndhjcd.js} +23 -23
  13. package/dist/{chunk-et6qa95h.js → chunk-mbqeakm1.js} +1 -1
  14. package/dist/{chunk-mcpesyz2.js → chunk-mkr1nwdy.js} +3 -3
  15. package/dist/{chunk-6aa8y66v.js → chunk-mrzmq4jq.js} +4 -4
  16. package/dist/{chunk-8tq7n7wc.js → chunk-mxqrv47k.js} +5 -5
  17. package/dist/{chunk-4psvc86s.js → chunk-nwqcmdtz.js} +4 -4
  18. package/dist/{chunk-q3nygncv.js → chunk-q4q69zgm.js} +7 -7
  19. package/dist/{chunk-15w92pn6.js → chunk-qr0n7rde.js} +12 -12
  20. package/dist/{chunk-rdv42ygn.js → chunk-rmsm8vnc.js} +4 -4
  21. package/dist/{chunk-qacvrg7j.js → chunk-t8ny8exc.js} +7 -7
  22. package/dist/{chunk-3r7ahnwy.js → chunk-w0sehmpd.js} +14 -60
  23. package/dist/{chunk-2kr43ps6.js → chunk-y8dzp1t8.js} +107 -107
  24. package/dist/{chunk-abf4m4b2.js → chunk-yzmyy4vs.js} +5 -5
  25. package/dist/index.js +4 -4
  26. 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,
@@ -194,6 +194,9 @@ import {
194
194
  logError,
195
195
  effectify,
196
196
  decode,
197
+ isRedacted,
198
+ make16,
199
+ value,
197
200
  defaultParseOptions,
198
201
  omit,
199
202
  map9,
@@ -249,7 +252,7 @@ import {
249
252
  decodeJsonStringOption,
250
253
  encodeJsonStringSync,
251
254
  encodePrettyJsonString
252
- } from "./chunk-ampzxrqe.js";
255
+ } from "./chunk-dstm8aen.js";
253
256
  import {
254
257
  map,
255
258
  makeEquivalence,
@@ -258,8 +261,8 @@ import {
258
261
  systemError,
259
262
  badArgument,
260
263
  makeUnsafe2,
264
+ make7,
261
265
  make8,
262
- make9,
263
266
  sliding,
264
267
  unbounded2,
265
268
  offer,
@@ -275,13 +278,13 @@ import {
275
278
  isSink,
276
279
  fromChannel,
277
280
  drain,
278
- make10,
281
+ make9,
279
282
  get3,
280
283
  isStream,
281
284
  fromChannel2,
282
285
  callback,
283
286
  empty2,
284
- make11,
287
+ make10,
285
288
  suspend,
286
289
  fail2,
287
290
  fromQueue,
@@ -307,16 +310,16 @@ import {
307
310
  mkArrayBuffer,
308
311
  toReadableStreamEffect,
309
312
  FileSystem,
310
- make12,
313
+ make11,
311
314
  FileTypeId,
312
315
  WatchBackend,
313
316
  Path,
314
- make13,
317
+ make12,
315
318
  option,
316
319
  String2,
317
320
  optionalEnv,
318
321
  harnessesUnsupportedInSrt2
319
- } from "./chunk-vjcn82g3.js";
322
+ } from "./chunk-25q7mg6g.js";
320
323
  import {
321
324
  isDateTime,
322
325
  Numeric,
@@ -329,7 +332,7 @@ import {
329
332
  SecretScope,
330
333
  SecretHosts,
331
334
  isSecretReference
332
- } from "./chunk-et6qa95h.js";
335
+ } from "./chunk-mbqeakm1.js";
333
336
  import {
334
337
  toJsonValue,
335
338
  isOneOf,
@@ -343,21 +346,18 @@ import {
343
346
  isSymbol,
344
347
  isUndefined,
345
348
  kindOf
346
- } from "./chunk-bk3dpjxq.js";
349
+ } from "./chunk-k4fvnphp.js";
347
350
  import {
348
- isRedacted,
349
- make,
350
- value,
351
351
  ExitCode,
352
352
  ProcessId,
353
353
  makeHandle,
354
- make2,
354
+ make,
355
355
  ChildProcessSpawner,
356
356
  display,
357
- make3,
357
+ make2,
358
358
  parseFdName,
359
359
  fdName
360
- } from "./chunk-3r7ahnwy.js";
360
+ } from "./chunk-w0sehmpd.js";
361
361
 
362
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
363
363
  var makeEquivalence3 = Tuple;
@@ -520,7 +520,7 @@ var makeUnsafe6 = (input) => {
520
520
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
521
521
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
522
522
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
523
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
524
524
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
525
525
  var nowUnsafe = () => makeUtc(Date.now());
526
526
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -910,7 +910,7 @@ var toNumber = (b) => {
910
910
 
911
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
912
912
  var makeUnsafe = makeUnsafe6;
913
- var make18 = make4;
913
+ var make18 = make3;
914
914
  var now2 = now;
915
915
  var nowUnsafe2 = nowUnsafe;
916
916
  var toDateUtc2 = toDateUtc;
@@ -1125,7 +1125,7 @@ var readableToPullUnsafe = (options) => {
1125
1125
  const readable = options.readable;
1126
1126
  const chunkSize = options.chunkSize ?? 4096;
1127
1127
  const closeOnDone = options.closeOnDone ?? true;
1128
- const exit = options.exit ?? make8(undefined);
1128
+ const exit = options.exit ?? make7(undefined);
1129
1129
  const latch = options.latch ?? makeUnsafe2(false);
1130
1130
  function onReadable() {
1131
1131
  latch.openUnsafe();
@@ -1689,7 +1689,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1689
1689
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1690
1690
  const toOption = options.to ?? "stdin";
1691
1691
  if (toOption === "stdin") {
1692
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1692
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1693
1693
  ...command.options,
1694
1694
  stdin: {
1695
1695
  ...stdinConfig,
@@ -1709,7 +1709,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1709
1709
  type: "input",
1710
1710
  stream: sourceStream
1711
1711
  };
1712
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1712
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1713
1713
  ...command.options,
1714
1714
  additionalFds: {
1715
1715
  ...existingFds,
@@ -1717,7 +1717,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1717
1717
  }
1718
1718
  })));
1719
1719
  } else {
1720
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1720
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1721
1721
  ...command.options,
1722
1722
  stdin: {
1723
1723
  ...stdinConfig,
@@ -1756,7 +1756,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1756
1756
  }
1757
1757
  }
1758
1758
  });
1759
- return make2(spawnCommand);
1759
+ return make(spawnCommand);
1760
1760
  });
1761
1761
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1762
1762
  var flattenCommand = (command) => {
@@ -2242,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2242
2242
  resume(fail7(handleBadArgument("writeFile")(err)));
2243
2243
  }
2244
2244
  });
2245
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2246
2246
  access: access2,
2247
2247
  chmod: chmod2,
2248
2248
  chown: chown2,
@@ -2302,15 +2302,15 @@ var fileUrlOps = (windows) => ({
2302
2302
  })
2303
2303
  })
2304
2304
  });
2305
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2306
2306
  ...NodePath.posix,
2307
2307
  .../* @__PURE__ */ fileUrlOps(false)
2308
2308
  }));
2309
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2310
2310
  ...NodePath.win32,
2311
2311
  .../* @__PURE__ */ fileUrlOps(true)
2312
2312
  }));
2313
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2314
2314
  ...NodePath,
2315
2315
  .../* @__PURE__ */ fileUrlOps(undefined)
2316
2316
  }));
@@ -2832,12 +2832,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2832
2832
  if (typeof key === "string") {
2833
2833
  const k = key.toLowerCase();
2834
2834
  if (k in self) {
2835
- out[k] = make(self[k]);
2835
+ out[k] = make16(self[k]);
2836
2836
  }
2837
2837
  } else {
2838
2838
  for (const name in self) {
2839
2839
  if (name.search(key) !== -1) {
2840
- out[name] = make(self[name]);
2840
+ out[name] = make16(self[name]);
2841
2841
  }
2842
2842
  }
2843
2843
  }
@@ -2944,7 +2944,7 @@ var fromInputNested = (input) => {
2944
2944
  return out;
2945
2945
  };
2946
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
2947
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2948
2948
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2949
2949
  var empty4 = /* @__PURE__ */ make23([]);
2950
2950
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2963,7 +2963,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2963
2963
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2964
2964
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2965
2965
  const patterns = Array.isArray(key) ? key : [key];
2966
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2966
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
2967
2967
  });
2968
2968
  var isRedactedName2 = isRedactedName;
2969
2969
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3039,7 +3039,7 @@ import * as readline from "readline";
3039
3039
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3040
3040
  const stdin = process.stdin;
3041
3041
  const stdout = process.stdout;
3042
- const lines = yield* make9();
3042
+ const lines = yield* make8();
3043
3043
  let inputEnded = stdin.readableEnded;
3044
3044
  let readlineActive = false;
3045
3045
  const onStdinEnd = () => {
@@ -3050,7 +3050,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3050
3050
  };
3051
3051
  stdin.once("end", onStdinEnd);
3052
3052
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3053
- const rlRef = yield* make10({
3053
+ const rlRef = yield* make9({
3054
3054
  acquire: acquireRelease(sync2(() => {
3055
3055
  const rl = readline.createInterface({
3056
3056
  input: stdin,
@@ -3089,7 +3089,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3089
3089
  if (stdin.isTTY)
3090
3090
  stdin.setRawMode(enabled);
3091
3091
  });
3092
- const rawModeRef = yield* make10({
3092
+ const rawModeRef = yield* make9({
3093
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3094
3094
  idleTimeToLive: "10 millis"
3095
3095
  });
@@ -3110,7 +3110,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3110
3110
  return queue;
3111
3111
  });
3112
3112
  const readInput = gen(function* () {
3113
- const queue = yield* make9();
3113
+ const queue = yield* make8();
3114
3114
  const handleKeypress = (s, k) => {
3115
3115
  const userInput = {
3116
3116
  input: fromUndefinedOr(s),
@@ -9705,14 +9705,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9705
9705
  return self;
9706
9706
  }
9707
9707
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9708
- var make5 = (method) => (url, options) => modify(empty6, {
9708
+ var make4 = (method) => (url, options) => modify(empty6, {
9709
9709
  method,
9710
9710
  url,
9711
9711
  ...options ?? undefined
9712
9712
  });
9713
- var get = /* @__PURE__ */ make5("GET");
9714
- var post = /* @__PURE__ */ make5("POST");
9715
- var put = /* @__PURE__ */ make5("PUT");
9713
+ var get = /* @__PURE__ */ make4("GET");
9714
+ var post = /* @__PURE__ */ make4("POST");
9715
+ var put = /* @__PURE__ */ make4("PUT");
9716
9716
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9717
9717
  let result = self;
9718
9718
  if (options.method) {
@@ -10013,7 +10013,7 @@ var Proto7 = {
10013
10013
  };
10014
10014
  },
10015
10015
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10016
- return this.execute(make5(fullMethod)(url, options));
10016
+ return this.execute(make4(fullMethod)(url, options));
10017
10017
  }]))
10018
10018
  };
10019
10019
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13620,7 +13620,7 @@ var makeProto = (options) => {
13620
13620
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13621
13621
  return Rpc;
13622
13622
  };
13623
- var make6 = (tag, options) => {
13623
+ var make5 = (tag, options) => {
13624
13624
  const successSchema = options?.success ?? Void;
13625
13625
  const errorSchema = options?.error ?? Never;
13626
13626
  const defectSchema = options?.defect ?? Defect();
@@ -13831,7 +13831,7 @@ var RpcGroupProto = {
13831
13831
  });
13832
13832
  },
13833
13833
  annotateRpcs(service, value) {
13834
- return this.annotateRpcsMerge(make15(service, value));
13834
+ return this.annotateRpcsMerge(make14(service, value));
13835
13835
  },
13836
13836
  annotateMerge(context) {
13837
13837
  return makeProto2({
@@ -13854,7 +13854,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13854
13854
  requests: options.requests,
13855
13855
  annotations: options.annotations
13856
13856
  });
13857
- var make7 = (...rpcs) => makeProto2({
13857
+ var make6 = (...rpcs) => makeProto2({
13858
13858
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13859
13859
  annotations: empty3()
13860
13860
  });
@@ -13961,96 +13961,96 @@ var ProgramOutcome = Union([
13961
13961
  Struct({ status: Literal("failed"), failureSummary: String4 })
13962
13962
  ]);
13963
13963
 
13964
- class RunnerReplicaRpcs extends make7(make6("Claim", {
13964
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
13965
13965
  payload: WorkUnitClaimInput,
13966
13966
  success: WorkUnitClaimResult,
13967
13967
  error: RunnerRpcError
13968
- }), make6("Heartbeat", {
13968
+ }), make5("Heartbeat", {
13969
13969
  payload: WorkUnitHeartbeatInput,
13970
13970
  success: WorkUnitHeartbeatResult,
13971
13971
  error: RunnerRpcError
13972
- }), make6("Complete", {
13972
+ }), make5("Complete", {
13973
13973
  payload: WorkUnitCompletion,
13974
13974
  error: RunnerRpcError
13975
- }), make6("Release", {
13975
+ }), make5("Release", {
13976
13976
  payload: WorkUnitReleaseInput,
13977
13977
  error: RunnerRpcError
13978
- }), make6("Signals", {
13978
+ }), make5("Signals", {
13979
13979
  payload: { runnerReplicaId: String4 },
13980
13980
  success: RunnerSignal,
13981
13981
  error: RunnerRpcError,
13982
13982
  stream: true
13983
- }), make6("ReportSteer", {
13983
+ }), make5("ReportSteer", {
13984
13984
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13985
13985
  success: Void,
13986
13986
  error: RunnerRpcError
13987
- }), make6("AppendTranscript", {
13987
+ }), make5("AppendTranscript", {
13988
13988
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13989
13989
  success: Void,
13990
13990
  error: RunnerRpcError
13991
- }), make6("CreateCheckpointFile", {
13991
+ }), make5("CreateCheckpointFile", {
13992
13992
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13993
13993
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13994
13994
  error: Union([RunnerRpcError, RunFileRefused])
13995
- }), make6("CheckpointFileParts", {
13995
+ }), make5("CheckpointFileParts", {
13996
13996
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13997
13997
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13998
13998
  error: RunnerRpcError
13999
- }), make6("CompleteCheckpointFile", {
13999
+ }), make5("CompleteCheckpointFile", {
14000
14000
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14001
14001
  success: RunFileRecord,
14002
14002
  error: RunnerRpcError
14003
- }), make6("SaveCheckpoint", {
14003
+ }), make5("SaveCheckpoint", {
14004
14004
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14005
14005
  success: Void,
14006
14006
  error: RunnerRpcError
14007
- }), make6("ResumeCheckpoint", {
14007
+ }), make5("ResumeCheckpoint", {
14008
14008
  payload: { lease: ProgramLease },
14009
14009
  success: UndefinedOr(ResumedCheckpoint),
14010
14010
  error: RunnerRpcError
14011
- }), make6("SettledCheckpoints", {
14011
+ }), make5("SettledCheckpoints", {
14012
14012
  success: ArraySchema(Struct({
14013
14013
  stepAttemptId: String4,
14014
14014
  ref: optionalKey(String4),
14015
14015
  repoBinding: optionalKey(WorkUnitRepoBinding)
14016
14016
  })),
14017
14017
  error: RunnerRpcError
14018
- }), make6("ForgetCheckpoints", {
14018
+ }), make5("ForgetCheckpoints", {
14019
14019
  payload: { stepAttemptIds: ArraySchema(String4) },
14020
14020
  success: Void,
14021
14021
  error: RunnerRpcError
14022
- }), make6("GitCredential", {
14022
+ }), make5("GitCredential", {
14023
14023
  payload: { repoBindingId: String4 },
14024
14024
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14025
14025
  error: RunnerRpcError
14026
- }), make6("Bundle", {
14026
+ }), make5("Bundle", {
14027
14027
  payload: { digest: String4 },
14028
14028
  success: Struct({ bundle: String4 }),
14029
14029
  error: RunnerRpcError
14030
- }), make6("SettledRuns", {
14030
+ }), make5("SettledRuns", {
14031
14031
  payload: { runIds: ArraySchema(String4) },
14032
14032
  success: ArraySchema(String4),
14033
14033
  error: RunnerRpcError
14034
- }), make6("KnownEvidence", {
14034
+ }), make5("KnownEvidence", {
14035
14035
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14036
14036
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14037
14037
  error: RunnerRpcError
14038
14038
  })).middleware(RunnerAuthentication) {
14039
14039
  }
14040
14040
 
14041
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14041
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14042
14042
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14043
14043
  error: RunnerRpcError
14044
- }), make6("DeferredDone", {
14044
+ }), make5("DeferredDone", {
14045
14045
  payload: { lease: ProgramLease, name: String4, exit: Json },
14046
14046
  error: RunnerRpcError
14047
- }), make6("ScheduleClock", {
14047
+ }), make5("ScheduleClock", {
14048
14048
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14049
14049
  error: RunnerRpcError
14050
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14050
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14051
14051
  }
14052
14052
 
14053
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14053
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14054
14054
  payload: {
14055
14055
  lease: ProgramLease,
14056
14056
  step: String4,
@@ -14069,7 +14069,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14069
14069
  },
14070
14070
  success: Struct({ questionId: String4 }),
14071
14071
  error: RunnerRpcError
14072
- }), make6("StartAgentStep", {
14072
+ }), make5("StartAgentStep", {
14073
14073
  payload: {
14074
14074
  lease: ProgramLease,
14075
14075
  step: String4,
@@ -14085,7 +14085,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14085
14085
  },
14086
14086
  success: Struct({ stepAttemptId: String4 }),
14087
14087
  error: RunnerRpcError
14088
- }), make6("StartVerification", {
14088
+ }), make5("StartVerification", {
14089
14089
  payload: {
14090
14090
  lease: ProgramLease,
14091
14091
  step: String4,
@@ -14104,7 +14104,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14104
14104
  },
14105
14105
  success: Struct({ verificationId: String4 }),
14106
14106
  error: RunnerRpcError
14107
- }), make6("AwaitEvent", {
14107
+ }), make5("AwaitEvent", {
14108
14108
  payload: {
14109
14109
  lease: ProgramLease,
14110
14110
  step: String4,
@@ -14120,7 +14120,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14120
14120
  })))
14121
14121
  },
14122
14122
  error: RunnerRpcError
14123
- }), make6("ClaimResource", {
14123
+ }), make5("ClaimResource", {
14124
14124
  payload: {
14125
14125
  lease: ProgramLease,
14126
14126
  step: String4,
@@ -14129,7 +14129,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14129
14129
  action: Literals(["claim", "take_over", "let_go"])
14130
14130
  },
14131
14131
  error: RunnerRpcError
14132
- }), make6("AdmitChild", {
14132
+ }), make5("AdmitChild", {
14133
14133
  payload: {
14134
14134
  lease: ProgramLease,
14135
14135
  step: String4,
@@ -14140,7 +14140,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14140
14140
  },
14141
14141
  success: Struct({ runId: String4 }),
14142
14142
  error: RunnerRpcError
14143
- }), make6("StoreArtifact", {
14143
+ }), make5("StoreArtifact", {
14144
14144
  payload: {
14145
14145
  lease: ProgramLease,
14146
14146
  step: String4,
@@ -14152,7 +14152,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14152
14152
  },
14153
14153
  success: Struct({ artifactId: String4 }),
14154
14154
  error: RunnerRpcError
14155
- }), make6("RecordNote", {
14155
+ }), make5("RecordNote", {
14156
14156
  payload: {
14157
14157
  lease: ProgramLease,
14158
14158
  step: String4,
@@ -14161,7 +14161,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14161
14161
  kind: optional(Literals(["note", "blocker"]))
14162
14162
  },
14163
14163
  error: RunnerRpcError
14164
- }), make6("PerformHostEffect", {
14164
+ }), make5("PerformHostEffect", {
14165
14165
  payload: {
14166
14166
  lease: ProgramLease,
14167
14167
  step: String4,
@@ -14189,7 +14189,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14189
14189
  },
14190
14190
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14191
14191
  error: RunnerRpcError
14192
- }), make6("AlertTask", {
14192
+ }), make5("AlertTask", {
14193
14193
  payload: {
14194
14194
  lease: ProgramLease,
14195
14195
  step: String4,
@@ -14206,7 +14206,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14206
14206
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14207
14207
  }),
14208
14208
  error: RunnerRpcError
14209
- }), make6("ReadTranscripts", {
14209
+ }), make5("ReadTranscripts", {
14210
14210
  payload: { lease: ProgramLease, step: String4, days: Int, teamId: optionalKey(String4) },
14211
14211
  success: Struct({
14212
14212
  runs: ArraySchema(Struct({
@@ -14234,7 +14234,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14234
14234
  })))
14235
14235
  }),
14236
14236
  error: RunnerRpcError
14237
- }), make6("PipelineStatus", {
14237
+ }), make5("PipelineStatus", {
14238
14238
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14239
14239
  success: Struct({
14240
14240
  head: String4,
@@ -14265,11 +14265,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14265
14265
  }))
14266
14266
  }),
14267
14267
  error: RunnerRpcError
14268
- }), make6("ReportPipeline", {
14268
+ }), make5("ReportPipeline", {
14269
14269
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14270
14270
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14271
14271
  error: RunnerRpcError
14272
- }), make6("ReviewThreads", {
14272
+ }), make5("ReviewThreads", {
14273
14273
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14274
14274
  success: Struct({
14275
14275
  threads: ArraySchema(Struct({
@@ -14281,7 +14281,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14281
14281
  }))
14282
14282
  }),
14283
14283
  error: RunnerRpcError
14284
- }), make6("OpenChangeRequests", {
14284
+ }), make5("OpenChangeRequests", {
14285
14285
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14286
14286
  success: Struct({
14287
14287
  changeRequests: ArraySchema(Struct({
@@ -14295,7 +14295,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14295
14295
  }))
14296
14296
  }),
14297
14297
  error: RunnerRpcError
14298
- }), make6("OwnChangeRequests", {
14298
+ }), make5("OwnChangeRequests", {
14299
14299
  payload: { lease: ProgramLease, step: String4 },
14300
14300
  success: Struct({
14301
14301
  changeRequests: ArraySchema(Struct({
@@ -14308,7 +14308,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14308
14308
  }))
14309
14309
  }),
14310
14310
  error: RunnerRpcError
14311
- }), make6("Propose", {
14311
+ }), make5("Propose", {
14312
14312
  payload: {
14313
14313
  lease: ProgramLease,
14314
14314
  step: String4,
@@ -14336,7 +14336,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14336
14336
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14337
14337
  }),
14338
14338
  error: RunnerRpcError
14339
- }), make6("ReadProject", {
14339
+ }), make5("ReadProject", {
14340
14340
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14341
14341
  success: Struct({
14342
14342
  project: Struct({ id: String4, name: String4 }),
@@ -14359,7 +14359,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14359
14359
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14360
14360
  }),
14361
14361
  error: RunnerRpcError
14362
- }), make6("DraftUpdate", {
14362
+ }), make5("DraftUpdate", {
14363
14363
  payload: {
14364
14364
  lease: ProgramLease,
14365
14365
  step: String4,
@@ -14374,7 +14374,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14374
14374
  },
14375
14375
  success: Struct({ id: String4 }),
14376
14376
  error: RunnerRpcError
14377
- }), make6("CreatePlanTasks", {
14377
+ }), make5("CreatePlanTasks", {
14378
14378
  payload: {
14379
14379
  lease: ProgramLease,
14380
14380
  projectId: optionalKey(String4),
@@ -14389,11 +14389,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14389
14389
  },
14390
14390
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14391
14391
  error: RunnerRpcError
14392
- }), make6("IntegrationBranch", {
14392
+ }), make5("IntegrationBranch", {
14393
14393
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14394
14394
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14395
14395
  error: RunnerRpcError
14396
- }), make6("MergeChangeRequest", {
14396
+ }), make5("MergeChangeRequest", {
14397
14397
  payload: {
14398
14398
  lease: ProgramLease,
14399
14399
  step: String4,
@@ -14406,7 +14406,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14406
14406
  Struct({ status: Literal("moved"), head: String4 })
14407
14407
  ]),
14408
14408
  error: RunnerRpcError
14409
- }), make6("ApproveChangeRequest", {
14409
+ }), make5("ApproveChangeRequest", {
14410
14410
  payload: {
14411
14411
  lease: ProgramLease,
14412
14412
  step: String4,
@@ -14421,7 +14421,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14421
14421
  Struct({ approved: Literal(false), reason: String4 })
14422
14422
  ]),
14423
14423
  error: RunnerRpcError
14424
- }), make6("CloseChangeRequest", {
14424
+ }), make5("CloseChangeRequest", {
14425
14425
  payload: {
14426
14426
  lease: ProgramLease,
14427
14427
  step: String4,
@@ -14431,7 +14431,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14431
14431
  },
14432
14432
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14433
14433
  error: RunnerRpcError
14434
- }), make6("RerunPipeline", {
14434
+ }), make5("RerunPipeline", {
14435
14435
  payload: {
14436
14436
  lease: ProgramLease,
14437
14437
  step: String4,
@@ -14441,7 +14441,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14441
14441
  },
14442
14442
  success: Struct({ head: String4, pipelines: Int }),
14443
14443
  error: RunnerRpcError
14444
- }), make6("PublishRelease", {
14444
+ }), make5("PublishRelease", {
14445
14445
  payload: {
14446
14446
  lease: ProgramLease,
14447
14447
  step: String4,
@@ -14452,14 +14452,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14452
14452
  },
14453
14453
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14454
14454
  error: RunnerRpcError
14455
- }), make6("ProgramSecrets", {
14455
+ }), make5("ProgramSecrets", {
14456
14456
  payload: { lease: ProgramLease },
14457
14457
  success: Record(String4, String4),
14458
14458
  error: RunnerRpcError
14459
14459
  })).middleware(RunnerAuthentication) {
14460
14460
  }
14461
14461
 
14462
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14462
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14463
14463
  payload: {
14464
14464
  lease: ProgramLease,
14465
14465
  step: String4,
@@ -14471,11 +14471,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14471
14471
  },
14472
14472
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14473
14473
  error: Union([RunnerRpcError, RunFileRefused])
14474
- }), make6("RunFileParts", {
14474
+ }), make5("RunFileParts", {
14475
14475
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14476
14476
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14477
14477
  error: RunnerRpcError
14478
- }), make6("CompleteRunFile", {
14478
+ }), make5("CompleteRunFile", {
14479
14479
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14480
14480
  success: RunFileRecord,
14481
14481
  error: RunnerRpcError
@@ -14564,7 +14564,7 @@ function toStoredSession(token, existingRefreshToken) {
14564
14564
  }
14565
14565
  function startLoopbackServer(input) {
14566
14566
  return gen(function* () {
14567
- const code = yield* make16();
14567
+ const code = yield* make15();
14568
14568
  const context2 = yield* context();
14569
14569
  const runSyncExit = runSyncExitWith(context2);
14570
14570
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15104,7 +15104,7 @@ var openConnection = (transport) => gen(function* () {
15104
15104
  let lastId = 0;
15105
15105
  let lost = false;
15106
15106
  const notifications = yield* unbounded2();
15107
- const ended = yield* make16();
15107
+ const ended = yield* make15();
15108
15108
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15109
15109
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15110
15110
  onNone: () => void_3,
@@ -15131,7 +15131,7 @@ var openConnection = (transport) => gen(function* () {
15131
15131
  if (lost)
15132
15132
  return yield* new HerdrCoreConnectionLost2({ method });
15133
15133
  const id = ++lastId;
15134
- const deferred = yield* make16();
15134
+ const deferred = yield* make15();
15135
15135
  pending.set(id, { method, deferred });
15136
15136
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15137
15137
  return yield* _await(deferred);
@@ -15205,14 +15205,14 @@ var herdrCoreOver = (transport) => ({
15205
15205
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15206
15206
  };
15207
15207
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15208
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15208
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15209
15209
  }))
15210
15210
  });
15211
15211
  var spawnedTransport = (env) => gen(function* () {
15212
15212
  const spawner = yield* ChildProcessSpawner;
15213
15213
  const input = yield* unbounded2();
15214
15214
  const encoder = new TextEncoder;
15215
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15215
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15216
15216
  extendEnv: false,
15217
15217
  env,
15218
15218
  stdin: fromQueue(input),
@@ -15243,7 +15243,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15243
15243
  const spawner = yield* ChildProcessSpawner;
15244
15244
  const env = coreEnv(options);
15245
15245
  const run = (args) => gen(function* () {
15246
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15246
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15247
15247
  const [stdout, stderr, exitCode] = yield* all3([
15248
15248
  mkString(decodeText(handle.stdout)),
15249
15249
  mkString(decodeText(handle.stderr)),
@@ -15269,7 +15269,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15269
15269
  }
15270
15270
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15271
15271
  const spawner = yield* ChildProcessSpawner;
15272
- const handle = yield* spawner.spawn(make3(command, args, {
15272
+ const handle = yield* spawner.spawn(make2(command, args, {
15273
15273
  stdin: "ignore",
15274
15274
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15275
15275
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15295,8 +15295,8 @@ var shellOutputTailChars2 = 64 * 1024;
15295
15295
  var runProcess2 = (argv, options) => gen(function* () {
15296
15296
  const spawner = yield* ChildProcessSpawner;
15297
15297
  const [command, ...args] = argv;
15298
- const handle = yield* spawner.spawn(make3(command, args, {
15299
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15298
+ const handle = yield* spawner.spawn(make2(command, args, {
15299
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15300
15300
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15301
15301
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15302
15302
  }));
@@ -15719,4 +15719,4 @@ function checkServices(declaration) {
15719
15719
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15720
15720
  }
15721
15721
 
15722
- export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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 };
15722
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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 };