@kitman-sh/cli 0.13.12 → 0.13.13

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-3z0wep73.js} +23 -23
  2. package/dist/{chunk-2xh5p0na.js → chunk-4yzdyte6.js} +7 -7
  3. package/dist/{chunk-4t6nrgxw.js → chunk-6kz6qa2h.js} +4 -4
  4. package/dist/{chunk-02ye1s9f.js → chunk-7hf2d50x.js} +9 -9
  5. package/dist/{chunk-z74fnmqb.js → chunk-7jege23c.js} +18 -18
  6. package/dist/{chunk-3z9yz32f.js → chunk-82w8rmkc.js} +2 -2
  7. package/dist/{chunk-n734b61f.js → chunk-9rez0yze.js} +1 -1
  8. package/dist/{chunk-8cxh8j07.js → chunk-b5abe9c7.js} +35 -35
  9. package/dist/{chunk-95w14qxp.js → chunk-cxc8d0r3.js} +6 -6
  10. package/dist/{chunk-1bkrxc3v.js → chunk-fc2bhh5v.js} +2 -2
  11. package/dist/{chunk-nge8fq10.js → chunk-ga76znz9.js} +5 -5
  12. package/dist/{chunk-fwja3qb1.js → chunk-gq7y5v3e.js} +1 -1
  13. package/dist/{chunk-yab3j170.js → chunk-gy9rf14f.js} +3 -3
  14. package/dist/{chunk-8t1vygmr.js → chunk-j2aw5bss.js} +4 -4
  15. package/dist/{chunk-x5nv63jj.js → chunk-jwr0rr2p.js} +1 -1
  16. package/dist/{chunk-szt25e0z.js → chunk-nf9gdnsf.js} +177 -34
  17. package/dist/{chunk-4m923rz8.js → chunk-nve4pjqm.js} +3 -3
  18. package/dist/{chunk-zb5pnthp.js → chunk-ptn9g4wd.js} +31 -31
  19. package/dist/{chunk-ths93svq.js → chunk-pvza175a.js} +141 -282
  20. package/dist/{chunk-mcw7wvtx.js → chunk-q5w3v4k1.js} +6 -1
  21. package/dist/{chunk-npjpmb0w.js → chunk-s364dren.js} +6 -6
  22. package/dist/{chunk-n1aqwdc2.js → chunk-vbygjtdw.js} +7 -7
  23. package/dist/{chunk-9d03t0pn.js → chunk-wh6eeetn.js} +4 -4
  24. package/dist/{chunk-eahqsd8h.js → chunk-y1krmnbv.js} +2 -2
  25. package/dist/{chunk-8pbnfqaz.js → chunk-zw3gf6r5.js} +60 -60
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -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-s364dren.js";
8
+ import"./chunk-7jege23c.js";
9
+ import"./chunk-pvza175a.js";
10
+ import"./chunk-q5w3v4k1.js";
11
+ import"./chunk-nf9gdnsf.js";
12
+ import"./chunk-zw3gf6r5.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-szt25e0z.js";
18
- import"./chunk-8pbnfqaz.js";
17
+ } from "./chunk-nf9gdnsf.js";
18
+ import"./chunk-zw3gf6r5.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -25,16 +25,16 @@ import {
25
25
  isJsonObject,
26
26
  isString2,
27
27
  encodeUnknownJsonStringSync
28
- } from "./chunk-8pbnfqaz.js";
28
+ } from "./chunk-zw3gf6r5.js";
29
29
  import {
30
- make10,
30
+ make11,
31
31
  runForEach,
32
32
  compiled2
33
- } from "./chunk-szt25e0z.js";
33
+ } from "./chunk-nf9gdnsf.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
36
  make3
37
- } from "./chunk-3z9yz32f.js";
37
+ } from "./chunk-82w8rmkc.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -168,7 +168,7 @@ var isolatedRead = (store, name, input) => gen(function* () {
168
168
  const spawner = yield* ChildProcessSpawner;
169
169
  const [command, ...args] = opencodeReaderCommand();
170
170
  const handle = yield* spawner.spawn(make3(command, args, {
171
- stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
171
+ stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
172
172
  stderr: "ignore",
173
173
  extendEnv: false,
174
174
  env: {},
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-8pbnfqaz.js";
6
+ } from "./chunk-zw3gf6r5.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -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-y1krmnbv.js";
8
+ import"./chunk-q5w3v4k1.js";
9
+ import"./chunk-zw3gf6r5.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-3z9yz32f.js";
2
+ import"./chunk-82w8rmkc.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-ths93svq.js";
16
- import"./chunk-szt25e0z.js";
17
- import"./chunk-8pbnfqaz.js";
15
+ } from "./chunk-pvza175a.js";
16
+ import"./chunk-nf9gdnsf.js";
17
+ import"./chunk-zw3gf6r5.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -1555,7 +1555,7 @@ var pathOfLink = (link) => {
1555
1555
  return page === null ? link : page[1] || "index";
1556
1556
  };
1557
1557
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1558
- var pinnedLink2 = (link, version = "0.13.12") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1558
+ var pinnedLink2 = (link, version = "0.13.13") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1559
1559
  var pageOf = (path) => path.split("#")[0];
1560
1560
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1561
1561
  function excerpt(text, queryTerms) {
@@ -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-zw3gf6r5.js";
200
205
 
201
206
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
202
207
  var headUnsafe = (self) => {
@@ -245,10 +250,6 @@ 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;
251
-
252
253
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
253
254
  var bigint0 = /* @__PURE__ */ BigInt(0);
254
255
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -369,7 +370,7 @@ var fromStringUnsafe = (input) => {
369
370
  return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
370
371
  return make(value);
371
372
  };
372
- var fromInputUnsafe = (input) => {
373
+ var fromInputUnsafe2 = (input) => {
373
374
  switch (typeof input) {
374
375
  case "bigint":
375
376
  if (input < bigint0)
@@ -382,7 +383,7 @@ var fromInputUnsafe = (input) => {
382
383
  }
383
384
  return invalid(`unsupported input ${input}`);
384
385
  };
385
- var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
386
+ var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
386
387
 
387
388
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
388
389
  var join = fiberJoin;
@@ -1308,7 +1309,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
1308
1309
  return false;
1309
1310
  });
1310
1311
  var subscribe = (self) => uninterruptible(contextWith((services) => {
1311
- const localScope = get3(services, Scope);
1312
+ const localScope = get4(services, Scope);
1312
1313
  const scope = forkUnsafe(self.scope);
1313
1314
  const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
1314
1315
  return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
@@ -2765,16 +2766,158 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
2765
2766
  }), catchDone(() => endVoid)));
2766
2767
  var unwrap3 = (effect) => fromChannel(unwrap2(map8(effect, toChannel)));
2767
2768
 
2769
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
2770
+ var TypeId8 = "~effect/RcRef";
2771
+ var stateEmpty = {
2772
+ _tag: "Empty"
2773
+ };
2774
+ var stateClosed = {
2775
+ _tag: "Closed"
2776
+ };
2777
+ var variance2 = {
2778
+ _A: identity,
2779
+ _E: identity
2780
+ };
2781
+
2782
+ class RcRefImpl {
2783
+ [TypeId8] = variance2;
2784
+ pipe() {
2785
+ return pipeArguments(this, arguments);
2786
+ }
2787
+ state = stateEmpty;
2788
+ acquire;
2789
+ context;
2790
+ scope;
2791
+ idleTimeToLive;
2792
+ constructor(acquire, context, scope, idleTimeToLive) {
2793
+ this.acquire = acquire;
2794
+ this.context = context;
2795
+ this.scope = scope;
2796
+ this.idleTimeToLive = idleTimeToLive;
2797
+ }
2798
+ }
2799
+ var make6 = (options) => withFiber2((fiber) => {
2800
+ const context = fiber.context;
2801
+ const scope = get4(context, Scope);
2802
+ const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
2803
+ return as(addFinalizerExit(scope, () => {
2804
+ const state = ref.state;
2805
+ ref.state = stateClosed;
2806
+ if (state._tag === "Acquired")
2807
+ return close(state.scope, void_2);
2808
+ if (state._tag === "Acquiring")
2809
+ return interrupt(state.fiber);
2810
+ return void_3;
2811
+ }), ref);
2812
+ });
2813
+ var getState = (self, restore) => {
2814
+ switch (self.state._tag) {
2815
+ case "Closed": {
2816
+ return interrupt3;
2817
+ }
2818
+ case "Acquired": {
2819
+ const state = self.state;
2820
+ state.refCount++;
2821
+ return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
2822
+ }
2823
+ case "Acquiring": {
2824
+ const state = self.state;
2825
+ state.awaiters++;
2826
+ return awaitAcquiring(self, state, restore);
2827
+ }
2828
+ case "Empty": {
2829
+ const acquiring = {
2830
+ _tag: "Acquiring",
2831
+ fiber: undefined,
2832
+ awaiters: 1,
2833
+ acquired: undefined
2834
+ };
2835
+ self.state = acquiring;
2836
+ const scope = makeUnsafe6();
2837
+ const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
2838
+ if (self.state !== acquiring) {
2839
+ return interrupt3;
2840
+ }
2841
+ const state = {
2842
+ _tag: "Acquired",
2843
+ value,
2844
+ scope,
2845
+ fiber: undefined,
2846
+ refCount: acquiring.awaiters,
2847
+ invalidated: false
2848
+ };
2849
+ self.state = state;
2850
+ acquiring.acquired = state;
2851
+ return succeed6(state);
2852
+ }), onExit((exit) => {
2853
+ if (isSuccess2(exit))
2854
+ return void_3;
2855
+ if (self.state === acquiring)
2856
+ self.state = stateEmpty;
2857
+ return close(scope, exit);
2858
+ }));
2859
+ acquiring.fiber = runForkWith(getCurrent().context)(acquire);
2860
+ return awaitAcquiring(self, acquiring, restore);
2861
+ }
2862
+ }
2863
+ };
2864
+ var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
2865
+ const acquired = acquiring.acquired;
2866
+ if (acquired !== undefined) {
2867
+ return isFailure2(exit) ? release(self, acquired) : void_3;
2868
+ }
2869
+ if (--acquiring.awaiters > 0 || self.state !== acquiring)
2870
+ return void_3;
2871
+ self.state = stateEmpty;
2872
+ return interrupt(acquiring.fiber);
2873
+ });
2874
+ var get2 = (self_) => {
2875
+ const self = self_;
2876
+ return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
2877
+ };
2878
+ var release = (self, state) => {
2879
+ state.refCount--;
2880
+ if (state.refCount > 0) {
2881
+ return void_3;
2882
+ }
2883
+ const idleTimeToLive = self.idleTimeToLive;
2884
+ if (idleTimeToLive === undefined || state.invalidated) {
2885
+ if (self.state === state) {
2886
+ self.state = stateEmpty;
2887
+ }
2888
+ return close(state.scope, void_2);
2889
+ } else if (!isFinite(idleTimeToLive)) {
2890
+ return void_3;
2891
+ }
2892
+ state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
2893
+ if (self.state === state && state.refCount === 0) {
2894
+ self.state = stateEmpty;
2895
+ return ignoreCause(close(state.scope, void_2), {
2896
+ log: "Unhandled",
2897
+ message: "Unhandled error in RcRef finalizer"
2898
+ });
2899
+ }
2900
+ return void_3;
2901
+ })).pipe(ensuring2(sync2(() => {
2902
+ state.fiber = undefined;
2903
+ })), runForkWith(self.context), runIn(self.scope));
2904
+ return void_3;
2905
+ };
2906
+
2907
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2908
+ var make10 = make6;
2909
+ var get3 = get2;
2910
+
2768
2911
  // 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);
2912
+ var TypeId9 = "~effect/Stream";
2913
+ var isStream = (u) => hasProperty(u, TypeId9);
2771
2914
  var fromChannel2 = fromChannel3;
2772
2915
  var fromPull2 = (pull) => fromChannel2(fromPull(pull));
2773
2916
  var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
2774
2917
  var toChannel2 = (stream) => stream.channel;
2775
2918
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2776
2919
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2777
- var make10 = (...values) => fromArray2(values);
2920
+ var make11 = (...values) => fromArray2(values);
2778
2921
  var suspend = (stream) => {
2779
2922
  const suspended = fromChannel2(suspend4(() => stream().channel));
2780
2923
  suspendedStreams.set(suspended, stream);
@@ -2955,11 +3098,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
2955
3098
  var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map8(context(), (context) => toReadableStreamWith(self, context, options)));
2956
3099
 
2957
3100
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
2958
- var TypeId9 = "~effect/FileSystem";
3101
+ var TypeId10 = "~effect/FileSystem";
2959
3102
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
2960
- var make11 = (impl) => FileSystem.of({
3103
+ var make12 = (impl) => FileSystem.of({
2961
3104
  ...impl,
2962
- [TypeId9]: TypeId9,
3105
+ [TypeId10]: TypeId10,
2963
3106
  glob: make2(impl),
2964
3107
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
2965
3108
  readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
@@ -2975,11 +3118,11 @@ var make11 = (impl) => FileSystem.of({
2975
3118
  const file = yield* impl.open(path, {
2976
3119
  flag: "r"
2977
3120
  });
2978
- const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
3121
+ const offset = options?.offset === undefined ? undefined : fromInputUnsafe2(options.offset);
2979
3122
  if (offset) {
2980
3123
  yield* file.seek(offset, "start");
2981
3124
  }
2982
- const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
3125
+ const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe2(options.bytesToRead);
2983
3126
  let totalBytesRead = BigInt(0);
2984
3127
  const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
2985
3128
  const readChunk = file.readAlloc(chunkSize);
@@ -3015,11 +3158,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3015
3158
  }
3016
3159
 
3017
3160
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3018
- var TypeId10 = "~effect/Path";
3161
+ var TypeId11 = "~effect/Path";
3019
3162
  var Path = /* @__PURE__ */ Service2("effect/Path");
3020
- var make12 = (impl) => Path.of({
3163
+ var make13 = (impl) => Path.of({
3021
3164
  ...impl,
3022
- [TypeId10]: TypeId10,
3165
+ [TypeId11]: TypeId11,
3023
3166
  resolveWithin(root, input) {
3024
3167
  if (impl.parse(input).root !== "")
3025
3168
  return none();
@@ -3092,7 +3235,7 @@ function makeProvider(load, mapInput) {
3092
3235
  function makeSource(get, transform) {
3093
3236
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3094
3237
  }
3095
- function make6(get) {
3238
+ function make7(get) {
3096
3239
  return makeSource(get, identityPath);
3097
3240
  }
3098
3241
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3101,7 +3244,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3101
3244
  function fromEnvRecord(env, options) {
3102
3245
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3103
3246
  const trie = buildEnvTrie(env);
3104
- return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3247
+ return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3105
3248
  }
3106
3249
  function fromEnv(options) {
3107
3250
  const env = options?.env ?? {
@@ -3154,7 +3297,7 @@ function trieNodeAt(root, path) {
3154
3297
  }
3155
3298
 
3156
3299
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
3157
- var TypeId11 = "~effect/Config";
3300
+ var TypeId12 = "~effect/Config";
3158
3301
  class ConfigError {
3159
3302
  _tag = "ConfigError";
3160
3303
  name = "ConfigError";
@@ -3176,14 +3319,14 @@ var Proto2 = {
3176
3319
  return this.parse(fiber.getRef(ConfigProvider));
3177
3320
  }
3178
3321
  }),
3179
- [TypeId11]: TypeId11,
3322
+ [TypeId12]: TypeId12,
3180
3323
  toJSON() {
3181
3324
  return {
3182
3325
  _id: "Config"
3183
3326
  };
3184
3327
  }
3185
3328
  };
3186
- function make7(evaluator) {
3329
+ function make14(evaluator) {
3187
3330
  const self = Object.create(Proto2);
3188
3331
  self.evaluator = evaluator;
3189
3332
  self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
@@ -3191,14 +3334,14 @@ function make7(evaluator) {
3191
3334
  }
3192
3335
  var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
3193
3336
  var map3 = /* @__PURE__ */ dual(2, (self, f) => {
3194
- return make7((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3337
+ return make14((provider, pathPrefix) => map8(evaluateAt(self, provider, pathPrefix), map5(f)));
3195
3338
  });
3196
3339
  function all(arg) {
3197
3340
  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));
3341
+ 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
3342
  }
3200
3343
  var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
3201
- return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3344
+ return make14((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
3202
3345
  });
3203
3346
  var option = (self) => self.pipe(map3(some), withDefault(none()));
3204
3347
  var isSourceError = (u) => isTagged(u, "SourceError");
@@ -3315,9 +3458,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
3315
3458
  function schema(codec, path) {
3316
3459
  const codecStringTree = toCodecStringTree(codec);
3317
3460
  const encodedAst = toEncoded(codecStringTree.ast);
3318
- const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
3461
+ const decodeCursor = decodeUnknownEffect(make17(toConfigCursorAST(codecStringTree.ast)));
3319
3462
  const localPath = typeof path === "string" ? [path] : path ?? [];
3320
- return make7((provider, pathPrefix) => {
3463
+ return make14((provider, pathPrefix) => {
3321
3464
  const fullPath = [...pathPrefix, ...localPath];
3322
3465
  return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
3323
3466
  const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
@@ -3432,4 +3575,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3432
3575
  ...argv
3433
3576
  ];
3434
3577
 
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 };
3578
+ 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, take2, 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, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-8pbnfqaz.js";
27
+ } from "./chunk-zw3gf6r5.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-szt25e0z.js";
31
+ } from "./chunk-nf9gdnsf.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-ths93svq.js";
42
+ } from "./chunk-pvza175a.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({