@kitman-sh/cli 0.10.86 → 0.10.88

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-ekkjbmr9.js → chunk-101maext.js} +5 -5
  2. package/dist/{chunk-292vjjdz.js → chunk-1mcwey0c.js} +1 -1
  3. package/dist/{chunk-mr30hj39.js → chunk-5dwyvg1z.js} +5 -5
  4. package/dist/{chunk-38end526.js → chunk-7202s8t5.js} +19 -19
  5. package/dist/{chunk-ehwvgxq8.js → chunk-7bv81x50.js} +8 -8
  6. package/dist/{chunk-wbdgjd1n.js → chunk-8n5fwxyd.js} +31 -31
  7. package/dist/{chunk-q1qrwcnw.js → chunk-9b0agw88.js} +24 -24
  8. package/dist/{chunk-6tq2m8xc.js → chunk-a7m6tq5q.js} +3 -3
  9. package/dist/{chunk-zms40x1v.js → chunk-aj4ev9v2.js} +2 -2
  10. package/dist/{chunk-xq4k0mgr.js → chunk-caqesagt.js} +101 -59
  11. package/dist/{chunk-wtx1vq9t.js → chunk-cw2ghw7n.js} +4 -4
  12. package/dist/{chunk-999xbcaa.js → chunk-dmwqvnmb.js} +6 -6
  13. package/dist/{chunk-jfgmhb6k.js → chunk-ghga9phe.js} +5 -5
  14. package/dist/{chunk-h8fq958v.js → chunk-h2e1m210.js} +204 -356
  15. package/dist/{chunk-b0qaan2c.js → chunk-jv2xwq5v.js} +4 -4
  16. package/dist/{chunk-93vddjpx.js → chunk-maj4dn1b.js} +1 -1
  17. package/dist/{chunk-mak28dxp.js → chunk-ntbwavn3.js} +20 -20
  18. package/dist/{chunk-3wvp5n5a.js → chunk-p74pmd81.js} +1 -1
  19. package/dist/{chunk-4sz3sg95.js → chunk-q6yydf12.js} +7 -7
  20. package/dist/{chunk-y1x0mb3b.js → chunk-tm2zkgsf.js} +12 -12
  21. package/dist/{chunk-qnnsy306.js → chunk-vne4rsj0.js} +2 -2
  22. package/dist/{chunk-2fqry6rd.js → chunk-w9j2yb0n.js} +183 -40
  23. package/dist/{chunk-bjexx93x.js → chunk-ybp1mwv9.js} +14 -60
  24. package/dist/{chunk-gmt7awee.js → chunk-zy5ywtx2.js} +9 -9
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -62,11 +62,9 @@ import {
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,12 +84,12 @@ 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
94
  make15,
97
95
  _await,
@@ -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,
@@ -204,6 +194,9 @@ import {
204
194
  logError,
205
195
  effectify,
206
196
  decode,
197
+ isRedacted,
198
+ make16,
199
+ value,
207
200
  defaultParseOptions,
208
201
  omit,
209
202
  map9,
@@ -212,7 +205,7 @@ import {
212
205
  decodeEffect,
213
206
  decodeUnknownOption,
214
207
  decodeOption,
215
- make16,
208
+ make17,
216
209
  isSchema,
217
210
  optionalKey,
218
211
  optional,
@@ -259,50 +252,17 @@ import {
259
252
  decodeJsonStringOption,
260
253
  encodeJsonStringSync,
261
254
  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";
255
+ } from "./chunk-caqesagt.js";
290
256
  import {
291
257
  map,
292
258
  makeEquivalence,
293
- Clock,
294
- currentTimeMillis,
295
259
  bytes,
296
- join,
297
- interrupt,
298
- getCurrent,
299
- runIn,
300
260
  BadArgument,
301
261
  systemError,
302
262
  badArgument,
303
263
  makeUnsafe2,
264
+ make7,
304
265
  make8,
305
- make9,
306
266
  sliding,
307
267
  unbounded2,
308
268
  offer,
@@ -318,6 +278,8 @@ import {
318
278
  isSink,
319
279
  fromChannel,
320
280
  drain,
281
+ make9,
282
+ get3,
321
283
  isStream,
322
284
  fromChannel2,
323
285
  callback,
@@ -357,25 +319,53 @@ import {
357
319
  String2,
358
320
  optionalEnv,
359
321
  harnessesUnsupportedInSrt2
360
- } from "./chunk-2fqry6rd.js";
322
+ } from "./chunk-w9j2yb0n.js";
323
+ import {
324
+ isDateTime,
325
+ Numeric,
326
+ isWholeNumber,
327
+ guard,
328
+ Id,
329
+ Timestamp,
330
+ ActorType,
331
+ SecretName,
332
+ SecretScope,
333
+ SecretHosts,
334
+ isSecretReference
335
+ } from "./chunk-p74pmd81.js";
336
+ import {
337
+ toJsonValue,
338
+ isOneOf,
339
+ isBigInt,
340
+ isBoolean,
341
+ isFunction,
342
+ isNumber,
343
+ isObject,
344
+ isJsonObject,
345
+ isString,
346
+ isSymbol,
347
+ isUndefined,
348
+ kindOf
349
+ } from "./chunk-1mcwey0c.js";
361
350
  import {
362
- isRedacted,
363
- make,
364
- value,
365
351
  ExitCode,
366
352
  ProcessId,
367
353
  makeHandle,
368
- make2,
354
+ make,
369
355
  ChildProcessSpawner,
370
356
  display,
371
- make3,
357
+ make2,
372
358
  parseFdName,
373
359
  fdName
374
- } from "./chunk-bjexx93x.js";
360
+ } from "./chunk-ybp1mwv9.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 make3 = /* @__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 = make3;
1066
914
  var now2 = now;
1067
915
  var nowUnsafe2 = nowUnsafe;
1068
916
  var toDateUtc2 = toDateUtc;
@@ -1277,7 +1125,7 @@ var readableToPullUnsafe = (options) => {
1277
1125
  const readable = options.readable;
1278
1126
  const chunkSize = options.chunkSize ?? 4096;
1279
1127
  const closeOnDone = options.closeOnDone ?? true;
1280
- const exit = options.exit ?? make8(undefined);
1128
+ const exit = options.exit ?? make7(undefined);
1281
1129
  const latch = options.latch ?? makeUnsafe2(false);
1282
1130
  function onReadable() {
1283
1131
  latch.openUnsafe();
@@ -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) {
@@ -1841,7 +1689,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1841
1689
  const sourceStream = unwrap(succeed6(getSourceStream(handles[handles.length - 1], options.from)));
1842
1690
  const toOption = options.to ?? "stdin";
1843
1691
  if (toOption === "stdin") {
1844
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1692
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1845
1693
  ...command.options,
1846
1694
  stdin: {
1847
1695
  ...stdinConfig,
@@ -1861,7 +1709,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1861
1709
  type: "input",
1862
1710
  stream: sourceStream
1863
1711
  };
1864
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1712
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1865
1713
  ...command.options,
1866
1714
  additionalFds: {
1867
1715
  ...existingFds,
@@ -1869,7 +1717,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1869
1717
  }
1870
1718
  })));
1871
1719
  } else {
1872
- handles.push(yield* spawnCommand(make3(command.command, command.args, {
1720
+ handles.push(yield* spawnCommand(make2(command.command, command.args, {
1873
1721
  ...command.options,
1874
1722
  stdin: {
1875
1723
  ...stdinConfig,
@@ -1908,9 +1756,9 @@ var make20 = /* @__PURE__ */ gen(function* () {
1908
1756
  }
1909
1757
  }
1910
1758
  });
1911
- return make2(spawnCommand);
1759
+ return make(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 = [];
@@ -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
  });
@@ -2984,12 +2832,12 @@ var redact2 = /* @__PURE__ */ dual(2, (self, key) => {
2984
2832
  if (typeof key === "string") {
2985
2833
  const k = key.toLowerCase();
2986
2834
  if (k in self) {
2987
- out[k] = make(self[k]);
2835
+ out[k] = make16(self[k]);
2988
2836
  }
2989
2837
  } else {
2990
2838
  for (const name in self) {
2991
2839
  if (name.search(key) !== -1) {
2992
- out[name] = make(self[name]);
2840
+ out[name] = make16(self[name]);
2993
2841
  }
2994
2842
  }
2995
2843
  }
@@ -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);
@@ -3098,7 +2946,7 @@ var fromInputNested = (input) => {
3098
2946
  var coerce = (value) => isRedacted(value) ? value : String(value);
3099
2947
  var Equivalence3 = /* @__PURE__ */ make13((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,12 +2958,12 @@ 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) => {
3117
2965
  const patterns = Array.isArray(key) ? key : [key];
3118
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make(value) : value]);
2966
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName2(name, patterns) ? make16(value) : value]);
3119
2967
  });
3120
2968
  var isRedactedName2 = isRedactedName;
3121
2969
  var redactUrl = (url, redactedNames = currentRedactedNames()) => {
@@ -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,17 +3029,17 @@ 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
- const lines = yield* make9();
3042
+ const lines = yield* make8();
3195
3043
  let inputEnded = stdin.readableEnded;
3196
3044
  let readlineActive = false;
3197
3045
  const onStdinEnd = () => {
@@ -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* make9({
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* make9({
3245
3093
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3246
3094
  idleTimeToLive: "10 millis"
3247
3095
  });
@@ -3262,7 +3110,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3262
3110
  return queue;
3263
3111
  });
3264
3112
  const readInput = gen(function* () {
3265
- const queue = yield* make9();
3113
+ const queue = yield* make8();
3266
3114
  const handleKeypress = (s, k) => {
3267
3115
  const userInput = {
3268
3116
  input: fromUndefinedOr(s),
@@ -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 {
@@ -9854,14 +9702,14 @@ function makeWith(method, url, urlParams, hash, headers, body) {
9854
9702
  return self;
9855
9703
  }
9856
9704
  var empty6 = /* @__PURE__ */ makeWith("GET", "", empty4, /* @__PURE__ */ none(), empty, empty5);
9857
- var make5 = (method) => (url, options) => modify(empty6, {
9705
+ var make4 = (method) => (url, options) => modify(empty6, {
9858
9706
  method,
9859
9707
  url,
9860
9708
  ...options ?? undefined
9861
9709
  });
9862
- var get = /* @__PURE__ */ make5("GET");
9863
- var post = /* @__PURE__ */ make5("POST");
9864
- var put = /* @__PURE__ */ make5("PUT");
9710
+ var get = /* @__PURE__ */ make4("GET");
9711
+ var post = /* @__PURE__ */ make4("POST");
9712
+ var put = /* @__PURE__ */ make4("PUT");
9865
9713
  var modify = /* @__PURE__ */ dual(2, (self, options) => {
9866
9714
  let result = self;
9867
9715
  if (options.method) {
@@ -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
  },
@@ -10162,13 +10010,13 @@ var Proto7 = {
10162
10010
  };
10163
10011
  },
10164
10012
  .../* @__PURE__ */ Object.fromEntries(/* @__PURE__ */ allShort.map(([fullMethod, method]) => [method, function(url, options) {
10165
- return this.execute(make5(fullMethod)(url, options));
10013
+ return this.execute(make4(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
  },
@@ -13769,7 +13617,7 @@ var makeProto = (options) => {
13769
13617
  Rpc.key = `effect/rpc/Rpc/${options._tag}`;
13770
13618
  return Rpc;
13771
13619
  };
13772
- var make6 = (tag, options) => {
13620
+ var make5 = (tag, options) => {
13773
13621
  const successSchema = options?.success ?? Void;
13774
13622
  const errorSchema = options?.error ?? Never;
13775
13623
  const defectSchema = options?.defect ?? Defect();
@@ -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
  }
@@ -14003,12 +13851,12 @@ var makeProto2 = (options) => Object.assign(function() {}, RpcGroupProto, {
14003
13851
  requests: options.requests,
14004
13852
  annotations: options.annotations
14005
13853
  });
14006
- var make7 = (...rpcs) => makeProto2({
13854
+ var make6 = (...rpcs) => makeProto2({
14007
13855
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
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;
@@ -14110,96 +13958,96 @@ var ProgramOutcome = Union([
14110
13958
  Struct({ status: Literal("failed"), failureSummary: String4 })
14111
13959
  ]);
14112
13960
 
14113
- class RunnerReplicaRpcs extends make7(make6("Claim", {
13961
+ class RunnerReplicaRpcs extends make6(make5("Claim", {
14114
13962
  payload: WorkUnitClaimInput,
14115
13963
  success: WorkUnitClaimResult,
14116
13964
  error: RunnerRpcError
14117
- }), make6("Heartbeat", {
13965
+ }), make5("Heartbeat", {
14118
13966
  payload: WorkUnitHeartbeatInput,
14119
13967
  success: WorkUnitHeartbeatResult,
14120
13968
  error: RunnerRpcError
14121
- }), make6("Complete", {
13969
+ }), make5("Complete", {
14122
13970
  payload: WorkUnitCompletion,
14123
13971
  error: RunnerRpcError
14124
- }), make6("Release", {
13972
+ }), make5("Release", {
14125
13973
  payload: WorkUnitReleaseInput,
14126
13974
  error: RunnerRpcError
14127
- }), make6("Signals", {
13975
+ }), make5("Signals", {
14128
13976
  payload: { runnerReplicaId: String4 },
14129
13977
  success: RunnerSignal,
14130
13978
  error: RunnerRpcError,
14131
13979
  stream: true
14132
- }), make6("ReportSteer", {
13980
+ }), make5("ReportSteer", {
14133
13981
  payload: { workUnitId: String4, messageId: String4, delivered: Boolean2 },
14134
13982
  success: Void,
14135
13983
  error: RunnerRpcError
14136
- }), make6("AppendTranscript", {
13984
+ }), make5("AppendTranscript", {
14137
13985
  payload: { workUnitId: String4, entries: ArraySchema(TranscriptAppendEntry).check(isMaxLength(100)) },
14138
13986
  success: Void,
14139
13987
  error: RunnerRpcError
14140
- }), make6("CreateCheckpointFile", {
13988
+ }), make5("CreateCheckpointFile", {
14141
13989
  payload: { lease: ProgramLease, byteSize: Int, sha256: String4 },
14142
13990
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14143
13991
  error: Union([RunnerRpcError, RunFileRefused])
14144
- }), make6("CheckpointFileParts", {
13992
+ }), make5("CheckpointFileParts", {
14145
13993
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14146
13994
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14147
13995
  error: RunnerRpcError
14148
- }), make6("CompleteCheckpointFile", {
13996
+ }), make5("CompleteCheckpointFile", {
14149
13997
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14150
13998
  success: RunFileRecord,
14151
13999
  error: RunnerRpcError
14152
- }), make6("SaveCheckpoint", {
14000
+ }), make5("SaveCheckpoint", {
14153
14001
  payload: { lease: ProgramLease, checkpoint: StepCheckpoint },
14154
14002
  success: Void,
14155
14003
  error: RunnerRpcError
14156
- }), make6("ResumeCheckpoint", {
14004
+ }), make5("ResumeCheckpoint", {
14157
14005
  payload: { lease: ProgramLease },
14158
14006
  success: UndefinedOr(ResumedCheckpoint),
14159
14007
  error: RunnerRpcError
14160
- }), make6("SettledCheckpoints", {
14008
+ }), make5("SettledCheckpoints", {
14161
14009
  success: ArraySchema(Struct({
14162
14010
  stepAttemptId: String4,
14163
14011
  ref: optionalKey(String4),
14164
14012
  repoBinding: optionalKey(WorkUnitRepoBinding)
14165
14013
  })),
14166
14014
  error: RunnerRpcError
14167
- }), make6("ForgetCheckpoints", {
14015
+ }), make5("ForgetCheckpoints", {
14168
14016
  payload: { stepAttemptIds: ArraySchema(String4) },
14169
14017
  success: Void,
14170
14018
  error: RunnerRpcError
14171
- }), make6("GitCredential", {
14019
+ }), make5("GitCredential", {
14172
14020
  payload: { repoBindingId: String4 },
14173
14021
  success: UndefinedOr(Struct({ username: String4, password: String4 })),
14174
14022
  error: RunnerRpcError
14175
- }), make6("Bundle", {
14023
+ }), make5("Bundle", {
14176
14024
  payload: { digest: String4 },
14177
14025
  success: Struct({ bundle: String4 }),
14178
14026
  error: RunnerRpcError
14179
- }), make6("SettledRuns", {
14027
+ }), make5("SettledRuns", {
14180
14028
  payload: { runIds: ArraySchema(String4) },
14181
14029
  success: ArraySchema(String4),
14182
14030
  error: RunnerRpcError
14183
- }), make6("KnownEvidence", {
14031
+ }), make5("KnownEvidence", {
14184
14032
  payload: { lease: ProgramLease, trees: ArraySchema(String4) },
14185
14033
  success: ArraySchema(Struct({ tree: String4, name: String4, command: String4 })),
14186
14034
  error: RunnerRpcError
14187
14035
  })).middleware(RunnerAuthentication) {
14188
14036
  }
14189
14037
 
14190
- class RunnerJournalRpcs extends make7(make6("RecordActivity", {
14038
+ class RunnerJournalRpcs extends make6(make5("RecordActivity", {
14191
14039
  payload: { lease: ProgramLease, name: String4, attempt: Int, exit: Json },
14192
14040
  error: RunnerRpcError
14193
- }), make6("DeferredDone", {
14041
+ }), make5("DeferredDone", {
14194
14042
  payload: { lease: ProgramLease, name: String4, exit: Json },
14195
14043
  error: RunnerRpcError
14196
- }), make6("ScheduleClock", {
14044
+ }), make5("ScheduleClock", {
14197
14045
  payload: { lease: ProgramLease, name: String4, deferredName: String4, durationMillis: Int },
14198
14046
  error: RunnerRpcError
14199
- }), make6("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make6("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14047
+ }), make5("Suspend", { payload: { lease: ProgramLease }, error: RunnerRpcError }), make5("FinishProgram", { payload: { lease: ProgramLease, outcome: ProgramOutcome }, error: RunnerRpcError })).middleware(RunnerAuthentication) {
14200
14048
  }
14201
14049
 
14202
- class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14050
+ class RunnerCapabilityRpcs extends make6(make5("PutQuestion", {
14203
14051
  payload: {
14204
14052
  lease: ProgramLease,
14205
14053
  step: String4,
@@ -14218,7 +14066,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14218
14066
  },
14219
14067
  success: Struct({ questionId: String4 }),
14220
14068
  error: RunnerRpcError
14221
- }), make6("StartAgentStep", {
14069
+ }), make5("StartAgentStep", {
14222
14070
  payload: {
14223
14071
  lease: ProgramLease,
14224
14072
  step: String4,
@@ -14234,7 +14082,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14234
14082
  },
14235
14083
  success: Struct({ stepAttemptId: String4 }),
14236
14084
  error: RunnerRpcError
14237
- }), make6("StartVerification", {
14085
+ }), make5("StartVerification", {
14238
14086
  payload: {
14239
14087
  lease: ProgramLease,
14240
14088
  step: String4,
@@ -14253,7 +14101,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14253
14101
  },
14254
14102
  success: Struct({ verificationId: String4 }),
14255
14103
  error: RunnerRpcError
14256
- }), make6("AwaitEvent", {
14104
+ }), make5("AwaitEvent", {
14257
14105
  payload: {
14258
14106
  lease: ProgramLease,
14259
14107
  step: String4,
@@ -14269,7 +14117,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14269
14117
  })))
14270
14118
  },
14271
14119
  error: RunnerRpcError
14272
- }), make6("ClaimResource", {
14120
+ }), make5("ClaimResource", {
14273
14121
  payload: {
14274
14122
  lease: ProgramLease,
14275
14123
  step: String4,
@@ -14278,7 +14126,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14278
14126
  action: Literals(["claim", "take_over", "let_go"])
14279
14127
  },
14280
14128
  error: RunnerRpcError
14281
- }), make6("AdmitChild", {
14129
+ }), make5("AdmitChild", {
14282
14130
  payload: {
14283
14131
  lease: ProgramLease,
14284
14132
  step: String4,
@@ -14289,7 +14137,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14289
14137
  },
14290
14138
  success: Struct({ runId: String4 }),
14291
14139
  error: RunnerRpcError
14292
- }), make6("StoreArtifact", {
14140
+ }), make5("StoreArtifact", {
14293
14141
  payload: {
14294
14142
  lease: ProgramLease,
14295
14143
  step: String4,
@@ -14301,7 +14149,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14301
14149
  },
14302
14150
  success: Struct({ artifactId: String4 }),
14303
14151
  error: RunnerRpcError
14304
- }), make6("RecordNote", {
14152
+ }), make5("RecordNote", {
14305
14153
  payload: {
14306
14154
  lease: ProgramLease,
14307
14155
  step: String4,
@@ -14310,7 +14158,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14310
14158
  kind: optional(Literals(["note", "blocker"]))
14311
14159
  },
14312
14160
  error: RunnerRpcError
14313
- }), make6("PerformHostEffect", {
14161
+ }), make5("PerformHostEffect", {
14314
14162
  payload: {
14315
14163
  lease: ProgramLease,
14316
14164
  step: String4,
@@ -14338,7 +14186,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14338
14186
  },
14339
14187
  success: UndefinedOr(Struct({ id: String4, number: String4, url: String4 })),
14340
14188
  error: RunnerRpcError
14341
- }), make6("AlertTask", {
14189
+ }), make5("AlertTask", {
14342
14190
  payload: {
14343
14191
  lease: ProgramLease,
14344
14192
  step: String4,
@@ -14355,7 +14203,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14355
14203
  joined: optionalKey(Struct({ kind: Literals(["run", "recent"]), runId: String4 }))
14356
14204
  }),
14357
14205
  error: RunnerRpcError
14358
- }), make6("ReadTranscripts", {
14206
+ }), make5("ReadTranscripts", {
14359
14207
  payload: { lease: ProgramLease, step: String4, days: Int },
14360
14208
  success: Struct({
14361
14209
  runs: ArraySchema(Struct({
@@ -14374,7 +14222,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14374
14222
  }))
14375
14223
  }),
14376
14224
  error: RunnerRpcError
14377
- }), make6("PipelineStatus", {
14225
+ }), make5("PipelineStatus", {
14378
14226
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14379
14227
  success: Struct({
14380
14228
  head: String4,
@@ -14405,11 +14253,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14405
14253
  }))
14406
14254
  }),
14407
14255
  error: RunnerRpcError
14408
- }), make6("ReportPipeline", {
14256
+ }), make5("ReportPipeline", {
14409
14257
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4, verification: String4 },
14410
14258
  success: Struct({ head: String4, status: Literals(["success", "failed"]) }),
14411
14259
  error: RunnerRpcError
14412
- }), make6("ReviewThreads", {
14260
+ }), make5("ReviewThreads", {
14413
14261
  payload: { lease: ProgramLease, step: String4, changeRequestId: String4 },
14414
14262
  success: Struct({
14415
14263
  threads: ArraySchema(Struct({
@@ -14421,7 +14269,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14421
14269
  }))
14422
14270
  }),
14423
14271
  error: RunnerRpcError
14424
- }), make6("OpenChangeRequests", {
14272
+ }), make5("OpenChangeRequests", {
14425
14273
  payload: { lease: ProgramLease, step: String4, authors: NonEmptyArray(String4) },
14426
14274
  success: Struct({
14427
14275
  changeRequests: ArraySchema(Struct({
@@ -14435,7 +14283,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14435
14283
  }))
14436
14284
  }),
14437
14285
  error: RunnerRpcError
14438
- }), make6("OwnChangeRequests", {
14286
+ }), make5("OwnChangeRequests", {
14439
14287
  payload: { lease: ProgramLease, step: String4 },
14440
14288
  success: Struct({
14441
14289
  changeRequests: ArraySchema(Struct({
@@ -14448,7 +14296,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14448
14296
  }))
14449
14297
  }),
14450
14298
  error: RunnerRpcError
14451
- }), make6("Propose", {
14299
+ }), make5("Propose", {
14452
14300
  payload: {
14453
14301
  lease: ProgramLease,
14454
14302
  step: String4,
@@ -14475,7 +14323,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14475
14323
  matched: optionalKey(Boolean2)
14476
14324
  }),
14477
14325
  error: RunnerRpcError
14478
- }), make6("ReadProject", {
14326
+ }), make5("ReadProject", {
14479
14327
  payload: { lease: ProgramLease, step: String4, projectId: String4 },
14480
14328
  success: Struct({
14481
14329
  project: Struct({ id: String4, name: String4 }),
@@ -14498,7 +14346,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14498
14346
  taskChanges: ArraySchema(Struct({ taskKey: String4, title: String4, change: String4, at: String4 }))
14499
14347
  }),
14500
14348
  error: RunnerRpcError
14501
- }), make6("DraftUpdate", {
14349
+ }), make5("DraftUpdate", {
14502
14350
  payload: {
14503
14351
  lease: ProgramLease,
14504
14352
  step: String4,
@@ -14513,7 +14361,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14513
14361
  },
14514
14362
  success: Struct({ id: String4 }),
14515
14363
  error: RunnerRpcError
14516
- }), make6("CreatePlanTasks", {
14364
+ }), make5("CreatePlanTasks", {
14517
14365
  payload: {
14518
14366
  lease: ProgramLease,
14519
14367
  projectId: optionalKey(String4),
@@ -14528,11 +14376,11 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14528
14376
  },
14529
14377
  success: ArraySchema(Struct({ key: String4, taskId: String4 })),
14530
14378
  error: RunnerRpcError
14531
- }), make6("IntegrationBranch", {
14379
+ }), make5("IntegrationBranch", {
14532
14380
  payload: { lease: ProgramLease, repoBindingId: optionalKey(String4) },
14533
14381
  success: Struct({ repoBindingId: String4, branch: String4, revision: String4 }),
14534
14382
  error: RunnerRpcError
14535
- }), make6("MergeChangeRequest", {
14383
+ }), make5("MergeChangeRequest", {
14536
14384
  payload: {
14537
14385
  lease: ProgramLease,
14538
14386
  step: String4,
@@ -14545,7 +14393,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14545
14393
  Struct({ status: Literal("moved"), head: String4 })
14546
14394
  ]),
14547
14395
  error: RunnerRpcError
14548
- }), make6("ApproveChangeRequest", {
14396
+ }), make5("ApproveChangeRequest", {
14549
14397
  payload: {
14550
14398
  lease: ProgramLease,
14551
14399
  step: String4,
@@ -14560,7 +14408,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14560
14408
  Struct({ approved: Literal(false), reason: String4 })
14561
14409
  ]),
14562
14410
  error: RunnerRpcError
14563
- }), make6("CloseChangeRequest", {
14411
+ }), make5("CloseChangeRequest", {
14564
14412
  payload: {
14565
14413
  lease: ProgramLease,
14566
14414
  step: String4,
@@ -14570,7 +14418,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14570
14418
  },
14571
14419
  success: Struct({ closed: Boolean2, head: optionalKey(String4) }),
14572
14420
  error: RunnerRpcError
14573
- }), make6("RerunPipeline", {
14421
+ }), make5("RerunPipeline", {
14574
14422
  payload: {
14575
14423
  lease: ProgramLease,
14576
14424
  step: String4,
@@ -14580,7 +14428,7 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14580
14428
  },
14581
14429
  success: Struct({ head: String4, pipelines: Int }),
14582
14430
  error: RunnerRpcError
14583
- }), make6("PublishRelease", {
14431
+ }), make5("PublishRelease", {
14584
14432
  payload: {
14585
14433
  lease: ProgramLease,
14586
14434
  step: String4,
@@ -14591,14 +14439,14 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14591
14439
  },
14592
14440
  success: Struct({ tag: String4, revision: String4, url: String4 }),
14593
14441
  error: RunnerRpcError
14594
- }), make6("ProgramSecrets", {
14442
+ }), make5("ProgramSecrets", {
14595
14443
  payload: { lease: ProgramLease },
14596
14444
  success: Record(String4, String4),
14597
14445
  error: RunnerRpcError
14598
14446
  })).middleware(RunnerAuthentication) {
14599
14447
  }
14600
14448
 
14601
- class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14449
+ class RunnerRunFileRpcs extends make6(make5("CreateRunFile", {
14602
14450
  payload: {
14603
14451
  lease: ProgramLease,
14604
14452
  step: String4,
@@ -14610,11 +14458,11 @@ class RunnerRunFileRpcs extends make7(make6("CreateRunFile", {
14610
14458
  },
14611
14459
  success: Struct({ file: RunFileRecord, upload: optional(RunFileUpload) }),
14612
14460
  error: Union([RunnerRpcError, RunFileRefused])
14613
- }), make6("RunFileParts", {
14461
+ }), make5("RunFileParts", {
14614
14462
  payload: { lease: ProgramLease, fileId: String4, partNumbers: ArraySchema(Int) },
14615
14463
  success: Struct({ parts: ArraySchema(RunFilePartUrl) }),
14616
14464
  error: RunnerRpcError
14617
- }), make6("CompleteRunFile", {
14465
+ }), make5("CompleteRunFile", {
14618
14466
  payload: { lease: ProgramLease, fileId: String4, parts: optional(ArraySchema(UploadedRunFilePart)) },
14619
14467
  success: RunFileRecord,
14620
14468
  error: RunnerRpcError
@@ -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);
@@ -15351,7 +15199,7 @@ var spawnedTransport = (env) => gen(function* () {
15351
15199
  const spawner = yield* ChildProcessSpawner;
15352
15200
  const input = yield* unbounded2();
15353
15201
  const encoder = new TextEncoder;
15354
- const handle = yield* spawner.spawn(make3("herdr-core", ["connect"], {
15202
+ const handle = yield* spawner.spawn(make2("herdr-core", ["connect"], {
15355
15203
  extendEnv: false,
15356
15204
  env,
15357
15205
  stdin: fromQueue(input),
@@ -15382,7 +15230,7 @@ var updateHerdrCore2 = (options) => gen(function* () {
15382
15230
  const spawner = yield* ChildProcessSpawner;
15383
15231
  const env = coreEnv(options);
15384
15232
  const run = (args) => gen(function* () {
15385
- const handle = yield* spawner.spawn(make3("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15233
+ const handle = yield* spawner.spawn(make2("herdr-core", args, { extendEnv: false, env, stdin: "ignore" }));
15386
15234
  const [stdout, stderr, exitCode] = yield* all3([
15387
15235
  mkString(decodeText(handle.stdout)),
15388
15236
  mkString(decodeText(handle.stderr)),
@@ -15408,7 +15256,7 @@ class CommandFailed2 extends TaggedError("CommandFailed") {
15408
15256
  }
15409
15257
  var runCommand2 = (command, args, options = {}) => gen(function* () {
15410
15258
  const spawner = yield* ChildProcessSpawner;
15411
- const handle = yield* spawner.spawn(make3(command, args, {
15259
+ const handle = yield* spawner.spawn(make2(command, args, {
15412
15260
  stdin: "ignore",
15413
15261
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15414
15262
  ...options.env === undefined ? undefined : { extendEnv: true, env: options.env }
@@ -15434,7 +15282,7 @@ var shellOutputTailChars2 = 64 * 1024;
15434
15282
  var runProcess2 = (argv, options) => gen(function* () {
15435
15283
  const spawner = yield* ChildProcessSpawner;
15436
15284
  const [command, ...args] = argv;
15437
- const handle = yield* spawner.spawn(make3(command, args, {
15285
+ const handle = yield* spawner.spawn(make2(command, args, {
15438
15286
  stdin: options.stdin === undefined ? "ignore" : make10(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 }
@@ -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, make4, 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, make5, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make6, 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 };