@kitman-sh/cli 0.10.72 → 0.10.74

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-pyt2zrwc.js → chunk-1rry0tsn.js} +2 -2
  2. package/dist/{chunk-290se4bt.js → chunk-2v7pbpfw.js} +3 -3
  3. package/dist/{chunk-gngg8j56.js → chunk-3edjgnxf.js} +2 -2
  4. package/dist/{chunk-d2fxfv0j.js → chunk-3ne401fy.js} +48 -9
  5. package/dist/{chunk-61by5f18.js → chunk-5rs3yv84.js} +38 -17
  6. package/dist/{chunk-tv94e132.js → chunk-60333x3q.js} +5 -5
  7. package/dist/{chunk-hxm3bvpn.js → chunk-8bhea26e.js} +5 -5
  8. package/dist/{chunk-7sm45hhc.js → chunk-csbf77zs.js} +6 -6
  9. package/dist/{chunk-vrt08dk9.js → chunk-d3ksv8y1.js} +60 -60
  10. package/dist/{chunk-7672g0fj.js → chunk-dk0ftqwg.js} +177 -28
  11. package/dist/{chunk-030xsst1.js → chunk-g4fvd8r1.js} +140 -266
  12. package/dist/{chunk-cj3ef3pv.js → chunk-ggax0n15.js} +6 -6
  13. package/dist/{chunk-wssfts9s.js → chunk-gmnqchsc.js} +4 -4
  14. package/dist/{chunk-2es1djpn.js → chunk-kd02wvfa.js} +8 -8
  15. package/dist/{chunk-vd8f9brg.js → chunk-mv288r6q.js} +10 -10
  16. package/dist/{chunk-pnsqttt3.js → chunk-mzphfkyk.js} +7 -7
  17. package/dist/{chunk-b63rssdn.js → chunk-q3c7vmby.js} +1 -1
  18. package/dist/{chunk-w6qjh6q5.js → chunk-rm83dbpv.js} +2 -2
  19. package/dist/{chunk-se79jbha.js → chunk-rrnee9mk.js} +1 -1
  20. package/dist/{chunk-7g4e5fsj.js → chunk-rt94p780.js} +19 -19
  21. package/dist/{chunk-nhd7dh79.js → chunk-v01c0k6j.js} +1 -1
  22. package/dist/{chunk-g8b2z9jn.js → chunk-x0ep0a1y.js} +4 -4
  23. package/dist/{chunk-cefprsjj.js → chunk-xz1z7j2d.js} +4 -4
  24. package/dist/{chunk-7wenq6ew.js → chunk-yzm5s3ng.js} +4 -4
  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,
@@ -91,11 +89,9 @@ import {
91
89
  ConsoleRef,
92
90
  succeed3,
93
91
  fail4,
94
- void_2,
95
92
  isSuccess2,
96
- isFailure2,
97
93
  makeUnsafe5,
98
- make15,
94
+ make16,
99
95
  _await,
100
96
  fail5,
101
97
  isDone,
@@ -103,12 +99,8 @@ import {
103
99
  succeed4,
104
100
  doneUnsafe,
105
101
  TracerTimingEnabled,
106
- Scope,
107
- makeUnsafe6,
108
102
  provide,
109
- addFinalizerExit,
110
103
  addFinalizer,
111
- close,
112
104
  succeed5,
113
105
  effect,
114
106
  effectContext,
@@ -160,7 +152,6 @@ import {
160
152
  tapCause,
161
153
  retry,
162
154
  ignore,
163
- ignoreCause,
164
155
  orElseSucceed,
165
156
  timeout,
166
157
  timeoutOrElse,
@@ -172,7 +163,6 @@ import {
172
163
  context,
173
164
  contextWith,
174
165
  provide3,
175
- provideContext2,
176
166
  serviceOption,
177
167
  updateContext,
178
168
  provideService,
@@ -183,7 +173,6 @@ import {
183
173
  addFinalizer2,
184
174
  ensuring2,
185
175
  onError,
186
- onExit,
187
176
  cached,
188
177
  interrupt3,
189
178
  interruptible,
@@ -195,7 +184,6 @@ import {
195
184
  withParentSpan,
196
185
  forkScoped,
197
186
  runFork,
198
- runForkWith,
199
187
  runPromise,
200
188
  runPromiseWith,
201
189
  runSync,
@@ -214,7 +202,7 @@ import {
214
202
  decodeEffect,
215
203
  decodeUnknownOption,
216
204
  decodeOption,
217
- make16,
205
+ make17,
218
206
  isSchema,
219
207
  optionalKey,
220
208
  optional,
@@ -260,15 +248,11 @@ import {
260
248
  decodeJsonStringOption,
261
249
  encodeJsonStringSync,
262
250
  encodePrettyJsonString
263
- } from "./chunk-vrt08dk9.js";
251
+ } from "./chunk-d3ksv8y1.js";
264
252
  import {
265
253
  map,
266
254
  makeEquivalence,
267
255
  bytes,
268
- join,
269
- interrupt,
270
- getCurrent,
271
- runIn,
272
256
  BadArgument,
273
257
  systemError,
274
258
  badArgument,
@@ -290,11 +274,13 @@ import {
290
274
  isSink,
291
275
  fromChannel,
292
276
  drain,
277
+ make10,
278
+ get3,
293
279
  isStream,
294
280
  fromChannel2,
295
281
  callback,
296
282
  empty2,
297
- make10,
283
+ make11,
298
284
  suspend,
299
285
  fail2,
300
286
  fromQueue,
@@ -320,16 +306,16 @@ import {
320
306
  mkArrayBuffer,
321
307
  toReadableStreamEffect,
322
308
  FileSystem,
323
- make11,
309
+ make12,
324
310
  FileTypeId,
325
311
  WatchBackend,
326
312
  Path,
327
- make12,
313
+ make13,
328
314
  option,
329
315
  String2,
330
316
  optionalEnv,
331
317
  harnessesUnsupportedInSrt2
332
- } from "./chunk-7672g0fj.js";
318
+ } from "./chunk-dk0ftqwg.js";
333
319
  import {
334
320
  isDateTime,
335
321
  Numeric,
@@ -341,7 +327,7 @@ import {
341
327
  SecretName,
342
328
  SecretScope,
343
329
  SecretHosts
344
- } from "./chunk-se79jbha.js";
330
+ } from "./chunk-rrnee9mk.js";
345
331
  import {
346
332
  toJsonValue,
347
333
  isOneOf,
@@ -355,7 +341,7 @@ import {
355
341
  isSymbol,
356
342
  isUndefined,
357
343
  kindOf
358
- } from "./chunk-nhd7dh79.js";
344
+ } from "./chunk-v01c0k6j.js";
359
345
  import {
360
346
  isRedacted,
361
347
  make,
@@ -369,7 +355,8 @@ import {
369
355
  make3,
370
356
  parseFdName,
371
357
  fdName
372
- } from "./chunk-pyt2zrwc.js";
358
+ } from "./chunk-1rry0tsn.js";
359
+
373
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
374
361
  var makeEquivalence3 = Tuple;
375
362
 
@@ -511,7 +498,7 @@ var fromDateUnsafe = (date) => {
511
498
  }
512
499
  return makeUtc(epochMillis);
513
500
  };
514
- var makeUnsafe7 = (input) => {
501
+ var makeUnsafe6 = (input) => {
515
502
  if (isDateTime2(input)) {
516
503
  return input;
517
504
  } else if (input instanceof Date) {
@@ -531,7 +518,7 @@ var makeUnsafe7 = (input) => {
531
518
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
532
519
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
533
520
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
534
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
521
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
535
522
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
536
523
  var nowUnsafe = () => makeUtc(Date.now());
537
524
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -638,7 +625,7 @@ class Metric$ {
638
625
  }
639
626
  hook(context) {
640
627
  const key = this.key(context);
641
- const registry = get3(context, MetricRegistry);
628
+ const registry = get4(context, MetricRegistry);
642
629
  let metadata = registry.get(key);
643
630
  if (isUndefined2(metadata)) {
644
631
  metadata = this.metadata(this.createHooks());
@@ -647,11 +634,11 @@ class Metric$ {
647
634
  return metadata.hooks;
648
635
  }
649
636
  removeUnsafe(context) {
650
- get3(context, MetricRegistry).delete(this.key(context));
637
+ get4(context, MetricRegistry).delete(this.key(context));
651
638
  }
652
639
  registerUnsafe(context, hooks) {
653
640
  const key = this.key(context);
654
- const registry = get3(context, MetricRegistry);
641
+ const registry = get4(context, MetricRegistry);
655
642
  const metadata = this.metadata({
656
643
  get: hooks.get,
657
644
  update: constVoid,
@@ -667,7 +654,7 @@ class Metric$ {
667
654
  };
668
655
  }
669
656
  key(context) {
670
- const extraAttributes = get3(context, CurrentMetricAttributes);
657
+ const extraAttributes = get4(context, CurrentMetricAttributes);
671
658
  if (extraAttributes !== this.#extraAttributes) {
672
659
  this.#extraAttributes = extraAttributes;
673
660
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -919,151 +906,9 @@ var toNumber = (b) => {
919
906
  return some(Number(b));
920
907
  };
921
908
 
922
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
923
- var TypeId3 = "~effect/RcRef";
924
- var stateEmpty = {
925
- _tag: "Empty"
926
- };
927
- var stateClosed = {
928
- _tag: "Closed"
929
- };
930
- var variance = {
931
- _A: identity,
932
- _E: identity
933
- };
934
-
935
- class RcRefImpl {
936
- [TypeId3] = variance;
937
- pipe() {
938
- return pipeArguments(this, arguments);
939
- }
940
- state = stateEmpty;
941
- acquire;
942
- context;
943
- scope;
944
- idleTimeToLive;
945
- constructor(acquire, context, scope, idleTimeToLive) {
946
- this.acquire = acquire;
947
- this.context = context;
948
- this.scope = scope;
949
- this.idleTimeToLive = idleTimeToLive;
950
- }
951
- }
952
- var make17 = (options) => withFiber2((fiber) => {
953
- const context = fiber.context;
954
- const scope = get3(context, Scope);
955
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
956
- return as(addFinalizerExit(scope, () => {
957
- const state = ref.state;
958
- ref.state = stateClosed;
959
- if (state._tag === "Acquired")
960
- return close(state.scope, void_2);
961
- if (state._tag === "Acquiring")
962
- return interrupt(state.fiber);
963
- return void_3;
964
- }), ref);
965
- });
966
- var getState = (self, restore) => {
967
- switch (self.state._tag) {
968
- case "Closed": {
969
- return interrupt3;
970
- }
971
- case "Acquired": {
972
- const state = self.state;
973
- state.refCount++;
974
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
975
- }
976
- case "Acquiring": {
977
- const state = self.state;
978
- state.awaiters++;
979
- return awaitAcquiring(self, state, restore);
980
- }
981
- case "Empty": {
982
- const acquiring = {
983
- _tag: "Acquiring",
984
- fiber: undefined,
985
- awaiters: 1,
986
- acquired: undefined
987
- };
988
- self.state = acquiring;
989
- const scope = makeUnsafe6();
990
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
991
- if (self.state !== acquiring) {
992
- return interrupt3;
993
- }
994
- const state = {
995
- _tag: "Acquired",
996
- value,
997
- scope,
998
- fiber: undefined,
999
- refCount: acquiring.awaiters,
1000
- invalidated: false
1001
- };
1002
- self.state = state;
1003
- acquiring.acquired = state;
1004
- return succeed6(state);
1005
- }), onExit((exit) => {
1006
- if (isSuccess2(exit))
1007
- return void_3;
1008
- if (self.state === acquiring)
1009
- self.state = stateEmpty;
1010
- return close(scope, exit);
1011
- }));
1012
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
1013
- return awaitAcquiring(self, acquiring, restore);
1014
- }
1015
- }
1016
- };
1017
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
1018
- const acquired = acquiring.acquired;
1019
- if (acquired !== undefined) {
1020
- return isFailure2(exit) ? release(self, acquired) : void_3;
1021
- }
1022
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
1023
- return void_3;
1024
- self.state = stateEmpty;
1025
- return interrupt(acquiring.fiber);
1026
- });
1027
- var get4 = (self_) => {
1028
- const self = self_;
1029
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
1030
- };
1031
- var release = (self, state) => {
1032
- state.refCount--;
1033
- if (state.refCount > 0) {
1034
- return void_3;
1035
- }
1036
- const idleTimeToLive = self.idleTimeToLive;
1037
- if (idleTimeToLive === undefined || state.invalidated) {
1038
- if (self.state === state) {
1039
- self.state = stateEmpty;
1040
- }
1041
- return close(state.scope, void_2);
1042
- } else if (!isFinite(idleTimeToLive)) {
1043
- return void_3;
1044
- }
1045
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
1046
- if (self.state === state && state.refCount === 0) {
1047
- self.state = stateEmpty;
1048
- return ignoreCause(close(state.scope, void_2), {
1049
- log: "Unhandled",
1050
- message: "Unhandled error in RcRef finalizer"
1051
- });
1052
- }
1053
- return void_3;
1054
- })).pipe(ensuring2(sync2(() => {
1055
- state.fiber = undefined;
1056
- })), runForkWith(self.context), runIn(self.scope));
1057
- return void_3;
1058
- };
1059
-
1060
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
1061
- var make18 = make17;
1062
- var get5 = get4;
1063
-
1064
909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1065
- var makeUnsafe = makeUnsafe7;
1066
- var make19 = make4;
910
+ var makeUnsafe = makeUnsafe6;
911
+ var make18 = make4;
1067
912
  var now2 = now;
1068
913
  var nowUnsafe2 = nowUnsafe;
1069
914
  var toDateUtc2 = toDateUtc;
@@ -1382,7 +1227,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1382
1227
  windowsHide: true
1383
1228
  }, onExit);
1384
1229
  };
1385
- var make20 = /* @__PURE__ */ gen(function* () {
1230
+ var make19 = /* @__PURE__ */ gen(function* () {
1386
1231
  const fs = yield* FileSystem;
1387
1232
  const path = yield* Path;
1388
1233
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1911,7 +1756,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1911
1756
  });
1912
1757
  return make2(spawnCommand);
1913
1758
  });
1914
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1759
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1915
1760
  var flattenCommand = (command) => {
1916
1761
  const commands = [];
1917
1762
  const pipeOptions = [];
@@ -2395,7 +2240,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2395
2240
  resume(fail7(handleBadArgument("writeFile")(err)));
2396
2241
  }
2397
2242
  });
2398
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2243
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2399
2244
  access: access2,
2400
2245
  chmod: chmod2,
2401
2246
  chown: chown2,
@@ -2455,15 +2300,15 @@ var fileUrlOps = (windows) => ({
2455
2300
  })
2456
2301
  })
2457
2302
  });
2458
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2303
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2459
2304
  ...NodePath.posix,
2460
2305
  .../* @__PURE__ */ fileUrlOps(false)
2461
2306
  }));
2462
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2307
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2463
2308
  ...NodePath.win32,
2464
2309
  .../* @__PURE__ */ fileUrlOps(true)
2465
2310
  }));
2466
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2311
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2467
2312
  ...NodePath,
2468
2313
  .../* @__PURE__ */ fileUrlOps(undefined)
2469
2314
  }));
@@ -2472,10 +2317,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2472
2317
  var layer2 = layer7;
2473
2318
 
2474
2319
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stdio.js
2475
- var TypeId4 = "~effect/Stdio";
2476
- var Stdio = /* @__PURE__ */ Service2(TypeId4);
2477
- var make21 = (options) => ({
2478
- [TypeId4]: TypeId4,
2320
+ var TypeId3 = "~effect/Stdio";
2321
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2322
+ var make20 = (options) => ({
2323
+ [TypeId3]: TypeId3,
2479
2324
  stdinIsTerminal: succeed6(false),
2480
2325
  stdoutIsTerminal: succeed6(false),
2481
2326
  stderrIsTerminal: succeed6(false),
@@ -2483,7 +2328,7 @@ var make21 = (options) => ({
2483
2328
  });
2484
2329
 
2485
2330
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeStdio.js
2486
- var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make21({
2331
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2487
2332
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2488
2333
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2489
2334
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2683,7 +2528,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2683
2528
  const uuid = bytes(randomBytes(16));
2684
2529
  return format === "bytes" ? uuid : stringify(uuid);
2685
2530
  };
2686
- var make22 = (randomBytes) => {
2531
+ var make21 = (randomBytes) => {
2687
2532
  const randomBytesChecked = (size) => {
2688
2533
  checkSize(size);
2689
2534
  return randomBytes(size);
@@ -2717,13 +2562,13 @@ var fillRandom = (crypto2, size) => {
2717
2562
  }
2718
2563
  return bytes;
2719
2564
  };
2720
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2565
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2721
2566
 
2722
2567
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2723
- var TypeId5 = "~effect/http/Cookies";
2568
+ var TypeId4 = "~effect/http/Cookies";
2724
2569
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2725
2570
  var Proto2 = {
2726
- [TypeId5]: TypeId5,
2571
+ [TypeId4]: TypeId4,
2727
2572
  ...BaseProto,
2728
2573
  toJSON() {
2729
2574
  return {
@@ -2902,14 +2747,14 @@ var tryDecodeURIComponent = (str) => {
2902
2747
  };
2903
2748
 
2904
2749
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2905
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2750
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2906
2751
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2907
- [TypeId6]: {
2908
- value: TypeId6
2752
+ [TypeId5]: {
2753
+ value: TypeId5
2909
2754
  },
2910
2755
  [symbolRedactable]: {
2911
2756
  value(context) {
2912
- return redact2(this, get3(context, CurrentRedactedNames));
2757
+ return redact2(this, get4(context, CurrentRedactedNames));
2913
2758
  }
2914
2759
  },
2915
2760
  toJSON: {
@@ -2934,7 +2779,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2934
2779
  value: BaseProto[NodeInspectSymbol]
2935
2780
  }
2936
2781
  });
2937
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2782
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2938
2783
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2939
2784
  var empty = /* @__PURE__ */ Object.create(Proto3);
2940
2785
  var fromInput = (input) => {
@@ -2959,21 +2804,21 @@ var fromInput = (input) => {
2959
2804
  };
2960
2805
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2961
2806
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2962
- const out = make23(self);
2807
+ const out = make22(self);
2963
2808
  out[key.toLowerCase()] = value;
2964
2809
  return out;
2965
2810
  });
2966
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2811
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2967
2812
  ...self,
2968
2813
  ...fromInput(headers)
2969
2814
  }));
2970
2815
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2971
- const out = make23(self);
2816
+ const out = make22(self);
2972
2817
  Object.assign(out, headers);
2973
2818
  return out;
2974
2819
  });
2975
2820
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2976
- const out = make23(self);
2821
+ const out = make22(self);
2977
2822
  delete out[key.toLowerCase()];
2978
2823
  return out;
2979
2824
  });
@@ -3030,18 +2875,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3030
2875
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3031
2876
 
3032
2877
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3033
- var TypeId7 = "~effect/http/UrlParams";
3034
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2878
+ var TypeId6 = "~effect/http/UrlParams";
2879
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3035
2880
  var Proto4 = {
3036
2881
  ...PipeInspectableProto,
3037
- [TypeId7]: TypeId7,
2882
+ [TypeId6]: TypeId6,
3038
2883
  [Symbol.iterator]() {
3039
2884
  return this.params[Symbol.iterator]();
3040
2885
  },
3041
2886
  [symbolRedactable](context) {
3042
2887
  return {
3043
2888
  _id: "UrlParams",
3044
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2889
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3045
2890
  };
3046
2891
  },
3047
2892
  toJSON() {
@@ -3054,7 +2899,7 @@ var Proto4 = {
3054
2899
  return array(this.params.flat());
3055
2900
  }
3056
2901
  };
3057
- var make24 = (params) => {
2902
+ var make23 = (params) => {
3058
2903
  const self = Object.create(Proto4);
3059
2904
  self.params = params;
3060
2905
  return self;
@@ -3073,7 +2918,7 @@ var fromInput2 = (input) => {
3073
2918
  out.push(parsed[i]);
3074
2919
  }
3075
2920
  }
3076
- return make24(out);
2921
+ return make23(out);
3077
2922
  };
3078
2923
  var fromInputNested = (input) => {
3079
2924
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3097,9 +2942,9 @@ var fromInputNested = (input) => {
3097
2942
  return out;
3098
2943
  };
3099
2944
  var coerce = (value) => isRedacted(value) ? value : String(value);
3100
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2945
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3101
2946
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3102
- var empty4 = /* @__PURE__ */ make24([]);
2947
+ var empty4 = /* @__PURE__ */ make23([]);
3103
2948
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3104
2949
  const params = fromInput2(input).params.slice();
3105
2950
  const keys = new Set;
@@ -3111,7 +2956,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3111
2956
  continue;
3112
2957
  params.push(self.params[i]);
3113
2958
  }
3114
- return make24(params);
2959
+ return make23(params);
3115
2960
  });
3116
2961
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
3117
2962
  const patterns = Array.isArray(key) ? key : [key];
@@ -3166,13 +3011,13 @@ var decodeQueryKey = (key) => {
3166
3011
  return key;
3167
3012
  }
3168
3013
  };
3169
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3014
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3170
3015
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3171
3016
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3172
3017
  });
3173
3018
 
3174
3019
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3175
- var TypeId8 = "~effect/Terminal";
3020
+ var TypeId7 = "~effect/Terminal";
3176
3021
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3177
3022
 
3178
3023
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3181,14 +3026,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3181
3026
  [QuitErrorTypeId] = QuitErrorTypeId;
3182
3027
  }
3183
3028
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3184
- var make25 = (impl) => Terminal.of({
3029
+ var make24 = (impl) => Terminal.of({
3185
3030
  ...impl,
3186
- [TypeId8]: TypeId8
3031
+ [TypeId7]: TypeId7
3187
3032
  });
3188
3033
 
3189
3034
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3190
3035
  import * as readline from "readline";
3191
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3036
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3192
3037
  const stdin = process.stdin;
3193
3038
  const stdout = process.stdout;
3194
3039
  const lines = yield* make9();
@@ -3202,7 +3047,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3202
3047
  };
3203
3048
  stdin.once("end", onStdinEnd);
3204
3049
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3205
- const rlRef = yield* make18({
3050
+ const rlRef = yield* make10({
3206
3051
  acquire: acquireRelease(sync2(() => {
3207
3052
  const rl = readline.createInterface({
3208
3053
  input: stdin,
@@ -3241,7 +3086,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3241
3086
  if (stdin.isTTY)
3242
3087
  stdin.setRawMode(enabled);
3243
3088
  });
3244
- const rawModeRef = yield* make18({
3089
+ const rawModeRef = yield* make10({
3245
3090
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3246
3091
  idleTimeToLive: "10 millis"
3247
3092
  });
@@ -3292,14 +3137,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3292
3137
  if (inputEnded) {
3293
3138
  handleEnd();
3294
3139
  } else {
3295
- yield* get5(rlRef);
3296
- yield* get5(rawModeRef);
3140
+ yield* get3(rlRef);
3141
+ yield* get3(rawModeRef);
3297
3142
  stdin.once("end", handleEnd);
3298
3143
  }
3299
3144
  return queue;
3300
3145
  });
3301
3146
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3302
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3147
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3303
3148
  onSome: succeed6
3304
3149
  })), mapError2(() => new QuitError({}))));
3305
3150
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3310,7 +3155,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3310
3155
  cause: err
3311
3156
  }))));
3312
3157
  }));
3313
- return make25({
3158
+ return make24({
3314
3159
  columns,
3315
3160
  rows,
3316
3161
  size,
@@ -3319,7 +3164,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3319
3164
  display
3320
3165
  });
3321
3166
  });
3322
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3167
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3323
3168
  function defaultShouldQuit(input) {
3324
3169
  const key = input.key;
3325
3170
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3346,7 +3191,7 @@ function toDate(input) {
3346
3191
  return toDateUtc2(makeUnsafe(input));
3347
3192
  }
3348
3193
  function parseDate(input) {
3349
- return getOrUndefined(map4(make19(input), toDateUtc2));
3194
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3350
3195
  }
3351
3196
  function toIso(input) {
3352
3197
  return formatIso(makeUnsafe(input));
@@ -7282,6 +7127,20 @@ var RunnerTeamGrantList = Struct({
7282
7127
  var RunnerTeamGrantDeleteResult = Struct({
7283
7128
  removed: Boolean2
7284
7129
  });
7130
+ var RunnerWorkspaceAttachment = Struct({
7131
+ runnerId: Id,
7132
+ workspaceId: Id,
7133
+ createdAt: Timestamp
7134
+ });
7135
+ var RunnerWorkspaceAttachmentCreate = Struct({
7136
+ workspaceId: Id
7137
+ });
7138
+ var RunnerWorkspaceAttachmentList = Struct({
7139
+ items: ArraySchema(RunnerWorkspaceAttachment)
7140
+ });
7141
+ var RunnerWorkspaceAttachmentDeleteResult = Struct({
7142
+ removed: Boolean2
7143
+ });
7285
7144
  var RunnerReplicaPlacement = Struct({
7286
7145
  kind: String4.check(isMinLength(1), isMaxLength(80)),
7287
7146
  label: optionalKey(String4.check(isMinLength(1), isMaxLength(160))),
@@ -9434,11 +9293,11 @@ var TranscriptSearchResult = Struct({
9434
9293
  total: Int
9435
9294
  });
9436
9295
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9437
- var TypeId9 = "~effect/http/HttpBody";
9296
+ var TypeId8 = "~effect/http/HttpBody";
9438
9297
  class Proto5 {
9439
- [TypeId9];
9298
+ [TypeId8];
9440
9299
  constructor() {
9441
- this[TypeId9] = TypeId9;
9300
+ this[TypeId8] = TypeId8;
9442
9301
  }
9443
9302
  [NodeInspectSymbol]() {
9444
9303
  return this.toJSON();
@@ -9517,7 +9376,7 @@ var buffer = globalThis.Buffer;
9517
9376
  var encodeText = buffer !== undefined ? (body) => buffer.from(body, "utf8") : (body) => encoder.encode(body);
9518
9377
 
9519
9378
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
9520
- var TypeId10 = "~effect/http/HttpClientError";
9379
+ var TypeId9 = "~effect/http/HttpClientError";
9521
9380
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9522
9381
  constructor(props) {
9523
9382
  if ("cause" in props.reason) {
@@ -9529,7 +9388,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
9529
9388
  super(props);
9530
9389
  }
9531
9390
  }
9532
- [TypeId10] = TypeId10;
9391
+ [TypeId9] = TypeId9;
9533
9392
  get request() {
9534
9393
  return this.reason.request;
9535
9394
  }
@@ -9633,7 +9492,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
9633
9492
  }
9634
9493
  }
9635
9494
 
9636
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
9495
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
9637
9496
  _tag: /* @__PURE__ */ tag("HttpError"),
9638
9497
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
9639
9498
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -9666,7 +9525,7 @@ var updateContentLength = (headers, body) => {
9666
9525
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
9667
9526
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
9668
9527
  }
9669
- var make27 = (url, params, hash) => try_({
9528
+ var make26 = (url, params, hash) => try_({
9670
9529
  try: () => {
9671
9530
  const urlInstance = new URL(url, baseUrl());
9672
9531
  for (let i = 0;i < params.params.length; i++) {
@@ -9697,10 +9556,10 @@ var baseUrl = () => {
9697
9556
  };
9698
9557
 
9699
9558
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
9700
- var TypeId11 = "~effect/http/HttpClientRequest";
9701
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
9559
+ var TypeId10 = "~effect/http/HttpClientRequest";
9560
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
9702
9561
  var Proto6 = {
9703
- [TypeId11]: TypeId11,
9562
+ [TypeId10]: TypeId10,
9704
9563
  ...BaseProto,
9705
9564
  toJSON() {
9706
9565
  return {
@@ -9786,7 +9645,7 @@ var setBody = /* @__PURE__ */ dual(2, (self, body) => {
9786
9645
  });
9787
9646
  var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0]), (self, body, contentType) => setBody(self, uint8Array(body, contentType)));
9788
9647
  function toUrl(self) {
9789
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
9648
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
9790
9649
  if (isSuccess(r)) {
9791
9650
  return some(r.success);
9792
9651
  }
@@ -9794,7 +9653,7 @@ function toUrl(self) {
9794
9653
  }
9795
9654
 
9796
9655
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
9797
- var TypeId12 = "~effect/http/HttpIncomingMessage";
9656
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
9798
9657
  var schemaBodyJson = (schema, options) => {
9799
9658
  const decode = decodeEffect(toCodecJson(schema));
9800
9659
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -9813,7 +9672,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
9813
9672
  var getWebSource = (self) => self[WebSourceSymbol]?.();
9814
9673
 
9815
9674
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
9816
- var TypeId13 = "~effect/http/HttpClientResponse";
9675
+ var TypeId12 = "~effect/http/HttpClientResponse";
9817
9676
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
9818
9677
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
9819
9678
  reason: new StatusCodeError({
@@ -9824,16 +9683,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
9824
9683
  }));
9825
9684
 
9826
9685
  class WebHttpClientResponse extends Class {
9686
+ [TypeId11];
9827
9687
  [TypeId12];
9828
- [TypeId13];
9829
9688
  request;
9830
9689
  source;
9831
9690
  constructor(request, source) {
9832
9691
  super();
9833
9692
  this.request = request;
9834
9693
  this.source = source;
9694
+ this[TypeId11] = TypeId11;
9835
9695
  this[TypeId12] = TypeId12;
9836
- this[TypeId13] = TypeId13;
9837
9696
  }
9838
9697
  toJSON() {
9839
9698
  return inspect(this, {
@@ -10005,7 +9864,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10005
9864
  };
10006
9865
 
10007
9866
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10008
- var TypeId14 = "~effect/http/HttpClient";
9867
+ var TypeId13 = "~effect/http/HttpClient";
10009
9868
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10010
9869
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10011
9870
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10022,7 +9881,7 @@ var makeWith2 = (postprocess, preprocess) => {
10022
9881
  return self;
10023
9882
  };
10024
9883
  var Proto7 = {
10025
- [TypeId14]: TypeId14,
9884
+ [TypeId13]: TypeId13,
10026
9885
  pipe() {
10027
9886
  return pipeArguments(this, arguments);
10028
9887
  },
@@ -10036,10 +9895,10 @@ var Proto7 = {
10036
9895
  return this.execute(make5(fullMethod)(url, options));
10037
9896
  }]))
10038
9897
  };
10039
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
9898
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10040
9899
  const scopedController = scopedRequests.get(request);
10041
9900
  const controller = scopedController ?? new AbortController;
10042
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
9901
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10043
9902
  if (isFailure(urlResult)) {
10044
9903
  return fail7(new HttpClientError({
10045
9904
  reason: new InvalidUrlError({
@@ -10173,8 +10032,8 @@ class InterruptibleResponse {
10173
10032
  this.original = original;
10174
10033
  this.controller = controller;
10175
10034
  }
10176
- [TypeId13] = TypeId13;
10177
10035
  [TypeId12] = TypeId12;
10036
+ [TypeId11] = TypeId11;
10178
10037
  applyInterrupt(effect) {
10179
10038
  return suspend3(() => {
10180
10039
  responseRegistry.unregister(this.original);
@@ -10272,7 +10131,7 @@ var detectStreamBodySupport = () => {
10272
10131
  return false;
10273
10132
  }
10274
10133
  };
10275
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10134
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10276
10135
  if (request.headers.upgrade !== undefined) {
10277
10136
  return fail7(new HttpClientError({
10278
10137
  reason: new TransportError({
@@ -10363,10 +10222,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10363
10222
  });
10364
10223
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10365
10224
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10366
- var TypeId15 = "~effect/socket/Socket";
10225
+ var TypeId14 = "~effect/socket/Socket";
10367
10226
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10368
- var make29 = (options) => Socket.of({
10369
- [TypeId15]: TypeId15,
10227
+ var make28 = (options) => Socket.of({
10228
+ [TypeId14]: TypeId14,
10370
10229
  reader: options.reader,
10371
10230
  writer: options.writer
10372
10231
  });
@@ -10689,7 +10548,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
10689
10548
  write,
10690
10549
  writeAll
10691
10550
  });
10692
- return succeed6(make29({
10551
+ return succeed6(make28({
10693
10552
  reader,
10694
10553
  writer
10695
10554
  }));
@@ -12534,6 +12393,21 @@ class KitmanEffectClient {
12534
12393
  headers: this.headers()
12535
12394
  });
12536
12395
  }
12396
+ attachRunnerWorkspace(runnerId, input) {
12397
+ return this.request("attachRunnerWorkspace", `/runners/${segment(runnerId)}/workspace-attachments`, {
12398
+ method: "POST",
12399
+ headers: this.headers(true),
12400
+ body: JSON.stringify(input)
12401
+ });
12402
+ }
12403
+ listRunnerWorkspaceAttachments(runnerId) {
12404
+ return this.request("listRunnerWorkspaceAttachments", `/runners/${segment(runnerId)}/workspace-attachments`, {
12405
+ headers: this.headers()
12406
+ });
12407
+ }
12408
+ detachRunnerWorkspace(runnerId, workspaceId) {
12409
+ return this.request("detachRunnerWorkspace", `/runners/${segment(runnerId)}/workspace-attachments/${segment(workspaceId)}`, { method: "DELETE", headers: this.headers() });
12410
+ }
12537
12411
  listRunnerControlCommands(runnerId, input, traceparent) {
12538
12412
  return this.request("listRunnerControlCommands", `/runners/${segment(runnerId)}/control-commands`, {
12539
12413
  method: "POST",
@@ -13526,7 +13400,7 @@ function getStreamSchemas(schema) {
13526
13400
  }
13527
13401
  var schema = /* @__PURE__ */ declare(isStream);
13528
13402
  function Stream(success, error) {
13529
- return make16(schema.ast, {
13403
+ return make17(schema.ast, {
13530
13404
  [StreamSchemaTypeId]: StreamSchemaTypeId,
13531
13405
  success,
13532
13406
  error
@@ -13534,9 +13408,9 @@ function Stream(success, error) {
13534
13408
  }
13535
13409
 
13536
13410
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
13537
- var TypeId16 = "~effect/rpc/Rpc";
13411
+ var TypeId15 = "~effect/rpc/Rpc";
13538
13412
  var Proto8 = {
13539
- [TypeId16]: TypeId16,
13413
+ [TypeId15]: TypeId15,
13540
13414
  pipe() {
13541
13415
  return pipeArguments(this, arguments);
13542
13416
  },
@@ -13703,7 +13577,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
13703
13577
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
13704
13578
 
13705
13579
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
13706
- var TypeId17 = "~effect/rpc/RpcClientError";
13580
+ var TypeId16 = "~effect/rpc/RpcClientError";
13707
13581
 
13708
13582
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
13709
13583
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -13712,11 +13586,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
13712
13586
  })) {
13713
13587
  }
13714
13588
 
13715
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
13589
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
13716
13590
  _tag: /* @__PURE__ */ tag("RpcClientError"),
13717
13591
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
13718
13592
  })) {
13719
- [TypeId17] = TypeId17;
13593
+ [TypeId16] = TypeId16;
13720
13594
  get message() {
13721
13595
  return `${this.reason._tag}: ${this.reason.message}`;
13722
13596
  }
@@ -13836,7 +13710,7 @@ var RpcGroupProto = {
13836
13710
  });
13837
13711
  },
13838
13712
  annotateRpcs(service, value) {
13839
- return this.annotateRpcsMerge(make14(service, value));
13713
+ return this.annotateRpcsMerge(make15(service, value));
13840
13714
  },
13841
13715
  annotateMerge(context) {
13842
13716
  return makeProto2({
@@ -13864,7 +13738,7 @@ var make7 = (...rpcs) => makeProto2({
13864
13738
  annotations: empty3()
13865
13739
  });
13866
13740
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
13867
- var TypeId18 = "~effect/rpc/RpcMiddleware";
13741
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
13868
13742
  var Service = () => (id, options) => {
13869
13743
  const limit = getStackTraceLimit();
13870
13744
  let creationError;
@@ -13882,7 +13756,7 @@ var Service = () => (id, options) => {
13882
13756
  return creationError?.stack;
13883
13757
  }
13884
13758
  });
13885
- ServiceClass_[TypeId18] = TypeId18;
13759
+ ServiceClass_[TypeId17] = TypeId17;
13886
13760
  ServiceClass_.error = options?.error ?? Never;
13887
13761
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
13888
13762
  return ServiceClass;
@@ -14473,7 +14347,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
14473
14347
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
14474
14348
 
14475
14349
  // apps/cli/src/oauth.ts
14476
- var Scope2 = "openid profile email offline_access kitman:cli";
14350
+ var Scope = "openid profile email offline_access kitman:cli";
14477
14351
  var CallbackPath = "/auth/callback";
14478
14352
 
14479
14353
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -14492,7 +14366,7 @@ function buildAuthorizeUrl(input) {
14492
14366
  url.searchParams.set("response_type", "code");
14493
14367
  url.searchParams.set("client_id", input.clientId);
14494
14368
  url.searchParams.set("redirect_uri", input.redirectUri);
14495
- url.searchParams.set("scope", Scope2);
14369
+ url.searchParams.set("scope", Scope);
14496
14370
  url.searchParams.set("code_challenge", input.codeChallenge);
14497
14371
  url.searchParams.set("code_challenge_method", "S256");
14498
14372
  url.searchParams.set("state", input.state);
@@ -14552,7 +14426,7 @@ function toStoredSession(token, existingRefreshToken) {
14552
14426
  }
14553
14427
  function startLoopbackServer(input) {
14554
14428
  return gen(function* () {
14555
- const code = yield* make15();
14429
+ const code = yield* make16();
14556
14430
  const context2 = yield* context();
14557
14431
  const runSyncExit = runSyncExitWith(context2);
14558
14432
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15092,7 +14966,7 @@ var openConnection = (transport) => gen(function* () {
15092
14966
  let lastId = 0;
15093
14967
  let lost = false;
15094
14968
  const notifications = yield* unbounded2();
15095
- const ended = yield* make15();
14969
+ const ended = yield* make16();
15096
14970
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15097
14971
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15098
14972
  onNone: () => void_3,
@@ -15119,7 +14993,7 @@ var openConnection = (transport) => gen(function* () {
15119
14993
  if (lost)
15120
14994
  return yield* new HerdrCoreConnectionLost2({ method });
15121
14995
  const id = ++lastId;
15122
- const deferred = yield* make15();
14996
+ const deferred = yield* make16();
15123
14997
  pending.set(id, { method, deferred });
15124
14998
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15125
14999
  return yield* _await(deferred);
@@ -15193,7 +15067,7 @@ var herdrCoreOver = (transport) => ({
15193
15067
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15194
15068
  };
15195
15069
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15196
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15070
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15197
15071
  }))
15198
15072
  });
15199
15073
  var spawnedTransport = (env) => gen(function* () {
@@ -15284,7 +15158,7 @@ var runProcess2 = (argv, options) => gen(function* () {
15284
15158
  const spawner = yield* ChildProcessSpawner;
15285
15159
  const [command, ...args] = argv;
15286
15160
  const handle = yield* spawner.spawn(make3(command, args, {
15287
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15161
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
15288
15162
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
15289
15163
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
15290
15164
  }));