@kitman-sh/cli 0.10.89 → 0.10.90

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-phcerzkf.js → chunk-0gs7cjkt.js} +20 -8
  2. package/dist/{chunk-d8tabep6.js → chunk-5vsqzmvf.js} +5 -5
  3. package/dist/{chunk-aj4ev9v2.js → chunk-62565d52.js} +2 -2
  4. package/dist/{chunk-qqzr8ym6.js → chunk-75d425rk.js} +4 -4
  5. package/dist/{chunk-maj4dn1b.js → chunk-76ctrqm6.js} +1 -1
  6. package/dist/{chunk-ybp1mwv9.js → chunk-98sg1yyd.js} +60 -14
  7. package/dist/{chunk-5dwyvg1z.js → chunk-9zd52pda.js} +5 -5
  8. package/dist/{chunk-daycfvkq.js → chunk-bbvvx5z1.js} +12 -12
  9. package/dist/{chunk-yhh9yeqf.js → chunk-dd5aa39j.js} +23 -23
  10. package/dist/{chunk-dmwqvnmb.js → chunk-e8zm8z3a.js} +8 -8
  11. package/dist/{chunk-vne4rsj0.js → chunk-fq47a5yd.js} +2 -2
  12. package/dist/{chunk-99ad4j9s.js → chunk-j9frwmmt.js} +3 -3
  13. package/dist/{chunk-caqesagt.js → chunk-jbwk6k6m.js} +28 -70
  14. package/dist/{chunk-5w8trr75.js → chunk-jq8hhvdv.js} +8 -8
  15. package/dist/{chunk-p74pmd81.js → chunk-kgdppbdr.js} +1 -1
  16. package/dist/{chunk-cw2ghw7n.js → chunk-ky974pcr.js} +4 -4
  17. package/dist/{chunk-5dydsgwg.js → chunk-m1ewm9dy.js} +23 -23
  18. package/dist/{chunk-vzq3q5zr.js → chunk-mgmsx0bm.js} +7 -7
  19. package/dist/{chunk-73fw4pgr.js → chunk-py4t32pa.js} +121 -111
  20. package/dist/{chunk-1whmkfzv.js → chunk-rq6bn96v.js} +5 -5
  21. package/dist/{chunk-1mcwey0c.js → chunk-tzz4fv17.js} +1 -1
  22. package/dist/{chunk-4b1nj0zw.js → chunk-x11j5jcj.js} +21 -21
  23. package/dist/{chunk-w9j2yb0n.js → chunk-xb70ys3n.js} +17 -17
  24. package/dist/{chunk-1hqy9g9w.js → chunk-yx90ye72.js} +7 -7
  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
- 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,
@@ -252,7 +249,7 @@ import {
252
249
  decodeJsonStringOption,
253
250
  encodeJsonStringSync,
254
251
  encodePrettyJsonString
255
- } from "./chunk-caqesagt.js";
252
+ } from "./chunk-jbwk6k6m.js";
256
253
  import {
257
254
  map,
258
255
  makeEquivalence,
@@ -261,8 +258,8 @@ import {
261
258
  systemError,
262
259
  badArgument,
263
260
  makeUnsafe2,
264
- make7,
265
261
  make8,
262
+ make9,
266
263
  sliding,
267
264
  unbounded2,
268
265
  offer,
@@ -278,13 +275,13 @@ import {
278
275
  isSink,
279
276
  fromChannel,
280
277
  drain,
281
- make9,
278
+ make10,
282
279
  get3,
283
280
  isStream,
284
281
  fromChannel2,
285
282
  callback,
286
283
  empty2,
287
- make10,
284
+ make11,
288
285
  suspend,
289
286
  fail2,
290
287
  fromQueue,
@@ -310,16 +307,16 @@ import {
310
307
  mkArrayBuffer,
311
308
  toReadableStreamEffect,
312
309
  FileSystem,
313
- make11,
310
+ make12,
314
311
  FileTypeId,
315
312
  WatchBackend,
316
313
  Path,
317
- make12,
314
+ make13,
318
315
  option,
319
316
  String2,
320
317
  optionalEnv,
321
318
  harnessesUnsupportedInSrt2
322
- } from "./chunk-w9j2yb0n.js";
319
+ } from "./chunk-xb70ys3n.js";
323
320
  import {
324
321
  isDateTime,
325
322
  Numeric,
@@ -332,7 +329,7 @@ import {
332
329
  SecretScope,
333
330
  SecretHosts,
334
331
  isSecretReference
335
- } from "./chunk-p74pmd81.js";
332
+ } from "./chunk-kgdppbdr.js";
336
333
  import {
337
334
  toJsonValue,
338
335
  isOneOf,
@@ -346,18 +343,21 @@ import {
346
343
  isSymbol,
347
344
  isUndefined,
348
345
  kindOf
349
- } from "./chunk-1mcwey0c.js";
346
+ } from "./chunk-tzz4fv17.js";
350
347
  import {
348
+ isRedacted,
349
+ make,
350
+ value,
351
351
  ExitCode,
352
352
  ProcessId,
353
353
  makeHandle,
354
- make,
354
+ make2,
355
355
  ChildProcessSpawner,
356
356
  display,
357
- make2,
357
+ make3,
358
358
  parseFdName,
359
359
  fdName
360
- } from "./chunk-ybp1mwv9.js";
360
+ } from "./chunk-98sg1yyd.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 make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
523
+ var make4 = /* @__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 = make3;
913
+ var make18 = make4;
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 ?? make7(undefined);
1128
+ const exit = options.exit ?? make8(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(make2(command.command, command.args, {
1692
+ handles.push(yield* spawnCommand(make3(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(make2(command.command, command.args, {
1712
+ handles.push(yield* spawnCommand(make3(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(make2(command.command, command.args, {
1720
+ handles.push(yield* spawnCommand(make3(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 make(spawnCommand);
1759
+ return make2(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) => make11({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
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__ */ make12({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2306
2306
  ...NodePath.posix,
2307
2307
  .../* @__PURE__ */ fileUrlOps(false)
2308
2308
  }));
2309
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2310
2310
  ...NodePath.win32,
2311
2311
  .../* @__PURE__ */ fileUrlOps(true)
2312
2312
  }));
2313
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
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] = make16(self[k]);
2835
+ out[k] = make(self[k]);
2836
2836
  }
2837
2837
  } else {
2838
2838
  for (const name in self) {
2839
2839
  if (name.search(key) !== -1) {
2840
- out[name] = make16(self[name]);
2840
+ out[name] = make(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__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make14((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) ? make16(value) : value]);
2966
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(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* make8();
3042
+ const lines = yield* make9();
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* make9({
3053
+ const rlRef = yield* make10({
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* make9({
3092
+ const rawModeRef = yield* make10({
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* make8();
3113
+ const queue = yield* make9();
3114
3114
  const handleKeypress = (s, k) => {
3115
3115
  const userInput = {
3116
3116
  input: fromUndefinedOr(s),
@@ -9702,14 +9702,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9702
9702
  return self;
9703
9703
  }
9704
9704
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9705
- var make4 = (method) => (url, options) => modify(empty6, {
9705
+ var make5 = (method) => (url, options) => modify(empty6, {
9706
9706
  method,
9707
9707
  url,
9708
9708
  ...options ?? undefined
9709
9709
  });
9710
- var get = /* @__PURE__ */ make4("GET");
9711
- var post = /* @__PURE__ */ make4("POST");
9712
- var put = /* @__PURE__ */ make4("PUT");
9710
+ var get = /* @__PURE__ */ make5("GET");
9711
+ var post = /* @__PURE__ */ make5("POST");
9712
+ var put = /* @__PURE__ */ make5("PUT");
9713
9713
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9714
9714
  let result = self;
9715
9715
  if (options.method) {
@@ -10010,7 +10010,7 @@ var Proto7 = {
10010
10010
  };
10011
10011
  },
10012
10012
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10013
- return this.execute(make4(fullMethod)(url, options));
10013
+ return this.execute(make5(fullMethod)(url, options));
10014
10014
  }]))
10015
10015
  };
10016
10016
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13617,7 +13617,7 @@ var makeProto = (options) => {
13617
13617
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13618
13618
  return Rpc;
13619
13619
  };
13620
- var make5 = (tag, options) => {
13620
+ var make6 = (tag, options) => {
13621
13621
  const successSchema = options?.success ?? Void;
13622
13622
  const errorSchema = options?.error ?? Never;
13623
13623
  const defectSchema = options?.defect ?? Defect();
@@ -13828,7 +13828,7 @@ var RpcGroupProto = {
13828
13828
  });
13829
13829
  },
13830
13830
  annotateRpcs(service, value) {
13831
- return this.annotateRpcsMerge(make14(service, value));
13831
+ return this.annotateRpcsMerge(make15(service, value));
13832
13832
  },
13833
13833
  annotateMerge(context) {
13834
13834
  return makeProto2({
@@ -13851,7 +13851,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13851
13851
  requests: options.requests,
13852
13852
  annotations: options.annotations
13853
13853
  });
13854
- var make6 = (...rpcs) => makeProto2({
13854
+ var make7 = (...rpcs) => makeProto2({
13855
13855
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13856
13856
  annotations: empty3()
13857
13857
  });
@@ -13958,96 +13958,96 @@ var ProgramOutcome = Union([
13958
13958
  Struct({ status: Literal("failed"), failureSummary: String4 })
13959
13959
  ]);
13960
13960
 
13961
- class RunnerReplicaRpcs extends make6(make5("Claim", {
13961
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
13962
13962
  payload: WorkUnitClaimInput,
13963
13963
  success: WorkUnitClaimResult,
13964
13964
  error: RunnerRpcError
13965
- }), make5("Heartbeat", {
13965
+ }), make6("Heartbeat", {
13966
13966
  payload: WorkUnitHeartbeatInput,
13967
13967
  success: WorkUnitHeartbeatResult,
13968
13968
  error: RunnerRpcError
13969
- }), make5("Complete", {
13969
+ }), make6("Complete", {
13970
13970
  payload: WorkUnitCompletion,
13971
13971
  error: RunnerRpcError
13972
- }), make5("Release", {
13972
+ }), make6("Release", {
13973
13973
  payload: WorkUnitReleaseInput,
13974
13974
  error: RunnerRpcError
13975
- }), make5("Signals", {
13975
+ }), make6("Signals", {
13976
13976
  payload: { runnerReplicaId: String4 },
13977
13977
  success: RunnerSignal,
13978
13978
  error: RunnerRpcError,
13979
13979
  stream: true
13980
- }), make5("ReportSteer", {
13980
+ }), make6("ReportSteer", {
13981
13981
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13982
13982
  success: Void,
13983
13983
  error: RunnerRpcError
13984
- }), make5("AppendTranscript", {
13984
+ }), make6("AppendTranscript", {
13985
13985
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13986
13986
  success: Void,
13987
13987
  error: RunnerRpcError
13988
- }), make5("CreateCheckpointFile", {
13988
+ }), make6("CreateCheckpointFile", {
13989
13989
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13990
13990
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13991
13991
  error: Union([RunnerRpcError, RunFileRefused])
13992
- }), make5("CheckpointFileParts", {
13992
+ }), make6("CheckpointFileParts", {
13993
13993
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13994
13994
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13995
13995
  error: RunnerRpcError
13996
- }), make5("CompleteCheckpointFile", {
13996
+ }), make6("CompleteCheckpointFile", {
13997
13997
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
13998
13998
  success: RunFileRecord,
13999
13999
  error: RunnerRpcError
14000
- }), make5("SaveCheckpoint", {
14000
+ }), make6("SaveCheckpoint", {
14001
14001
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14002
14002
  success: Void,
14003
14003
  error: RunnerRpcError
14004
- }), make5("ResumeCheckpoint", {
14004
+ }), make6("ResumeCheckpoint", {
14005
14005
  payload: { lease: ProgramLease },
14006
14006
  success: UndefinedOr(ResumedCheckpoint),
14007
14007
  error: RunnerRpcError
14008
- }), make5("SettledCheckpoints", {
14008
+ }), make6("SettledCheckpoints", {
14009
14009
  success: ArraySchema(Struct({
14010
14010
  stepAttemptId: String4,
14011
14011
  ref: optionalKey(String4),
14012
14012
  repoBinding: optionalKey(WorkUnitRepoBinding)
14013
14013
  })),
14014
14014
  error: RunnerRpcError
14015
- }), make5("ForgetCheckpoints", {
14015
+ }), make6("ForgetCheckpoints", {
14016
14016
  payload: { stepAttemptIds: ArraySchema(String4) },
14017
14017
  success: Void,
14018
14018
  error: RunnerRpcError
14019
- }), make5("GitCredential", {
14019
+ }), make6("GitCredential", {
14020
14020
  payload: { repoBindingId: String4 },
14021
14021
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14022
14022
  error: RunnerRpcError
14023
- }), make5("Bundle", {
14023
+ }), make6("Bundle", {
14024
14024
  payload: { digest: String4 },
14025
14025
  success: Struct({ bundle: String4 }),
14026
14026
  error: RunnerRpcError
14027
- }), make5("SettledRuns", {
14027
+ }), make6("SettledRuns", {
14028
14028
  payload: { runIds: ArraySchema(String4) },
14029
14029
  success: ArraySchema(String4),
14030
14030
  error: RunnerRpcError
14031
- }), make5("KnownEvidence", {
14031
+ }), make6("KnownEvidence", {
14032
14032
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14033
14033
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14034
14034
  error: RunnerRpcError
14035
14035
  })).middleware(RunnerAuthentication) {
14036
14036
  }
14037
14037
 
14038
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14038
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14039
14039
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14040
14040
  error: RunnerRpcError
14041
- }), make5("DeferredDone", {
14041
+ }), make6("DeferredDone", {
14042
14042
  payload: { lease: ProgramLease, name: String4, exit: Json },
14043
14043
  error: RunnerRpcError
14044
- }), make5("ScheduleClock", {
14044
+ }), make6("ScheduleClock", {
14045
14045
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14046
14046
  error: RunnerRpcError
14047
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14047
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14048
14048
  }
14049
14049
 
14050
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14050
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14051
14051
  payload: {
14052
14052
  lease: ProgramLease,
14053
14053
  step: String4,
@@ -14066,7 +14066,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14066
14066
  },
14067
14067
  success: Struct({ questionId: String4 }),
14068
14068
  error: RunnerRpcError
14069
- }), make5("StartAgentStep", {
14069
+ }), make6("StartAgentStep", {
14070
14070
  payload: {
14071
14071
  lease: ProgramLease,
14072
14072
  step: String4,
@@ -14082,7 +14082,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14082
14082
  },
14083
14083
  success: Struct({ stepAttemptId: String4 }),
14084
14084
  error: RunnerRpcError
14085
- }), make5("StartVerification", {
14085
+ }), make6("StartVerification", {
14086
14086
  payload: {
14087
14087
  lease: ProgramLease,
14088
14088
  step: String4,
@@ -14101,7 +14101,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14101
14101
  },
14102
14102
  success: Struct({ verificationId: String4 }),
14103
14103
  error: RunnerRpcError
14104
- }), make5("AwaitEvent", {
14104
+ }), make6("AwaitEvent", {
14105
14105
  payload: {
14106
14106
  lease: ProgramLease,
14107
14107
  step: String4,
@@ -14117,7 +14117,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14117
14117
  })))
14118
14118
  },
14119
14119
  error: RunnerRpcError
14120
- }), make5("ClaimResource", {
14120
+ }), make6("ClaimResource", {
14121
14121
  payload: {
14122
14122
  lease: ProgramLease,
14123
14123
  step: String4,
@@ -14126,7 +14126,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14126
14126
  action: Literals(["claim", "take_over", "let_go"])
14127
14127
  },
14128
14128
  error: RunnerRpcError
14129
- }), make5("AdmitChild", {
14129
+ }), make6("AdmitChild", {
14130
14130
  payload: {
14131
14131
  lease: ProgramLease,
14132
14132
  step: String4,
@@ -14137,7 +14137,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14137
14137
  },
14138
14138
  success: Struct({ runId: String4 }),
14139
14139
  error: RunnerRpcError
14140
- }), make5("StoreArtifact", {
14140
+ }), make6("StoreArtifact", {
14141
14141
  payload: {
14142
14142
  lease: ProgramLease,
14143
14143
  step: String4,
@@ -14149,7 +14149,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14149
14149
  },
14150
14150
  success: Struct({ artifactId: String4 }),
14151
14151
  error: RunnerRpcError
14152
- }), make5("RecordNote", {
14152
+ }), make6("RecordNote", {
14153
14153
  payload: {
14154
14154
  lease: ProgramLease,
14155
14155
  step: String4,
@@ -14158,7 +14158,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14158
14158
  kind: optional(Literals(["note", "blocker"]))
14159
14159
  },
14160
14160
  error: RunnerRpcError
14161
- }), make5("PerformHostEffect", {
14161
+ }), make6("PerformHostEffect", {
14162
14162
  payload: {
14163
14163
  lease: ProgramLease,
14164
14164
  step: String4,
@@ -14186,7 +14186,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14186
14186
  },
14187
14187
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14188
14188
  error: RunnerRpcError
14189
- }), make5("AlertTask", {
14189
+ }), make6("AlertTask", {
14190
14190
  payload: {
14191
14191
  lease: ProgramLease,
14192
14192
  step: String4,
@@ -14203,8 +14203,8 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14203
14203
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14204
14204
  }),
14205
14205
  error: RunnerRpcError
14206
- }), make5("ReadTranscripts", {
14207
- payload: { lease: ProgramLease, step: String4, days: Int },
14206
+ }), make6("ReadTranscripts", {
14207
+ payload: { lease: ProgramLease, step: String4, days: Int, teamId: optionalKey(String4) },
14208
14208
  success: Struct({
14209
14209
  runs: ArraySchema(Struct({
14210
14210
  runId: String4,
@@ -14218,11 +14218,20 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14218
14218
  sequence: Int,
14219
14219
  kind: String4,
14220
14220
  text: String4
14221
- }))
14222
- }))
14221
+ })),
14222
+ rootRunId: optionalKey(String4),
14223
+ omitted: optionalKey(Int)
14224
+ })),
14225
+ artifactId: optionalKey(String4),
14226
+ findings: optionalKey(ArraySchema(Struct({
14227
+ key: String4,
14228
+ title: String4,
14229
+ taskId: optionalKey(String4),
14230
+ taskKey: optionalKey(String4)
14231
+ })))
14223
14232
  }),
14224
14233
  error: RunnerRpcError
14225
- }), make5("PipelineStatus", {
14234
+ }), make6("PipelineStatus", {
14226
14235
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14227
14236
  success: Struct({
14228
14237
  head: String4,
@@ -14253,11 +14262,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14253
14262
  }))
14254
14263
  }),
14255
14264
  error: RunnerRpcError
14256
- }), make5("ReportPipeline", {
14265
+ }), make6("ReportPipeline", {
14257
14266
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14258
14267
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14259
14268
  error: RunnerRpcError
14260
- }), make5("ReviewThreads", {
14269
+ }), make6("ReviewThreads", {
14261
14270
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14262
14271
  success: Struct({
14263
14272
  threads: ArraySchema(Struct({
@@ -14269,7 +14278,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14269
14278
  }))
14270
14279
  }),
14271
14280
  error: RunnerRpcError
14272
- }), make5("OpenChangeRequests", {
14281
+ }), make6("OpenChangeRequests", {
14273
14282
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14274
14283
  success: Struct({
14275
14284
  changeRequests: ArraySchema(Struct({
@@ -14283,7 +14292,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14283
14292
  }))
14284
14293
  }),
14285
14294
  error: RunnerRpcError
14286
- }), make5("OwnChangeRequests", {
14295
+ }), make6("OwnChangeRequests", {
14287
14296
  payload: { lease: ProgramLease, step: String4 },
14288
14297
  success: Struct({
14289
14298
  changeRequests: ArraySchema(Struct({
@@ -14296,7 +14305,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14296
14305
  }))
14297
14306
  }),
14298
14307
  error: RunnerRpcError
14299
- }), make5("Propose", {
14308
+ }), make6("Propose", {
14300
14309
  payload: {
14301
14310
  lease: ProgramLease,
14302
14311
  step: String4,
@@ -14320,10 +14329,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14320
14329
  success: Struct({
14321
14330
  kind: Literals(["memory", "task"]),
14322
14331
  id: String4,
14323
- matched: optionalKey(Boolean2)
14332
+ matched: optionalKey(Boolean2),
14333
+ task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14324
14334
  }),
14325
14335
  error: RunnerRpcError
14326
- }), make5("ReadProject", {
14336
+ }), make6("ReadProject", {
14327
14337
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14328
14338
  success: Struct({
14329
14339
  project: Struct({ id: String4, name: String4 }),
@@ -14346,7 +14356,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14346
14356
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14347
14357
  }),
14348
14358
  error: RunnerRpcError
14349
- }), make5("DraftUpdate", {
14359
+ }), make6("DraftUpdate", {
14350
14360
  payload: {
14351
14361
  lease: ProgramLease,
14352
14362
  step: String4,
@@ -14361,7 +14371,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14361
14371
  },
14362
14372
  success: Struct({ id: String4 }),
14363
14373
  error: RunnerRpcError
14364
- }), make5("CreatePlanTasks", {
14374
+ }), make6("CreatePlanTasks", {
14365
14375
  payload: {
14366
14376
  lease: ProgramLease,
14367
14377
  projectId: optionalKey(String4),
@@ -14376,11 +14386,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14376
14386
  },
14377
14387
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14378
14388
  error: RunnerRpcError
14379
- }), make5("IntegrationBranch", {
14389
+ }), make6("IntegrationBranch", {
14380
14390
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14381
14391
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14382
14392
  error: RunnerRpcError
14383
- }), make5("MergeChangeRequest", {
14393
+ }), make6("MergeChangeRequest", {
14384
14394
  payload: {
14385
14395
  lease: ProgramLease,
14386
14396
  step: String4,
@@ -14393,7 +14403,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14393
14403
  Struct({ status: Literal("moved"), head: String4 })
14394
14404
  ]),
14395
14405
  error: RunnerRpcError
14396
- }), make5("ApproveChangeRequest", {
14406
+ }), make6("ApproveChangeRequest", {
14397
14407
  payload: {
14398
14408
  lease: ProgramLease,
14399
14409
  step: String4,
@@ -14408,7 +14418,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14408
14418
  Struct({ approved: Literal(false), reason: String4 })
14409
14419
  ]),
14410
14420
  error: RunnerRpcError
14411
- }), make5("CloseChangeRequest", {
14421
+ }), make6("CloseChangeRequest", {
14412
14422
  payload: {
14413
14423
  lease: ProgramLease,
14414
14424
  step: String4,
@@ -14418,7 +14428,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14418
14428
  },
14419
14429
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14420
14430
  error: RunnerRpcError
14421
- }), make5("RerunPipeline", {
14431
+ }), make6("RerunPipeline", {
14422
14432
  payload: {
14423
14433
  lease: ProgramLease,
14424
14434
  step: String4,
@@ -14428,7 +14438,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14428
14438
  },
14429
14439
  success: Struct({ head: String4, pipelines: Int }),
14430
14440
  error: RunnerRpcError
14431
- }), make5("PublishRelease", {
14441
+ }), make6("PublishRelease", {
14432
14442
  payload: {
14433
14443
  lease: ProgramLease,
14434
14444
  step: String4,
@@ -14439,14 +14449,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14439
14449
  },
14440
14450
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14441
14451
  error: RunnerRpcError
14442
- }), make5("ProgramSecrets", {
14452
+ }), make6("ProgramSecrets", {
14443
14453
  payload: { lease: ProgramLease },
14444
14454
  success: Record(String4, String4),
14445
14455
  error: RunnerRpcError
14446
14456
  })).middleware(RunnerAuthentication) {
14447
14457
  }
14448
14458
 
14449
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14459
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14450
14460
  payload: {
14451
14461
  lease: ProgramLease,
14452
14462
  step: String4,
@@ -14458,11 +14468,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14458
14468
  },
14459
14469
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14460
14470
  error: Union([RunnerRpcError, RunFileRefused])
14461
- }), make5("RunFileParts", {
14471
+ }), make6("RunFileParts", {
14462
14472
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14463
14473
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14464
14474
  error: RunnerRpcError
14465
- }), make5("CompleteRunFile", {
14475
+ }), make6("CompleteRunFile", {
14466
14476
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14467
14477
  success: RunFileRecord,
14468
14478
  error: RunnerRpcError
@@ -14551,7 +14561,7 @@ function toStoredSession(token, existingRefreshToken) {
14551
14561
  }
14552
14562
  function startLoopbackServer(input) {
14553
14563
  return gen(function* () {
14554
- const code = yield* make15();
14564
+ const code = yield* make16();
14555
14565
  const context2 = yield* context();
14556
14566
  const runSyncExit = runSyncExitWith(context2);
14557
14567
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15091,7 +15101,7 @@ var openConnection = (transport) => gen(function* () {
15091
15101
  let lastId = 0;
15092
15102
  let lost = false;
15093
15103
  const notifications = yield* unbounded2();
15094
- const ended = yield* make15();
15104
+ const ended = yield* make16();
15095
15105
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15096
15106
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15097
15107
  onNone: () => void_3,
@@ -15118,7 +15128,7 @@ var openConnection = (transport) => gen(function* () {
15118
15128
  if (lost)
15119
15129
  return yield* new HerdrCoreConnectionLost2({ method });
15120
15130
  const id = ++lastId;
15121
- const deferred = yield* make15();
15131
+ const deferred = yield* make16();
15122
15132
  pending.set(id, { method, deferred });
15123
15133
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15124
15134
  return yield* _await(deferred);
@@ -15192,14 +15202,14 @@ var herdrCoreOver = (transport) => ({
15192
15202
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15193
15203
  };
15194
15204
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15195
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15205
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15196
15206
  }))
15197
15207
  });
15198
15208
  var spawnedTransport = (env) => gen(function* () {
15199
15209
  const spawner = yield* ChildProcessSpawner;
15200
15210
  const input = yield* unbounded2();
15201
15211
  const encoder = new TextEncoder;
15202
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15212
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15203
15213
  extendEnv: false,
15204
15214
  env,
15205
15215
  stdin: fromQueue(input),
@@ -15230,7 +15240,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15230
15240
  const spawner = yield* ChildProcessSpawner;
15231
15241
  const env = coreEnv(options);
15232
15242
  const run = (args) => gen(function* () {
15233
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15243
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15234
15244
  const [stdout, stderr, exitCode] = yield* all3([
15235
15245
  mkString(decodeText(handle.stdout)),
15236
15246
  mkString(decodeText(handle.stderr)),
@@ -15256,7 +15266,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15256
15266
  }
15257
15267
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15258
15268
  const spawner = yield* ChildProcessSpawner;
15259
- const handle = yield* spawner.spawn(make2(command, args, {
15269
+ const handle = yield* spawner.spawn(make3(command, args, {
15260
15270
  stdin: "ignore",
15261
15271
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15262
15272
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15282,8 +15292,8 @@ var shellOutputTailChars2 = 64 * 1024;
15282
15292
  var runProcess2 = (argv, options) => gen(function* () {
15283
15293
  const spawner = yield* ChildProcessSpawner;
15284
15294
  const [command, ...args] = argv;
15285
- const handle = yield* spawner.spawn(make2(command, args, {
15286
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15295
+ const handle = yield* spawner.spawn(make3(command, args, {
15296
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15287
15297
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15288
15298
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15289
15299
  }));
@@ -15706,4 +15716,4 @@ function checkServices(declaration) {
15706
15716
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15707
15717
  }
15708
15718
 
15709
- 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 };
15719
+ 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 };