@kitman-sh/cli 0.42.2 → 0.43.0

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-q6qn9c47.js → chunk-0qfaf9h3.js} +111 -266
  2. package/dist/{chunk-gqgbah9q.js → chunk-27e7m975.js} +6 -6
  3. package/dist/{chunk-3gax0xq6.js → chunk-6x08g7m6.js} +2 -2
  4. package/dist/{chunk-sbk4evb4.js → chunk-7ygg19wj.js} +3 -3
  5. package/dist/{chunk-wre79w3z.js → chunk-8b02x7vv.js} +1 -1
  6. package/dist/{chunk-re7cr0kk.js → chunk-91tvnb8f.js} +8 -8
  7. package/dist/{chunk-tpmyf5mk.js → chunk-98azvx6g.js} +1 -1
  8. package/dist/{chunk-17715h5w.js → chunk-b2btevxm.js} +34 -34
  9. package/dist/{chunk-y6mjtq6n.js → chunk-bbq7q5r6.js} +8 -8
  10. package/dist/{chunk-b4td2pgc.js → chunk-bqbfyqx6.js} +61 -61
  11. package/dist/{chunk-33zd0yt4.js → chunk-bqebfc06.js} +17 -17
  12. package/dist/{chunk-2bt9e1fj.js → chunk-cnryphhh.js} +5 -5
  13. package/dist/{chunk-hfy8nmat.js → chunk-d4vhrja4.js} +3 -3
  14. package/dist/{chunk-qndcafax.js → chunk-ea29sbaq.js} +1 -1
  15. package/dist/{chunk-sasjamqz.js → chunk-etrfc5cn.js} +178 -29
  16. package/dist/{chunk-vjkgbsry.js → chunk-fbddgx6q.js} +4 -4
  17. package/dist/{chunk-t8y2y7ha.js → chunk-fekh3jwz.js} +1 -1
  18. package/dist/{chunk-r5b36fgg.js → chunk-hgvft7vy.js} +4 -4
  19. package/dist/{chunk-rc4wvjf2.js → chunk-jq5h43a4.js} +43 -24
  20. package/dist/{chunk-1w517sym.js → chunk-jvwjreb0.js} +7 -7
  21. package/dist/{chunk-drw8m50d.js → chunk-ns26fbmk.js} +2 -2
  22. package/dist/{chunk-hg9y4ykj.js → chunk-qqc567gx.js} +4 -4
  23. package/dist/{chunk-c3ms91a6.js → chunk-qxpwkb5f.js} +18 -18
  24. package/dist/{chunk-1gr39h4v.js → chunk-rbt72xjw.js} +2 -2
  25. package/dist/{chunk-mc0xxx2z.js → chunk-wv8kt4rb.js} +6 -6
  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,17 +262,13 @@ import {
274
262
  decodeJsonStringOption,
275
263
  encodeJsonStringSync,
276
264
  encodePrettyJsonString
277
- } from "./chunk-b4td2pgc.js";
265
+ } from "./chunk-bqbfyqx6.js";
278
266
  import {
279
267
  map,
280
268
  makeEquivalence,
281
269
  Clock,
282
270
  currentTimeMillis,
283
271
  bytes,
284
- join,
285
- interrupt,
286
- getCurrent,
287
- runIn,
288
272
  BadArgument,
289
273
  systemError,
290
274
  badArgument,
@@ -306,11 +290,13 @@ import {
306
290
  isSink,
307
291
  fromChannel,
308
292
  drain,
293
+ make10,
294
+ get3,
309
295
  isStream,
310
296
  fromChannel2,
311
297
  callback,
312
298
  empty2,
313
- make10,
299
+ make11,
314
300
  suspend,
315
301
  fail2,
316
302
  fromQueue,
@@ -336,17 +322,17 @@ import {
336
322
  mkArrayBuffer,
337
323
  toReadableStreamEffect,
338
324
  FileSystem,
339
- make11,
325
+ make12,
340
326
  FileTypeId,
341
327
  WatchBackend,
342
328
  Path,
343
- make12,
329
+ make13,
344
330
  option,
345
331
  String2,
346
332
  optionalEnv,
347
333
  harnessesUnsupportedInSrt2,
348
334
  harnessesUnsupportedInDocker2
349
- } from "./chunk-sasjamqz.js";
335
+ } from "./chunk-etrfc5cn.js";
350
336
  import {
351
337
  isRedacted,
352
338
  make,
@@ -360,7 +346,7 @@ import {
360
346
  make3,
361
347
  parseFdName,
362
348
  fdName
363
- } from "./chunk-3gax0xq6.js";
349
+ } from "./chunk-6x08g7m6.js";
364
350
  import {
365
351
  isDateTime,
366
352
  Numeric,
@@ -373,7 +359,7 @@ import {
373
359
  SecretScope,
374
360
  SecretHosts,
375
361
  isSecretReference
376
- } from "./chunk-qndcafax.js";
362
+ } from "./chunk-ea29sbaq.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));
@@ -8538,7 +8382,8 @@ var RunnerCapabilities = Struct({
8538
8382
  });
8539
8383
  var MaxRunnerConcurrency = 32;
8540
8384
  var DefaultVerificationConcurrency = MaxRunnerConcurrency;
8541
- var verificationCap = (settings) => Math.min(settings.concurrency, settings.verificationConcurrency);
8385
+ var autoVerificationConcurrency = (cores) => Math.max(1, Math.ceil(cores / 3));
8386
+ var verificationCap = (settings, cores) => Math.min(settings.concurrency, settings.verificationConcurrency === DefaultVerificationConcurrency && cores !== undefined ? autoVerificationConcurrency(cores) : settings.verificationConcurrency);
8542
8387
  var PinnedImage = String4.check(isMaxLength(500), isPattern(new RegExp("^[^\\s@]+@sha256:[a-f0-9]{64}$", "u")));
8543
8388
  var RunnerSettings = Struct({
8544
8389
  concurrency: Int.check(isGreaterThanOrEqualTo(1), isLessThanOrEqualTo(MaxRunnerConcurrency)),
@@ -10995,11 +10840,11 @@ var TranscriptSearchResult = Struct({
10995
10840
  total: Int
10996
10841
  });
10997
10842
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
10998
- var TypeId9 = "~effect/http/HttpBody";
10843
+ var TypeId8 = "~effect/http/HttpBody";
10999
10844
  class Proto5 {
11000
- [TypeId9];
10845
+ [TypeId8];
11001
10846
  constructor() {
11002
- this[TypeId9] = TypeId9;
10847
+ this[TypeId8] = TypeId8;
11003
10848
  }
11004
10849
  [NodeInspectSymbol]() {
11005
10850
  return this.toJSON();
@@ -11090,7 +10935,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
11090
10935
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
11091
10936
 
11092
10937
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
11093
- var TypeId10 = "~effect/http/HttpClientError";
10938
+ var TypeId9 = "~effect/http/HttpClientError";
11094
10939
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
11095
10940
  constructor(props) {
11096
10941
  if ("cause" in props.reason) {
@@ -11102,7 +10947,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
11102
10947
  super(props);
11103
10948
  }
11104
10949
  }
11105
- [TypeId10] = TypeId10;
10950
+ [TypeId9] = TypeId9;
11106
10951
  get request() {
11107
10952
  return this.reason.request;
11108
10953
  }
@@ -11206,7 +11051,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
11206
11051
  }
11207
11052
  }
11208
11053
 
11209
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
11054
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
11210
11055
  _tag: /* @__PURE__ */ tag("HttpError"),
11211
11056
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
11212
11057
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -11239,7 +11084,7 @@ var updateContentLength = (headers, body) => {
11239
11084
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
11240
11085
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
11241
11086
  }
11242
- var make27 = (url, params, hash) => try_({
11087
+ var make26 = (url, params, hash) => try_({
11243
11088
  try: () => {
11244
11089
  const urlInstance = new URL(url, baseUrl());
11245
11090
  for (let i = 0;i < params.params.length; i++) {
@@ -11270,10 +11115,10 @@ var baseUrl = () => {
11270
11115
  };
11271
11116
 
11272
11117
  // 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);
11118
+ var TypeId10 = "~effect/http/HttpClientRequest";
11119
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
11275
11120
  var Proto6 = {
11276
- [TypeId11]: TypeId11,
11121
+ [TypeId10]: TypeId10,
11277
11122
  ...BaseProto,
11278
11123
  toJSON() {
11279
11124
  return {
@@ -11362,7 +11207,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
11362
11207
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
11363
11208
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
11364
11209
  function toUrl(self) {
11365
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
11210
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
11366
11211
  if (isSuccess(r)) {
11367
11212
  return some(r.success);
11368
11213
  }
@@ -11370,7 +11215,7 @@ function toUrl(self) {
11370
11215
  }
11371
11216
 
11372
11217
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
11373
- var TypeId12 = "~effect/http/HttpIncomingMessage";
11218
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
11374
11219
  var schemaBodyJson = (schema, options) => {
11375
11220
  const decode = decodeEffect(toCodecJson(schema));
11376
11221
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -11389,7 +11234,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
11389
11234
  var getWebSource = (self) => self[WebSourceSymbol]?.();
11390
11235
 
11391
11236
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
11392
- var TypeId13 = "~effect/http/HttpClientResponse";
11237
+ var TypeId12 = "~effect/http/HttpClientResponse";
11393
11238
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
11394
11239
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
11395
11240
  reason: new StatusCodeError({
@@ -11400,16 +11245,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
11400
11245
  }));
11401
11246
 
11402
11247
  class WebHttpClientResponse extends Class {
11248
+ [TypeId11];
11403
11249
  [TypeId12];
11404
- [TypeId13];
11405
11250
  request;
11406
11251
  source;
11407
11252
  constructor(request, source) {
11408
11253
  super();
11409
11254
  this.request = request;
11410
11255
  this.source = source;
11256
+ this[TypeId11] = TypeId11;
11411
11257
  this[TypeId12] = TypeId12;
11412
- this[TypeId13] = TypeId13;
11413
11258
  }
11414
11259
  toJSON() {
11415
11260
  return inspect(this, {
@@ -11581,7 +11426,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
11581
11426
  };
11582
11427
 
11583
11428
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
11584
- var TypeId14 = "~effect/http/HttpClient";
11429
+ var TypeId13 = "~effect/http/HttpClient";
11585
11430
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
11586
11431
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
11587
11432
  var execute = /* @__PURE__ */ accessor("execute");
@@ -11598,7 +11443,7 @@ var makeWith2 = (postprocess, preprocess) => {
11598
11443
  return self;
11599
11444
  };
11600
11445
  var Proto7 = {
11601
- [TypeId14]: TypeId14,
11446
+ [TypeId13]: TypeId13,
11602
11447
  pipe() {
11603
11448
  return pipeArguments(this, arguments);
11604
11449
  },
@@ -11612,10 +11457,10 @@ var Proto7 = {
11612
11457
  return this.execute(make5(fullMethod)(url, options));
11613
11458
  }]))
11614
11459
  };
11615
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
11460
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
11616
11461
  const scopedController = scopedRequests.get(request);
11617
11462
  const controller = scopedController ?? new AbortController;
11618
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
11463
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
11619
11464
  if (isFailure(urlResult)) {
11620
11465
  return fail7(new HttpClientError({
11621
11466
  reason: new InvalidUrlError({
@@ -11749,8 +11594,8 @@ class InterruptibleResponse {
11749
11594
  this.original = original;
11750
11595
  this.controller = controller;
11751
11596
  }
11752
- [TypeId13] = TypeId13;
11753
11597
  [TypeId12] = TypeId12;
11598
+ [TypeId11] = TypeId11;
11754
11599
  applyInterrupt(effect) {
11755
11600
  return suspend3(() => {
11756
11601
  responseRegistry.unregister(this.original);
@@ -11848,7 +11693,7 @@ var detectStreamBodySupport = () => {
11848
11693
  return false;
11849
11694
  }
11850
11695
  };
11851
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
11696
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
11852
11697
  if (request.headers.upgrade !== undefined) {
11853
11698
  return fail7(new HttpClientError({
11854
11699
  reason: new TransportError({
@@ -11939,10 +11784,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
11939
11784
  });
11940
11785
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
11941
11786
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
11942
- var TypeId15 = "~effect/socket/Socket";
11787
+ var TypeId14 = "~effect/socket/Socket";
11943
11788
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
11944
- var make29 = (options) => Socket.of({
11945
- [TypeId15]: TypeId15,
11789
+ var make28 = (options) => Socket.of({
11790
+ [TypeId14]: TypeId14,
11946
11791
  reader: options.reader,
11947
11792
  writer: options.writer
11948
11793
  });
@@ -12265,7 +12110,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
12265
12110
  write,
12266
12111
  writeAll
12267
12112
  });
12268
- return succeed6(make29({
12113
+ return succeed6(make28({
12269
12114
  reader,
12270
12115
  writer
12271
12116
  }));
@@ -15600,7 +15445,7 @@ function getStreamSchemas(schema) {
15600
15445
  }
15601
15446
  var schema = /* @__PURE__ */ declare(isStream);
15602
15447
  function Stream(success, error) {
15603
- return make16(schema.ast, {
15448
+ return make17(schema.ast, {
15604
15449
  [StreamSchemaTypeId]: StreamSchemaTypeId,
15605
15450
  success,
15606
15451
  error
@@ -15608,9 +15453,9 @@ function Stream(success, error) {
15608
15453
  }
15609
15454
 
15610
15455
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
15611
- var TypeId16 = "~effect/rpc/Rpc";
15456
+ var TypeId15 = "~effect/rpc/Rpc";
15612
15457
  var Proto8 = {
15613
- [TypeId16]: TypeId16,
15458
+ [TypeId15]: TypeId15,
15614
15459
  pipe() {
15615
15460
  return pipeArguments(this, arguments);
15616
15461
  },
@@ -15777,7 +15622,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
15777
15622
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
15778
15623
 
15779
15624
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
15780
- var TypeId17 = "~effect/rpc/RpcClientError";
15625
+ var TypeId16 = "~effect/rpc/RpcClientError";
15781
15626
 
15782
15627
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
15783
15628
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -15786,11 +15631,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
15786
15631
  })) {
15787
15632
  }
15788
15633
 
15789
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
15634
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
15790
15635
  _tag: /* @__PURE__ */ tag("RpcClientError"),
15791
15636
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
15792
15637
  })) {
15793
- [TypeId17] = TypeId17;
15638
+ [TypeId16] = TypeId16;
15794
15639
  get message() {
15795
15640
  return `${this.reason._tag}: ${this.reason.message}`;
15796
15641
  }
@@ -15910,7 +15755,7 @@ var RpcGroupProto = {
15910
15755
  });
15911
15756
  },
15912
15757
  annotateRpcs(service, value) {
15913
- return this.annotateRpcsMerge(make14(service, value));
15758
+ return this.annotateRpcsMerge(make15(service, value));
15914
15759
  },
15915
15760
  annotateMerge(context) {
15916
15761
  return makeProto2({
@@ -15938,7 +15783,7 @@ var make7 = (...rpcs) => makeProto2({
15938
15783
  annotations: empty3()
15939
15784
  });
15940
15785
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
15941
- var TypeId18 = "~effect/rpc/RpcMiddleware";
15786
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
15942
15787
  var Service = () => (id, options) => {
15943
15788
  const limit = getStackTraceLimit();
15944
15789
  let creationError;
@@ -15956,7 +15801,7 @@ var Service = () => (id, options) => {
15956
15801
  return creationError?.stack;
15957
15802
  }
15958
15803
  });
15959
- ServiceClass_[TypeId18] = TypeId18;
15804
+ ServiceClass_[TypeId17] = TypeId17;
15960
15805
  ServiceClass_.error = options?.error ?? Never;
15961
15806
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
15962
15807
  return ServiceClass;
@@ -16702,7 +16547,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
16702
16547
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
16703
16548
 
16704
16549
  // apps/cli/src/oauth.ts
16705
- var Scope2 = "openid profile email offline_access kitman:cli";
16550
+ var Scope = "openid profile email offline_access kitman:cli";
16706
16551
  var CallbackPath = "/auth/callback";
16707
16552
 
16708
16553
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -16721,7 +16566,7 @@ function buildAuthorizeUrl(input) {
16721
16566
  url.searchParams.set("response_type", "code");
16722
16567
  url.searchParams.set("client_id", input.clientId);
16723
16568
  url.searchParams.set("redirect_uri", input.redirectUri);
16724
- url.searchParams.set("scope", Scope2);
16569
+ url.searchParams.set("scope", Scope);
16725
16570
  url.searchParams.set("code_challenge", input.codeChallenge);
16726
16571
  url.searchParams.set("code_challenge_method", "S256");
16727
16572
  url.searchParams.set("state", input.state);
@@ -16781,7 +16626,7 @@ function toStoredSession(token, existingRefreshToken) {
16781
16626
  }
16782
16627
  function startLoopbackServer(input) {
16783
16628
  return gen(function* () {
16784
- const code = yield* make15();
16629
+ const code = yield* make16();
16785
16630
  const context2 = yield* context();
16786
16631
  const runSyncExit = runSyncExitWith(context2);
16787
16632
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -17329,7 +17174,7 @@ var openConnection = (transport) => gen(function* () {
17329
17174
  let lastId = 0;
17330
17175
  let lost = false;
17331
17176
  const notifications = yield* unbounded2();
17332
- const ended = yield* make15();
17177
+ const ended = yield* make16();
17333
17178
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
17334
17179
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
17335
17180
  onNone: () => void_3,
@@ -17356,7 +17201,7 @@ var openConnection = (transport) => gen(function* () {
17356
17201
  if (lost)
17357
17202
  return yield* new HerdrCoreConnectionLost2({ method });
17358
17203
  const id = ++lastId;
17359
- const deferred = yield* make15();
17204
+ const deferred = yield* make16();
17360
17205
  pending.set(id, { method, deferred });
17361
17206
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
17362
17207
  return yield* _await(deferred);
@@ -17430,7 +17275,7 @@ var herdrCoreOver = (transport) => ({
17430
17275
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
17431
17276
  };
17432
17277
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
17433
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17278
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
17434
17279
  }))
17435
17280
  });
17436
17281
  var spawnedTransport = (env) => gen(function* () {
@@ -17521,7 +17366,7 @@ var runProcess2 = (argv, options) => gen(function* () {
17521
17366
  const spawner = yield* ChildProcessSpawner;
17522
17367
  const [command, ...args] = argv;
17523
17368
  const handle = yield* spawner.spawn(make3(command, args, {
17524
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
17369
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
17525
17370
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
17526
17371
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
17527
17372
  }));