@kitman-sh/cli 0.10.57 → 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-a1yf46xt.js → chunk-4jbn6hma.js} +3 -3
  2. package/dist/{chunk-wd0rvdt4.js → chunk-59n1m39j.js} +8 -8
  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-mjzvfh9d.js → chunk-9rxwzn7y.js} +11 -11
  6. package/dist/{chunk-q5s64k8g.js → chunk-ac19vqmc.js} +61 -61
  7. package/dist/{chunk-99ver3za.js → chunk-ac851090.js} +4 -4
  8. package/dist/{chunk-x3mgznk2.js → chunk-ahtfwz4b.js} +2 -2
  9. package/dist/{chunk-h8s4vh47.js → chunk-bbsh3a70.js} +37 -37
  10. package/dist/{chunk-nrkwrajj.js → chunk-c6gyfqv4.js} +7 -7
  11. package/dist/{chunk-g53wn1q8.js → chunk-ec5df6ea.js} +2 -2
  12. package/dist/{chunk-fmhy6tss.js → chunk-edf91eyv.js} +4 -4
  13. package/dist/{chunk-23vene3j.js → chunk-hegberew.js} +7 -7
  14. package/dist/{chunk-gwcqz1bj.js → chunk-jd8xhqgm.js} +1 -1
  15. package/dist/{chunk-cy5fbrfm.js → chunk-kvv9vzzr.js} +45 -191
  16. package/dist/{chunk-hwd2gg2f.js → chunk-mfhmj6r6.js} +9 -9
  17. package/dist/{chunk-253add07.js → chunk-n1m89pnt.js} +5 -5
  18. package/dist/{chunk-61k67vxh.js → chunk-nk5h4cvx.js} +115 -73
  19. package/dist/{chunk-jc920h47.js → chunk-qbyxcjy1.js} +11 -11
  20. package/dist/{chunk-kyqsbr2n.js → chunk-qkbnbr47.js} +22 -22
  21. package/dist/{chunk-qhpyzn7c.js → chunk-qmmer308.js} +349 -198
  22. package/dist/{chunk-5tfxtw9z.js → chunk-tr80mjnp.js} +14 -60
  23. package/dist/{chunk-de4cfe40.js → chunk-zc214v7k.js} +9 -9
  24. package/dist/{chunk-v43h8s08.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,
@@ -79,14 +76,11 @@ import {
79
76
  fiberRunIn,
80
77
  makeLatchUnsafe,
81
78
  makeLatch,
82
- ClockRef,
83
- currentTimeMillis2,
84
79
  succeed3,
85
80
  failCause2,
86
81
  fail4,
87
82
  interrupt2,
88
83
  void_2,
89
- isSuccess2,
90
84
  isFailure2,
91
85
  asVoidAll,
92
86
  makeUnsafe5,
@@ -158,14 +152,12 @@ import {
158
152
  tapError2,
159
153
  ignoreCause,
160
154
  orElseSucceed,
161
- sleep,
162
155
  raceFirst,
163
156
  when,
164
157
  matchCauseEffect,
165
158
  context,
166
159
  contextWith,
167
160
  provideContext2,
168
- scope2,
169
161
  scoped,
170
162
  scopedWith,
171
163
  ensuring2,
@@ -175,7 +167,6 @@ import {
175
167
  interrupt3,
176
168
  onInterrupt,
177
169
  uninterruptible,
178
- uninterruptibleMask2,
179
170
  forever,
180
171
  forkChild,
181
172
  forkIn,
@@ -197,11 +188,11 @@ import {
197
188
  toEncoded,
198
189
  decodeUnknownEffect,
199
190
  SchemaError,
200
- make17,
191
+ make16,
201
192
  String4,
202
193
  toCodecStringTree,
203
194
  encodeUnknownJsonStringSync
204
- } from "./chunk-61k67vxh.js";
195
+ } from "./chunk-nk5h4cvx.js";
205
196
 
206
197
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
207
198
  var headUnsafe = (self) => {
@@ -250,9 +241,14 @@ var makeEquivalence = (equivalence) => {
250
241
  return (self, that) => is(self, that) && is(that, self);
251
242
  };
252
243
 
253
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
254
- var Clock = ClockRef;
255
- var currentTimeMillis = currentTimeMillis2;
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
+ };
256
252
 
257
253
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
258
254
  var bigint0 = /* @__PURE__ */ BigInt(0);
@@ -374,7 +370,7 @@ var fromStringUnsafe = (input) => {
374
370
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
375
371
  return make(value);
376
372
  };
377
- var fromInputUnsafe2 = (input) => {
373
+ var fromInputUnsafe = (input) => {
378
374
  switch (typeof input) {
379
375
  case "bigint":
380
376
  if (input < bigint0)
@@ -387,7 +383,7 @@ var fromInputUnsafe2 = (input) => {
387
383
  }
388
384
  return invalid(`unsupported input ${input}`);
389
385
  };
390
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
386
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
391
387
 
392
388
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
393
389
  var join = fiberJoin;
@@ -1133,7 +1129,7 @@ var MutableRefProto = {
1133
1129
  };
1134
1130
  }
1135
1131
  };
1136
- var make8 = (value) => {
1132
+ var make7 = (value) => {
1137
1133
  const ref = Object.create(MutableRefProto);
1138
1134
  ref.current = value;
1139
1135
  return ref;
@@ -1294,7 +1290,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1294
1290
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1295
1291
  var TypeId3 = "~effect/PubSub";
1296
1292
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1297
- 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())));
1298
1294
  var unbounded = (options) => make5({
1299
1295
  atomicPubSub: () => makeAtomicUnbounded(options),
1300
1296
  strategy: () => new DroppingStrategy
@@ -1313,7 +1309,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1313
1309
  return false;
1314
1310
  });
1315
1311
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1316
- const localScope = get4(services, Scope);
1312
+ const localScope = get3(services, Scope);
1317
1313
  const scope = forkUnsafe(self.scope);
1318
1314
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1319
1315
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -1389,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1389
1385
  subscribers.delete(subscription);
1390
1386
  }
1391
1387
  };
1392
- 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);
1393
1389
  class UnboundedPubSub {
1394
1390
  publisherHead = {
1395
1391
  value: AbsentValue,
@@ -1806,7 +1802,7 @@ var QueueProto = {
1806
1802
  };
1807
1803
  }
1808
1804
  };
1809
- var make9 = (options) => withFiber((fiber) => {
1805
+ var make8 = (options) => withFiber((fiber) => {
1810
1806
  const self = Object.create(QueueProto);
1811
1807
  self.dispatcher = fiber.currentDispatcher;
1812
1808
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1821,14 +1817,14 @@ var make9 = (options) => withFiber((fiber) => {
1821
1817
  };
1822
1818
  return succeed2(self);
1823
1819
  });
1824
- var bounded = (capacity) => make9({
1820
+ var bounded = (capacity) => make8({
1825
1821
  capacity
1826
1822
  });
1827
- var sliding = (capacity) => make9({
1823
+ var sliding = (capacity) => make8({
1828
1824
  capacity,
1829
1825
  strategy: "sliding"
1830
1826
  });
1831
- var unbounded2 = () => make9();
1827
+ var unbounded2 = () => make8();
1832
1828
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1833
1829
  var offerUnsafe = (self, message) => {
1834
1830
  if (self.state._tag !== "Open") {
@@ -2254,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2254
2250
  return onError(pull, onCause);
2255
2251
  }));
2256
2252
  var toTransform = (channel) => channel.transform;
2257
- var asyncQueue = (scope, f, options) => make9({
2253
+ var asyncQueue = (scope, f, options) => make8({
2258
2254
  capacity: options?.bufferSize,
2259
2255
  strategy: options?.strategy
2260
2256
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2295,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2295
2291
  }));
2296
2292
  var readableStreamToPullUnsafe = (options) => {
2297
2293
  const reader = options.readable.getReader();
2298
- const exit = options.exit ?? make8(undefined);
2294
+ const exit = options.exit ?? make7(undefined);
2299
2295
  const pull = suspend3(() => {
2300
2296
  if (exit.current)
2301
2297
  return exit.current;
@@ -2770,158 +2766,16 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2770
2766
  }), catchDone(() => endVoid)));
2771
2767
  var unwrap3 = (effect) => fromChannel(unwrap2(map8(effect, toChannel)));
2772
2768
 
2773
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2774
- var TypeId8 = "~effect/RcRef";
2775
- var stateEmpty = {
2776
- _tag: "Empty"
2777
- };
2778
- var stateClosed = {
2779
- _tag: "Closed"
2780
- };
2781
- var variance2 = {
2782
- _A: identity,
2783
- _E: identity
2784
- };
2785
-
2786
- class RcRefImpl {
2787
- [TypeId8] = variance2;
2788
- pipe() {
2789
- return pipeArguments(this, arguments);
2790
- }
2791
- state = stateEmpty;
2792
- acquire;
2793
- context;
2794
- scope;
2795
- idleTimeToLive;
2796
- constructor(acquire, context, scope, idleTimeToLive) {
2797
- this.acquire = acquire;
2798
- this.context = context;
2799
- this.scope = scope;
2800
- this.idleTimeToLive = idleTimeToLive;
2801
- }
2802
- }
2803
- var make6 = (options) => withFiber2((fiber) => {
2804
- const context = fiber.context;
2805
- const scope = get4(context, Scope);
2806
- const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2807
- return as(addFinalizerExit(scope, () => {
2808
- const state = ref.state;
2809
- ref.state = stateClosed;
2810
- if (state._tag === "Acquired")
2811
- return close(state.scope, void_2);
2812
- if (state._tag === "Acquiring")
2813
- return interrupt(state.fiber);
2814
- return void_3;
2815
- }), ref);
2816
- });
2817
- var getState = (self, restore) => {
2818
- switch (self.state._tag) {
2819
- case "Closed": {
2820
- return interrupt3;
2821
- }
2822
- case "Acquired": {
2823
- const state = self.state;
2824
- state.refCount++;
2825
- return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2826
- }
2827
- case "Acquiring": {
2828
- const state = self.state;
2829
- state.awaiters++;
2830
- return awaitAcquiring(self, state, restore);
2831
- }
2832
- case "Empty": {
2833
- const acquiring = {
2834
- _tag: "Acquiring",
2835
- fiber: undefined,
2836
- awaiters: 1,
2837
- acquired: undefined
2838
- };
2839
- self.state = acquiring;
2840
- const scope = makeUnsafe6();
2841
- const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2842
- if (self.state !== acquiring) {
2843
- return interrupt3;
2844
- }
2845
- const state = {
2846
- _tag: "Acquired",
2847
- value,
2848
- scope,
2849
- fiber: undefined,
2850
- refCount: acquiring.awaiters,
2851
- invalidated: false
2852
- };
2853
- self.state = state;
2854
- acquiring.acquired = state;
2855
- return succeed6(state);
2856
- }), onExit((exit) => {
2857
- if (isSuccess2(exit))
2858
- return void_3;
2859
- if (self.state === acquiring)
2860
- self.state = stateEmpty;
2861
- return close(scope, exit);
2862
- }));
2863
- acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2864
- return awaitAcquiring(self, acquiring, restore);
2865
- }
2866
- }
2867
- };
2868
- var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2869
- const acquired = acquiring.acquired;
2870
- if (acquired !== undefined) {
2871
- return isFailure2(exit) ? release(self, acquired) : void_3;
2872
- }
2873
- if (--acquiring.awaiters > 0 || self.state !== acquiring)
2874
- return void_3;
2875
- self.state = stateEmpty;
2876
- return interrupt(acquiring.fiber);
2877
- });
2878
- var get2 = (self_) => {
2879
- const self = self_;
2880
- return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2881
- };
2882
- var release = (self, state) => {
2883
- state.refCount--;
2884
- if (state.refCount > 0) {
2885
- return void_3;
2886
- }
2887
- const idleTimeToLive = self.idleTimeToLive;
2888
- if (idleTimeToLive === undefined || state.invalidated) {
2889
- if (self.state === state) {
2890
- self.state = stateEmpty;
2891
- }
2892
- return close(state.scope, void_2);
2893
- } else if (!isFinite(idleTimeToLive)) {
2894
- return void_3;
2895
- }
2896
- state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2897
- if (self.state === state && state.refCount === 0) {
2898
- self.state = stateEmpty;
2899
- return ignoreCause(close(state.scope, void_2), {
2900
- log: "Unhandled",
2901
- message: "Unhandled error in RcRef finalizer"
2902
- });
2903
- }
2904
- return void_3;
2905
- })).pipe(ensuring2(sync2(() => {
2906
- state.fiber = undefined;
2907
- })), runForkWith(self.context), runIn(self.scope));
2908
- return void_3;
2909
- };
2910
-
2911
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2912
- var make10 = make6;
2913
- var get3 = get2;
2914
-
2915
2769
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2916
- var TypeId9 = "~effect/Stream";
2917
- var isStream = (u) => hasProperty(u, TypeId9);
2770
+ var TypeId8 = "~effect/Stream";
2771
+ var isStream = (u) => hasProperty(u, TypeId8);
2918
2772
  var fromChannel2 = fromChannel3;
2919
2773
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2920
2774
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
2921
2775
  var toChannel2 = (stream) => stream.channel;
2922
2776
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2923
2777
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2924
- var make11 = (...values) => fromArray2(values);
2778
+ var make9 = (...values) => fromArray2(values);
2925
2779
  var suspend = (stream) => {
2926
2780
  const suspended = fromChannel2(suspend4(() => stream().channel));
2927
2781
  suspendedStreams.set(suspended, stream);
@@ -3084,11 +2938,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
3084
2938
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map8(context(), (context) => toReadableStreamWith(self, context, options)));
3085
2939
 
3086
2940
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3087
- var TypeId10 = "~effect/FileSystem";
2941
+ var TypeId9 = "~effect/FileSystem";
3088
2942
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3089
- var make12 = (impl) => FileSystem.of({
2943
+ var make10 = (impl) => FileSystem.of({
3090
2944
  ...impl,
3091
- [TypeId10]: TypeId10,
2945
+ [TypeId9]: TypeId9,
3092
2946
  glob: make2(impl),
3093
2947
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
3094
2948
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -3104,11 +2958,11 @@ var make12 = (impl) => FileSystem.of({
3104
2958
  const file = yield* impl.open(path, {
3105
2959
  flag: "r"
3106
2960
  });
3107
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
2961
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3108
2962
  if (offset) {
3109
2963
  yield* file.seek(offset, "start");
3110
2964
  }
3111
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
2965
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3112
2966
  let totalBytesRead = BigInt(0);
3113
2967
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
3114
2968
  const readChunk = file.readAlloc(chunkSize);
@@ -3144,11 +2998,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3144
2998
  }
3145
2999
 
3146
3000
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3147
- var TypeId11 = "~effect/Path";
3001
+ var TypeId10 = "~effect/Path";
3148
3002
  var Path = /* @__PURE__ */ Service2("effect/Path");
3149
- var make13 = (impl) => Path.of({
3003
+ var make11 = (impl) => Path.of({
3150
3004
  ...impl,
3151
- [TypeId11]: TypeId11,
3005
+ [TypeId10]: TypeId10,
3152
3006
  resolveWithin(root, input) {
3153
3007
  if (impl.parse(input).root !== "")
3154
3008
  return none();
@@ -3221,7 +3075,7 @@ function makeProvider(load, mapInput) {
3221
3075
  function makeSource(get, transform) {
3222
3076
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3223
3077
  }
3224
- function make7(get) {
3078
+ function make6(get) {
3225
3079
  return makeSource(get, identityPath);
3226
3080
  }
3227
3081
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3230,7 +3084,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3230
3084
  function fromEnvRecord(env, options) {
3231
3085
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3232
3086
  const trie = buildEnvTrie(env);
3233
- return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3087
+ return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3234
3088
  }
3235
3089
  function fromEnv(options) {
3236
3090
  const env = options?.env ?? {
@@ -3283,7 +3137,7 @@ function trieNodeAt(root, path) {
3283
3137
  }
3284
3138
 
3285
3139
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3286
- var TypeId12 = "~effect/Config";
3140
+ var TypeId11 = "~effect/Config";
3287
3141
  class ConfigError {
3288
3142
  _tag = "ConfigError";
3289
3143
  name = "ConfigError";
@@ -3305,14 +3159,14 @@ var Proto2 = {
3305
3159
  return this.parse(fiber.getRef(ConfigProvider));
3306
3160
  }
3307
3161
  }),
3308
- [TypeId12]: TypeId12,
3162
+ [TypeId11]: TypeId11,
3309
3163
  toJSON() {
3310
3164
  return {
3311
3165
  _id: "Config"
3312
3166
  };
3313
3167
  }
3314
3168
  };
3315
- function make14(evaluator) {
3169
+ function make12(evaluator) {
3316
3170
  const self = Object.create(Proto2);
3317
3171
  self.evaluator = evaluator;
3318
3172
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3320,14 +3174,14 @@ function make14(evaluator) {
3320
3174
  }
3321
3175
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3322
3176
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3323
- return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3177
+ return make12((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3324
3178
  });
3325
3179
  function all(arg) {
3326
3180
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3327
- 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));
3328
3182
  }
3329
3183
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3330
- 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));
3331
3185
  });
3332
3186
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3333
3187
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3444,9 +3298,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3444
3298
  function schema(codec, path) {
3445
3299
  const codecStringTree = toCodecStringTree(codec);
3446
3300
  const encodedAst = toEncoded(codecStringTree.ast);
3447
- const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3301
+ const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3448
3302
  const localPath = typeof path === "string" ? [path] : path ?? [];
3449
- return make14((provider, pathPrefix) => {
3303
+ return make12((provider, pathPrefix) => {
3450
3304
  const fullPath = [...pathPrefix, ...localPath];
3451
3305
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3452
3306
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3557,4 +3411,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3557
3411
  ...argv
3558
3412
  ];
3559
3413
 
3560
- export { map, makeEquivalence, Clock, currentTimeMillis, 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-cy5fbrfm.js";
35
+ } from "./chunk-76y7v9rj.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-qhpyzn7c.js";
40
+ } from "./chunk-qmmer308.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-a1yf46xt.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-jc920h47.js";
11
- import"./chunk-5tfxtw9z.js";
12
- import"./chunk-7evwar6b.js";
13
- import"./chunk-cy5fbrfm.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,