@kitman-sh/cli 0.51.0 → 0.52.0

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 (28) hide show
  1. package/dist/{chunk-fqh4pj6b.js → chunk-2nq80r46.js} +60 -14
  2. package/dist/{chunk-5hsqbwzd.js → chunk-2t1hcdeq.js} +20 -20
  3. package/dist/{chunk-04wqa07j.js → chunk-5yygjn0k.js} +1 -1
  4. package/dist/{chunk-2d1ck2fa.js → chunk-84qb67e2.js} +1 -1
  5. package/dist/{chunk-adevz872.js → chunk-9hde8p6b.js} +6 -6
  6. package/dist/{chunk-hf0chy5n.js → chunk-a40yta1r.js} +3 -3
  7. package/dist/{chunk-s5qejghj.js → chunk-axfp5tzk.js} +7 -7
  8. package/dist/{chunk-5pjbxhxy.js → chunk-bhz25x76.js} +3 -3
  9. package/dist/{chunk-5smh4dp2.js → chunk-bj0zchck.js} +35 -184
  10. package/dist/{chunk-6ryjppc7.js → chunk-chbdcf34.js} +8 -8
  11. package/dist/{chunk-whspb67e.js → chunk-eqh0h088.js} +24 -24
  12. package/dist/{chunk-xg5essbk.js → chunk-h5ydhdhx.js} +20 -20
  13. package/dist/{chunk-558rmyma.js → chunk-kt26vpwf.js} +9 -9
  14. package/dist/{chunk-a71b15k3.js → chunk-mmt6xq48.js} +2 -2
  15. package/dist/{chunk-c3yzdpwf.js → chunk-my9db578.js} +4 -4
  16. package/dist/{chunk-8gkrs473.js → chunk-pppryg54.js} +5 -5
  17. package/dist/{chunk-tfwgeqx5.js → chunk-q2z8rct0.js} +4 -4
  18. package/dist/{chunk-j3x7fcrd.js → chunk-qjfzcrv5.js} +4 -4
  19. package/dist/{chunk-tse7tfe9.js → chunk-qsbq9gvr.js} +338 -181
  20. package/dist/{chunk-n3jpxd14.js → chunk-tfznw549.js} +2 -2
  21. package/dist/{chunk-9ykh05hz.js → chunk-tqspx38s.js} +1 -1
  22. package/dist/{chunk-vaeva1k8.js → chunk-trtgab3h.js} +2 -2
  23. package/dist/{chunk-hasds4yd.js → chunk-wb04fv2s.js} +32 -32
  24. package/dist/{chunk-4vxbxjf8.js → chunk-wxg9k10v.js} +1 -1
  25. package/dist/{chunk-ptqswdck.js → chunk-xbqd3kqc.js} +12 -12
  26. package/dist/{chunk-k462v2v7.js → chunk-zb4t1yrt.js} +60 -102
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -34,11 +34,8 @@ import {
34
34
  getOrUndefined,
35
35
  map4,
36
36
  Service2,
37
- add,
38
- get4,
37
+ get3,
39
38
  Reference,
40
- fromInputUnsafe,
41
- isFinite,
42
39
  normalize,
43
40
  succeed,
44
41
  fail3,
@@ -89,7 +86,6 @@ import {
89
86
  fail4,
90
87
  interrupt2,
91
88
  void_2,
92
- isSuccess2,
93
89
  isFailure2,
94
90
  asVoidAll,
95
91
  makeUnsafe5,
@@ -161,14 +157,12 @@ import {
161
157
  tapError2,
162
158
  ignoreCause,
163
159
  orElseSucceed,
164
- sleep,
165
160
  raceFirst,
166
161
  when,
167
162
  matchCauseEffect,
168
163
  context,
169
164
  contextWith,
170
165
  provideContext2,
171
- scope2,
172
166
  scoped,
173
167
  scopedWith,
174
168
  acquireRelease,
@@ -179,7 +173,6 @@ import {
179
173
  interrupt3,
180
174
  onInterrupt,
181
175
  uninterruptible,
182
- uninterruptibleMask2,
183
176
  forever,
184
177
  forkChild,
185
178
  forkIn,
@@ -202,11 +195,11 @@ import {
202
195
  toEncoded,
203
196
  decodeUnknownEffect,
204
197
  SchemaError,
205
- make17,
198
+ make16,
206
199
  String4,
207
200
  toCodecStringTree,
208
201
  encodeUnknownJsonStringSync
209
- } from "./chunk-k462v2v7.js";
202
+ } from "./chunk-zb4t1yrt.js";
210
203
 
211
204
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
212
205
  var headUnsafe = (self) => {
@@ -380,7 +373,7 @@ var fromStringUnsafe = (input) => {
380
373
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
381
374
  return make(value);
382
375
  };
383
- var fromInputUnsafe2 = (input) => {
376
+ var fromInputUnsafe = (input) => {
384
377
  switch (typeof input) {
385
378
  case "bigint":
386
379
  if (input < bigint0)
@@ -393,7 +386,7 @@ var fromInputUnsafe2 = (input) => {
393
386
  }
394
387
  return invalid(`unsupported input ${input}`);
395
388
  };
396
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
389
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
397
390
 
398
391
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
399
392
  var join = fiberJoin;
@@ -1140,7 +1133,7 @@ var MutableRefProto = {
1140
1133
  };
1141
1134
  }
1142
1135
  };
1143
- var make7 = (value) => {
1136
+ var make8 = (value) => {
1144
1137
  const ref = Object.create(MutableRefProto);
1145
1138
  ref.current = value;
1146
1139
  return ref;
@@ -1301,7 +1294,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1301
1294
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1302
1295
  var TypeId3 = "~effect/PubSub";
1303
1296
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1304
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1297
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1305
1298
  var unbounded = (options) => make5({
1306
1299
  atomicPubSub: () => makeAtomicUnbounded(options),
1307
1300
  strategy: () => new DroppingStrategy
@@ -1320,7 +1313,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1320
1313
  return false;
1321
1314
  });
1322
1315
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1323
- const localScope = get4(services, Scope);
1316
+ const localScope = get3(services, Scope);
1324
1317
  const scope = forkUnsafe2(self.scope);
1325
1318
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1326
1319
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -1396,7 +1389,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1396
1389
  subscribers.delete(subscription);
1397
1390
  }
1398
1391
  };
1399
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1392
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1400
1393
  class UnboundedPubSub {
1401
1394
  publisherHead = {
1402
1395
  value: AbsentValue,
@@ -1813,7 +1806,7 @@ var QueueProto = {
1813
1806
  };
1814
1807
  }
1815
1808
  };
1816
- var make8 = (options) => withFiber((fiber) => {
1809
+ var make9 = (options) => withFiber((fiber) => {
1817
1810
  const self = Object.create(QueueProto);
1818
1811
  self.dispatcher = fiber.currentDispatcher;
1819
1812
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1828,14 +1821,14 @@ var make8 = (options) => withFiber((fiber) => {
1828
1821
  };
1829
1822
  return succeed2(self);
1830
1823
  });
1831
- var bounded = (capacity) => make8({
1824
+ var bounded = (capacity) => make9({
1832
1825
  capacity
1833
1826
  });
1834
- var sliding = (capacity) => make8({
1827
+ var sliding = (capacity) => make9({
1835
1828
  capacity,
1836
1829
  strategy: "sliding"
1837
1830
  });
1838
- var unbounded2 = () => make8();
1831
+ var unbounded2 = () => make9();
1839
1832
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1840
1833
  var offerUnsafe = (self, message) => {
1841
1834
  if (self.state._tag !== "Open") {
@@ -2261,7 +2254,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2261
2254
  return onError(pull, onCause);
2262
2255
  }));
2263
2256
  var toTransform = (channel) => channel.transform;
2264
- var asyncQueue = (scope, f, options) => make8({
2257
+ var asyncQueue = (scope, f, options) => make9({
2265
2258
  capacity: options?.bufferSize,
2266
2259
  strategy: options?.strategy
2267
2260
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2302,7 +2295,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2302
2295
  }));
2303
2296
  var readableStreamToPullUnsafe = (options) => {
2304
2297
  const reader = options.readable.getReader();
2305
- const exit = options.exit ?? make7(undefined);
2298
+ const exit = options.exit ?? make8(undefined);
2306
2299
  const pull = suspend3(() => {
2307
2300
  if (exit.current)
2308
2301
  return exit.current;
@@ -2763,7 +2756,7 @@ var runFold2 = /* @__PURE__ */ dual(3, (self, initial, f) => suspend3(() => {
2763
2756
  var toPull2 = /* @__PURE__ */ fnUntraced(function* (self) {
2764
2757
  const semaphore = makeUnsafe3(1);
2765
2758
  const context2 = yield* context();
2766
- const scope = get4(context2, Scope);
2759
+ const scope = get3(context2, Scope);
2767
2760
  const pull = yield* toTransform(self)(done(), scope);
2768
2761
  return pull.pipe(provideContext2(context2), semaphore.withPermits(1));
2769
2762
  }, /* @__PURE__ */ catchCause2((cause) => succeed6(failCause3(cause))));
@@ -2824,151 +2817,9 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2824
2817
  }), catchDone(() => endVoid)));
2825
2818
  var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
2826
2819
 
2827
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2828
- var TypeId8 = "~effect/RcRef";
2829
- var stateEmpty = {
2830
- _tag: "Empty"
2831
- };
2832
- var stateClosed = {
2833
- _tag: "Closed"
2834
- };
2835
- var variance2 = {
2836
- _A: identity,
2837
- _E: identity
2838
- };
2839
-
2840
- class RcRefImpl {
2841
- [TypeId8] = variance2;
2842
- pipe() {
2843
- return pipeArguments(this, arguments);
2844
- }
2845
- state = stateEmpty;
2846
- acquire;
2847
- context;
2848
- scope;
2849
- idleTimeToLive;
2850
- constructor(acquire, context, scope, idleTimeToLive) {
2851
- this.acquire = acquire;
2852
- this.context = context;
2853
- this.scope = scope;
2854
- this.idleTimeToLive = idleTimeToLive;
2855
- }
2856
- }
2857
- var make6 = (options) => withFiber2((fiber) => {
2858
- const context = fiber.context;
2859
- const scope = get4(context, Scope);
2860
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2861
- return as(addFinalizerExit(scope, () => {
2862
- const state = ref.state;
2863
- ref.state = stateClosed;
2864
- if (state._tag === "Acquired")
2865
- return close(state.scope, void_2);
2866
- if (state._tag === "Acquiring")
2867
- return interrupt(state.fiber);
2868
- return void_3;
2869
- }), ref);
2870
- });
2871
- var getState = (self, restore) => {
2872
- switch (self.state._tag) {
2873
- case "Closed": {
2874
- return interrupt3;
2875
- }
2876
- case "Acquired": {
2877
- const state = self.state;
2878
- state.refCount++;
2879
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2880
- }
2881
- case "Acquiring": {
2882
- const state = self.state;
2883
- state.awaiters++;
2884
- return awaitAcquiring(self, state, restore);
2885
- }
2886
- case "Empty": {
2887
- const acquiring = {
2888
- _tag: "Acquiring",
2889
- fiber: undefined,
2890
- awaiters: 1,
2891
- acquired: undefined
2892
- };
2893
- self.state = acquiring;
2894
- const scope = makeUnsafe6();
2895
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2896
- if (self.state !== acquiring) {
2897
- return interrupt3;
2898
- }
2899
- const state = {
2900
- _tag: "Acquired",
2901
- value,
2902
- scope,
2903
- fiber: undefined,
2904
- refCount: acquiring.awaiters,
2905
- invalidated: false
2906
- };
2907
- self.state = state;
2908
- acquiring.acquired = state;
2909
- return succeed6(state);
2910
- }), onExit((exit) => {
2911
- if (isSuccess2(exit))
2912
- return void_3;
2913
- if (self.state === acquiring)
2914
- self.state = stateEmpty;
2915
- return close(scope, exit);
2916
- }));
2917
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2918
- return awaitAcquiring(self, acquiring, restore);
2919
- }
2920
- }
2921
- };
2922
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2923
- const acquired = acquiring.acquired;
2924
- if (acquired !== undefined) {
2925
- return isFailure2(exit) ? release(self, acquired) : void_3;
2926
- }
2927
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
2928
- return void_3;
2929
- self.state = stateEmpty;
2930
- return interrupt(acquiring.fiber);
2931
- });
2932
- var get2 = (self_) => {
2933
- const self = self_;
2934
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2935
- };
2936
- var release = (self, state) => {
2937
- state.refCount--;
2938
- if (state.refCount > 0) {
2939
- return void_3;
2940
- }
2941
- const idleTimeToLive = self.idleTimeToLive;
2942
- if (idleTimeToLive === undefined || state.invalidated) {
2943
- if (self.state === state) {
2944
- self.state = stateEmpty;
2945
- }
2946
- return close(state.scope, void_2);
2947
- } else if (!isFinite(idleTimeToLive)) {
2948
- return void_3;
2949
- }
2950
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2951
- if (self.state === state && state.refCount === 0) {
2952
- self.state = stateEmpty;
2953
- return ignoreCause(close(state.scope, void_2), {
2954
- log: "Unhandled",
2955
- message: "Unhandled error in RcRef finalizer"
2956
- });
2957
- }
2958
- return void_3;
2959
- })).pipe(ensuring2(sync2(() => {
2960
- state.fiber = undefined;
2961
- })), runForkWith(self.context), runIn(self.scope));
2962
- return void_3;
2963
- };
2964
-
2965
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2966
- var make9 = make6;
2967
- var get3 = get2;
2968
-
2969
2820
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2970
- var TypeId9 = "~effect/Stream";
2971
- var isStream = (u) => hasProperty(u, TypeId9);
2821
+ var TypeId8 = "~effect/Stream";
2822
+ var isStream = (u) => hasProperty(u, TypeId8);
2972
2823
  var fromChannel2 = fromChannel3;
2973
2824
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2974
2825
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
@@ -3174,11 +3025,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
3174
3025
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
3175
3026
 
3176
3027
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3177
- var TypeId10 = "~effect/FileSystem";
3028
+ var TypeId9 = "~effect/FileSystem";
3178
3029
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3179
3030
  var make11 = (impl) => FileSystem.of({
3180
3031
  ...impl,
3181
- [TypeId10]: TypeId10,
3032
+ [TypeId9]: TypeId9,
3182
3033
  glob: make2(impl),
3183
3034
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3184
3035
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -3194,11 +3045,11 @@ var make11 = (impl) => FileSystem.of({
3194
3045
  const file = yield* impl.open(path, {
3195
3046
  flag: "r"
3196
3047
  });
3197
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
3048
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3198
3049
  if (offset) {
3199
3050
  yield* file.seek(offset, "start");
3200
3051
  }
3201
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
3052
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3202
3053
  let totalBytesRead = BigInt(0);
3203
3054
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
3204
3055
  const readChunk = file.readAlloc(chunkSize);
@@ -3234,11 +3085,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3234
3085
  }
3235
3086
 
3236
3087
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3237
- var TypeId11 = "~effect/Path";
3088
+ var TypeId10 = "~effect/Path";
3238
3089
  var Path = /* @__PURE__ */ Service2("effect/Path");
3239
3090
  var make12 = (impl) => Path.of({
3240
3091
  ...impl,
3241
- [TypeId11]: TypeId11,
3092
+ [TypeId10]: TypeId10,
3242
3093
  resolveWithin(root, input) {
3243
3094
  if (impl.parse(input).root !== "")
3244
3095
  return none();
@@ -3311,7 +3162,7 @@ function makeProvider(load, mapInput) {
3311
3162
  function makeSource(get, transform) {
3312
3163
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3313
3164
  }
3314
- function make13(get) {
3165
+ function make6(get) {
3315
3166
  return makeSource(get, identityPath);
3316
3167
  }
3317
3168
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3320,7 +3171,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3320
3171
  function fromEnvRecord(env, options) {
3321
3172
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3322
3173
  const trie = buildEnvTrie(env);
3323
- return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3174
+ return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3324
3175
  }
3325
3176
  function fromEnv(options) {
3326
3177
  const env = options?.env ?? {
@@ -3373,7 +3224,7 @@ function trieNodeAt(root, path) {
3373
3224
  }
3374
3225
 
3375
3226
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3376
- var TypeId12 = "~effect/Config";
3227
+ var TypeId11 = "~effect/Config";
3377
3228
  class ConfigError {
3378
3229
  _tag = "ConfigError";
3379
3230
  name = "ConfigError";
@@ -3395,14 +3246,14 @@ var Proto2 = {
3395
3246
  return this.parse(fiber.getRef(ConfigProvider));
3396
3247
  }
3397
3248
  }),
3398
- [TypeId12]: TypeId12,
3249
+ [TypeId11]: TypeId11,
3399
3250
  toJSON() {
3400
3251
  return {
3401
3252
  _id: "Config"
3402
3253
  };
3403
3254
  }
3404
3255
  };
3405
- function make14(evaluator) {
3256
+ function make7(evaluator) {
3406
3257
  const self = Object.create(Proto2);
3407
3258
  self.evaluator = evaluator;
3408
3259
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3410,14 +3261,14 @@ function make14(evaluator) {
3410
3261
  }
3411
3262
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3412
3263
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3413
- return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3264
+ return make7((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3414
3265
  });
3415
3266
  function all(arg) {
3416
3267
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3417
- return make14((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
3268
+ return make7((provider, pathPrefix) => globalThis.Array.isArray(configs) ? mapEager(all3(configs.map((config) => evaluateAt(config, provider, pathPrefix))), all2) : mapEager(all3(map(configs, (config) => evaluateAt(config, provider, pathPrefix))), all2));
3418
3269
  }
3419
3270
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3420
- return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3271
+ return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3421
3272
  });
3422
3273
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3423
3274
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3534,9 +3385,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3534
3385
  function schema(codec, path) {
3535
3386
  const codecStringTree = toCodecStringTree(codec);
3536
3387
  const encodedAst = toEncoded(codecStringTree.ast);
3537
- const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3388
+ const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3538
3389
  const localPath = typeof path === "string" ? [path] : path ?? [];
3539
- return make14((provider, pathPrefix) => {
3390
+ return make7((provider, pathPrefix) => {
3540
3391
  const fullPath = [...pathPrefix, ...localPath];
3541
3392
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3542
3393
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3666,4 +3517,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3666
3517
  ...argv
3667
3518
  ];
3668
3519
 
3669
- export { empty2, map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, interruptAll, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make7, unbounded, publishUnsafe, make8, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make9, get3, isStream, fromChannel2, callback, empty3, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3520
+ export { empty2, map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, interruptAll, getCurrent, runIn, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, isStream, fromChannel2, callback, empty3, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -12,7 +12,7 @@ import {
12
12
  empty4,
13
13
  add,
14
14
  getOrUndefined2,
15
- get4,
15
+ get3,
16
16
  merge3,
17
17
  Reference,
18
18
  fromInputUnsafe,
@@ -139,7 +139,7 @@ import {
139
139
  toCodecJson,
140
140
  Json,
141
141
  encodeUnknownJsonStringSync
142
- } from "./chunk-k462v2v7.js";
142
+ } from "./chunk-zb4t1yrt.js";
143
143
  import {
144
144
  WebCrypto,
145
145
  makeUnsafe,
@@ -180,24 +180,24 @@ import {
180
180
  StepManifest,
181
181
  KitSetup,
182
182
  RunnerRpcError
183
- } from "./chunk-tse7tfe9.js";
183
+ } from "./chunk-qsbq9gvr.js";
184
184
  import {
185
185
  currentTimeMillis,
186
186
  getCurrent,
187
187
  runForEach,
188
188
  FileSystem
189
- } from "./chunk-5smh4dp2.js";
189
+ } from "./chunk-bj0zchck.js";
190
190
  import {
191
191
  splitQuestionOptions,
192
192
  recommendationProblem,
193
193
  questionAdvice
194
- } from "./chunk-9ykh05hz.js";
194
+ } from "./chunk-tqspx38s.js";
195
195
  import {
196
196
  guard,
197
197
  Id,
198
198
  Timestamp,
199
199
  ActorType
200
- } from "./chunk-4vxbxjf8.js";
200
+ } from "./chunk-wxg9k10v.js";
201
201
  var __defProp = Object.defineProperty;
202
202
  var __returnValue = (v) => v;
203
203
  function __exportSetter(name, newValue) {
@@ -774,7 +774,7 @@ class Suspended extends (/* @__PURE__ */ Class2("effect/workflow/Workflow/Suspen
774
774
  [ResultTypeId] = ResultTypeId;
775
775
  }
776
776
  var wrapActivityResult = (effect, isSuspend) => contextWith((context) => {
777
- const instance = get4(context, InstanceTag);
777
+ const instance = get3(context, InstanceTag);
778
778
  return acquireUseRelease(sync2(() => adoptActivityUnsafe(context, instance) ?? registerActivityUnsafe(instance)), () => effect, (registration, exit) => {
779
779
  releaseActivityUnsafe(registration);
780
780
  const isSuspended = isSuccess2(exit) && isSuspend(exit.value);
@@ -1492,7 +1492,7 @@ var scopingActivities = (engine) => ({
1492
1492
  }),
1493
1493
  activityExecute: (activity, attempt) => gen(function* () {
1494
1494
  const scope = yield* StepScope;
1495
- if (scope === "" || get4(activity.annotations, ActivityNamed))
1495
+ if (scope === "" || get3(activity.annotations, ActivityNamed))
1496
1496
  return yield* engine.activityExecute(activity, attempt);
1497
1497
  return yield* engine.activityExecute(renamed(activity, scopedName(scope, activity.name)), attempt);
1498
1498
  })
@@ -118,7 +118,7 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-k462v2v7.js";
121
+ } from "./chunk-zb4t1yrt.js";
122
122
  import {
123
123
  SecureRandom,
124
124
  makeUnsafe,
@@ -158,8 +158,8 @@ import {
158
158
  sessionForApi,
159
159
  readAuthStore,
160
160
  agentCredentialForApi,
161
- make5,
162
161
  make6,
162
+ make7,
163
163
  Service,
164
164
  shouldRefresh,
165
165
  refreshSession,
@@ -170,7 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-tse7tfe9.js";
173
+ } from "./chunk-qsbq9gvr.js";
174
174
  import {
175
175
  currentTimeMillis,
176
176
  join,
@@ -188,30 +188,30 @@ import {
188
188
  withDefault,
189
189
  option,
190
190
  String2
191
- } from "./chunk-5smh4dp2.js";
191
+ } from "./chunk-bj0zchck.js";
192
192
  import {
193
193
  searchDocs2,
194
194
  readDoc2
195
- } from "./chunk-vaeva1k8.js";
195
+ } from "./chunk-trtgab3h.js";
196
196
  import {
197
197
  nextInt
198
- } from "./chunk-04wqa07j.js";
198
+ } from "./chunk-5yygjn0k.js";
199
199
  import {
200
200
  recommendationProblem
201
- } from "./chunk-9ykh05hz.js";
201
+ } from "./chunk-tqspx38s.js";
202
202
  import {
203
203
  layerJson,
204
- make3,
204
+ make4,
205
205
  withHeaders,
206
206
  layerProtocolSocket,
207
207
  ConnectionHooks
208
- } from "./chunk-5hsqbwzd.js";
208
+ } from "./chunk-2t1hcdeq.js";
209
209
  import {
210
210
  guard,
211
211
  Id,
212
212
  Timestamp,
213
213
  ActorType
214
- } from "./chunk-4vxbxjf8.js";
214
+ } from "./chunk-wxg9k10v.js";
215
215
 
216
216
  // apps/cli/src/mcp.ts
217
217
  import { tmpdir as tmpdir2 } from "os";
@@ -1948,56 +1948,56 @@ var LivePresenceSubscriptionMessage = Union([
1948
1948
  LivePresenceSubscriptionUpdate
1949
1949
  ]);
1950
1950
 
1951
- class LiveRpcs extends make6(make5("Session", {
1951
+ class LiveRpcs extends make7(make6("Session", {
1952
1952
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1953
1953
  error: LiveRpcError
1954
- }), make5("Subscribe", {
1954
+ }), make6("Subscribe", {
1955
1955
  payload: LiveSubscribeInput,
1956
1956
  success: LiveSubscriptionMessage,
1957
1957
  error: LiveRpcError,
1958
1958
  stream: true
1959
- }), make5("Replay", {
1959
+ }), make6("Replay", {
1960
1960
  payload: LiveReplayInput,
1961
1961
  success: ArraySchema(LiveEvent),
1962
1962
  error: LiveRpcError
1963
- }), make5("Ack", {
1963
+ }), make6("Ack", {
1964
1964
  payload: LiveAckInput,
1965
1965
  success: LiveAckResult,
1966
1966
  error: LiveRpcError
1967
- }), make5("SubscribeWeb", {
1967
+ }), make6("SubscribeWeb", {
1968
1968
  payload: LiveWebSubscribeInput,
1969
1969
  success: LiveWebSubscriptionMessage,
1970
1970
  error: LiveRpcError,
1971
1971
  stream: true
1972
- }), make5("SubscriptionStatus", {
1972
+ }), make6("SubscriptionStatus", {
1973
1973
  payload: { subscriptionId: String4 },
1974
1974
  success: LiveSubscriptionStatus,
1975
1975
  error: LiveRpcError
1976
- }), make5("ReplayWeb", {
1976
+ }), make6("ReplayWeb", {
1977
1977
  payload: LiveWebReplayInput,
1978
1978
  success: LiveWebReplayResult,
1979
1979
  error: LiveRpcError
1980
- }), make5("AckWeb", {
1980
+ }), make6("AckWeb", {
1981
1981
  payload: LiveWebAckInput,
1982
1982
  success: LiveWebAckResult,
1983
1983
  error: LiveRpcError
1984
- }), make5("PublishPresence", {
1984
+ }), make6("PublishPresence", {
1985
1985
  payload: LivePresencePublishInput,
1986
1986
  success: LivePresenceEntry,
1987
1987
  error: LiveRpcError
1988
- }), make5("SubscribePresence", {
1988
+ }), make6("SubscribePresence", {
1989
1989
  payload: LivePresenceSubscribeInput,
1990
1990
  success: LivePresenceSubscriptionMessage,
1991
1991
  error: LiveRpcError,
1992
1992
  stream: true
1993
- }), make5("ClearPresence", {
1993
+ }), make6("ClearPresence", {
1994
1994
  payload: { scope: optional(LiveScope) },
1995
1995
  error: LiveRpcError
1996
- }), make5("RecordSessionUpdate", {
1996
+ }), make6("RecordSessionUpdate", {
1997
1997
  payload: { sessionId: String4, input: SessionUpdateCreate },
1998
1998
  success: SessionUpdate,
1999
1999
  error: LiveRpcError
2000
- }), make5("EndSession", {
2000
+ }), make6("EndSession", {
2001
2001
  payload: { sessionId: String4, input: SessionEnd },
2002
2002
  success: Session,
2003
2003
  error: LiveRpcError
@@ -2049,7 +2049,7 @@ function connectKitmanLiveRoot(protocol) {
2049
2049
  })
2050
2050
  });
2051
2051
  const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2052
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2052
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2053
2053
  let abandon = () => {};
2054
2054
  const abandoned = new Promise((_resolve, reject) => {
2055
2055
  abandon = reject;