@kitman-sh/cli 0.13.12 → 0.13.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-36s51mp6.js → chunk-06dwvzv0.js} +64 -64
  2. package/dist/{chunk-fwja3qb1.js → chunk-24h0y27w.js} +1 -1
  3. package/dist/{chunk-ths93svq.js → chunk-3vbs995s.js} +208 -352
  4. package/dist/{chunk-4m923rz8.js → chunk-4142qeg3.js} +3 -3
  5. package/dist/{chunk-02ye1s9f.js → chunk-5ba08a9e.js} +18 -18
  6. package/dist/{chunk-nge8fq10.js → chunk-5mxvqg32.js} +9 -9
  7. package/dist/{chunk-n1aqwdc2.js → chunk-6agcvxbj.js} +10 -10
  8. package/dist/{chunk-8cxh8j07.js → chunk-89rpg6j9.js} +94 -94
  9. package/dist/{chunk-3z9yz32f.js → chunk-8xpdkxr7.js} +14 -60
  10. package/dist/{chunk-1bkrxc3v.js → chunk-aa30tt6t.js} +2 -2
  11. package/dist/{chunk-4t6nrgxw.js → chunk-d4kmyv5h.js} +4 -4
  12. package/dist/{chunk-npjpmb0w.js → chunk-dwxqp8ez.js} +9 -9
  13. package/dist/{chunk-x5nv63jj.js → chunk-ef3nzqng.js} +3 -3
  14. package/dist/{chunk-8t1vygmr.js → chunk-fk5238tn.js} +4 -4
  15. package/dist/{chunk-eahqsd8h.js → chunk-ggmwpwhf.js} +2 -2
  16. package/dist/{chunk-szt25e0z.js → chunk-hgfphycc.js} +191 -39
  17. package/dist/{chunk-95w14qxp.js → chunk-hmt2egsx.js} +6 -6
  18. package/dist/{chunk-9d03t0pn.js → chunk-hw9fcfs0.js} +9 -9
  19. package/dist/{chunk-yab3j170.js → chunk-mmd7mjv0.js} +3 -3
  20. package/dist/{chunk-mcw7wvtx.js → chunk-pxvd8w2v.js} +6 -1
  21. package/dist/{chunk-zb5pnthp.js → chunk-st8ggqv1.js} +33 -33
  22. package/dist/{chunk-2xh5p0na.js → chunk-vjsqg4a5.js} +12 -11
  23. package/dist/{chunk-z74fnmqb.js → chunk-vmww6hnk.js} +20 -20
  24. package/dist/{chunk-n734b61f.js → chunk-zencwg2t.js} +1 -1
  25. package/dist/{chunk-8pbnfqaz.js → chunk-zgraq2y3.js} +101 -59
  26. package/dist/index.js +4 -4
  27. 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,
@@ -76,13 +79,12 @@ import {
76
79
  fiberRunIn,
77
80
  makeLatchUnsafe,
78
81
  makeLatch,
79
- ClockRef,
80
- currentTimeMillis2,
81
82
  succeed3,
82
83
  failCause2,
83
84
  fail4,
84
85
  interrupt2,
85
86
  void_2,
87
+ isSuccess2,
86
88
  isFailure2,
87
89
  asVoidAll,
88
90
  makeUnsafe5,
@@ -154,12 +156,14 @@ import {
154
156
  tapError2,
155
157
  ignoreCause,
156
158
  orElseSucceed,
159
+ sleep,
157
160
  raceFirst,
158
161
  when,
159
162
  matchCauseEffect,
160
163
  context,
161
164
  contextWith,
162
165
  provideContext2,
166
+ scope2,
163
167
  scoped,
164
168
  scopedWith,
165
169
  acquireRelease,
@@ -170,6 +174,7 @@ import {
170
174
  interrupt3,
171
175
  onInterrupt,
172
176
  uninterruptible,
177
+ uninterruptibleMask2,
173
178
  forever,
174
179
  forkChild,
175
180
  forkIn,
@@ -192,11 +197,11 @@ import {
192
197
  toEncoded,
193
198
  decodeUnknownEffect,
194
199
  SchemaError,
195
- make16,
200
+ make17,
196
201
  String4,
197
202
  toCodecStringTree,
198
203
  encodeUnknownJsonStringSync
199
- } from "./chunk-8pbnfqaz.js";
204
+ } from "./chunk-zgraq2y3.js";
200
205
 
201
206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
202
207
  var headUnsafe = (self) => {
@@ -245,9 +250,14 @@ var makeEquivalence = (equivalence) => {
245
250
  return (self, that) => is(self, that) && is(that, self);
246
251
  };
247
252
 
248
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Clock.js
249
- var Clock = ClockRef;
250
- var currentTimeMillis = currentTimeMillis2;
253
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
254
+ var BigInt2 = globalThis.BigInt;
255
+ var toNumber = (b) => {
256
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
257
+ return none();
258
+ }
259
+ return some(Number(b));
260
+ };
251
261
 
252
262
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
253
263
  var bigint0 = /* @__PURE__ */ BigInt(0);
@@ -369,7 +379,7 @@ var fromStringUnsafe = (input) => {
369
379
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
370
380
  return make(value);
371
381
  };
372
- var fromInputUnsafe = (input) => {
382
+ var fromInputUnsafe2 = (input) => {
373
383
  switch (typeof input) {
374
384
  case "bigint":
375
385
  if (input < bigint0)
@@ -382,7 +392,7 @@ var fromInputUnsafe = (input) => {
382
392
  }
383
393
  return invalid(`unsupported input ${input}`);
384
394
  };
385
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
395
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
386
396
 
387
397
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
388
398
  var join = fiberJoin;
@@ -1128,7 +1138,7 @@ var MutableRefProto = {
1128
1138
  };
1129
1139
  }
1130
1140
  };
1131
- var make8 = (value) => {
1141
+ var make7 = (value) => {
1132
1142
  const ref = Object.create(MutableRefProto);
1133
1143
  ref.current = value;
1134
1144
  return ref;
@@ -1289,7 +1299,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1289
1299
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1290
1300
  var TypeId3 = "~effect/PubSub";
1291
1301
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1292
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1302
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1293
1303
  var unbounded = (options) => make5({
1294
1304
  atomicPubSub: () => makeAtomicUnbounded(options),
1295
1305
  strategy: () => new DroppingStrategy
@@ -1308,7 +1318,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1308
1318
  return false;
1309
1319
  });
1310
1320
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1311
- const localScope = get3(services, Scope);
1321
+ const localScope = get4(services, Scope);
1312
1322
  const scope = forkUnsafe(self.scope);
1313
1323
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1314
1324
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -1384,7 +1394,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1384
1394
  subscribers.delete(subscription);
1385
1395
  }
1386
1396
  };
1387
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1397
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1388
1398
  class UnboundedPubSub {
1389
1399
  publisherHead = {
1390
1400
  value: AbsentValue,
@@ -1801,7 +1811,7 @@ var QueueProto = {
1801
1811
  };
1802
1812
  }
1803
1813
  };
1804
- var make9 = (options) => withFiber((fiber) => {
1814
+ var make8 = (options) => withFiber((fiber) => {
1805
1815
  const self = Object.create(QueueProto);
1806
1816
  self.dispatcher = fiber.currentDispatcher;
1807
1817
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1816,14 +1826,14 @@ var make9 = (options) => withFiber((fiber) => {
1816
1826
  };
1817
1827
  return succeed2(self);
1818
1828
  });
1819
- var bounded = (capacity) => make9({
1829
+ var bounded = (capacity) => make8({
1820
1830
  capacity
1821
1831
  });
1822
- var sliding = (capacity) => make9({
1832
+ var sliding = (capacity) => make8({
1823
1833
  capacity,
1824
1834
  strategy: "sliding"
1825
1835
  });
1826
- var unbounded2 = () => make9();
1836
+ var unbounded2 = () => make8();
1827
1837
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1828
1838
  var offerUnsafe = (self, message) => {
1829
1839
  if (self.state._tag !== "Open") {
@@ -2249,7 +2259,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2249
2259
  return onError(pull, onCause);
2250
2260
  }));
2251
2261
  var toTransform = (channel) => channel.transform;
2252
- var asyncQueue = (scope, f, options) => make9({
2262
+ var asyncQueue = (scope, f, options) => make8({
2253
2263
  capacity: options?.bufferSize,
2254
2264
  strategy: options?.strategy
2255
2265
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2290,7 +2300,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2290
2300
  }));
2291
2301
  var readableStreamToPullUnsafe = (options) => {
2292
2302
  const reader = options.readable.getReader();
2293
- const exit = options.exit ?? make8(undefined);
2303
+ const exit = options.exit ?? make7(undefined);
2294
2304
  const pull = suspend3(() => {
2295
2305
  if (exit.current)
2296
2306
  return exit.current;
@@ -2765,9 +2775,151 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2765
2775
  }), catchDone(() => endVoid)));
2766
2776
  var unwrap3 = (effect) => fromChannel(unwrap2(map8(effect, toChannel)));
2767
2777
 
2778
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2779
+ var TypeId8 = "~effect/RcRef";
2780
+ var stateEmpty = {
2781
+ _tag: "Empty"
2782
+ };
2783
+ var stateClosed = {
2784
+ _tag: "Closed"
2785
+ };
2786
+ var variance2 = {
2787
+ _A: identity,
2788
+ _E: identity
2789
+ };
2790
+
2791
+ class RcRefImpl {
2792
+ [TypeId8] = variance2;
2793
+ pipe() {
2794
+ return pipeArguments(this, arguments);
2795
+ }
2796
+ state = stateEmpty;
2797
+ acquire;
2798
+ context;
2799
+ scope;
2800
+ idleTimeToLive;
2801
+ constructor(acquire, context, scope, idleTimeToLive) {
2802
+ this.acquire = acquire;
2803
+ this.context = context;
2804
+ this.scope = scope;
2805
+ this.idleTimeToLive = idleTimeToLive;
2806
+ }
2807
+ }
2808
+ var make6 = (options) => withFiber2((fiber) => {
2809
+ const context = fiber.context;
2810
+ const scope = get4(context, Scope);
2811
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2812
+ return as(addFinalizerExit(scope, () => {
2813
+ const state = ref.state;
2814
+ ref.state = stateClosed;
2815
+ if (state._tag === "Acquired")
2816
+ return close(state.scope, void_2);
2817
+ if (state._tag === "Acquiring")
2818
+ return interrupt(state.fiber);
2819
+ return void_3;
2820
+ }), ref);
2821
+ });
2822
+ var getState = (self, restore) => {
2823
+ switch (self.state._tag) {
2824
+ case "Closed": {
2825
+ return interrupt3;
2826
+ }
2827
+ case "Acquired": {
2828
+ const state = self.state;
2829
+ state.refCount++;
2830
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2831
+ }
2832
+ case "Acquiring": {
2833
+ const state = self.state;
2834
+ state.awaiters++;
2835
+ return awaitAcquiring(self, state, restore);
2836
+ }
2837
+ case "Empty": {
2838
+ const acquiring = {
2839
+ _tag: "Acquiring",
2840
+ fiber: undefined,
2841
+ awaiters: 1,
2842
+ acquired: undefined
2843
+ };
2844
+ self.state = acquiring;
2845
+ const scope = makeUnsafe6();
2846
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2847
+ if (self.state !== acquiring) {
2848
+ return interrupt3;
2849
+ }
2850
+ const state = {
2851
+ _tag: "Acquired",
2852
+ value,
2853
+ scope,
2854
+ fiber: undefined,
2855
+ refCount: acquiring.awaiters,
2856
+ invalidated: false
2857
+ };
2858
+ self.state = state;
2859
+ acquiring.acquired = state;
2860
+ return succeed6(state);
2861
+ }), onExit((exit) => {
2862
+ if (isSuccess2(exit))
2863
+ return void_3;
2864
+ if (self.state === acquiring)
2865
+ self.state = stateEmpty;
2866
+ return close(scope, exit);
2867
+ }));
2868
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2869
+ return awaitAcquiring(self, acquiring, restore);
2870
+ }
2871
+ }
2872
+ };
2873
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2874
+ const acquired = acquiring.acquired;
2875
+ if (acquired !== undefined) {
2876
+ return isFailure2(exit) ? release(self, acquired) : void_3;
2877
+ }
2878
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
2879
+ return void_3;
2880
+ self.state = stateEmpty;
2881
+ return interrupt(acquiring.fiber);
2882
+ });
2883
+ var get2 = (self_) => {
2884
+ const self = self_;
2885
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2886
+ };
2887
+ var release = (self, state) => {
2888
+ state.refCount--;
2889
+ if (state.refCount > 0) {
2890
+ return void_3;
2891
+ }
2892
+ const idleTimeToLive = self.idleTimeToLive;
2893
+ if (idleTimeToLive === undefined || state.invalidated) {
2894
+ if (self.state === state) {
2895
+ self.state = stateEmpty;
2896
+ }
2897
+ return close(state.scope, void_2);
2898
+ } else if (!isFinite(idleTimeToLive)) {
2899
+ return void_3;
2900
+ }
2901
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2902
+ if (self.state === state && state.refCount === 0) {
2903
+ self.state = stateEmpty;
2904
+ return ignoreCause(close(state.scope, void_2), {
2905
+ log: "Unhandled",
2906
+ message: "Unhandled error in RcRef finalizer"
2907
+ });
2908
+ }
2909
+ return void_3;
2910
+ })).pipe(ensuring2(sync2(() => {
2911
+ state.fiber = undefined;
2912
+ })), runForkWith(self.context), runIn(self.scope));
2913
+ return void_3;
2914
+ };
2915
+
2916
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2917
+ var make9 = make6;
2918
+ var get3 = get2;
2919
+
2768
2920
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
2769
- var TypeId8 = "~effect/Stream";
2770
- var isStream = (u) => hasProperty(u, TypeId8);
2921
+ var TypeId9 = "~effect/Stream";
2922
+ var isStream = (u) => hasProperty(u, TypeId9);
2771
2923
  var fromChannel2 = fromChannel3;
2772
2924
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2773
2925
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
@@ -2955,11 +3107,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
2955
3107
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map8(context(), (context) => toReadableStreamWith(self, context, options)));
2956
3108
 
2957
3109
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
2958
- var TypeId9 = "~effect/FileSystem";
3110
+ var TypeId10 = "~effect/FileSystem";
2959
3111
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
2960
3112
  var make11 = (impl) => FileSystem.of({
2961
3113
  ...impl,
2962
- [TypeId9]: TypeId9,
3114
+ [TypeId10]: TypeId10,
2963
3115
  glob: make2(impl),
2964
3116
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
2965
3117
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -2975,11 +3127,11 @@ var make11 = (impl) => FileSystem.of({
2975
3127
  const file = yield* impl.open(path, {
2976
3128
  flag: "r"
2977
3129
  });
2978
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3130
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
2979
3131
  if (offset) {
2980
3132
  yield* file.seek(offset, "start");
2981
3133
  }
2982
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3134
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
2983
3135
  let totalBytesRead = BigInt(0);
2984
3136
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
2985
3137
  const readChunk = file.readAlloc(chunkSize);
@@ -3015,11 +3167,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3015
3167
  }
3016
3168
 
3017
3169
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3018
- var TypeId10 = "~effect/Path";
3170
+ var TypeId11 = "~effect/Path";
3019
3171
  var Path = /* @__PURE__ */ Service2("effect/Path");
3020
3172
  var make12 = (impl) => Path.of({
3021
3173
  ...impl,
3022
- [TypeId10]: TypeId10,
3174
+ [TypeId11]: TypeId11,
3023
3175
  resolveWithin(root, input) {
3024
3176
  if (impl.parse(input).root !== "")
3025
3177
  return none();
@@ -3092,7 +3244,7 @@ function makeProvider(load, mapInput) {
3092
3244
  function makeSource(get, transform) {
3093
3245
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3094
3246
  }
3095
- function make6(get) {
3247
+ function make13(get) {
3096
3248
  return makeSource(get, identityPath);
3097
3249
  }
3098
3250
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3101,7 +3253,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3101
3253
  function fromEnvRecord(env, options) {
3102
3254
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3103
3255
  const trie = buildEnvTrie(env);
3104
- return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3256
+ return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3105
3257
  }
3106
3258
  function fromEnv(options) {
3107
3259
  const env = options?.env ?? {
@@ -3154,7 +3306,7 @@ function trieNodeAt(root, path) {
3154
3306
  }
3155
3307
 
3156
3308
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3157
- var TypeId11 = "~effect/Config";
3309
+ var TypeId12 = "~effect/Config";
3158
3310
  class ConfigError {
3159
3311
  _tag = "ConfigError";
3160
3312
  name = "ConfigError";
@@ -3176,14 +3328,14 @@ var Proto2 = {
3176
3328
  return this.parse(fiber.getRef(ConfigProvider));
3177
3329
  }
3178
3330
  }),
3179
- [TypeId11]: TypeId11,
3331
+ [TypeId12]: TypeId12,
3180
3332
  toJSON() {
3181
3333
  return {
3182
3334
  _id: "Config"
3183
3335
  };
3184
3336
  }
3185
3337
  };
3186
- function make7(evaluator) {
3338
+ function make14(evaluator) {
3187
3339
  const self = Object.create(Proto2);
3188
3340
  self.evaluator = evaluator;
3189
3341
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3191,14 +3343,14 @@ function make7(evaluator) {
3191
3343
  }
3192
3344
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3193
3345
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3194
- return make7((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3346
+ return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3195
3347
  });
3196
3348
  function all(arg) {
3197
3349
  const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
3198
- 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));
3350
+ 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));
3199
3351
  }
3200
3352
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3201
- return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3353
+ return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3202
3354
  });
3203
3355
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3204
3356
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3315,9 +3467,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3315
3467
  function schema(codec, path) {
3316
3468
  const codecStringTree = toCodecStringTree(codec);
3317
3469
  const encodedAst = toEncoded(codecStringTree.ast);
3318
- const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3470
+ const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3319
3471
  const localPath = typeof path === "string" ? [path] : path ?? [];
3320
- return make7((provider, pathPrefix) => {
3472
+ return make14((provider, pathPrefix) => {
3321
3473
  const fullPath = [...pathPrefix, ...localPath];
3322
3474
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3323
3475
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3432,4 +3584,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3432
3584
  ...argv
3433
3585
  ];
3434
3586
 
3435
- 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, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3587
+ export { map, makeEquivalence, toNumber, 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, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-npjpmb0w.js";
8
- import"./chunk-z74fnmqb.js";
9
- import"./chunk-ths93svq.js";
10
- import"./chunk-mcw7wvtx.js";
11
- import"./chunk-szt25e0z.js";
12
- import"./chunk-8pbnfqaz.js";
7
+ } from "./chunk-dwxqp8ez.js";
8
+ import"./chunk-vmww6hnk.js";
9
+ import"./chunk-3vbs995s.js";
10
+ import"./chunk-pxvd8w2v.js";
11
+ import"./chunk-hgfphycc.js";
12
+ import"./chunk-zgraq2y3.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -1,4 +1,10 @@
1
1
  // @bun
2
+ import {
3
+ FileSystem,
4
+ Path,
5
+ optionalEnv,
6
+ tempDirectoryScoped
7
+ } from "./chunk-hgfphycc.js";
2
8
  import {
3
9
  Reference,
4
10
  TaggedError,
@@ -25,21 +31,15 @@ import {
25
31
  isString2,
26
32
  encodePrettyJsonString,
27
33
  decodeJsonStringSync
28
- } from "./chunk-8pbnfqaz.js";
29
- import {
30
- FileSystem,
31
- Path,
32
- optionalEnv,
33
- tempDirectoryScoped
34
- } from "./chunk-szt25e0z.js";
34
+ } from "./chunk-zgraq2y3.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-ths93svq.js";
39
+ } from "./chunk-3vbs995s.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-4m923rz8.js";
42
+ } from "./chunk-4142qeg3.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-eahqsd8h.js";
8
- import"./chunk-mcw7wvtx.js";
9
- import"./chunk-8pbnfqaz.js";
7
+ } from "./chunk-ggmwpwhf.js";
8
+ import"./chunk-pxvd8w2v.js";
9
+ import"./chunk-zgraq2y3.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -18,7 +18,12 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-8pbnfqaz.js";
21
+ } from "./chunk-zgraq2y3.js";
22
+
23
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
+ var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
25
+ var DRAFT_07_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "deprecated"];
26
+ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment", "$id", "$schema", "const", "contains", "contentEncoding", "contentMediaType", "else", "examples", "if", "patternProperties", "propertyNames", "then"];
22
27
 
23
28
  // packages/core/src/schema.ts
24
29
  var Days = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];