@kitman-sh/cli 0.14.3 → 0.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-bbf0jzsc.js → chunk-0kreahhj.js} +1 -1
  2. package/dist/{chunk-91j33xf2.js → chunk-4yvafzhp.js} +6 -6
  3. package/dist/{chunk-ctpgfdzf.js → chunk-5c4tn29r.js} +3 -3
  4. package/dist/{chunk-3f6mzrm7.js → chunk-6zwwrpve.js} +1 -1
  5. package/dist/{chunk-my9vcmfw.js → chunk-af3m4nhz.js} +44 -30
  6. package/dist/{chunk-a4mkjaxa.js → chunk-c6fanp7r.js} +6 -6
  7. package/dist/{chunk-7q3t3x0x.js → chunk-dz7qcbpp.js} +6 -6
  8. package/dist/{chunk-zpp4jg4a.js → chunk-ec01eq70.js} +215 -71
  9. package/dist/{chunk-rvnem2bt.js → chunk-kg32dz1w.js} +4 -4
  10. package/dist/{chunk-zxmx605h.js → chunk-me1zn085.js} +2 -2
  11. package/dist/{chunk-7v1n7a6k.js → chunk-nmw831xh.js} +4 -4
  12. package/dist/{chunk-y0y2gg8d.js → chunk-p9wzycsm.js} +2 -2
  13. package/dist/{chunk-9anvghq2.js → chunk-pcyscxe1.js} +2 -2
  14. package/dist/{chunk-hasfatd4.js → chunk-pvv8y59t.js} +5 -5
  15. package/dist/{chunk-65dpe0ev.js → chunk-q1y9qjjp.js} +5 -3
  16. package/dist/{chunk-34748vfg.js → chunk-qd9bkybz.js} +123 -288
  17. package/dist/{chunk-f96vy2h9.js → chunk-qnb3a82t.js} +4 -4
  18. package/dist/{chunk-44kx62t6.js → chunk-ra22g5nv.js} +7 -7
  19. package/dist/{chunk-tebzffha.js → chunk-rx2cg7rn.js} +17 -17
  20. package/dist/{chunk-2w9a76nr.js → chunk-tnrmd4hz.js} +178 -163
  21. package/dist/{chunk-er9n65mh.js → chunk-v26jmjr0.js} +9 -9
  22. package/dist/{chunk-daem5h1c.js → chunk-wvhm5fgh.js} +14 -14
  23. package/dist/{chunk-dhtx14r5.js → chunk-x2jjnfff.js} +3 -3
  24. package/dist/{chunk-9avbsbvk.js → chunk-yv2mq2e9.js} +6 -1
  25. package/dist/{chunk-rgrpvnwg.js → chunk-zv1sshtj.js} +22 -22
  26. package/dist/index.js +4 -4
  27. 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,
@@ -91,11 +89,9 @@ import {
91
89
  ConsoleRef,
92
90
  succeed3,
93
91
  fail4,
94
- void_2,
95
92
  isSuccess2,
96
- isFailure2,
97
93
  makeUnsafe5,
98
- make15,
94
+ make16,
99
95
  _await,
100
96
  fail5,
101
97
  isDone,
@@ -103,12 +99,8 @@ import {
103
99
  succeed4,
104
100
  doneUnsafe,
105
101
  TracerTimingEnabled,
106
- Scope,
107
- makeUnsafe6,
108
102
  provide,
109
- addFinalizerExit,
110
103
  addFinalizer,
111
- close,
112
104
  succeed5,
113
105
  effect,
114
106
  effectContext,
@@ -160,7 +152,6 @@ import {
160
152
  tapCause,
161
153
  retry,
162
154
  ignore,
163
- ignoreCause,
164
155
  orElseSucceed,
165
156
  timeout,
166
157
  timeoutOrElse,
@@ -172,7 +163,6 @@ import {
172
163
  context,
173
164
  contextWith,
174
165
  provide3,
175
- provideContext2,
176
166
  serviceOption,
177
167
  updateContext,
178
168
  provideService,
@@ -183,7 +173,6 @@ import {
183
173
  addFinalizer2,
184
174
  ensuring2,
185
175
  onError,
186
- onExit,
187
176
  cached,
188
177
  interrupt3,
189
178
  interruptible,
@@ -195,7 +184,6 @@ import {
195
184
  withParentSpan,
196
185
  forkScoped,
197
186
  runFork,
198
- runForkWith,
199
187
  runPromise,
200
188
  runPromiseWith,
201
189
  runSync,
@@ -205,6 +193,8 @@ import {
205
193
  clockWith,
206
194
  logError,
207
195
  effectify,
196
+ toNumber,
197
+ bytes,
208
198
  decode,
209
199
  defaultParseOptions,
210
200
  omit,
@@ -215,7 +205,7 @@ import {
215
205
  decodeEffect,
216
206
  decodeUnknownOption,
217
207
  decodeOption,
218
- make16,
208
+ make17,
219
209
  isSchema,
220
210
  optionalKey,
221
211
  optional,
@@ -275,15 +265,10 @@ import {
275
265
  decodeJsonStringOption,
276
266
  encodeJsonStringSync,
277
267
  encodePrettyJsonString
278
- } from "./chunk-zpp4jg4a.js";
268
+ } from "./chunk-ec01eq70.js";
279
269
  import {
280
270
  map,
281
271
  makeEquivalence,
282
- bytes,
283
- join,
284
- interrupt,
285
- getCurrent,
286
- runIn,
287
272
  BadArgument,
288
273
  systemError,
289
274
  badArgument,
@@ -305,11 +290,13 @@ import {
305
290
  isSink,
306
291
  fromChannel,
307
292
  drain,
293
+ make10,
294
+ get3,
308
295
  isStream,
309
296
  fromChannel2,
310
297
  callback,
311
298
  empty2,
312
- make10,
299
+ make11,
313
300
  suspend,
314
301
  fail2,
315
302
  fromQueue,
@@ -335,16 +322,29 @@ import {
335
322
  mkArrayBuffer,
336
323
  toReadableStreamEffect,
337
324
  FileSystem,
338
- make11,
325
+ make12,
339
326
  FileTypeId,
340
327
  WatchBackend,
341
328
  Path,
342
- make12,
329
+ make13,
343
330
  option,
344
331
  String2,
345
332
  optionalEnv,
346
333
  harnessesUnsupportedInSrt2
347
- } from "./chunk-2w9a76nr.js";
334
+ } from "./chunk-tnrmd4hz.js";
335
+ import {
336
+ isDateTime,
337
+ Numeric,
338
+ isWholeNumber,
339
+ guard,
340
+ Id,
341
+ Timestamp,
342
+ ActorType,
343
+ SecretName,
344
+ SecretScope,
345
+ SecretHosts,
346
+ isSecretReference
347
+ } from "./chunk-yv2mq2e9.js";
348
348
  import {
349
349
  isRedacted,
350
350
  make,
@@ -358,21 +358,7 @@ import {
358
358
  make3,
359
359
  parseFdName,
360
360
  fdName
361
- } from "./chunk-zxmx605h.js";
362
- import {
363
- isDateTime,
364
- Numeric,
365
- isWholeNumber,
366
- guard,
367
- Id,
368
- Timestamp,
369
- ActorType,
370
- SecretName,
371
- SecretScope,
372
- SecretHosts,
373
- isSecretReference
374
- } from "./chunk-9avbsbvk.js";
375
-
361
+ } from "./chunk-me1zn085.js";
376
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
377
363
  var makeEquivalence3 = Tuple;
378
364
 
@@ -514,7 +500,7 @@ var fromDateUnsafe = (date) => {
514
500
  }
515
501
  return makeUtc(epochMillis);
516
502
  };
517
- var makeUnsafe7 = (input) => {
503
+ var makeUnsafe6 = (input) => {
518
504
  if (isDateTime2(input)) {
519
505
  return input;
520
506
  } else if (input instanceof Date) {
@@ -534,7 +520,7 @@ var makeUnsafe7 = (input) => {
534
520
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
535
521
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
536
522
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
537
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
523
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
538
524
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
539
525
  var nowUnsafe = () => makeUtc(Date.now());
540
526
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -641,7 +627,7 @@ class Metric$ {
641
627
  }
642
628
  hook(context) {
643
629
  const key = this.key(context);
644
- const registry = get3(context, MetricRegistry);
630
+ const registry = get4(context, MetricRegistry);
645
631
  let metadata = registry.get(key);
646
632
  if (isUndefined(metadata)) {
647
633
  metadata = this.metadata(this.createHooks());
@@ -650,11 +636,11 @@ class Metric$ {
650
636
  return metadata.hooks;
651
637
  }
652
638
  removeUnsafe(context) {
653
- get3(context, MetricRegistry).delete(this.key(context));
639
+ get4(context, MetricRegistry).delete(this.key(context));
654
640
  }
655
641
  registerUnsafe(context, hooks) {
656
642
  const key = this.key(context);
657
- const registry = get3(context, MetricRegistry);
643
+ const registry = get4(context, MetricRegistry);
658
644
  const metadata = this.metadata({
659
645
  get: hooks.get,
660
646
  update: constVoid,
@@ -670,7 +656,7 @@ class Metric$ {
670
656
  };
671
657
  }
672
658
  key(context) {
673
- const extraAttributes = get3(context, CurrentMetricAttributes);
659
+ const extraAttributes = get4(context, CurrentMetricAttributes);
674
660
  if (extraAttributes !== this.#extraAttributes) {
675
661
  this.#extraAttributes = extraAttributes;
676
662
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -913,160 +899,9 @@ var runMain2 = /* @__PURE__ */ makeRunMain(({
913
899
  // node_modules/.bun/@effect+platform-bun@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-bun/dist/BunRuntime.js
914
900
  var runMain = runMain2;
915
901
 
916
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
917
- var BigInt2 = globalThis.BigInt;
918
- var toNumber = (b) => {
919
- if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
920
- return none();
921
- }
922
- return some(Number(b));
923
- };
924
-
925
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
926
- var TypeId3 = "~effect/RcRef";
927
- var stateEmpty = {
928
- _tag: "Empty"
929
- };
930
- var stateClosed = {
931
- _tag: "Closed"
932
- };
933
- var variance = {
934
- _A: identity,
935
- _E: identity
936
- };
937
-
938
- class RcRefImpl {
939
- [TypeId3] = variance;
940
- pipe() {
941
- return pipeArguments(this, arguments);
942
- }
943
- state = stateEmpty;
944
- acquire;
945
- context;
946
- scope;
947
- idleTimeToLive;
948
- constructor(acquire, context, scope, idleTimeToLive) {
949
- this.acquire = acquire;
950
- this.context = context;
951
- this.scope = scope;
952
- this.idleTimeToLive = idleTimeToLive;
953
- }
954
- }
955
- var make17 = (options) => withFiber2((fiber) => {
956
- const context = fiber.context;
957
- const scope = get3(context, Scope);
958
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
959
- return as(addFinalizerExit(scope, () => {
960
- const state = ref.state;
961
- ref.state = stateClosed;
962
- if (state._tag === "Acquired")
963
- return close(state.scope, void_2);
964
- if (state._tag === "Acquiring")
965
- return interrupt(state.fiber);
966
- return void_3;
967
- }), ref);
968
- });
969
- var getState = (self, restore) => {
970
- switch (self.state._tag) {
971
- case "Closed": {
972
- return interrupt3;
973
- }
974
- case "Acquired": {
975
- const state = self.state;
976
- state.refCount++;
977
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
978
- }
979
- case "Acquiring": {
980
- const state = self.state;
981
- state.awaiters++;
982
- return awaitAcquiring(self, state, restore);
983
- }
984
- case "Empty": {
985
- const acquiring = {
986
- _tag: "Acquiring",
987
- fiber: undefined,
988
- awaiters: 1,
989
- acquired: undefined
990
- };
991
- self.state = acquiring;
992
- const scope = makeUnsafe6();
993
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
994
- if (self.state !== acquiring) {
995
- return interrupt3;
996
- }
997
- const state = {
998
- _tag: "Acquired",
999
- value,
1000
- scope,
1001
- fiber: undefined,
1002
- refCount: acquiring.awaiters,
1003
- invalidated: false
1004
- };
1005
- self.state = state;
1006
- acquiring.acquired = state;
1007
- return succeed6(state);
1008
- }), onExit((exit) => {
1009
- if (isSuccess2(exit))
1010
- return void_3;
1011
- if (self.state === acquiring)
1012
- self.state = stateEmpty;
1013
- return close(scope, exit);
1014
- }));
1015
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1016
- return awaitAcquiring(self, acquiring, restore);
1017
- }
1018
- }
1019
- };
1020
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1021
- const acquired = acquiring.acquired;
1022
- if (acquired !== undefined) {
1023
- return isFailure2(exit) ? release(self, acquired) : void_3;
1024
- }
1025
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1026
- return void_3;
1027
- self.state = stateEmpty;
1028
- return interrupt(acquiring.fiber);
1029
- });
1030
- var get4 = (self_) => {
1031
- const self = self_;
1032
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1033
- };
1034
- var release = (self, state) => {
1035
- state.refCount--;
1036
- if (state.refCount > 0) {
1037
- return void_3;
1038
- }
1039
- const idleTimeToLive = self.idleTimeToLive;
1040
- if (idleTimeToLive === undefined || state.invalidated) {
1041
- if (self.state === state) {
1042
- self.state = stateEmpty;
1043
- }
1044
- return close(state.scope, void_2);
1045
- } else if (!isFinite(idleTimeToLive)) {
1046
- return void_3;
1047
- }
1048
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1049
- if (self.state === state && state.refCount === 0) {
1050
- self.state = stateEmpty;
1051
- return ignoreCause(close(state.scope, void_2), {
1052
- log: "Unhandled",
1053
- message: "Unhandled error in RcRef finalizer"
1054
- });
1055
- }
1056
- return void_3;
1057
- })).pipe(ensuring2(sync2(() => {
1058
- state.fiber = undefined;
1059
- })), runForkWith(self.context), runIn(self.scope));
1060
- return void_3;
1061
- };
1062
-
1063
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1064
- var make18 = make17;
1065
- var get5 = get4;
1066
-
1067
902
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1068
- var makeUnsafe = makeUnsafe7;
1069
- var make19 = make4;
903
+ var makeUnsafe = makeUnsafe6;
904
+ var make18 = make4;
1070
905
  var now2 = now;
1071
906
  var nowUnsafe2 = nowUnsafe;
1072
907
  var toDateUtc2 = toDateUtc;
@@ -1385,7 +1220,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1385
1220
  windowsHide: true
1386
1221
  }, onExit);
1387
1222
  };
1388
- var make20 = /* @__PURE__ */ gen(function* () {
1223
+ var make19 = /* @__PURE__ */ gen(function* () {
1389
1224
  const fs = yield* FileSystem;
1390
1225
  const path = yield* Path;
1391
1226
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1914,7 +1749,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1914
1749
  });
1915
1750
  return make2(spawnCommand);
1916
1751
  });
1917
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1752
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1918
1753
  var flattenCommand = (command) => {
1919
1754
  const commands = [];
1920
1755
  const pipeOptions = [];
@@ -2398,7 +2233,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2398
2233
  resume(fail7(handleBadArgument("writeFile")(err)));
2399
2234
  }
2400
2235
  });
2401
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2236
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2402
2237
  access: access2,
2403
2238
  chmod: chmod2,
2404
2239
  chown: chown2,
@@ -2458,15 +2293,15 @@ var fileUrlOps = (windows) => ({
2458
2293
  })
2459
2294
  })
2460
2295
  });
2461
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2296
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2462
2297
  ...NodePath.posix,
2463
2298
  .../* @__PURE__ */ fileUrlOps(false)
2464
2299
  }));
2465
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2300
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2466
2301
  ...NodePath.win32,
2467
2302
  .../* @__PURE__ */ fileUrlOps(true)
2468
2303
  }));
2469
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2304
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2470
2305
  ...NodePath,
2471
2306
  .../* @__PURE__ */ fileUrlOps(undefined)
2472
2307
  }));
@@ -2475,10 +2310,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2475
2310
  var layer2 = layer7;
2476
2311
 
2477
2312
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2478
- var TypeId4 = "~effect/Stdio";
2479
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2480
- var make21 = (options) => ({
2481
- [TypeId4]: TypeId4,
2313
+ var TypeId3 = "~effect/Stdio";
2314
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2315
+ var make20 = (options) => ({
2316
+ [TypeId3]: TypeId3,
2482
2317
  stdinIsTerminal: succeed6(false),
2483
2318
  stdoutIsTerminal: succeed6(false),
2484
2319
  stderrIsTerminal: succeed6(false),
@@ -2486,7 +2321,7 @@ var make21 = (options) => ({
2486
2321
  });
2487
2322
 
2488
2323
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2489
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2324
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2490
2325
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2491
2326
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2492
2327
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2686,7 +2521,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2686
2521
  const uuid = bytes(randomBytes(16));
2687
2522
  return format === "bytes" ? uuid : stringify(uuid);
2688
2523
  };
2689
- var make22 = (randomBytes) => {
2524
+ var make21 = (randomBytes) => {
2690
2525
  const randomBytesChecked = (size) => {
2691
2526
  checkSize(size);
2692
2527
  return randomBytes(size);
@@ -2720,13 +2555,13 @@ var fillRandom = (crypto2, size) => {
2720
2555
  }
2721
2556
  return bytes;
2722
2557
  };
2723
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2558
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2724
2559
 
2725
2560
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2726
- var TypeId5 = "~effect/http/Cookies";
2561
+ var TypeId4 = "~effect/http/Cookies";
2727
2562
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2728
2563
  var Proto2 = {
2729
- [TypeId5]: TypeId5,
2564
+ [TypeId4]: TypeId4,
2730
2565
  ...BaseProto,
2731
2566
  toJSON() {
2732
2567
  return {
@@ -2905,14 +2740,14 @@ var tryDecodeURIComponent = (str) => {
2905
2740
  };
2906
2741
 
2907
2742
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2908
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2743
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2909
2744
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2910
- [TypeId6]: {
2911
- value: TypeId6
2745
+ [TypeId5]: {
2746
+ value: TypeId5
2912
2747
  },
2913
2748
  [symbolRedactable]: {
2914
2749
  value(context) {
2915
- return redact2(this, get3(context, CurrentRedactedNames));
2750
+ return redact2(this, get4(context, CurrentRedactedNames));
2916
2751
  }
2917
2752
  },
2918
2753
  toJSON: {
@@ -2937,7 +2772,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2937
2772
  value: BaseProto[NodeInspectSymbol]
2938
2773
  }
2939
2774
  });
2940
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2775
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2941
2776
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2942
2777
  var empty = /* @__PURE__ */ Object.create(Proto3);
2943
2778
  var fromInput = (input) => {
@@ -2962,21 +2797,21 @@ var fromInput = (input) => {
2962
2797
  };
2963
2798
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2964
2799
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2965
- const out = make23(self);
2800
+ const out = make22(self);
2966
2801
  out[key.toLowerCase()] = value;
2967
2802
  return out;
2968
2803
  });
2969
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2804
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2970
2805
  ...self,
2971
2806
  ...fromInput(headers)
2972
2807
  }));
2973
2808
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2974
- const out = make23(self);
2809
+ const out = make22(self);
2975
2810
  Object.assign(out, headers);
2976
2811
  return out;
2977
2812
  });
2978
2813
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2979
- const out = make23(self);
2814
+ const out = make22(self);
2980
2815
  delete out[key.toLowerCase()];
2981
2816
  return out;
2982
2817
  });
@@ -3033,18 +2868,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3033
2868
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3034
2869
 
3035
2870
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3036
- var TypeId7 = "~effect/http/UrlParams";
3037
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2871
+ var TypeId6 = "~effect/http/UrlParams";
2872
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3038
2873
  var Proto4 = {
3039
2874
  ...PipeInspectableProto,
3040
- [TypeId7]: TypeId7,
2875
+ [TypeId6]: TypeId6,
3041
2876
  [Symbol.iterator]() {
3042
2877
  return this.params[Symbol.iterator]();
3043
2878
  },
3044
2879
  [symbolRedactable](context) {
3045
2880
  return {
3046
2881
  _id: "UrlParams",
3047
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2882
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3048
2883
  };
3049
2884
  },
3050
2885
  toJSON() {
@@ -3057,7 +2892,7 @@ var Proto4 = {
3057
2892
  return array(this.params.flat());
3058
2893
  }
3059
2894
  };
3060
- var make24 = (params) => {
2895
+ var make23 = (params) => {
3061
2896
  const self = Object.create(Proto4);
3062
2897
  self.params = params;
3063
2898
  return self;
@@ -3076,7 +2911,7 @@ var fromInput2 = (input) => {
3076
2911
  out.push(parsed[i]);
3077
2912
  }
3078
2913
  }
3079
- return make24(out);
2914
+ return make23(out);
3080
2915
  };
3081
2916
  var fromInputNested = (input) => {
3082
2917
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3100,9 +2935,9 @@ var fromInputNested = (input) => {
3100
2935
  return out;
3101
2936
  };
3102
2937
  var coerce = (value) => isRedacted(value) ? value : String(value);
3103
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2938
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3104
2939
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3105
- var empty4 = /* @__PURE__ */ make24([]);
2940
+ var empty4 = /* @__PURE__ */ make23([]);
3106
2941
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3107
2942
  const params = fromInput2(input).params.slice();
3108
2943
  const keys = new Set;
@@ -3114,7 +2949,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3114
2949
  continue;
3115
2950
  params.push(self.params[i]);
3116
2951
  }
3117
- return make24(params);
2952
+ return make23(params);
3118
2953
  });
3119
2954
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3120
2955
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3170,13 +3005,13 @@ var decodeQueryKey = (key) => {
3170
3005
  return key;
3171
3006
  }
3172
3007
  };
3173
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3008
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3174
3009
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3175
3010
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3176
3011
  });
3177
3012
 
3178
3013
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3179
- var TypeId8 = "~effect/Terminal";
3014
+ var TypeId7 = "~effect/Terminal";
3180
3015
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3181
3016
 
3182
3017
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3185,14 +3020,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3185
3020
  [QuitErrorTypeId] = QuitErrorTypeId;
3186
3021
  }
3187
3022
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3188
- var make25 = (impl) => Terminal.of({
3023
+ var make24 = (impl) => Terminal.of({
3189
3024
  ...impl,
3190
- [TypeId8]: TypeId8
3025
+ [TypeId7]: TypeId7
3191
3026
  });
3192
3027
 
3193
3028
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3194
3029
  import * as readline from "readline";
3195
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3030
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3196
3031
  const stdin = process.stdin;
3197
3032
  const stdout = process.stdout;
3198
3033
  const lines = yield* make9();
@@ -3206,7 +3041,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3206
3041
  };
3207
3042
  stdin.once("end", onStdinEnd);
3208
3043
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3209
- const rlRef = yield* make18({
3044
+ const rlRef = yield* make10({
3210
3045
  acquire: acquireRelease(sync2(() => {
3211
3046
  const rl = readline.createInterface({
3212
3047
  input: stdin,
@@ -3245,7 +3080,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3245
3080
  if (stdin.isTTY)
3246
3081
  stdin.setRawMode(enabled);
3247
3082
  });
3248
- const rawModeRef = yield* make18({
3083
+ const rawModeRef = yield* make10({
3249
3084
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3250
3085
  idleTimeToLive: "10 millis"
3251
3086
  });
@@ -3296,14 +3131,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3296
3131
  if (inputEnded) {
3297
3132
  handleEnd();
3298
3133
  } else {
3299
- yield* get5(rlRef);
3300
- yield* get5(rawModeRef);
3134
+ yield* get3(rlRef);
3135
+ yield* get3(rawModeRef);
3301
3136
  stdin.once("end", handleEnd);
3302
3137
  }
3303
3138
  return queue;
3304
3139
  });
3305
3140
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3306
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3141
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3307
3142
  onSome: succeed6
3308
3143
  })), mapError2(() => new QuitError({}))));
3309
3144
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3314,7 +3149,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3314
3149
  cause: err
3315
3150
  }))));
3316
3151
  }));
3317
- return make25({
3152
+ return make24({
3318
3153
  columns,
3319
3154
  rows,
3320
3155
  size,
@@ -3323,7 +3158,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3323
3158
  display
3324
3159
  });
3325
3160
  });
3326
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3161
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3327
3162
  function defaultShouldQuit(input) {
3328
3163
  const key = input.key;
3329
3164
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3350,7 +3185,7 @@ function toDate(input) {
3350
3185
  return toDateUtc2(makeUnsafe(input));
3351
3186
  }
3352
3187
  function parseDate(input) {
3353
- return getOrUndefined(map4(make19(input), toDateUtc2));
3188
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3354
3189
  }
3355
3190
  function toIso(input) {
3356
3191
  return formatIso(makeUnsafe(input));
@@ -9985,11 +9820,11 @@ var TranscriptSearchResult = Struct({
9985
9820
  total: Int
9986
9821
  });
9987
9822
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9988
- var TypeId9 = "~effect/http/HttpBody";
9823
+ var TypeId8 = "~effect/http/HttpBody";
9989
9824
  class Proto5 {
9990
- [TypeId9];
9825
+ [TypeId8];
9991
9826
  constructor() {
9992
- this[TypeId9] = TypeId9;
9827
+ this[TypeId8] = TypeId8;
9993
9828
  }
9994
9829
  [NodeInspectSymbol]() {
9995
9830
  return this.toJSON();
@@ -10080,7 +9915,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
10080
9915
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
10081
9916
 
10082
9917
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
10083
- var TypeId10 = "~effect/http/HttpClientError";
9918
+ var TypeId9 = "~effect/http/HttpClientError";
10084
9919
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10085
9920
  constructor(props) {
10086
9921
  if ("cause" in props.reason) {
@@ -10092,7 +9927,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10092
9927
  super(props);
10093
9928
  }
10094
9929
  }
10095
- [TypeId10] = TypeId10;
9930
+ [TypeId9] = TypeId9;
10096
9931
  get request() {
10097
9932
  return this.reason.request;
10098
9933
  }
@@ -10196,7 +10031,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
10196
10031
  }
10197
10032
  }
10198
10033
 
10199
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
10034
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
10200
10035
  _tag: /* @__PURE__ */ tag("HttpError"),
10201
10036
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
10202
10037
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -10229,7 +10064,7 @@ var updateContentLength = (headers, body) => {
10229
10064
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
10230
10065
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
10231
10066
  }
10232
- var make27 = (url, params, hash) => try_({
10067
+ var make26 = (url, params, hash) => try_({
10233
10068
  try: () => {
10234
10069
  const urlInstance = new URL(url, baseUrl());
10235
10070
  for (let i = 0;i < params.params.length; i++) {
@@ -10260,10 +10095,10 @@ var baseUrl = () => {
10260
10095
  };
10261
10096
 
10262
10097
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
10263
- var TypeId11 = "~effect/http/HttpClientRequest";
10264
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
10098
+ var TypeId10 = "~effect/http/HttpClientRequest";
10099
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10265
10100
  var Proto6 = {
10266
- [TypeId11]: TypeId11,
10101
+ [TypeId10]: TypeId10,
10267
10102
  ...BaseProto,
10268
10103
  toJSON() {
10269
10104
  return {
@@ -10352,7 +10187,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
10352
10187
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
10353
10188
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
10354
10189
  function toUrl(self) {
10355
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
10190
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10356
10191
  if (isSuccess(r)) {
10357
10192
  return some(r.success);
10358
10193
  }
@@ -10360,7 +10195,7 @@ function toUrl(self) {
10360
10195
  }
10361
10196
 
10362
10197
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
10363
- var TypeId12 = "~effect/http/HttpIncomingMessage";
10198
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
10364
10199
  var schemaBodyJson = (schema, options) => {
10365
10200
  const decode = decodeEffect(toCodecJson(schema));
10366
10201
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10379,7 +10214,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10379
10214
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10380
10215
 
10381
10216
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10382
- var TypeId13 = "~effect/http/HttpClientResponse";
10217
+ var TypeId12 = "~effect/http/HttpClientResponse";
10383
10218
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10384
10219
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10385
10220
  reason: new StatusCodeError({
@@ -10390,16 +10225,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10390
10225
  }));
10391
10226
 
10392
10227
  class WebHttpClientResponse extends Class {
10228
+ [TypeId11];
10393
10229
  [TypeId12];
10394
- [TypeId13];
10395
10230
  request;
10396
10231
  source;
10397
10232
  constructor(request, source) {
10398
10233
  super();
10399
10234
  this.request = request;
10400
10235
  this.source = source;
10236
+ this[TypeId11] = TypeId11;
10401
10237
  this[TypeId12] = TypeId12;
10402
- this[TypeId13] = TypeId13;
10403
10238
  }
10404
10239
  toJSON() {
10405
10240
  return inspect(this, {
@@ -10571,7 +10406,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10571
10406
  };
10572
10407
 
10573
10408
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10574
- var TypeId14 = "~effect/http/HttpClient";
10409
+ var TypeId13 = "~effect/http/HttpClient";
10575
10410
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10576
10411
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10577
10412
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10588,7 +10423,7 @@ var makeWith2 = (postprocess, preprocess) => {
10588
10423
  return self;
10589
10424
  };
10590
10425
  var Proto7 = {
10591
- [TypeId14]: TypeId14,
10426
+ [TypeId13]: TypeId13,
10592
10427
  pipe() {
10593
10428
  return pipeArguments(this, arguments);
10594
10429
  },
@@ -10602,10 +10437,10 @@ var Proto7 = {
10602
10437
  return this.execute(make5(fullMethod)(url, options));
10603
10438
  }]))
10604
10439
  };
10605
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10440
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10606
10441
  const scopedController = scopedRequests.get(request);
10607
10442
  const controller = scopedController ?? new AbortController;
10608
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10443
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10609
10444
  if (isFailure(urlResult)) {
10610
10445
  return fail7(new HttpClientError({
10611
10446
  reason: new InvalidUrlError({
@@ -10739,8 +10574,8 @@ class InterruptibleResponse {
10739
10574
  this.original = original;
10740
10575
  this.controller = controller;
10741
10576
  }
10742
- [TypeId13] = TypeId13;
10743
10577
  [TypeId12] = TypeId12;
10578
+ [TypeId11] = TypeId11;
10744
10579
  applyInterrupt(effect) {
10745
10580
  return suspend3(() => {
10746
10581
  responseRegistry.unregister(this.original);
@@ -10838,7 +10673,7 @@ var detectStreamBodySupport = () => {
10838
10673
  return false;
10839
10674
  }
10840
10675
  };
10841
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10676
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10842
10677
  if (request.headers.upgrade !== undefined) {
10843
10678
  return fail7(new HttpClientError({
10844
10679
  reason: new TransportError({
@@ -10929,10 +10764,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10929
10764
  });
10930
10765
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10931
10766
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10932
- var TypeId15 = "~effect/socket/Socket";
10767
+ var TypeId14 = "~effect/socket/Socket";
10933
10768
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10934
- var make29 = (options) => Socket.of({
10935
- [TypeId15]: TypeId15,
10769
+ var make28 = (options) => Socket.of({
10770
+ [TypeId14]: TypeId14,
10936
10771
  reader: options.reader,
10937
10772
  writer: options.writer
10938
10773
  });
@@ -11255,7 +11090,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
11255
11090
  write,
11256
11091
  writeAll
11257
11092
  });
11258
- return succeed6(make29({
11093
+ return succeed6(make28({
11259
11094
  reader,
11260
11095
  writer
11261
11096
  }));
@@ -14231,7 +14066,7 @@ function getStreamSchemas(schema) {
14231
14066
  }
14232
14067
  var schema = /* @__PURE__ */ declare(isStream);
14233
14068
  function Stream(success, error) {
14234
- return make16(schema.ast, {
14069
+ return make17(schema.ast, {
14235
14070
  [StreamSchemaTypeId]: StreamSchemaTypeId,
14236
14071
  success,
14237
14072
  error
@@ -14239,9 +14074,9 @@ function Stream(success, error) {
14239
14074
  }
14240
14075
 
14241
14076
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
14242
- var TypeId16 = "~effect/rpc/Rpc";
14077
+ var TypeId15 = "~effect/rpc/Rpc";
14243
14078
  var Proto8 = {
14244
- [TypeId16]: TypeId16,
14079
+ [TypeId15]: TypeId15,
14245
14080
  pipe() {
14246
14081
  return pipeArguments(this, arguments);
14247
14082
  },
@@ -14408,7 +14243,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
14408
14243
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
14409
14244
 
14410
14245
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
14411
- var TypeId17 = "~effect/rpc/RpcClientError";
14246
+ var TypeId16 = "~effect/rpc/RpcClientError";
14412
14247
 
14413
14248
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
14414
14249
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14417,11 +14252,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14417
14252
  })) {
14418
14253
  }
14419
14254
 
14420
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14255
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14421
14256
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14422
14257
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14423
14258
  })) {
14424
- [TypeId17] = TypeId17;
14259
+ [TypeId16] = TypeId16;
14425
14260
  get message() {
14426
14261
  return `${this.reason._tag}: ${this.reason.message}`;
14427
14262
  }
@@ -14541,7 +14376,7 @@ var RpcGroupProto = {
14541
14376
  });
14542
14377
  },
14543
14378
  annotateRpcs(service, value) {
14544
- return this.annotateRpcsMerge(make14(service, value));
14379
+ return this.annotateRpcsMerge(make15(service, value));
14545
14380
  },
14546
14381
  annotateMerge(context) {
14547
14382
  return makeProto2({
@@ -14569,7 +14404,7 @@ var make7 = (...rpcs) => makeProto2({
14569
14404
  annotations: empty3()
14570
14405
  });
14571
14406
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14572
- var TypeId18 = "~effect/rpc/RpcMiddleware";
14407
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14573
14408
  var Service = () => (id, options) => {
14574
14409
  const limit = getStackTraceLimit();
14575
14410
  let creationError;
@@ -14587,7 +14422,7 @@ var Service = () => (id, options) => {
14587
14422
  return creationError?.stack;
14588
14423
  }
14589
14424
  });
14590
- ServiceClass_[TypeId18] = TypeId18;
14425
+ ServiceClass_[TypeId17] = TypeId17;
14591
14426
  ServiceClass_.error = options?.error ?? Never;
14592
14427
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14593
14428
  return ServiceClass;
@@ -15231,7 +15066,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
15231
15066
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
15232
15067
 
15233
15068
  // apps/cli/src/oauth.ts
15234
- var Scope2 = "openid profile email offline_access kitman:cli";
15069
+ var Scope = "openid profile email offline_access kitman:cli";
15235
15070
  var CallbackPath = "/auth/callback";
15236
15071
 
15237
15072
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -15250,7 +15085,7 @@ function buildAuthorizeUrl(input) {
15250
15085
  url.searchParams.set("response_type", "code");
15251
15086
  url.searchParams.set("client_id", input.clientId);
15252
15087
  url.searchParams.set("redirect_uri", input.redirectUri);
15253
- url.searchParams.set("scope", Scope2);
15088
+ url.searchParams.set("scope", Scope);
15254
15089
  url.searchParams.set("code_challenge", input.codeChallenge);
15255
15090
  url.searchParams.set("code_challenge_method", "S256");
15256
15091
  url.searchParams.set("state", input.state);
@@ -15310,7 +15145,7 @@ function toStoredSession(token, existingRefreshToken) {
15310
15145
  }
15311
15146
  function startLoopbackServer(input) {
15312
15147
  return gen(function* () {
15313
- const code = yield* make15();
15148
+ const code = yield* make16();
15314
15149
  const context2 = yield* context();
15315
15150
  const runSyncExit = runSyncExitWith(context2);
15316
15151
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15858,7 +15693,7 @@ var openConnection = (transport) => gen(function* () {
15858
15693
  let lastId = 0;
15859
15694
  let lost = false;
15860
15695
  const notifications = yield* unbounded2();
15861
- const ended = yield* make15();
15696
+ const ended = yield* make16();
15862
15697
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15863
15698
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15864
15699
  onNone: () => void_3,
@@ -15885,7 +15720,7 @@ var openConnection = (transport) => gen(function* () {
15885
15720
  if (lost)
15886
15721
  return yield* new HerdrCoreConnectionLost2({ method });
15887
15722
  const id = ++lastId;
15888
- const deferred = yield* make15();
15723
+ const deferred = yield* make16();
15889
15724
  pending.set(id, { method, deferred });
15890
15725
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15891
15726
  return yield* _await(deferred);
@@ -15959,7 +15794,7 @@ var herdrCoreOver = (transport) => ({
15959
15794
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15960
15795
  };
15961
15796
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15962
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15797
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15963
15798
  }))
15964
15799
  });
15965
15800
  var spawnedTransport = (env) => gen(function* () {
@@ -16050,7 +15885,7 @@ var runProcess2 = (argv, options) => gen(function* () {
16050
15885
  const spawner = yield* ChildProcessSpawner;
16051
15886
  const [command, ...args] = argv;
16052
15887
  const handle = yield* spawner.spawn(make3(command, args, {
16053
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15888
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
16054
15889
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
16055
15890
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
16056
15891
  }));