@kitman-sh/cli 0.12.0-rc.3 → 0.12.0-rc.5

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 (28) hide show
  1. package/dist/{chunk-ks3p7yha.js → chunk-26mj3vr6.js} +21 -21
  2. package/dist/{chunk-0346hwh6.js → chunk-2s4x5t92.js} +5 -5
  3. package/dist/{chunk-jef2vdr6.js → chunk-31hk2bjb.js} +4 -4
  4. package/dist/{chunk-56knbdt6.js → chunk-3530xts6.js} +9 -9
  5. package/dist/{chunk-gspfm7qh.js → chunk-5zzfsv07.js} +37 -177
  6. package/dist/{chunk-e7e120qw.js → chunk-6x9e1etb.js} +3 -3
  7. package/dist/{chunk-dymepetx.js → chunk-77k89h98.js} +270 -118
  8. package/dist/{chunk-yatva7be.js → chunk-bbadvwds.js} +1 -1
  9. package/dist/{chunk-nzjb36ad.js → chunk-bj73db3f.js} +1 -1
  10. package/dist/{chunk-0qz10ek8.js → chunk-bv9e34qz.js} +1 -1
  11. package/dist/{chunk-5j848ckb.js → chunk-cegdw7gw.js} +2 -2
  12. package/dist/{chunk-x55v5kyg.js → chunk-dd8hae73.js} +61 -60
  13. package/dist/{chunk-y73z1kkz.js → chunk-e838cw9z.js} +11 -11
  14. package/dist/{chunk-trb9325k.js → chunk-gr816kwr.js} +10 -10
  15. package/dist/{chunk-8ez1s9cr.js → chunk-hrds2xy2.js} +7 -7
  16. package/dist/{chunk-y8sscyvt.js → chunk-k9jd2dm0.js} +4 -4
  17. package/dist/{chunk-6akwhwyp.js → chunk-kvm7j3ed.js} +17 -17
  18. package/dist/{chunk-794hjysw.js → chunk-nc1rxeav.js} +6 -6
  19. package/dist/{chunk-z450wa10.js → chunk-rjdptgqf.js} +4 -4
  20. package/dist/{chunk-2gg3ccte.js → chunk-s1pjsak4.js} +7 -7
  21. package/dist/{chunk-ewhzaqp3.js → chunk-s661f8p0.js} +2 -2
  22. package/dist/{chunk-vtfwjhzh.js → chunk-txyp31q5.js} +60 -60
  23. package/dist/{chunk-mc87tyzm.js → chunk-x70r99jg.js} +2 -2
  24. package/dist/{chunk-c6rbt85q.js → chunk-xmq9zpr1.js} +1 -1
  25. package/dist/{chunk-xwya1er0.js → chunk-y2mkzww9.js} +2 -2
  26. package/dist/{chunk-h6hd61dn.js → chunk-yafg281p.js} +37 -24
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make14,
41
+ make13,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,13 +58,15 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make15,
61
+ make14,
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,
@@ -89,9 +91,11 @@ import {
89
91
  ConsoleRef,
90
92
  succeed3,
91
93
  fail4,
94
+ void_2,
92
95
  isSuccess2,
96
+ isFailure2,
93
97
  makeUnsafe5,
94
- make16,
98
+ make15,
95
99
  _await,
96
100
  fail5,
97
101
  isDone,
@@ -99,8 +103,12 @@ import {
99
103
  succeed4,
100
104
  doneUnsafe,
101
105
  TracerTimingEnabled,
106
+ Scope,
107
+ makeUnsafe6,
102
108
  provide,
109
+ addFinalizerExit,
103
110
  addFinalizer,
111
+ close,
104
112
  succeed5,
105
113
  effect,
106
114
  effectContext,
@@ -152,6 +160,7 @@ import {
152
160
  tapCause,
153
161
  retry,
154
162
  ignore,
163
+ ignoreCause,
155
164
  orElseSucceed,
156
165
  timeout,
157
166
  timeoutOrElse,
@@ -163,6 +172,7 @@ import {
163
172
  context,
164
173
  contextWith,
165
174
  provide3,
175
+ provideContext2,
166
176
  serviceOption,
167
177
  updateContext,
168
178
  provideService,
@@ -173,6 +183,7 @@ import {
173
183
  addFinalizer2,
174
184
  ensuring2,
175
185
  onError,
186
+ onExit,
176
187
  cached,
177
188
  interrupt3,
178
189
  interruptible,
@@ -184,6 +195,7 @@ import {
184
195
  withParentSpan,
185
196
  forkScoped,
186
197
  runFork,
198
+ runForkWith,
187
199
  runPromise,
188
200
  runPromiseWith,
189
201
  runSync,
@@ -202,7 +214,7 @@ import {
202
214
  decodeEffect,
203
215
  decodeUnknownOption,
204
216
  decodeOption,
205
- make17,
217
+ make16,
206
218
  isSchema,
207
219
  optionalKey,
208
220
  optional,
@@ -249,11 +261,16 @@ import {
249
261
  decodeJsonStringOption,
250
262
  encodeJsonStringSync,
251
263
  encodePrettyJsonString
252
- } from "./chunk-vtfwjhzh.js";
264
+ } from "./chunk-txyp31q5.js";
253
265
  import {
254
266
  map,
255
267
  makeEquivalence,
268
+ toNumber,
256
269
  bytes,
270
+ join,
271
+ interrupt,
272
+ getCurrent,
273
+ runIn,
257
274
  BadArgument,
258
275
  systemError,
259
276
  badArgument,
@@ -275,13 +292,11 @@ import {
275
292
  isSink,
276
293
  fromChannel,
277
294
  drain,
278
- make10,
279
- get3,
280
295
  isStream,
281
296
  fromChannel2,
282
297
  callback,
283
298
  empty2,
284
- make11,
299
+ make10,
285
300
  suspend,
286
301
  fail2,
287
302
  fromQueue,
@@ -307,16 +322,16 @@ import {
307
322
  mkArrayBuffer,
308
323
  toReadableStreamEffect,
309
324
  FileSystem,
310
- make12,
325
+ make11,
311
326
  FileTypeId,
312
327
  WatchBackend,
313
328
  Path,
314
- make13,
329
+ make12,
315
330
  option,
316
331
  String2,
317
332
  optionalEnv,
318
333
  harnessesUnsupportedInSrt2
319
- } from "./chunk-gspfm7qh.js";
334
+ } from "./chunk-5zzfsv07.js";
320
335
  import {
321
336
  isDateTime,
322
337
  Numeric,
@@ -329,7 +344,7 @@ import {
329
344
  SecretScope,
330
345
  SecretHosts,
331
346
  isSecretReference
332
- } from "./chunk-0qz10ek8.js";
347
+ } from "./chunk-bv9e34qz.js";
333
348
  import {
334
349
  toJsonValue,
335
350
  isOneOf,
@@ -343,7 +358,7 @@ import {
343
358
  isSymbol,
344
359
  isUndefined,
345
360
  kindOf
346
- } from "./chunk-c6rbt85q.js";
361
+ } from "./chunk-xmq9zpr1.js";
347
362
  import {
348
363
  isRedacted,
349
364
  make,
@@ -357,8 +372,7 @@ import {
357
372
  make3,
358
373
  parseFdName,
359
374
  fdName
360
- } from "./chunk-xwya1er0.js";
361
-
375
+ } from "./chunk-y2mkzww9.js";
362
376
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
363
377
  var makeEquivalence3 = Tuple;
364
378
 
@@ -500,7 +514,7 @@ var fromDateUnsafe = (date) => {
500
514
  }
501
515
  return makeUtc(epochMillis);
502
516
  };
503
- var makeUnsafe6 = (input) => {
517
+ var makeUnsafe7 = (input) => {
504
518
  if (isDateTime2(input)) {
505
519
  return input;
506
520
  } else if (input instanceof Date) {
@@ -520,7 +534,7 @@ var makeUnsafe6 = (input) => {
520
534
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
521
535
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
522
536
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
523
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
537
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
524
538
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
525
539
  var nowUnsafe = () => makeUtc(Date.now());
526
540
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -627,7 +641,7 @@ class Metric$ {
627
641
  }
628
642
  hook(context) {
629
643
  const key = this.key(context);
630
- const registry = get4(context, MetricRegistry);
644
+ const registry = get3(context, MetricRegistry);
631
645
  let metadata = registry.get(key);
632
646
  if (isUndefined2(metadata)) {
633
647
  metadata = this.metadata(this.createHooks());
@@ -636,11 +650,11 @@ class Metric$ {
636
650
  return metadata.hooks;
637
651
  }
638
652
  removeUnsafe(context) {
639
- get4(context, MetricRegistry).delete(this.key(context));
653
+ get3(context, MetricRegistry).delete(this.key(context));
640
654
  }
641
655
  registerUnsafe(context, hooks) {
642
656
  const key = this.key(context);
643
- const registry = get4(context, MetricRegistry);
657
+ const registry = get3(context, MetricRegistry);
644
658
  const metadata = this.metadata({
645
659
  get: hooks.get,
646
660
  update: constVoid,
@@ -656,7 +670,7 @@ class Metric$ {
656
670
  };
657
671
  }
658
672
  key(context) {
659
- const extraAttributes = get4(context, CurrentMetricAttributes);
673
+ const extraAttributes = get3(context, CurrentMetricAttributes);
660
674
  if (extraAttributes !== this.#extraAttributes) {
661
675
  this.#extraAttributes = extraAttributes;
662
676
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -899,18 +913,151 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
899
913
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
900
914
  var runMain = runMain2;
901
915
 
902
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
903
- var BigInt2 = globalThis.BigInt;
904
- var toNumber = (b) => {
905
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
906
- return none();
916
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
917
+ var TypeId3 = "~effect/RcRef";
918
+ var stateEmpty = {
919
+ _tag: "Empty"
920
+ };
921
+ var stateClosed = {
922
+ _tag: "Closed"
923
+ };
924
+ var variance = {
925
+ _A: identity,
926
+ _E: identity
927
+ };
928
+
929
+ class RcRefImpl {
930
+ [TypeId3] = variance;
931
+ pipe() {
932
+ return pipeArguments(this, arguments);
933
+ }
934
+ state = stateEmpty;
935
+ acquire;
936
+ context;
937
+ scope;
938
+ idleTimeToLive;
939
+ constructor(acquire, context, scope, idleTimeToLive) {
940
+ this.acquire = acquire;
941
+ this.context = context;
942
+ this.scope = scope;
943
+ this.idleTimeToLive = idleTimeToLive;
944
+ }
945
+ }
946
+ var make17 = (options) => withFiber2((fiber) => {
947
+ const context = fiber.context;
948
+ const scope = get3(context, Scope);
949
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
950
+ return as(addFinalizerExit(scope, () => {
951
+ const state = ref.state;
952
+ ref.state = stateClosed;
953
+ if (state._tag === "Acquired")
954
+ return close(state.scope, void_2);
955
+ if (state._tag === "Acquiring")
956
+ return interrupt(state.fiber);
957
+ return void_3;
958
+ }), ref);
959
+ });
960
+ var getState = (self, restore) => {
961
+ switch (self.state._tag) {
962
+ case "Closed": {
963
+ return interrupt3;
964
+ }
965
+ case "Acquired": {
966
+ const state = self.state;
967
+ state.refCount++;
968
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
969
+ }
970
+ case "Acquiring": {
971
+ const state = self.state;
972
+ state.awaiters++;
973
+ return awaitAcquiring(self, state, restore);
974
+ }
975
+ case "Empty": {
976
+ const acquiring = {
977
+ _tag: "Acquiring",
978
+ fiber: undefined,
979
+ awaiters: 1,
980
+ acquired: undefined
981
+ };
982
+ self.state = acquiring;
983
+ const scope = makeUnsafe6();
984
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
985
+ if (self.state !== acquiring) {
986
+ return interrupt3;
987
+ }
988
+ const state = {
989
+ _tag: "Acquired",
990
+ value,
991
+ scope,
992
+ fiber: undefined,
993
+ refCount: acquiring.awaiters,
994
+ invalidated: false
995
+ };
996
+ self.state = state;
997
+ acquiring.acquired = state;
998
+ return succeed6(state);
999
+ }), onExit((exit) => {
1000
+ if (isSuccess2(exit))
1001
+ return void_3;
1002
+ if (self.state === acquiring)
1003
+ self.state = stateEmpty;
1004
+ return close(scope, exit);
1005
+ }));
1006
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1007
+ return awaitAcquiring(self, acquiring, restore);
1008
+ }
907
1009
  }
908
- return some(Number(b));
909
1010
  };
1011
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1012
+ const acquired = acquiring.acquired;
1013
+ if (acquired !== undefined) {
1014
+ return isFailure2(exit) ? release(self, acquired) : void_3;
1015
+ }
1016
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
1017
+ return void_3;
1018
+ self.state = stateEmpty;
1019
+ return interrupt(acquiring.fiber);
1020
+ });
1021
+ var get4 = (self_) => {
1022
+ const self = self_;
1023
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1024
+ };
1025
+ var release = (self, state) => {
1026
+ state.refCount--;
1027
+ if (state.refCount > 0) {
1028
+ return void_3;
1029
+ }
1030
+ const idleTimeToLive = self.idleTimeToLive;
1031
+ if (idleTimeToLive === undefined || state.invalidated) {
1032
+ if (self.state === state) {
1033
+ self.state = stateEmpty;
1034
+ }
1035
+ return close(state.scope, void_2);
1036
+ } else if (!isFinite(idleTimeToLive)) {
1037
+ return void_3;
1038
+ }
1039
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1040
+ if (self.state === state && state.refCount === 0) {
1041
+ self.state = stateEmpty;
1042
+ return ignoreCause(close(state.scope, void_2), {
1043
+ log: "Unhandled",
1044
+ message: "Unhandled error in RcRef finalizer"
1045
+ });
1046
+ }
1047
+ return void_3;
1048
+ })).pipe(ensuring2(sync2(() => {
1049
+ state.fiber = undefined;
1050
+ })), runForkWith(self.context), runIn(self.scope));
1051
+ return void_3;
1052
+ };
1053
+
1054
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1055
+ var make18 = make17;
1056
+ var get5 = get4;
910
1057
 
911
1058
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
912
- var makeUnsafe = makeUnsafe6;
913
- var make18 = make4;
1059
+ var makeUnsafe = makeUnsafe7;
1060
+ var make19 = make4;
914
1061
  var now2 = now;
915
1062
  var nowUnsafe2 = nowUnsafe;
916
1063
  var toDateUtc2 = toDateUtc;
@@ -1229,7 +1376,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1229
1376
  windowsHide: true
1230
1377
  }, onExit);
1231
1378
  };
1232
- var make19 = /* @__PURE__ */ gen(function* () {
1379
+ var make20 = /* @__PURE__ */ gen(function* () {
1233
1380
  const fs = yield* FileSystem;
1234
1381
  const path = yield* Path;
1235
1382
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1758,7 +1905,7 @@ var make19 = /* @__PURE__ */ gen(function* () {
1758
1905
  });
1759
1906
  return make2(spawnCommand);
1760
1907
  });
1761
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1908
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1762
1909
  var flattenCommand = (command) => {
1763
1910
  const commands = [];
1764
1911
  const pipeOptions = [];
@@ -2242,7 +2389,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2242
2389
  resume(fail7(handleBadArgument("writeFile")(err)));
2243
2390
  }
2244
2391
  });
2245
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2392
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2246
2393
  access: access2,
2247
2394
  chmod: chmod2,
2248
2395
  chown: chown2,
@@ -2302,15 +2449,15 @@ var fileUrlOps = (windows) => ({
2302
2449
  })
2303
2450
  })
2304
2451
  });
2305
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2452
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2306
2453
  ...NodePath.posix,
2307
2454
  .../* @__PURE__ */ fileUrlOps(false)
2308
2455
  }));
2309
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2456
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2310
2457
  ...NodePath.win32,
2311
2458
  .../* @__PURE__ */ fileUrlOps(true)
2312
2459
  }));
2313
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2460
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2314
2461
  ...NodePath,
2315
2462
  .../* @__PURE__ */ fileUrlOps(undefined)
2316
2463
  }));
@@ -2319,10 +2466,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2319
2466
  var layer2 = layer7;
2320
2467
 
2321
2468
  // 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,
2469
+ var TypeId4 = "~effect/Stdio";
2470
+ var Stdio = /* @__PURE__ */ Service2(TypeId4);
2471
+ var make21 = (options) => ({
2472
+ [TypeId4]: TypeId4,
2326
2473
  stdinIsTerminal: succeed6(false),
2327
2474
  stdoutIsTerminal: succeed6(false),
2328
2475
  stderrIsTerminal: succeed6(false),
@@ -2330,7 +2477,7 @@ var make20 = (options) => ({
2330
2477
  });
2331
2478
 
2332
2479
  // 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({
2480
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2334
2481
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2335
2482
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2336
2483
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2530,7 +2677,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2530
2677
  const uuid = bytes(randomBytes(16));
2531
2678
  return format === "bytes" ? uuid : stringify(uuid);
2532
2679
  };
2533
- var make21 = (randomBytes) => {
2680
+ var make22 = (randomBytes) => {
2534
2681
  const randomBytesChecked = (size) => {
2535
2682
  checkSize(size);
2536
2683
  return randomBytes(size);
@@ -2564,13 +2711,13 @@ var fillRandom = (crypto2, size) => {
2564
2711
  }
2565
2712
  return bytes;
2566
2713
  };
2567
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2714
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2568
2715
 
2569
2716
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2570
- var TypeId4 = "~effect/http/Cookies";
2717
+ var TypeId5 = "~effect/http/Cookies";
2571
2718
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2572
2719
  var Proto2 = {
2573
- [TypeId4]: TypeId4,
2720
+ [TypeId5]: TypeId5,
2574
2721
  ...BaseProto,
2575
2722
  toJSON() {
2576
2723
  return {
@@ -2749,14 +2896,14 @@ var tryDecodeURIComponent = (str) => {
2749
2896
  };
2750
2897
 
2751
2898
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2752
- var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2899
+ var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2753
2900
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2754
- [TypeId5]: {
2755
- value: TypeId5
2901
+ [TypeId6]: {
2902
+ value: TypeId6
2756
2903
  },
2757
2904
  [symbolRedactable]: {
2758
2905
  value(context) {
2759
- return redact2(this, get4(context, CurrentRedactedNames));
2906
+ return redact2(this, get3(context, CurrentRedactedNames));
2760
2907
  }
2761
2908
  },
2762
2909
  toJSON: {
@@ -2781,7 +2928,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2781
2928
  value: BaseProto[NodeInspectSymbol]
2782
2929
  }
2783
2930
  });
2784
- var make22 = (input) => Object.assign(Object.create(Proto3), input);
2931
+ var make23 = (input) => Object.assign(Object.create(Proto3), input);
2785
2932
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2786
2933
  var empty = /* @__PURE__ */ Object.create(Proto3);
2787
2934
  var fromInput = (input) => {
@@ -2806,21 +2953,21 @@ var fromInput = (input) => {
2806
2953
  };
2807
2954
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2808
2955
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2809
- const out = make22(self);
2956
+ const out = make23(self);
2810
2957
  out[key.toLowerCase()] = value;
2811
2958
  return out;
2812
2959
  });
2813
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2960
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2814
2961
  ...self,
2815
2962
  ...fromInput(headers)
2816
2963
  }));
2817
2964
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2818
- const out = make22(self);
2965
+ const out = make23(self);
2819
2966
  Object.assign(out, headers);
2820
2967
  return out;
2821
2968
  });
2822
2969
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2823
- const out = make22(self);
2970
+ const out = make23(self);
2824
2971
  delete out[key.toLowerCase()];
2825
2972
  return out;
2826
2973
  });
@@ -2877,18 +3024,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
2877
3024
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
2878
3025
 
2879
3026
  // 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);
3027
+ var TypeId7 = "~effect/http/UrlParams";
3028
+ var isUrlParams = (u) => hasProperty(u, TypeId7);
2882
3029
  var Proto4 = {
2883
3030
  ...PipeInspectableProto,
2884
- [TypeId6]: TypeId6,
3031
+ [TypeId7]: TypeId7,
2885
3032
  [Symbol.iterator]() {
2886
3033
  return this.params[Symbol.iterator]();
2887
3034
  },
2888
3035
  [symbolRedactable](context) {
2889
3036
  return {
2890
3037
  _id: "UrlParams",
2891
- params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3038
+ params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2892
3039
  };
2893
3040
  },
2894
3041
  toJSON() {
@@ -2901,7 +3048,7 @@ var Proto4 = {
2901
3048
  return array(this.params.flat());
2902
3049
  }
2903
3050
  };
2904
- var make23 = (params) => {
3051
+ var make24 = (params) => {
2905
3052
  const self = Object.create(Proto4);
2906
3053
  self.params = params;
2907
3054
  return self;
@@ -2920,7 +3067,7 @@ var fromInput2 = (input) => {
2920
3067
  out.push(parsed[i]);
2921
3068
  }
2922
3069
  }
2923
- return make23(out);
3070
+ return make24(out);
2924
3071
  };
2925
3072
  var fromInputNested = (input) => {
2926
3073
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -2944,9 +3091,9 @@ var fromInputNested = (input) => {
2944
3091
  return out;
2945
3092
  };
2946
3093
  var coerce = (value) => isRedacted(value) ? value : String(value);
2947
- var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3094
+ var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2948
3095
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
2949
- var empty4 = /* @__PURE__ */ make23([]);
3096
+ var empty4 = /* @__PURE__ */ make24([]);
2950
3097
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2951
3098
  const params = fromInput2(input).params.slice();
2952
3099
  const keys = new Set;
@@ -2958,7 +3105,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
2958
3105
  continue;
2959
3106
  params.push(self.params[i]);
2960
3107
  }
2961
- return make23(params);
3108
+ return make24(params);
2962
3109
  });
2963
3110
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
2964
3111
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3014,13 +3161,13 @@ var decodeQueryKey = (key) => {
3014
3161
  return key;
3015
3162
  }
3016
3163
  };
3017
- var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3164
+ var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3018
3165
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3019
3166
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3020
3167
  });
3021
3168
 
3022
3169
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3023
- var TypeId7 = "~effect/Terminal";
3170
+ var TypeId8 = "~effect/Terminal";
3024
3171
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3025
3172
 
3026
3173
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3029,14 +3176,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3029
3176
  [QuitErrorTypeId] = QuitErrorTypeId;
3030
3177
  }
3031
3178
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3032
- var make24 = (impl) => Terminal.of({
3179
+ var make25 = (impl) => Terminal.of({
3033
3180
  ...impl,
3034
- [TypeId7]: TypeId7
3181
+ [TypeId8]: TypeId8
3035
3182
  });
3036
3183
 
3037
3184
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3038
3185
  import * as readline from "readline";
3039
- var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3186
+ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3040
3187
  const stdin = process.stdin;
3041
3188
  const stdout = process.stdout;
3042
3189
  const lines = yield* make9();
@@ -3050,7 +3197,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3050
3197
  };
3051
3198
  stdin.once("end", onStdinEnd);
3052
3199
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3053
- const rlRef = yield* make10({
3200
+ const rlRef = yield* make18({
3054
3201
  acquire: acquireRelease(sync2(() => {
3055
3202
  const rl = readline.createInterface({
3056
3203
  input: stdin,
@@ -3089,7 +3236,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3089
3236
  if (stdin.isTTY)
3090
3237
  stdin.setRawMode(enabled);
3091
3238
  });
3092
- const rawModeRef = yield* make10({
3239
+ const rawModeRef = yield* make18({
3093
3240
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3094
3241
  idleTimeToLive: "10 millis"
3095
3242
  });
@@ -3140,14 +3287,14 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3140
3287
  if (inputEnded) {
3141
3288
  handleEnd();
3142
3289
  } else {
3143
- yield* get3(rlRef);
3144
- yield* get3(rawModeRef);
3290
+ yield* get5(rlRef);
3291
+ yield* get5(rawModeRef);
3145
3292
  stdin.once("end", handleEnd);
3146
3293
  }
3147
3294
  return queue;
3148
3295
  });
3149
3296
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3150
- onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3297
+ onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3151
3298
  onSome: succeed6
3152
3299
  })), mapError2(() => new QuitError({}))));
3153
3300
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3158,7 +3305,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3158
3305
  cause: err
3159
3306
  }))));
3160
3307
  }));
3161
- return make24({
3308
+ return make25({
3162
3309
  columns,
3163
3310
  rows,
3164
3311
  size,
@@ -3167,7 +3314,7 @@ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3167
3314
  display
3168
3315
  });
3169
3316
  });
3170
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3317
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3171
3318
  function defaultShouldQuit(input) {
3172
3319
  const key = input.key;
3173
3320
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3194,7 +3341,7 @@ function toDate(input) {
3194
3341
  return toDateUtc2(makeUnsafe(input));
3195
3342
  }
3196
3343
  function parseDate(input) {
3197
- return getOrUndefined(map4(make18(input), toDateUtc2));
3344
+ return getOrUndefined(map4(make19(input), toDateUtc2));
3198
3345
  }
3199
3346
  function toIso(input) {
3200
3347
  return formatIso(makeUnsafe(input));
@@ -3400,7 +3547,11 @@ function inSecretReference(text, start, end) {
3400
3547
  var placeholderTokenName = new RegExp(`^<?(?:ghp_|github_pat_|glpat-|ksa1\\.|sk-|xox[baprs]-)${placeholderNamePart}(?:[_.-]${placeholderNamePart})*>?$`, "u");
3401
3548
  var bearerValue = /[0-9]|[._~+/:-][A-Za-z0-9]|[<{]/u;
3402
3549
  var VALUE_RULES = [
3403
- { classification: "secret", name: "private-key", pattern: /-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----/u },
3550
+ {
3551
+ classification: "secret",
3552
+ name: "private-key",
3553
+ pattern: /-----BEGIN (?:[A-Z0-9]+ )*PRIVATE KEY-----(?:[\s\S]*?-----END (?:[A-Z0-9]+ )*PRIVATE KEY-----|[\s\S]*)/u
3554
+ },
3404
3555
  {
3405
3556
  classification: "credential",
3406
3557
  name: "bearer-token",
@@ -9612,11 +9763,11 @@ var TranscriptSearchResult = Struct({
9612
9763
  total: Int
9613
9764
  });
9614
9765
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9615
- var TypeId8 = "~effect/http/HttpBody";
9766
+ var TypeId9 = "~effect/http/HttpBody";
9616
9767
  class Proto5 {
9617
- [TypeId8];
9768
+ [TypeId9];
9618
9769
  constructor() {
9619
- this[TypeId8] = TypeId8;
9770
+ this[TypeId9] = TypeId9;
9620
9771
  }
9621
9772
  [NodeInspectSymbol]() {
9622
9773
  return this.toJSON();
@@ -9707,7 +9858,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
9707
9858
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
9708
9859
 
9709
9860
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9710
- var TypeId9 = "~effect/http/HttpClientError";
9861
+ var TypeId10 = "~effect/http/HttpClientError";
9711
9862
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9712
9863
  constructor(props) {
9713
9864
  if ("cause" in props.reason) {
@@ -9719,7 +9870,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9719
9870
  super(props);
9720
9871
  }
9721
9872
  }
9722
- [TypeId9] = TypeId9;
9873
+ [TypeId10] = TypeId10;
9723
9874
  get request() {
9724
9875
  return this.reason.request;
9725
9876
  }
@@ -9823,7 +9974,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
9823
9974
  }
9824
9975
  }
9825
9976
 
9826
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
9977
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9827
9978
  _tag: /* @__PURE__ */ tag("HttpError"),
9828
9979
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
9829
9980
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -9856,7 +10007,7 @@ var updateContentLength = (headers, body) => {
9856
10007
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
9857
10008
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
9858
10009
  }
9859
- var make26 = (url, params, hash) => try_({
10010
+ var make27 = (url, params, hash) => try_({
9860
10011
  try: () => {
9861
10012
  const urlInstance = new URL(url, baseUrl());
9862
10013
  for (let i = 0;i < params.params.length; i++) {
@@ -9887,10 +10038,10 @@ var baseUrl = () => {
9887
10038
  };
9888
10039
 
9889
10040
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
9890
- var TypeId10 = "~effect/http/HttpClientRequest";
9891
- var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10041
+ var TypeId11 = "~effect/http/HttpClientRequest";
10042
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
9892
10043
  var Proto6 = {
9893
- [TypeId10]: TypeId10,
10044
+ [TypeId11]: TypeId11,
9894
10045
  ...BaseProto,
9895
10046
  toJSON() {
9896
10047
  return {
@@ -9979,7 +10130,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
9979
10130
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
9980
10131
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
9981
10132
  function toUrl(self) {
9982
- const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10133
+ const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
9983
10134
  if (isSuccess(r)) {
9984
10135
  return some(r.success);
9985
10136
  }
@@ -9987,7 +10138,7 @@ function toUrl(self) {
9987
10138
  }
9988
10139
 
9989
10140
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
9990
- var TypeId11 = "~effect/http/HttpIncomingMessage";
10141
+ var TypeId12 = "~effect/http/HttpIncomingMessage";
9991
10142
  var schemaBodyJson = (schema, options) => {
9992
10143
  const decode = decodeEffect(toCodecJson(schema));
9993
10144
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10006,7 +10157,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10006
10157
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10007
10158
 
10008
10159
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10009
- var TypeId12 = "~effect/http/HttpClientResponse";
10160
+ var TypeId13 = "~effect/http/HttpClientResponse";
10010
10161
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10011
10162
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10012
10163
  reason: new StatusCodeError({
@@ -10017,16 +10168,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10017
10168
  }));
10018
10169
 
10019
10170
  class WebHttpClientResponse extends Class {
10020
- [TypeId11];
10021
10171
  [TypeId12];
10172
+ [TypeId13];
10022
10173
  request;
10023
10174
  source;
10024
10175
  constructor(request, source) {
10025
10176
  super();
10026
10177
  this.request = request;
10027
10178
  this.source = source;
10028
- this[TypeId11] = TypeId11;
10029
10179
  this[TypeId12] = TypeId12;
10180
+ this[TypeId13] = TypeId13;
10030
10181
  }
10031
10182
  toJSON() {
10032
10183
  return inspect(this, {
@@ -10198,7 +10349,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10198
10349
  };
10199
10350
 
10200
10351
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10201
- var TypeId13 = "~effect/http/HttpClient";
10352
+ var TypeId14 = "~effect/http/HttpClient";
10202
10353
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10203
10354
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10204
10355
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10215,7 +10366,7 @@ var makeWith2 = (postprocess, preprocess) => {
10215
10366
  return self;
10216
10367
  };
10217
10368
  var Proto7 = {
10218
- [TypeId13]: TypeId13,
10369
+ [TypeId14]: TypeId14,
10219
10370
  pipe() {
10220
10371
  return pipeArguments(this, arguments);
10221
10372
  },
@@ -10229,10 +10380,10 @@ var Proto7 = {
10229
10380
  return this.execute(make5(fullMethod)(url, options));
10230
10381
  }]))
10231
10382
  };
10232
- var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10383
+ var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10233
10384
  const scopedController = scopedRequests.get(request);
10234
10385
  const controller = scopedController ?? new AbortController;
10235
- const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10386
+ const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10236
10387
  if (isFailure(urlResult)) {
10237
10388
  return fail7(new HttpClientError({
10238
10389
  reason: new InvalidUrlError({
@@ -10366,8 +10517,8 @@ class InterruptibleResponse {
10366
10517
  this.original = original;
10367
10518
  this.controller = controller;
10368
10519
  }
10520
+ [TypeId13] = TypeId13;
10369
10521
  [TypeId12] = TypeId12;
10370
- [TypeId11] = TypeId11;
10371
10522
  applyInterrupt(effect) {
10372
10523
  return suspend3(() => {
10373
10524
  responseRegistry.unregister(this.original);
@@ -10465,7 +10616,7 @@ var detectStreamBodySupport = () => {
10465
10616
  return false;
10466
10617
  }
10467
10618
  };
10468
- var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10619
+ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10469
10620
  if (request.headers.upgrade !== undefined) {
10470
10621
  return fail7(new HttpClientError({
10471
10622
  reason: new TransportError({
@@ -10556,10 +10707,10 @@ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10556
10707
  });
10557
10708
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10558
10709
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10559
- var TypeId14 = "~effect/socket/Socket";
10710
+ var TypeId15 = "~effect/socket/Socket";
10560
10711
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10561
- var make28 = (options) => Socket.of({
10562
- [TypeId14]: TypeId14,
10712
+ var make29 = (options) => Socket.of({
10713
+ [TypeId15]: TypeId15,
10563
10714
  reader: options.reader,
10564
10715
  writer: options.writer
10565
10716
  });
@@ -10882,7 +11033,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
10882
11033
  write,
10883
11034
  writeAll
10884
11035
  });
10885
- return succeed6(make28({
11036
+ return succeed6(make29({
10886
11037
  reader,
10887
11038
  writer
10888
11039
  }));
@@ -13815,7 +13966,7 @@ function getStreamSchemas(schema) {
13815
13966
  }
13816
13967
  var schema = /* @__PURE__ */ declare(isStream);
13817
13968
  function Stream(success, error) {
13818
- return make17(schema.ast, {
13969
+ return make16(schema.ast, {
13819
13970
  [StreamSchemaTypeId]: StreamSchemaTypeId,
13820
13971
  success,
13821
13972
  error
@@ -13823,9 +13974,9 @@ function Stream(success, error) {
13823
13974
  }
13824
13975
 
13825
13976
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
13826
- var TypeId15 = "~effect/rpc/Rpc";
13977
+ var TypeId16 = "~effect/rpc/Rpc";
13827
13978
  var Proto8 = {
13828
- [TypeId15]: TypeId15,
13979
+ [TypeId16]: TypeId16,
13829
13980
  pipe() {
13830
13981
  return pipeArguments(this, arguments);
13831
13982
  },
@@ -13992,7 +14143,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
13992
14143
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
13993
14144
 
13994
14145
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
13995
- var TypeId16 = "~effect/rpc/RpcClientError";
14146
+ var TypeId17 = "~effect/rpc/RpcClientError";
13996
14147
 
13997
14148
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
13998
14149
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14001,11 +14152,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14001
14152
  })) {
14002
14153
  }
14003
14154
 
14004
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14155
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14005
14156
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14006
14157
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14007
14158
  })) {
14008
- [TypeId16] = TypeId16;
14159
+ [TypeId17] = TypeId17;
14009
14160
  get message() {
14010
14161
  return `${this.reason._tag}: ${this.reason.message}`;
14011
14162
  }
@@ -14125,7 +14276,7 @@ var RpcGroupProto = {
14125
14276
  });
14126
14277
  },
14127
14278
  annotateRpcs(service, value) {
14128
- return this.annotateRpcsMerge(make15(service, value));
14279
+ return this.annotateRpcsMerge(make14(service, value));
14129
14280
  },
14130
14281
  annotateMerge(context) {
14131
14282
  return makeProto2({
@@ -14153,7 +14304,7 @@ var make7 = (...rpcs) => makeProto2({
14153
14304
  annotations: empty3()
14154
14305
  });
14155
14306
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14156
- var TypeId17 = "~effect/rpc/RpcMiddleware";
14307
+ var TypeId18 = "~effect/rpc/RpcMiddleware";
14157
14308
  var Service = () => (id, options) => {
14158
14309
  const limit = getStackTraceLimit();
14159
14310
  let creationError;
@@ -14171,7 +14322,7 @@ var Service = () => (id, options) => {
14171
14322
  return creationError?.stack;
14172
14323
  }
14173
14324
  });
14174
- ServiceClass_[TypeId17] = TypeId17;
14325
+ ServiceClass_[TypeId18] = TypeId18;
14175
14326
  ServiceClass_.error = options?.error ?? Never;
14176
14327
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14177
14328
  return ServiceClass;
@@ -14387,6 +14538,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14387
14538
  revision: optionalKey(String4),
14388
14539
  checks: optional(ArraySchema(String4)),
14389
14540
  suggested: optionalKey(ArraySchema(ApprovedCheck)),
14541
+ extra: optionalKey(ArraySchema(ApprovedCheck)),
14390
14542
  rerunFailed: optionalKey(Boolean2),
14391
14543
  measure: optionalKey(Struct({
14392
14544
  base: optionalKey(String4),
@@ -14806,7 +14958,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
14806
14958
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
14807
14959
 
14808
14960
  // apps/cli/src/oauth.ts
14809
- var Scope = "openid profile email offline_access kitman:cli";
14961
+ var Scope2 = "openid profile email offline_access kitman:cli";
14810
14962
  var CallbackPath = "/auth/callback";
14811
14963
 
14812
14964
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -14825,7 +14977,7 @@ function buildAuthorizeUrl(input) {
14825
14977
  url.searchParams.set("response_type", "code");
14826
14978
  url.searchParams.set("client_id", input.clientId);
14827
14979
  url.searchParams.set("redirect_uri", input.redirectUri);
14828
- url.searchParams.set("scope", Scope);
14980
+ url.searchParams.set("scope", Scope2);
14829
14981
  url.searchParams.set("code_challenge", input.codeChallenge);
14830
14982
  url.searchParams.set("code_challenge_method", "S256");
14831
14983
  url.searchParams.set("state", input.state);
@@ -14885,7 +15037,7 @@ function toStoredSession(token, existingRefreshToken) {
14885
15037
  }
14886
15038
  function startLoopbackServer(input) {
14887
15039
  return gen(function* () {
14888
- const code = yield* make16();
15040
+ const code = yield* make15();
14889
15041
  const context2 = yield* context();
14890
15042
  const runSyncExit = runSyncExitWith(context2);
14891
15043
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15425,7 +15577,7 @@ var openConnection = (transport) => gen(function* () {
15425
15577
  let lastId = 0;
15426
15578
  let lost = false;
15427
15579
  const notifications = yield* unbounded2();
15428
- const ended = yield* make16();
15580
+ const ended = yield* make15();
15429
15581
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15430
15582
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15431
15583
  onNone: () => void_3,
@@ -15452,7 +15604,7 @@ var openConnection = (transport) => gen(function* () {
15452
15604
  if (lost)
15453
15605
  return yield* new HerdrCoreConnectionLost2({ method });
15454
15606
  const id = ++lastId;
15455
- const deferred = yield* make16();
15607
+ const deferred = yield* make15();
15456
15608
  pending.set(id, { method, deferred });
15457
15609
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15458
15610
  return yield* _await(deferred);
@@ -15526,7 +15678,7 @@ var herdrCoreOver = (transport) => ({
15526
15678
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15527
15679
  };
15528
15680
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15529
- return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15681
+ return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15530
15682
  }))
15531
15683
  });
15532
15684
  var spawnedTransport = (env) => gen(function* () {
@@ -15617,7 +15769,7 @@ var runProcess2 = (argv, options) => gen(function* () {
15617
15769
  const spawner = yield* ChildProcessSpawner;
15618
15770
  const [command, ...args] = argv;
15619
15771
  const handle = yield* spawner.spawn(make3(command, args, {
15620
- stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15772
+ stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15621
15773
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15622
15774
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15623
15775
  }));