@kitman-sh/cli 0.10.56 → 0.10.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{chunk-bdxhb63t.js → chunk-4jbn6hma.js} +3 -3
  2. package/dist/{chunk-wbrv4705.js → chunk-59n1m39j.js} +7 -7
  3. package/dist/{chunk-7evwar6b.js → chunk-76y7v9rj.js} +1 -1
  4. package/dist/{chunk-4kssrezn.js → chunk-8y8ax1bt.js} +1 -1
  5. package/dist/{chunk-7kernadf.js → chunk-9rxwzn7y.js} +11 -11
  6. package/dist/{chunk-48dn3enn.js → chunk-ac19vqmc.js} +60 -60
  7. package/dist/{chunk-99ver3za.js → chunk-ac851090.js} +4 -4
  8. package/dist/{chunk-st9mym1j.js → chunk-ahtfwz4b.js} +2 -2
  9. package/dist/{chunk-hma82ban.js → chunk-bbsh3a70.js} +36 -36
  10. package/dist/{chunk-2t06f3vz.js → chunk-c6gyfqv4.js} +7 -7
  11. package/dist/{chunk-g53wn1q8.js → chunk-ec5df6ea.js} +2 -2
  12. package/dist/{chunk-2md3k83r.js → chunk-edf91eyv.js} +4 -4
  13. package/dist/{chunk-pvkwhesj.js → chunk-hegberew.js} +7 -7
  14. package/dist/{chunk-gwcqz1bj.js → chunk-jd8xhqgm.js} +1 -1
  15. package/dist/{chunk-emabyaj0.js → chunk-kvv9vzzr.js} +46 -186
  16. package/dist/{chunk-s97jvqxb.js → chunk-mfhmj6r6.js} +9 -9
  17. package/dist/{chunk-yfdktxzg.js → chunk-n1m89pnt.js} +5 -5
  18. package/dist/{chunk-61k67vxh.js → chunk-nk5h4cvx.js} +115 -73
  19. package/dist/{chunk-vn3x7bzf.js → chunk-qbyxcjy1.js} +11 -11
  20. package/dist/{chunk-w9kg1784.js → chunk-qkbnbr47.js} +21 -21
  21. package/dist/{chunk-jb9dcsfn.js → chunk-qmmer308.js} +345 -197
  22. package/dist/{chunk-kdyzndvx.js → chunk-tr80mjnp.js} +14 -60
  23. package/dist/{chunk-338c1c1x.js → chunk-zc214v7k.js} +8 -8
  24. package/dist/{chunk-zf3vq701.js → chunk-zxs37afg.js} +19 -19
  25. package/dist/index.js +4 -4
  26. 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,
@@ -84,7 +81,6 @@ import {
84
81
  fail4,
85
82
  interrupt2,
86
83
  void_2,
87
- isSuccess2,
88
84
  isFailure2,
89
85
  asVoidAll,
90
86
  makeUnsafe5,
@@ -156,14 +152,12 @@ import {
156
152
  tapError2,
157
153
  ignoreCause,
158
154
  orElseSucceed,
159
- sleep,
160
155
  raceFirst,
161
156
  when,
162
157
  matchCauseEffect,
163
158
  context,
164
159
  contextWith,
165
160
  provideContext2,
166
- scope2,
167
161
  scoped,
168
162
  scopedWith,
169
163
  ensuring2,
@@ -173,7 +167,6 @@ import {
173
167
  interrupt3,
174
168
  onInterrupt,
175
169
  uninterruptible,
176
- uninterruptibleMask2,
177
170
  forever,
178
171
  forkChild,
179
172
  forkIn,
@@ -195,11 +188,11 @@ import {
195
188
  toEncoded,
196
189
  decodeUnknownEffect,
197
190
  SchemaError,
198
- make17,
191
+ make16,
199
192
  String4,
200
193
  toCodecStringTree,
201
194
  encodeUnknownJsonStringSync
202
- } from "./chunk-61k67vxh.js";
195
+ } from "./chunk-nk5h4cvx.js";
203
196
 
204
197
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
205
198
  var headUnsafe = (self) => {
@@ -248,6 +241,15 @@ var makeEquivalence = (equivalence) => {
248
241
  return (self, that) => is(self, that) && is(that, self);
249
242
  };
250
243
 
244
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
245
+ var BigInt2 = globalThis.BigInt;
246
+ var toNumber = (b) => {
247
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
248
+ return none();
249
+ }
250
+ return some(Number(b));
251
+ };
252
+
251
253
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
252
254
  var bigint0 = /* @__PURE__ */ BigInt(0);
253
255
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -368,7 +370,7 @@ var fromStringUnsafe = (input) => {
368
370
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
369
371
  return make(value);
370
372
  };
371
- var fromInputUnsafe2 = (input) => {
373
+ var fromInputUnsafe = (input) => {
372
374
  switch (typeof input) {
373
375
  case "bigint":
374
376
  if (input < bigint0)
@@ -381,7 +383,7 @@ var fromInputUnsafe2 = (input) => {
381
383
  }
382
384
  return invalid(`unsupported input ${input}`);
383
385
  };
384
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
386
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
385
387
 
386
388
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
387
389
  var join = fiberJoin;
@@ -1127,7 +1129,7 @@ var MutableRefProto = {
1127
1129
  };
1128
1130
  }
1129
1131
  };
1130
- var make8 = (value) => {
1132
+ var make7 = (value) => {
1131
1133
  const ref = Object.create(MutableRefProto);
1132
1134
  ref.current = value;
1133
1135
  return ref;
@@ -1288,7 +1290,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1288
1290
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1289
1291
  var TypeId3 = "~effect/PubSub";
1290
1292
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1291
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1293
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1292
1294
  var unbounded = (options) => make5({
1293
1295
  atomicPubSub: () => makeAtomicUnbounded(options),
1294
1296
  strategy: () => new DroppingStrategy
@@ -1307,7 +1309,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1307
1309
  return false;
1308
1310
  });
1309
1311
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1310
- const localScope = get4(services, Scope);
1312
+ const localScope = get3(services, Scope);
1311
1313
  const scope = forkUnsafe(self.scope);
1312
1314
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1313
1315
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -1383,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1383
1385
  subscribers.delete(subscription);
1384
1386
  }
1385
1387
  };
1386
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1388
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1387
1389
  class UnboundedPubSub {
1388
1390
  publisherHead = {
1389
1391
  value: AbsentValue,
@@ -1800,7 +1802,7 @@ var QueueProto = {
1800
1802
  };
1801
1803
  }
1802
1804
  };
1803
- var make9 = (options) => withFiber((fiber) => {
1805
+ var make8 = (options) => withFiber((fiber) => {
1804
1806
  const self = Object.create(QueueProto);
1805
1807
  self.dispatcher = fiber.currentDispatcher;
1806
1808
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1815,14 +1817,14 @@ var make9 = (options) => withFiber((fiber) => {
1815
1817
  };
1816
1818
  return succeed2(self);
1817
1819
  });
1818
- var bounded = (capacity) => make9({
1820
+ var bounded = (capacity) => make8({
1819
1821
  capacity
1820
1822
  });
1821
- var sliding = (capacity) => make9({
1823
+ var sliding = (capacity) => make8({
1822
1824
  capacity,
1823
1825
  strategy: "sliding"
1824
1826
  });
1825
- var unbounded2 = () => make9();
1827
+ var unbounded2 = () => make8();
1826
1828
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1827
1829
  var offerUnsafe = (self, message) => {
1828
1830
  if (self.state._tag !== "Open") {
@@ -2248,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2248
2250
  return onError(pull, onCause);
2249
2251
  }));
2250
2252
  var toTransform = (channel) => channel.transform;
2251
- var asyncQueue = (scope, f, options) => make9({
2253
+ var asyncQueue = (scope, f, options) => make8({
2252
2254
  capacity: options?.bufferSize,
2253
2255
  strategy: options?.strategy
2254
2256
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2289,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2289
2291
  }));
2290
2292
  var readableStreamToPullUnsafe = (options) => {
2291
2293
  const reader = options.readable.getReader();
2292
- const exit = options.exit ?? make8(undefined);
2294
+ const exit = options.exit ?? make7(undefined);
2293
2295
  const pull = suspend3(() => {
2294
2296
  if (exit.current)
2295
2297
  return exit.current;
@@ -2764,158 +2766,16 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2764
2766
  }), catchDone(() => endVoid)));
2765
2767
  var unwrap3 = (effect) => fromChannel(unwrap2(map8(effect, toChannel)));
2766
2768
 
2767
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2768
- var TypeId8 = "~effect/RcRef";
2769
- var stateEmpty = {
2770
- _tag: "Empty"
2771
- };
2772
- var stateClosed = {
2773
- _tag: "Closed"
2774
- };
2775
- var variance2 = {
2776
- _A: identity,
2777
- _E: identity
2778
- };
2779
-
2780
- class RcRefImpl {
2781
- [TypeId8] = variance2;
2782
- pipe() {
2783
- return pipeArguments(this, arguments);
2784
- }
2785
- state = stateEmpty;
2786
- acquire;
2787
- context;
2788
- scope;
2789
- idleTimeToLive;
2790
- constructor(acquire, context, scope, idleTimeToLive) {
2791
- this.acquire = acquire;
2792
- this.context = context;
2793
- this.scope = scope;
2794
- this.idleTimeToLive = idleTimeToLive;
2795
- }
2796
- }
2797
- var make6 = (options) => withFiber2((fiber) => {
2798
- const context = fiber.context;
2799
- const scope = get4(context, Scope);
2800
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2801
- return as(addFinalizerExit(scope, () => {
2802
- const state = ref.state;
2803
- ref.state = stateClosed;
2804
- if (state._tag === "Acquired")
2805
- return close(state.scope, void_2);
2806
- if (state._tag === "Acquiring")
2807
- return interrupt(state.fiber);
2808
- return void_3;
2809
- }), ref);
2810
- });
2811
- var getState = (self, restore) => {
2812
- switch (self.state._tag) {
2813
- case "Closed": {
2814
- return interrupt3;
2815
- }
2816
- case "Acquired": {
2817
- const state = self.state;
2818
- state.refCount++;
2819
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2820
- }
2821
- case "Acquiring": {
2822
- const state = self.state;
2823
- state.awaiters++;
2824
- return awaitAcquiring(self, state, restore);
2825
- }
2826
- case "Empty": {
2827
- const acquiring = {
2828
- _tag: "Acquiring",
2829
- fiber: undefined,
2830
- awaiters: 1,
2831
- acquired: undefined
2832
- };
2833
- self.state = acquiring;
2834
- const scope = makeUnsafe6();
2835
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2836
- if (self.state !== acquiring) {
2837
- return interrupt3;
2838
- }
2839
- const state = {
2840
- _tag: "Acquired",
2841
- value,
2842
- scope,
2843
- fiber: undefined,
2844
- refCount: acquiring.awaiters,
2845
- invalidated: false
2846
- };
2847
- self.state = state;
2848
- acquiring.acquired = state;
2849
- return succeed6(state);
2850
- }), onExit((exit) => {
2851
- if (isSuccess2(exit))
2852
- return void_3;
2853
- if (self.state === acquiring)
2854
- self.state = stateEmpty;
2855
- return close(scope, exit);
2856
- }));
2857
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2858
- return awaitAcquiring(self, acquiring, restore);
2859
- }
2860
- }
2861
- };
2862
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2863
- const acquired = acquiring.acquired;
2864
- if (acquired !== undefined) {
2865
- return isFailure2(exit) ? release(self, acquired) : void_3;
2866
- }
2867
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
2868
- return void_3;
2869
- self.state = stateEmpty;
2870
- return interrupt(acquiring.fiber);
2871
- });
2872
- var get2 = (self_) => {
2873
- const self = self_;
2874
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2875
- };
2876
- var release = (self, state) => {
2877
- state.refCount--;
2878
- if (state.refCount > 0) {
2879
- return void_3;
2880
- }
2881
- const idleTimeToLive = self.idleTimeToLive;
2882
- if (idleTimeToLive === undefined || state.invalidated) {
2883
- if (self.state === state) {
2884
- self.state = stateEmpty;
2885
- }
2886
- return close(state.scope, void_2);
2887
- } else if (!isFinite(idleTimeToLive)) {
2888
- return void_3;
2889
- }
2890
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2891
- if (self.state === state && state.refCount === 0) {
2892
- self.state = stateEmpty;
2893
- return ignoreCause(close(state.scope, void_2), {
2894
- log: "Unhandled",
2895
- message: "Unhandled error in RcRef finalizer"
2896
- });
2897
- }
2898
- return void_3;
2899
- })).pipe(ensuring2(sync2(() => {
2900
- state.fiber = undefined;
2901
- })), runForkWith(self.context), runIn(self.scope));
2902
- return void_3;
2903
- };
2904
-
2905
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2906
- var make10 = make6;
2907
- var get3 = get2;
2908
-
2909
2769
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2910
- var TypeId9 = "~effect/Stream";
2911
- var isStream = (u) => hasProperty(u, TypeId9);
2770
+ var TypeId8 = "~effect/Stream";
2771
+ var isStream = (u) => hasProperty(u, TypeId8);
2912
2772
  var fromChannel2 = fromChannel3;
2913
2773
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2914
2774
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
2915
2775
  var toChannel2 = (stream) => stream.channel;
2916
2776
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2917
2777
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2918
- var make11 = (...values) => fromArray2(values);
2778
+ var make9 = (...values) => fromArray2(values);
2919
2779
  var suspend = (stream) => {
2920
2780
  const suspended = fromChannel2(suspend4(() => stream().channel));
2921
2781
  suspendedStreams.set(suspended, stream);
@@ -3078,11 +2938,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
3078
2938
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map8(context(), (context) => toReadableStreamWith(self, context, options)));
3079
2939
 
3080
2940
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3081
- var TypeId10 = "~effect/FileSystem";
2941
+ var TypeId9 = "~effect/FileSystem";
3082
2942
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3083
- var make12 = (impl) => FileSystem.of({
2943
+ var make10 = (impl) => FileSystem.of({
3084
2944
  ...impl,
3085
- [TypeId10]: TypeId10,
2945
+ [TypeId9]: TypeId9,
3086
2946
  glob: make2(impl),
3087
2947
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3088
2948
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -3098,11 +2958,11 @@ var make12 = (impl) => FileSystem.of({
3098
2958
  const file = yield* impl.open(path, {
3099
2959
  flag: "r"
3100
2960
  });
3101
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
2961
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3102
2962
  if (offset) {
3103
2963
  yield* file.seek(offset, "start");
3104
2964
  }
3105
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
2965
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3106
2966
  let totalBytesRead = BigInt(0);
3107
2967
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
3108
2968
  const readChunk = file.readAlloc(chunkSize);
@@ -3138,11 +2998,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3138
2998
  }
3139
2999
 
3140
3000
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3141
- var TypeId11 = "~effect/Path";
3001
+ var TypeId10 = "~effect/Path";
3142
3002
  var Path = /* @__PURE__ */ Service2("effect/Path");
3143
- var make13 = (impl) => Path.of({
3003
+ var make11 = (impl) => Path.of({
3144
3004
  ...impl,
3145
- [TypeId11]: TypeId11,
3005
+ [TypeId10]: TypeId10,
3146
3006
  resolveWithin(root, input) {
3147
3007
  if (impl.parse(input).root !== "")
3148
3008
  return none();
@@ -3215,7 +3075,7 @@ function makeProvider(load, mapInput) {
3215
3075
  function makeSource(get, transform) {
3216
3076
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3217
3077
  }
3218
- function make7(get) {
3078
+ function make6(get) {
3219
3079
  return makeSource(get, identityPath);
3220
3080
  }
3221
3081
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3224,7 +3084,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3224
3084
  function fromEnvRecord(env, options) {
3225
3085
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3226
3086
  const trie = buildEnvTrie(env);
3227
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3087
+ return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3228
3088
  }
3229
3089
  function fromEnv(options) {
3230
3090
  const env = options?.env ?? {
@@ -3277,7 +3137,7 @@ function trieNodeAt(root, path) {
3277
3137
  }
3278
3138
 
3279
3139
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3280
- var TypeId12 = "~effect/Config";
3140
+ var TypeId11 = "~effect/Config";
3281
3141
  class ConfigError {
3282
3142
  _tag = "ConfigError";
3283
3143
  name = "ConfigError";
@@ -3299,14 +3159,14 @@ var Proto2 = {
3299
3159
  return this.parse(fiber.getRef(ConfigProvider));
3300
3160
  }
3301
3161
  }),
3302
- [TypeId12]: TypeId12,
3162
+ [TypeId11]: TypeId11,
3303
3163
  toJSON() {
3304
3164
  return {
3305
3165
  _id: "Config"
3306
3166
  };
3307
3167
  }
3308
3168
  };
3309
- function make14(evaluator) {
3169
+ function make12(evaluator) {
3310
3170
  const self = Object.create(Proto2);
3311
3171
  self.evaluator = evaluator;
3312
3172
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3314,14 +3174,14 @@ function make14(evaluator) {
3314
3174
  }
3315
3175
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3316
3176
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3317
- return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3177
+ return make12((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3318
3178
  });
3319
3179
  function all(arg) {
3320
3180
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3321
- 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));
3181
+ return make12((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));
3322
3182
  }
3323
3183
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3324
- return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3184
+ return make12((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3325
3185
  });
3326
3186
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3327
3187
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3438,9 +3298,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3438
3298
  function schema(codec, path) {
3439
3299
  const codecStringTree = toCodecStringTree(codec);
3440
3300
  const encodedAst = toEncoded(codecStringTree.ast);
3441
- const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3301
+ const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3442
3302
  const localPath = typeof path === "string" ? [path] : path ?? [];
3443
- return make14((provider, pathPrefix) => {
3303
+ return make12((provider, pathPrefix) => {
3444
3304
  const fullPath = [...pathPrefix, ...localPath];
3445
3305
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3446
3306
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3551,4 +3411,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3551
3411
  ...argv
3552
3412
  ];
3553
3413
 
3554
- export { map, makeEquivalence, bytes, join, interrupt, getCurrent, 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, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3414
+ export { map, makeEquivalence, toNumber, bytes, join, interrupt, getCurrent, runIn, 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, isStream, fromChannel2, callback, empty2, make9, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make10, FileTypeId, WatchBackend, Path, make11, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -1,4 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv
6
+ } from "./chunk-kvv9vzzr.js";
2
7
  import {
3
8
  Reference,
4
9
  TaggedError,
@@ -23,24 +28,19 @@ import {
23
28
  fnUntraced,
24
29
  encodePrettyJsonString,
25
30
  decodeJsonStringSync
26
- } from "./chunk-61k67vxh.js";
31
+ } from "./chunk-nk5h4cvx.js";
27
32
  import {
28
33
  isJsonObject,
29
34
  isString
30
- } from "./chunk-7evwar6b.js";
31
- import {
32
- FileSystem,
33
- Path,
34
- optionalEnv
35
- } from "./chunk-emabyaj0.js";
35
+ } from "./chunk-76y7v9rj.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-jb9dcsfn.js";
40
+ } from "./chunk-qmmer308.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-bdxhb63t.js";
43
+ } from "./chunk-4jbn6hma.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-vn3x7bzf.js";
11
- import"./chunk-kdyzndvx.js";
12
- import"./chunk-7evwar6b.js";
13
- import"./chunk-emabyaj0.js";
14
- import"./chunk-61k67vxh.js";
10
+ } from "./chunk-qbyxcjy1.js";
11
+ import"./chunk-tr80mjnp.js";
12
+ import"./chunk-76y7v9rj.js";
13
+ import"./chunk-kvv9vzzr.js";
14
+ import"./chunk-nk5h4cvx.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,