@kitman-sh/cli 0.14.7 → 0.14.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-bty0mbn4.js → chunk-0x5r7h2g.js} +19 -19
  2. package/dist/{chunk-79g5zh2p.js → chunk-2r4jy82z.js} +2 -2
  3. package/dist/{chunk-d2bqqd9t.js → chunk-3hdjd2c3.js} +48 -22
  4. package/dist/{chunk-64zvzv63.js → chunk-6qygqj10.js} +6 -6
  5. package/dist/{chunk-w8pevmva.js → chunk-93xj74qp.js} +3 -3
  6. package/dist/{chunk-rjz0pnf9.js → chunk-axr8avvs.js} +4 -4
  7. package/dist/{chunk-cn86thbx.js → chunk-b2yy07ag.js} +4 -4
  8. package/dist/{chunk-bdd62njv.js → chunk-bmwf2ea5.js} +177 -34
  9. package/dist/{chunk-8k6adfg7.js → chunk-c80dvhxf.js} +1 -1
  10. package/dist/{chunk-s7rhz991.js → chunk-cpss81fx.js} +6 -6
  11. package/dist/{chunk-y6njjend.js → chunk-cwdrhsvk.js} +2 -2
  12. package/dist/{chunk-htxs2z8d.js → chunk-czmbgsqr.js} +25 -4
  13. package/dist/{chunk-aj2608jz.js → chunk-dd7wknyk.js} +132 -281
  14. package/dist/{chunk-hz4t408c.js → chunk-e3c15bgw.js} +4 -4
  15. package/dist/{chunk-gnhfwa99.js → chunk-enmtmq63.js} +1 -1
  16. package/dist/{chunk-9yenzg12.js → chunk-ftre6ndb.js} +18 -18
  17. package/dist/{chunk-qkh0dhad.js → chunk-h7qv6nzc.js} +3 -3
  18. package/dist/{chunk-xxx61cda.js → chunk-jsb61dsk.js} +29 -29
  19. package/dist/{chunk-b009hdm0.js → chunk-mgjer6c7.js} +5 -5
  20. package/dist/{chunk-bpx2zjh7.js → chunk-qb9jft1r.js} +2 -2
  21. package/dist/{chunk-ag19ejy7.js → chunk-qvyqfm54.js} +9 -9
  22. package/dist/{chunk-jv4p85q5.js → chunk-vjt0d9zj.js} +7 -7
  23. package/dist/{chunk-bbf0jzsc.js → chunk-vt8aqeby.js} +1 -1
  24. package/dist/{chunk-zpp4jg4a.js → chunk-wttgq85b.js} +60 -60
  25. package/dist/{chunk-c9j28q63.js → chunk-y9x0yv20.js} +23 -23
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -38,7 +38,7 @@ import {
38
38
  assignProperty,
39
39
  PipeInspectableProto,
40
40
  withFiber,
41
- make13,
41
+ make14,
42
42
  strictEqual,
43
43
  Tuple,
44
44
  Number2,
@@ -58,15 +58,13 @@ import {
58
58
  Service2,
59
59
  makeUnsafe4,
60
60
  empty3,
61
- make14,
61
+ make15,
62
62
  add,
63
63
  getOrUndefined2,
64
64
  getOrUndefinedUnsafe,
65
- get3,
65
+ get4,
66
66
  merge3,
67
67
  Reference,
68
- fromInputUnsafe,
69
- isFinite,
70
68
  millis,
71
69
  seconds,
72
70
  toMillis,
@@ -86,14 +84,14 @@ import {
86
84
  DisablePropagation,
87
85
  sync,
88
86
  map7,
87
+ ClockRef,
88
+ currentTimeMillis2,
89
89
  ConsoleRef,
90
90
  succeed3,
91
91
  fail4,
92
- void_2,
93
92
  isSuccess2,
94
- isFailure2,
95
93
  makeUnsafe5,
96
- make15,
94
+ make16,
97
95
  _await,
98
96
  fail5,
99
97
  isDone,
@@ -101,12 +99,8 @@ import {
101
99
  succeed4,
102
100
  doneUnsafe,
103
101
  TracerTimingEnabled,
104
- Scope,
105
- makeUnsafe6,
106
102
  provide,
107
- addFinalizerExit,
108
103
  addFinalizer,
109
- close,
110
104
  succeed5,
111
105
  effect,
112
106
  effectContext,
@@ -158,7 +152,6 @@ import {
158
152
  tapCause,
159
153
  retry,
160
154
  ignore,
161
- ignoreCause,
162
155
  orElseSucceed,
163
156
  timeout,
164
157
  timeoutOrElse,
@@ -170,7 +163,6 @@ import {
170
163
  context,
171
164
  contextWith,
172
165
  provide3,
173
- provideContext2,
174
166
  serviceOption,
175
167
  updateContext,
176
168
  provideService,
@@ -181,7 +173,6 @@ import {
181
173
  addFinalizer2,
182
174
  ensuring2,
183
175
  onError,
184
- onExit,
185
176
  cached,
186
177
  interrupt3,
187
178
  interruptible,
@@ -193,7 +184,6 @@ import {
193
184
  withParentSpan,
194
185
  forkScoped,
195
186
  runFork,
196
- runForkWith,
197
187
  runPromise,
198
188
  runPromiseWith,
199
189
  runSync,
@@ -213,7 +203,7 @@ import {
213
203
  decodeEffect,
214
204
  decodeUnknownOption,
215
205
  decodeOption,
216
- make16,
206
+ make17,
217
207
  isSchema,
218
208
  optionalKey,
219
209
  optional,
@@ -273,30 +263,11 @@ import {
273
263
  decodeJsonStringOption,
274
264
  encodeJsonStringSync,
275
265
  encodePrettyJsonString
276
- } from "./chunk-zpp4jg4a.js";
277
- import {
278
- isDateTime,
279
- Numeric,
280
- isWholeNumber,
281
- guard,
282
- Id,
283
- Timestamp,
284
- ActorType,
285
- SecretName,
286
- SecretScope,
287
- SecretHosts,
288
- isSecretReference
289
- } from "./chunk-8k6adfg7.js";
266
+ } from "./chunk-wttgq85b.js";
290
267
  import {
291
268
  map,
292
269
  makeEquivalence,
293
- Clock,
294
- currentTimeMillis,
295
270
  bytes,
296
- join,
297
- interrupt,
298
- getCurrent,
299
- runIn,
300
271
  BadArgument,
301
272
  systemError,
302
273
  badArgument,
@@ -318,11 +289,13 @@ import {
318
289
  isSink,
319
290
  fromChannel,
320
291
  drain,
292
+ make10,
293
+ get3,
321
294
  isStream,
322
295
  fromChannel2,
323
296
  callback,
324
297
  empty2,
325
- make10,
298
+ make11,
326
299
  suspend,
327
300
  fail2,
328
301
  fromQueue,
@@ -348,17 +321,30 @@ import {
348
321
  mkArrayBuffer,
349
322
  toReadableStreamEffect,
350
323
  FileSystem,
351
- make11,
324
+ make12,
352
325
  FileTypeId,
353
326
  WatchBackend,
354
327
  Path,
355
- make12,
328
+ make13,
356
329
  option,
357
330
  String2,
358
331
  optionalEnv,
359
332
  harnessesUnsupportedInSrt2,
360
333
  harnessesUnsupportedInDocker2
361
- } from "./chunk-bdd62njv.js";
334
+ } from "./chunk-bmwf2ea5.js";
335
+ import {
336
+ isDateTime,
337
+ Numeric,
338
+ isWholeNumber,
339
+ guard,
340
+ Id,
341
+ Timestamp,
342
+ ActorType,
343
+ SecretName,
344
+ SecretScope,
345
+ SecretHosts,
346
+ isSecretReference
347
+ } from "./chunk-c80dvhxf.js";
362
348
  import {
363
349
  isRedacted,
364
350
  make,
@@ -372,11 +358,15 @@ import {
372
358
  make3,
373
359
  parseFdName,
374
360
  fdName
375
- } from "./chunk-79g5zh2p.js";
361
+ } from "./chunk-2r4jy82z.js";
376
362
 
377
363
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
378
364
  var makeEquivalence3 = Tuple;
379
365
 
366
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
367
+ var Clock = ClockRef;
368
+ var currentTimeMillis = currentTimeMillis2;
369
+
380
370
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
381
371
  var TypeId = "~effect/DateTime";
382
372
  var TimeZoneTypeId = "~effect/DateTime/TimeZone";
@@ -511,7 +501,7 @@ var fromDateUnsafe = (date) => {
511
501
  }
512
502
  return makeUtc(epochMillis);
513
503
  };
514
- var makeUnsafe7 = (input) => {
504
+ var makeUnsafe6 = (input) => {
515
505
  if (isDateTime2(input)) {
516
506
  return input;
517
507
  } else if (input instanceof Date) {
@@ -531,7 +521,7 @@ var makeUnsafe7 = (input) => {
531
521
  var hasZone = (input) => /Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(input) || /z$|gmt$/i.test(input);
532
522
  var minEpochMillis = -8640000000000000 + 12 * 60 * 60 * 1000;
533
523
  var maxEpochMillis = 8640000000000000 - 14 * 60 * 60 * 1000;
534
- var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe7);
524
+ var make4 = /* @__PURE__ */ liftThrowable(makeUnsafe6);
535
525
  var now = /* @__PURE__ */ map7(currentTimeMillis, makeUtc);
536
526
  var nowUnsafe = () => makeUtc(Date.now());
537
527
  var toDateUtc = (self) => new Date(self.epochMilliseconds);
@@ -638,7 +628,7 @@ class Metric$ {
638
628
  }
639
629
  hook(context) {
640
630
  const key = this.key(context);
641
- const registry = get3(context, MetricRegistry);
631
+ const registry = get4(context, MetricRegistry);
642
632
  let metadata = registry.get(key);
643
633
  if (isUndefined(metadata)) {
644
634
  metadata = this.metadata(this.createHooks());
@@ -647,11 +637,11 @@ class Metric$ {
647
637
  return metadata.hooks;
648
638
  }
649
639
  removeUnsafe(context) {
650
- get3(context, MetricRegistry).delete(this.key(context));
640
+ get4(context, MetricRegistry).delete(this.key(context));
651
641
  }
652
642
  registerUnsafe(context, hooks) {
653
643
  const key = this.key(context);
654
- const registry = get3(context, MetricRegistry);
644
+ const registry = get4(context, MetricRegistry);
655
645
  const metadata = this.metadata({
656
646
  get: hooks.get,
657
647
  update: constVoid,
@@ -667,7 +657,7 @@ class Metric$ {
667
657
  };
668
658
  }
669
659
  key(context) {
670
- const extraAttributes = get3(context, CurrentMetricAttributes);
660
+ const extraAttributes = get4(context, CurrentMetricAttributes);
671
661
  if (extraAttributes !== this.#extraAttributes) {
672
662
  this.#extraAttributes = extraAttributes;
673
663
  const merged = mergeAttributes(this.attributes, extraAttributes);
@@ -919,151 +909,9 @@ var toNumber = (b) => {
919
909
  return some(Number(b));
920
910
  };
921
911
 
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
912
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/DateTime.js
1065
- var makeUnsafe = makeUnsafe7;
1066
- var make19 = make4;
913
+ var makeUnsafe = makeUnsafe6;
914
+ var make18 = make4;
1067
915
  var now2 = now;
1068
916
  var nowUnsafe2 = nowUnsafe;
1069
917
  var toDateUtc2 = toDateUtc;
@@ -1382,7 +1230,7 @@ var taskkill = (childProcess, onExit = () => {}) => {
1382
1230
  windowsHide: true
1383
1231
  }, onExit);
1384
1232
  };
1385
- var make20 = /* @__PURE__ */ gen(function* () {
1233
+ var make19 = /* @__PURE__ */ gen(function* () {
1386
1234
  const fs = yield* FileSystem;
1387
1235
  const path = yield* Path;
1388
1236
  const resolveWorkingDirectory = fnUntraced(function* (options) {
@@ -1911,7 +1759,7 @@ var make20 = /* @__PURE__ */ gen(function* () {
1911
1759
  });
1912
1760
  return make2(spawnCommand);
1913
1761
  });
1914
- var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make20);
1762
+ var layer5 = /* @__PURE__ */ effect(ChildProcessSpawner, make19);
1915
1763
  var flattenCommand = (command) => {
1916
1764
  const commands = [];
1917
1765
  const pipeOptions = [];
@@ -2395,7 +2243,7 @@ var writeFile2 = (path, data, options) => callback3((resume, signal) => {
2395
2243
  resume(fail7(handleBadArgument("writeFile")(err)));
2396
2244
  }
2397
2245
  });
2398
- var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make11({
2246
+ var makeFileSystem = /* @__PURE__ */ map8(/* @__PURE__ */ serviceOption(WatchBackend), (backend) => make12({
2399
2247
  access: access2,
2400
2248
  chmod: chmod2,
2401
2249
  chown: chown2,
@@ -2455,15 +2303,15 @@ var fileUrlOps = (windows) => ({
2455
2303
  })
2456
2304
  })
2457
2305
  });
2458
- var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2306
+ var layerPosix = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2459
2307
  ...NodePath.posix,
2460
2308
  .../* @__PURE__ */ fileUrlOps(false)
2461
2309
  }));
2462
- var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2310
+ var layerWin32 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2463
2311
  ...NodePath.win32,
2464
2312
  .../* @__PURE__ */ fileUrlOps(true)
2465
2313
  }));
2466
- var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2314
+ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make13({
2467
2315
  ...NodePath,
2468
2316
  .../* @__PURE__ */ fileUrlOps(undefined)
2469
2317
  }));
@@ -2472,10 +2320,10 @@ var layer7 = /* @__PURE__ */ succeed5(Path)(/* @__PURE__ */ make12({
2472
2320
  var layer2 = layer7;
2473
2321
 
2474
2322
  // 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,
2323
+ var TypeId3 = "~effect/Stdio";
2324
+ var Stdio = /* @__PURE__ */ Service2(TypeId3);
2325
+ var make20 = (options) => ({
2326
+ [TypeId3]: TypeId3,
2479
2327
  stdinIsTerminal: succeed6(false),
2480
2328
  stdoutIsTerminal: succeed6(false),
2481
2329
  stderrIsTerminal: succeed6(false),
@@ -2483,7 +2331,7 @@ var make21 = (options) => ({
2483
2331
  });
2484
2332
 
2485
2333
  // 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({
2334
+ var layer8 = /* @__PURE__ */ succeed5(Stdio, /* @__PURE__ */ make20({
2487
2335
  args: /* @__PURE__ */ sync2(() => process.argv.slice(2)),
2488
2336
  stdinIsTerminal: /* @__PURE__ */ sync2(() => process.stdin.isTTY === true),
2489
2337
  stdoutIsTerminal: /* @__PURE__ */ sync2(() => process.stdout.isTTY === true),
@@ -2683,7 +2531,7 @@ var makeUuid = (bytes, randomBytes, format) => {
2683
2531
  const uuid = bytes(randomBytes(16));
2684
2532
  return format === "bytes" ? uuid : stringify(uuid);
2685
2533
  };
2686
- var make22 = (randomBytes) => {
2534
+ var make21 = (randomBytes) => {
2687
2535
  const randomBytesChecked = (size) => {
2688
2536
  checkSize(size);
2689
2537
  return randomBytes(size);
@@ -2717,7 +2565,7 @@ var fillRandom = (crypto2, size) => {
2717
2565
  }
2718
2566
  return bytes;
2719
2567
  };
2720
- var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make22((size) => fillRandom(crypto2, size)))));
2568
+ var layerWebCrypto = /* @__PURE__ */ effect(SecureRandom, /* @__PURE__ */ WebCrypto.use((crypto2) => succeed6(make21((size) => fillRandom(crypto2, size)))));
2721
2569
  var randomBytesUnsafe = (size) => {
2722
2570
  checkSize(size);
2723
2571
  return fillRandom(globalThis.crypto, size);
@@ -2725,10 +2573,10 @@ var randomBytesUnsafe = (size) => {
2725
2573
  var uuidV4Unsafe = (options) => makeUuid(v4Bytes, randomBytesUnsafe, options?.format);
2726
2574
 
2727
2575
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Cookies.js
2728
- var TypeId5 = "~effect/http/Cookies";
2576
+ var TypeId4 = "~effect/http/Cookies";
2729
2577
  var CookieTypeId = "~effect/http/Cookies/Cookie";
2730
2578
  var Proto2 = {
2731
- [TypeId5]: TypeId5,
2579
+ [TypeId4]: TypeId4,
2732
2580
  ...BaseProto,
2733
2581
  toJSON() {
2734
2582
  return {
@@ -2907,14 +2755,14 @@ var tryDecodeURIComponent = (str) => {
2907
2755
  };
2908
2756
 
2909
2757
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Headers.js
2910
- var TypeId6 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2758
+ var TypeId5 = /* @__PURE__ */ Symbol.for("~effect/http/Headers");
2911
2759
  var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.create(null), {
2912
- [TypeId6]: {
2913
- value: TypeId6
2760
+ [TypeId5]: {
2761
+ value: TypeId5
2914
2762
  },
2915
2763
  [symbolRedactable]: {
2916
2764
  value(context) {
2917
- return redact2(this, get3(context, CurrentRedactedNames));
2765
+ return redact2(this, get4(context, CurrentRedactedNames));
2918
2766
  }
2919
2767
  },
2920
2768
  toJSON: {
@@ -2939,7 +2787,7 @@ var Proto3 = /* @__PURE__ */ Object.defineProperties(/* @__PURE__ */ Object.crea
2939
2787
  value: BaseProto[NodeInspectSymbol]
2940
2788
  }
2941
2789
  });
2942
- var make23 = (input) => Object.assign(Object.create(Proto3), input);
2790
+ var make22 = (input) => Object.assign(Object.create(Proto3), input);
2943
2791
  var Equivalence2 = /* @__PURE__ */ makeEquivalence(/* @__PURE__ */ strictEqual());
2944
2792
  var empty = /* @__PURE__ */ Object.create(Proto3);
2945
2793
  var fromInput = (input) => {
@@ -2964,21 +2812,21 @@ var fromInput = (input) => {
2964
2812
  };
2965
2813
  var fromRecordUnsafe = (input) => Object.setPrototypeOf(input, Proto3);
2966
2814
  var set = /* @__PURE__ */ dual(3, (self, key, value) => {
2967
- const out = make23(self);
2815
+ const out = make22(self);
2968
2816
  out[key.toLowerCase()] = value;
2969
2817
  return out;
2970
2818
  });
2971
- var setAll = /* @__PURE__ */ dual(2, (self, headers) => make23({
2819
+ var setAll = /* @__PURE__ */ dual(2, (self, headers) => make22({
2972
2820
  ...self,
2973
2821
  ...fromInput(headers)
2974
2822
  }));
2975
2823
  var merge = /* @__PURE__ */ dual(2, (self, headers) => {
2976
- const out = make23(self);
2824
+ const out = make22(self);
2977
2825
  Object.assign(out, headers);
2978
2826
  return out;
2979
2827
  });
2980
2828
  var remove2 = /* @__PURE__ */ dual(2, (self, key) => {
2981
- const out = make23(self);
2829
+ const out = make22(self);
2982
2830
  delete out[key.toLowerCase()];
2983
2831
  return out;
2984
2832
  });
@@ -3035,18 +2883,18 @@ var bodyDecoder = /* @__PURE__ */ new TextDecoder("utf-8", {
3035
2883
  var fromBody = (bytes) => new URLSearchParams(bodyDecoder.decode(bytes).replace(/^\?/, "%3F"));
3036
2884
 
3037
2885
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/UrlParams.js
3038
- var TypeId7 = "~effect/http/UrlParams";
3039
- var isUrlParams = (u) => hasProperty(u, TypeId7);
2886
+ var TypeId6 = "~effect/http/UrlParams";
2887
+ var isUrlParams = (u) => hasProperty(u, TypeId6);
3040
2888
  var Proto4 = {
3041
2889
  ...PipeInspectableProto,
3042
- [TypeId7]: TypeId7,
2890
+ [TypeId6]: TypeId6,
3043
2891
  [Symbol.iterator]() {
3044
2892
  return this.params[Symbol.iterator]();
3045
2893
  },
3046
2894
  [symbolRedactable](context) {
3047
2895
  return {
3048
2896
  _id: "UrlParams",
3049
- params: Object.fromEntries(redact3(this, get3(context, CurrentRedactedNames2)))
2897
+ params: Object.fromEntries(redact3(this, get4(context, CurrentRedactedNames2)))
3050
2898
  };
3051
2899
  },
3052
2900
  toJSON() {
@@ -3059,7 +2907,7 @@ var Proto4 = {
3059
2907
  return array(this.params.flat());
3060
2908
  }
3061
2909
  };
3062
- var make24 = (params) => {
2910
+ var make23 = (params) => {
3063
2911
  const self = Object.create(Proto4);
3064
2912
  self.params = params;
3065
2913
  return self;
@@ -3078,7 +2926,7 @@ var fromInput2 = (input) => {
3078
2926
  out.push(parsed[i]);
3079
2927
  }
3080
2928
  }
3081
- return make24(out);
2929
+ return make23(out);
3082
2930
  };
3083
2931
  var fromInputNested = (input) => {
3084
2932
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable(input) : Object.entries(input);
@@ -3102,9 +2950,9 @@ var fromInputNested = (input) => {
3102
2950
  return out;
3103
2951
  };
3104
2952
  var coerce = (value) => isRedacted(value) ? value : String(value);
3105
- var Equivalence3 = /* @__PURE__ */ make13((a, b) => arrayEquivalence(a.params, b.params));
2953
+ var Equivalence3 = /* @__PURE__ */ make14((a, b) => arrayEquivalence(a.params, b.params));
3106
2954
  var arrayEquivalence = /* @__PURE__ */ makeEquivalence2(/* @__PURE__ */ makeEquivalence3([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ asEquivalence()]));
3107
- var empty4 = /* @__PURE__ */ make24([]);
2955
+ var empty4 = /* @__PURE__ */ make23([]);
3108
2956
  var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3109
2957
  const params = fromInput2(input).params.slice();
3110
2958
  const keys = new Set;
@@ -3116,7 +2964,7 @@ var setAll2 = /* @__PURE__ */ dual(2, (self, input) => {
3116
2964
  continue;
3117
2965
  params.push(self.params[i]);
3118
2966
  }
3119
- return make24(params);
2967
+ return make23(params);
3120
2968
  });
3121
2969
  var toString = (input) => new URLSearchParams(fromInput2(input).params.map(([key, value]) => [key, unwrap3(value)])).toString();
3122
2970
  var redact3 = /* @__PURE__ */ dual(2, (self, key) => {
@@ -3172,13 +3020,13 @@ var decodeQueryKey = (key) => {
3172
3020
  return key;
3173
3021
  }
3174
3022
  };
3175
- var currentRedactedNames = () => get3(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3023
+ var currentRedactedNames = () => get4(globalThis[currentFiberTypeId]?.context ?? empty3(), CurrentRedactedNames2);
3176
3024
  var CurrentRedactedNames2 = /* @__PURE__ */ Reference("effect/http/UrlParams/CurrentRedactedNames", {
3177
3025
  defaultValue: () => ["X-Amz-Signature", "X-Amz-Credential", "X-Amz-Security-Token", "AWSAccessKeyId", "Signature", "sig", "X-Goog-Signature"]
3178
3026
  });
3179
3027
 
3180
3028
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Terminal.js
3181
- var TypeId8 = "~effect/Terminal";
3029
+ var TypeId7 = "~effect/Terminal";
3182
3030
  var QuitErrorTypeId = "~effect/Terminal/QuitError";
3183
3031
 
3184
3032
  class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
@@ -3187,14 +3035,14 @@ class QuitError extends (/* @__PURE__ */ Error3("QuitError")({
3187
3035
  [QuitErrorTypeId] = QuitErrorTypeId;
3188
3036
  }
3189
3037
  var Terminal = /* @__PURE__ */ Service2("effect/Terminal");
3190
- var make25 = (impl) => Terminal.of({
3038
+ var make24 = (impl) => Terminal.of({
3191
3039
  ...impl,
3192
- [TypeId8]: TypeId8
3040
+ [TypeId7]: TypeId7
3193
3041
  });
3194
3042
 
3195
3043
  // node_modules/.bun/@effect+platform-node-shared@4.1.2+edf248c88a527e3e/node_modules/@effect/platform-node-shared/dist/NodeTerminal.js
3196
3044
  import * as readline from "readline";
3197
- var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3045
+ var make25 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
3198
3046
  const stdin = process.stdin;
3199
3047
  const stdout = process.stdout;
3200
3048
  const lines = yield* make9();
@@ -3208,7 +3056,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3208
3056
  };
3209
3057
  stdin.once("end", onStdinEnd);
3210
3058
  yield* addFinalizer2(() => sync2(() => stdin.off("end", onStdinEnd)));
3211
- const rlRef = yield* make18({
3059
+ const rlRef = yield* make10({
3212
3060
  acquire: acquireRelease(sync2(() => {
3213
3061
  const rl = readline.createInterface({
3214
3062
  input: stdin,
@@ -3247,7 +3095,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3247
3095
  if (stdin.isTTY)
3248
3096
  stdin.setRawMode(enabled);
3249
3097
  });
3250
- const rawModeRef = yield* make18({
3098
+ const rawModeRef = yield* make10({
3251
3099
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
3252
3100
  idleTimeToLive: "10 millis"
3253
3101
  });
@@ -3298,14 +3146,14 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3298
3146
  if (inputEnded) {
3299
3147
  handleEnd();
3300
3148
  } else {
3301
- yield* get5(rlRef);
3302
- yield* get5(rawModeRef);
3149
+ yield* get3(rlRef);
3150
+ yield* get3(rawModeRef);
3303
3151
  stdin.once("end", handleEnd);
3304
3152
  }
3305
3153
  return queue;
3306
3154
  });
3307
3155
  const readLine = suspend3(() => poll(lines).pipe(flatMap3(match({
3308
- onNone: () => scoped(andThen2(get5(rlRef), take(lines))),
3156
+ onNone: () => scoped(andThen2(get3(rlRef), take(lines))),
3309
3157
  onSome: succeed6
3310
3158
  })), mapError2(() => new QuitError({}))));
3311
3159
  const display = (prompt) => uninterruptible(callback3((resume) => {
@@ -3316,7 +3164,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3316
3164
  cause: err
3317
3165
  }))));
3318
3166
  }));
3319
- return make25({
3167
+ return make24({
3320
3168
  columns,
3321
3169
  rows,
3322
3170
  size,
@@ -3325,7 +3173,7 @@ var make26 = /* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQui
3325
3173
  display
3326
3174
  });
3327
3175
  });
3328
- var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make26(defaultShouldQuit));
3176
+ var layer10 = /* @__PURE__ */ effect(Terminal, /* @__PURE__ */ make25(defaultShouldQuit));
3329
3177
  function defaultShouldQuit(input) {
3330
3178
  const key = input.key;
3331
3179
  return key.name === "escape" || key.ctrl && (key.name === "c" || key.name === "d");
@@ -3352,7 +3200,7 @@ function toDate(input) {
3352
3200
  return toDateUtc2(makeUnsafe(input));
3353
3201
  }
3354
3202
  function parseDate(input) {
3355
- return getOrUndefined(map4(make19(input), toDateUtc2));
3203
+ return getOrUndefined(map4(make18(input), toDateUtc2));
3356
3204
  }
3357
3205
  function toIso(input) {
3358
3206
  return formatIso(makeUnsafe(input));
@@ -7027,10 +6875,12 @@ var RunStartPreview = Struct({
7027
6875
  })
7028
6876
  });
7029
6877
  var LoopVersion = String4.check(isPattern(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/));
6878
+ var LoopDescription = String4.check(isPattern(/^[^\r\n]{1,160}$/));
7030
6879
  var ProgramLoop = Struct({
7031
6880
  id: String4,
7032
6881
  title: String4,
7033
6882
  version: optionalKey(LoopVersion),
6883
+ description: optionalKey(LoopDescription),
7034
6884
  layer: Literals(["team", "workspace"]),
7035
6885
  digest: String4,
7036
6886
  outcome: optionalKey(String4),
@@ -7091,7 +6941,8 @@ var RunListItem = Struct({
7091
6941
  loop: Struct({ id: String4, title: String4 }),
7092
6942
  task: optionalKey(Struct({ id: Id, key: String4, title: String4 })),
7093
6943
  display: RunDisplay,
7094
- miniGraph: ArraySchema(Literals(RunDisplayStates))
6944
+ miniGraph: ArraySchema(Literals(RunDisplayStates)),
6945
+ steps: ArraySchema(Literals(RunDisplayStates))
7095
6946
  });
7096
6947
  var RunList = Struct({
7097
6948
  items: ArraySchema(RunListItem),
@@ -9987,11 +9838,11 @@ var TranscriptSearchResult = Struct({
9987
9838
  total: Int
9988
9839
  });
9989
9840
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpBody.js
9990
- var TypeId9 = "~effect/http/HttpBody";
9841
+ var TypeId8 = "~effect/http/HttpBody";
9991
9842
  class Proto5 {
9992
- [TypeId9];
9843
+ [TypeId8];
9993
9844
  constructor() {
9994
- this[TypeId9] = TypeId9;
9845
+ this[TypeId8] = TypeId8;
9995
9846
  }
9996
9847
  [NodeInspectSymbol]() {
9997
9848
  return this.toJSON();
@@ -10082,7 +9933,7 @@ var jsonUnsafe = (body, contentType) => text(JSON.stringify(body), contentType ?
10082
9933
  var urlParams = (urlParams, contentType) => text(toString(fromInput2(urlParams)), contentType ?? "application/x-www-form-urlencoded");
10083
9934
 
10084
9935
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientError.js
10085
- var TypeId10 = "~effect/http/HttpClientError";
9936
+ var TypeId9 = "~effect/http/HttpClientError";
10086
9937
  class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10087
9938
  constructor(props) {
10088
9939
  if ("cause" in props.reason) {
@@ -10094,7 +9945,7 @@ class HttpClientError extends (/* @__PURE__ */ TaggedError("HttpClientError")) {
10094
9945
  super(props);
10095
9946
  }
10096
9947
  }
10097
- [TypeId10] = TypeId10;
9948
+ [TypeId9] = TypeId9;
10098
9949
  get request() {
10099
9950
  return this.reason.request;
10100
9951
  }
@@ -10198,7 +10049,7 @@ class EmptyBodyError extends (/* @__PURE__ */ TaggedError("EmptyBodyError")) {
10198
10049
  }
10199
10050
  }
10200
10051
 
10201
- class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId10)({
10052
+ class HttpClientErrorSchema extends (/* @__PURE__ */ Error3(TypeId9)({
10202
10053
  _tag: /* @__PURE__ */ tag("HttpError"),
10203
10054
  kind: /* @__PURE__ */ Literals(["EncodeError", "DecodeError", "TransportError", "InvalidUrlError", "StatusCodeError", "EmptyBodyError"]),
10204
10055
  cause: /* @__PURE__ */ optional(/* @__PURE__ */ Defect())
@@ -10231,7 +10082,7 @@ var updateContentLength = (headers, body) => {
10231
10082
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/Url.js
10232
10083
  class UrlError extends (/* @__PURE__ */ TaggedError("UrlError")) {
10233
10084
  }
10234
- var make27 = (url, params, hash) => try_({
10085
+ var make26 = (url, params, hash) => try_({
10235
10086
  try: () => {
10236
10087
  const urlInstance = new URL(url, baseUrl());
10237
10088
  for (let i = 0;i < params.params.length; i++) {
@@ -10262,10 +10113,10 @@ var baseUrl = () => {
10262
10113
  };
10263
10114
 
10264
10115
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientRequest.js
10265
- var TypeId11 = "~effect/http/HttpClientRequest";
10266
- var isHttpClientRequest = (u) => hasProperty(u, TypeId11);
10116
+ var TypeId10 = "~effect/http/HttpClientRequest";
10117
+ var isHttpClientRequest = (u) => hasProperty(u, TypeId10);
10267
10118
  var Proto6 = {
10268
- [TypeId11]: TypeId11,
10119
+ [TypeId10]: TypeId10,
10269
10120
  ...BaseProto,
10270
10121
  toJSON() {
10271
10122
  return {
@@ -10354,7 +10205,7 @@ var bodyUint8Array = /* @__PURE__ */ dual((args) => isHttpClientRequest(args[0])
10354
10205
  var bodyJsonUnsafe = /* @__PURE__ */ dual(2, (self, body) => setBody(self, jsonUnsafe(body)));
10355
10206
  var bodyUrlParams = /* @__PURE__ */ dual(2, (self, input) => setBody(self, urlParams(fromInput2(input))));
10356
10207
  function toUrl(self) {
10357
- const r = make27(self.url, self.urlParams, getOrUndefined(self.hash));
10208
+ const r = make26(self.url, self.urlParams, getOrUndefined(self.hash));
10358
10209
  if (isSuccess(r)) {
10359
10210
  return some(r.success);
10360
10211
  }
@@ -10362,7 +10213,7 @@ function toUrl(self) {
10362
10213
  }
10363
10214
 
10364
10215
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpIncomingMessage.js
10365
- var TypeId12 = "~effect/http/HttpIncomingMessage";
10216
+ var TypeId11 = "~effect/http/HttpIncomingMessage";
10366
10217
  var schemaBodyJson = (schema, options) => {
10367
10218
  const decode = decodeEffect(toCodecJson(schema));
10368
10219
  const decodeJson = options?.reviver === undefined ? undefined : decodeEffect(fromJsonString(toCodecJson(schema), options));
@@ -10381,7 +10232,7 @@ var WebSourceSymbol = "~effect/http/HttpClientResponse/WebSource";
10381
10232
  var getWebSource = (self) => self[WebSourceSymbol]?.();
10382
10233
 
10383
10234
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClientResponse.js
10384
- var TypeId13 = "~effect/http/HttpClientResponse";
10235
+ var TypeId12 = "~effect/http/HttpClientResponse";
10385
10236
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
10386
10237
  var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed6(self) : fail7(new HttpClientError({
10387
10238
  reason: new StatusCodeError({
@@ -10392,16 +10243,16 @@ var filterStatusOk = (self) => self.status >= 200 && self.status < 300 ? succeed
10392
10243
  }));
10393
10244
 
10394
10245
  class WebHttpClientResponse extends Class {
10246
+ [TypeId11];
10395
10247
  [TypeId12];
10396
- [TypeId13];
10397
10248
  request;
10398
10249
  source;
10399
10250
  constructor(request, source) {
10400
10251
  super();
10401
10252
  this.request = request;
10402
10253
  this.source = source;
10254
+ this[TypeId11] = TypeId11;
10403
10255
  this[TypeId12] = TypeId12;
10404
- this[TypeId13] = TypeId13;
10405
10256
  }
10406
10257
  toJSON() {
10407
10258
  return inspect(this, {
@@ -10573,7 +10424,7 @@ var addHeaderAttributes = (span, phase, headers, filter, redactedNames) => {
10573
10424
  };
10574
10425
 
10575
10426
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/http/HttpClient.js
10576
- var TypeId14 = "~effect/http/HttpClient";
10427
+ var TypeId13 = "~effect/http/HttpClient";
10577
10428
  var HttpClient = /* @__PURE__ */ Service2("effect/HttpClient");
10578
10429
  var accessor = (method) => (...args) => flatMap3(HttpClient, (client) => client[method](...args));
10579
10430
  var execute = /* @__PURE__ */ accessor("execute");
@@ -10590,7 +10441,7 @@ var makeWith2 = (postprocess, preprocess) => {
10590
10441
  return self;
10591
10442
  };
10592
10443
  var Proto7 = {
10593
- [TypeId14]: TypeId14,
10444
+ [TypeId13]: TypeId13,
10594
10445
  pipe() {
10595
10446
  return pipeArguments(this, arguments);
10596
10447
  },
@@ -10604,10 +10455,10 @@ var Proto7 = {
10604
10455
  return this.execute(make5(fullMethod)(url, options));
10605
10456
  }]))
10606
10457
  };
10607
- var make28 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10458
+ var make27 = (f) => makeWith2((effect) => flatMap3(effect, (request) => withFiber2((fiber) => {
10608
10459
  const scopedController = scopedRequests.get(request);
10609
10460
  const controller = scopedController ?? new AbortController;
10610
- const urlResult = make27(request.url, request.urlParams, getOrUndefined(request.hash));
10461
+ const urlResult = make26(request.url, request.urlParams, getOrUndefined(request.hash));
10611
10462
  if (isFailure(urlResult)) {
10612
10463
  return fail7(new HttpClientError({
10613
10464
  reason: new InvalidUrlError({
@@ -10741,8 +10592,8 @@ class InterruptibleResponse {
10741
10592
  this.original = original;
10742
10593
  this.controller = controller;
10743
10594
  }
10744
- [TypeId13] = TypeId13;
10745
10595
  [TypeId12] = TypeId12;
10596
+ [TypeId11] = TypeId11;
10746
10597
  applyInterrupt(effect) {
10747
10598
  return suspend3(() => {
10748
10599
  responseRegistry.unregister(this.original);
@@ -10840,7 +10691,7 @@ var detectStreamBodySupport = () => {
10840
10691
  return false;
10841
10692
  }
10842
10693
  };
10843
- var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10694
+ var fetch2 = /* @__PURE__ */ make27((request, url, signal, fiber) => {
10844
10695
  if (request.headers.upgrade !== undefined) {
10845
10696
  return fail7(new HttpClientError({
10846
10697
  reason: new TransportError({
@@ -10931,10 +10782,10 @@ var fetch2 = /* @__PURE__ */ make28((request, url, signal, fiber) => {
10931
10782
  });
10932
10783
  var layer4 = /* @__PURE__ */ layerMergedContext(/* @__PURE__ */ succeed6(fetch2));
10933
10784
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/socket/Socket.js
10934
- var TypeId15 = "~effect/socket/Socket";
10785
+ var TypeId14 = "~effect/socket/Socket";
10935
10786
  var Socket = /* @__PURE__ */ Service2("effect/socket/Socket");
10936
- var make29 = (options) => Socket.of({
10937
- [TypeId15]: TypeId15,
10787
+ var make28 = (options) => Socket.of({
10788
+ [TypeId14]: TypeId14,
10938
10789
  reader: options.reader,
10939
10790
  writer: options.writer
10940
10791
  });
@@ -11257,7 +11108,7 @@ var fromWebSocket = (acquire, options) => withFiber2((fiber) => {
11257
11108
  write,
11258
11109
  writeAll
11259
11110
  });
11260
- return succeed6(make29({
11111
+ return succeed6(make28({
11261
11112
  reader,
11262
11113
  writer
11263
11114
  }));
@@ -14266,7 +14117,7 @@ function getStreamSchemas(schema) {
14266
14117
  }
14267
14118
  var schema = /* @__PURE__ */ declare(isStream);
14268
14119
  function Stream(success, error) {
14269
- return make16(schema.ast, {
14120
+ return make17(schema.ast, {
14270
14121
  [StreamSchemaTypeId]: StreamSchemaTypeId,
14271
14122
  success,
14272
14123
  error
@@ -14274,9 +14125,9 @@ function Stream(success, error) {
14274
14125
  }
14275
14126
 
14276
14127
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/Rpc.js
14277
- var TypeId16 = "~effect/rpc/Rpc";
14128
+ var TypeId15 = "~effect/rpc/Rpc";
14278
14129
  var Proto8 = {
14279
- [TypeId16]: TypeId16,
14130
+ [TypeId15]: TypeId15,
14280
14131
  pipe() {
14281
14132
  return pipeArguments(this, arguments);
14282
14133
  },
@@ -14443,7 +14294,7 @@ class WorkerUnknownError extends (/* @__PURE__ */ Error3("effect/workers/WorkerE
14443
14294
  var WorkerErrorReason = /* @__PURE__ */ Union([WorkerSpawnError, WorkerSendError, WorkerReceiveError, WorkerUnknownError]);
14444
14295
 
14445
14296
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcClientError.js
14446
- var TypeId17 = "~effect/rpc/RpcClientError";
14297
+ var TypeId16 = "~effect/rpc/RpcClientError";
14447
14298
 
14448
14299
  class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError/RpcClientDefect")({
14449
14300
  _tag: /* @__PURE__ */ tag("RpcClientDefect"),
@@ -14452,11 +14303,11 @@ class RpcClientDefect extends (/* @__PURE__ */ Error3("effect/rpc/RpcClientError
14452
14303
  })) {
14453
14304
  }
14454
14305
 
14455
- class RpcClientError extends (/* @__PURE__ */ Error3(TypeId17)({
14306
+ class RpcClientError extends (/* @__PURE__ */ Error3(TypeId16)({
14456
14307
  _tag: /* @__PURE__ */ tag("RpcClientError"),
14457
14308
  reason: /* @__PURE__ */ Union([WorkerErrorReason, SocketErrorReason, HttpClientErrorSchema, RpcClientDefect])
14458
14309
  })) {
14459
- [TypeId17] = TypeId17;
14310
+ [TypeId16] = TypeId16;
14460
14311
  get message() {
14461
14312
  return `${this.reason._tag}: ${this.reason.message}`;
14462
14313
  }
@@ -14576,7 +14427,7 @@ var RpcGroupProto = {
14576
14427
  });
14577
14428
  },
14578
14429
  annotateRpcs(service, value) {
14579
- return this.annotateRpcsMerge(make14(service, value));
14430
+ return this.annotateRpcsMerge(make15(service, value));
14580
14431
  },
14581
14432
  annotateMerge(context) {
14582
14433
  return makeProto2({
@@ -14604,7 +14455,7 @@ var make7 = (...rpcs) => makeProto2({
14604
14455
  annotations: empty3()
14605
14456
  });
14606
14457
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/rpc/RpcMiddleware.js
14607
- var TypeId18 = "~effect/rpc/RpcMiddleware";
14458
+ var TypeId17 = "~effect/rpc/RpcMiddleware";
14608
14459
  var Service = () => (id, options) => {
14609
14460
  const limit = getStackTraceLimit();
14610
14461
  let creationError;
@@ -14622,7 +14473,7 @@ var Service = () => (id, options) => {
14622
14473
  return creationError?.stack;
14623
14474
  }
14624
14475
  });
14625
- ServiceClass_[TypeId18] = TypeId18;
14476
+ ServiceClass_[TypeId17] = TypeId17;
14626
14477
  ServiceClass_.error = options?.error ?? Never;
14627
14478
  ServiceClass_.requiredForClient = options?.requiredForClient ?? false;
14628
14479
  return ServiceClass;
@@ -15266,7 +15117,7 @@ var ProgramRpcs = RunnerJournalRpcs.merge(RunnerCapabilityRpcs, RunnerRunFileRpc
15266
15117
  var RunnerRpcs = RunnerReplicaRpcs.merge(RunnerJournalRpcs, RunnerCapabilityRpcs, RunnerRunFileRpcs);
15267
15118
 
15268
15119
  // apps/cli/src/oauth.ts
15269
- var Scope2 = "openid profile email offline_access kitman:cli";
15120
+ var Scope = "openid profile email offline_access kitman:cli";
15270
15121
  var CallbackPath = "/auth/callback";
15271
15122
 
15272
15123
  class OAuthCallbackTimeout extends TaggedError("OAuthCallbackTimeout") {
@@ -15285,7 +15136,7 @@ function buildAuthorizeUrl(input) {
15285
15136
  url.searchParams.set("response_type", "code");
15286
15137
  url.searchParams.set("client_id", input.clientId);
15287
15138
  url.searchParams.set("redirect_uri", input.redirectUri);
15288
- url.searchParams.set("scope", Scope2);
15139
+ url.searchParams.set("scope", Scope);
15289
15140
  url.searchParams.set("code_challenge", input.codeChallenge);
15290
15141
  url.searchParams.set("code_challenge_method", "S256");
15291
15142
  url.searchParams.set("state", input.state);
@@ -15345,7 +15196,7 @@ function toStoredSession(token, existingRefreshToken) {
15345
15196
  }
15346
15197
  function startLoopbackServer(input) {
15347
15198
  return gen(function* () {
15348
- const code = yield* make15();
15199
+ const code = yield* make16();
15349
15200
  const context2 = yield* context();
15350
15201
  const runSyncExit = runSyncExitWith(context2);
15351
15202
  const server = yield* acquireRelease(sync2(() => Bun.serve({
@@ -15893,7 +15744,7 @@ var openConnection = (transport) => gen(function* () {
15893
15744
  let lastId = 0;
15894
15745
  let lost = false;
15895
15746
  const notifications = yield* unbounded2();
15896
- const ended = yield* make15();
15747
+ const ended = yield* make16();
15897
15748
  const settle = (line) => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Response2)), {
15898
15749
  onNone: () => match(flatMap(decodeJsonStringOption(line), decodeUnknownOption(Notification)), {
15899
15750
  onNone: () => void_3,
@@ -15920,7 +15771,7 @@ var openConnection = (transport) => gen(function* () {
15920
15771
  if (lost)
15921
15772
  return yield* new HerdrCoreConnectionLost2({ method });
15922
15773
  const id = ++lastId;
15923
- const deferred = yield* make15();
15774
+ const deferred = yield* make16();
15924
15775
  pending.set(id, { method, deferred });
15925
15776
  yield* pipe.write(encodeJsonStringSync({ jsonrpc: "2.0", id, method, params }));
15926
15777
  return yield* _await(deferred);
@@ -15994,7 +15845,7 @@ var herdrCoreOver = (transport) => ({
15994
15845
  return { type: "event", terminal: event.value.terminal, kind: event.value.type, data: event.value.data };
15995
15846
  };
15996
15847
  const snapshot = { type: "snapshot", terminals: subscribed.terminals };
15997
- return concat(make10(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15848
+ return concat(make11(snapshot), fromQueue(notifications).pipe(map2(toEvent), filter((event) => event !== undefined)));
15998
15849
  }))
15999
15850
  });
16000
15851
  var spawnedTransport = (env) => gen(function* () {
@@ -16085,7 +15936,7 @@ var runProcess2 = (argv, options) => gen(function* () {
16085
15936
  const spawner = yield* ChildProcessSpawner;
16086
15937
  const [command, ...args] = argv;
16087
15938
  const handle = yield* spawner.spawn(make3(command, args, {
16088
- stdin: options.stdin === undefined ? "ignore" : make10(new TextEncoder().encode(options.stdin)),
15939
+ stdin: options.stdin === undefined ? "ignore" : make11(new TextEncoder().encode(options.stdin)),
16089
15940
  ...options.cwd === undefined ? undefined : { cwd: options.cwd },
16090
15941
  env: options.extendEnv === false ? { ...options.env } : { ...withoutPreloads2(), ...options.env }
16091
15942
  }));
@@ -16601,4 +16452,4 @@ function serviceChecks(declaration) {
16601
16452
  return decoded === undefined || decoded.services.length === 0 ? [] : [...new Set(decoded.checks ?? [])];
16602
16453
  }
16603
16454
 
16604
- export { WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };
16455
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, releaseChannelOffers, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, tokenCountWords, isTestReportName, testDigest, failedTestOfLine, printedNotReported, failedTestsOf, testOutcomes, checkTests, reportedModelName, LoopDataSchemaRef, RunDisplayStates, LoopVersion, LoopDescription, ProgramLoop, AgentFallback, RunWaitUntils, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, stepFallbackWords, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, runnerReleaseChannelPath, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, antigravityPlugins, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices, serviceChecks };