@kitman-sh/cli 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-9j4cnz4j.js → chunk-0axm9scx.js} +38 -32
  2. package/dist/{chunk-w8vxzc7w.js → chunk-27k0egfz.js} +13 -13
  3. package/dist/{chunk-r9tzwrnb.js → chunk-4qpmjrd2.js} +2 -2
  4. package/dist/{chunk-bmkc5r0p.js → chunk-5jqqhvv2.js} +4 -4
  5. package/dist/{chunk-gbr4s7nk.js → chunk-5x44qb6d.js} +6 -6
  6. package/dist/{chunk-w34sq09e.js → chunk-77jk3v8v.js} +5 -5
  7. package/dist/{chunk-ctpgfdzf.js → chunk-93xj74qp.js} +3 -3
  8. package/dist/{chunk-t2zzamex.js → chunk-a9srrnsk.js} +30 -30
  9. package/dist/{chunk-9avbsbvk.js → chunk-c80dvhxf.js} +6 -1
  10. package/dist/{chunk-y0y2gg8d.js → chunk-cwdrhsvk.js} +2 -2
  11. package/dist/{chunk-wb3wsm86.js → chunk-enabwyrn.js} +7 -7
  12. package/dist/{chunk-f2ycw5bp.js → chunk-f1y7ysjg.js} +129 -280
  13. package/dist/{chunk-c4mf5mgt.js → chunk-fch7pjzh.js} +2 -2
  14. package/dist/{chunk-gmdd1a74.js → chunk-gvs5fcvy.js} +2 -2
  15. package/dist/{chunk-vth8h56e.js → chunk-jnpv483d.js} +4 -4
  16. package/dist/{chunk-hq2xzj6f.js → chunk-jp7cjnng.js} +4 -4
  17. package/dist/{chunk-84fcym2g.js → chunk-kwkh8hxt.js} +1 -1
  18. package/dist/{chunk-5d2sdzbz.js → chunk-nvncrs4n.js} +7 -7
  19. package/dist/{chunk-5129s1vg.js → chunk-pyss20q2.js} +3 -3
  20. package/dist/{chunk-h7zb6d3z.js → chunk-rbbh4f56.js} +177 -34
  21. package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
  22. package/dist/{chunk-bscvbpa1.js → chunk-vx4qe0fe.js} +6 -6
  23. package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
  24. package/dist/{chunk-099ybrqz.js → chunk-zr59g5bk.js} +18 -18
  25. package/dist/{chunk-4c6w8sb7.js → chunk-zw2mzy00.js} +9 -9
  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,
@@ -86,14 +84,14 @@ import {
86
84
  DisablePropagation,
87
85
  sync,
88
86
  map7,
87
+ ClockRef,
88
+ currentTimeMillis2,
89
89
  ConsoleRef,
90
90
  succeed3,
91
91
  fail4,
92
- void_2,
93
92
  isSuccess2,
94
- isFailure2,
95
93
  makeUnsafe5,
96
- make15,
94
+ make16,
97
95
  _await,
98
96
  fail5,
99
97
  isDone,
@@ -101,12 +99,8 @@ import {
101
99
  succeed4,
102
100
  doneUnsafe,
103
101
  TracerTimingEnabled,
104
- Scope,
105
- makeUnsafe6,
106
102
  provide,
107
- addFinalizerExit,
108
103
  addFinalizer,
109
- close,
110
104
  succeed5,
111
105
  effect,
112
106
  effectContext,
@@ -158,7 +152,6 @@ import {
158
152
  tapCause,
159
153
  retry,
160
154
  ignore,
161
- ignoreCause,
162
155
  orElseSucceed,
163
156
  timeout,
164
157
  timeoutOrElse,
@@ -170,7 +163,6 @@ import {
170
163
  context,
171
164
  contextWith,
172
165
  provide3,
173
- provideContext2,
174
166
  serviceOption,
175
167
  updateContext,
176
168
  provideService,
@@ -181,7 +173,6 @@ import {
181
173
  addFinalizer2,
182
174
  ensuring2,
183
175
  onError,
184
- onExit,
185
176
  cached,
186
177
  interrupt3,
187
178
  interruptible,
@@ -193,7 +184,6 @@ import {
193
184
  withParentSpan,
194
185
  forkScoped,
195
186
  runFork,
196
- runForkWith,
197
187
  runPromise,
198
188
  runPromiseWith,
199
189
  runSync,
@@ -213,7 +203,7 @@ import {
213
203
  decodeEffect,
214
204
  decodeUnknownOption,
215
205
  decodeOption,
216
- make16,
206
+ make17,
217
207
  isSchema,
218
208
  optionalKey,
219
209
  optional,
@@ -273,17 +263,11 @@ import {
273
263
  decodeJsonStringOption,
274
264
  encodeJsonStringSync,
275
265
  encodePrettyJsonString
276
- } from "./chunk-zpp4jg4a.js";
266
+ } from "./chunk-wttgq85b.js";
277
267
  import {
278
268
  map,
279
269
  makeEquivalence,
280
- Clock,
281
- currentTimeMillis,
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-h7zb6d3z.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,23 +357,15 @@ import {
358
357
  make3,
359
358
  parseFdName,
360
359
  fdName
361
- } from "./chunk-r9tzwrnb.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";
361
+
375
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
376
363
  var makeEquivalence3 = Tuple;
377
364
 
365
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
366
+ var Clock = ClockRef;
367
+ var currentTimeMillis = currentTimeMillis2;
368
+
378
369
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
379
370
  var TypeId = "~effect/DateTime";
380
371
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -509,7 +500,7 @@ var fromDateUnsafe = (date) => {
509
500
  }
510
501
  return makeUtc(epochMillis);
511
502
  };
512
- var makeUnsafe7 = (input) => {
503
+ var makeUnsafe6 = (input) => {
513
504
  if (isDateTime2(input)) {
514
505
  return input;
515
506
  } else if (input instanceof Date) {
@@ -529,7 +520,7 @@ var makeUnsafe7 = (input) => {
529
520
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
530
521
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
531
522
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
532
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
523
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
533
524
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
534
525
  var nowUnsafe = () => makeUtc(Date.now());
535
526
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -636,7 +627,7 @@ class Metric$ {
636
627
  }
637
628
  hook(context) {
638
629
  const key = this.key(context);
639
- const registry = get3(context, MetricRegistry);
630
+ const registry = get4(context, MetricRegistry);
640
631
  let metadata = registry.get(key);
641
632
  if (isUndefined(metadata)) {
642
633
  metadata = this.metadata(this.createHooks());
@@ -645,11 +636,11 @@ class Metric$ {
645
636
  return metadata.hooks;
646
637
  }
647
638
  removeUnsafe(context) {
648
- get3(context, MetricRegistry).delete(this.key(context));
639
+ get4(context, MetricRegistry).delete(this.key(context));
649
640
  }
650
641
  registerUnsafe(context, hooks) {
651
642
  const key = this.key(context);
652
- const registry = get3(context, MetricRegistry);
643
+ const registry = get4(context, MetricRegistry);
653
644
  const metadata = this.metadata({
654
645
  get: hooks.get,
655
646
  update: constVoid,
@@ -665,7 +656,7 @@ class Metric$ {
665
656
  };
666
657
  }
667
658
  key(context) {
668
- const extraAttributes = get3(context, CurrentMetricAttributes);
659
+ const extraAttributes = get4(context, CurrentMetricAttributes);
669
660
  if (extraAttributes !== this.#extraAttributes) {
670
661
  this.#extraAttributes = extraAttributes;
671
662
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -917,151 +908,9 @@ var toNumber = (b) => {
917
908
  return some(Number(b));
918
909
  };
919
910
 
920
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
921
- var TypeId3 = "~effect/RcRef";
922
- var stateEmpty = {
923
- _tag: "Empty"
924
- };
925
- var stateClosed = {
926
- _tag: "Closed"
927
- };
928
- var variance = {
929
- _A: identity,
930
- _E: identity
931
- };
932
-
933
- class RcRefImpl {
934
- [TypeId3] = variance;
935
- pipe() {
936
- return pipeArguments(this, arguments);
937
- }
938
- state = stateEmpty;
939
- acquire;
940
- context;
941
- scope;
942
- idleTimeToLive;
943
- constructor(acquire, context, scope, idleTimeToLive) {
944
- this.acquire = acquire;
945
- this.context = context;
946
- this.scope = scope;
947
- this.idleTimeToLive = idleTimeToLive;
948
- }
949
- }
950
- var make17 = (options) => withFiber2((fiber) => {
951
- const context = fiber.context;
952
- const scope = get3(context, Scope);
953
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
954
- return as(addFinalizerExit(scope, () => {
955
- const state = ref.state;
956
- ref.state = stateClosed;
957
- if (state._tag === "Acquired")
958
- return close(state.scope, void_2);
959
- if (state._tag === "Acquiring")
960
- return interrupt(state.fiber);
961
- return void_3;
962
- }), ref);
963
- });
964
- var getState = (self, restore) => {
965
- switch (self.state._tag) {
966
- case "Closed": {
967
- return interrupt3;
968
- }
969
- case "Acquired": {
970
- const state = self.state;
971
- state.refCount++;
972
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
973
- }
974
- case "Acquiring": {
975
- const state = self.state;
976
- state.awaiters++;
977
- return awaitAcquiring(self, state, restore);
978
- }
979
- case "Empty": {
980
- const acquiring = {
981
- _tag: "Acquiring",
982
- fiber: undefined,
983
- awaiters: 1,
984
- acquired: undefined
985
- };
986
- self.state = acquiring;
987
- const scope = makeUnsafe6();
988
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
989
- if (self.state !== acquiring) {
990
- return interrupt3;
991
- }
992
- const state = {
993
- _tag: "Acquired",
994
- value,
995
- scope,
996
- fiber: undefined,
997
- refCount: acquiring.awaiters,
998
- invalidated: false
999
- };
1000
- self.state = state;
1001
- acquiring.acquired = state;
1002
- return succeed6(state);
1003
- }), onExit((exit) => {
1004
- if (isSuccess2(exit))
1005
- return void_3;
1006
- if (self.state === acquiring)
1007
- self.state = stateEmpty;
1008
- return close(scope, exit);
1009
- }));
1010
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1011
- return awaitAcquiring(self, acquiring, restore);
1012
- }
1013
- }
1014
- };
1015
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1016
- const acquired = acquiring.acquired;
1017
- if (acquired !== undefined) {
1018
- return isFailure2(exit) ? release(self, acquired) : void_3;
1019
- }
1020
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1021
- return void_3;
1022
- self.state = stateEmpty;
1023
- return interrupt(acquiring.fiber);
1024
- });
1025
- var get4 = (self_) => {
1026
- const self = self_;
1027
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1028
- };
1029
- var release = (self, state) => {
1030
- state.refCount--;
1031
- if (state.refCount > 0) {
1032
- return void_3;
1033
- }
1034
- const idleTimeToLive = self.idleTimeToLive;
1035
- if (idleTimeToLive === undefined || state.invalidated) {
1036
- if (self.state === state) {
1037
- self.state = stateEmpty;
1038
- }
1039
- return close(state.scope, void_2);
1040
- } else if (!isFinite(idleTimeToLive)) {
1041
- return void_3;
1042
- }
1043
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1044
- if (self.state === state && state.refCount === 0) {
1045
- self.state = stateEmpty;
1046
- return ignoreCause(close(state.scope, void_2), {
1047
- log: "Unhandled",
1048
- message: "Unhandled error in RcRef finalizer"
1049
- });
1050
- }
1051
- return void_3;
1052
- })).pipe(ensuring2(sync2(() => {
1053
- state.fiber = undefined;
1054
- })), runForkWith(self.context), runIn(self.scope));
1055
- return void_3;
1056
- };
1057
-
1058
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1059
- var make18 = make17;
1060
- var get5 = get4;
1061
-
1062
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1063
- var makeUnsafe = makeUnsafe7;
1064
- var make19 = make4;
912
+ var makeUnsafe = makeUnsafe6;
913
+ var make18 = make4;
1065
914
  var now2 = now;
1066
915
  var nowUnsafe2 = nowUnsafe;
1067
916
  var toDateUtc2 = toDateUtc;
@@ -1380,7 +1229,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1380
1229
  windowsHide: true
1381
1230
  }, onExit);
1382
1231
  };
1383
- var make20 = /* @__PURE__ */ gen(function* () {
1232
+ var make19 = /* @__PURE__ */ gen(function* () {
1384
1233
  const fs = yield* FileSystem;
1385
1234
  const path = yield* Path;
1386
1235
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1909,7 +1758,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1909
1758
  });
1910
1759
  return make2(spawnCommand);
1911
1760
  });
1912
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1761
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1913
1762
  var flattenCommand = (command) => {
1914
1763
  const commands = [];
1915
1764
  const pipeOptions = [];
@@ -2393,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2393
2242
  resume(fail7(handleBadArgument("writeFile")(err)));
2394
2243
  }
2395
2244
  });
2396
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2397
2246
  access: access2,
2398
2247
  chmod: chmod2,
2399
2248
  chown: chown2,
@@ -2453,15 +2302,15 @@ var fileUrlOps = (windows) => ({
2453
2302
  })
2454
2303
  })
2455
2304
  });
2456
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2457
2306
  ...NodePath.posix,
2458
2307
  .../* @__PURE__ */ fileUrlOps(false)
2459
2308
  }));
2460
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2461
2310
  ...NodePath.win32,
2462
2311
  .../* @__PURE__ */ fileUrlOps(true)
2463
2312
  }));
2464
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2465
2314
  ...NodePath,
2466
2315
  .../* @__PURE__ */ fileUrlOps(undefined)
2467
2316
  }));
@@ -2470,10 +2319,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2470
2319
  var layer2 = layer7;
2471
2320
 
2472
2321
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2473
- var TypeId4 = "~effect/Stdio";
2474
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2475
- var make21 = (options) => ({
2476
- [TypeId4]: TypeId4,
2322
+ var TypeId3 = "~effect/Stdio";
2323
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2324
+ var make20 = (options) => ({
2325
+ [TypeId3]: TypeId3,
2477
2326
  stdinIsTerminal: succeed6(false),
2478
2327
  stdoutIsTerminal: succeed6(false),
2479
2328
  stderrIsTerminal: succeed6(false),
@@ -2481,7 +2330,7 @@ var make21 = (options) => ({
2481
2330
  });
2482
2331
 
2483
2332
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2484
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2333
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2485
2334
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2486
2335
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2487
2336
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2681,7 +2530,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2681
2530
  const uuid = bytes(randomBytes(16));
2682
2531
  return format === "bytes" ? uuid : stringify(uuid);
2683
2532
  };
2684
- var make22 = (randomBytes) => {
2533
+ var make21 = (randomBytes) => {
2685
2534
  const randomBytesChecked = (size) => {
2686
2535
  checkSize(size);
2687
2536
  return randomBytes(size);
@@ -2715,13 +2564,13 @@ var fillRandom = (crypto2, size) => {
2715
2564
  }
2716
2565
  return bytes;
2717
2566
  };
2718
- 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)))));
2719
2568
 
2720
2569
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2721
- var TypeId5 = "~effect/http/Cookies";
2570
+ var TypeId4 = "~effect/http/Cookies";
2722
2571
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2723
2572
  var Proto2 = {
2724
- [TypeId5]: TypeId5,
2573
+ [TypeId4]: TypeId4,
2725
2574
  ...BaseProto,
2726
2575
  toJSON() {
2727
2576
  return {
@@ -2900,14 +2749,14 @@ var tryDecodeURIComponent = (str) => {
2900
2749
  };
2901
2750
 
2902
2751
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2903
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2752
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2904
2753
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2905
- [TypeId6]: {
2906
- value: TypeId6
2754
+ [TypeId5]: {
2755
+ value: TypeId5
2907
2756
  },
2908
2757
  [symbolRedactable]: {
2909
2758
  value(context) {
2910
- return redact2(this, get3(context, CurrentRedactedNames));
2759
+ return redact2(this, get4(context, CurrentRedactedNames));
2911
2760
  }
2912
2761
  },
2913
2762
  toJSON: {
@@ -2932,7 +2781,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2932
2781
  value: BaseProto[NodeInspectSymbol]
2933
2782
  }
2934
2783
  });
2935
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2784
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2936
2785
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2937
2786
  var empty = /* @__PURE__ */ Object.create(Proto3);
2938
2787
  var fromInput = (input) => {
@@ -2957,21 +2806,21 @@ var fromInput = (input) => {
2957
2806
  };
2958
2807
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2959
2808
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2960
- const out = make23(self);
2809
+ const out = make22(self);
2961
2810
  out[key.toLowerCase()] = value;
2962
2811
  return out;
2963
2812
  });
2964
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2813
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2965
2814
  ...self,
2966
2815
  ...fromInput(headers)
2967
2816
  }));
2968
2817
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2969
- const out = make23(self);
2818
+ const out = make22(self);
2970
2819
  Object.assign(out, headers);
2971
2820
  return out;
2972
2821
  });
2973
2822
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2974
- const out = make23(self);
2823
+ const out = make22(self);
2975
2824
  delete out[key.toLowerCase()];
2976
2825
  return out;
2977
2826
  });
@@ -3028,18 +2877,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3028
2877
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3029
2878
 
3030
2879
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3031
- var TypeId7 = "~effect/http/UrlParams";
3032
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2880
+ var TypeId6 = "~effect/http/UrlParams";
2881
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3033
2882
  var Proto4 = {
3034
2883
  ...PipeInspectableProto,
3035
- [TypeId7]: TypeId7,
2884
+ [TypeId6]: TypeId6,
3036
2885
  [Symbol.iterator]() {
3037
2886
  return this.params[Symbol.iterator]();
3038
2887
  },
3039
2888
  [symbolRedactable](context) {
3040
2889
  return {
3041
2890
  _id: "UrlParams",
3042
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2891
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3043
2892
  };
3044
2893
  },
3045
2894
  toJSON() {
@@ -3052,7 +2901,7 @@ var Proto4 = {
3052
2901
  return array(this.params.flat());
3053
2902
  }
3054
2903
  };
3055
- var make24 = (params) => {
2904
+ var make23 = (params) => {
3056
2905
  const self = Object.create(Proto4);
3057
2906
  self.params = params;
3058
2907
  return self;
@@ -3071,7 +2920,7 @@ var fromInput2 = (input) => {
3071
2920
  out.push(parsed[i]);
3072
2921
  }
3073
2922
  }
3074
- return make24(out);
2923
+ return make23(out);
3075
2924
  };
3076
2925
  var fromInputNested = (input) => {
3077
2926
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3095,9 +2944,9 @@ var fromInputNested = (input) => {
3095
2944
  return out;
3096
2945
  };
3097
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
3098
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3099
2948
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3100
- var empty4 = /* @__PURE__ */ make24([]);
2949
+ var empty4 = /* @__PURE__ */ make23([]);
3101
2950
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3102
2951
  const params = fromInput2(input).params.slice();
3103
2952
  const keys = new Set;
@@ -3109,7 +2958,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3109
2958
  continue;
3110
2959
  params.push(self.params[i]);
3111
2960
  }
3112
- return make24(params);
2961
+ return make23(params);
3113
2962
  });
3114
2963
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3115
2964
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3165,13 +3014,13 @@ var decodeQueryKey = (key) => {
3165
3014
  return key;
3166
3015
  }
3167
3016
  };
3168
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3017
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3169
3018
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3170
3019
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3171
3020
  });
3172
3021
 
3173
3022
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3174
- var TypeId8 = "~effect/Terminal";
3023
+ var TypeId7 = "~effect/Terminal";
3175
3024
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3176
3025
 
3177
3026
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3180,14 +3029,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3180
3029
  [QuitErrorTypeId] = QuitErrorTypeId;
3181
3030
  }
3182
3031
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3183
- var make25 = (impl) => Terminal.of({
3032
+ var make24 = (impl) => Terminal.of({
3184
3033
  ...impl,
3185
- [TypeId8]: TypeId8
3034
+ [TypeId7]: TypeId7
3186
3035
  });
3187
3036
 
3188
3037
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3189
3038
  import * as readline from "readline";
3190
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3039
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3191
3040
  const stdin = process.stdin;
3192
3041
  const stdout = process.stdout;
3193
3042
  const lines = yield* make9();
@@ -3201,7 +3050,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3201
3050
  };
3202
3051
  stdin.once("end", onStdinEnd);
3203
3052
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3204
- const rlRef = yield* make18({
3053
+ const rlRef = yield* make10({
3205
3054
  acquire: acquireRelease(sync2(() => {
3206
3055
  const rl = readline.createInterface({
3207
3056
  input: stdin,
@@ -3240,7 +3089,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3240
3089
  if (stdin.isTTY)
3241
3090
  stdin.setRawMode(enabled);
3242
3091
  });
3243
- const rawModeRef = yield* make18({
3092
+ const rawModeRef = yield* make10({
3244
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3245
3094
  idleTimeToLive: "10 millis"
3246
3095
  });
@@ -3291,14 +3140,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3291
3140
  if (inputEnded) {
3292
3141
  handleEnd();
3293
3142
  } else {
3294
- yield* get5(rlRef);
3295
- yield* get5(rawModeRef);
3143
+ yield* get3(rlRef);
3144
+ yield* get3(rawModeRef);
3296
3145
  stdin.once("end", handleEnd);
3297
3146
  }
3298
3147
  return queue;
3299
3148
  });
3300
3149
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3301
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3150
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3302
3151
  onSome: succeed6
3303
3152
  })), mapError2(() => new QuitError({}))));
3304
3153
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3309,7 +3158,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3309
3158
  cause: err
3310
3159
  }))));
3311
3160
  }));
3312
- return make25({
3161
+ return make24({
3313
3162
  columns,
3314
3163
  rows,
3315
3164
  size,
@@ -3318,7 +3167,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3318
3167
  display
3319
3168
  });
3320
3169
  });
3321
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3170
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3322
3171
  function defaultShouldQuit(input) {
3323
3172
  const key = input.key;
3324
3173
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3345,7 +3194,7 @@ function toDate(input) {
3345
3194
  return toDateUtc2(makeUnsafe(input));
3346
3195
  }
3347
3196
  function parseDate(input) {
3348
- return getOrUndefined(map4(make19(input), toDateUtc2));
3197
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3349
3198
  }
3350
3199
  function toIso(input) {
3351
3200
  return formatIso(makeUnsafe(input));
@@ -9980,11 +9829,11 @@ var TranscriptSearchResult = Struct({
9980
9829
  total: Int
9981
9830
  });
9982
9831
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9983
- var TypeId9 = "~effect/http/HttpBody";
9832
+ var TypeId8 = "~effect/http/HttpBody";
9984
9833
  class Proto5 {
9985
- [TypeId9];
9834
+ [TypeId8];
9986
9835
  constructor() {
9987
- this[TypeId9] = TypeId9;
9836
+ this[TypeId8] = TypeId8;
9988
9837
  }
9989
9838
  [NodeInspectSymbol]() {
9990
9839
  return this.toJSON();
@@ -10075,7 +9924,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
10075
9924
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
10076
9925
 
10077
9926
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
10078
- var TypeId10 = "~effect/http/HttpClientError";
9927
+ var TypeId9 = "~effect/http/HttpClientError";
10079
9928
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10080
9929
  constructor(props) {
10081
9930
  if ("cause" in props.reason) {
@@ -10087,7 +9936,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10087
9936
  super(props);
10088
9937
  }
10089
9938
  }
10090
- [TypeId10] = TypeId10;
9939
+ [TypeId9] = TypeId9;
10091
9940
  get request() {
10092
9941
  return this.reason.request;
10093
9942
  }
@@ -10191,7 +10040,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
10191
10040
  }
10192
10041
  }
10193
10042
 
10194
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
10043
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
10195
10044
  _tag: /* @__PURE__ */ tag("HttpError"),
10196
10045
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
10197
10046
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -10224,7 +10073,7 @@ var updateContentLength = (headers, body) => {
10224
10073
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
10225
10074
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
10226
10075
  }
10227
- var make27 = (url, params, hash) => try_({
10076
+ var make26 = (url, params, hash) => try_({
10228
10077
  try: () => {
10229
10078
  const urlInstance = new URL(url, baseUrl());
10230
10079
  for (let i = 0;i < params.params.length; i++) {
@@ -10255,10 +10104,10 @@ var baseUrl = () => {
10255
10104
  };
10256
10105
 
10257
10106
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
10258
- var TypeId11 = "~effect/http/HttpClientRequest";
10259
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
10107
+ var TypeId10 = "~effect/http/HttpClientRequest";
10108
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10260
10109
  var Proto6 = {
10261
- [TypeId11]: TypeId11,
10110
+ [TypeId10]: TypeId10,
10262
10111
  ...BaseProto,
10263
10112
  toJSON() {
10264
10113
  return {
@@ -10347,7 +10196,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
10347
10196
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
10348
10197
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
10349
10198
  function toUrl(self) {
10350
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
10199
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10351
10200
  if (isSuccess(r)) {
10352
10201
  return some(r.success);
10353
10202
  }
@@ -10355,7 +10204,7 @@ function toUrl(self) {
10355
10204
  }
10356
10205
 
10357
10206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
10358
- var TypeId12 = "~effect/http/HttpIncomingMessage";
10207
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
10359
10208
  var schemaBodyJson = (schema, options) => {
10360
10209
  const decode = decodeEffect(toCodecJson(schema));
10361
10210
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10374,7 +10223,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10374
10223
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10375
10224
 
10376
10225
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10377
- var TypeId13 = "~effect/http/HttpClientResponse";
10226
+ var TypeId12 = "~effect/http/HttpClientResponse";
10378
10227
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10379
10228
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10380
10229
  reason: new StatusCodeError({
@@ -10385,16 +10234,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10385
10234
  }));
10386
10235
 
10387
10236
  class WebHttpClientResponse extends Class {
10237
+ [TypeId11];
10388
10238
  [TypeId12];
10389
- [TypeId13];
10390
10239
  request;
10391
10240
  source;
10392
10241
  constructor(request, source) {
10393
10242
  super();
10394
10243
  this.request = request;
10395
10244
  this.source = source;
10245
+ this[TypeId11] = TypeId11;
10396
10246
  this[TypeId12] = TypeId12;
10397
- this[TypeId13] = TypeId13;
10398
10247
  }
10399
10248
  toJSON() {
10400
10249
  return inspect(this, {
@@ -10566,7 +10415,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10566
10415
  };
10567
10416
 
10568
10417
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10569
- var TypeId14 = "~effect/http/HttpClient";
10418
+ var TypeId13 = "~effect/http/HttpClient";
10570
10419
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10571
10420
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10572
10421
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10583,7 +10432,7 @@ var makeWith2 = (postprocess, preprocess) => {
10583
10432
  return self;
10584
10433
  };
10585
10434
  var Proto7 = {
10586
- [TypeId14]: TypeId14,
10435
+ [TypeId13]: TypeId13,
10587
10436
  pipe() {
10588
10437
  return pipeArguments(this, arguments);
10589
10438
  },
@@ -10597,10 +10446,10 @@ var Proto7 = {
10597
10446
  return this.execute(make5(fullMethod)(url, options));
10598
10447
  }]))
10599
10448
  };
10600
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10449
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10601
10450
  const scopedController = scopedRequests.get(request);
10602
10451
  const controller = scopedController ?? new AbortController;
10603
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10452
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10604
10453
  if (isFailure(urlResult)) {
10605
10454
  return fail7(new HttpClientError({
10606
10455
  reason: new InvalidUrlError({
@@ -10734,8 +10583,8 @@ class InterruptibleResponse {
10734
10583
  this.original = original;
10735
10584
  this.controller = controller;
10736
10585
  }
10737
- [TypeId13] = TypeId13;
10738
10586
  [TypeId12] = TypeId12;
10587
+ [TypeId11] = TypeId11;
10739
10588
  applyInterrupt(effect) {
10740
10589
  return suspend3(() => {
10741
10590
  responseRegistry.unregister(this.original);
@@ -10833,7 +10682,7 @@ var detectStreamBodySupport = () => {
10833
10682
  return false;
10834
10683
  }
10835
10684
  };
10836
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10685
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10837
10686
  if (request.headers.upgrade !== undefined) {
10838
10687
  return fail7(new HttpClientError({
10839
10688
  reason: new TransportError({
@@ -10924,10 +10773,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10924
10773
  });
10925
10774
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10926
10775
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10927
- var TypeId15 = "~effect/socket/Socket";
10776
+ var TypeId14 = "~effect/socket/Socket";
10928
10777
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10929
- var make29 = (options) => Socket.of({
10930
- [TypeId15]: TypeId15,
10778
+ var make28 = (options) => Socket.of({
10779
+ [TypeId14]: TypeId14,
10931
10780
  reader: options.reader,
10932
10781
  writer: options.writer
10933
10782
  });
@@ -11250,7 +11099,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
11250
11099
  write,
11251
11100
  writeAll
11252
11101
  });
11253
- return succeed6(make29({
11102
+ return succeed6(make28({
11254
11103
  reader,
11255
11104
  writer
11256
11105
  }));
@@ -14226,7 +14075,7 @@ function getStreamSchemas(schema) {
14226
14075
  }
14227
14076
  var schema = /* @__PURE__ */ declare(isStream);
14228
14077
  function Stream(success, error) {
14229
- return make16(schema.ast, {
14078
+ return make17(schema.ast, {
14230
14079
  [StreamSchemaTypeId]: StreamSchemaTypeId,
14231
14080
  success,
14232
14081
  error
@@ -14234,9 +14083,9 @@ function Stream(success, error) {
14234
14083
  }
14235
14084
 
14236
14085
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
14237
- var TypeId16 = "~effect/rpc/Rpc";
14086
+ var TypeId15 = "~effect/rpc/Rpc";
14238
14087
  var Proto8 = {
14239
- [TypeId16]: TypeId16,
14088
+ [TypeId15]: TypeId15,
14240
14089
  pipe() {
14241
14090
  return pipeArguments(this, arguments);
14242
14091
  },
@@ -14403,7 +14252,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
14403
14252
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
14404
14253
 
14405
14254
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
14406
- var TypeId17 = "~effect/rpc/RpcClientError";
14255
+ var TypeId16 = "~effect/rpc/RpcClientError";
14407
14256
 
14408
14257
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
14409
14258
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14412,11 +14261,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14412
14261
  })) {
14413
14262
  }
14414
14263
 
14415
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14264
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14416
14265
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14417
14266
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14418
14267
  })) {
14419
- [TypeId17] = TypeId17;
14268
+ [TypeId16] = TypeId16;
14420
14269
  get message() {
14421
14270
  return `${this.reason._tag}: ${this.reason.message}`;
14422
14271
  }
@@ -14536,7 +14385,7 @@ var RpcGroupProto = {
14536
14385
  });
14537
14386
  },
14538
14387
  annotateRpcs(service, value) {
14539
- return this.annotateRpcsMerge(make14(service, value));
14388
+ return this.annotateRpcsMerge(make15(service, value));
14540
14389
  },
14541
14390
  annotateMerge(context) {
14542
14391
  return makeProto2({
@@ -14564,7 +14413,7 @@ var make7 = (...rpcs) => makeProto2({
14564
14413
  annotations: empty3()
14565
14414
  });
14566
14415
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14567
- var TypeId18 = "~effect/rpc/RpcMiddleware";
14416
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14568
14417
  var Service = () => (id, options) => {
14569
14418
  const limit = getStackTraceLimit();
14570
14419
  let creationError;
@@ -14582,7 +14431,7 @@ var Service = () => (id, options) => {
14582
14431
  return creationError?.stack;
14583
14432
  }
14584
14433
  });
14585
- ServiceClass_[TypeId18] = TypeId18;
14434
+ ServiceClass_[TypeId17] = TypeId17;
14586
14435
  ServiceClass_.error = options?.error ?? Never;
14587
14436
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14588
14437
  return ServiceClass;
@@ -15226,7 +15075,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
15226
15075
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
15227
15076
 
15228
15077
  // apps/cli/src/oauth.ts
15229
- var Scope2 = "openid profile email offline_access kitman:cli";
15078
+ var Scope = "openid profile email offline_access kitman:cli";
15230
15079
  var CallbackPath = "/auth/callback";
15231
15080
 
15232
15081
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -15245,7 +15094,7 @@ function buildAuthorizeUrl(input) {
15245
15094
  url.searchParams.set("response_type", "code");
15246
15095
  url.searchParams.set("client_id", input.clientId);
15247
15096
  url.searchParams.set("redirect_uri", input.redirectUri);
15248
- url.searchParams.set("scope", Scope2);
15097
+ url.searchParams.set("scope", Scope);
15249
15098
  url.searchParams.set("code_challenge", input.codeChallenge);
15250
15099
  url.searchParams.set("code_challenge_method", "S256");
15251
15100
  url.searchParams.set("state", input.state);
@@ -15305,7 +15154,7 @@ function toStoredSession(token, existingRefreshToken) {
15305
15154
  }
15306
15155
  function startLoopbackServer(input) {
15307
15156
  return gen(function* () {
15308
- const code = yield* make15();
15157
+ const code = yield* make16();
15309
15158
  const context2 = yield* context();
15310
15159
  const runSyncExit = runSyncExitWith(context2);
15311
15160
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15853,7 +15702,7 @@ var openConnection = (transport) => gen(function* () {
15853
15702
  let lastId = 0;
15854
15703
  let lost = false;
15855
15704
  const notifications = yield* unbounded2();
15856
- const ended = yield* make15();
15705
+ const ended = yield* make16();
15857
15706
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15858
15707
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15859
15708
  onNone: () => void_3,
@@ -15880,7 +15729,7 @@ var openConnection = (transport) => gen(function* () {
15880
15729
  if (lost)
15881
15730
  return yield* new HerdrCoreConnectionLost2({ method });
15882
15731
  const id = ++lastId;
15883
- const deferred = yield* make15();
15732
+ const deferred = yield* make16();
15884
15733
  pending.set(id, { method, deferred });
15885
15734
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15886
15735
  return yield* _await(deferred);
@@ -15954,7 +15803,7 @@ var herdrCoreOver = (transport) => ({
15954
15803
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15955
15804
  };
15956
15805
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15957
- 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)));
15958
15807
  }))
15959
15808
  });
15960
15809
  var spawnedTransport = (env) => gen(function* () {
@@ -16045,7 +15894,7 @@ var runProcess2 = (argv, options) => gen(function* () {
16045
15894
  const spawner = yield* ChildProcessSpawner;
16046
15895
  const [command, ...args] = argv;
16047
15896
  const handle = yield* spawner.spawn(make3(command, args, {
16048
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15897
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
16049
15898
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
16050
15899
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
16051
15900
  }));
@@ -16485,4 +16334,4 @@ function serviceChecks(declaration) {
16485
16334
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
16486
16335
  }
16487
16336
 
16488
- export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
16337
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };