@kitman-sh/cli 0.34.0 → 0.35.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-haq904fk.js → chunk-1hgsf81a.js} +1 -1
  2. package/dist/{chunk-6hxtg6eb.js → chunk-4qrb09w4.js} +3 -3
  3. package/dist/{chunk-g5b61tek.js → chunk-56gs4z53.js} +5 -5
  4. package/dist/{chunk-a230abnk.js → chunk-5e1ndtnp.js} +2 -2
  5. package/dist/{chunk-ew07nt2d.js → chunk-61dmxexa.js} +102 -60
  6. package/dist/{chunk-r90j80q5.js → chunk-64arqv10.js} +9 -9
  7. package/dist/{chunk-fr0qseam.js → chunk-c8eg05nh.js} +4 -4
  8. package/dist/{chunk-swc0ctf2.js → chunk-ee7ss0df.js} +3 -3
  9. package/dist/{chunk-gy7nygep.js → chunk-er0e8d8v.js} +14 -60
  10. package/dist/{chunk-djzfaqaq.js → chunk-ke4rajdh.js} +38 -22
  11. package/dist/{chunk-phx3zffc.js → chunk-n01c55f9.js} +8 -8
  12. package/dist/{chunk-2a40hhfz.js → chunk-n0bp958m.js} +4 -4
  13. package/dist/{chunk-w8hf2etp.js → chunk-nna9pwp0.js} +34 -32
  14. package/dist/{chunk-6387vj9z.js → chunk-q8e58p57.js} +2 -2
  15. package/dist/{chunk-hwjp28rh.js → chunk-qqb6djs7.js} +2 -2
  16. package/dist/{chunk-wkbsbxp8.js → chunk-r9x4ehsy.js} +6 -6
  17. package/dist/{chunk-qvpkwnky.js → chunk-rbpn35g5.js} +1 -1
  18. package/dist/{chunk-3jxdtkwd.js → chunk-t205gnzc.js} +20 -20
  19. package/dist/{chunk-9da9b7ys.js → chunk-t9dmwy8x.js} +12 -12
  20. package/dist/{chunk-2gz59jcx.js → chunk-tsefrrxz.js} +1 -1
  21. package/dist/{chunk-89ygm64f.js → chunk-wkkjyzpx.js} +4 -4
  22. package/dist/{chunk-8p5csa63.js → chunk-xc7kg57m.js} +26 -26
  23. package/dist/{chunk-d64j8v9n.js → chunk-y3c9pxez.js} +7 -7
  24. package/dist/{chunk-0m8ktgmz.js → chunk-yhat3rhw.js} +184 -338
  25. package/dist/{chunk-337drcr7.js → chunk-z0gqrc8c.js} +184 -35
  26. package/dist/{chunk-y7bth30s.js → chunk-znhjs0t6.js} +1 -1
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -34,8 +34,11 @@ import {
34
34
  getOrUndefined,
35
35
  map4,
36
36
  Service2,
37
- get3,
37
+ add,
38
+ get4,
38
39
  Reference,
40
+ fromInputUnsafe,
41
+ isFinite,
39
42
  normalize,
40
43
  succeed,
41
44
  fail3,
@@ -85,6 +88,7 @@ import {
85
88
  fail4,
86
89
  interrupt2,
87
90
  void_2,
91
+ isSuccess2,
88
92
  isFailure2,
89
93
  asVoidAll,
90
94
  makeUnsafe5,
@@ -156,12 +160,14 @@ import {
156
160
  tapError2,
157
161
  ignoreCause,
158
162
  orElseSucceed,
163
+ sleep,
159
164
  raceFirst,
160
165
  when,
161
166
  matchCauseEffect,
162
167
  context,
163
168
  contextWith,
164
169
  provideContext2,
170
+ scope2,
165
171
  scoped,
166
172
  scopedWith,
167
173
  acquireRelease,
@@ -172,6 +178,7 @@ import {
172
178
  interrupt3,
173
179
  onInterrupt,
174
180
  uninterruptible,
181
+ uninterruptibleMask2,
175
182
  forever,
176
183
  forkChild,
177
184
  forkIn,
@@ -194,11 +201,11 @@ import {
194
201
  toEncoded,
195
202
  decodeUnknownEffect,
196
203
  SchemaError,
197
- make16,
204
+ make17,
198
205
  String4,
199
206
  toCodecStringTree,
200
207
  encodeUnknownJsonStringSync
201
- } from "./chunk-ew07nt2d.js";
208
+ } from "./chunk-61dmxexa.js";
202
209
 
203
210
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
204
211
  var headUnsafe = (self) => {
@@ -371,7 +378,7 @@ var fromStringUnsafe = (input) => {
371
378
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
372
379
  return make(value);
373
380
  };
374
- var fromInputUnsafe = (input) => {
381
+ var fromInputUnsafe2 = (input) => {
375
382
  switch (typeof input) {
376
383
  case "bigint":
377
384
  if (input < bigint0)
@@ -384,7 +391,7 @@ var fromInputUnsafe = (input) => {
384
391
  }
385
392
  return invalid(`unsupported input ${input}`);
386
393
  };
387
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
394
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
388
395
 
389
396
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
390
397
  var join = fiberJoin;
@@ -1130,7 +1137,7 @@ var MutableRefProto = {
1130
1137
  };
1131
1138
  }
1132
1139
  };
1133
- var make8 = (value) => {
1140
+ var make7 = (value) => {
1134
1141
  const ref = Object.create(MutableRefProto);
1135
1142
  ref.current = value;
1136
1143
  return ref;
@@ -1291,7 +1298,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1291
1298
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1292
1299
  var TypeId3 = "~effect/PubSub";
1293
1300
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1294
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1301
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1295
1302
  var unbounded = (options) => make5({
1296
1303
  atomicPubSub: () => makeAtomicUnbounded(options),
1297
1304
  strategy: () => new DroppingStrategy
@@ -1310,7 +1317,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1310
1317
  return false;
1311
1318
  });
1312
1319
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1313
- const localScope = get3(services, Scope);
1320
+ const localScope = get4(services, Scope);
1314
1321
  const scope = forkUnsafe(self.scope);
1315
1322
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1316
1323
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -1386,7 +1393,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1386
1393
  subscribers.delete(subscription);
1387
1394
  }
1388
1395
  };
1389
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1396
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1390
1397
  class UnboundedPubSub {
1391
1398
  publisherHead = {
1392
1399
  value: AbsentValue,
@@ -1803,7 +1810,7 @@ var QueueProto = {
1803
1810
  };
1804
1811
  }
1805
1812
  };
1806
- var make9 = (options) => withFiber((fiber) => {
1813
+ var make8 = (options) => withFiber((fiber) => {
1807
1814
  const self = Object.create(QueueProto);
1808
1815
  self.dispatcher = fiber.currentDispatcher;
1809
1816
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1818,14 +1825,14 @@ var make9 = (options) => withFiber((fiber) => {
1818
1825
  };
1819
1826
  return succeed2(self);
1820
1827
  });
1821
- var bounded = (capacity) => make9({
1828
+ var bounded = (capacity) => make8({
1822
1829
  capacity
1823
1830
  });
1824
- var sliding = (capacity) => make9({
1831
+ var sliding = (capacity) => make8({
1825
1832
  capacity,
1826
1833
  strategy: "sliding"
1827
1834
  });
1828
- var unbounded2 = () => make9();
1835
+ var unbounded2 = () => make8();
1829
1836
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1830
1837
  var offerUnsafe = (self, message) => {
1831
1838
  if (self.state._tag !== "Open") {
@@ -2251,7 +2258,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2251
2258
  return onError(pull, onCause);
2252
2259
  }));
2253
2260
  var toTransform = (channel) => channel.transform;
2254
- var asyncQueue = (scope, f, options) => make9({
2261
+ var asyncQueue = (scope, f, options) => make8({
2255
2262
  capacity: options?.bufferSize,
2256
2263
  strategy: options?.strategy
2257
2264
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2292,7 +2299,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2292
2299
  }));
2293
2300
  var readableStreamToPullUnsafe = (options) => {
2294
2301
  const reader = options.readable.getReader();
2295
- const exit = options.exit ?? make8(undefined);
2302
+ const exit = options.exit ?? make7(undefined);
2296
2303
  const pull = suspend3(() => {
2297
2304
  if (exit.current)
2298
2305
  return exit.current;
@@ -2753,7 +2760,7 @@ var runFold2 = /* @__PURE__ */ dual(3, (self, initial, f) => suspend3(() => {
2753
2760
  var toPull2 = /* @__PURE__ */ fnUntraced(function* (self) {
2754
2761
  const semaphore = makeUnsafe3(1);
2755
2762
  const context2 = yield* context();
2756
- const scope = get3(context2, Scope);
2763
+ const scope = get4(context2, Scope);
2757
2764
  const pull = yield* toTransform(self)(done(), scope);
2758
2765
  return pull.pipe(provideContext2(context2), semaphore.withPermits(1));
2759
2766
  }, /* @__PURE__ */ catchCause2((cause) => succeed6(failCause3(cause))));
@@ -2814,9 +2821,151 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2814
2821
  }), catchDone(() => endVoid)));
2815
2822
  var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
2816
2823
 
2824
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2825
+ var TypeId8 = "~effect/RcRef";
2826
+ var stateEmpty = {
2827
+ _tag: "Empty"
2828
+ };
2829
+ var stateClosed = {
2830
+ _tag: "Closed"
2831
+ };
2832
+ var variance2 = {
2833
+ _A: identity,
2834
+ _E: identity
2835
+ };
2836
+
2837
+ class RcRefImpl {
2838
+ [TypeId8] = variance2;
2839
+ pipe() {
2840
+ return pipeArguments(this, arguments);
2841
+ }
2842
+ state = stateEmpty;
2843
+ acquire;
2844
+ context;
2845
+ scope;
2846
+ idleTimeToLive;
2847
+ constructor(acquire, context, scope, idleTimeToLive) {
2848
+ this.acquire = acquire;
2849
+ this.context = context;
2850
+ this.scope = scope;
2851
+ this.idleTimeToLive = idleTimeToLive;
2852
+ }
2853
+ }
2854
+ var make6 = (options) => withFiber2((fiber) => {
2855
+ const context = fiber.context;
2856
+ const scope = get4(context, Scope);
2857
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2858
+ return as(addFinalizerExit(scope, () => {
2859
+ const state = ref.state;
2860
+ ref.state = stateClosed;
2861
+ if (state._tag === "Acquired")
2862
+ return close(state.scope, void_2);
2863
+ if (state._tag === "Acquiring")
2864
+ return interrupt(state.fiber);
2865
+ return void_3;
2866
+ }), ref);
2867
+ });
2868
+ var getState = (self, restore) => {
2869
+ switch (self.state._tag) {
2870
+ case "Closed": {
2871
+ return interrupt3;
2872
+ }
2873
+ case "Acquired": {
2874
+ const state = self.state;
2875
+ state.refCount++;
2876
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2877
+ }
2878
+ case "Acquiring": {
2879
+ const state = self.state;
2880
+ state.awaiters++;
2881
+ return awaitAcquiring(self, state, restore);
2882
+ }
2883
+ case "Empty": {
2884
+ const acquiring = {
2885
+ _tag: "Acquiring",
2886
+ fiber: undefined,
2887
+ awaiters: 1,
2888
+ acquired: undefined
2889
+ };
2890
+ self.state = acquiring;
2891
+ const scope = makeUnsafe6();
2892
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2893
+ if (self.state !== acquiring) {
2894
+ return interrupt3;
2895
+ }
2896
+ const state = {
2897
+ _tag: "Acquired",
2898
+ value,
2899
+ scope,
2900
+ fiber: undefined,
2901
+ refCount: acquiring.awaiters,
2902
+ invalidated: false
2903
+ };
2904
+ self.state = state;
2905
+ acquiring.acquired = state;
2906
+ return succeed6(state);
2907
+ }), onExit((exit) => {
2908
+ if (isSuccess2(exit))
2909
+ return void_3;
2910
+ if (self.state === acquiring)
2911
+ self.state = stateEmpty;
2912
+ return close(scope, exit);
2913
+ }));
2914
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2915
+ return awaitAcquiring(self, acquiring, restore);
2916
+ }
2917
+ }
2918
+ };
2919
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2920
+ const acquired = acquiring.acquired;
2921
+ if (acquired !== undefined) {
2922
+ return isFailure2(exit) ? release(self, acquired) : void_3;
2923
+ }
2924
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
2925
+ return void_3;
2926
+ self.state = stateEmpty;
2927
+ return interrupt(acquiring.fiber);
2928
+ });
2929
+ var get2 = (self_) => {
2930
+ const self = self_;
2931
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2932
+ };
2933
+ var release = (self, state) => {
2934
+ state.refCount--;
2935
+ if (state.refCount > 0) {
2936
+ return void_3;
2937
+ }
2938
+ const idleTimeToLive = self.idleTimeToLive;
2939
+ if (idleTimeToLive === undefined || state.invalidated) {
2940
+ if (self.state === state) {
2941
+ self.state = stateEmpty;
2942
+ }
2943
+ return close(state.scope, void_2);
2944
+ } else if (!isFinite(idleTimeToLive)) {
2945
+ return void_3;
2946
+ }
2947
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2948
+ if (self.state === state && state.refCount === 0) {
2949
+ self.state = stateEmpty;
2950
+ return ignoreCause(close(state.scope, void_2), {
2951
+ log: "Unhandled",
2952
+ message: "Unhandled error in RcRef finalizer"
2953
+ });
2954
+ }
2955
+ return void_3;
2956
+ })).pipe(ensuring2(sync2(() => {
2957
+ state.fiber = undefined;
2958
+ })), runForkWith(self.context), runIn(self.scope));
2959
+ return void_3;
2960
+ };
2961
+
2962
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2963
+ var make9 = make6;
2964
+ var get3 = get2;
2965
+
2817
2966
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2818
- var TypeId8 = "~effect/Stream";
2819
- var isStream = (u) => hasProperty(u, TypeId8);
2967
+ var TypeId9 = "~effect/Stream";
2968
+ var isStream = (u) => hasProperty(u, TypeId9);
2820
2969
  var fromChannel2 = fromChannel3;
2821
2970
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2822
2971
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
@@ -3022,11 +3171,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
3022
3171
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
3023
3172
 
3024
3173
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3025
- var TypeId9 = "~effect/FileSystem";
3174
+ var TypeId10 = "~effect/FileSystem";
3026
3175
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3027
3176
  var make11 = (impl) => FileSystem.of({
3028
3177
  ...impl,
3029
- [TypeId9]: TypeId9,
3178
+ [TypeId10]: TypeId10,
3030
3179
  glob: make2(impl),
3031
3180
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3032
3181
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -3042,11 +3191,11 @@ var make11 = (impl) => FileSystem.of({
3042
3191
  const file = yield* impl.open(path, {
3043
3192
  flag: "r"
3044
3193
  });
3045
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3194
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
3046
3195
  if (offset) {
3047
3196
  yield* file.seek(offset, "start");
3048
3197
  }
3049
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3198
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
3050
3199
  let totalBytesRead = BigInt(0);
3051
3200
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
3052
3201
  const readChunk = file.readAlloc(chunkSize);
@@ -3082,11 +3231,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3082
3231
  }
3083
3232
 
3084
3233
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3085
- var TypeId10 = "~effect/Path";
3234
+ var TypeId11 = "~effect/Path";
3086
3235
  var Path = /* @__PURE__ */ Service2("effect/Path");
3087
3236
  var make12 = (impl) => Path.of({
3088
3237
  ...impl,
3089
- [TypeId10]: TypeId10,
3238
+ [TypeId11]: TypeId11,
3090
3239
  resolveWithin(root, input) {
3091
3240
  if (impl.parse(input).root !== "")
3092
3241
  return none();
@@ -3159,7 +3308,7 @@ function makeProvider(load, mapInput) {
3159
3308
  function makeSource(get, transform) {
3160
3309
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3161
3310
  }
3162
- function make6(get) {
3311
+ function make13(get) {
3163
3312
  return makeSource(get, identityPath);
3164
3313
  }
3165
3314
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3168,7 +3317,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3168
3317
  function fromEnvRecord(env, options) {
3169
3318
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3170
3319
  const trie = buildEnvTrie(env);
3171
- return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3320
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3172
3321
  }
3173
3322
  function fromEnv(options) {
3174
3323
  const env = options?.env ?? {
@@ -3221,7 +3370,7 @@ function trieNodeAt(root, path) {
3221
3370
  }
3222
3371
 
3223
3372
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3224
- var TypeId11 = "~effect/Config";
3373
+ var TypeId12 = "~effect/Config";
3225
3374
  class ConfigError {
3226
3375
  _tag = "ConfigError";
3227
3376
  name = "ConfigError";
@@ -3243,14 +3392,14 @@ var Proto2 = {
3243
3392
  return this.parse(fiber.getRef(ConfigProvider));
3244
3393
  }
3245
3394
  }),
3246
- [TypeId11]: TypeId11,
3395
+ [TypeId12]: TypeId12,
3247
3396
  toJSON() {
3248
3397
  return {
3249
3398
  _id: "Config"
3250
3399
  };
3251
3400
  }
3252
3401
  };
3253
- function make7(evaluator) {
3402
+ function make14(evaluator) {
3254
3403
  const self = Object.create(Proto2);
3255
3404
  self.evaluator = evaluator;
3256
3405
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3258,14 +3407,14 @@ function make7(evaluator) {
3258
3407
  }
3259
3408
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3260
3409
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3261
- return make7((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3410
+ return make14((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
3262
3411
  });
3263
3412
  function all(arg) {
3264
3413
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3265
- 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));
3414
+ 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));
3266
3415
  }
3267
3416
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3268
- return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3417
+ return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3269
3418
  });
3270
3419
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3271
3420
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3382,9 +3531,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3382
3531
  function schema(codec, path) {
3383
3532
  const codecStringTree = toCodecStringTree(codec);
3384
3533
  const encodedAst = toEncoded(codecStringTree.ast);
3385
- const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3534
+ const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3386
3535
  const localPath = typeof path === "string" ? [path] : path ?? [];
3387
- return make7((provider, pathPrefix) => {
3536
+ return make14((provider, pathPrefix) => {
3388
3537
  const fullPath = [...pathPrefix, ...localPath];
3389
3538
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3390
3539
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3500,4 +3649,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3500
3649
  ...argv
3501
3650
  ];
3502
3651
 
3503
- export { map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, 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, empty2, 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 };
3652
+ export { map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, 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, empty2, 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 };
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-ew07nt2d.js";
6
+ } from "./chunk-61dmxexa.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-hwjp28rh.js");
8
+ const { runSrtCli } = await import("./chunk-qqb6djs7.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-6hxtg6eb.js");
11
+ const { runSrtStep } = await import("./chunk-4qrb09w4.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-fr0qseam.js");
14
+ const { runOpencodeReader } = await import("./chunk-c8eg05nh.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-w8hf2etp.js");
17
+ const { runCli } = await import("./chunk-nna9pwp0.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {