@kitman-sh/cli 0.10.86 → 0.10.87

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 (26) hide show
  1. package/dist/{chunk-mak28dxp.js → chunk-11pnta38.js} +18 -18
  2. package/dist/{chunk-b0qaan2c.js → chunk-193zkyhj.js} +4 -4
  3. package/dist/{chunk-ehwvgxq8.js → chunk-4s08g8x1.js} +8 -8
  4. package/dist/{chunk-zms40x1v.js → chunk-62565d52.js} +2 -2
  5. package/dist/{chunk-93vddjpx.js → chunk-76ctrqm6.js} +1 -1
  6. package/dist/{chunk-bjexx93x.js → chunk-98sg1yyd.js} +2 -2
  7. package/dist/{chunk-mr30hj39.js → chunk-9zd52pda.js} +5 -5
  8. package/dist/{chunk-6tq2m8xc.js → chunk-bk31f16e.js} +3 -3
  9. package/dist/{chunk-999xbcaa.js → chunk-e8zm8z3a.js} +6 -6
  10. package/dist/{chunk-gmt7awee.js → chunk-fhgfsets.js} +6 -6
  11. package/dist/{chunk-qnnsy306.js → chunk-fq47a5yd.js} +2 -2
  12. package/dist/{chunk-q1qrwcnw.js → chunk-gaxp5nmx.js} +8 -8
  13. package/dist/{chunk-38end526.js → chunk-h6v1w0vw.js} +20 -20
  14. package/dist/{chunk-xq4k0mgr.js → chunk-jbwk6k6m.js} +60 -60
  15. package/dist/{chunk-3wvp5n5a.js → chunk-kgdppbdr.js} +1 -1
  16. package/dist/{chunk-wtx1vq9t.js → chunk-ky974pcr.js} +4 -4
  17. package/dist/{chunk-ekkjbmr9.js → chunk-m0yvvg6r.js} +5 -5
  18. package/dist/{chunk-jfgmhb6k.js → chunk-myjfc5nh.js} +5 -5
  19. package/dist/{chunk-y1x0mb3b.js → chunk-n3prr22y.js} +17 -17
  20. package/dist/{chunk-4sz3sg95.js → chunk-rxcy9h90.js} +7 -7
  21. package/dist/{chunk-292vjjdz.js → chunk-tzz4fv17.js} +1 -1
  22. package/dist/{chunk-h8fq958v.js → chunk-w5smxtzc.js} +142 -294
  23. package/dist/{chunk-2fqry6rd.js → chunk-xb70ys3n.js} +177 -34
  24. package/dist/{chunk-wbdgjd1n.js → chunk-z7mvdzqm.js} +29 -29
  25. package/dist/index.js +4 -4
  26. 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,
@@ -212,7 +202,7 @@ import {
212
202
  decodeEffect,
213
203
  decodeUnknownOption,
214
204
  decodeOption,
215
- make16,
205
+ make17,
216
206
  isSchema,
217
207
  optionalKey,
218
208
  optional,
@@ -259,44 +249,11 @@ import {
259
249
  decodeJsonStringOption,
260
250
  encodeJsonStringSync,
261
251
  encodePrettyJsonString
262
- } from "./chunk-xq4k0mgr.js";
263
- import {
264
- isDateTime,
265
- Numeric,
266
- isWholeNumber,
267
- guard,
268
- Id,
269
- Timestamp,
270
- ActorType,
271
- SecretName,
272
- SecretScope,
273
- SecretHosts,
274
- isSecretReference
275
- } from "./chunk-3wvp5n5a.js";
276
- import {
277
- toJsonValue,
278
- isOneOf,
279
- isBigInt,
280
- isBoolean,
281
- isFunction,
282
- isNumber,
283
- isObject,
284
- isJsonObject,
285
- isString,
286
- isSymbol,
287
- isUndefined,
288
- kindOf
289
- } from "./chunk-292vjjdz.js";
252
+ } from "./chunk-jbwk6k6m.js";
290
253
  import {
291
254
  map,
292
255
  makeEquivalence,
293
- Clock,
294
- currentTimeMillis,
295
256
  bytes,
296
- join,
297
- interrupt,
298
- getCurrent,
299
- runIn,
300
257
  BadArgument,
301
258
  systemError,
302
259
  badArgument,
@@ -318,11 +275,13 @@ import {
318
275
  isSink,
319
276
  fromChannel,
320
277
  drain,
278
+ make10,
279
+ get3,
321
280
  isStream,
322
281
  fromChannel2,
323
282
  callback,
324
283
  empty2,
325
- make10,
284
+ make11,
326
285
  suspend,
327
286
  fail2,
328
287
  fromQueue,
@@ -348,16 +307,43 @@ import {
348
307
  mkArrayBuffer,
349
308
  toReadableStreamEffect,
350
309
  FileSystem,
351
- make11,
310
+ make12,
352
311
  FileTypeId,
353
312
  WatchBackend,
354
313
  Path,
355
- make12,
314
+ make13,
356
315
  option,
357
316
  String2,
358
317
  optionalEnv,
359
318
  harnessesUnsupportedInSrt2
360
- } from "./chunk-2fqry6rd.js";
319
+ } from "./chunk-xb70ys3n.js";
320
+ import {
321
+ isDateTime,
322
+ Numeric,
323
+ isWholeNumber,
324
+ guard,
325
+ Id,
326
+ Timestamp,
327
+ ActorType,
328
+ SecretName,
329
+ SecretScope,
330
+ SecretHosts,
331
+ isSecretReference
332
+ } from "./chunk-kgdppbdr.js";
333
+ import {
334
+ toJsonValue,
335
+ isOneOf,
336
+ isBigInt,
337
+ isBoolean,
338
+ isFunction,
339
+ isNumber,
340
+ isObject,
341
+ isJsonObject,
342
+ isString,
343
+ isSymbol,
344
+ isUndefined,
345
+ kindOf
346
+ } from "./chunk-tzz4fv17.js";
361
347
  import {
362
348
  isRedacted,
363
349
  make,
@@ -371,11 +357,15 @@ import {
371
357
  make3,
372
358
  parseFdName,
373
359
  fdName
374
- } from "./chunk-bjexx93x.js";
360
+ } from "./chunk-98sg1yyd.js";
375
361
 
376
362
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
377
363
  var makeEquivalence3 = Tuple;
378
364
 
365
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
366
+ var Clock = ClockRef;
367
+ var currentTimeMillis = currentTimeMillis2;
368
+
379
369
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
380
370
  var TypeId = "~effect/DateTime";
381
371
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -510,7 +500,7 @@ var fromDateUnsafe = (date) => {
510
500
  }
511
501
  return makeUtc(epochMillis);
512
502
  };
513
- var makeUnsafe7 = (input) => {
503
+ var makeUnsafe6 = (input) => {
514
504
  if (isDateTime2(input)) {
515
505
  return input;
516
506
  } else if (input instanceof Date) {
@@ -530,7 +520,7 @@ var makeUnsafe7 = (input) => {
530
520
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
531
521
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
532
522
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
533
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
523
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
534
524
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
535
525
  var nowUnsafe = () => makeUtc(Date.now());
536
526
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -637,7 +627,7 @@ class Metric$ {
637
627
  }
638
628
  hook(context) {
639
629
  const key = this.key(context);
640
- const registry = get3(context, MetricRegistry);
630
+ const registry = get4(context, MetricRegistry);
641
631
  let metadata = registry.get(key);
642
632
  if (isUndefined2(metadata)) {
643
633
  metadata = this.metadata(this.createHooks());
@@ -646,11 +636,11 @@ class Metric$ {
646
636
  return metadata.hooks;
647
637
  }
648
638
  removeUnsafe(context) {
649
- get3(context, MetricRegistry).delete(this.key(context));
639
+ get4(context, MetricRegistry).delete(this.key(context));
650
640
  }
651
641
  registerUnsafe(context, hooks) {
652
642
  const key = this.key(context);
653
- const registry = get3(context, MetricRegistry);
643
+ const registry = get4(context, MetricRegistry);
654
644
  const metadata = this.metadata({
655
645
  get: hooks.get,
656
646
  update: constVoid,
@@ -666,7 +656,7 @@ class Metric$ {
666
656
  };
667
657
  }
668
658
  key(context) {
669
- const extraAttributes = get3(context, CurrentMetricAttributes);
659
+ const extraAttributes = get4(context, CurrentMetricAttributes);
670
660
  if (extraAttributes !== this.#extraAttributes) {
671
661
  this.#extraAttributes = extraAttributes;
672
662
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -918,151 +908,9 @@ var toNumber = (b) => {
918
908
  return some(Number(b));
919
909
  };
920
910
 
921
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
922
- var TypeId3 = "~effect/RcRef";
923
- var stateEmpty = {
924
- _tag: "Empty"
925
- };
926
- var stateClosed = {
927
- _tag: "Closed"
928
- };
929
- var variance = {
930
- _A: identity,
931
- _E: identity
932
- };
933
-
934
- class RcRefImpl {
935
- [TypeId3] = variance;
936
- pipe() {
937
- return pipeArguments(this, arguments);
938
- }
939
- state = stateEmpty;
940
- acquire;
941
- context;
942
- scope;
943
- idleTimeToLive;
944
- constructor(acquire, context, scope, idleTimeToLive) {
945
- this.acquire = acquire;
946
- this.context = context;
947
- this.scope = scope;
948
- this.idleTimeToLive = idleTimeToLive;
949
- }
950
- }
951
- var make17 = (options) => withFiber2((fiber) => {
952
- const context = fiber.context;
953
- const scope = get3(context, Scope);
954
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
955
- return as(addFinalizerExit(scope, () => {
956
- const state = ref.state;
957
- ref.state = stateClosed;
958
- if (state._tag === "Acquired")
959
- return close(state.scope, void_2);
960
- if (state._tag === "Acquiring")
961
- return interrupt(state.fiber);
962
- return void_3;
963
- }), ref);
964
- });
965
- var getState = (self, restore) => {
966
- switch (self.state._tag) {
967
- case "Closed": {
968
- return interrupt3;
969
- }
970
- case "Acquired": {
971
- const state = self.state;
972
- state.refCount++;
973
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
974
- }
975
- case "Acquiring": {
976
- const state = self.state;
977
- state.awaiters++;
978
- return awaitAcquiring(self, state, restore);
979
- }
980
- case "Empty": {
981
- const acquiring = {
982
- _tag: "Acquiring",
983
- fiber: undefined,
984
- awaiters: 1,
985
- acquired: undefined
986
- };
987
- self.state = acquiring;
988
- const scope = makeUnsafe6();
989
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
990
- if (self.state !== acquiring) {
991
- return interrupt3;
992
- }
993
- const state = {
994
- _tag: "Acquired",
995
- value,
996
- scope,
997
- fiber: undefined,
998
- refCount: acquiring.awaiters,
999
- invalidated: false
1000
- };
1001
- self.state = state;
1002
- acquiring.acquired = state;
1003
- return succeed6(state);
1004
- }), onExit((exit) => {
1005
- if (isSuccess2(exit))
1006
- return void_3;
1007
- if (self.state === acquiring)
1008
- self.state = stateEmpty;
1009
- return close(scope, exit);
1010
- }));
1011
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1012
- return awaitAcquiring(self, acquiring, restore);
1013
- }
1014
- }
1015
- };
1016
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1017
- const acquired = acquiring.acquired;
1018
- if (acquired !== undefined) {
1019
- return isFailure2(exit) ? release(self, acquired) : void_3;
1020
- }
1021
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1022
- return void_3;
1023
- self.state = stateEmpty;
1024
- return interrupt(acquiring.fiber);
1025
- });
1026
- var get4 = (self_) => {
1027
- const self = self_;
1028
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1029
- };
1030
- var release = (self, state) => {
1031
- state.refCount--;
1032
- if (state.refCount > 0) {
1033
- return void_3;
1034
- }
1035
- const idleTimeToLive = self.idleTimeToLive;
1036
- if (idleTimeToLive === undefined || state.invalidated) {
1037
- if (self.state === state) {
1038
- self.state = stateEmpty;
1039
- }
1040
- return close(state.scope, void_2);
1041
- } else if (!isFinite(idleTimeToLive)) {
1042
- return void_3;
1043
- }
1044
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1045
- if (self.state === state && state.refCount === 0) {
1046
- self.state = stateEmpty;
1047
- return ignoreCause(close(state.scope, void_2), {
1048
- log: "Unhandled",
1049
- message: "Unhandled error in RcRef finalizer"
1050
- });
1051
- }
1052
- return void_3;
1053
- })).pipe(ensuring2(sync2(() => {
1054
- state.fiber = undefined;
1055
- })), runForkWith(self.context), runIn(self.scope));
1056
- return void_3;
1057
- };
1058
-
1059
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1060
- var make18 = make17;
1061
- var get5 = get4;
1062
-
1063
911
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1064
- var makeUnsafe = makeUnsafe7;
1065
- var make19 = make4;
912
+ var makeUnsafe = makeUnsafe6;
913
+ var make18 = make4;
1066
914
  var now2 = now;
1067
915
  var nowUnsafe2 = nowUnsafe;
1068
916
  var toDateUtc2 = toDateUtc;
@@ -1381,7 +1229,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1381
1229
  windowsHide: true
1382
1230
  }, onExit);
1383
1231
  };
1384
- var make20 = /* @__PURE__ */ gen(function* () {
1232
+ var make19 = /* @__PURE__ */ gen(function* () {
1385
1233
  const fs = yield* FileSystem;
1386
1234
  const path = yield* Path;
1387
1235
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1910,7 +1758,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1910
1758
  });
1911
1759
  return make2(spawnCommand);
1912
1760
  });
1913
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1761
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1914
1762
  var flattenCommand = (command) => {
1915
1763
  const commands = [];
1916
1764
  const pipeOptions = [];
@@ -2394,7 +2242,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2394
2242
  resume(fail7(handleBadArgument("writeFile")(err)));
2395
2243
  }
2396
2244
  });
2397
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2245
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2398
2246
  access: access2,
2399
2247
  chmod: chmod2,
2400
2248
  chown: chown2,
@@ -2454,15 +2302,15 @@ var fileUrlOps = (windows) => ({
2454
2302
  })
2455
2303
  })
2456
2304
  });
2457
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2305
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2458
2306
  ...NodePath.posix,
2459
2307
  .../* @__PURE__ */ fileUrlOps(false)
2460
2308
  }));
2461
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2309
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2462
2310
  ...NodePath.win32,
2463
2311
  .../* @__PURE__ */ fileUrlOps(true)
2464
2312
  }));
2465
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2313
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2466
2314
  ...NodePath,
2467
2315
  .../* @__PURE__ */ fileUrlOps(undefined)
2468
2316
  }));
@@ -2471,10 +2319,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2471
2319
  var layer2 = layer7;
2472
2320
 
2473
2321
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2474
- var TypeId4 = "~effect/Stdio";
2475
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2476
- var make21 = (options) => ({
2477
- [TypeId4]: TypeId4,
2322
+ var TypeId3 = "~effect/Stdio";
2323
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2324
+ var make20 = (options) => ({
2325
+ [TypeId3]: TypeId3,
2478
2326
  stdinIsTerminal: succeed6(false),
2479
2327
  stdoutIsTerminal: succeed6(false),
2480
2328
  stderrIsTerminal: succeed6(false),
@@ -2482,7 +2330,7 @@ var make21 = (options) => ({
2482
2330
  });
2483
2331
 
2484
2332
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2485
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2333
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2486
2334
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2487
2335
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2488
2336
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2682,7 +2530,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2682
2530
  const uuid = bytes(randomBytes(16));
2683
2531
  return format === "bytes" ? uuid : stringify(uuid);
2684
2532
  };
2685
- var make22 = (randomBytes) => {
2533
+ var make21 = (randomBytes) => {
2686
2534
  const randomBytesChecked = (size) => {
2687
2535
  checkSize(size);
2688
2536
  return randomBytes(size);
@@ -2716,13 +2564,13 @@ var fillRandom = (crypto2, size) => {
2716
2564
  }
2717
2565
  return bytes;
2718
2566
  };
2719
- 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)))));
2720
2568
 
2721
2569
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2722
- var TypeId5 = "~effect/http/Cookies";
2570
+ var TypeId4 = "~effect/http/Cookies";
2723
2571
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2724
2572
  var Proto2 = {
2725
- [TypeId5]: TypeId5,
2573
+ [TypeId4]: TypeId4,
2726
2574
  ...BaseProto,
2727
2575
  toJSON() {
2728
2576
  return {
@@ -2901,14 +2749,14 @@ var tryDecodeURIComponent = (str) => {
2901
2749
  };
2902
2750
 
2903
2751
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2904
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2752
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2905
2753
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2906
- [TypeId6]: {
2907
- value: TypeId6
2754
+ [TypeId5]: {
2755
+ value: TypeId5
2908
2756
  },
2909
2757
  [symbolRedactable]: {
2910
2758
  value(context) {
2911
- return redact2(this, get3(context, CurrentRedactedNames));
2759
+ return redact2(this, get4(context, CurrentRedactedNames));
2912
2760
  }
2913
2761
  },
2914
2762
  toJSON: {
@@ -2933,7 +2781,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2933
2781
  value: BaseProto[NodeInspectSymbol]
2934
2782
  }
2935
2783
  });
2936
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2784
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2937
2785
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2938
2786
  var empty = /* @__PURE__ */ Object.create(Proto3);
2939
2787
  var fromInput = (input) => {
@@ -2958,21 +2806,21 @@ var fromInput = (input) => {
2958
2806
  };
2959
2807
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2960
2808
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2961
- const out = make23(self);
2809
+ const out = make22(self);
2962
2810
  out[key.toLowerCase()] = value;
2963
2811
  return out;
2964
2812
  });
2965
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2813
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2966
2814
  ...self,
2967
2815
  ...fromInput(headers)
2968
2816
  }));
2969
2817
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2970
- const out = make23(self);
2818
+ const out = make22(self);
2971
2819
  Object.assign(out, headers);
2972
2820
  return out;
2973
2821
  });
2974
2822
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2975
- const out = make23(self);
2823
+ const out = make22(self);
2976
2824
  delete out[key.toLowerCase()];
2977
2825
  return out;
2978
2826
  });
@@ -3029,18 +2877,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3029
2877
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3030
2878
 
3031
2879
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3032
- var TypeId7 = "~effect/http/UrlParams";
3033
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2880
+ var TypeId6 = "~effect/http/UrlParams";
2881
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3034
2882
  var Proto4 = {
3035
2883
  ...PipeInspectableProto,
3036
- [TypeId7]: TypeId7,
2884
+ [TypeId6]: TypeId6,
3037
2885
  [Symbol.iterator]() {
3038
2886
  return this.params[Symbol.iterator]();
3039
2887
  },
3040
2888
  [symbolRedactable](context) {
3041
2889
  return {
3042
2890
  _id: "UrlParams",
3043
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2891
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3044
2892
  };
3045
2893
  },
3046
2894
  toJSON() {
@@ -3053,7 +2901,7 @@ var Proto4 = {
3053
2901
  return array(this.params.flat());
3054
2902
  }
3055
2903
  };
3056
- var make24 = (params) => {
2904
+ var make23 = (params) => {
3057
2905
  const self = Object.create(Proto4);
3058
2906
  self.params = params;
3059
2907
  return self;
@@ -3072,7 +2920,7 @@ var fromInput2 = (input) => {
3072
2920
  out.push(parsed[i]);
3073
2921
  }
3074
2922
  }
3075
- return make24(out);
2923
+ return make23(out);
3076
2924
  };
3077
2925
  var fromInputNested = (input) => {
3078
2926
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3096,9 +2944,9 @@ var fromInputNested = (input) => {
3096
2944
  return out;
3097
2945
  };
3098
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
3099
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2947
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3100
2948
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3101
- var empty4 = /* @__PURE__ */ make24([]);
2949
+ var empty4 = /* @__PURE__ */ make23([]);
3102
2950
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3103
2951
  const params = fromInput2(input).params.slice();
3104
2952
  const keys = new Set;
@@ -3110,7 +2958,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3110
2958
  continue;
3111
2959
  params.push(self.params[i]);
3112
2960
  }
3113
- return make24(params);
2961
+ return make23(params);
3114
2962
  });
3115
2963
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3116
2964
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3166,13 +3014,13 @@ var decodeQueryKey = (key) => {
3166
3014
  return key;
3167
3015
  }
3168
3016
  };
3169
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3017
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3170
3018
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3171
3019
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3172
3020
  });
3173
3021
 
3174
3022
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3175
- var TypeId8 = "~effect/Terminal";
3023
+ var TypeId7 = "~effect/Terminal";
3176
3024
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3177
3025
 
3178
3026
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3181,14 +3029,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3181
3029
  [QuitErrorTypeId] = QuitErrorTypeId;
3182
3030
  }
3183
3031
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3184
- var make25 = (impl) => Terminal.of({
3032
+ var make24 = (impl) => Terminal.of({
3185
3033
  ...impl,
3186
- [TypeId8]: TypeId8
3034
+ [TypeId7]: TypeId7
3187
3035
  });
3188
3036
 
3189
3037
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3190
3038
  import * as readline from "readline";
3191
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3039
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3192
3040
  const stdin = process.stdin;
3193
3041
  const stdout = process.stdout;
3194
3042
  const lines = yield* make9();
@@ -3202,7 +3050,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3202
3050
  };
3203
3051
  stdin.once("end", onStdinEnd);
3204
3052
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3205
- const rlRef = yield* make18({
3053
+ const rlRef = yield* make10({
3206
3054
  acquire: acquireRelease(sync2(() => {
3207
3055
  const rl = readline.createInterface({
3208
3056
  input: stdin,
@@ -3241,7 +3089,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3241
3089
  if (stdin.isTTY)
3242
3090
  stdin.setRawMode(enabled);
3243
3091
  });
3244
- const rawModeRef = yield* make18({
3092
+ const rawModeRef = yield* make10({
3245
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3246
3094
  idleTimeToLive: "10 millis"
3247
3095
  });
@@ -3292,14 +3140,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3292
3140
  if (inputEnded) {
3293
3141
  handleEnd();
3294
3142
  } else {
3295
- yield* get5(rlRef);
3296
- yield* get5(rawModeRef);
3143
+ yield* get3(rlRef);
3144
+ yield* get3(rawModeRef);
3297
3145
  stdin.once("end", handleEnd);
3298
3146
  }
3299
3147
  return queue;
3300
3148
  });
3301
3149
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3302
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3150
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3303
3151
  onSome: succeed6
3304
3152
  })), mapError2(() => new QuitError({}))));
3305
3153
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3310,7 +3158,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3310
3158
  cause: err
3311
3159
  }))));
3312
3160
  }));
3313
- return make25({
3161
+ return make24({
3314
3162
  columns,
3315
3163
  rows,
3316
3164
  size,
@@ -3319,7 +3167,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3319
3167
  display
3320
3168
  });
3321
3169
  });
3322
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3170
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3323
3171
  function defaultShouldQuit(input) {
3324
3172
  const key = input.key;
3325
3173
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3346,7 +3194,7 @@ function toDate(input) {
3346
3194
  return toDateUtc2(makeUnsafe(input));
3347
3195
  }
3348
3196
  function parseDate(input) {
3349
- return getOrUndefined(map4(make19(input), toDateUtc2));
3197
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3350
3198
  }
3351
3199
  function toIso(input) {
3352
3200
  return formatIso(makeUnsafe(input));
@@ -9548,11 +9396,11 @@ var TranscriptSearchResult = Struct({
9548
9396
  total: Int
9549
9397
  });
9550
9398
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9551
- var TypeId9 = "~effect/http/HttpBody";
9399
+ var TypeId8 = "~effect/http/HttpBody";
9552
9400
  class Proto5 {
9553
- [TypeId9];
9401
+ [TypeId8];
9554
9402
  constructor() {
9555
- this[TypeId9] = TypeId9;
9403
+ this[TypeId8] = TypeId8;
9556
9404
  }
9557
9405
  [NodeInspectSymbol]() {
9558
9406
  return this.toJSON();
@@ -9643,7 +9491,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
9643
9491
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
9644
9492
 
9645
9493
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9646
- var TypeId10 = "~effect/http/HttpClientError";
9494
+ var TypeId9 = "~effect/http/HttpClientError";
9647
9495
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9648
9496
  constructor(props) {
9649
9497
  if ("cause" in props.reason) {
@@ -9655,7 +9503,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9655
9503
  super(props);
9656
9504
  }
9657
9505
  }
9658
- [TypeId10] = TypeId10;
9506
+ [TypeId9] = TypeId9;
9659
9507
  get request() {
9660
9508
  return this.reason.request;
9661
9509
  }
@@ -9759,7 +9607,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
9759
9607
  }
9760
9608
  }
9761
9609
 
9762
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9610
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
9763
9611
  _tag: /* @__PURE__ */ tag("HttpError"),
9764
9612
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
9765
9613
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -9792,7 +9640,7 @@ var updateContentLength = (headers, body) => {
9792
9640
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
9793
9641
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
9794
9642
  }
9795
- var make27 = (url, params, hash) => try_({
9643
+ var make26 = (url, params, hash) => try_({
9796
9644
  try: () => {
9797
9645
  const urlInstance = new URL(url, baseUrl());
9798
9646
  for (let i = 0;i < params.params.length; i++) {
@@ -9823,10 +9671,10 @@ var baseUrl = () => {
9823
9671
  };
9824
9672
 
9825
9673
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
9826
- var TypeId11 = "~effect/http/HttpClientRequest";
9827
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
9674
+ var TypeId10 = "~effect/http/HttpClientRequest";
9675
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
9828
9676
  var Proto6 = {
9829
- [TypeId11]: TypeId11,
9677
+ [TypeId10]: TypeId10,
9830
9678
  ...BaseProto,
9831
9679
  toJSON() {
9832
9680
  return {
@@ -9915,7 +9763,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
9915
9763
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
9916
9764
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
9917
9765
  function toUrl(self) {
9918
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
9766
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
9919
9767
  if (isSuccess(r)) {
9920
9768
  return some(r.success);
9921
9769
  }
@@ -9923,7 +9771,7 @@ function toUrl(self) {
9923
9771
  }
9924
9772
 
9925
9773
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
9926
- var TypeId12 = "~effect/http/HttpIncomingMessage";
9774
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
9927
9775
  var schemaBodyJson = (schema, options) => {
9928
9776
  const decode = decodeEffect(toCodecJson(schema));
9929
9777
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -9942,7 +9790,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
9942
9790
  var getWebSource = (self) => self[WebSourceSymbol]?.();
9943
9791
 
9944
9792
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
9945
- var TypeId13 = "~effect/http/HttpClientResponse";
9793
+ var TypeId12 = "~effect/http/HttpClientResponse";
9946
9794
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
9947
9795
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
9948
9796
  reason: new StatusCodeError({
@@ -9953,16 +9801,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
9953
9801
  }));
9954
9802
 
9955
9803
  class WebHttpClientResponse extends Class {
9804
+ [TypeId11];
9956
9805
  [TypeId12];
9957
- [TypeId13];
9958
9806
  request;
9959
9807
  source;
9960
9808
  constructor(request, source) {
9961
9809
  super();
9962
9810
  this.request = request;
9963
9811
  this.source = source;
9812
+ this[TypeId11] = TypeId11;
9964
9813
  this[TypeId12] = TypeId12;
9965
- this[TypeId13] = TypeId13;
9966
9814
  }
9967
9815
  toJSON() {
9968
9816
  return inspect(this, {
@@ -10134,7 +9982,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10134
9982
  };
10135
9983
 
10136
9984
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10137
- var TypeId14 = "~effect/http/HttpClient";
9985
+ var TypeId13 = "~effect/http/HttpClient";
10138
9986
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10139
9987
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10140
9988
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10151,7 +9999,7 @@ var makeWith2 = (postprocess, preprocess) => {
10151
9999
  return self;
10152
10000
  };
10153
10001
  var Proto7 = {
10154
- [TypeId14]: TypeId14,
10002
+ [TypeId13]: TypeId13,
10155
10003
  pipe() {
10156
10004
  return pipeArguments(this, arguments);
10157
10005
  },
@@ -10165,10 +10013,10 @@ var Proto7 = {
10165
10013
  return this.execute(make5(fullMethod)(url, options));
10166
10014
  }]))
10167
10015
  };
10168
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10016
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10169
10017
  const scopedController = scopedRequests.get(request);
10170
10018
  const controller = scopedController ?? new AbortController;
10171
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10019
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10172
10020
  if (isFailure(urlResult)) {
10173
10021
  return fail7(new HttpClientError({
10174
10022
  reason: new InvalidUrlError({
@@ -10302,8 +10150,8 @@ class InterruptibleResponse {
10302
10150
  this.original = original;
10303
10151
  this.controller = controller;
10304
10152
  }
10305
- [TypeId13] = TypeId13;
10306
10153
  [TypeId12] = TypeId12;
10154
+ [TypeId11] = TypeId11;
10307
10155
  applyInterrupt(effect) {
10308
10156
  return suspend3(() => {
10309
10157
  responseRegistry.unregister(this.original);
@@ -10401,7 +10249,7 @@ var detectStreamBodySupport = () => {
10401
10249
  return false;
10402
10250
  }
10403
10251
  };
10404
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10252
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10405
10253
  if (request.headers.upgrade !== undefined) {
10406
10254
  return fail7(new HttpClientError({
10407
10255
  reason: new TransportError({
@@ -10492,10 +10340,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10492
10340
  });
10493
10341
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10494
10342
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10495
- var TypeId15 = "~effect/socket/Socket";
10343
+ var TypeId14 = "~effect/socket/Socket";
10496
10344
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10497
- var make29 = (options) => Socket.of({
10498
- [TypeId15]: TypeId15,
10345
+ var make28 = (options) => Socket.of({
10346
+ [TypeId14]: TypeId14,
10499
10347
  reader: options.reader,
10500
10348
  writer: options.writer
10501
10349
  });
@@ -10818,7 +10666,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
10818
10666
  write,
10819
10667
  writeAll
10820
10668
  });
10821
- return succeed6(make29({
10669
+ return succeed6(make28({
10822
10670
  reader,
10823
10671
  writer
10824
10672
  }));
@@ -13670,7 +13518,7 @@ function getStreamSchemas(schema) {
13670
13518
  }
13671
13519
  var schema = /* @__PURE__ */ declare(isStream);
13672
13520
  function Stream(success, error) {
13673
- return make16(schema.ast, {
13521
+ return make17(schema.ast, {
13674
13522
  [StreamSchemaTypeId]: StreamSchemaTypeId,
13675
13523
  success,
13676
13524
  error
@@ -13678,9 +13526,9 @@ function Stream(success, error) {
13678
13526
  }
13679
13527
 
13680
13528
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
13681
- var TypeId16 = "~effect/rpc/Rpc";
13529
+ var TypeId15 = "~effect/rpc/Rpc";
13682
13530
  var Proto8 = {
13683
- [TypeId16]: TypeId16,
13531
+ [TypeId15]: TypeId15,
13684
13532
  pipe() {
13685
13533
  return pipeArguments(this, arguments);
13686
13534
  },
@@ -13847,7 +13695,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
13847
13695
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
13848
13696
 
13849
13697
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
13850
- var TypeId17 = "~effect/rpc/RpcClientError";
13698
+ var TypeId16 = "~effect/rpc/RpcClientError";
13851
13699
 
13852
13700
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
13853
13701
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -13856,11 +13704,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
13856
13704
  })) {
13857
13705
  }
13858
13706
 
13859
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
13707
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
13860
13708
  _tag: /* @__PURE__ */ tag("RpcClientError"),
13861
13709
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
13862
13710
  })) {
13863
- [TypeId17] = TypeId17;
13711
+ [TypeId16] = TypeId16;
13864
13712
  get message() {
13865
13713
  return `${this.reason._tag}: ${this.reason.message}`;
13866
13714
  }
@@ -13980,7 +13828,7 @@ var RpcGroupProto = {
13980
13828
  });
13981
13829
  },
13982
13830
  annotateRpcs(service, value) {
13983
- return this.annotateRpcsMerge(make14(service, value));
13831
+ return this.annotateRpcsMerge(make15(service, value));
13984
13832
  },
13985
13833
  annotateMerge(context) {
13986
13834
  return makeProto2({
@@ -14008,7 +13856,7 @@ var make7 = (...rpcs) => makeProto2({
14008
13856
  annotations: empty3()
14009
13857
  });
14010
13858
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14011
- var TypeId18 = "~effect/rpc/RpcMiddleware";
13859
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14012
13860
  var Service = () => (id, options) => {
14013
13861
  const limit = getStackTraceLimit();
14014
13862
  let creationError;
@@ -14026,7 +13874,7 @@ var Service = () => (id, options) => {
14026
13874
  return creationError?.stack;
14027
13875
  }
14028
13876
  });
14029
- ServiceClass_[TypeId18] = TypeId18;
13877
+ ServiceClass_[TypeId17] = TypeId17;
14030
13878
  ServiceClass_.error = options?.error ?? Never;
14031
13879
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14032
13880
  return ServiceClass;
@@ -14624,7 +14472,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
14624
14472
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
14625
14473
 
14626
14474
  // apps/cli/src/oauth.ts
14627
- var Scope2 = "openid profile email offline_access kitman:cli";
14475
+ var Scope = "openid profile email offline_access kitman:cli";
14628
14476
  var CallbackPath = "/auth/callback";
14629
14477
 
14630
14478
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -14643,7 +14491,7 @@ function buildAuthorizeUrl(input) {
14643
14491
  url.searchParams.set("response_type", "code");
14644
14492
  url.searchParams.set("client_id", input.clientId);
14645
14493
  url.searchParams.set("redirect_uri", input.redirectUri);
14646
- url.searchParams.set("scope", Scope2);
14494
+ url.searchParams.set("scope", Scope);
14647
14495
  url.searchParams.set("code_challenge", input.codeChallenge);
14648
14496
  url.searchParams.set("code_challenge_method", "S256");
14649
14497
  url.searchParams.set("state", input.state);
@@ -14703,7 +14551,7 @@ function toStoredSession(token, existingRefreshToken) {
14703
14551
  }
14704
14552
  function startLoopbackServer(input) {
14705
14553
  return gen(function* () {
14706
- const code = yield* make15();
14554
+ const code = yield* make16();
14707
14555
  const context2 = yield* context();
14708
14556
  const runSyncExit = runSyncExitWith(context2);
14709
14557
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15243,7 +15091,7 @@ var openConnection = (transport) => gen(function* () {
15243
15091
  let lastId = 0;
15244
15092
  let lost = false;
15245
15093
  const notifications = yield* unbounded2();
15246
- const ended = yield* make15();
15094
+ const ended = yield* make16();
15247
15095
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15248
15096
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15249
15097
  onNone: () => void_3,
@@ -15270,7 +15118,7 @@ var openConnection = (transport) => gen(function* () {
15270
15118
  if (lost)
15271
15119
  return yield* new HerdrCoreConnectionLost2({ method });
15272
15120
  const id = ++lastId;
15273
- const deferred = yield* make15();
15121
+ const deferred = yield* make16();
15274
15122
  pending.set(id, { method, deferred });
15275
15123
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15276
15124
  return yield* _await(deferred);
@@ -15344,7 +15192,7 @@ var herdrCoreOver = (transport) => ({
15344
15192
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15345
15193
  };
15346
15194
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15347
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15195
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15348
15196
  }))
15349
15197
  });
15350
15198
  var spawnedTransport = (env) => gen(function* () {
@@ -15435,7 +15283,7 @@ var runProcess2 = (argv, options) => gen(function* () {
15435
15283
  const spawner = yield* ChildProcessSpawner;
15436
15284
  const [command, ...args] = argv;
15437
15285
  const handle = yield* spawner.spawn(make3(command, args, {
15438
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15286
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15439
15287
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15440
15288
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15441
15289
  }));
@@ -15858,4 +15706,4 @@ function checkServices(declaration) {
15858
15706
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15859
15707
  }
15860
15708
 
15861
- 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, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, 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 };
15709
+ 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, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, defaultRunnerCapabilities, 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, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, 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 };