@kitman-sh/cli 0.14.3 → 0.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-3f6mzrm7.js → chunk-07xpz8bh.js} +1 -1
  2. package/dist/{chunk-zxmx605h.js → chunk-4qpmjrd2.js} +2 -2
  3. package/dist/{chunk-44kx62t6.js → chunk-4vrfpwcr.js} +7 -7
  4. package/dist/{chunk-65dpe0ev.js → chunk-4ywn8fya.js} +5 -3
  5. package/dist/{chunk-hasfatd4.js → chunk-77jk3v8v.js} +5 -5
  6. package/dist/{chunk-ctpgfdzf.js → chunk-93xj74qp.js} +3 -3
  7. package/dist/{chunk-9avbsbvk.js → chunk-c80dvhxf.js} +6 -1
  8. package/dist/{chunk-er9n65mh.js → chunk-cs0b1w4z.js} +9 -9
  9. package/dist/{chunk-y0y2gg8d.js → chunk-cwdrhsvk.js} +2 -2
  10. package/dist/{chunk-rvnem2bt.js → chunk-d2x7y78c.js} +4 -4
  11. package/dist/{chunk-9anvghq2.js → chunk-fch7pjzh.js} +2 -2
  12. package/dist/{chunk-dhtx14r5.js → chunk-hbfwyjak.js} +3 -3
  13. package/dist/{chunk-7v1n7a6k.js → chunk-jp7cjnng.js} +4 -4
  14. package/dist/{chunk-91j33xf2.js → chunk-k32w2t9h.js} +6 -6
  15. package/dist/{chunk-tebzffha.js → chunk-me5hk67r.js} +17 -17
  16. package/dist/{chunk-34748vfg.js → chunk-mwdgz2s2.js} +121 -277
  17. package/dist/{chunk-my9vcmfw.js → chunk-mz803qps.js} +44 -30
  18. package/dist/{chunk-f96vy2h9.js → chunk-p2p3k2d5.js} +4 -4
  19. package/dist/{chunk-2w9a76nr.js → chunk-rbbh4f56.js} +177 -28
  20. package/dist/{chunk-rgrpvnwg.js → chunk-reb6rftm.js} +22 -22
  21. package/dist/{chunk-a4mkjaxa.js → chunk-s6bcx409.js} +6 -6
  22. package/dist/{chunk-daem5h1c.js → chunk-vt5p65jd.js} +14 -14
  23. package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
  24. package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
  25. package/dist/{chunk-7q3t3x0x.js → chunk-zdfrtydr.js} +6 -6
  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,
@@ -215,7 +203,7 @@ import {
215
203
  decodeEffect,
216
204
  decodeUnknownOption,
217
205
  decodeOption,
218
- make16,
206
+ make17,
219
207
  isSchema,
220
208
  optionalKey,
221
209
  optional,
@@ -275,15 +263,11 @@ import {
275
263
  decodeJsonStringOption,
276
264
  encodeJsonStringSync,
277
265
  encodePrettyJsonString
278
- } from "./chunk-zpp4jg4a.js";
266
+ } from "./chunk-wttgq85b.js";
279
267
  import {
280
268
  map,
281
269
  makeEquivalence,
282
270
  bytes,
283
- join,
284
- interrupt,
285
- getCurrent,
286
- runIn,
287
271
  BadArgument,
288
272
  systemError,
289
273
  badArgument,
@@ -305,11 +289,13 @@ import {
305
289
  isSink,
306
290
  fromChannel,
307
291
  drain,
292
+ make10,
293
+ get3,
308
294
  isStream,
309
295
  fromChannel2,
310
296
  callback,
311
297
  empty2,
312
- make10,
298
+ make11,
313
299
  suspend,
314
300
  fail2,
315
301
  fromQueue,
@@ -335,16 +321,29 @@ import {
335
321
  mkArrayBuffer,
336
322
  toReadableStreamEffect,
337
323
  FileSystem,
338
- make11,
324
+ make12,
339
325
  FileTypeId,
340
326
  WatchBackend,
341
327
  Path,
342
- make12,
328
+ make13,
343
329
  option,
344
330
  String2,
345
331
  optionalEnv,
346
332
  harnessesUnsupportedInSrt2
347
- } from "./chunk-2w9a76nr.js";
333
+ } from "./chunk-rbbh4f56.js";
334
+ import {
335
+ isDateTime,
336
+ Numeric,
337
+ isWholeNumber,
338
+ guard,
339
+ Id,
340
+ Timestamp,
341
+ ActorType,
342
+ SecretName,
343
+ SecretScope,
344
+ SecretHosts,
345
+ isSecretReference
346
+ } from "./chunk-c80dvhxf.js";
348
347
  import {
349
348
  isRedacted,
350
349
  make,
@@ -358,20 +357,7 @@ import {
358
357
  make3,
359
358
  parseFdName,
360
359
  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";
360
+ } from "./chunk-4qpmjrd2.js";
375
361
 
376
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
377
363
  var makeEquivalence3 = Tuple;
@@ -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);
@@ -922,151 +908,9 @@ var toNumber = (b) => {
922
908
  return some(Number(b));
923
909
  };
924
910
 
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
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1068
- var makeUnsafe = makeUnsafe7;
1069
- var make19 = make4;
912
+ var makeUnsafe = makeUnsafe6;
913
+ var make18 = make4;
1070
914
  var now2 = now;
1071
915
  var nowUnsafe2 = nowUnsafe;
1072
916
  var toDateUtc2 = toDateUtc;
@@ -1385,7 +1229,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1385
1229
  windowsHide: true
1386
1230
  }, onExit);
1387
1231
  };
1388
- var make20 = /* @__PURE__ */ gen(function* () {
1232
+ var make19 = /* @__PURE__ */ gen(function* () {
1389
1233
  const fs = yield* FileSystem;
1390
1234
  const path = yield* Path;
1391
1235
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1914,7 +1758,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1914
1758
  });
1915
1759
  return make2(spawnCommand);
1916
1760
  });
1917
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1761
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1918
1762
  var flattenCommand = (command) => {
1919
1763
  const commands = [];
1920
1764
  const pipeOptions = [];
@@ -2398,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2398
2242
  resume(fail7(handleBadArgument("writeFile")(err)));
2399
2243
  }
2400
2244
  });
2401
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2402
2246
  access: access2,
2403
2247
  chmod: chmod2,
2404
2248
  chown: chown2,
@@ -2458,15 +2302,15 @@ var fileUrlOps = (windows) => ({
2458
2302
  })
2459
2303
  })
2460
2304
  });
2461
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2462
2306
  ...NodePath.posix,
2463
2307
  .../* @__PURE__ */ fileUrlOps(false)
2464
2308
  }));
2465
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2466
2310
  ...NodePath.win32,
2467
2311
  .../* @__PURE__ */ fileUrlOps(true)
2468
2312
  }));
2469
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2470
2314
  ...NodePath,
2471
2315
  .../* @__PURE__ */ fileUrlOps(undefined)
2472
2316
  }));
@@ -2475,10 +2319,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2475
2319
  var layer2 = layer7;
2476
2320
 
2477
2321
  // 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,
2322
+ var TypeId3 = "~effect/Stdio";
2323
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2324
+ var make20 = (options) => ({
2325
+ [TypeId3]: TypeId3,
2482
2326
  stdinIsTerminal: succeed6(false),
2483
2327
  stdoutIsTerminal: succeed6(false),
2484
2328
  stderrIsTerminal: succeed6(false),
@@ -2486,7 +2330,7 @@ var make21 = (options) => ({
2486
2330
  });
2487
2331
 
2488
2332
  // 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({
2333
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2490
2334
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2491
2335
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2492
2336
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2686,7 +2530,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2686
2530
  const uuid = bytes(randomBytes(16));
2687
2531
  return format === "bytes" ? uuid : stringify(uuid);
2688
2532
  };
2689
- var make22 = (randomBytes) => {
2533
+ var make21 = (randomBytes) => {
2690
2534
  const randomBytesChecked = (size) => {
2691
2535
  checkSize(size);
2692
2536
  return randomBytes(size);
@@ -2720,13 +2564,13 @@ var fillRandom = (crypto2, size) => {
2720
2564
  }
2721
2565
  return bytes;
2722
2566
  };
2723
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2567
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2724
2568
 
2725
2569
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2726
- var TypeId5 = "~effect/http/Cookies";
2570
+ var TypeId4 = "~effect/http/Cookies";
2727
2571
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2728
2572
  var Proto2 = {
2729
- [TypeId5]: TypeId5,
2573
+ [TypeId4]: TypeId4,
2730
2574
  ...BaseProto,
2731
2575
  toJSON() {
2732
2576
  return {
@@ -2905,14 +2749,14 @@ var tryDecodeURIComponent = (str) => {
2905
2749
  };
2906
2750
 
2907
2751
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2908
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2752
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2909
2753
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2910
- [TypeId6]: {
2911
- value: TypeId6
2754
+ [TypeId5]: {
2755
+ value: TypeId5
2912
2756
  },
2913
2757
  [symbolRedactable]: {
2914
2758
  value(context) {
2915
- return redact2(this, get3(context, CurrentRedactedNames));
2759
+ return redact2(this, get4(context, CurrentRedactedNames));
2916
2760
  }
2917
2761
  },
2918
2762
  toJSON: {
@@ -2937,7 +2781,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2937
2781
  value: BaseProto[NodeInspectSymbol]
2938
2782
  }
2939
2783
  });
2940
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2784
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2941
2785
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2942
2786
  var empty = /* @__PURE__ */ Object.create(Proto3);
2943
2787
  var fromInput = (input) => {
@@ -2962,21 +2806,21 @@ var fromInput = (input) => {
2962
2806
  };
2963
2807
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2964
2808
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2965
- const out = make23(self);
2809
+ const out = make22(self);
2966
2810
  out[key.toLowerCase()] = value;
2967
2811
  return out;
2968
2812
  });
2969
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2813
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2970
2814
  ...self,
2971
2815
  ...fromInput(headers)
2972
2816
  }));
2973
2817
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2974
- const out = make23(self);
2818
+ const out = make22(self);
2975
2819
  Object.assign(out, headers);
2976
2820
  return out;
2977
2821
  });
2978
2822
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2979
- const out = make23(self);
2823
+ const out = make22(self);
2980
2824
  delete out[key.toLowerCase()];
2981
2825
  return out;
2982
2826
  });
@@ -3033,18 +2877,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3033
2877
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3034
2878
 
3035
2879
  // 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);
2880
+ var TypeId6 = "~effect/http/UrlParams";
2881
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3038
2882
  var Proto4 = {
3039
2883
  ...PipeInspectableProto,
3040
- [TypeId7]: TypeId7,
2884
+ [TypeId6]: TypeId6,
3041
2885
  [Symbol.iterator]() {
3042
2886
  return this.params[Symbol.iterator]();
3043
2887
  },
3044
2888
  [symbolRedactable](context) {
3045
2889
  return {
3046
2890
  _id: "UrlParams",
3047
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2891
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3048
2892
  };
3049
2893
  },
3050
2894
  toJSON() {
@@ -3057,7 +2901,7 @@ var Proto4 = {
3057
2901
  return array(this.params.flat());
3058
2902
  }
3059
2903
  };
3060
- var make24 = (params) => {
2904
+ var make23 = (params) => {
3061
2905
  const self = Object.create(Proto4);
3062
2906
  self.params = params;
3063
2907
  return self;
@@ -3076,7 +2920,7 @@ var fromInput2 = (input) => {
3076
2920
  out.push(parsed[i]);
3077
2921
  }
3078
2922
  }
3079
- return make24(out);
2923
+ return make23(out);
3080
2924
  };
3081
2925
  var fromInputNested = (input) => {
3082
2926
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3100,9 +2944,9 @@ var fromInputNested = (input) => {
3100
2944
  return out;
3101
2945
  };
3102
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
3103
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3104
2948
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3105
- var empty4 = /* @__PURE__ */ make24([]);
2949
+ var empty4 = /* @__PURE__ */ make23([]);
3106
2950
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3107
2951
  const params = fromInput2(input).params.slice();
3108
2952
  const keys = new Set;
@@ -3114,7 +2958,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3114
2958
  continue;
3115
2959
  params.push(self.params[i]);
3116
2960
  }
3117
- return make24(params);
2961
+ return make23(params);
3118
2962
  });
3119
2963
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3120
2964
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3170,13 +3014,13 @@ var decodeQueryKey = (key) => {
3170
3014
  return key;
3171
3015
  }
3172
3016
  };
3173
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3017
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3174
3018
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3175
3019
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3176
3020
  });
3177
3021
 
3178
3022
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3179
- var TypeId8 = "~effect/Terminal";
3023
+ var TypeId7 = "~effect/Terminal";
3180
3024
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3181
3025
 
3182
3026
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3185,14 +3029,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3185
3029
  [QuitErrorTypeId] = QuitErrorTypeId;
3186
3030
  }
3187
3031
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3188
- var make25 = (impl) => Terminal.of({
3032
+ var make24 = (impl) => Terminal.of({
3189
3033
  ...impl,
3190
- [TypeId8]: TypeId8
3034
+ [TypeId7]: TypeId7
3191
3035
  });
3192
3036
 
3193
3037
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3194
3038
  import * as readline from "readline";
3195
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3039
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3196
3040
  const stdin = process.stdin;
3197
3041
  const stdout = process.stdout;
3198
3042
  const lines = yield* make9();
@@ -3206,7 +3050,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3206
3050
  };
3207
3051
  stdin.once("end", onStdinEnd);
3208
3052
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3209
- const rlRef = yield* make18({
3053
+ const rlRef = yield* make10({
3210
3054
  acquire: acquireRelease(sync2(() => {
3211
3055
  const rl = readline.createInterface({
3212
3056
  input: stdin,
@@ -3245,7 +3089,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3245
3089
  if (stdin.isTTY)
3246
3090
  stdin.setRawMode(enabled);
3247
3091
  });
3248
- const rawModeRef = yield* make18({
3092
+ const rawModeRef = yield* make10({
3249
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3250
3094
  idleTimeToLive: "10 millis"
3251
3095
  });
@@ -3296,14 +3140,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3296
3140
  if (inputEnded) {
3297
3141
  handleEnd();
3298
3142
  } else {
3299
- yield* get5(rlRef);
3300
- yield* get5(rawModeRef);
3143
+ yield* get3(rlRef);
3144
+ yield* get3(rawModeRef);
3301
3145
  stdin.once("end", handleEnd);
3302
3146
  }
3303
3147
  return queue;
3304
3148
  });
3305
3149
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3306
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3150
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3307
3151
  onSome: succeed6
3308
3152
  })), mapError2(() => new QuitError({}))));
3309
3153
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3314,7 +3158,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3314
3158
  cause: err
3315
3159
  }))));
3316
3160
  }));
3317
- return make25({
3161
+ return make24({
3318
3162
  columns,
3319
3163
  rows,
3320
3164
  size,
@@ -3323,7 +3167,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3323
3167
  display
3324
3168
  });
3325
3169
  });
3326
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3170
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3327
3171
  function defaultShouldQuit(input) {
3328
3172
  const key = input.key;
3329
3173
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3350,7 +3194,7 @@ function toDate(input) {
3350
3194
  return toDateUtc2(makeUnsafe(input));
3351
3195
  }
3352
3196
  function parseDate(input) {
3353
- return getOrUndefined(map4(make19(input), toDateUtc2));
3197
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3354
3198
  }
3355
3199
  function toIso(input) {
3356
3200
  return formatIso(makeUnsafe(input));
@@ -9985,11 +9829,11 @@ var TranscriptSearchResult = Struct({
9985
9829
  total: Int
9986
9830
  });
9987
9831
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9988
- var TypeId9 = "~effect/http/HttpBody";
9832
+ var TypeId8 = "~effect/http/HttpBody";
9989
9833
  class Proto5 {
9990
- [TypeId9];
9834
+ [TypeId8];
9991
9835
  constructor() {
9992
- this[TypeId9] = TypeId9;
9836
+ this[TypeId8] = TypeId8;
9993
9837
  }
9994
9838
  [NodeInspectSymbol]() {
9995
9839
  return this.toJSON();
@@ -10080,7 +9924,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
10080
9924
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
10081
9925
 
10082
9926
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
10083
- var TypeId10 = "~effect/http/HttpClientError";
9927
+ var TypeId9 = "~effect/http/HttpClientError";
10084
9928
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10085
9929
  constructor(props) {
10086
9930
  if ("cause" in props.reason) {
@@ -10092,7 +9936,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10092
9936
  super(props);
10093
9937
  }
10094
9938
  }
10095
- [TypeId10] = TypeId10;
9939
+ [TypeId9] = TypeId9;
10096
9940
  get request() {
10097
9941
  return this.reason.request;
10098
9942
  }
@@ -10196,7 +10040,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
10196
10040
  }
10197
10041
  }
10198
10042
 
10199
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
10043
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
10200
10044
  _tag: /* @__PURE__ */ tag("HttpError"),
10201
10045
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
10202
10046
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -10229,7 +10073,7 @@ var updateContentLength = (headers, body) => {
10229
10073
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
10230
10074
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
10231
10075
  }
10232
- var make27 = (url, params, hash) => try_({
10076
+ var make26 = (url, params, hash) => try_({
10233
10077
  try: () => {
10234
10078
  const urlInstance = new URL(url, baseUrl());
10235
10079
  for (let i = 0;i < params.params.length; i++) {
@@ -10260,10 +10104,10 @@ var baseUrl = () => {
10260
10104
  };
10261
10105
 
10262
10106
  // 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);
10107
+ var TypeId10 = "~effect/http/HttpClientRequest";
10108
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10265
10109
  var Proto6 = {
10266
- [TypeId11]: TypeId11,
10110
+ [TypeId10]: TypeId10,
10267
10111
  ...BaseProto,
10268
10112
  toJSON() {
10269
10113
  return {
@@ -10352,7 +10196,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
10352
10196
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
10353
10197
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
10354
10198
  function toUrl(self) {
10355
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
10199
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10356
10200
  if (isSuccess(r)) {
10357
10201
  return some(r.success);
10358
10202
  }
@@ -10360,7 +10204,7 @@ function toUrl(self) {
10360
10204
  }
10361
10205
 
10362
10206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
10363
- var TypeId12 = "~effect/http/HttpIncomingMessage";
10207
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
10364
10208
  var schemaBodyJson = (schema, options) => {
10365
10209
  const decode = decodeEffect(toCodecJson(schema));
10366
10210
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10379,7 +10223,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10379
10223
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10380
10224
 
10381
10225
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10382
- var TypeId13 = "~effect/http/HttpClientResponse";
10226
+ var TypeId12 = "~effect/http/HttpClientResponse";
10383
10227
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10384
10228
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10385
10229
  reason: new StatusCodeError({
@@ -10390,16 +10234,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10390
10234
  }));
10391
10235
 
10392
10236
  class WebHttpClientResponse extends Class {
10237
+ [TypeId11];
10393
10238
  [TypeId12];
10394
- [TypeId13];
10395
10239
  request;
10396
10240
  source;
10397
10241
  constructor(request, source) {
10398
10242
  super();
10399
10243
  this.request = request;
10400
10244
  this.source = source;
10245
+ this[TypeId11] = TypeId11;
10401
10246
  this[TypeId12] = TypeId12;
10402
- this[TypeId13] = TypeId13;
10403
10247
  }
10404
10248
  toJSON() {
10405
10249
  return inspect(this, {
@@ -10571,7 +10415,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10571
10415
  };
10572
10416
 
10573
10417
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10574
- var TypeId14 = "~effect/http/HttpClient";
10418
+ var TypeId13 = "~effect/http/HttpClient";
10575
10419
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10576
10420
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10577
10421
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10588,7 +10432,7 @@ var makeWith2 = (postprocess, preprocess) => {
10588
10432
  return self;
10589
10433
  };
10590
10434
  var Proto7 = {
10591
- [TypeId14]: TypeId14,
10435
+ [TypeId13]: TypeId13,
10592
10436
  pipe() {
10593
10437
  return pipeArguments(this, arguments);
10594
10438
  },
@@ -10602,10 +10446,10 @@ var Proto7 = {
10602
10446
  return this.execute(make5(fullMethod)(url, options));
10603
10447
  }]))
10604
10448
  };
10605
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10449
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10606
10450
  const scopedController = scopedRequests.get(request);
10607
10451
  const controller = scopedController ?? new AbortController;
10608
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10452
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10609
10453
  if (isFailure(urlResult)) {
10610
10454
  return fail7(new HttpClientError({
10611
10455
  reason: new InvalidUrlError({
@@ -10739,8 +10583,8 @@ class InterruptibleResponse {
10739
10583
  this.original = original;
10740
10584
  this.controller = controller;
10741
10585
  }
10742
- [TypeId13] = TypeId13;
10743
10586
  [TypeId12] = TypeId12;
10587
+ [TypeId11] = TypeId11;
10744
10588
  applyInterrupt(effect) {
10745
10589
  return suspend3(() => {
10746
10590
  responseRegistry.unregister(this.original);
@@ -10838,7 +10682,7 @@ var detectStreamBodySupport = () => {
10838
10682
  return false;
10839
10683
  }
10840
10684
  };
10841
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10685
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10842
10686
  if (request.headers.upgrade !== undefined) {
10843
10687
  return fail7(new HttpClientError({
10844
10688
  reason: new TransportError({
@@ -10929,10 +10773,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10929
10773
  });
10930
10774
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10931
10775
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10932
- var TypeId15 = "~effect/socket/Socket";
10776
+ var TypeId14 = "~effect/socket/Socket";
10933
10777
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10934
- var make29 = (options) => Socket.of({
10935
- [TypeId15]: TypeId15,
10778
+ var make28 = (options) => Socket.of({
10779
+ [TypeId14]: TypeId14,
10936
10780
  reader: options.reader,
10937
10781
  writer: options.writer
10938
10782
  });
@@ -11255,7 +11099,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
11255
11099
  write,
11256
11100
  writeAll
11257
11101
  });
11258
- return succeed6(make29({
11102
+ return succeed6(make28({
11259
11103
  reader,
11260
11104
  writer
11261
11105
  }));
@@ -14231,7 +14075,7 @@ function getStreamSchemas(schema) {
14231
14075
  }
14232
14076
  var schema = /* @__PURE__ */ declare(isStream);
14233
14077
  function Stream(success, error) {
14234
- return make16(schema.ast, {
14078
+ return make17(schema.ast, {
14235
14079
  [StreamSchemaTypeId]: StreamSchemaTypeId,
14236
14080
  success,
14237
14081
  error
@@ -14239,9 +14083,9 @@ function Stream(success, error) {
14239
14083
  }
14240
14084
 
14241
14085
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
14242
- var TypeId16 = "~effect/rpc/Rpc";
14086
+ var TypeId15 = "~effect/rpc/Rpc";
14243
14087
  var Proto8 = {
14244
- [TypeId16]: TypeId16,
14088
+ [TypeId15]: TypeId15,
14245
14089
  pipe() {
14246
14090
  return pipeArguments(this, arguments);
14247
14091
  },
@@ -14408,7 +14252,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
14408
14252
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
14409
14253
 
14410
14254
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
14411
- var TypeId17 = "~effect/rpc/RpcClientError";
14255
+ var TypeId16 = "~effect/rpc/RpcClientError";
14412
14256
 
14413
14257
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
14414
14258
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14417,11 +14261,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14417
14261
  })) {
14418
14262
  }
14419
14263
 
14420
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14264
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14421
14265
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14422
14266
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14423
14267
  })) {
14424
- [TypeId17] = TypeId17;
14268
+ [TypeId16] = TypeId16;
14425
14269
  get message() {
14426
14270
  return `${this.reason._tag}: ${this.reason.message}`;
14427
14271
  }
@@ -14541,7 +14385,7 @@ var RpcGroupProto = {
14541
14385
  });
14542
14386
  },
14543
14387
  annotateRpcs(service, value) {
14544
- return this.annotateRpcsMerge(make14(service, value));
14388
+ return this.annotateRpcsMerge(make15(service, value));
14545
14389
  },
14546
14390
  annotateMerge(context) {
14547
14391
  return makeProto2({
@@ -14569,7 +14413,7 @@ var make7 = (...rpcs) => makeProto2({
14569
14413
  annotations: empty3()
14570
14414
  });
14571
14415
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14572
- var TypeId18 = "~effect/rpc/RpcMiddleware";
14416
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14573
14417
  var Service = () => (id, options) => {
14574
14418
  const limit = getStackTraceLimit();
14575
14419
  let creationError;
@@ -14587,7 +14431,7 @@ var Service = () => (id, options) => {
14587
14431
  return creationError?.stack;
14588
14432
  }
14589
14433
  });
14590
- ServiceClass_[TypeId18] = TypeId18;
14434
+ ServiceClass_[TypeId17] = TypeId17;
14591
14435
  ServiceClass_.error = options?.error ?? Never;
14592
14436
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14593
14437
  return ServiceClass;
@@ -15231,7 +15075,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
15231
15075
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
15232
15076
 
15233
15077
  // apps/cli/src/oauth.ts
15234
- var Scope2 = "openid profile email offline_access kitman:cli";
15078
+ var Scope = "openid profile email offline_access kitman:cli";
15235
15079
  var CallbackPath = "/auth/callback";
15236
15080
 
15237
15081
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -15250,7 +15094,7 @@ function buildAuthorizeUrl(input) {
15250
15094
  url.searchParams.set("response_type", "code");
15251
15095
  url.searchParams.set("client_id", input.clientId);
15252
15096
  url.searchParams.set("redirect_uri", input.redirectUri);
15253
- url.searchParams.set("scope", Scope2);
15097
+ url.searchParams.set("scope", Scope);
15254
15098
  url.searchParams.set("code_challenge", input.codeChallenge);
15255
15099
  url.searchParams.set("code_challenge_method", "S256");
15256
15100
  url.searchParams.set("state", input.state);
@@ -15310,7 +15154,7 @@ function toStoredSession(token, existingRefreshToken) {
15310
15154
  }
15311
15155
  function startLoopbackServer(input) {
15312
15156
  return gen(function* () {
15313
- const code = yield* make15();
15157
+ const code = yield* make16();
15314
15158
  const context2 = yield* context();
15315
15159
  const runSyncExit = runSyncExitWith(context2);
15316
15160
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15858,7 +15702,7 @@ var openConnection = (transport) => gen(function* () {
15858
15702
  let lastId = 0;
15859
15703
  let lost = false;
15860
15704
  const notifications = yield* unbounded2();
15861
- const ended = yield* make15();
15705
+ const ended = yield* make16();
15862
15706
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15863
15707
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15864
15708
  onNone: () => void_3,
@@ -15885,7 +15729,7 @@ var openConnection = (transport) => gen(function* () {
15885
15729
  if (lost)
15886
15730
  return yield* new HerdrCoreConnectionLost2({ method });
15887
15731
  const id = ++lastId;
15888
- const deferred = yield* make15();
15732
+ const deferred = yield* make16();
15889
15733
  pending.set(id, { method, deferred });
15890
15734
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15891
15735
  return yield* _await(deferred);
@@ -15959,7 +15803,7 @@ var herdrCoreOver = (transport) => ({
15959
15803
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15960
15804
  };
15961
15805
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15962
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15806
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15963
15807
  }))
15964
15808
  });
15965
15809
  var spawnedTransport = (env) => gen(function* () {
@@ -16050,7 +15894,7 @@ var runProcess2 = (argv, options) => gen(function* () {
16050
15894
  const spawner = yield* ChildProcessSpawner;
16051
15895
  const [command, ...args] = argv;
16052
15896
  const handle = yield* spawner.spawn(make3(command, args, {
16053
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15897
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
16054
15898
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
16055
15899
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
16056
15900
  }));