@kitman-sh/cli 0.13.6 → 0.13.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-s06x2ktk.js → chunk-08dyrk6y.js} +7 -7
  2. package/dist/{chunk-vktjb2p7.js → chunk-0h49y8gf.js} +164 -36
  3. package/dist/{chunk-2x1q8z5t.js → chunk-5zhh41gb.js} +4 -4
  4. package/dist/{chunk-27pv44t3.js → chunk-5zth85pj.js} +2 -2
  5. package/dist/{chunk-vmzr8xcg.js → chunk-7bytsxkf.js} +7 -5
  6. package/dist/{chunk-9t8afbrw.js → chunk-96svx416.js} +6 -6
  7. package/dist/{chunk-xc1grg7y.js → chunk-a24jc5rx.js} +69 -47
  8. package/dist/{chunk-cg3xstek.js → chunk-byeasm6x.js} +3 -3
  9. package/dist/{chunk-hg8wgm04.js → chunk-c4ccpwjy.js} +4 -4
  10. package/dist/{chunk-cabmcvy1.js → chunk-cbpb2rww.js} +7 -7
  11. package/dist/{chunk-at4e0xvg.js → chunk-cq2h8q9e.js} +7 -7
  12. package/dist/{chunk-xy7ze8dj.js → chunk-eg1n8wvf.js} +36 -22
  13. package/dist/{chunk-j974anp7.js → chunk-ff1r9vcq.js} +1 -1
  14. package/dist/{chunk-89hds8q4.js → chunk-gj1padza.js} +156 -89
  15. package/dist/{chunk-mm2m3bys.js → chunk-gq7y5v3e.js} +1 -1
  16. package/dist/{chunk-qj412x98.js → chunk-gr17n0z3.js} +11 -11
  17. package/dist/{chunk-bz4bp0q7.js → chunk-gy9rf14f.js} +3 -3
  18. package/dist/{chunk-r08sz4ry.js → chunk-h1rmw7yk.js} +6 -6
  19. package/dist/{chunk-4nfan8t6.js → chunk-mtkstrh3.js} +60 -14
  20. package/dist/{chunk-s8m2tzdr.js → chunk-q5w3v4k1.js} +1 -1
  21. package/dist/{chunk-mwkn1c5q.js → chunk-vm2qy986.js} +129 -111
  22. package/dist/{chunk-skqn4h13.js → chunk-y1krmnbv.js} +2 -2
  23. package/dist/{chunk-a0wt1r43.js → chunk-z68rzf0f.js} +23 -23
  24. package/dist/{chunk-x3cc7dfc.js → chunk-zw3gf6r5.js} +40 -226
  25. package/dist/{chunk-3teferzd.js → chunk-zz589n7a.js} +7 -7
  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,
@@ -84,12 +84,14 @@ import {
84
84
  DisablePropagation,
85
85
  sync,
86
86
  map7,
87
+ ClockRef,
88
+ currentTimeMillis2,
87
89
  ConsoleRef,
88
90
  succeed3,
89
91
  fail4,
90
92
  isSuccess2,
91
93
  makeUnsafe5,
92
- make15,
94
+ make16,
93
95
  _await,
94
96
  fail5,
95
97
  isDone,
@@ -191,12 +193,7 @@ import {
191
193
  clockWith,
192
194
  logError,
193
195
  effectify,
194
- toNumber,
195
- bytes,
196
196
  decode,
197
- isRedacted,
198
- make16,
199
- value,
200
197
  defaultParseOptions,
201
198
  omit,
202
199
  map9,
@@ -264,18 +261,17 @@ import {
264
261
  decodeJsonStringOption,
265
262
  encodeJsonStringSync,
266
263
  encodePrettyJsonString
267
- } from "./chunk-x3cc7dfc.js";
264
+ } from "./chunk-zw3gf6r5.js";
268
265
  import {
269
266
  map,
270
267
  makeEquivalence,
271
- Clock,
272
- currentTimeMillis,
268
+ bytes,
273
269
  BadArgument,
274
270
  systemError,
275
271
  badArgument,
276
272
  makeUnsafe2,
277
- make7,
278
273
  make8,
274
+ make9,
279
275
  sliding,
280
276
  unbounded2,
281
277
  offer,
@@ -291,13 +287,13 @@ import {
291
287
  isSink,
292
288
  fromChannel,
293
289
  drain,
294
- make9,
290
+ make10,
295
291
  get3,
296
292
  isStream,
297
293
  fromChannel2,
298
294
  callback,
299
295
  empty2,
300
- make10,
296
+ make11,
301
297
  suspend,
302
298
  fail2,
303
299
  fromQueue,
@@ -323,16 +319,16 @@ import {
323
319
  mkArrayBuffer,
324
320
  toReadableStreamEffect,
325
321
  FileSystem,
326
- make11,
322
+ make12,
327
323
  FileTypeId,
328
324
  WatchBackend,
329
325
  Path,
330
- make12,
326
+ make13,
331
327
  option,
332
328
  String2,
333
329
  optionalEnv,
334
330
  harnessesUnsupportedInSrt2
335
- } from "./chunk-vktjb2p7.js";
331
+ } from "./chunk-0h49y8gf.js";
336
332
  import {
337
333
  isDateTime,
338
334
  Numeric,
@@ -345,22 +341,29 @@ import {
345
341
  SecretScope,
346
342
  SecretHosts,
347
343
  isSecretReference
348
- } from "./chunk-s8m2tzdr.js";
344
+ } from "./chunk-q5w3v4k1.js";
349
345
  import {
346
+ isRedacted,
347
+ make,
348
+ value,
350
349
  ExitCode,
351
350
  ProcessId,
352
351
  makeHandle,
353
- make,
352
+ make2,
354
353
  ChildProcessSpawner,
355
354
  display,
356
- make2,
355
+ make3,
357
356
  parseFdName,
358
357
  fdName
359
- } from "./chunk-4nfan8t6.js";
358
+ } from "./chunk-mtkstrh3.js";
360
359
 
361
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
362
361
  var makeEquivalence3 = Tuple;
363
362
 
363
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
364
+ var Clock = ClockRef;
365
+ var currentTimeMillis = currentTimeMillis2;
366
+
364
367
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
365
368
  var TypeId = "~effect/DateTime";
366
369
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -515,7 +518,7 @@ var makeUnsafe6 = (input) => {
515
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
516
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
517
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
518
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
519
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
520
523
  var nowUnsafe = () => makeUtc(Date.now());
521
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -894,9 +897,18 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
894
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
895
898
  var runMain = runMain2;
896
899
 
900
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
901
+ var BigInt2 = globalThis.BigInt;
902
+ var toNumber = (b) => {
903
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
904
+ return none();
905
+ }
906
+ return some(Number(b));
907
+ };
908
+
897
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
898
910
  var makeUnsafe = makeUnsafe6;
899
- var make18 = make3;
911
+ var make18 = make4;
900
912
  var now2 = now;
901
913
  var nowUnsafe2 = nowUnsafe;
902
914
  var toDateUtc2 = toDateUtc;
@@ -1111,7 +1123,7 @@ var readableToPullUnsafe = (options) => {
1111
1123
  const readable = options.readable;
1112
1124
  const chunkSize = options.chunkSize ?? 4096;
1113
1125
  const closeOnDone = options.closeOnDone ?? true;
1114
- const exit = options.exit ?? make7(undefined);
1126
+ const exit = options.exit ?? make8(undefined);
1115
1127
  const latch = options.latch ?? makeUnsafe2(false);
1116
1128
  function onReadable() {
1117
1129
  latch.openUnsafe();
@@ -1675,7 +1687,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1675
1687
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1676
1688
  const toOption = options.to ?? "stdin";
1677
1689
  if (toOption === "stdin") {
1678
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1690
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1679
1691
  ...command.options,
1680
1692
  stdin: {
1681
1693
  ...stdinConfig,
@@ -1695,7 +1707,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1695
1707
  type: "input",
1696
1708
  stream: sourceStream
1697
1709
  };
1698
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1710
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1699
1711
  ...command.options,
1700
1712
  additionalFds: {
1701
1713
  ...existingFds,
@@ -1703,7 +1715,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1703
1715
  }
1704
1716
  })));
1705
1717
  } else {
1706
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1718
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1707
1719
  ...command.options,
1708
1720
  stdin: {
1709
1721
  ...stdinConfig,
@@ -1742,7 +1754,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1742
1754
  }
1743
1755
  }
1744
1756
  });
1745
- return make(spawnCommand);
1757
+ return make2(spawnCommand);
1746
1758
  });
1747
1759
  var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1748
1760
  var flattenCommand = (command) => {
@@ -2228,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2228
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2229
2241
  }
2230
2242
  });
2231
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2232
2244
  access: access2,
2233
2245
  chmod: chmod2,
2234
2246
  chown: chown2,
@@ -2288,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2288
2300
  })
2289
2301
  })
2290
2302
  });
2291
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2292
2304
  ...NodePath.posix,
2293
2305
  .../* @__PURE__ */ fileUrlOps(false)
2294
2306
  }));
2295
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2296
2308
  ...NodePath.win32,
2297
2309
  .../* @__PURE__ */ fileUrlOps(true)
2298
2310
  }));
2299
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2300
2312
  ...NodePath,
2301
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2302
2314
  }));
@@ -2818,12 +2830,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2818
2830
  if (typeof key === "string") {
2819
2831
  const k = key.toLowerCase();
2820
2832
  if (k in self) {
2821
- out[k] = make16(self[k]);
2833
+ out[k] = make(self[k]);
2822
2834
  }
2823
2835
  } else {
2824
2836
  for (const name in self) {
2825
2837
  if (name.search(key) !== -1) {
2826
- out[name] = make16(self[name]);
2838
+ out[name] = make(self[name]);
2827
2839
  }
2828
2840
  }
2829
2841
  }
@@ -2930,7 +2942,7 @@ var fromInputNested = (input) => {
2930
2942
  return out;
2931
2943
  };
2932
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
2933
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
2934
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2935
2947
  var empty4 = /* @__PURE__ */ make23([]);
2936
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
@@ -2949,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2949
2961
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2950
2962
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2951
2963
  const patterns = Array.isArray(key) ? key : [key];
2952
- 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]);
2953
2965
  });
2954
2966
  var isRedactedName2 = isRedactedName;
2955
2967
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3025,7 +3037,7 @@ import * as readline from "readline";
3025
3037
  var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3026
3038
  const stdin = process.stdin;
3027
3039
  const stdout = process.stdout;
3028
- const lines = yield* make8();
3040
+ const lines = yield* make9();
3029
3041
  let inputEnded = stdin.readableEnded;
3030
3042
  let readlineActive = false;
3031
3043
  const onStdinEnd = () => {
@@ -3036,7 +3048,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3036
3048
  };
3037
3049
  stdin.once("end", onStdinEnd);
3038
3050
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3039
- const rlRef = yield* make9({
3051
+ const rlRef = yield* make10({
3040
3052
  acquire: acquireRelease(sync2(() => {
3041
3053
  const rl = readline.createInterface({
3042
3054
  input: stdin,
@@ -3075,7 +3087,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3075
3087
  if (stdin.isTTY)
3076
3088
  stdin.setRawMode(enabled);
3077
3089
  });
3078
- const rawModeRef = yield* make9({
3090
+ const rawModeRef = yield* make10({
3079
3091
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3080
3092
  idleTimeToLive: "10 millis"
3081
3093
  });
@@ -3096,7 +3108,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3096
3108
  return queue;
3097
3109
  });
3098
3110
  const readInput = gen(function* () {
3099
- const queue = yield* make8();
3111
+ const queue = yield* make9();
3100
3112
  const handleKeypress = (s, k) => {
3101
3113
  const userInput = {
3102
3114
  input: fromUndefinedOr(s),
@@ -8175,6 +8187,7 @@ var TeamDeliverySettings = Struct({
8175
8187
  isolatedChildBranchTemplate: BranchTemplate,
8176
8188
  delivery: DeliveryMode,
8177
8189
  hoursPerPriorityLevel: HoursPerPriorityLevel,
8190
+ agentsStateScope: Boolean2,
8178
8191
  revision: Int.check(isGreaterThanOrEqualTo(1))
8179
8192
  });
8180
8193
  var TeamDeliverySettingsUpdate = Struct({
@@ -8184,6 +8197,7 @@ var TeamDeliverySettingsUpdate = Struct({
8184
8197
  isolatedChildBranchTemplate: optionalKey(BranchTemplate),
8185
8198
  delivery: optionalKey(DeliveryMode),
8186
8199
  hoursPerPriorityLevel: optionalKey(HoursPerPriorityLevel),
8200
+ agentsStateScope: optionalKey(Boolean2),
8187
8201
  expectedRevision: Int.check(isGreaterThanOrEqualTo(1))
8188
8202
  });
8189
8203
  var TeamReference = Struct({ id: Id, workspaceId: Id, key: String4, name: String4 });
@@ -8554,6 +8568,8 @@ var Task = Struct({
8554
8568
  title: String4.check(isMinLength(1), isMaxLength(240)),
8555
8569
  description: optionalKey(String4),
8556
8570
  acceptanceCriteria: ArraySchema(String4),
8571
+ promise: optionalKey(String4),
8572
+ outOfScope: optionalKey(ArraySchema(String4)),
8557
8573
  state: TaskState,
8558
8574
  priority: Literals(TaskPriorities),
8559
8575
  assigneeId: optionalKey(Id),
@@ -9951,14 +9967,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9951
9967
  return self;
9952
9968
  }
9953
9969
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9954
- var make4 = (method) => (url, options) => modify(empty6, {
9970
+ var make5 = (method) => (url, options) => modify(empty6, {
9955
9971
  method,
9956
9972
  url,
9957
9973
  ...options ?? undefined
9958
9974
  });
9959
- var get = /* @__PURE__ */ make4("GET");
9960
- var post = /* @__PURE__ */ make4("POST");
9961
- var put = /* @__PURE__ */ make4("PUT");
9975
+ var get = /* @__PURE__ */ make5("GET");
9976
+ var post = /* @__PURE__ */ make5("POST");
9977
+ var put = /* @__PURE__ */ make5("PUT");
9962
9978
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9963
9979
  let result = self;
9964
9980
  if (options.method) {
@@ -10259,7 +10275,7 @@ var Proto7 = {
10259
10275
  };
10260
10276
  },
10261
10277
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10262
- return this.execute(make4(fullMethod)(url, options));
10278
+ return this.execute(make5(fullMethod)(url, options));
10263
10279
  }]))
10264
10280
  };
10265
10281
  var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
@@ -13969,7 +13985,7 @@ var makeProto = (options) => {
13969
13985
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13970
13986
  return Rpc;
13971
13987
  };
13972
- var make5 = (tag, options) => {
13988
+ var make6 = (tag, options) => {
13973
13989
  const successSchema = options?.success ?? Void;
13974
13990
  const errorSchema = options?.error ?? Never;
13975
13991
  const defectSchema = options?.defect ?? Defect();
@@ -14180,7 +14196,7 @@ var RpcGroupProto = {
14180
14196
  });
14181
14197
  },
14182
14198
  annotateRpcs(service, value) {
14183
- return this.annotateRpcsMerge(make14(service, value));
14199
+ return this.annotateRpcsMerge(make15(service, value));
14184
14200
  },
14185
14201
  annotateMerge(context) {
14186
14202
  return makeProto2({
@@ -14203,7 +14219,7 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14203
14219
  requests: options.requests,
14204
14220
  annotations: options.annotations
14205
14221
  });
14206
- var make6 = (...rpcs) => makeProto2({
14222
+ var make7 = (...rpcs) => makeProto2({
14207
14223
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14208
14224
  annotations: empty3()
14209
14225
  });
@@ -14309,96 +14325,96 @@ var ProgramOutcome = Union([
14309
14325
  Struct({ status: Literal("failed"), failureSummary: String4 })
14310
14326
  ]);
14311
14327
 
14312
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14328
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
14313
14329
  payload: WorkUnitClaimInput,
14314
14330
  success: WorkUnitClaimResult,
14315
14331
  error: RunnerRpcError
14316
- }), make5("Heartbeat", {
14332
+ }), make6("Heartbeat", {
14317
14333
  payload: WorkUnitHeartbeatInput,
14318
14334
  success: WorkUnitHeartbeatResult,
14319
14335
  error: RunnerRpcError
14320
- }), make5("Complete", {
14336
+ }), make6("Complete", {
14321
14337
  payload: WorkUnitCompletion,
14322
14338
  error: RunnerRpcError
14323
- }), make5("Release", {
14339
+ }), make6("Release", {
14324
14340
  payload: WorkUnitReleaseInput,
14325
14341
  error: RunnerRpcError
14326
- }), make5("Signals", {
14342
+ }), make6("Signals", {
14327
14343
  payload: { runnerReplicaId: String4 },
14328
14344
  success: RunnerSignal,
14329
14345
  error: RunnerRpcError,
14330
14346
  stream: true
14331
- }), make5("ReportSteer", {
14347
+ }), make6("ReportSteer", {
14332
14348
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14333
14349
  success: Void,
14334
14350
  error: RunnerRpcError
14335
- }), make5("AppendTranscript", {
14351
+ }), make6("AppendTranscript", {
14336
14352
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14337
14353
  success: Void,
14338
14354
  error: RunnerRpcError
14339
- }), make5("CreateCheckpointFile", {
14355
+ }), make6("CreateCheckpointFile", {
14340
14356
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14341
14357
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14342
14358
  error: Union([RunnerRpcError, RunFileRefused])
14343
- }), make5("CheckpointFileParts", {
14359
+ }), make6("CheckpointFileParts", {
14344
14360
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14345
14361
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14346
14362
  error: RunnerRpcError
14347
- }), make5("CompleteCheckpointFile", {
14363
+ }), make6("CompleteCheckpointFile", {
14348
14364
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14349
14365
  success: RunFileRecord,
14350
14366
  error: RunnerRpcError
14351
- }), make5("SaveCheckpoint", {
14367
+ }), make6("SaveCheckpoint", {
14352
14368
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14353
14369
  success: Void,
14354
14370
  error: RunnerRpcError
14355
- }), make5("ResumeCheckpoint", {
14371
+ }), make6("ResumeCheckpoint", {
14356
14372
  payload: { lease: ProgramLease },
14357
14373
  success: UndefinedOr(ResumedCheckpoint),
14358
14374
  error: RunnerRpcError
14359
- }), make5("SettledCheckpoints", {
14375
+ }), make6("SettledCheckpoints", {
14360
14376
  success: ArraySchema(Struct({
14361
14377
  stepAttemptId: String4,
14362
14378
  ref: optionalKey(String4),
14363
14379
  repoBinding: optionalKey(WorkUnitRepoBinding)
14364
14380
  })),
14365
14381
  error: RunnerRpcError
14366
- }), make5("ForgetCheckpoints", {
14382
+ }), make6("ForgetCheckpoints", {
14367
14383
  payload: { stepAttemptIds: ArraySchema(String4) },
14368
14384
  success: Void,
14369
14385
  error: RunnerRpcError
14370
- }), make5("GitCredential", {
14386
+ }), make6("GitCredential", {
14371
14387
  payload: { repoBindingId: String4 },
14372
14388
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14373
14389
  error: RunnerRpcError
14374
- }), make5("Bundle", {
14390
+ }), make6("Bundle", {
14375
14391
  payload: { digest: String4 },
14376
14392
  success: Struct({ bundle: String4 }),
14377
14393
  error: RunnerRpcError
14378
- }), make5("SettledRuns", {
14394
+ }), make6("SettledRuns", {
14379
14395
  payload: { runIds: ArraySchema(String4) },
14380
14396
  success: ArraySchema(String4),
14381
14397
  error: RunnerRpcError
14382
- }), make5("KnownEvidence", {
14398
+ }), make6("KnownEvidence", {
14383
14399
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14384
14400
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14385
14401
  error: RunnerRpcError
14386
14402
  })).middleware(RunnerAuthentication) {
14387
14403
  }
14388
14404
 
14389
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14405
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14390
14406
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14391
14407
  error: RunnerRpcError
14392
- }), make5("DeferredDone", {
14408
+ }), make6("DeferredDone", {
14393
14409
  payload: { lease: ProgramLease, name: String4, exit: Json },
14394
14410
  error: RunnerRpcError
14395
- }), make5("ScheduleClock", {
14411
+ }), make6("ScheduleClock", {
14396
14412
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14397
14413
  error: RunnerRpcError
14398
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14414
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14399
14415
  }
14400
14416
 
14401
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14417
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14402
14418
  payload: {
14403
14419
  lease: ProgramLease,
14404
14420
  step: String4,
@@ -14418,7 +14434,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14418
14434
  },
14419
14435
  success: Struct({ questionId: String4 }),
14420
14436
  error: RunnerRpcError
14421
- }), make5("StartAgentStep", {
14437
+ }), make6("StartAgentStep", {
14422
14438
  payload: {
14423
14439
  lease: ProgramLease,
14424
14440
  step: String4,
@@ -14434,7 +14450,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14434
14450
  },
14435
14451
  success: Struct({ stepAttemptId: String4 }),
14436
14452
  error: RunnerRpcError
14437
- }), make5("StartVerification", {
14453
+ }), make6("StartVerification", {
14438
14454
  payload: {
14439
14455
  lease: ProgramLease,
14440
14456
  step: String4,
@@ -14455,7 +14471,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14455
14471
  },
14456
14472
  success: Struct({ verificationId: String4 }),
14457
14473
  error: RunnerRpcError
14458
- }), make5("AwaitEvent", {
14474
+ }), make6("AwaitEvent", {
14459
14475
  payload: {
14460
14476
  lease: ProgramLease,
14461
14477
  step: String4,
@@ -14471,7 +14487,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14471
14487
  })))
14472
14488
  },
14473
14489
  error: RunnerRpcError
14474
- }), make5("ClaimResource", {
14490
+ }), make6("ClaimResource", {
14475
14491
  payload: {
14476
14492
  lease: ProgramLease,
14477
14493
  step: String4,
@@ -14480,7 +14496,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14480
14496
  action: Literals(["claim", "take_over", "let_go"])
14481
14497
  },
14482
14498
  error: RunnerRpcError
14483
- }), make5("AdmitChild", {
14499
+ }), make6("AdmitChild", {
14484
14500
  payload: {
14485
14501
  lease: ProgramLease,
14486
14502
  step: String4,
@@ -14491,7 +14507,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14491
14507
  },
14492
14508
  success: Struct({ runId: String4 }),
14493
14509
  error: RunnerRpcError
14494
- }), make5("StoreArtifact", {
14510
+ }), make6("StoreArtifact", {
14495
14511
  payload: {
14496
14512
  lease: ProgramLease,
14497
14513
  step: String4,
@@ -14503,7 +14519,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14503
14519
  },
14504
14520
  success: Struct({ artifactId: String4 }),
14505
14521
  error: RunnerRpcError
14506
- }), make5("RecordNote", {
14522
+ }), make6("RecordNote", {
14507
14523
  payload: {
14508
14524
  lease: ProgramLease,
14509
14525
  step: String4,
@@ -14512,7 +14528,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14512
14528
  kind: optional(Literals(["note", "blocker"]))
14513
14529
  },
14514
14530
  error: RunnerRpcError
14515
- }), make5("PerformHostEffect", {
14531
+ }), make6("PerformHostEffect", {
14516
14532
  payload: {
14517
14533
  lease: ProgramLease,
14518
14534
  step: String4,
@@ -14541,7 +14557,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14541
14557
  },
14542
14558
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14543
14559
  error: RunnerRpcError
14544
- }), make5("AlertTask", {
14560
+ }), make6("AlertTask", {
14545
14561
  payload: {
14546
14562
  lease: ProgramLease,
14547
14563
  step: String4,
@@ -14558,7 +14574,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14558
14574
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14559
14575
  }),
14560
14576
  error: RunnerRpcError
14561
- }), make5("ReadTranscripts", {
14577
+ }), make6("ReadTranscripts", {
14562
14578
  payload: {
14563
14579
  lease: ProgramLease,
14564
14580
  step: String4,
@@ -14593,7 +14609,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14593
14609
  })))
14594
14610
  }),
14595
14611
  error: RunnerRpcError
14596
- }), make5("PipelineStatus", {
14612
+ }), make6("PipelineStatus", {
14597
14613
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14598
14614
  success: Struct({
14599
14615
  head: String4,
@@ -14627,11 +14643,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14627
14643
  }))
14628
14644
  }),
14629
14645
  error: RunnerRpcError
14630
- }), make5("ReportPipeline", {
14646
+ }), make6("ReportPipeline", {
14631
14647
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14632
14648
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14633
14649
  error: RunnerRpcError
14634
- }), make5("ReviewThreads", {
14650
+ }), make6("ReviewThreads", {
14635
14651
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14636
14652
  success: Struct({
14637
14653
  threads: ArraySchema(Struct({
@@ -14643,7 +14659,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14643
14659
  }))
14644
14660
  }),
14645
14661
  error: RunnerRpcError
14646
- }), make5("OpenChangeRequests", {
14662
+ }), make6("OpenChangeRequests", {
14647
14663
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14648
14664
  success: Struct({
14649
14665
  changeRequests: ArraySchema(Struct({
@@ -14657,7 +14673,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14657
14673
  }))
14658
14674
  }),
14659
14675
  error: RunnerRpcError
14660
- }), make5("OwnChangeRequests", {
14676
+ }), make6("OwnChangeRequests", {
14661
14677
  payload: { lease: ProgramLease, step: String4 },
14662
14678
  success: Struct({
14663
14679
  changeRequests: ArraySchema(Struct({
@@ -14670,7 +14686,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14670
14686
  }))
14671
14687
  }),
14672
14688
  error: RunnerRpcError
14673
- }), make5("Propose", {
14689
+ }), make6("Propose", {
14674
14690
  payload: {
14675
14691
  lease: ProgramLease,
14676
14692
  step: String4,
@@ -14699,7 +14715,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14699
14715
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14700
14716
  }),
14701
14717
  error: RunnerRpcError
14702
- }), make5("ReadProject", {
14718
+ }), make6("ReadProject", {
14703
14719
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14704
14720
  success: Struct({
14705
14721
  project: Struct({ id: String4, name: String4 }),
@@ -14722,7 +14738,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14722
14738
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14723
14739
  }),
14724
14740
  error: RunnerRpcError
14725
- }), make5("DraftUpdate", {
14741
+ }), make6("DraftUpdate", {
14726
14742
  payload: {
14727
14743
  lease: ProgramLease,
14728
14744
  step: String4,
@@ -14737,7 +14753,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14737
14753
  },
14738
14754
  success: Struct({ id: String4 }),
14739
14755
  error: RunnerRpcError
14740
- }), make5("CreatePlanTasks", {
14756
+ }), make6("CreatePlanTasks", {
14741
14757
  payload: {
14742
14758
  lease: ProgramLease,
14743
14759
  projectId: optionalKey(String4),
@@ -14748,6 +14764,8 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14748
14764
  title: String4,
14749
14765
  body: String4,
14750
14766
  acceptanceCriteria: ArraySchema(String4),
14767
+ promise: optionalKey(String4),
14768
+ outOfScope: optionalKey(ArraySchema(String4)),
14751
14769
  blockedBy: ArraySchema(String4),
14752
14770
  outcome: optionalKey(Literals(["feature", "bug", "refactor", "investigation", "docs", "migration", "performance"])),
14753
14771
  repoBindingId: optionalKey(String4)
@@ -14755,15 +14773,15 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14755
14773
  },
14756
14774
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14757
14775
  error: RunnerRpcError
14758
- }), make5("IntegrationBranch", {
14776
+ }), make6("IntegrationBranch", {
14759
14777
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14760
14778
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14761
14779
  error: RunnerRpcError
14762
- }), make5("DeliveryBase", {
14780
+ }), make6("DeliveryBase", {
14763
14781
  payload: { lease: ProgramLease },
14764
14782
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14765
14783
  error: RunnerRpcError
14766
- }), make5("MergeChangeRequest", {
14784
+ }), make6("MergeChangeRequest", {
14767
14785
  payload: {
14768
14786
  lease: ProgramLease,
14769
14787
  step: String4,
@@ -14781,7 +14799,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14781
14799
  Struct({ status: Literal("moved"), head: String4 })
14782
14800
  ]),
14783
14801
  error: RunnerRpcError
14784
- }), make5("ApproveChangeRequest", {
14802
+ }), make6("ApproveChangeRequest", {
14785
14803
  payload: {
14786
14804
  lease: ProgramLease,
14787
14805
  step: String4,
@@ -14797,7 +14815,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14797
14815
  Struct({ approved: Literal(false), reason: String4 })
14798
14816
  ]),
14799
14817
  error: RunnerRpcError
14800
- }), make5("CloseChangeRequest", {
14818
+ }), make6("CloseChangeRequest", {
14801
14819
  payload: {
14802
14820
  lease: ProgramLease,
14803
14821
  step: String4,
@@ -14807,7 +14825,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14807
14825
  },
14808
14826
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14809
14827
  error: RunnerRpcError
14810
- }), make5("RerunPipeline", {
14828
+ }), make6("RerunPipeline", {
14811
14829
  payload: {
14812
14830
  lease: ProgramLease,
14813
14831
  step: String4,
@@ -14817,7 +14835,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14817
14835
  },
14818
14836
  success: Struct({ head: String4, pipelines: Int }),
14819
14837
  error: RunnerRpcError
14820
- }), make5("PublishRelease", {
14838
+ }), make6("PublishRelease", {
14821
14839
  payload: {
14822
14840
  lease: ProgramLease,
14823
14841
  step: String4,
@@ -14829,14 +14847,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14829
14847
  },
14830
14848
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14831
14849
  error: RunnerRpcError
14832
- }), make5("ProgramSecrets", {
14850
+ }), make6("ProgramSecrets", {
14833
14851
  payload: { lease: ProgramLease },
14834
14852
  success: Record(String4, String4),
14835
14853
  error: RunnerRpcError
14836
14854
  })).middleware(RunnerAuthentication) {
14837
14855
  }
14838
14856
 
14839
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14857
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14840
14858
  payload: {
14841
14859
  lease: ProgramLease,
14842
14860
  step: String4,
@@ -14848,11 +14866,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14848
14866
  },
14849
14867
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14850
14868
  error: Union([RunnerRpcError, RunFileRefused])
14851
- }), make5("RunFileParts", {
14869
+ }), make6("RunFileParts", {
14852
14870
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14853
14871
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14854
14872
  error: RunnerRpcError
14855
- }), make5("CompleteRunFile", {
14873
+ }), make6("CompleteRunFile", {
14856
14874
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14857
14875
  success: RunFileRecord,
14858
14876
  error: RunnerRpcError
@@ -14941,7 +14959,7 @@ function toStoredSession(token, existingRefreshToken) {
14941
14959
  }
14942
14960
  function startLoopbackServer(input) {
14943
14961
  return gen(function* () {
14944
- const code = yield* make15();
14962
+ const code = yield* make16();
14945
14963
  const context2 = yield* context();
14946
14964
  const runSyncExit = runSyncExitWith(context2);
14947
14965
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15481,7 +15499,7 @@ var openConnection = (transport) => gen(function* () {
15481
15499
  let lastId = 0;
15482
15500
  let lost = false;
15483
15501
  const notifications = yield* unbounded2();
15484
- const ended = yield* make15();
15502
+ const ended = yield* make16();
15485
15503
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15486
15504
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15487
15505
  onNone: () => void_3,
@@ -15508,7 +15526,7 @@ var openConnection = (transport) => gen(function* () {
15508
15526
  if (lost)
15509
15527
  return yield* new HerdrCoreConnectionLost2({ method });
15510
15528
  const id = ++lastId;
15511
- const deferred = yield* make15();
15529
+ const deferred = yield* make16();
15512
15530
  pending.set(id, { method, deferred });
15513
15531
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15514
15532
  return yield* _await(deferred);
@@ -15582,14 +15600,14 @@ var herdrCoreOver = (transport) => ({
15582
15600
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15583
15601
  };
15584
15602
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15585
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15603
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15586
15604
  }))
15587
15605
  });
15588
15606
  var spawnedTransport = (env) => gen(function* () {
15589
15607
  const spawner = yield* ChildProcessSpawner;
15590
15608
  const input = yield* unbounded2();
15591
15609
  const encoder = new TextEncoder;
15592
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15610
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15593
15611
  extendEnv: false,
15594
15612
  env,
15595
15613
  stdin: fromQueue(input),
@@ -15620,7 +15638,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15620
15638
  const spawner = yield* ChildProcessSpawner;
15621
15639
  const env = coreEnv(options);
15622
15640
  const run = (args) => gen(function* () {
15623
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15641
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15624
15642
  const [stdout, stderr, exitCode] = yield* all3([
15625
15643
  mkString(decodeText(handle.stdout)),
15626
15644
  mkString(decodeText(handle.stderr)),
@@ -15646,7 +15664,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15646
15664
  }
15647
15665
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15648
15666
  const spawner = yield* ChildProcessSpawner;
15649
- const handle = yield* spawner.spawn(make2(command, args, {
15667
+ const handle = yield* spawner.spawn(make3(command, args, {
15650
15668
  stdin: "ignore",
15651
15669
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15652
15670
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15672,8 +15690,8 @@ var shellOutputTailChars2 = 64 * 1024;
15672
15690
  var runProcess2 = (argv, options) => gen(function* () {
15673
15691
  const spawner = yield* ChildProcessSpawner;
15674
15692
  const [command, ...args] = argv;
15675
- const handle = yield* spawner.spawn(make2(command, args, {
15676
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15693
+ const handle = yield* spawner.spawn(make3(command, args, {
15694
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15677
15695
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15678
15696
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15679
15697
  }));
@@ -16105,4 +16123,4 @@ function checkServices(declaration) {
16105
16123
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16106
16124
  }
16107
16125
 
16108
- export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make4, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16126
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };