@kitman-sh/cli 0.10.81 → 0.10.83

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-zktywann.js → chunk-1chta572.js} +14 -14
  2. package/dist/{chunk-a10dn5vf.js → chunk-20rbya07.js} +35 -35
  3. package/dist/{chunk-1mcwey0c.js → chunk-292vjjdz.js} +1 -1
  4. package/dist/{chunk-w9j2yb0n.js → chunk-2fqry6rd.js} +40 -183
  5. package/dist/{chunk-5tezkbn0.js → chunk-2rpwpzt5.js} +119 -132
  6. package/dist/{chunk-52209e52.js → chunk-66fhj0c3.js} +12 -10
  7. package/dist/{chunk-xk8qzgn7.js → chunk-6kt28g8r.js} +69 -28
  8. package/dist/{chunk-cw2ghw7n.js → chunk-72232jhj.js} +4 -4
  9. package/dist/{chunk-p74pmd81.js → chunk-7bsf0fyh.js} +1 -6
  10. package/dist/{chunk-bjbphmyt.js → chunk-7wag4s6j.js} +4 -4
  11. package/dist/{chunk-maj4dn1b.js → chunk-93vddjpx.js} +1 -1
  12. package/dist/{chunk-dmwqvnmb.js → chunk-999xbcaa.js} +6 -6
  13. package/dist/{chunk-q0gqkem3.js → chunk-adqabkwv.js} +5 -5
  14. package/dist/{chunk-ybp1mwv9.js → chunk-bjexx93x.js} +60 -14
  15. package/dist/{chunk-aj4ev9v2.js → chunk-by54dw1n.js} +2 -2
  16. package/dist/{chunk-f5mmvr81.js → chunk-dzthc6th.js} +9 -9
  17. package/dist/{chunk-ym8t1vr6.js → chunk-hccw303w.js} +7 -7
  18. package/dist/{chunk-5dwyvg1z.js → chunk-mr30hj39.js} +5 -5
  19. package/dist/{chunk-4325dpky.js → chunk-ptp9p22x.js} +20 -20
  20. package/dist/{chunk-vne4rsj0.js → chunk-qnnsy306.js} +2 -2
  21. package/dist/{chunk-tbgxe3w0.js → chunk-smnx6fad.js} +8 -8
  22. package/dist/{chunk-symx9akd.js → chunk-tnqzvx55.js} +361 -196
  23. package/dist/{chunk-scabqmnx.js → chunk-xbyd16q3.js} +3 -3
  24. package/dist/{chunk-caqesagt.js → chunk-xq4k0mgr.js} +59 -101
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -62,9 +62,11 @@ import {
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
65
- get4,
65
+ get3,
66
66
  merge3,
67
67
  Reference,
68
+ fromInputUnsafe,
69
+ isFinite,
68
70
  millis,
69
71
  seconds,
70
72
  toMillis,
@@ -84,12 +86,12 @@ import {
84
86
  DisablePropagation,
85
87
  sync,
86
88
  map7,
87
- ClockRef,
88
- currentTimeMillis2,
89
89
  ConsoleRef,
90
90
  succeed3,
91
91
  fail4,
92
+ void_2,
92
93
  isSuccess2,
94
+ isFailure2,
93
95
  makeUnsafe5,
94
96
  make15,
95
97
  _await,
@@ -99,8 +101,12 @@ import {
99
101
  succeed4,
100
102
  doneUnsafe,
101
103
  TracerTimingEnabled,
104
+ Scope,
105
+ makeUnsafe6,
102
106
  provide,
107
+ addFinalizerExit,
103
108
  addFinalizer,
109
+ close,
104
110
  succeed5,
105
111
  effect,
106
112
  effectContext,
@@ -152,6 +158,7 @@ import {
152
158
  tapCause,
153
159
  retry,
154
160
  ignore,
161
+ ignoreCause,
155
162
  orElseSucceed,
156
163
  timeout,
157
164
  timeoutOrElse,
@@ -163,6 +170,7 @@ import {
163
170
  context,
164
171
  contextWith,
165
172
  provide3,
173
+ provideContext2,
166
174
  serviceOption,
167
175
  updateContext,
168
176
  provideService,
@@ -173,6 +181,7 @@ import {
173
181
  addFinalizer2,
174
182
  ensuring2,
175
183
  onError,
184
+ onExit,
176
185
  cached,
177
186
  interrupt3,
178
187
  interruptible,
@@ -184,6 +193,7 @@ import {
184
193
  withParentSpan,
185
194
  forkScoped,
186
195
  runFork,
196
+ runForkWith,
187
197
  runPromise,
188
198
  runPromiseWith,
189
199
  runSync,
@@ -194,9 +204,6 @@ import {
194
204
  logError,
195
205
  effectify,
196
206
  decode,
197
- isRedacted,
198
- make16,
199
- value,
200
207
  defaultParseOptions,
201
208
  omit,
202
209
  map9,
@@ -205,7 +212,7 @@ import {
205
212
  decodeEffect,
206
213
  decodeUnknownOption,
207
214
  decodeOption,
208
- make17,
215
+ make16,
209
216
  isSchema,
210
217
  optionalKey,
211
218
  optional,
@@ -252,17 +259,37 @@ import {
252
259
  decodeJsonStringOption,
253
260
  encodeJsonStringSync,
254
261
  encodePrettyJsonString
255
- } from "./chunk-caqesagt.js";
262
+ } from "./chunk-xq4k0mgr.js";
263
+ import {
264
+ toJsonValue,
265
+ isOneOf,
266
+ isBigInt,
267
+ isBoolean,
268
+ isFunction,
269
+ isNumber,
270
+ isObject,
271
+ isJsonObject,
272
+ isString,
273
+ isSymbol,
274
+ isUndefined,
275
+ kindOf
276
+ } from "./chunk-292vjjdz.js";
256
277
  import {
257
278
  map,
258
279
  makeEquivalence,
280
+ Clock,
281
+ currentTimeMillis,
259
282
  bytes,
283
+ join,
284
+ interrupt,
285
+ getCurrent,
286
+ runIn,
260
287
  BadArgument,
261
288
  systemError,
262
289
  badArgument,
263
290
  makeUnsafe2,
264
- make7,
265
291
  make8,
292
+ make9,
266
293
  sliding,
267
294
  unbounded2,
268
295
  offer,
@@ -278,8 +305,6 @@ import {
278
305
  isSink,
279
306
  fromChannel,
280
307
  drain,
281
- make9,
282
- get3,
283
308
  isStream,
284
309
  fromChannel2,
285
310
  callback,
@@ -319,18 +344,21 @@ import {
319
344
  String2,
320
345
  optionalEnv,
321
346
  harnessesUnsupportedInSrt2
322
- } from "./chunk-w9j2yb0n.js";
347
+ } from "./chunk-2fqry6rd.js";
323
348
  import {
349
+ isRedacted,
350
+ make,
351
+ value,
324
352
  ExitCode,
325
353
  ProcessId,
326
354
  makeHandle,
327
- make,
355
+ make2,
328
356
  ChildProcessSpawner,
329
357
  display,
330
- make2,
358
+ make3,
331
359
  parseFdName,
332
360
  fdName
333
- } from "./chunk-ybp1mwv9.js";
361
+ } from "./chunk-bjexx93x.js";
334
362
  import {
335
363
  isDateTime,
336
364
  Numeric,
@@ -343,29 +371,11 @@ import {
343
371
  SecretScope,
344
372
  SecretHosts,
345
373
  isSecretReference
346
- } from "./chunk-p74pmd81.js";
347
- import {
348
- toJsonValue,
349
- isOneOf,
350
- isBigInt,
351
- isBoolean,
352
- isFunction,
353
- isNumber,
354
- isObject,
355
- isJsonObject,
356
- isString,
357
- isSymbol,
358
- isUndefined,
359
- kindOf
360
- } from "./chunk-1mcwey0c.js";
374
+ } from "./chunk-7bsf0fyh.js";
361
375
 
362
376
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
363
377
  var makeEquivalence3 = Tuple;
364
378
 
365
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
366
- var Clock = ClockRef;
367
- var currentTimeMillis = currentTimeMillis2;
368
-
369
379
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
370
380
  var TypeId = "~effect/DateTime";
371
381
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -500,7 +510,7 @@ var fromDateUnsafe = (date) => {
500
510
  }
501
511
  return makeUtc(epochMillis);
502
512
  };
503
- var makeUnsafe6 = (input) => {
513
+ var makeUnsafe7 = (input) => {
504
514
  if (isDateTime2(input)) {
505
515
  return input;
506
516
  } else if (input instanceof Date) {
@@ -520,7 +530,7 @@ var makeUnsafe6 = (input) => {
520
530
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
521
531
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
522
532
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
523
- var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
533
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
524
534
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
525
535
  var nowUnsafe = () => makeUtc(Date.now());
526
536
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -627,7 +637,7 @@ class Metric$ {
627
637
  }
628
638
  hook(context) {
629
639
  const key = this.key(context);
630
- const registry = get4(context, MetricRegistry);
640
+ const registry = get3(context, MetricRegistry);
631
641
  let metadata = registry.get(key);
632
642
  if (isUndefined2(metadata)) {
633
643
  metadata = this.metadata(this.createHooks());
@@ -636,11 +646,11 @@ class Metric$ {
636
646
  return metadata.hooks;
637
647
  }
638
648
  removeUnsafe(context) {
639
- get4(context, MetricRegistry).delete(this.key(context));
649
+ get3(context, MetricRegistry).delete(this.key(context));
640
650
  }
641
651
  registerUnsafe(context, hooks) {
642
652
  const key = this.key(context);
643
- const registry = get4(context, MetricRegistry);
653
+ const registry = get3(context, MetricRegistry);
644
654
  const metadata = this.metadata({
645
655
  get: hooks.get,
646
656
  update: constVoid,
@@ -656,7 +666,7 @@ class Metric$ {
656
666
  };
657
667
  }
658
668
  key(context) {
659
- const extraAttributes = get4(context, CurrentMetricAttributes);
669
+ const extraAttributes = get3(context, CurrentMetricAttributes);
660
670
  if (extraAttributes !== this.#extraAttributes) {
661
671
  this.#extraAttributes = extraAttributes;
662
672
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -908,9 +918,151 @@ var toNumber = (b) => {
908
918
  return some(Number(b));
909
919
  };
910
920
 
921
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
922
+ var TypeId3 = "~effect/RcRef";
923
+ var stateEmpty = {
924
+ _tag: "Empty"
925
+ };
926
+ var stateClosed = {
927
+ _tag: "Closed"
928
+ };
929
+ var variance = {
930
+ _A: identity,
931
+ _E: identity
932
+ };
933
+
934
+ class RcRefImpl {
935
+ [TypeId3] = variance;
936
+ pipe() {
937
+ return pipeArguments(this, arguments);
938
+ }
939
+ state = stateEmpty;
940
+ acquire;
941
+ context;
942
+ scope;
943
+ idleTimeToLive;
944
+ constructor(acquire, context, scope, idleTimeToLive) {
945
+ this.acquire = acquire;
946
+ this.context = context;
947
+ this.scope = scope;
948
+ this.idleTimeToLive = idleTimeToLive;
949
+ }
950
+ }
951
+ var make17 = (options) => withFiber2((fiber) => {
952
+ const context = fiber.context;
953
+ const scope = get3(context, Scope);
954
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
955
+ return as(addFinalizerExit(scope, () => {
956
+ const state = ref.state;
957
+ ref.state = stateClosed;
958
+ if (state._tag === "Acquired")
959
+ return close(state.scope, void_2);
960
+ if (state._tag === "Acquiring")
961
+ return interrupt(state.fiber);
962
+ return void_3;
963
+ }), ref);
964
+ });
965
+ var getState = (self, restore) => {
966
+ switch (self.state._tag) {
967
+ case "Closed": {
968
+ return interrupt3;
969
+ }
970
+ case "Acquired": {
971
+ const state = self.state;
972
+ state.refCount++;
973
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
974
+ }
975
+ case "Acquiring": {
976
+ const state = self.state;
977
+ state.awaiters++;
978
+ return awaitAcquiring(self, state, restore);
979
+ }
980
+ case "Empty": {
981
+ const acquiring = {
982
+ _tag: "Acquiring",
983
+ fiber: undefined,
984
+ awaiters: 1,
985
+ acquired: undefined
986
+ };
987
+ self.state = acquiring;
988
+ const scope = makeUnsafe6();
989
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
990
+ if (self.state !== acquiring) {
991
+ return interrupt3;
992
+ }
993
+ const state = {
994
+ _tag: "Acquired",
995
+ value,
996
+ scope,
997
+ fiber: undefined,
998
+ refCount: acquiring.awaiters,
999
+ invalidated: false
1000
+ };
1001
+ self.state = state;
1002
+ acquiring.acquired = state;
1003
+ return succeed6(state);
1004
+ }), onExit((exit) => {
1005
+ if (isSuccess2(exit))
1006
+ return void_3;
1007
+ if (self.state === acquiring)
1008
+ self.state = stateEmpty;
1009
+ return close(scope, exit);
1010
+ }));
1011
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1012
+ return awaitAcquiring(self, acquiring, restore);
1013
+ }
1014
+ }
1015
+ };
1016
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1017
+ const acquired = acquiring.acquired;
1018
+ if (acquired !== undefined) {
1019
+ return isFailure2(exit) ? release(self, acquired) : void_3;
1020
+ }
1021
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
1022
+ return void_3;
1023
+ self.state = stateEmpty;
1024
+ return interrupt(acquiring.fiber);
1025
+ });
1026
+ var get4 = (self_) => {
1027
+ const self = self_;
1028
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1029
+ };
1030
+ var release = (self, state) => {
1031
+ state.refCount--;
1032
+ if (state.refCount > 0) {
1033
+ return void_3;
1034
+ }
1035
+ const idleTimeToLive = self.idleTimeToLive;
1036
+ if (idleTimeToLive === undefined || state.invalidated) {
1037
+ if (self.state === state) {
1038
+ self.state = stateEmpty;
1039
+ }
1040
+ return close(state.scope, void_2);
1041
+ } else if (!isFinite(idleTimeToLive)) {
1042
+ return void_3;
1043
+ }
1044
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1045
+ if (self.state === state && state.refCount === 0) {
1046
+ self.state = stateEmpty;
1047
+ return ignoreCause(close(state.scope, void_2), {
1048
+ log: "Unhandled",
1049
+ message: "Unhandled error in RcRef finalizer"
1050
+ });
1051
+ }
1052
+ return void_3;
1053
+ })).pipe(ensuring2(sync2(() => {
1054
+ state.fiber = undefined;
1055
+ })), runForkWith(self.context), runIn(self.scope));
1056
+ return void_3;
1057
+ };
1058
+
1059
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1060
+ var make18 = make17;
1061
+ var get5 = get4;
1062
+
911
1063
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
912
- var makeUnsafe = makeUnsafe6;
913
- var make18 = make3;
1064
+ var makeUnsafe = makeUnsafe7;
1065
+ var make19 = make4;
914
1066
  var now2 = now;
915
1067
  var nowUnsafe2 = nowUnsafe;
916
1068
  var toDateUtc2 = toDateUtc;
@@ -1125,7 +1277,7 @@ var readableToPullUnsafe = (options) => {
1125
1277
  const readable = options.readable;
1126
1278
  const chunkSize = options.chunkSize ?? 4096;
1127
1279
  const closeOnDone = options.closeOnDone ?? true;
1128
- const exit = options.exit ?? make7(undefined);
1280
+ const exit = options.exit ?? make8(undefined);
1129
1281
  const latch = options.latch ?? makeUnsafe2(false);
1130
1282
  function onReadable() {
1131
1283
  latch.openUnsafe();
@@ -1229,7 +1381,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1229
1381
  windowsHide: true
1230
1382
  }, onExit);
1231
1383
  };
1232
- var make19 = /* @__PURE__ */ gen(function* () {
1384
+ var make20 = /* @__PURE__ */ gen(function* () {
1233
1385
  const fs = yield* FileSystem;
1234
1386
  const path = yield* Path;
1235
1387
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1689,7 +1841,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1689
1841
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1690
1842
  const toOption = options.to ?? "stdin";
1691
1843
  if (toOption === "stdin") {
1692
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1844
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1693
1845
  ...command.options,
1694
1846
  stdin: {
1695
1847
  ...stdinConfig,
@@ -1709,7 +1861,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1709
1861
  type: "input",
1710
1862
  stream: sourceStream
1711
1863
  };
1712
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1864
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1713
1865
  ...command.options,
1714
1866
  additionalFds: {
1715
1867
  ...existingFds,
@@ -1717,7 +1869,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1717
1869
  }
1718
1870
  })));
1719
1871
  } else {
1720
- handles.push(yield* spawnCommand(make2(command.command, command.args, {
1872
+ handles.push(yield* spawnCommand(make3(command.command, command.args, {
1721
1873
  ...command.options,
1722
1874
  stdin: {
1723
1875
  ...stdinConfig,
@@ -1756,9 +1908,9 @@ var make19 = /* @__PURE__ */ gen(function* () {
1756
1908
  }
1757
1909
  }
1758
1910
  });
1759
- return make(spawnCommand);
1911
+ return make2(spawnCommand);
1760
1912
  });
1761
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1913
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1762
1914
  var flattenCommand = (command) => {
1763
1915
  const commands = [];
1764
1916
  const pipeOptions = [];
@@ -2319,10 +2471,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2319
2471
  var layer2 = layer7;
2320
2472
 
2321
2473
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2322
- var TypeId3 = "~effect/Stdio";
2323
- var Stdio = /* @__PURE__ */ Service2(TypeId3);
2324
- var make20 = (options) => ({
2325
- [TypeId3]: TypeId3,
2474
+ var TypeId4 = "~effect/Stdio";
2475
+ var Stdio = /* @__PURE__ */ Service2(TypeId4);
2476
+ var make21 = (options) => ({
2477
+ [TypeId4]: TypeId4,
2326
2478
  stdinIsTerminal: succeed6(false),
2327
2479
  stdoutIsTerminal: succeed6(false),
2328
2480
  stderrIsTerminal: succeed6(false),
@@ -2330,7 +2482,7 @@ var make20 = (options) => ({
2330
2482
  });
2331
2483
 
2332
2484
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2333
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2485
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2334
2486
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2335
2487
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2336
2488
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2530,7 +2682,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2530
2682
  const uuid = bytes(randomBytes(16));
2531
2683
  return format === "bytes" ? uuid : stringify(uuid);
2532
2684
  };
2533
- var make21 = (randomBytes) => {
2685
+ var make22 = (randomBytes) => {
2534
2686
  const randomBytesChecked = (size) => {
2535
2687
  checkSize(size);
2536
2688
  return randomBytes(size);
@@ -2564,13 +2716,13 @@ var fillRandom = (crypto2, size) => {
2564
2716
  }
2565
2717
  return bytes;
2566
2718
  };
2567
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2719
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2568
2720
 
2569
2721
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2570
- var TypeId4 = "~effect/http/Cookies";
2722
+ var TypeId5 = "~effect/http/Cookies";
2571
2723
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2572
2724
  var Proto2 = {
2573
- [TypeId4]: TypeId4,
2725
+ [TypeId5]: TypeId5,
2574
2726
  ...BaseProto,
2575
2727
  toJSON() {
2576
2728
  return {
@@ -2749,14 +2901,14 @@ var tryDecodeURIComponent = (str) => {
2749
2901
  };
2750
2902
 
2751
2903
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2752
- var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2904
+ var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2753
2905
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2754
- [TypeId5]: {
2755
- value: TypeId5
2906
+ [TypeId6]: {
2907
+ value: TypeId6
2756
2908
  },
2757
2909
  [symbolRedactable]: {
2758
2910
  value(context) {
2759
- return redact2(this, get4(context, CurrentRedactedNames));
2911
+ return redact2(this, get3(context, CurrentRedactedNames));
2760
2912
  }
2761
2913
  },
2762
2914
  toJSON: {
@@ -2781,7 +2933,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2781
2933
  value: BaseProto[NodeInspectSymbol]
2782
2934
  }
2783
2935
  });
2784
- var make22 = (input) => Object.assign(Object.create(Proto3), input);
2936
+ var make23 = (input) => Object.assign(Object.create(Proto3), input);
2785
2937
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2786
2938
  var empty = /* @__PURE__ */ Object.create(Proto3);
2787
2939
  var fromInput = (input) => {
@@ -2806,21 +2958,21 @@ var fromInput = (input) => {
2806
2958
  };
2807
2959
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2808
2960
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2809
- const out = make22(self);
2961
+ const out = make23(self);
2810
2962
  out[key.toLowerCase()] = value;
2811
2963
  return out;
2812
2964
  });
2813
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2965
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2814
2966
  ...self,
2815
2967
  ...fromInput(headers)
2816
2968
  }));
2817
2969
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2818
- const out = make22(self);
2970
+ const out = make23(self);
2819
2971
  Object.assign(out, headers);
2820
2972
  return out;
2821
2973
  });
2822
2974
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2823
- const out = make22(self);
2975
+ const out = make23(self);
2824
2976
  delete out[key.toLowerCase()];
2825
2977
  return out;
2826
2978
  });
@@ -2832,12 +2984,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2832
2984
  if (typeof key === "string") {
2833
2985
  const k = key.toLowerCase();
2834
2986
  if (k in self) {
2835
- out[k] = make16(self[k]);
2987
+ out[k] = make(self[k]);
2836
2988
  }
2837
2989
  } else {
2838
2990
  for (const name in self) {
2839
2991
  if (name.search(key) !== -1) {
2840
- out[name] = make16(self[name]);
2992
+ out[name] = make(self[name]);
2841
2993
  }
2842
2994
  }
2843
2995
  }
@@ -2877,18 +3029,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
2877
3029
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
2878
3030
 
2879
3031
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
2880
- var TypeId6 = "~effect/http/UrlParams";
2881
- var isUrlParams = (u) => hasProperty(u, TypeId6);
3032
+ var TypeId7 = "~effect/http/UrlParams";
3033
+ var isUrlParams = (u) => hasProperty(u, TypeId7);
2882
3034
  var Proto4 = {
2883
3035
  ...PipeInspectableProto,
2884
- [TypeId6]: TypeId6,
3036
+ [TypeId7]: TypeId7,
2885
3037
  [Symbol.iterator]() {
2886
3038
  return this.params[Symbol.iterator]();
2887
3039
  },
2888
3040
  [symbolRedactable](context) {
2889
3041
  return {
2890
3042
  _id: "UrlParams",
2891
- params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3043
+ params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2892
3044
  };
2893
3045
  },
2894
3046
  toJSON() {
@@ -2901,7 +3053,7 @@ var Proto4 = {
2901
3053
  return array(this.params.flat());
2902
3054
  }
2903
3055
  };
2904
- var make23 = (params) => {
3056
+ var make24 = (params) => {
2905
3057
  const self = Object.create(Proto4);
2906
3058
  self.params = params;
2907
3059
  return self;
@@ -2920,7 +3072,7 @@ var fromInput2 = (input) => {
2920
3072
  out.push(parsed[i]);
2921
3073
  }
2922
3074
  }
2923
- return make23(out);
3075
+ return make24(out);
2924
3076
  };
2925
3077
  var fromInputNested = (input) => {
2926
3078
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -2946,7 +3098,7 @@ var fromInputNested = (input) => {
2946
3098
  var coerce = (value) => isRedacted(value) ? value : String(value);
2947
3099
  var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2948
3100
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2949
- var empty4 = /* @__PURE__ */ make23([]);
3101
+ var empty4 = /* @__PURE__ */ make24([]);
2950
3102
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2951
3103
  const params = fromInput2(input).params.slice();
2952
3104
  const keys = new Set;
@@ -2958,12 +3110,12 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2958
3110
  continue;
2959
3111
  params.push(self.params[i]);
2960
3112
  }
2961
- return make23(params);
3113
+ return make24(params);
2962
3114
  });
2963
3115
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2964
3116
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
2965
3117
  const patterns = Array.isArray(key) ? key : [key];
2966
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
3118
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2967
3119
  });
2968
3120
  var isRedactedName2 = isRedactedName;
2969
3121
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3014,13 +3166,13 @@ var decodeQueryKey = (key) => {
3014
3166
  return key;
3015
3167
  }
3016
3168
  };
3017
- var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3169
+ var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3018
3170
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3019
3171
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3020
3172
  });
3021
3173
 
3022
3174
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3023
- var TypeId7 = "~effect/Terminal";
3175
+ var TypeId8 = "~effect/Terminal";
3024
3176
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3025
3177
 
3026
3178
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3029,17 +3181,17 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3029
3181
  [QuitErrorTypeId] = QuitErrorTypeId;
3030
3182
  }
3031
3183
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3032
- var make24 = (impl) => Terminal.of({
3184
+ var make25 = (impl) => Terminal.of({
3033
3185
  ...impl,
3034
- [TypeId7]: TypeId7
3186
+ [TypeId8]: TypeId8
3035
3187
  });
3036
3188
 
3037
3189
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3038
3190
  import * as readline from "readline";
3039
- var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3191
+ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3040
3192
  const stdin = process.stdin;
3041
3193
  const stdout = process.stdout;
3042
- const lines = yield* make8();
3194
+ const lines = yield* make9();
3043
3195
  let inputEnded = stdin.readableEnded;
3044
3196
  let readlineActive = false;
3045
3197
  const onStdinEnd = () => {
@@ -3050,7 +3202,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3050
3202
  };
3051
3203
  stdin.once("end", onStdinEnd);
3052
3204
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3053
- const rlRef = yield* make9({
3205
+ const rlRef = yield* make18({
3054
3206
  acquire: acquireRelease(sync2(() => {
3055
3207
  const rl = readline.createInterface({
3056
3208
  input: stdin,
@@ -3089,7 +3241,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3089
3241
  if (stdin.isTTY)
3090
3242
  stdin.setRawMode(enabled);
3091
3243
  });
3092
- const rawModeRef = yield* make9({
3244
+ const rawModeRef = yield* make18({
3093
3245
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3094
3246
  idleTimeToLive: "10 millis"
3095
3247
  });
@@ -3110,7 +3262,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3110
3262
  return queue;
3111
3263
  });
3112
3264
  const readInput = gen(function* () {
3113
- const queue = yield* make8();
3265
+ const queue = yield* make9();
3114
3266
  const handleKeypress = (s, k) => {
3115
3267
  const userInput = {
3116
3268
  input: fromUndefinedOr(s),
@@ -3140,14 +3292,14 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3140
3292
  if (inputEnded) {
3141
3293
  handleEnd();
3142
3294
  } else {
3143
- yield* get3(rlRef);
3144
- yield* get3(rawModeRef);
3295
+ yield* get5(rlRef);
3296
+ yield* get5(rawModeRef);
3145
3297
  stdin.once("end", handleEnd);
3146
3298
  }
3147
3299
  return queue;
3148
3300
  });
3149
3301
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3150
- onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3302
+ onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3151
3303
  onSome: succeed6
3152
3304
  })), mapError2(() => new QuitError({}))));
3153
3305
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3158,7 +3310,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3158
3310
  cause: err
3159
3311
  }))));
3160
3312
  }));
3161
- return make24({
3313
+ return make25({
3162
3314
  columns,
3163
3315
  rows,
3164
3316
  size,
@@ -3167,7 +3319,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3167
3319
  display
3168
3320
  });
3169
3321
  });
3170
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3322
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3171
3323
  function defaultShouldQuit(input) {
3172
3324
  const key = input.key;
3173
3325
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3194,7 +3346,7 @@ function toDate(input) {
3194
3346
  return toDateUtc2(makeUnsafe(input));
3195
3347
  }
3196
3348
  function parseDate(input) {
3197
- return getOrUndefined(map4(make18(input), toDateUtc2));
3349
+ return getOrUndefined(map4(make19(input), toDateUtc2));
3198
3350
  }
3199
3351
  function toIso(input) {
3200
3352
  return formatIso(makeUnsafe(input));
@@ -6790,6 +6942,12 @@ var MeasureEvidence = Struct({
6790
6942
  head: MeasureSamples,
6791
6943
  baseAgain: optionalKey(MeasureSamples)
6792
6944
  });
6945
+ var ResolveSpec = Struct({
6946
+ revisions: ArraySchema(String4.check(isMinLength(1), isMaxLength(240))).check(isMinLength(1), isMaxLength(10))
6947
+ });
6948
+ var ResolvedRevisions = Struct({
6949
+ commits: ArraySchema(String4.check(isPattern(new RegExp("^[0-9a-f]{40}([0-9a-f]{24})?$", "u"))))
6950
+ });
6793
6951
  var VerificationWorkUnit = Struct({
6794
6952
  kind: Literal("verification"),
6795
6953
  id: Id,
@@ -6802,6 +6960,7 @@ var VerificationWorkUnit = Struct({
6802
6960
  baseline: optionalKey(String4.check(isMinLength(1), isMaxLength(300))),
6803
6961
  checks: ArraySchema(RepositoryCheck).check(isMaxLength(50)),
6804
6962
  measure: optionalKey(MeasureSpec),
6963
+ resolve: optionalKey(ResolveSpec),
6805
6964
  hosts: optionalKey(ArraySchema(NetworkHost)),
6806
6965
  storageOrigin: StorageOrigin
6807
6966
  });
@@ -6850,7 +7009,8 @@ var TreeEvidence = Struct({
6850
7009
  var VerificationEvidence = Struct({
6851
7010
  head: TreeEvidence,
6852
7011
  baseline: optionalKey(TreeEvidence),
6853
- measurement: optionalKey(MeasureEvidence)
7012
+ measurement: optionalKey(MeasureEvidence),
7013
+ resolved: optionalKey(ResolvedRevisions)
6854
7014
  });
6855
7015
  var BoundaryChange = Struct({
6856
7016
  kind: Literal("change"),
@@ -6893,6 +7053,7 @@ var WorkUnitOutcome = Struct({
6893
7053
  evidence: optionalKey(VerificationEvidence),
6894
7054
  boundary: optionalKey(BoundaryChange),
6895
7055
  catchUp: optionalKey(CatchUp),
7056
+ syncedTarget: optionalKey(Revision),
6896
7057
  harnessHold: optionalKey(HarnessHold),
6897
7058
  restart: optionalKey(StepRestart),
6898
7059
  failureSummary: optionalKey(String4.check(isMinLength(1), isMaxLength(4000)))
@@ -7162,7 +7323,8 @@ var RunnerCapabilities = Struct({
7162
7323
  repoBindings: optionalKey(ArraySchema(RunnerRepoBindingCapability)),
7163
7324
  runs: optionalKey(RunnerLoopExecutionCapability),
7164
7325
  resourceLimits: optionalKey(RunnerResourceLimits),
7165
- measure: optionalKey(Boolean2)
7326
+ measure: optionalKey(Boolean2),
7327
+ resolve: optionalKey(Boolean2)
7166
7328
  });
7167
7329
  var Runner = Struct({
7168
7330
  id: Id,
@@ -9385,11 +9547,11 @@ var TranscriptSearchResult = Struct({
9385
9547
  total: Int
9386
9548
  });
9387
9549
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9388
- var TypeId8 = "~effect/http/HttpBody";
9550
+ var TypeId9 = "~effect/http/HttpBody";
9389
9551
  class Proto5 {
9390
- [TypeId8];
9552
+ [TypeId9];
9391
9553
  constructor() {
9392
- this[TypeId8] = TypeId8;
9554
+ this[TypeId9] = TypeId9;
9393
9555
  }
9394
9556
  [NodeInspectSymbol]() {
9395
9557
  return this.toJSON();
@@ -9480,7 +9642,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
9480
9642
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
9481
9643
 
9482
9644
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9483
- var TypeId9 = "~effect/http/HttpClientError";
9645
+ var TypeId10 = "~effect/http/HttpClientError";
9484
9646
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9485
9647
  constructor(props) {
9486
9648
  if ("cause" in props.reason) {
@@ -9492,7 +9654,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9492
9654
  super(props);
9493
9655
  }
9494
9656
  }
9495
- [TypeId9] = TypeId9;
9657
+ [TypeId10] = TypeId10;
9496
9658
  get request() {
9497
9659
  return this.reason.request;
9498
9660
  }
@@ -9596,7 +9758,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
9596
9758
  }
9597
9759
  }
9598
9760
 
9599
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
9761
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9600
9762
  _tag: /* @__PURE__ */ tag("HttpError"),
9601
9763
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
9602
9764
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -9629,7 +9791,7 @@ var updateContentLength = (headers, body) => {
9629
9791
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
9630
9792
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
9631
9793
  }
9632
- var make26 = (url, params, hash) => try_({
9794
+ var make27 = (url, params, hash) => try_({
9633
9795
  try: () => {
9634
9796
  const urlInstance = new URL(url, baseUrl());
9635
9797
  for (let i = 0;i < params.params.length; i++) {
@@ -9660,10 +9822,10 @@ var baseUrl = () => {
9660
9822
  };
9661
9823
 
9662
9824
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
9663
- var TypeId10 = "~effect/http/HttpClientRequest";
9664
- var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
9825
+ var TypeId11 = "~effect/http/HttpClientRequest";
9826
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
9665
9827
  var Proto6 = {
9666
- [TypeId10]: TypeId10,
9828
+ [TypeId11]: TypeId11,
9667
9829
  ...BaseProto,
9668
9830
  toJSON() {
9669
9831
  return {
@@ -9691,14 +9853,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9691
9853
  return self;
9692
9854
  }
9693
9855
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9694
- var make4 = (method) => (url, options) => modify(empty6, {
9856
+ var make5 = (method) => (url, options) => modify(empty6, {
9695
9857
  method,
9696
9858
  url,
9697
9859
  ...options ?? undefined
9698
9860
  });
9699
- var get = /* @__PURE__ */ make4("GET");
9700
- var post = /* @__PURE__ */ make4("POST");
9701
- var put = /* @__PURE__ */ make4("PUT");
9861
+ var get = /* @__PURE__ */ make5("GET");
9862
+ var post = /* @__PURE__ */ make5("POST");
9863
+ var put = /* @__PURE__ */ make5("PUT");
9702
9864
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9703
9865
  let result = self;
9704
9866
  if (options.method) {
@@ -9752,7 +9914,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
9752
9914
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
9753
9915
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
9754
9916
  function toUrl(self) {
9755
- const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
9917
+ const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
9756
9918
  if (isSuccess(r)) {
9757
9919
  return some(r.success);
9758
9920
  }
@@ -9760,7 +9922,7 @@ function toUrl(self) {
9760
9922
  }
9761
9923
 
9762
9924
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
9763
- var TypeId11 = "~effect/http/HttpIncomingMessage";
9925
+ var TypeId12 = "~effect/http/HttpIncomingMessage";
9764
9926
  var schemaBodyJson = (schema, options) => {
9765
9927
  const decode = decodeEffect(toCodecJson(schema));
9766
9928
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -9779,7 +9941,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
9779
9941
  var getWebSource = (self) => self[WebSourceSymbol]?.();
9780
9942
 
9781
9943
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
9782
- var TypeId12 = "~effect/http/HttpClientResponse";
9944
+ var TypeId13 = "~effect/http/HttpClientResponse";
9783
9945
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
9784
9946
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
9785
9947
  reason: new StatusCodeError({
@@ -9790,16 +9952,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
9790
9952
  }));
9791
9953
 
9792
9954
  class WebHttpClientResponse extends Class {
9793
- [TypeId11];
9794
9955
  [TypeId12];
9956
+ [TypeId13];
9795
9957
  request;
9796
9958
  source;
9797
9959
  constructor(request, source) {
9798
9960
  super();
9799
9961
  this.request = request;
9800
9962
  this.source = source;
9801
- this[TypeId11] = TypeId11;
9802
9963
  this[TypeId12] = TypeId12;
9964
+ this[TypeId13] = TypeId13;
9803
9965
  }
9804
9966
  toJSON() {
9805
9967
  return inspect(this, {
@@ -9971,7 +10133,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
9971
10133
  };
9972
10134
 
9973
10135
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
9974
- var TypeId13 = "~effect/http/HttpClient";
10136
+ var TypeId14 = "~effect/http/HttpClient";
9975
10137
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
9976
10138
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
9977
10139
  var execute = /* @__PURE__ */ accessor("execute");
@@ -9988,7 +10150,7 @@ var makeWith2 = (postprocess, preprocess) => {
9988
10150
  return self;
9989
10151
  };
9990
10152
  var Proto7 = {
9991
- [TypeId13]: TypeId13,
10153
+ [TypeId14]: TypeId14,
9992
10154
  pipe() {
9993
10155
  return pipeArguments(this, arguments);
9994
10156
  },
@@ -9999,13 +10161,13 @@ var Proto7 = {
9999
10161
  };
10000
10162
  },
10001
10163
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10002
- return this.execute(make4(fullMethod)(url, options));
10164
+ return this.execute(make5(fullMethod)(url, options));
10003
10165
  }]))
10004
10166
  };
10005
- var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10167
+ var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10006
10168
  const scopedController = scopedRequests.get(request);
10007
10169
  const controller = scopedController ?? new AbortController;
10008
- const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10170
+ const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10009
10171
  if (isFailure(urlResult)) {
10010
10172
  return fail7(new HttpClientError({
10011
10173
  reason: new InvalidUrlError({
@@ -10139,8 +10301,8 @@ class InterruptibleResponse {
10139
10301
  this.original = original;
10140
10302
  this.controller = controller;
10141
10303
  }
10304
+ [TypeId13] = TypeId13;
10142
10305
  [TypeId12] = TypeId12;
10143
- [TypeId11] = TypeId11;
10144
10306
  applyInterrupt(effect) {
10145
10307
  return suspend3(() => {
10146
10308
  responseRegistry.unregister(this.original);
@@ -10238,7 +10400,7 @@ var detectStreamBodySupport = () => {
10238
10400
  return false;
10239
10401
  }
10240
10402
  };
10241
- var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10403
+ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10242
10404
  if (request.headers.upgrade !== undefined) {
10243
10405
  return fail7(new HttpClientError({
10244
10406
  reason: new TransportError({
@@ -10329,10 +10491,10 @@ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10329
10491
  });
10330
10492
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10331
10493
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10332
- var TypeId14 = "~effect/socket/Socket";
10494
+ var TypeId15 = "~effect/socket/Socket";
10333
10495
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10334
- var make28 = (options) => Socket.of({
10335
- [TypeId14]: TypeId14,
10496
+ var make29 = (options) => Socket.of({
10497
+ [TypeId15]: TypeId15,
10336
10498
  reader: options.reader,
10337
10499
  writer: options.writer
10338
10500
  });
@@ -10655,7 +10817,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
10655
10817
  write,
10656
10818
  writeAll
10657
10819
  });
10658
- return succeed6(make28({
10820
+ return succeed6(make29({
10659
10821
  reader,
10660
10822
  writer
10661
10823
  }));
@@ -13507,7 +13669,7 @@ function getStreamSchemas(schema) {
13507
13669
  }
13508
13670
  var schema = /* @__PURE__ */ declare(isStream);
13509
13671
  function Stream(success, error) {
13510
- return make17(schema.ast, {
13672
+ return make16(schema.ast, {
13511
13673
  [StreamSchemaTypeId]: StreamSchemaTypeId,
13512
13674
  success,
13513
13675
  error
@@ -13515,9 +13677,9 @@ function Stream(success, error) {
13515
13677
  }
13516
13678
 
13517
13679
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
13518
- var TypeId15 = "~effect/rpc/Rpc";
13680
+ var TypeId16 = "~effect/rpc/Rpc";
13519
13681
  var Proto8 = {
13520
- [TypeId15]: TypeId15,
13682
+ [TypeId16]: TypeId16,
13521
13683
  pipe() {
13522
13684
  return pipeArguments(this, arguments);
13523
13685
  },
@@ -13606,7 +13768,7 @@ var makeProto = (options) => {
13606
13768
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13607
13769
  return Rpc;
13608
13770
  };
13609
- var make5 = (tag, options) => {
13771
+ var make6 = (tag, options) => {
13610
13772
  const successSchema = options?.success ?? Void;
13611
13773
  const errorSchema = options?.error ?? Never;
13612
13774
  const defectSchema = options?.defect ?? Defect();
@@ -13684,7 +13846,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
13684
13846
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
13685
13847
 
13686
13848
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
13687
- var TypeId16 = "~effect/rpc/RpcClientError";
13849
+ var TypeId17 = "~effect/rpc/RpcClientError";
13688
13850
 
13689
13851
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
13690
13852
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -13693,11 +13855,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
13693
13855
  })) {
13694
13856
  }
13695
13857
 
13696
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
13858
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
13697
13859
  _tag: /* @__PURE__ */ tag("RpcClientError"),
13698
13860
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
13699
13861
  })) {
13700
- [TypeId16] = TypeId16;
13862
+ [TypeId17] = TypeId17;
13701
13863
  get message() {
13702
13864
  return `${this.reason._tag}: ${this.reason.message}`;
13703
13865
  }
@@ -13840,12 +14002,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
13840
14002
  requests: options.requests,
13841
14003
  annotations: options.annotations
13842
14004
  });
13843
- var make6 = (...rpcs) => makeProto2({
14005
+ var make7 = (...rpcs) => makeProto2({
13844
14006
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
13845
14007
  annotations: empty3()
13846
14008
  });
13847
14009
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
13848
- var TypeId17 = "~effect/rpc/RpcMiddleware";
14010
+ var TypeId18 = "~effect/rpc/RpcMiddleware";
13849
14011
  var Service = () => (id, options) => {
13850
14012
  const limit = getStackTraceLimit();
13851
14013
  let creationError;
@@ -13863,7 +14025,7 @@ var Service = () => (id, options) => {
13863
14025
  return creationError?.stack;
13864
14026
  }
13865
14027
  });
13866
- ServiceClass_[TypeId17] = TypeId17;
14028
+ ServiceClass_[TypeId18] = TypeId18;
13867
14029
  ServiceClass_.error = options?.error ?? Never;
13868
14030
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
13869
14031
  return ServiceClass;
@@ -13947,96 +14109,96 @@ var ProgramOutcome = Union([
13947
14109
  Struct({ status: Literal("failed"), failureSummary: String4 })
13948
14110
  ]);
13949
14111
 
13950
- class RunnerReplicaRpcs extends make6(make5("Claim", {
14112
+ class RunnerReplicaRpcs extends make7(make6("Claim", {
13951
14113
  payload: WorkUnitClaimInput,
13952
14114
  success: WorkUnitClaimResult,
13953
14115
  error: RunnerRpcError
13954
- }), make5("Heartbeat", {
14116
+ }), make6("Heartbeat", {
13955
14117
  payload: WorkUnitHeartbeatInput,
13956
14118
  success: WorkUnitHeartbeatResult,
13957
14119
  error: RunnerRpcError
13958
- }), make5("Complete", {
14120
+ }), make6("Complete", {
13959
14121
  payload: WorkUnitCompletion,
13960
14122
  error: RunnerRpcError
13961
- }), make5("Release", {
14123
+ }), make6("Release", {
13962
14124
  payload: WorkUnitReleaseInput,
13963
14125
  error: RunnerRpcError
13964
- }), make5("Signals", {
14126
+ }), make6("Signals", {
13965
14127
  payload: { runnerReplicaId: String4 },
13966
14128
  success: RunnerSignal,
13967
14129
  error: RunnerRpcError,
13968
14130
  stream: true
13969
- }), make5("ReportSteer", {
14131
+ }), make6("ReportSteer", {
13970
14132
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
13971
14133
  success: Void,
13972
14134
  error: RunnerRpcError
13973
- }), make5("AppendTranscript", {
14135
+ }), make6("AppendTranscript", {
13974
14136
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
13975
14137
  success: Void,
13976
14138
  error: RunnerRpcError
13977
- }), make5("CreateCheckpointFile", {
14139
+ }), make6("CreateCheckpointFile", {
13978
14140
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
13979
14141
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
13980
14142
  error: Union([RunnerRpcError, RunFileRefused])
13981
- }), make5("CheckpointFileParts", {
14143
+ }), make6("CheckpointFileParts", {
13982
14144
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
13983
14145
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
13984
14146
  error: RunnerRpcError
13985
- }), make5("CompleteCheckpointFile", {
14147
+ }), make6("CompleteCheckpointFile", {
13986
14148
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
13987
14149
  success: RunFileRecord,
13988
14150
  error: RunnerRpcError
13989
- }), make5("SaveCheckpoint", {
14151
+ }), make6("SaveCheckpoint", {
13990
14152
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
13991
14153
  success: Void,
13992
14154
  error: RunnerRpcError
13993
- }), make5("ResumeCheckpoint", {
14155
+ }), make6("ResumeCheckpoint", {
13994
14156
  payload: { lease: ProgramLease },
13995
14157
  success: UndefinedOr(ResumedCheckpoint),
13996
14158
  error: RunnerRpcError
13997
- }), make5("SettledCheckpoints", {
14159
+ }), make6("SettledCheckpoints", {
13998
14160
  success: ArraySchema(Struct({
13999
14161
  stepAttemptId: String4,
14000
14162
  ref: optionalKey(String4),
14001
14163
  repoBinding: optionalKey(WorkUnitRepoBinding)
14002
14164
  })),
14003
14165
  error: RunnerRpcError
14004
- }), make5("ForgetCheckpoints", {
14166
+ }), make6("ForgetCheckpoints", {
14005
14167
  payload: { stepAttemptIds: ArraySchema(String4) },
14006
14168
  success: Void,
14007
14169
  error: RunnerRpcError
14008
- }), make5("GitCredential", {
14170
+ }), make6("GitCredential", {
14009
14171
  payload: { repoBindingId: String4 },
14010
14172
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14011
14173
  error: RunnerRpcError
14012
- }), make5("Bundle", {
14174
+ }), make6("Bundle", {
14013
14175
  payload: { digest: String4 },
14014
14176
  success: Struct({ bundle: String4 }),
14015
14177
  error: RunnerRpcError
14016
- }), make5("SettledRuns", {
14178
+ }), make6("SettledRuns", {
14017
14179
  payload: { runIds: ArraySchema(String4) },
14018
14180
  success: ArraySchema(String4),
14019
14181
  error: RunnerRpcError
14020
- }), make5("KnownEvidence", {
14182
+ }), make6("KnownEvidence", {
14021
14183
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14022
14184
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14023
14185
  error: RunnerRpcError
14024
14186
  })).middleware(RunnerAuthentication) {
14025
14187
  }
14026
14188
 
14027
- class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14189
+ class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14028
14190
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14029
14191
  error: RunnerRpcError
14030
- }), make5("DeferredDone", {
14192
+ }), make6("DeferredDone", {
14031
14193
  payload: { lease: ProgramLease, name: String4, exit: Json },
14032
14194
  error: RunnerRpcError
14033
- }), make5("ScheduleClock", {
14195
+ }), make6("ScheduleClock", {
14034
14196
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14035
14197
  error: RunnerRpcError
14036
- }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14198
+ }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14037
14199
  }
14038
14200
 
14039
- class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14201
+ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14040
14202
  payload: {
14041
14203
  lease: ProgramLease,
14042
14204
  step: String4,
@@ -14055,7 +14217,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14055
14217
  },
14056
14218
  success: Struct({ questionId: String4 }),
14057
14219
  error: RunnerRpcError
14058
- }), make5("StartAgentStep", {
14220
+ }), make6("StartAgentStep", {
14059
14221
  payload: {
14060
14222
  lease: ProgramLease,
14061
14223
  step: String4,
@@ -14071,7 +14233,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14071
14233
  },
14072
14234
  success: Struct({ stepAttemptId: String4 }),
14073
14235
  error: RunnerRpcError
14074
- }), make5("StartVerification", {
14236
+ }), make6("StartVerification", {
14075
14237
  payload: {
14076
14238
  lease: ProgramLease,
14077
14239
  step: String4,
@@ -14085,11 +14247,12 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14085
14247
  plan: MeasurePlan,
14086
14248
  samples: Int,
14087
14249
  calibrate: Boolean2
14088
- }))
14250
+ })),
14251
+ resolve: optionalKey(ResolveSpec)
14089
14252
  },
14090
14253
  success: Struct({ verificationId: String4 }),
14091
14254
  error: RunnerRpcError
14092
- }), make5("AwaitEvent", {
14255
+ }), make6("AwaitEvent", {
14093
14256
  payload: {
14094
14257
  lease: ProgramLease,
14095
14258
  step: String4,
@@ -14105,7 +14268,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14105
14268
  })))
14106
14269
  },
14107
14270
  error: RunnerRpcError
14108
- }), make5("ClaimResource", {
14271
+ }), make6("ClaimResource", {
14109
14272
  payload: {
14110
14273
  lease: ProgramLease,
14111
14274
  step: String4,
@@ -14114,7 +14277,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14114
14277
  action: Literals(["claim", "take_over", "let_go"])
14115
14278
  },
14116
14279
  error: RunnerRpcError
14117
- }), make5("AdmitChild", {
14280
+ }), make6("AdmitChild", {
14118
14281
  payload: {
14119
14282
  lease: ProgramLease,
14120
14283
  step: String4,
@@ -14125,7 +14288,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14125
14288
  },
14126
14289
  success: Struct({ runId: String4 }),
14127
14290
  error: RunnerRpcError
14128
- }), make5("StoreArtifact", {
14291
+ }), make6("StoreArtifact", {
14129
14292
  payload: {
14130
14293
  lease: ProgramLease,
14131
14294
  step: String4,
@@ -14137,7 +14300,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14137
14300
  },
14138
14301
  success: Struct({ artifactId: String4 }),
14139
14302
  error: RunnerRpcError
14140
- }), make5("RecordNote", {
14303
+ }), make6("RecordNote", {
14141
14304
  payload: {
14142
14305
  lease: ProgramLease,
14143
14306
  step: String4,
@@ -14146,7 +14309,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14146
14309
  kind: optional(Literals(["note", "blocker"]))
14147
14310
  },
14148
14311
  error: RunnerRpcError
14149
- }), make5("PerformHostEffect", {
14312
+ }), make6("PerformHostEffect", {
14150
14313
  payload: {
14151
14314
  lease: ProgramLease,
14152
14315
  step: String4,
@@ -14174,7 +14337,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14174
14337
  },
14175
14338
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14176
14339
  error: RunnerRpcError
14177
- }), make5("AlertTask", {
14340
+ }), make6("AlertTask", {
14178
14341
  payload: {
14179
14342
  lease: ProgramLease,
14180
14343
  step: String4,
@@ -14191,7 +14354,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14191
14354
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14192
14355
  }),
14193
14356
  error: RunnerRpcError
14194
- }), make5("ReadTranscripts", {
14357
+ }), make6("ReadTranscripts", {
14195
14358
  payload: { lease: ProgramLease, step: String4, days: Int },
14196
14359
  success: Struct({
14197
14360
  runs: ArraySchema(Struct({
@@ -14210,7 +14373,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14210
14373
  }))
14211
14374
  }),
14212
14375
  error: RunnerRpcError
14213
- }), make5("PipelineStatus", {
14376
+ }), make6("PipelineStatus", {
14214
14377
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14215
14378
  success: Struct({
14216
14379
  head: String4,
@@ -14226,6 +14389,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14226
14389
  runnerChecks: optionalKey(ArraySchema(String4)),
14227
14390
  approved: optionalKey(String4),
14228
14391
  repository: optionalKey(String4),
14392
+ targetBranch: optionalKey(String4),
14229
14393
  conflicts: optionalKey(Boolean2),
14230
14394
  needsRebase: optionalKey(Boolean2),
14231
14395
  target: optionalKey(Struct({
@@ -14240,11 +14404,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14240
14404
  }))
14241
14405
  }),
14242
14406
  error: RunnerRpcError
14243
- }), make5("ReportPipeline", {
14407
+ }), make6("ReportPipeline", {
14244
14408
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14245
14409
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14246
14410
  error: RunnerRpcError
14247
- }), make5("ReviewThreads", {
14411
+ }), make6("ReviewThreads", {
14248
14412
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14249
14413
  success: Struct({
14250
14414
  threads: ArraySchema(Struct({
@@ -14256,7 +14420,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14256
14420
  }))
14257
14421
  }),
14258
14422
  error: RunnerRpcError
14259
- }), make5("OpenChangeRequests", {
14423
+ }), make6("OpenChangeRequests", {
14260
14424
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14261
14425
  success: Struct({
14262
14426
  changeRequests: ArraySchema(Struct({
@@ -14270,7 +14434,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14270
14434
  }))
14271
14435
  }),
14272
14436
  error: RunnerRpcError
14273
- }), make5("OwnChangeRequests", {
14437
+ }), make6("OwnChangeRequests", {
14274
14438
  payload: { lease: ProgramLease, step: String4 },
14275
14439
  success: Struct({
14276
14440
  changeRequests: ArraySchema(Struct({
@@ -14283,7 +14447,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14283
14447
  }))
14284
14448
  }),
14285
14449
  error: RunnerRpcError
14286
- }), make5("Propose", {
14450
+ }), make6("Propose", {
14287
14451
  payload: {
14288
14452
  lease: ProgramLease,
14289
14453
  step: String4,
@@ -14310,7 +14474,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14310
14474
  matched: optionalKey(Boolean2)
14311
14475
  }),
14312
14476
  error: RunnerRpcError
14313
- }), make5("ReadProject", {
14477
+ }), make6("ReadProject", {
14314
14478
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14315
14479
  success: Struct({
14316
14480
  project: Struct({ id: String4, name: String4 }),
@@ -14333,7 +14497,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14333
14497
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14334
14498
  }),
14335
14499
  error: RunnerRpcError
14336
- }), make5("DraftUpdate", {
14500
+ }), make6("DraftUpdate", {
14337
14501
  payload: {
14338
14502
  lease: ProgramLease,
14339
14503
  step: String4,
@@ -14348,7 +14512,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14348
14512
  },
14349
14513
  success: Struct({ id: String4 }),
14350
14514
  error: RunnerRpcError
14351
- }), make5("CreatePlanTasks", {
14515
+ }), make6("CreatePlanTasks", {
14352
14516
  payload: {
14353
14517
  lease: ProgramLease,
14354
14518
  projectId: optionalKey(String4),
@@ -14363,11 +14527,11 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14363
14527
  },
14364
14528
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14365
14529
  error: RunnerRpcError
14366
- }), make5("IntegrationBranch", {
14530
+ }), make6("IntegrationBranch", {
14367
14531
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14368
14532
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14369
14533
  error: RunnerRpcError
14370
- }), make5("MergeChangeRequest", {
14534
+ }), make6("MergeChangeRequest", {
14371
14535
  payload: {
14372
14536
  lease: ProgramLease,
14373
14537
  step: String4,
@@ -14380,7 +14544,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14380
14544
  Struct({ status: Literal("moved"), head: String4 })
14381
14545
  ]),
14382
14546
  error: RunnerRpcError
14383
- }), make5("ApproveChangeRequest", {
14547
+ }), make6("ApproveChangeRequest", {
14384
14548
  payload: {
14385
14549
  lease: ProgramLease,
14386
14550
  step: String4,
@@ -14395,7 +14559,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14395
14559
  Struct({ approved: Literal(false), reason: String4 })
14396
14560
  ]),
14397
14561
  error: RunnerRpcError
14398
- }), make5("CloseChangeRequest", {
14562
+ }), make6("CloseChangeRequest", {
14399
14563
  payload: {
14400
14564
  lease: ProgramLease,
14401
14565
  step: String4,
@@ -14405,7 +14569,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14405
14569
  },
14406
14570
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14407
14571
  error: RunnerRpcError
14408
- }), make5("RerunPipeline", {
14572
+ }), make6("RerunPipeline", {
14409
14573
  payload: {
14410
14574
  lease: ProgramLease,
14411
14575
  step: String4,
@@ -14415,7 +14579,7 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14415
14579
  },
14416
14580
  success: Struct({ head: String4, pipelines: Int }),
14417
14581
  error: RunnerRpcError
14418
- }), make5("PublishRelease", {
14582
+ }), make6("PublishRelease", {
14419
14583
  payload: {
14420
14584
  lease: ProgramLease,
14421
14585
  step: String4,
@@ -14426,14 +14590,14 @@ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14426
14590
  },
14427
14591
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14428
14592
  error: RunnerRpcError
14429
- }), make5("ProgramSecrets", {
14593
+ }), make6("ProgramSecrets", {
14430
14594
  payload: { lease: ProgramLease },
14431
14595
  success: Record(String4, String4),
14432
14596
  error: RunnerRpcError
14433
14597
  })).middleware(RunnerAuthentication) {
14434
14598
  }
14435
14599
 
14436
- class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14600
+ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14437
14601
  payload: {
14438
14602
  lease: ProgramLease,
14439
14603
  step: String4,
@@ -14445,11 +14609,11 @@ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14445
14609
  },
14446
14610
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14447
14611
  error: Union([RunnerRpcError, RunFileRefused])
14448
- }), make5("RunFileParts", {
14612
+ }), make6("RunFileParts", {
14449
14613
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14450
14614
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14451
14615
  error: RunnerRpcError
14452
- }), make5("CompleteRunFile", {
14616
+ }), make6("CompleteRunFile", {
14453
14617
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14454
14618
  success: RunFileRecord,
14455
14619
  error: RunnerRpcError
@@ -14459,7 +14623,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
14459
14623
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
14460
14624
 
14461
14625
  // apps/cli/src/oauth.ts
14462
- var Scope = "openid profile email offline_access kitman:cli";
14626
+ var Scope2 = "openid profile email offline_access kitman:cli";
14463
14627
  var CallbackPath = "/auth/callback";
14464
14628
 
14465
14629
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -14478,7 +14642,7 @@ function buildAuthorizeUrl(input) {
14478
14642
  url.searchParams.set("response_type", "code");
14479
14643
  url.searchParams.set("client_id", input.clientId);
14480
14644
  url.searchParams.set("redirect_uri", input.redirectUri);
14481
- url.searchParams.set("scope", Scope);
14645
+ url.searchParams.set("scope", Scope2);
14482
14646
  url.searchParams.set("code_challenge", input.codeChallenge);
14483
14647
  url.searchParams.set("code_challenge_method", "S256");
14484
14648
  url.searchParams.set("state", input.state);
@@ -15186,7 +15350,7 @@ var spawnedTransport = (env) => gen(function* () {
15186
15350
  const spawner = yield* ChildProcessSpawner;
15187
15351
  const input = yield* unbounded2();
15188
15352
  const encoder = new TextEncoder;
15189
- const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15353
+ const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15190
15354
  extendEnv: false,
15191
15355
  env,
15192
15356
  stdin: fromQueue(input),
@@ -15217,7 +15381,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15217
15381
  const spawner = yield* ChildProcessSpawner;
15218
15382
  const env = coreEnv(options);
15219
15383
  const run = (args) => gen(function* () {
15220
- const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15384
+ const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15221
15385
  const [stdout, stderr, exitCode] = yield* all3([
15222
15386
  mkString(decodeText(handle.stdout)),
15223
15387
  mkString(decodeText(handle.stderr)),
@@ -15243,7 +15407,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15243
15407
  }
15244
15408
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15245
15409
  const spawner = yield* ChildProcessSpawner;
15246
- const handle = yield* spawner.spawn(make2(command, args, {
15410
+ const handle = yield* spawner.spawn(make3(command, args, {
15247
15411
  stdin: "ignore",
15248
15412
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15249
15413
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15269,7 +15433,7 @@ var shellOutputTailChars2 = 64 * 1024;
15269
15433
  var runProcess2 = (argv, options) => gen(function* () {
15270
15434
  const spawner = yield* ChildProcessSpawner;
15271
15435
  const [command, ...args] = argv;
15272
- const handle = yield* spawner.spawn(make2(command, args, {
15436
+ const handle = yield* spawner.spawn(make3(command, args, {
15273
15437
  stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15274
15438
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15275
15439
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
@@ -15654,7 +15818,8 @@ function herdrRunnerCapabilities2(input) {
15654
15818
  cacheSharingModes: []
15655
15819
  },
15656
15820
  resourceLimits: { maxConcurrentRuns: 1, maxRunSeconds: 86400 },
15657
- measure: true
15821
+ measure: true,
15822
+ resolve: true
15658
15823
  };
15659
15824
  }
15660
15825
  function assertHerdrRunnerCapability2(capabilities) {
@@ -15692,4 +15857,4 @@ function checkServices(declaration) {
15692
15857
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15693
15858
  }
15694
15859
 
15695
- 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 };
15860
+ 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, 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 };