@kitman-sh/cli 0.10.83 → 0.10.85

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-ptp9p22x.js → chunk-11pnta38.js} +18 -18
  2. package/dist/{chunk-7wag4s6j.js → chunk-193zkyhj.js} +4 -4
  3. package/dist/{chunk-smnx6fad.js → chunk-4s08g8x1.js} +8 -8
  4. package/dist/{chunk-by54dw1n.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-xbyd16q3.js → chunk-bk31f16e.js} +3 -3
  9. package/dist/{chunk-1chta572.js → chunk-dcxtztbx.js} +10 -10
  10. package/dist/{chunk-999xbcaa.js → chunk-e8zm8z3a.js} +6 -6
  11. package/dist/{chunk-dzthc6th.js → chunk-fhgfsets.js} +6 -6
  12. package/dist/{chunk-qnnsy306.js → chunk-fq47a5yd.js} +2 -2
  13. package/dist/{chunk-2rpwpzt5.js → chunk-gaxp5nmx.js} +15 -15
  14. package/dist/{chunk-xq4k0mgr.js → chunk-jbwk6k6m.js} +60 -60
  15. package/dist/{chunk-7bsf0fyh.js → chunk-kgdppbdr.js} +6 -1
  16. package/dist/{chunk-72232jhj.js → chunk-ky974pcr.js} +4 -4
  17. package/dist/{chunk-66fhj0c3.js → chunk-m0yvvg6r.js} +7 -7
  18. package/dist/{chunk-6kt28g8r.js → chunk-mxkx0vj5.js} +24 -24
  19. package/dist/{chunk-adqabkwv.js → chunk-myjfc5nh.js} +5 -5
  20. package/dist/{chunk-hccw303w.js → chunk-rxcy9h90.js} +7 -7
  21. package/dist/{chunk-292vjjdz.js → chunk-tzz4fv17.js} +1 -1
  22. package/dist/{chunk-tnqzvx55.js → chunk-w5smxtzc.js} +144 -295
  23. package/dist/{chunk-2fqry6rd.js → chunk-xb70ys3n.js} +177 -34
  24. package/dist/{chunk-20rbya07.js → chunk-ycmnmmep.js} +31 -31
  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,31 +249,11 @@ import {
259
249
  decodeJsonStringOption,
260
250
  encodeJsonStringSync,
261
251
  encodePrettyJsonString
262
- } from "./chunk-xq4k0mgr.js";
263
- import {
264
- toJsonValue,
265
- isOneOf,
266
- isBigInt,
267
- isBoolean,
268
- isFunction,
269
- isNumber,
270
- isObject,
271
- isJsonObject,
272
- isString,
273
- isSymbol,
274
- isUndefined,
275
- kindOf
276
- } from "./chunk-292vjjdz.js";
252
+ } from "./chunk-jbwk6k6m.js";
277
253
  import {
278
254
  map,
279
255
  makeEquivalence,
280
- Clock,
281
- currentTimeMillis,
282
256
  bytes,
283
- join,
284
- interrupt,
285
- getCurrent,
286
- runIn,
287
257
  BadArgument,
288
258
  systemError,
289
259
  badArgument,
@@ -305,11 +275,13 @@ import {
305
275
  isSink,
306
276
  fromChannel,
307
277
  drain,
278
+ make10,
279
+ get3,
308
280
  isStream,
309
281
  fromChannel2,
310
282
  callback,
311
283
  empty2,
312
- make10,
284
+ make11,
313
285
  suspend,
314
286
  fail2,
315
287
  fromQueue,
@@ -335,16 +307,43 @@ import {
335
307
  mkArrayBuffer,
336
308
  toReadableStreamEffect,
337
309
  FileSystem,
338
- make11,
310
+ make12,
339
311
  FileTypeId,
340
312
  WatchBackend,
341
313
  Path,
342
- make12,
314
+ make13,
343
315
  option,
344
316
  String2,
345
317
  optionalEnv,
346
318
  harnessesUnsupportedInSrt2
347
- } 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";
348
347
  import {
349
348
  isRedacted,
350
349
  make,
@@ -358,24 +357,15 @@ import {
358
357
  make3,
359
358
  parseFdName,
360
359
  fdName
361
- } from "./chunk-bjexx93x.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-7bsf0fyh.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));
@@ -6541,7 +6389,8 @@ var RunDisplayStates = [
6541
6389
  var RunDisplay = Struct({
6542
6390
  state: Literals(RunDisplayStates),
6543
6391
  retried: Boolean2,
6544
- summary: optionalKey(String4)
6392
+ summary: optionalKey(String4),
6393
+ childQuestion: optionalKey(Struct({ runId: Id, name: String4, questionId: Id, prompt: String4 }))
6545
6394
  });
6546
6395
  var RunGraphNodeKinds = ["agent", "check", "question", "child", "wait", "activity"];
6547
6396
  var RunGraphNode = Struct({
@@ -9547,11 +9396,11 @@ var TranscriptSearchResult = Struct({
9547
9396
  total: Int
9548
9397
  });
9549
9398
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9550
- var TypeId9 = "~effect/http/HttpBody";
9399
+ var TypeId8 = "~effect/http/HttpBody";
9551
9400
  class Proto5 {
9552
- [TypeId9];
9401
+ [TypeId8];
9553
9402
  constructor() {
9554
- this[TypeId9] = TypeId9;
9403
+ this[TypeId8] = TypeId8;
9555
9404
  }
9556
9405
  [NodeInspectSymbol]() {
9557
9406
  return this.toJSON();
@@ -9642,7 +9491,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
9642
9491
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
9643
9492
 
9644
9493
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9645
- var TypeId10 = "~effect/http/HttpClientError";
9494
+ var TypeId9 = "~effect/http/HttpClientError";
9646
9495
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9647
9496
  constructor(props) {
9648
9497
  if ("cause" in props.reason) {
@@ -9654,7 +9503,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9654
9503
  super(props);
9655
9504
  }
9656
9505
  }
9657
- [TypeId10] = TypeId10;
9506
+ [TypeId9] = TypeId9;
9658
9507
  get request() {
9659
9508
  return this.reason.request;
9660
9509
  }
@@ -9758,7 +9607,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
9758
9607
  }
9759
9608
  }
9760
9609
 
9761
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9610
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
9762
9611
  _tag: /* @__PURE__ */ tag("HttpError"),
9763
9612
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
9764
9613
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -9791,7 +9640,7 @@ var updateContentLength = (headers, body) => {
9791
9640
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
9792
9641
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
9793
9642
  }
9794
- var make27 = (url, params, hash) => try_({
9643
+ var make26 = (url, params, hash) => try_({
9795
9644
  try: () => {
9796
9645
  const urlInstance = new URL(url, baseUrl());
9797
9646
  for (let i = 0;i < params.params.length; i++) {
@@ -9822,10 +9671,10 @@ var baseUrl = () => {
9822
9671
  };
9823
9672
 
9824
9673
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
9825
- var TypeId11 = "~effect/http/HttpClientRequest";
9826
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
9674
+ var TypeId10 = "~effect/http/HttpClientRequest";
9675
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
9827
9676
  var Proto6 = {
9828
- [TypeId11]: TypeId11,
9677
+ [TypeId10]: TypeId10,
9829
9678
  ...BaseProto,
9830
9679
  toJSON() {
9831
9680
  return {
@@ -9914,7 +9763,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
9914
9763
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
9915
9764
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
9916
9765
  function toUrl(self) {
9917
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
9766
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
9918
9767
  if (isSuccess(r)) {
9919
9768
  return some(r.success);
9920
9769
  }
@@ -9922,7 +9771,7 @@ function toUrl(self) {
9922
9771
  }
9923
9772
 
9924
9773
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
9925
- var TypeId12 = "~effect/http/HttpIncomingMessage";
9774
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
9926
9775
  var schemaBodyJson = (schema, options) => {
9927
9776
  const decode = decodeEffect(toCodecJson(schema));
9928
9777
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -9941,7 +9790,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
9941
9790
  var getWebSource = (self) => self[WebSourceSymbol]?.();
9942
9791
 
9943
9792
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
9944
- var TypeId13 = "~effect/http/HttpClientResponse";
9793
+ var TypeId12 = "~effect/http/HttpClientResponse";
9945
9794
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
9946
9795
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
9947
9796
  reason: new StatusCodeError({
@@ -9952,16 +9801,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
9952
9801
  }));
9953
9802
 
9954
9803
  class WebHttpClientResponse extends Class {
9804
+ [TypeId11];
9955
9805
  [TypeId12];
9956
- [TypeId13];
9957
9806
  request;
9958
9807
  source;
9959
9808
  constructor(request, source) {
9960
9809
  super();
9961
9810
  this.request = request;
9962
9811
  this.source = source;
9812
+ this[TypeId11] = TypeId11;
9963
9813
  this[TypeId12] = TypeId12;
9964
- this[TypeId13] = TypeId13;
9965
9814
  }
9966
9815
  toJSON() {
9967
9816
  return inspect(this, {
@@ -10133,7 +9982,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10133
9982
  };
10134
9983
 
10135
9984
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10136
- var TypeId14 = "~effect/http/HttpClient";
9985
+ var TypeId13 = "~effect/http/HttpClient";
10137
9986
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10138
9987
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10139
9988
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10150,7 +9999,7 @@ var makeWith2 = (postprocess, preprocess) => {
10150
9999
  return self;
10151
10000
  };
10152
10001
  var Proto7 = {
10153
- [TypeId14]: TypeId14,
10002
+ [TypeId13]: TypeId13,
10154
10003
  pipe() {
10155
10004
  return pipeArguments(this, arguments);
10156
10005
  },
@@ -10164,10 +10013,10 @@ var Proto7 = {
10164
10013
  return this.execute(make5(fullMethod)(url, options));
10165
10014
  }]))
10166
10015
  };
10167
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10016
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10168
10017
  const scopedController = scopedRequests.get(request);
10169
10018
  const controller = scopedController ?? new AbortController;
10170
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10019
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10171
10020
  if (isFailure(urlResult)) {
10172
10021
  return fail7(new HttpClientError({
10173
10022
  reason: new InvalidUrlError({
@@ -10301,8 +10150,8 @@ class InterruptibleResponse {
10301
10150
  this.original = original;
10302
10151
  this.controller = controller;
10303
10152
  }
10304
- [TypeId13] = TypeId13;
10305
10153
  [TypeId12] = TypeId12;
10154
+ [TypeId11] = TypeId11;
10306
10155
  applyInterrupt(effect) {
10307
10156
  return suspend3(() => {
10308
10157
  responseRegistry.unregister(this.original);
@@ -10400,7 +10249,7 @@ var detectStreamBodySupport = () => {
10400
10249
  return false;
10401
10250
  }
10402
10251
  };
10403
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10252
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10404
10253
  if (request.headers.upgrade !== undefined) {
10405
10254
  return fail7(new HttpClientError({
10406
10255
  reason: new TransportError({
@@ -10491,10 +10340,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10491
10340
  });
10492
10341
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10493
10342
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10494
- var TypeId15 = "~effect/socket/Socket";
10343
+ var TypeId14 = "~effect/socket/Socket";
10495
10344
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10496
- var make29 = (options) => Socket.of({
10497
- [TypeId15]: TypeId15,
10345
+ var make28 = (options) => Socket.of({
10346
+ [TypeId14]: TypeId14,
10498
10347
  reader: options.reader,
10499
10348
  writer: options.writer
10500
10349
  });
@@ -10817,7 +10666,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
10817
10666
  write,
10818
10667
  writeAll
10819
10668
  });
10820
- return succeed6(make29({
10669
+ return succeed6(make28({
10821
10670
  reader,
10822
10671
  writer
10823
10672
  }));
@@ -13669,7 +13518,7 @@ function getStreamSchemas(schema) {
13669
13518
  }
13670
13519
  var schema = /* @__PURE__ */ declare(isStream);
13671
13520
  function Stream(success, error) {
13672
- return make16(schema.ast, {
13521
+ return make17(schema.ast, {
13673
13522
  [StreamSchemaTypeId]: StreamSchemaTypeId,
13674
13523
  success,
13675
13524
  error
@@ -13677,9 +13526,9 @@ function Stream(success, error) {
13677
13526
  }
13678
13527
 
13679
13528
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
13680
- var TypeId16 = "~effect/rpc/Rpc";
13529
+ var TypeId15 = "~effect/rpc/Rpc";
13681
13530
  var Proto8 = {
13682
- [TypeId16]: TypeId16,
13531
+ [TypeId15]: TypeId15,
13683
13532
  pipe() {
13684
13533
  return pipeArguments(this, arguments);
13685
13534
  },
@@ -13846,7 +13695,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
13846
13695
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
13847
13696
 
13848
13697
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
13849
- var TypeId17 = "~effect/rpc/RpcClientError";
13698
+ var TypeId16 = "~effect/rpc/RpcClientError";
13850
13699
 
13851
13700
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
13852
13701
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -13855,11 +13704,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
13855
13704
  })) {
13856
13705
  }
13857
13706
 
13858
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
13707
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
13859
13708
  _tag: /* @__PURE__ */ tag("RpcClientError"),
13860
13709
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
13861
13710
  })) {
13862
- [TypeId17] = TypeId17;
13711
+ [TypeId16] = TypeId16;
13863
13712
  get message() {
13864
13713
  return `${this.reason._tag}: ${this.reason.message}`;
13865
13714
  }
@@ -13979,7 +13828,7 @@ var RpcGroupProto = {
13979
13828
  });
13980
13829
  },
13981
13830
  annotateRpcs(service, value) {
13982
- return this.annotateRpcsMerge(make14(service, value));
13831
+ return this.annotateRpcsMerge(make15(service, value));
13983
13832
  },
13984
13833
  annotateMerge(context) {
13985
13834
  return makeProto2({
@@ -14007,7 +13856,7 @@ var make7 = (...rpcs) => makeProto2({
14007
13856
  annotations: empty3()
14008
13857
  });
14009
13858
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14010
- var TypeId18 = "~effect/rpc/RpcMiddleware";
13859
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14011
13860
  var Service = () => (id, options) => {
14012
13861
  const limit = getStackTraceLimit();
14013
13862
  let creationError;
@@ -14025,7 +13874,7 @@ var Service = () => (id, options) => {
14025
13874
  return creationError?.stack;
14026
13875
  }
14027
13876
  });
14028
- ServiceClass_[TypeId18] = TypeId18;
13877
+ ServiceClass_[TypeId17] = TypeId17;
14029
13878
  ServiceClass_.error = options?.error ?? Never;
14030
13879
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14031
13880
  return ServiceClass;
@@ -14623,7 +14472,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
14623
14472
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
14624
14473
 
14625
14474
  // apps/cli/src/oauth.ts
14626
- var Scope2 = "openid profile email offline_access kitman:cli";
14475
+ var Scope = "openid profile email offline_access kitman:cli";
14627
14476
  var CallbackPath = "/auth/callback";
14628
14477
 
14629
14478
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -14642,7 +14491,7 @@ function buildAuthorizeUrl(input) {
14642
14491
  url.searchParams.set("response_type", "code");
14643
14492
  url.searchParams.set("client_id", input.clientId);
14644
14493
  url.searchParams.set("redirect_uri", input.redirectUri);
14645
- url.searchParams.set("scope", Scope2);
14494
+ url.searchParams.set("scope", Scope);
14646
14495
  url.searchParams.set("code_challenge", input.codeChallenge);
14647
14496
  url.searchParams.set("code_challenge_method", "S256");
14648
14497
  url.searchParams.set("state", input.state);
@@ -14702,7 +14551,7 @@ function toStoredSession(token, existingRefreshToken) {
14702
14551
  }
14703
14552
  function startLoopbackServer(input) {
14704
14553
  return gen(function* () {
14705
- const code = yield* make15();
14554
+ const code = yield* make16();
14706
14555
  const context2 = yield* context();
14707
14556
  const runSyncExit = runSyncExitWith(context2);
14708
14557
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15242,7 +15091,7 @@ var openConnection = (transport) => gen(function* () {
15242
15091
  let lastId = 0;
15243
15092
  let lost = false;
15244
15093
  const notifications = yield* unbounded2();
15245
- const ended = yield* make15();
15094
+ const ended = yield* make16();
15246
15095
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15247
15096
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15248
15097
  onNone: () => void_3,
@@ -15269,7 +15118,7 @@ var openConnection = (transport) => gen(function* () {
15269
15118
  if (lost)
15270
15119
  return yield* new HerdrCoreConnectionLost2({ method });
15271
15120
  const id = ++lastId;
15272
- const deferred = yield* make15();
15121
+ const deferred = yield* make16();
15273
15122
  pending.set(id, { method, deferred });
15274
15123
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15275
15124
  return yield* _await(deferred);
@@ -15343,7 +15192,7 @@ var herdrCoreOver = (transport) => ({
15343
15192
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15344
15193
  };
15345
15194
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15346
- 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)));
15347
15196
  }))
15348
15197
  });
15349
15198
  var spawnedTransport = (env) => gen(function* () {
@@ -15434,7 +15283,7 @@ var runProcess2 = (argv, options) => gen(function* () {
15434
15283
  const spawner = yield* ChildProcessSpawner;
15435
15284
  const [command, ...args] = argv;
15436
15285
  const handle = yield* spawner.spawn(make3(command, args, {
15437
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15286
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15438
15287
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15439
15288
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15440
15289
  }));
@@ -15857,4 +15706,4 @@ function checkServices(declaration) {
15857
15706
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
15858
15707
  }
15859
15708
 
15860
- 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 };