@kitman-sh/cli 0.13.12 → 0.13.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-36s51mp6.js → chunk-06dwvzv0.js} +64 -64
  2. package/dist/{chunk-fwja3qb1.js → chunk-24h0y27w.js} +1 -1
  3. package/dist/{chunk-ths93svq.js → chunk-3vbs995s.js} +208 -352
  4. package/dist/{chunk-4m923rz8.js → chunk-4142qeg3.js} +3 -3
  5. package/dist/{chunk-02ye1s9f.js → chunk-5ba08a9e.js} +18 -18
  6. package/dist/{chunk-nge8fq10.js → chunk-5mxvqg32.js} +9 -9
  7. package/dist/{chunk-n1aqwdc2.js → chunk-6agcvxbj.js} +10 -10
  8. package/dist/{chunk-8cxh8j07.js → chunk-89rpg6j9.js} +94 -94
  9. package/dist/{chunk-3z9yz32f.js → chunk-8xpdkxr7.js} +14 -60
  10. package/dist/{chunk-1bkrxc3v.js → chunk-aa30tt6t.js} +2 -2
  11. package/dist/{chunk-4t6nrgxw.js → chunk-d4kmyv5h.js} +4 -4
  12. package/dist/{chunk-npjpmb0w.js → chunk-dwxqp8ez.js} +9 -9
  13. package/dist/{chunk-x5nv63jj.js → chunk-ef3nzqng.js} +3 -3
  14. package/dist/{chunk-8t1vygmr.js → chunk-fk5238tn.js} +4 -4
  15. package/dist/{chunk-eahqsd8h.js → chunk-ggmwpwhf.js} +2 -2
  16. package/dist/{chunk-szt25e0z.js → chunk-hgfphycc.js} +191 -39
  17. package/dist/{chunk-95w14qxp.js → chunk-hmt2egsx.js} +6 -6
  18. package/dist/{chunk-9d03t0pn.js → chunk-hw9fcfs0.js} +9 -9
  19. package/dist/{chunk-yab3j170.js → chunk-mmd7mjv0.js} +3 -3
  20. package/dist/{chunk-mcw7wvtx.js → chunk-pxvd8w2v.js} +6 -1
  21. package/dist/{chunk-zb5pnthp.js → chunk-st8ggqv1.js} +33 -33
  22. package/dist/{chunk-2xh5p0na.js → chunk-vjsqg4a5.js} +12 -11
  23. package/dist/{chunk-z74fnmqb.js → chunk-vmww6hnk.js} +20 -20
  24. package/dist/{chunk-n734b61f.js → chunk-zencwg2t.js} +1 -1
  25. package/dist/{chunk-8pbnfqaz.js → chunk-zgraq2y3.js} +101 -59
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -62,11 +62,9 @@ import {
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
65
- get3,
65
+ get4,
66
66
  merge3,
67
67
  Reference,
68
- fromInputUnsafe,
69
- isFinite,
70
68
  millis,
71
69
  seconds,
72
70
  toMillis,
@@ -86,12 +84,12 @@ import {
86
84
  DisablePropagation,
87
85
  sync,
88
86
  map7,
87
+ ClockRef,
88
+ currentTimeMillis2,
89
89
  ConsoleRef,
90
90
  succeed3,
91
91
  fail4,
92
- void_2,
93
92
  isSuccess2,
94
- isFailure2,
95
93
  makeUnsafe5,
96
94
  make15,
97
95
  _await,
@@ -101,12 +99,8 @@ import {
101
99
  succeed4,
102
100
  doneUnsafe,
103
101
  TracerTimingEnabled,
104
- Scope,
105
- makeUnsafe6,
106
102
  provide,
107
- addFinalizerExit,
108
103
  addFinalizer,
109
- close,
110
104
  succeed5,
111
105
  effect,
112
106
  effectContext,
@@ -158,7 +152,6 @@ import {
158
152
  tapCause,
159
153
  retry,
160
154
  ignore,
161
- ignoreCause,
162
155
  orElseSucceed,
163
156
  timeout,
164
157
  timeoutOrElse,
@@ -170,7 +163,6 @@ import {
170
163
  context,
171
164
  contextWith,
172
165
  provide3,
173
- provideContext2,
174
166
  serviceOption,
175
167
  updateContext,
176
168
  provideService,
@@ -181,7 +173,6 @@ import {
181
173
  addFinalizer2,
182
174
  ensuring2,
183
175
  onError,
184
- onExit,
185
176
  cached,
186
177
  interrupt3,
187
178
  interruptible,
@@ -193,7 +184,6 @@ import {
193
184
  withParentSpan,
194
185
  forkScoped,
195
186
  runFork,
196
- runForkWith,
197
187
  runPromise,
198
188
  runPromiseWith,
199
189
  runSync,
@@ -204,6 +194,9 @@ import {
204
194
  logError,
205
195
  effectify,
206
196
  decode,
197
+ isRedacted,
198
+ make16,
199
+ value,
207
200
  defaultParseOptions,
208
201
  omit,
209
202
  map9,
@@ -212,7 +205,7 @@ import {
212
205
  decodeEffect,
213
206
  decodeUnknownOption,
214
207
  decodeOption,
215
- make16,
208
+ make17,
216
209
  isSchema,
217
210
  optionalKey,
218
211
  optional,
@@ -271,23 +264,18 @@ import {
271
264
  decodeJsonStringOption,
272
265
  encodeJsonStringSync,
273
266
  encodePrettyJsonString
274
- } from "./chunk-8pbnfqaz.js";
267
+ } from "./chunk-zgraq2y3.js";
275
268
  import {
276
269
  map,
277
270
  makeEquivalence,
278
- Clock,
279
- currentTimeMillis,
271
+ toNumber,
280
272
  bytes,
281
- join,
282
- interrupt,
283
- getCurrent,
284
- runIn,
285
273
  BadArgument,
286
274
  systemError,
287
275
  badArgument,
288
276
  makeUnsafe2,
277
+ make7,
289
278
  make8,
290
- make9,
291
279
  sliding,
292
280
  unbounded2,
293
281
  offer,
@@ -303,6 +291,8 @@ import {
303
291
  isSink,
304
292
  fromChannel,
305
293
  drain,
294
+ make9,
295
+ get3,
306
296
  isStream,
307
297
  fromChannel2,
308
298
  callback,
@@ -342,21 +332,7 @@ import {
342
332
  String2,
343
333
  optionalEnv,
344
334
  harnessesUnsupportedInSrt2
345
- } from "./chunk-szt25e0z.js";
346
- import {
347
- isRedacted,
348
- make,
349
- value,
350
- ExitCode,
351
- ProcessId,
352
- makeHandle,
353
- make2,
354
- ChildProcessSpawner,
355
- display,
356
- make3,
357
- parseFdName,
358
- fdName
359
- } from "./chunk-3z9yz32f.js";
335
+ } from "./chunk-hgfphycc.js";
360
336
  import {
361
337
  isDateTime,
362
338
  Numeric,
@@ -369,11 +345,25 @@ import {
369
345
  SecretScope,
370
346
  SecretHosts,
371
347
  isSecretReference
372
- } from "./chunk-mcw7wvtx.js";
373
-
348
+ } from "./chunk-pxvd8w2v.js";
349
+ import {
350
+ ExitCode,
351
+ ProcessId,
352
+ makeHandle,
353
+ make,
354
+ ChildProcessSpawner,
355
+ display,
356
+ make2,
357
+ parseFdName,
358
+ fdName
359
+ } from "./chunk-8xpdkxr7.js";
374
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
375
361
  var makeEquivalence3 = Tuple;
376
362
 
363
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
364
+ var Clock = ClockRef;
365
+ var currentTimeMillis = currentTimeMillis2;
366
+
377
367
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
378
368
  var TypeId = "~effect/DateTime";
379
369
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -508,7 +498,7 @@ var fromDateUnsafe = (date) => {
508
498
  }
509
499
  return makeUtc(epochMillis);
510
500
  };
511
- var makeUnsafe7 = (input) => {
501
+ var makeUnsafe6 = (input) => {
512
502
  if (isDateTime2(input)) {
513
503
  return input;
514
504
  } else if (input instanceof Date) {
@@ -528,7 +518,7 @@ var makeUnsafe7 = (input) => {
528
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
529
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
530
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
531
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
521
+ var make3 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
532
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
533
523
  var nowUnsafe = () => makeUtc(Date.now());
534
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -635,7 +625,7 @@ class Metric$ {
635
625
  }
636
626
  hook(context) {
637
627
  const key = this.key(context);
638
- const registry = get3(context, MetricRegistry);
628
+ const registry = get4(context, MetricRegistry);
639
629
  let metadata = registry.get(key);
640
630
  if (isUndefined(metadata)) {
641
631
  metadata = this.metadata(this.createHooks());
@@ -644,11 +634,11 @@ class Metric$ {
644
634
  return metadata.hooks;
645
635
  }
646
636
  removeUnsafe(context) {
647
- get3(context, MetricRegistry).delete(this.key(context));
637
+ get4(context, MetricRegistry).delete(this.key(context));
648
638
  }
649
639
  registerUnsafe(context, hooks) {
650
640
  const key = this.key(context);
651
- const registry = get3(context, MetricRegistry);
641
+ const registry = get4(context, MetricRegistry);
652
642
  const metadata = this.metadata({
653
643
  get: hooks.get,
654
644
  update: constVoid,
@@ -664,7 +654,7 @@ class Metric$ {
664
654
  };
665
655
  }
666
656
  key(context) {
667
- const extraAttributes = get3(context, CurrentMetricAttributes);
657
+ const extraAttributes = get4(context, CurrentMetricAttributes);
668
658
  if (extraAttributes !== this.#extraAttributes) {
669
659
  this.#extraAttributes = extraAttributes;
670
660
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -907,160 +897,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
907
897
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
908
898
  var runMain = runMain2;
909
899
 
910
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
911
- var BigInt2 = globalThis.BigInt;
912
- var toNumber = (b) => {
913
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
914
- return none();
915
- }
916
- return some(Number(b));
917
- };
918
-
919
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
920
- var TypeId3 = "~effect/RcRef";
921
- var stateEmpty = {
922
- _tag: "Empty"
923
- };
924
- var stateClosed = {
925
- _tag: "Closed"
926
- };
927
- var variance = {
928
- _A: identity,
929
- _E: identity
930
- };
931
-
932
- class RcRefImpl {
933
- [TypeId3] = variance;
934
- pipe() {
935
- return pipeArguments(this, arguments);
936
- }
937
- state = stateEmpty;
938
- acquire;
939
- context;
940
- scope;
941
- idleTimeToLive;
942
- constructor(acquire, context, scope, idleTimeToLive) {
943
- this.acquire = acquire;
944
- this.context = context;
945
- this.scope = scope;
946
- this.idleTimeToLive = idleTimeToLive;
947
- }
948
- }
949
- var make17 = (options) => withFiber2((fiber) => {
950
- const context = fiber.context;
951
- const scope = get3(context, Scope);
952
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
953
- return as(addFinalizerExit(scope, () => {
954
- const state = ref.state;
955
- ref.state = stateClosed;
956
- if (state._tag === "Acquired")
957
- return close(state.scope, void_2);
958
- if (state._tag === "Acquiring")
959
- return interrupt(state.fiber);
960
- return void_3;
961
- }), ref);
962
- });
963
- var getState = (self, restore) => {
964
- switch (self.state._tag) {
965
- case "Closed": {
966
- return interrupt3;
967
- }
968
- case "Acquired": {
969
- const state = self.state;
970
- state.refCount++;
971
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
972
- }
973
- case "Acquiring": {
974
- const state = self.state;
975
- state.awaiters++;
976
- return awaitAcquiring(self, state, restore);
977
- }
978
- case "Empty": {
979
- const acquiring = {
980
- _tag: "Acquiring",
981
- fiber: undefined,
982
- awaiters: 1,
983
- acquired: undefined
984
- };
985
- self.state = acquiring;
986
- const scope = makeUnsafe6();
987
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
988
- if (self.state !== acquiring) {
989
- return interrupt3;
990
- }
991
- const state = {
992
- _tag: "Acquired",
993
- value,
994
- scope,
995
- fiber: undefined,
996
- refCount: acquiring.awaiters,
997
- invalidated: false
998
- };
999
- self.state = state;
1000
- acquiring.acquired = state;
1001
- return succeed6(state);
1002
- }), onExit((exit) => {
1003
- if (isSuccess2(exit))
1004
- return void_3;
1005
- if (self.state === acquiring)
1006
- self.state = stateEmpty;
1007
- return close(scope, exit);
1008
- }));
1009
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1010
- return awaitAcquiring(self, acquiring, restore);
1011
- }
1012
- }
1013
- };
1014
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1015
- const acquired = acquiring.acquired;
1016
- if (acquired !== undefined) {
1017
- return isFailure2(exit) ? release(self, acquired) : void_3;
1018
- }
1019
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1020
- return void_3;
1021
- self.state = stateEmpty;
1022
- return interrupt(acquiring.fiber);
1023
- });
1024
- var get4 = (self_) => {
1025
- const self = self_;
1026
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1027
- };
1028
- var release = (self, state) => {
1029
- state.refCount--;
1030
- if (state.refCount > 0) {
1031
- return void_3;
1032
- }
1033
- const idleTimeToLive = self.idleTimeToLive;
1034
- if (idleTimeToLive === undefined || state.invalidated) {
1035
- if (self.state === state) {
1036
- self.state = stateEmpty;
1037
- }
1038
- return close(state.scope, void_2);
1039
- } else if (!isFinite(idleTimeToLive)) {
1040
- return void_3;
1041
- }
1042
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1043
- if (self.state === state && state.refCount === 0) {
1044
- self.state = stateEmpty;
1045
- return ignoreCause(close(state.scope, void_2), {
1046
- log: "Unhandled",
1047
- message: "Unhandled error in RcRef finalizer"
1048
- });
1049
- }
1050
- return void_3;
1051
- })).pipe(ensuring2(sync2(() => {
1052
- state.fiber = undefined;
1053
- })), runForkWith(self.context), runIn(self.scope));
1054
- return void_3;
1055
- };
1056
-
1057
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1058
- var make18 = make17;
1059
- var get5 = get4;
1060
-
1061
900
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1062
- var makeUnsafe = makeUnsafe7;
1063
- var make19 = make4;
901
+ var makeUnsafe = makeUnsafe6;
902
+ var make18 = make3;
1064
903
  var now2 = now;
1065
904
  var nowUnsafe2 = nowUnsafe;
1066
905
  var toDateUtc2 = toDateUtc;
@@ -1275,7 +1114,7 @@ var readableToPullUnsafe = (options) => {
1275
1114
  const readable = options.readable;
1276
1115
  const chunkSize = options.chunkSize ?? 4096;
1277
1116
  const closeOnDone = options.closeOnDone ?? true;
1278
- const exit = options.exit ?? make8(undefined);
1117
+ const exit = options.exit ?? make7(undefined);
1279
1118
  const latch = options.latch ?? makeUnsafe2(false);
1280
1119
  function onReadable() {
1281
1120
  latch.openUnsafe();
@@ -1379,7 +1218,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1379
1218
  windowsHide: true
1380
1219
  }, onExit);
1381
1220
  };
1382
- var make20 = /* @__PURE__ */ gen(function* () {
1221
+ var make19 = /* @__PURE__ */ gen(function* () {
1383
1222
  const fs = yield* FileSystem;
1384
1223
  const path = yield* Path;
1385
1224
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1839,7 +1678,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1839
1678
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1840
1679
  const toOption = options.to ?? "stdin";
1841
1680
  if (toOption === "stdin") {
1842
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1681
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1843
1682
  ...command.options,
1844
1683
  stdin: {
1845
1684
  ...stdinConfig,
@@ -1859,7 +1698,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1859
1698
  type: "input",
1860
1699
  stream: sourceStream
1861
1700
  };
1862
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1701
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1863
1702
  ...command.options,
1864
1703
  additionalFds: {
1865
1704
  ...existingFds,
@@ -1867,7 +1706,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1867
1706
  }
1868
1707
  })));
1869
1708
  } else {
1870
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1709
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1871
1710
  ...command.options,
1872
1711
  stdin: {
1873
1712
  ...stdinConfig,
@@ -1906,9 +1745,9 @@ var make20 = /* @__PURE__ */ gen(function* () {
1906
1745
  }
1907
1746
  }
1908
1747
  });
1909
- return make2(spawnCommand);
1748
+ return make(spawnCommand);
1910
1749
  });
1911
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1750
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1912
1751
  var flattenCommand = (command) => {
1913
1752
  const commands = [];
1914
1753
  const pipeOptions = [];
@@ -2469,10 +2308,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2469
2308
  var layer2 = layer7;
2470
2309
 
2471
2310
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2472
- var TypeId4 = "~effect/Stdio";
2473
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2474
- var make21 = (options) => ({
2475
- [TypeId4]: TypeId4,
2311
+ var TypeId3 = "~effect/Stdio";
2312
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2313
+ var make20 = (options) => ({
2314
+ [TypeId3]: TypeId3,
2476
2315
  stdinIsTerminal: succeed6(false),
2477
2316
  stdoutIsTerminal: succeed6(false),
2478
2317
  stderrIsTerminal: succeed6(false),
@@ -2480,7 +2319,7 @@ var make21 = (options) => ({
2480
2319
  });
2481
2320
 
2482
2321
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2483
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2322
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2484
2323
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2485
2324
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2486
2325
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2680,7 +2519,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2680
2519
  const uuid = bytes(randomBytes(16));
2681
2520
  return format === "bytes" ? uuid : stringify(uuid);
2682
2521
  };
2683
- var make22 = (randomBytes) => {
2522
+ var make21 = (randomBytes) => {
2684
2523
  const randomBytesChecked = (size) => {
2685
2524
  checkSize(size);
2686
2525
  return randomBytes(size);
@@ -2714,13 +2553,13 @@ var fillRandom = (crypto2, size) => {
2714
2553
  }
2715
2554
  return bytes;
2716
2555
  };
2717
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2556
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2718
2557
 
2719
2558
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2720
- var TypeId5 = "~effect/http/Cookies";
2559
+ var TypeId4 = "~effect/http/Cookies";
2721
2560
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2722
2561
  var Proto2 = {
2723
- [TypeId5]: TypeId5,
2562
+ [TypeId4]: TypeId4,
2724
2563
  ...BaseProto,
2725
2564
  toJSON() {
2726
2565
  return {
@@ -2899,14 +2738,14 @@ var tryDecodeURIComponent = (str) => {
2899
2738
  };
2900
2739
 
2901
2740
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2902
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2741
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2903
2742
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2904
- [TypeId6]: {
2905
- value: TypeId6
2743
+ [TypeId5]: {
2744
+ value: TypeId5
2906
2745
  },
2907
2746
  [symbolRedactable]: {
2908
2747
  value(context) {
2909
- return redact2(this, get3(context, CurrentRedactedNames));
2748
+ return redact2(this, get4(context, CurrentRedactedNames));
2910
2749
  }
2911
2750
  },
2912
2751
  toJSON: {
@@ -2931,7 +2770,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2931
2770
  value: BaseProto[NodeInspectSymbol]
2932
2771
  }
2933
2772
  });
2934
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2773
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2935
2774
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2936
2775
  var empty = /* @__PURE__ */ Object.create(Proto3);
2937
2776
  var fromInput = (input) => {
@@ -2956,21 +2795,21 @@ var fromInput = (input) => {
2956
2795
  };
2957
2796
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2958
2797
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2959
- const out = make23(self);
2798
+ const out = make22(self);
2960
2799
  out[key.toLowerCase()] = value;
2961
2800
  return out;
2962
2801
  });
2963
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2802
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2964
2803
  ...self,
2965
2804
  ...fromInput(headers)
2966
2805
  }));
2967
2806
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2968
- const out = make23(self);
2807
+ const out = make22(self);
2969
2808
  Object.assign(out, headers);
2970
2809
  return out;
2971
2810
  });
2972
2811
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2973
- const out = make23(self);
2812
+ const out = make22(self);
2974
2813
  delete out[key.toLowerCase()];
2975
2814
  return out;
2976
2815
  });
@@ -2982,12 +2821,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2982
2821
  if (typeof key === "string") {
2983
2822
  const k = key.toLowerCase();
2984
2823
  if (k in self) {
2985
- out[k] = make(self[k]);
2824
+ out[k] = make16(self[k]);
2986
2825
  }
2987
2826
  } else {
2988
2827
  for (const name in self) {
2989
2828
  if (name.search(key) !== -1) {
2990
- out[name] = make(self[name]);
2829
+ out[name] = make16(self[name]);
2991
2830
  }
2992
2831
  }
2993
2832
  }
@@ -3027,18 +2866,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3027
2866
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3028
2867
 
3029
2868
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3030
- var TypeId7 = "~effect/http/UrlParams";
3031
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2869
+ var TypeId6 = "~effect/http/UrlParams";
2870
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3032
2871
  var Proto4 = {
3033
2872
  ...PipeInspectableProto,
3034
- [TypeId7]: TypeId7,
2873
+ [TypeId6]: TypeId6,
3035
2874
  [Symbol.iterator]() {
3036
2875
  return this.params[Symbol.iterator]();
3037
2876
  },
3038
2877
  [symbolRedactable](context) {
3039
2878
  return {
3040
2879
  _id: "UrlParams",
3041
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2880
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3042
2881
  };
3043
2882
  },
3044
2883
  toJSON() {
@@ -3051,7 +2890,7 @@ var Proto4 = {
3051
2890
  return array(this.params.flat());
3052
2891
  }
3053
2892
  };
3054
- var make24 = (params) => {
2893
+ var make23 = (params) => {
3055
2894
  const self = Object.create(Proto4);
3056
2895
  self.params = params;
3057
2896
  return self;
@@ -3070,7 +2909,7 @@ var fromInput2 = (input) => {
3070
2909
  out.push(parsed[i]);
3071
2910
  }
3072
2911
  }
3073
- return make24(out);
2912
+ return make23(out);
3074
2913
  };
3075
2914
  var fromInputNested = (input) => {
3076
2915
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3096,7 +2935,7 @@ var fromInputNested = (input) => {
3096
2935
  var coerce = (value) => isRedacted(value) ? value : String(value);
3097
2936
  var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
3098
2937
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3099
- var empty4 = /* @__PURE__ */ make24([]);
2938
+ var empty4 = /* @__PURE__ */ make23([]);
3100
2939
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3101
2940
  const params = fromInput2(input).params.slice();
3102
2941
  const keys = new Set;
@@ -3108,12 +2947,12 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3108
2947
  continue;
3109
2948
  params.push(self.params[i]);
3110
2949
  }
3111
- return make24(params);
2950
+ return make23(params);
3112
2951
  });
3113
2952
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3114
2953
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
3115
2954
  const patterns = Array.isArray(key) ? key : [key];
3116
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2955
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
3117
2956
  });
3118
2957
  var isRedactedName2 = isRedactedName;
3119
2958
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -3164,13 +3003,13 @@ var decodeQueryKey = (key) => {
3164
3003
  return key;
3165
3004
  }
3166
3005
  };
3167
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3006
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3168
3007
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3169
3008
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3170
3009
  });
3171
3010
 
3172
3011
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3173
- var TypeId8 = "~effect/Terminal";
3012
+ var TypeId7 = "~effect/Terminal";
3174
3013
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3175
3014
 
3176
3015
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3179,17 +3018,17 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3179
3018
  [QuitErrorTypeId] = QuitErrorTypeId;
3180
3019
  }
3181
3020
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3182
- var make25 = (impl) => Terminal.of({
3021
+ var make24 = (impl) => Terminal.of({
3183
3022
  ...impl,
3184
- [TypeId8]: TypeId8
3023
+ [TypeId7]: TypeId7
3185
3024
  });
3186
3025
 
3187
3026
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3188
3027
  import * as readline from "readline";
3189
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3028
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3190
3029
  const stdin = process.stdin;
3191
3030
  const stdout = process.stdout;
3192
- const lines = yield* make9();
3031
+ const lines = yield* make8();
3193
3032
  let inputEnded = stdin.readableEnded;
3194
3033
  let readlineActive = false;
3195
3034
  const onStdinEnd = () => {
@@ -3200,7 +3039,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3200
3039
  };
3201
3040
  stdin.once("end", onStdinEnd);
3202
3041
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3203
- const rlRef = yield* make18({
3042
+ const rlRef = yield* make9({
3204
3043
  acquire: acquireRelease(sync2(() => {
3205
3044
  const rl = readline.createInterface({
3206
3045
  input: stdin,
@@ -3239,7 +3078,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3239
3078
  if (stdin.isTTY)
3240
3079
  stdin.setRawMode(enabled);
3241
3080
  });
3242
- const rawModeRef = yield* make18({
3081
+ const rawModeRef = yield* make9({
3243
3082
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3244
3083
  idleTimeToLive: "10 millis"
3245
3084
  });
@@ -3260,7 +3099,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3260
3099
  return queue;
3261
3100
  });
3262
3101
  const readInput = gen(function* () {
3263
- const queue = yield* make9();
3102
+ const queue = yield* make8();
3264
3103
  const handleKeypress = (s, k) => {
3265
3104
  const userInput = {
3266
3105
  input: fromUndefinedOr(s),
@@ -3290,14 +3129,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3290
3129
  if (inputEnded) {
3291
3130
  handleEnd();
3292
3131
  } else {
3293
- yield* get5(rlRef);
3294
- yield* get5(rawModeRef);
3132
+ yield* get3(rlRef);
3133
+ yield* get3(rawModeRef);
3295
3134
  stdin.once("end", handleEnd);
3296
3135
  }
3297
3136
  return queue;
3298
3137
  });
3299
3138
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3300
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3139
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3301
3140
  onSome: succeed6
3302
3141
  })), mapError2(() => new QuitError({}))));
3303
3142
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3308,7 +3147,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3308
3147
  cause: err
3309
3148
  }))));
3310
3149
  }));
3311
- return make25({
3150
+ return make24({
3312
3151
  columns,
3313
3152
  rows,
3314
3153
  size,
@@ -3317,7 +3156,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3317
3156
  display
3318
3157
  });
3319
3158
  });
3320
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3159
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3321
3160
  function defaultShouldQuit(input) {
3322
3161
  const key = input.key;
3323
3162
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3344,7 +3183,7 @@ function toDate(input) {
3344
3183
  return toDateUtc2(makeUnsafe(input));
3345
3184
  }
3346
3185
  function parseDate(input) {
3347
- return getOrUndefined(map4(make19(input), toDateUtc2));
3186
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3348
3187
  }
3349
3188
  function toIso(input) {
3350
3189
  return formatIso(makeUnsafe(input));
@@ -3364,7 +3203,17 @@ var waitingOnWords = ({ keys, hidden }) => {
3364
3203
 
3365
3204
  // packages/core/src/run-queue.ts
3366
3205
  var ClaimRanks = ["in_progress", "finishing", "new"];
3367
- var queueWords = (place) => place.unrunnable === undefined ? `#${place.position} in the queue, ${place.reason}` : `no online Runner can run it: ${place.unrunnable}`;
3206
+ var utcTime = (timestamp) => {
3207
+ const iso = toIso(Math.ceil(toDate(timestamp).getTime() / 1000) * 1000);
3208
+ return `${iso.slice(0, iso.endsWith(":00.000Z") ? 16 : 19).replace("T", " ")} UTC`;
3209
+ };
3210
+ var queueWords = (place) => {
3211
+ const held = [
3212
+ ...place.quotaUntil === undefined ? [] : [`waiting on quota until ${utcTime(place.quotaUntil)}`],
3213
+ ...place.unrunnable === undefined ? [] : [`no online Runner can run it: ${place.unrunnable}`]
3214
+ ];
3215
+ return held.length === 0 ? `#${place.position} in the queue, ${place.reason}` : held.join("; ");
3216
+ };
3368
3217
  // packages/core/src/redaction.ts
3369
3218
  var DurableSurfaceContractVersion = "durable-redaction.v1";
3370
3219
  var EvidenceRefContractVersion = "evidence-ref.v1";
@@ -6323,7 +6172,8 @@ var RunWaiting = Union([
6323
6172
  position: Int.check(isGreaterThanOrEqualTo(1)),
6324
6173
  reason: String4,
6325
6174
  movesUpAt: optionalKey(String4),
6326
- unrunnable: optionalKey(String4)
6175
+ unrunnable: optionalKey(String4),
6176
+ quotaUntil: optionalKey(Timestamp)
6327
6177
  })
6328
6178
  ]);
6329
6179
  var RunEvidence = Struct({
@@ -8798,7 +8648,12 @@ var TaskStateCategories = [
8798
8648
  var TaskPriorities = ["none", "urgent", "high", "medium", "low"];
8799
8649
  var TaskOrigin = Union([
8800
8650
  Struct({ kind: Literal("manual") }),
8801
- Struct({ kind: Literal("plan_ticket"), runId: String4, ticketKey: String4 }),
8651
+ Struct({
8652
+ kind: Literal("plan_ticket"),
8653
+ runId: String4,
8654
+ ticketKey: String4,
8655
+ planReviewed: optionalKey(Boolean2)
8656
+ }),
8802
8657
  Struct({ kind: Literal("launch"), runId: String4 }),
8803
8658
  Struct({ kind: Literal("event"), eventId: String4 }),
8804
8659
  Struct({ kind: Literal("alert"), fingerprint: String4 }),
@@ -9913,11 +9768,11 @@ var TranscriptSearchResult = Struct({
9913
9768
  total: Int
9914
9769
  });
9915
9770
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9916
- var TypeId9 = "~effect/http/HttpBody";
9771
+ var TypeId8 = "~effect/http/HttpBody";
9917
9772
  class Proto5 {
9918
- [TypeId9];
9773
+ [TypeId8];
9919
9774
  constructor() {
9920
- this[TypeId9] = TypeId9;
9775
+ this[TypeId8] = TypeId8;
9921
9776
  }
9922
9777
  [NodeInspectSymbol]() {
9923
9778
  return this.toJSON();
@@ -10008,7 +9863,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
10008
9863
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
10009
9864
 
10010
9865
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
10011
- var TypeId10 = "~effect/http/HttpClientError";
9866
+ var TypeId9 = "~effect/http/HttpClientError";
10012
9867
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10013
9868
  constructor(props) {
10014
9869
  if ("cause" in props.reason) {
@@ -10020,7 +9875,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10020
9875
  super(props);
10021
9876
  }
10022
9877
  }
10023
- [TypeId10] = TypeId10;
9878
+ [TypeId9] = TypeId9;
10024
9879
  get request() {
10025
9880
  return this.reason.request;
10026
9881
  }
@@ -10124,7 +9979,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
10124
9979
  }
10125
9980
  }
10126
9981
 
10127
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9982
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
10128
9983
  _tag: /* @__PURE__ */ tag("HttpError"),
10129
9984
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
10130
9985
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -10157,7 +10012,7 @@ var updateContentLength = (headers, body) => {
10157
10012
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
10158
10013
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
10159
10014
  }
10160
- var make27 = (url, params, hash) => try_({
10015
+ var make26 = (url, params, hash) => try_({
10161
10016
  try: () => {
10162
10017
  const urlInstance = new URL(url, baseUrl());
10163
10018
  for (let i = 0;i < params.params.length; i++) {
@@ -10188,10 +10043,10 @@ var baseUrl = () => {
10188
10043
  };
10189
10044
 
10190
10045
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
10191
- var TypeId11 = "~effect/http/HttpClientRequest";
10192
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
10046
+ var TypeId10 = "~effect/http/HttpClientRequest";
10047
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10193
10048
  var Proto6 = {
10194
- [TypeId11]: TypeId11,
10049
+ [TypeId10]: TypeId10,
10195
10050
  ...BaseProto,
10196
10051
  toJSON() {
10197
10052
  return {
@@ -10219,14 +10074,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
10219
10074
  return self;
10220
10075
  }
10221
10076
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
10222
- var make5 = (method) => (url, options) => modify(empty6, {
10077
+ var make4 = (method) => (url, options) => modify(empty6, {
10223
10078
  method,
10224
10079
  url,
10225
10080
  ...options ?? undefined
10226
10081
  });
10227
- var get = /* @__PURE__ */ make5("GET");
10228
- var post = /* @__PURE__ */ make5("POST");
10229
- var put = /* @__PURE__ */ make5("PUT");
10082
+ var get = /* @__PURE__ */ make4("GET");
10083
+ var post = /* @__PURE__ */ make4("POST");
10084
+ var put = /* @__PURE__ */ make4("PUT");
10230
10085
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
10231
10086
  let result = self;
10232
10087
  if (options.method) {
@@ -10280,7 +10135,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
10280
10135
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
10281
10136
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
10282
10137
  function toUrl(self) {
10283
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
10138
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10284
10139
  if (isSuccess(r)) {
10285
10140
  return some(r.success);
10286
10141
  }
@@ -10288,7 +10143,7 @@ function toUrl(self) {
10288
10143
  }
10289
10144
 
10290
10145
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
10291
- var TypeId12 = "~effect/http/HttpIncomingMessage";
10146
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
10292
10147
  var schemaBodyJson = (schema, options) => {
10293
10148
  const decode = decodeEffect(toCodecJson(schema));
10294
10149
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10307,7 +10162,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10307
10162
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10308
10163
 
10309
10164
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10310
- var TypeId13 = "~effect/http/HttpClientResponse";
10165
+ var TypeId12 = "~effect/http/HttpClientResponse";
10311
10166
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10312
10167
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10313
10168
  reason: new StatusCodeError({
@@ -10318,16 +10173,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10318
10173
  }));
10319
10174
 
10320
10175
  class WebHttpClientResponse extends Class {
10176
+ [TypeId11];
10321
10177
  [TypeId12];
10322
- [TypeId13];
10323
10178
  request;
10324
10179
  source;
10325
10180
  constructor(request, source) {
10326
10181
  super();
10327
10182
  this.request = request;
10328
10183
  this.source = source;
10184
+ this[TypeId11] = TypeId11;
10329
10185
  this[TypeId12] = TypeId12;
10330
- this[TypeId13] = TypeId13;
10331
10186
  }
10332
10187
  toJSON() {
10333
10188
  return inspect(this, {
@@ -10499,7 +10354,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10499
10354
  };
10500
10355
 
10501
10356
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10502
- var TypeId14 = "~effect/http/HttpClient";
10357
+ var TypeId13 = "~effect/http/HttpClient";
10503
10358
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10504
10359
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10505
10360
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10516,7 +10371,7 @@ var makeWith2 = (postprocess, preprocess) => {
10516
10371
  return self;
10517
10372
  };
10518
10373
  var Proto7 = {
10519
- [TypeId14]: TypeId14,
10374
+ [TypeId13]: TypeId13,
10520
10375
  pipe() {
10521
10376
  return pipeArguments(this, arguments);
10522
10377
  },
@@ -10527,13 +10382,13 @@ var Proto7 = {
10527
10382
  };
10528
10383
  },
10529
10384
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10530
- return this.execute(make5(fullMethod)(url, options));
10385
+ return this.execute(make4(fullMethod)(url, options));
10531
10386
  }]))
10532
10387
  };
10533
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10388
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10534
10389
  const scopedController = scopedRequests.get(request);
10535
10390
  const controller = scopedController ?? new AbortController;
10536
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10391
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10537
10392
  if (isFailure(urlResult)) {
10538
10393
  return fail7(new HttpClientError({
10539
10394
  reason: new InvalidUrlError({
@@ -10667,8 +10522,8 @@ class InterruptibleResponse {
10667
10522
  this.original = original;
10668
10523
  this.controller = controller;
10669
10524
  }
10670
- [TypeId13] = TypeId13;
10671
10525
  [TypeId12] = TypeId12;
10526
+ [TypeId11] = TypeId11;
10672
10527
  applyInterrupt(effect) {
10673
10528
  return suspend3(() => {
10674
10529
  responseRegistry.unregister(this.original);
@@ -10766,7 +10621,7 @@ var detectStreamBodySupport = () => {
10766
10621
  return false;
10767
10622
  }
10768
10623
  };
10769
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10624
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10770
10625
  if (request.headers.upgrade !== undefined) {
10771
10626
  return fail7(new HttpClientError({
10772
10627
  reason: new TransportError({
@@ -10857,10 +10712,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10857
10712
  });
10858
10713
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10859
10714
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10860
- var TypeId15 = "~effect/socket/Socket";
10715
+ var TypeId14 = "~effect/socket/Socket";
10861
10716
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10862
- var make29 = (options) => Socket.of({
10863
- [TypeId15]: TypeId15,
10717
+ var make28 = (options) => Socket.of({
10718
+ [TypeId14]: TypeId14,
10864
10719
  reader: options.reader,
10865
10720
  writer: options.writer
10866
10721
  });
@@ -11183,7 +11038,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
11183
11038
  write,
11184
11039
  writeAll
11185
11040
  });
11186
- return succeed6(make29({
11041
+ return succeed6(make28({
11187
11042
  reader,
11188
11043
  writer
11189
11044
  }));
@@ -14138,7 +13993,7 @@ function getStreamSchemas(schema) {
14138
13993
  }
14139
13994
  var schema = /* @__PURE__ */ declare(isStream);
14140
13995
  function Stream(success, error) {
14141
- return make16(schema.ast, {
13996
+ return make17(schema.ast, {
14142
13997
  [StreamSchemaTypeId]: StreamSchemaTypeId,
14143
13998
  success,
14144
13999
  error
@@ -14146,9 +14001,9 @@ function Stream(success, error) {
14146
14001
  }
14147
14002
 
14148
14003
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
14149
- var TypeId16 = "~effect/rpc/Rpc";
14004
+ var TypeId15 = "~effect/rpc/Rpc";
14150
14005
  var Proto8 = {
14151
- [TypeId16]: TypeId16,
14006
+ [TypeId15]: TypeId15,
14152
14007
  pipe() {
14153
14008
  return pipeArguments(this, arguments);
14154
14009
  },
@@ -14237,7 +14092,7 @@ var makeProto = (options) => {
14237
14092
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
14238
14093
  return Rpc;
14239
14094
  };
14240
- var make6 = (tag, options) => {
14095
+ var make5 = (tag, options) => {
14241
14096
  const successSchema = options?.success ?? Void;
14242
14097
  const errorSchema = options?.error ?? Never;
14243
14098
  const defectSchema = options?.defect ?? Defect();
@@ -14315,7 +14170,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
14315
14170
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
14316
14171
 
14317
14172
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
14318
- var TypeId17 = "~effect/rpc/RpcClientError";
14173
+ var TypeId16 = "~effect/rpc/RpcClientError";
14319
14174
 
14320
14175
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
14321
14176
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14324,11 +14179,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14324
14179
  })) {
14325
14180
  }
14326
14181
 
14327
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14182
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14328
14183
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14329
14184
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14330
14185
  })) {
14331
- [TypeId17] = TypeId17;
14186
+ [TypeId16] = TypeId16;
14332
14187
  get message() {
14333
14188
  return `${this.reason._tag}: ${this.reason.message}`;
14334
14189
  }
@@ -14471,12 +14326,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14471
14326
  requests: options.requests,
14472
14327
  annotations: options.annotations
14473
14328
  });
14474
- var make7 = (...rpcs) => makeProto2({
14329
+ var make6 = (...rpcs) => makeProto2({
14475
14330
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
14476
14331
  annotations: empty3()
14477
14332
  });
14478
14333
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14479
- var TypeId18 = "~effect/rpc/RpcMiddleware";
14334
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14480
14335
  var Service = () => (id, options) => {
14481
14336
  const limit = getStackTraceLimit();
14482
14337
  let creationError;
@@ -14494,7 +14349,7 @@ var Service = () => (id, options) => {
14494
14349
  return creationError?.stack;
14495
14350
  }
14496
14351
  });
14497
- ServiceClass_[TypeId18] = TypeId18;
14352
+ ServiceClass_[TypeId17] = TypeId17;
14498
14353
  ServiceClass_.error = options?.error ?? Never;
14499
14354
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14500
14355
  return ServiceClass;
@@ -14577,96 +14432,96 @@ var ProgramOutcome = Union([
14577
14432
  Struct({ status: Literal("failed"), failureSummary: String4 })
14578
14433
  ]);
14579
14434
 
14580
- class RunnerReplicaRpcs extends make7(make6("Claim", {
14435
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
14581
14436
  payload: WorkUnitClaimInput,
14582
14437
  success: WorkUnitClaimResult,
14583
14438
  error: RunnerRpcError
14584
- }), make6("Heartbeat", {
14439
+ }), make5("Heartbeat", {
14585
14440
  payload: WorkUnitHeartbeatInput,
14586
14441
  success: WorkUnitHeartbeatResult,
14587
14442
  error: RunnerRpcError
14588
- }), make6("Complete", {
14443
+ }), make5("Complete", {
14589
14444
  payload: WorkUnitCompletion,
14590
14445
  error: RunnerRpcError
14591
- }), make6("Release", {
14446
+ }), make5("Release", {
14592
14447
  payload: WorkUnitReleaseInput,
14593
14448
  error: RunnerRpcError
14594
- }), make6("Signals", {
14449
+ }), make5("Signals", {
14595
14450
  payload: { runnerReplicaId: String4 },
14596
14451
  success: RunnerSignal,
14597
14452
  error: RunnerRpcError,
14598
14453
  stream: true
14599
- }), make6("ReportSteer", {
14454
+ }), make5("ReportSteer", {
14600
14455
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14601
14456
  success: Void,
14602
14457
  error: RunnerRpcError
14603
- }), make6("AppendTranscript", {
14458
+ }), make5("AppendTranscript", {
14604
14459
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14605
14460
  success: Void,
14606
14461
  error: RunnerRpcError
14607
- }), make6("CreateCheckpointFile", {
14462
+ }), make5("CreateCheckpointFile", {
14608
14463
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14609
14464
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14610
14465
  error: Union([RunnerRpcError, RunFileRefused])
14611
- }), make6("CheckpointFileParts", {
14466
+ }), make5("CheckpointFileParts", {
14612
14467
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14613
14468
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14614
14469
  error: RunnerRpcError
14615
- }), make6("CompleteCheckpointFile", {
14470
+ }), make5("CompleteCheckpointFile", {
14616
14471
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14617
14472
  success: RunFileRecord,
14618
14473
  error: RunnerRpcError
14619
- }), make6("SaveCheckpoint", {
14474
+ }), make5("SaveCheckpoint", {
14620
14475
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14621
14476
  success: Void,
14622
14477
  error: RunnerRpcError
14623
- }), make6("ResumeCheckpoint", {
14478
+ }), make5("ResumeCheckpoint", {
14624
14479
  payload: { lease: ProgramLease },
14625
14480
  success: UndefinedOr(ResumedCheckpoint),
14626
14481
  error: RunnerRpcError
14627
- }), make6("SettledCheckpoints", {
14482
+ }), make5("SettledCheckpoints", {
14628
14483
  success: ArraySchema(Struct({
14629
14484
  stepAttemptId: String4,
14630
14485
  ref: optionalKey(String4),
14631
14486
  repoBinding: optionalKey(WorkUnitRepoBinding)
14632
14487
  })),
14633
14488
  error: RunnerRpcError
14634
- }), make6("ForgetCheckpoints", {
14489
+ }), make5("ForgetCheckpoints", {
14635
14490
  payload: { stepAttemptIds: ArraySchema(String4) },
14636
14491
  success: Void,
14637
14492
  error: RunnerRpcError
14638
- }), make6("GitCredential", {
14493
+ }), make5("GitCredential", {
14639
14494
  payload: { repoBindingId: String4 },
14640
14495
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14641
14496
  error: RunnerRpcError
14642
- }), make6("Bundle", {
14497
+ }), make5("Bundle", {
14643
14498
  payload: { digest: String4 },
14644
14499
  success: Struct({ bundle: String4 }),
14645
14500
  error: RunnerRpcError
14646
- }), make6("SettledRuns", {
14501
+ }), make5("SettledRuns", {
14647
14502
  payload: { runIds: ArraySchema(String4) },
14648
14503
  success: ArraySchema(String4),
14649
14504
  error: RunnerRpcError
14650
- }), make6("KnownEvidence", {
14505
+ }), make5("KnownEvidence", {
14651
14506
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14652
14507
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14653
14508
  error: RunnerRpcError
14654
14509
  })).middleware(RunnerAuthentication) {
14655
14510
  }
14656
14511
 
14657
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14512
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14658
14513
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14659
14514
  error: RunnerRpcError
14660
- }), make6("DeferredDone", {
14515
+ }), make5("DeferredDone", {
14661
14516
  payload: { lease: ProgramLease, name: String4, exit: Json },
14662
14517
  error: RunnerRpcError
14663
- }), make6("ScheduleClock", {
14518
+ }), make5("ScheduleClock", {
14664
14519
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14665
14520
  error: RunnerRpcError
14666
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14521
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14667
14522
  }
14668
14523
 
14669
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14524
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14670
14525
  payload: {
14671
14526
  lease: ProgramLease,
14672
14527
  step: String4,
@@ -14686,7 +14541,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14686
14541
  },
14687
14542
  success: Struct({ questionId: String4 }),
14688
14543
  error: RunnerRpcError
14689
- }), make6("StartAgentStep", {
14544
+ }), make5("StartAgentStep", {
14690
14545
  payload: {
14691
14546
  lease: ProgramLease,
14692
14547
  step: String4,
@@ -14702,7 +14557,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14702
14557
  },
14703
14558
  success: Struct({ stepAttemptId: String4 }),
14704
14559
  error: RunnerRpcError
14705
- }), make6("StartVerification", {
14560
+ }), make5("StartVerification", {
14706
14561
  payload: {
14707
14562
  lease: ProgramLease,
14708
14563
  step: String4,
@@ -14723,7 +14578,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14723
14578
  },
14724
14579
  success: Struct({ verificationId: String4 }),
14725
14580
  error: RunnerRpcError
14726
- }), make6("AwaitEvent", {
14581
+ }), make5("AwaitEvent", {
14727
14582
  payload: {
14728
14583
  lease: ProgramLease,
14729
14584
  step: String4,
@@ -14739,7 +14594,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14739
14594
  })))
14740
14595
  },
14741
14596
  error: RunnerRpcError
14742
- }), make6("ClaimResource", {
14597
+ }), make5("ClaimResource", {
14743
14598
  payload: {
14744
14599
  lease: ProgramLease,
14745
14600
  step: String4,
@@ -14748,7 +14603,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14748
14603
  action: Literals(["claim", "take_over", "let_go"])
14749
14604
  },
14750
14605
  error: RunnerRpcError
14751
- }), make6("AdmitChild", {
14606
+ }), make5("AdmitChild", {
14752
14607
  payload: {
14753
14608
  lease: ProgramLease,
14754
14609
  step: String4,
@@ -14759,7 +14614,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14759
14614
  },
14760
14615
  success: Struct({ runId: String4 }),
14761
14616
  error: RunnerRpcError
14762
- }), make6("StoreArtifact", {
14617
+ }), make5("StoreArtifact", {
14763
14618
  payload: {
14764
14619
  lease: ProgramLease,
14765
14620
  step: String4,
@@ -14771,7 +14626,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14771
14626
  },
14772
14627
  success: Struct({ artifactId: String4 }),
14773
14628
  error: RunnerRpcError
14774
- }), make6("RecordNote", {
14629
+ }), make5("RecordNote", {
14775
14630
  payload: {
14776
14631
  lease: ProgramLease,
14777
14632
  step: String4,
@@ -14780,7 +14635,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14780
14635
  kind: optional(Literals(["note", "blocker"]))
14781
14636
  },
14782
14637
  error: RunnerRpcError
14783
- }), make6("PerformHostEffect", {
14638
+ }), make5("PerformHostEffect", {
14784
14639
  payload: {
14785
14640
  lease: ProgramLease,
14786
14641
  step: String4,
@@ -14809,7 +14664,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14809
14664
  },
14810
14665
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14811
14666
  error: RunnerRpcError
14812
- }), make6("AlertTask", {
14667
+ }), make5("AlertTask", {
14813
14668
  payload: {
14814
14669
  lease: ProgramLease,
14815
14670
  step: String4,
@@ -14826,7 +14681,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14826
14681
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14827
14682
  }),
14828
14683
  error: RunnerRpcError
14829
- }), make6("ReadTranscripts", {
14684
+ }), make5("ReadTranscripts", {
14830
14685
  payload: {
14831
14686
  lease: ProgramLease,
14832
14687
  step: String4,
@@ -14861,7 +14716,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14861
14716
  })))
14862
14717
  }),
14863
14718
  error: RunnerRpcError
14864
- }), make6("PipelineStatus", {
14719
+ }), make5("PipelineStatus", {
14865
14720
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14866
14721
  success: Struct({
14867
14722
  head: String4,
@@ -14895,11 +14750,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14895
14750
  }))
14896
14751
  }),
14897
14752
  error: RunnerRpcError
14898
- }), make6("ReportPipeline", {
14753
+ }), make5("ReportPipeline", {
14899
14754
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14900
14755
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14901
14756
  error: RunnerRpcError
14902
- }), make6("ReviewThreads", {
14757
+ }), make5("ReviewThreads", {
14903
14758
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14904
14759
  success: Struct({
14905
14760
  threads: ArraySchema(Struct({
@@ -14911,7 +14766,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14911
14766
  }))
14912
14767
  }),
14913
14768
  error: RunnerRpcError
14914
- }), make6("OpenChangeRequests", {
14769
+ }), make5("OpenChangeRequests", {
14915
14770
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14916
14771
  success: Struct({
14917
14772
  changeRequests: ArraySchema(Struct({
@@ -14925,7 +14780,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14925
14780
  }))
14926
14781
  }),
14927
14782
  error: RunnerRpcError
14928
- }), make6("OwnChangeRequests", {
14783
+ }), make5("OwnChangeRequests", {
14929
14784
  payload: { lease: ProgramLease, step: String4 },
14930
14785
  success: Struct({
14931
14786
  changeRequests: ArraySchema(Struct({
@@ -14938,7 +14793,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14938
14793
  }))
14939
14794
  }),
14940
14795
  error: RunnerRpcError
14941
- }), make6("Propose", {
14796
+ }), make5("Propose", {
14942
14797
  payload: {
14943
14798
  lease: ProgramLease,
14944
14799
  step: String4,
@@ -14967,7 +14822,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14967
14822
  task: optionalKey(Struct({ id: String4, active: Boolean2 }))
14968
14823
  }),
14969
14824
  error: RunnerRpcError
14970
- }), make6("ReadProject", {
14825
+ }), make5("ReadProject", {
14971
14826
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14972
14827
  success: Struct({
14973
14828
  project: Struct({ id: String4, name: String4 }),
@@ -14990,7 +14845,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14990
14845
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14991
14846
  }),
14992
14847
  error: RunnerRpcError
14993
- }), make6("DraftUpdate", {
14848
+ }), make5("DraftUpdate", {
14994
14849
  payload: {
14995
14850
  lease: ProgramLease,
14996
14851
  step: String4,
@@ -15005,12 +14860,13 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15005
14860
  },
15006
14861
  success: Struct({ id: String4 }),
15007
14862
  error: RunnerRpcError
15008
- }), make6("CreatePlanTasks", {
14863
+ }), make5("CreatePlanTasks", {
15009
14864
  payload: {
15010
14865
  lease: ProgramLease,
15011
14866
  projectId: optionalKey(String4),
15012
14867
  builds: optionalKey(Boolean2),
15013
14868
  releases: optionalKey(Boolean2),
14869
+ planReviewed: optionalKey(Boolean2),
15014
14870
  tickets: ArraySchema(Struct({
15015
14871
  key: String4,
15016
14872
  title: String4,
@@ -15025,15 +14881,15 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15025
14881
  },
15026
14882
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
15027
14883
  error: RunnerRpcError
15028
- }), make6("IntegrationBranch", {
14884
+ }), make5("IntegrationBranch", {
15029
14885
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
15030
14886
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
15031
14887
  error: RunnerRpcError
15032
- }), make6("DeliveryBase", {
14888
+ }), make5("DeliveryBase", {
15033
14889
  payload: { lease: ProgramLease },
15034
14890
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
15035
14891
  error: RunnerRpcError
15036
- }), make6("MergeChangeRequest", {
14892
+ }), make5("MergeChangeRequest", {
15037
14893
  payload: {
15038
14894
  lease: ProgramLease,
15039
14895
  step: String4,
@@ -15051,7 +14907,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15051
14907
  Struct({ status: Literal("moved"), head: String4 })
15052
14908
  ]),
15053
14909
  error: RunnerRpcError
15054
- }), make6("ApproveChangeRequest", {
14910
+ }), make5("ApproveChangeRequest", {
15055
14911
  payload: {
15056
14912
  lease: ProgramLease,
15057
14913
  step: String4,
@@ -15067,7 +14923,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15067
14923
  Struct({ approved: Literal(false), reason: String4 })
15068
14924
  ]),
15069
14925
  error: RunnerRpcError
15070
- }), make6("CloseChangeRequest", {
14926
+ }), make5("CloseChangeRequest", {
15071
14927
  payload: {
15072
14928
  lease: ProgramLease,
15073
14929
  step: String4,
@@ -15077,7 +14933,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15077
14933
  },
15078
14934
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
15079
14935
  error: RunnerRpcError
15080
- }), make6("RerunPipeline", {
14936
+ }), make5("RerunPipeline", {
15081
14937
  payload: {
15082
14938
  lease: ProgramLease,
15083
14939
  step: String4,
@@ -15087,7 +14943,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15087
14943
  },
15088
14944
  success: Struct({ head: String4, pipelines: Int }),
15089
14945
  error: RunnerRpcError
15090
- }), make6("PublishRelease", {
14946
+ }), make5("PublishRelease", {
15091
14947
  payload: {
15092
14948
  lease: ProgramLease,
15093
14949
  step: String4,
@@ -15099,14 +14955,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
15099
14955
  },
15100
14956
  success: Struct({ tag: String4, revision: String4, url: String4 }),
15101
14957
  error: RunnerRpcError
15102
- }), make6("ProgramSecrets", {
14958
+ }), make5("ProgramSecrets", {
15103
14959
  payload: { lease: ProgramLease },
15104
14960
  success: Record(String4, String4),
15105
14961
  error: RunnerRpcError
15106
14962
  })).middleware(RunnerAuthentication) {
15107
14963
  }
15108
14964
 
15109
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14965
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
15110
14966
  payload: {
15111
14967
  lease: ProgramLease,
15112
14968
  step: String4,
@@ -15118,11 +14974,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
15118
14974
  },
15119
14975
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
15120
14976
  error: Union([RunnerRpcError, RunFileRefused])
15121
- }), make6("RunFileParts", {
14977
+ }), make5("RunFileParts", {
15122
14978
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
15123
14979
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
15124
14980
  error: RunnerRpcError
15125
- }), make6("CompleteRunFile", {
14981
+ }), make5("CompleteRunFile", {
15126
14982
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
15127
14983
  success: RunFileRecord,
15128
14984
  error: RunnerRpcError
@@ -15132,7 +14988,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
15132
14988
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
15133
14989
 
15134
14990
  // apps/cli/src/oauth.ts
15135
- var Scope2 = "openid profile email offline_access kitman:cli";
14991
+ var Scope = "openid profile email offline_access kitman:cli";
15136
14992
  var CallbackPath = "/auth/callback";
15137
14993
 
15138
14994
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -15151,7 +15007,7 @@ function buildAuthorizeUrl(input) {
15151
15007
  url.searchParams.set("response_type", "code");
15152
15008
  url.searchParams.set("client_id", input.clientId);
15153
15009
  url.searchParams.set("redirect_uri", input.redirectUri);
15154
- url.searchParams.set("scope", Scope2);
15010
+ url.searchParams.set("scope", Scope);
15155
15011
  url.searchParams.set("code_challenge", input.codeChallenge);
15156
15012
  url.searchParams.set("code_challenge_method", "S256");
15157
15013
  url.searchParams.set("state", input.state);
@@ -15867,7 +15723,7 @@ var spawnedTransport = (env) => gen(function* () {
15867
15723
  const spawner = yield* ChildProcessSpawner;
15868
15724
  const input = yield* unbounded2();
15869
15725
  const encoder = new TextEncoder;
15870
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15726
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15871
15727
  extendEnv: false,
15872
15728
  env,
15873
15729
  stdin: fromQueue(input),
@@ -15898,7 +15754,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15898
15754
  const spawner = yield* ChildProcessSpawner;
15899
15755
  const env = coreEnv(options);
15900
15756
  const run = (args) => gen(function* () {
15901
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15757
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15902
15758
  const [stdout, stderr, exitCode] = yield* all3([
15903
15759
  mkString(decodeText(handle.stdout)),
15904
15760
  mkString(decodeText(handle.stderr)),
@@ -15924,7 +15780,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15924
15780
  }
15925
15781
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15926
15782
  const spawner = yield* ChildProcessSpawner;
15927
- const handle = yield* spawner.spawn(make3(command, args, {
15783
+ const handle = yield* spawner.spawn(make2(command, args, {
15928
15784
  stdin: "ignore",
15929
15785
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15930
15786
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15950,7 +15806,7 @@ var shellOutputTailChars2 = 64 * 1024;
15950
15806
  var runProcess2 = (argv, options) => gen(function* () {
15951
15807
  const spawner = yield* ChildProcessSpawner;
15952
15808
  const [command, ...args] = argv;
15953
- const handle = yield* spawner.spawn(make3(command, args, {
15809
+ const handle = yield* spawner.spawn(make2(command, args, {
15954
15810
  stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15955
15811
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15956
15812
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
@@ -16383,4 +16239,4 @@ function checkServices(declaration) {
16383
16239
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16384
16240
  }
16385
16241
 
16386
- 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, failedTestOfLine, 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 };
16242
+ 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, failedTestOfLine, 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 };