@kitman-sh/cli 0.41.0 → 0.42.1

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-amnctk9f.js → chunk-1ay659hm.js} +6 -6
  2. package/dist/{chunk-xat27r93.js → chunk-4pcknv14.js} +29 -23
  3. package/dist/{chunk-v2pk0b62.js → chunk-4v0dkm5t.js} +2 -2
  4. package/dist/{chunk-vd9wjvwt.js → chunk-6e1fq0ct.js} +7 -7
  5. package/dist/{chunk-cs66re9p.js → chunk-6x08g7m6.js} +10 -10
  6. package/dist/{chunk-5rvn8bah.js → chunk-6xnkbrs7.js} +144 -144
  7. package/dist/{chunk-c8rck2r5.js → chunk-7091bpsv.js} +4 -4
  8. package/dist/{chunk-yxj4dmef.js → chunk-7n64vjb2.js} +8 -8
  9. package/dist/{chunk-wre79w3z.js → chunk-8b02x7vv.js} +1 -1
  10. package/dist/{chunk-zvp4wm6b.js → chunk-8q04gtg1.js} +6 -6
  11. package/dist/{chunk-tpmyf5mk.js → chunk-98azvx6g.js} +1 -1
  12. package/dist/{chunk-b4td2pgc.js → chunk-bqbfyqx6.js} +61 -61
  13. package/dist/{chunk-svq8b6fq.js → chunk-cnryphhh.js} +5 -5
  14. package/dist/{chunk-hfy8nmat.js → chunk-d4vhrja4.js} +3 -3
  15. package/dist/{chunk-j4s7r8hg.js → chunk-dgqjmd95.js} +18 -18
  16. package/dist/{chunk-qndcafax.js → chunk-ea29sbaq.js} +1 -1
  17. package/dist/{chunk-sasjamqz.js → chunk-etrfc5cn.js} +178 -29
  18. package/dist/{chunk-32fc44tx.js → chunk-evpyks4h.js} +10 -10
  19. package/dist/{chunk-rt2sh0jh.js → chunk-gf2np1ak.js} +59 -59
  20. package/dist/{chunk-pz7s0apf.js → chunk-hgvft7vy.js} +4 -4
  21. package/dist/{chunk-f7qdzedh.js → chunk-kqr3ts9q.js} +122 -278
  22. package/dist/{chunk-p9ykk8h7.js → chunk-nk35kh6w.js} +3 -3
  23. package/dist/{chunk-drw8m50d.js → chunk-ns26fbmk.js} +2 -2
  24. package/dist/{chunk-yv80rgfx.js → chunk-p4asjq9r.js} +1 -1
  25. package/dist/{chunk-0jphb7hd.js → chunk-rv8t9jzj.js} +4 -4
  26. package/dist/{chunk-dhe1fwhw.js → chunk-wy6gmtd9.js} +2 -2
  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
- make13,
41
+ make14,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,15 +58,13 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make14,
61
+ make15,
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,
@@ -89,11 +87,9 @@ import {
89
87
  ConsoleRef,
90
88
  succeed3,
91
89
  fail4,
92
- void_2,
93
90
  isSuccess2,
94
- isFailure2,
95
91
  makeUnsafe5,
96
- make15,
92
+ make16,
97
93
  _await,
98
94
  fail5,
99
95
  isDone,
@@ -101,12 +97,8 @@ import {
101
97
  succeed4,
102
98
  doneUnsafe,
103
99
  TracerTimingEnabled,
104
- Scope,
105
- makeUnsafe6,
106
100
  provide,
107
- addFinalizerExit,
108
101
  addFinalizer,
109
- close,
110
102
  succeed5,
111
103
  effect,
112
104
  effectContext,
@@ -158,7 +150,6 @@ import {
158
150
  tapCause,
159
151
  retry,
160
152
  ignore,
161
- ignoreCause,
162
153
  orElseSucceed,
163
154
  timeout,
164
155
  timeoutOrElse,
@@ -170,7 +161,6 @@ import {
170
161
  context,
171
162
  contextWith,
172
163
  provide3,
173
- provideContext2,
174
164
  serviceOption,
175
165
  updateContext,
176
166
  provideService,
@@ -181,7 +171,6 @@ import {
181
171
  addFinalizer2,
182
172
  ensuring2,
183
173
  onError,
184
- onExit,
185
174
  cached,
186
175
  interrupt3,
187
176
  interruptible,
@@ -193,7 +182,6 @@ import {
193
182
  withParentSpan,
194
183
  forkScoped,
195
184
  runFork,
196
- runForkWith,
197
185
  runPromise,
198
186
  runPromiseWith,
199
187
  runSync,
@@ -213,7 +201,7 @@ import {
213
201
  decodeEffect,
214
202
  decodeUnknownOption,
215
203
  decodeOption,
216
- make16,
204
+ make17,
217
205
  isSchema,
218
206
  optionalKey,
219
207
  optional,
@@ -274,30 +262,13 @@ import {
274
262
  decodeJsonStringOption,
275
263
  encodeJsonStringSync,
276
264
  encodePrettyJsonString
277
- } from "./chunk-b4td2pgc.js";
278
- import {
279
- isDateTime,
280
- Numeric,
281
- isWholeNumber,
282
- guard,
283
- Id,
284
- Timestamp,
285
- ActorType,
286
- SecretName,
287
- SecretScope,
288
- SecretHosts,
289
- isSecretReference
290
- } from "./chunk-qndcafax.js";
265
+ } from "./chunk-bqbfyqx6.js";
291
266
  import {
292
267
  map,
293
268
  makeEquivalence,
294
269
  Clock,
295
270
  currentTimeMillis,
296
271
  bytes,
297
- join,
298
- interrupt,
299
- getCurrent,
300
- runIn,
301
272
  BadArgument,
302
273
  systemError,
303
274
  badArgument,
@@ -319,11 +290,13 @@ import {
319
290
  isSink,
320
291
  fromChannel,
321
292
  drain,
293
+ make10,
294
+ get3,
322
295
  isStream,
323
296
  fromChannel2,
324
297
  callback,
325
298
  empty2,
326
- make10,
299
+ make11,
327
300
  suspend,
328
301
  fail2,
329
302
  fromQueue,
@@ -349,17 +322,30 @@ import {
349
322
  mkArrayBuffer,
350
323
  toReadableStreamEffect,
351
324
  FileSystem,
352
- make11,
325
+ make12,
353
326
  FileTypeId,
354
327
  WatchBackend,
355
328
  Path,
356
- make12,
329
+ make13,
357
330
  option,
358
331
  String2,
359
332
  optionalEnv,
360
333
  harnessesUnsupportedInSrt2,
361
334
  harnessesUnsupportedInDocker2
362
- } from "./chunk-sasjamqz.js";
335
+ } from "./chunk-etrfc5cn.js";
336
+ import {
337
+ isDateTime,
338
+ Numeric,
339
+ isWholeNumber,
340
+ guard,
341
+ Id,
342
+ Timestamp,
343
+ ActorType,
344
+ SecretName,
345
+ SecretScope,
346
+ SecretHosts,
347
+ isSecretReference
348
+ } from "./chunk-ea29sbaq.js";
363
349
  import {
364
350
  isRedacted,
365
351
  make,
@@ -373,7 +359,7 @@ import {
373
359
  make3,
374
360
  parseFdName,
375
361
  fdName
376
- } from "./chunk-cs66re9p.js";
362
+ } from "./chunk-6x08g7m6.js";
377
363
 
378
364
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
379
365
  var makeEquivalence3 = Tuple;
@@ -512,7 +498,7 @@ var fromDateUnsafe = (date) => {
512
498
  }
513
499
  return makeUtc(epochMillis);
514
500
  };
515
- var makeUnsafe7 = (input) => {
501
+ var makeUnsafe6 = (input) => {
516
502
  if (isDateTime2(input)) {
517
503
  return input;
518
504
  } else if (input instanceof Date) {
@@ -532,7 +518,7 @@ var makeUnsafe7 = (input) => {
532
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
533
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
534
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
535
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
536
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
537
523
  var nowUnsafe = () => makeUtc(Date.now());
538
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -639,7 +625,7 @@ class Metric$ {
639
625
  }
640
626
  hook(context) {
641
627
  const key = this.key(context);
642
- const registry = get3(context, MetricRegistry);
628
+ const registry = get4(context, MetricRegistry);
643
629
  let metadata = registry.get(key);
644
630
  if (isUndefined(metadata)) {
645
631
  metadata = this.metadata(this.createHooks());
@@ -648,11 +634,11 @@ class Metric$ {
648
634
  return metadata.hooks;
649
635
  }
650
636
  removeUnsafe(context) {
651
- get3(context, MetricRegistry).delete(this.key(context));
637
+ get4(context, MetricRegistry).delete(this.key(context));
652
638
  }
653
639
  registerUnsafe(context, hooks) {
654
640
  const key = this.key(context);
655
- const registry = get3(context, MetricRegistry);
641
+ const registry = get4(context, MetricRegistry);
656
642
  const metadata = this.metadata({
657
643
  get: hooks.get,
658
644
  update: constVoid,
@@ -668,7 +654,7 @@ class Metric$ {
668
654
  };
669
655
  }
670
656
  key(context) {
671
- const extraAttributes = get3(context, CurrentMetricAttributes);
657
+ const extraAttributes = get4(context, CurrentMetricAttributes);
672
658
  if (extraAttributes !== this.#extraAttributes) {
673
659
  this.#extraAttributes = extraAttributes;
674
660
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -920,151 +906,9 @@ var toNumber = (b) => {
920
906
  return some(Number(b));
921
907
  };
922
908
 
923
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
924
- var TypeId3 = "~effect/RcRef";
925
- var stateEmpty = {
926
- _tag: "Empty"
927
- };
928
- var stateClosed = {
929
- _tag: "Closed"
930
- };
931
- var variance = {
932
- _A: identity,
933
- _E: identity
934
- };
935
-
936
- class RcRefImpl {
937
- [TypeId3] = variance;
938
- pipe() {
939
- return pipeArguments(this, arguments);
940
- }
941
- state = stateEmpty;
942
- acquire;
943
- context;
944
- scope;
945
- idleTimeToLive;
946
- constructor(acquire, context, scope, idleTimeToLive) {
947
- this.acquire = acquire;
948
- this.context = context;
949
- this.scope = scope;
950
- this.idleTimeToLive = idleTimeToLive;
951
- }
952
- }
953
- var make17 = (options) => withFiber2((fiber) => {
954
- const context = fiber.context;
955
- const scope = get3(context, Scope);
956
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
957
- return as(addFinalizerExit(scope, () => {
958
- const state = ref.state;
959
- ref.state = stateClosed;
960
- if (state._tag === "Acquired")
961
- return close(state.scope, void_2);
962
- if (state._tag === "Acquiring")
963
- return interrupt(state.fiber);
964
- return void_3;
965
- }), ref);
966
- });
967
- var getState = (self, restore) => {
968
- switch (self.state._tag) {
969
- case "Closed": {
970
- return interrupt3;
971
- }
972
- case "Acquired": {
973
- const state = self.state;
974
- state.refCount++;
975
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
976
- }
977
- case "Acquiring": {
978
- const state = self.state;
979
- state.awaiters++;
980
- return awaitAcquiring(self, state, restore);
981
- }
982
- case "Empty": {
983
- const acquiring = {
984
- _tag: "Acquiring",
985
- fiber: undefined,
986
- awaiters: 1,
987
- acquired: undefined
988
- };
989
- self.state = acquiring;
990
- const scope = makeUnsafe6();
991
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
992
- if (self.state !== acquiring) {
993
- return interrupt3;
994
- }
995
- const state = {
996
- _tag: "Acquired",
997
- value,
998
- scope,
999
- fiber: undefined,
1000
- refCount: acquiring.awaiters,
1001
- invalidated: false
1002
- };
1003
- self.state = state;
1004
- acquiring.acquired = state;
1005
- return succeed6(state);
1006
- }), onExit((exit) => {
1007
- if (isSuccess2(exit))
1008
- return void_3;
1009
- if (self.state === acquiring)
1010
- self.state = stateEmpty;
1011
- return close(scope, exit);
1012
- }));
1013
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1014
- return awaitAcquiring(self, acquiring, restore);
1015
- }
1016
- }
1017
- };
1018
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1019
- const acquired = acquiring.acquired;
1020
- if (acquired !== undefined) {
1021
- return isFailure2(exit) ? release(self, acquired) : void_3;
1022
- }
1023
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1024
- return void_3;
1025
- self.state = stateEmpty;
1026
- return interrupt(acquiring.fiber);
1027
- });
1028
- var get4 = (self_) => {
1029
- const self = self_;
1030
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1031
- };
1032
- var release = (self, state) => {
1033
- state.refCount--;
1034
- if (state.refCount > 0) {
1035
- return void_3;
1036
- }
1037
- const idleTimeToLive = self.idleTimeToLive;
1038
- if (idleTimeToLive === undefined || state.invalidated) {
1039
- if (self.state === state) {
1040
- self.state = stateEmpty;
1041
- }
1042
- return close(state.scope, void_2);
1043
- } else if (!isFinite(idleTimeToLive)) {
1044
- return void_3;
1045
- }
1046
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1047
- if (self.state === state && state.refCount === 0) {
1048
- self.state = stateEmpty;
1049
- return ignoreCause(close(state.scope, void_2), {
1050
- log: "Unhandled",
1051
- message: "Unhandled error in RcRef finalizer"
1052
- });
1053
- }
1054
- return void_3;
1055
- })).pipe(ensuring2(sync2(() => {
1056
- state.fiber = undefined;
1057
- })), runForkWith(self.context), runIn(self.scope));
1058
- return void_3;
1059
- };
1060
-
1061
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1062
- var make18 = make17;
1063
- var get5 = get4;
1064
-
1065
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1066
- var makeUnsafe = makeUnsafe7;
1067
- var make19 = make4;
910
+ var makeUnsafe = makeUnsafe6;
911
+ var make18 = make4;
1068
912
  var now2 = now;
1069
913
  var nowUnsafe2 = nowUnsafe;
1070
914
  var toDateUtc2 = toDateUtc;
@@ -1383,7 +1227,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1383
1227
  windowsHide: true
1384
1228
  }, onExit);
1385
1229
  };
1386
- var make20 = /* @__PURE__ */ gen(function* () {
1230
+ var make19 = /* @__PURE__ */ gen(function* () {
1387
1231
  const fs = yield* FileSystem;
1388
1232
  const path = yield* Path;
1389
1233
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1912,7 +1756,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1912
1756
  });
1913
1757
  return make2(spawnCommand);
1914
1758
  });
1915
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1759
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1916
1760
  var flattenCommand = (command) => {
1917
1761
  const commands = [];
1918
1762
  const pipeOptions = [];
@@ -2396,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2396
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2397
2241
  }
2398
2242
  });
2399
- var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map9(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2400
2244
  access: access2,
2401
2245
  chmod: chmod2,
2402
2246
  chown: chown2,
@@ -2456,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2456
2300
  })
2457
2301
  })
2458
2302
  });
2459
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2460
2304
  ...NodePath.posix,
2461
2305
  .../* @__PURE__ */ fileUrlOps(false)
2462
2306
  }));
2463
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2464
2308
  ...NodePath.win32,
2465
2309
  .../* @__PURE__ */ fileUrlOps(true)
2466
2310
  }));
2467
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2468
2312
  ...NodePath,
2469
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2470
2314
  }));
@@ -2473,10 +2317,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2473
2317
  var layer2 = layer7;
2474
2318
 
2475
2319
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2476
- var TypeId4 = "~effect/Stdio";
2477
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2478
- var make21 = (options) => ({
2479
- [TypeId4]: TypeId4,
2320
+ var TypeId3 = "~effect/Stdio";
2321
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2322
+ var make20 = (options) => ({
2323
+ [TypeId3]: TypeId3,
2480
2324
  stdinIsTerminal: succeed6(false),
2481
2325
  stdoutIsTerminal: succeed6(false),
2482
2326
  stderrIsTerminal: succeed6(false),
@@ -2484,7 +2328,7 @@ var make21 = (options) => ({
2484
2328
  });
2485
2329
 
2486
2330
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2487
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2331
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2488
2332
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2489
2333
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2490
2334
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2684,7 +2528,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2684
2528
  const uuid = bytes(randomBytes(16));
2685
2529
  return format === "bytes" ? uuid : stringify(uuid);
2686
2530
  };
2687
- var make22 = (randomBytes) => {
2531
+ var make21 = (randomBytes) => {
2688
2532
  const randomBytesChecked = (size) => {
2689
2533
  checkSize(size);
2690
2534
  return randomBytes(size);
@@ -2718,7 +2562,7 @@ var fillRandom = (crypto2, size) => {
2718
2562
  }
2719
2563
  return bytes;
2720
2564
  };
2721
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2565
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2722
2566
  var randomBytesUnsafe = (size) => {
2723
2567
  checkSize(size);
2724
2568
  return fillRandom(globalThis.crypto, size);
@@ -2726,10 +2570,10 @@ var randomBytesUnsafe = (size) => {
2726
2570
  var uuidV4Unsafe = (options) => makeUuid(v4Bytes, randomBytesUnsafe, options?.format);
2727
2571
 
2728
2572
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2729
- var TypeId5 = "~effect/http/Cookies";
2573
+ var TypeId4 = "~effect/http/Cookies";
2730
2574
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2731
2575
  var Proto2 = {
2732
- [TypeId5]: TypeId5,
2576
+ [TypeId4]: TypeId4,
2733
2577
  ...BaseProto,
2734
2578
  toJSON() {
2735
2579
  return {
@@ -2908,14 +2752,14 @@ var tryDecodeURIComponent = (str) => {
2908
2752
  };
2909
2753
 
2910
2754
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2911
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2755
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2912
2756
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2913
- [TypeId6]: {
2914
- value: TypeId6
2757
+ [TypeId5]: {
2758
+ value: TypeId5
2915
2759
  },
2916
2760
  [symbolRedactable]: {
2917
2761
  value(context) {
2918
- return redact2(this, get3(context, CurrentRedactedNames));
2762
+ return redact2(this, get4(context, CurrentRedactedNames));
2919
2763
  }
2920
2764
  },
2921
2765
  toJSON: {
@@ -2940,7 +2784,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2940
2784
  value: BaseProto[NodeInspectSymbol]
2941
2785
  }
2942
2786
  });
2943
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2787
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2944
2788
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2945
2789
  var empty = /* @__PURE__ */ Object.create(Proto3);
2946
2790
  var fromInput = (input) => {
@@ -2965,21 +2809,21 @@ var fromInput = (input) => {
2965
2809
  };
2966
2810
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2967
2811
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2968
- const out = make23(self);
2812
+ const out = make22(self);
2969
2813
  out[key.toLowerCase()] = value;
2970
2814
  return out;
2971
2815
  });
2972
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2816
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2973
2817
  ...self,
2974
2818
  ...fromInput(headers)
2975
2819
  }));
2976
2820
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2977
- const out = make23(self);
2821
+ const out = make22(self);
2978
2822
  Object.assign(out, headers);
2979
2823
  return out;
2980
2824
  });
2981
2825
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2982
- const out = make23(self);
2826
+ const out = make22(self);
2983
2827
  delete out[key.toLowerCase()];
2984
2828
  return out;
2985
2829
  });
@@ -3036,18 +2880,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3036
2880
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3037
2881
 
3038
2882
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3039
- var TypeId7 = "~effect/http/UrlParams";
3040
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2883
+ var TypeId6 = "~effect/http/UrlParams";
2884
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3041
2885
  var Proto4 = {
3042
2886
  ...PipeInspectableProto,
3043
- [TypeId7]: TypeId7,
2887
+ [TypeId6]: TypeId6,
3044
2888
  [Symbol.iterator]() {
3045
2889
  return this.params[Symbol.iterator]();
3046
2890
  },
3047
2891
  [symbolRedactable](context) {
3048
2892
  return {
3049
2893
  _id: "UrlParams",
3050
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2894
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3051
2895
  };
3052
2896
  },
3053
2897
  toJSON() {
@@ -3060,7 +2904,7 @@ var Proto4 = {
3060
2904
  return array(this.params.flat());
3061
2905
  }
3062
2906
  };
3063
- var make24 = (params) => {
2907
+ var make23 = (params) => {
3064
2908
  const self = Object.create(Proto4);
3065
2909
  self.params = params;
3066
2910
  return self;
@@ -3079,7 +2923,7 @@ var fromInput2 = (input) => {
3079
2923
  out.push(parsed[i]);
3080
2924
  }
3081
2925
  }
3082
- return make24(out);
2926
+ return make23(out);
3083
2927
  };
3084
2928
  var fromInputNested = (input) => {
3085
2929
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3103,9 +2947,9 @@ var fromInputNested = (input) => {
3103
2947
  return out;
3104
2948
  };
3105
2949
  var coerce = (value) => isRedacted(value) ? value : String(value);
3106
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2950
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3107
2951
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3108
- var empty4 = /* @__PURE__ */ make24([]);
2952
+ var empty4 = /* @__PURE__ */ make23([]);
3109
2953
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3110
2954
  const params = fromInput2(input).params.slice();
3111
2955
  const keys = new Set;
@@ -3117,7 +2961,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3117
2961
  continue;
3118
2962
  params.push(self.params[i]);
3119
2963
  }
3120
- return make24(params);
2964
+ return make23(params);
3121
2965
  });
3122
2966
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3123
2967
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3173,13 +3017,13 @@ var decodeQueryKey = (key) => {
3173
3017
  return key;
3174
3018
  }
3175
3019
  };
3176
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3020
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3177
3021
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3178
3022
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3179
3023
  });
3180
3024
 
3181
3025
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3182
- var TypeId8 = "~effect/Terminal";
3026
+ var TypeId7 = "~effect/Terminal";
3183
3027
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3184
3028
 
3185
3029
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3188,14 +3032,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3188
3032
  [QuitErrorTypeId] = QuitErrorTypeId;
3189
3033
  }
3190
3034
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3191
- var make25 = (impl) => Terminal.of({
3035
+ var make24 = (impl) => Terminal.of({
3192
3036
  ...impl,
3193
- [TypeId8]: TypeId8
3037
+ [TypeId7]: TypeId7
3194
3038
  });
3195
3039
 
3196
3040
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3197
3041
  import * as readline from "readline";
3198
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3042
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3199
3043
  const stdin = process.stdin;
3200
3044
  const stdout = process.stdout;
3201
3045
  const lines = yield* make9();
@@ -3209,7 +3053,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3209
3053
  };
3210
3054
  stdin.once("end", onStdinEnd);
3211
3055
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3212
- const rlRef = yield* make18({
3056
+ const rlRef = yield* make10({
3213
3057
  acquire: acquireRelease(sync2(() => {
3214
3058
  const rl = readline.createInterface({
3215
3059
  input: stdin,
@@ -3248,7 +3092,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3248
3092
  if (stdin.isTTY)
3249
3093
  stdin.setRawMode(enabled);
3250
3094
  });
3251
- const rawModeRef = yield* make18({
3095
+ const rawModeRef = yield* make10({
3252
3096
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3253
3097
  idleTimeToLive: "10 millis"
3254
3098
  });
@@ -3299,14 +3143,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3299
3143
  if (inputEnded) {
3300
3144
  handleEnd();
3301
3145
  } else {
3302
- yield* get5(rlRef);
3303
- yield* get5(rawModeRef);
3146
+ yield* get3(rlRef);
3147
+ yield* get3(rawModeRef);
3304
3148
  stdin.once("end", handleEnd);
3305
3149
  }
3306
3150
  return queue;
3307
3151
  });
3308
3152
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3309
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3153
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3310
3154
  onSome: succeed6
3311
3155
  })), mapError2(() => new QuitError({}))));
3312
3156
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3317,7 +3161,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3317
3161
  cause: err
3318
3162
  }))));
3319
3163
  }));
3320
- return make25({
3164
+ return make24({
3321
3165
  columns,
3322
3166
  rows,
3323
3167
  size,
@@ -3326,7 +3170,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3326
3170
  display
3327
3171
  });
3328
3172
  });
3329
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3173
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3330
3174
  function defaultShouldQuit(input) {
3331
3175
  const key = input.key;
3332
3176
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3353,7 +3197,7 @@ function toDate(input) {
3353
3197
  return toDateUtc2(makeUnsafe(input));
3354
3198
  }
3355
3199
  function parseDate(input) {
3356
- return getOrUndefined(map4(make19(input), toDateUtc2));
3200
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3357
3201
  }
3358
3202
  function toIso(input) {
3359
3203
  return formatIso(makeUnsafe(input));
@@ -8537,7 +8381,7 @@ var RunnerCapabilities = Struct({
8537
8381
  applyChange: optionalKey(Boolean2)
8538
8382
  });
8539
8383
  var MaxRunnerConcurrency = 32;
8540
- var DefaultVerificationConcurrency = 2;
8384
+ var DefaultVerificationConcurrency = MaxRunnerConcurrency;
8541
8385
  var verificationCap = (settings) => Math.min(settings.concurrency, settings.verificationConcurrency);
8542
8386
  var PinnedImage = String4.check(isMaxLength(500), isPattern(new RegExp("^[^\\s@]+@sha256:[a-f0-9]{64}$", "u")));
8543
8387
  var RunnerSettings = Struct({
@@ -10995,11 +10839,11 @@ var TranscriptSearchResult = Struct({
10995
10839
  total: Int
10996
10840
  });
10997
10841
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
10998
- var TypeId9 = "~effect/http/HttpBody";
10842
+ var TypeId8 = "~effect/http/HttpBody";
10999
10843
  class Proto5 {
11000
- [TypeId9];
10844
+ [TypeId8];
11001
10845
  constructor() {
11002
- this[TypeId9] = TypeId9;
10846
+ this[TypeId8] = TypeId8;
11003
10847
  }
11004
10848
  [NodeInspectSymbol]() {
11005
10849
  return this.toJSON();
@@ -11090,7 +10934,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
11090
10934
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
11091
10935
 
11092
10936
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
11093
- var TypeId10 = "~effect/http/HttpClientError";
10937
+ var TypeId9 = "~effect/http/HttpClientError";
11094
10938
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
11095
10939
  constructor(props) {
11096
10940
  if ("cause" in props.reason) {
@@ -11102,7 +10946,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
11102
10946
  super(props);
11103
10947
  }
11104
10948
  }
11105
- [TypeId10] = TypeId10;
10949
+ [TypeId9] = TypeId9;
11106
10950
  get request() {
11107
10951
  return this.reason.request;
11108
10952
  }
@@ -11206,7 +11050,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
11206
11050
  }
11207
11051
  }
11208
11052
 
11209
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
11053
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
11210
11054
  _tag: /* @__PURE__ */ tag("HttpError"),
11211
11055
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
11212
11056
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -11239,7 +11083,7 @@ var updateContentLength = (headers, body) => {
11239
11083
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
11240
11084
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
11241
11085
  }
11242
- var make27 = (url, params, hash) => try_({
11086
+ var make26 = (url, params, hash) => try_({
11243
11087
  try: () => {
11244
11088
  const urlInstance = new URL(url, baseUrl());
11245
11089
  for (let i = 0;i < params.params.length; i++) {
@@ -11270,10 +11114,10 @@ var baseUrl = () => {
11270
11114
  };
11271
11115
 
11272
11116
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
11273
- var TypeId11 = "~effect/http/HttpClientRequest";
11274
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
11117
+ var TypeId10 = "~effect/http/HttpClientRequest";
11118
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
11275
11119
  var Proto6 = {
11276
- [TypeId11]: TypeId11,
11120
+ [TypeId10]: TypeId10,
11277
11121
  ...BaseProto,
11278
11122
  toJSON() {
11279
11123
  return {
@@ -11362,7 +11206,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
11362
11206
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
11363
11207
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
11364
11208
  function toUrl(self) {
11365
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
11209
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
11366
11210
  if (isSuccess(r)) {
11367
11211
  return some(r.success);
11368
11212
  }
@@ -11370,7 +11214,7 @@ function toUrl(self) {
11370
11214
  }
11371
11215
 
11372
11216
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
11373
- var TypeId12 = "~effect/http/HttpIncomingMessage";
11217
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
11374
11218
  var schemaBodyJson = (schema, options) => {
11375
11219
  const decode = decodeEffect(toCodecJson(schema));
11376
11220
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -11389,7 +11233,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
11389
11233
  var getWebSource = (self) => self[WebSourceSymbol]?.();
11390
11234
 
11391
11235
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
11392
- var TypeId13 = "~effect/http/HttpClientResponse";
11236
+ var TypeId12 = "~effect/http/HttpClientResponse";
11393
11237
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
11394
11238
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
11395
11239
  reason: new StatusCodeError({
@@ -11400,16 +11244,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
11400
11244
  }));
11401
11245
 
11402
11246
  class WebHttpClientResponse extends Class {
11247
+ [TypeId11];
11403
11248
  [TypeId12];
11404
- [TypeId13];
11405
11249
  request;
11406
11250
  source;
11407
11251
  constructor(request, source) {
11408
11252
  super();
11409
11253
  this.request = request;
11410
11254
  this.source = source;
11255
+ this[TypeId11] = TypeId11;
11411
11256
  this[TypeId12] = TypeId12;
11412
- this[TypeId13] = TypeId13;
11413
11257
  }
11414
11258
  toJSON() {
11415
11259
  return inspect(this, {
@@ -11581,7 +11425,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
11581
11425
  };
11582
11426
 
11583
11427
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
11584
- var TypeId14 = "~effect/http/HttpClient";
11428
+ var TypeId13 = "~effect/http/HttpClient";
11585
11429
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
11586
11430
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
11587
11431
  var execute = /* @__PURE__ */ accessor("execute");
@@ -11598,7 +11442,7 @@ var makeWith2 = (postprocess, preprocess) => {
11598
11442
  return self;
11599
11443
  };
11600
11444
  var Proto7 = {
11601
- [TypeId14]: TypeId14,
11445
+ [TypeId13]: TypeId13,
11602
11446
  pipe() {
11603
11447
  return pipeArguments(this, arguments);
11604
11448
  },
@@ -11612,10 +11456,10 @@ var Proto7 = {
11612
11456
  return this.execute(make5(fullMethod)(url, options));
11613
11457
  }]))
11614
11458
  };
11615
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
11459
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
11616
11460
  const scopedController = scopedRequests.get(request);
11617
11461
  const controller = scopedController ?? new AbortController;
11618
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
11462
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
11619
11463
  if (isFailure(urlResult)) {
11620
11464
  return fail7(new HttpClientError({
11621
11465
  reason: new InvalidUrlError({
@@ -11749,8 +11593,8 @@ class InterruptibleResponse {
11749
11593
  this.original = original;
11750
11594
  this.controller = controller;
11751
11595
  }
11752
- [TypeId13] = TypeId13;
11753
11596
  [TypeId12] = TypeId12;
11597
+ [TypeId11] = TypeId11;
11754
11598
  applyInterrupt(effect) {
11755
11599
  return suspend3(() => {
11756
11600
  responseRegistry.unregister(this.original);
@@ -11848,7 +11692,7 @@ var detectStreamBodySupport = () => {
11848
11692
  return false;
11849
11693
  }
11850
11694
  };
11851
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
11695
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
11852
11696
  if (request.headers.upgrade !== undefined) {
11853
11697
  return fail7(new HttpClientError({
11854
11698
  reason: new TransportError({
@@ -11939,10 +11783,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
11939
11783
  });
11940
11784
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
11941
11785
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
11942
- var TypeId15 = "~effect/socket/Socket";
11786
+ var TypeId14 = "~effect/socket/Socket";
11943
11787
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
11944
- var make29 = (options) => Socket.of({
11945
- [TypeId15]: TypeId15,
11788
+ var make28 = (options) => Socket.of({
11789
+ [TypeId14]: TypeId14,
11946
11790
  reader: options.reader,
11947
11791
  writer: options.writer
11948
11792
  });
@@ -12265,7 +12109,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
12265
12109
  write,
12266
12110
  writeAll
12267
12111
  });
12268
- return succeed6(make29({
12112
+ return succeed6(make28({
12269
12113
  reader,
12270
12114
  writer
12271
12115
  }));
@@ -15600,7 +15444,7 @@ function getStreamSchemas(schema) {
15600
15444
  }
15601
15445
  var schema = /* @__PURE__ */ declare(isStream);
15602
15446
  function Stream(success, error) {
15603
- return make16(schema.ast, {
15447
+ return make17(schema.ast, {
15604
15448
  [StreamSchemaTypeId]: StreamSchemaTypeId,
15605
15449
  success,
15606
15450
  error
@@ -15608,9 +15452,9 @@ function Stream(success, error) {
15608
15452
  }
15609
15453
 
15610
15454
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
15611
- var TypeId16 = "~effect/rpc/Rpc";
15455
+ var TypeId15 = "~effect/rpc/Rpc";
15612
15456
  var Proto8 = {
15613
- [TypeId16]: TypeId16,
15457
+ [TypeId15]: TypeId15,
15614
15458
  pipe() {
15615
15459
  return pipeArguments(this, arguments);
15616
15460
  },
@@ -15777,7 +15621,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
15777
15621
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
15778
15622
 
15779
15623
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
15780
- var TypeId17 = "~effect/rpc/RpcClientError";
15624
+ var TypeId16 = "~effect/rpc/RpcClientError";
15781
15625
 
15782
15626
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
15783
15627
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -15786,11 +15630,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
15786
15630
  })) {
15787
15631
  }
15788
15632
 
15789
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
15633
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
15790
15634
  _tag: /* @__PURE__ */ tag("RpcClientError"),
15791
15635
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
15792
15636
  })) {
15793
- [TypeId17] = TypeId17;
15637
+ [TypeId16] = TypeId16;
15794
15638
  get message() {
15795
15639
  return `${this.reason._tag}: ${this.reason.message}`;
15796
15640
  }
@@ -15910,7 +15754,7 @@ var RpcGroupProto = {
15910
15754
  });
15911
15755
  },
15912
15756
  annotateRpcs(service, value) {
15913
- return this.annotateRpcsMerge(make14(service, value));
15757
+ return this.annotateRpcsMerge(make15(service, value));
15914
15758
  },
15915
15759
  annotateMerge(context) {
15916
15760
  return makeProto2({
@@ -15938,7 +15782,7 @@ var make7 = (...rpcs) => makeProto2({
15938
15782
  annotations: empty3()
15939
15783
  });
15940
15784
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
15941
- var TypeId18 = "~effect/rpc/RpcMiddleware";
15785
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
15942
15786
  var Service = () => (id, options) => {
15943
15787
  const limit = getStackTraceLimit();
15944
15788
  let creationError;
@@ -15956,7 +15800,7 @@ var Service = () => (id, options) => {
15956
15800
  return creationError?.stack;
15957
15801
  }
15958
15802
  });
15959
- ServiceClass_[TypeId18] = TypeId18;
15803
+ ServiceClass_[TypeId17] = TypeId17;
15960
15804
  ServiceClass_.error = options?.error ?? Never;
15961
15805
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
15962
15806
  return ServiceClass;
@@ -16702,7 +16546,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
16702
16546
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
16703
16547
 
16704
16548
  // apps/cli/src/oauth.ts
16705
- var Scope2 = "openid profile email offline_access kitman:cli";
16549
+ var Scope = "openid profile email offline_access kitman:cli";
16706
16550
  var CallbackPath = "/auth/callback";
16707
16551
 
16708
16552
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -16721,7 +16565,7 @@ function buildAuthorizeUrl(input) {
16721
16565
  url.searchParams.set("response_type", "code");
16722
16566
  url.searchParams.set("client_id", input.clientId);
16723
16567
  url.searchParams.set("redirect_uri", input.redirectUri);
16724
- url.searchParams.set("scope", Scope2);
16568
+ url.searchParams.set("scope", Scope);
16725
16569
  url.searchParams.set("code_challenge", input.codeChallenge);
16726
16570
  url.searchParams.set("code_challenge_method", "S256");
16727
16571
  url.searchParams.set("state", input.state);
@@ -16781,7 +16625,7 @@ function toStoredSession(token, existingRefreshToken) {
16781
16625
  }
16782
16626
  function startLoopbackServer(input) {
16783
16627
  return gen(function* () {
16784
- const code = yield* make15();
16628
+ const code = yield* make16();
16785
16629
  const context2 = yield* context();
16786
16630
  const runSyncExit = runSyncExitWith(context2);
16787
16631
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17329,7 +17173,7 @@ var openConnection = (transport) => gen(function* () {
17329
17173
  let lastId = 0;
17330
17174
  let lost = false;
17331
17175
  const notifications = yield* unbounded2();
17332
- const ended = yield* make15();
17176
+ const ended = yield* make16();
17333
17177
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17334
17178
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17335
17179
  onNone: () => void_3,
@@ -17356,7 +17200,7 @@ var openConnection = (transport) => gen(function* () {
17356
17200
  if (lost)
17357
17201
  return yield* new HerdrCoreConnectionLost2({ method });
17358
17202
  const id = ++lastId;
17359
- const deferred = yield* make15();
17203
+ const deferred = yield* make16();
17360
17204
  pending.set(id, { method, deferred });
17361
17205
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17362
17206
  return yield* _await(deferred);
@@ -17430,7 +17274,7 @@ var herdrCoreOver = (transport) => ({
17430
17274
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17431
17275
  };
17432
17276
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17433
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17277
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17434
17278
  }))
17435
17279
  });
17436
17280
  var spawnedTransport = (env) => gen(function* () {
@@ -17521,7 +17365,7 @@ var runProcess2 = (argv, options) => gen(function* () {
17521
17365
  const spawner = yield* ChildProcessSpawner;
17522
17366
  const [command, ...args] = argv;
17523
17367
  const handle = yield* spawner.spawn(make3(command, args, {
17524
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17368
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17525
17369
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17526
17370
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17527
17371
  }));