@kitman-sh/cli 0.15.1 → 0.16.1
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.
- package/dist/{chunk-zy4sv70r.js → chunk-1r026thg.js} +6 -6
- package/dist/{chunk-69xka6ew.js → chunk-3b198ntn.js} +1 -1
- package/dist/{chunk-91tmbf95.js → chunk-4yjcehqr.js} +17 -17
- package/dist/{chunk-6h70kent.js → chunk-5s4sgrak.js} +7 -7
- package/dist/{chunk-wh4bpc4w.js → chunk-8f632x21.js} +4 -4
- package/dist/{chunk-tgt9a3yz.js → chunk-9qfyb5r2.js} +6 -6
- package/dist/{chunk-fggwdr03.js → chunk-b0b9v7t9.js} +17 -17
- package/dist/{chunk-60fhzjx3.js → chunk-bcqqrwsk.js} +114 -26
- package/dist/{chunk-vg78dz3w.js → chunk-bkteq6b3.js} +28 -177
- package/dist/{chunk-fzaecdgv.js → chunk-djdhep8n.js} +3 -3
- package/dist/{chunk-f36s9s1g.js → chunk-dxfab1aj.js} +273 -113
- package/dist/{chunk-dv4v0tbn.js → chunk-e42hjb3j.js} +33 -29
- package/dist/{chunk-xx711t5r.js → chunk-eavx040m.js} +4 -4
- package/dist/{chunk-csxxwscf.js → chunk-f2y0z04q.js} +1 -1
- package/dist/{chunk-kskb0hkb.js → chunk-ft3gnwd1.js} +3 -3
- package/dist/{chunk-k2wd9r6t.js → chunk-g1f0cjqe.js} +2 -2
- package/dist/{chunk-3ns4sbfb.js → chunk-gwzzacep.js} +1 -1
- package/dist/{chunk-d40233pm.js → chunk-hwqecp0m.js} +8 -8
- package/dist/{chunk-dx792s4w.js → chunk-rfnasm3c.js} +61 -61
- package/dist/{chunk-8wpg3rph.js → chunk-scwj3w7m.js} +2 -2
- package/dist/{chunk-0ws25xvg.js → chunk-sd8b4k1t.js} +2 -2
- package/dist/{chunk-2vxb3q01.js → chunk-tc7td60t.js} +1 -1
- package/dist/{chunk-ygx2pda7.js → chunk-tx7et9g7.js} +4 -4
- package/dist/{chunk-5hkdgzh4.js → chunk-x83q18w0.js} +1 -1
- package/dist/{chunk-39ykbhq8.js → chunk-xy3hcdhr.js} +5 -5
- package/dist/{chunk-xrjt25ns.js → chunk-yja59yh8.js} +10 -10
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -34,11 +34,8 @@ import {
|
|
|
34
34
|
getOrUndefined,
|
|
35
35
|
map4,
|
|
36
36
|
Service2,
|
|
37
|
-
|
|
38
|
-
get4,
|
|
37
|
+
get3,
|
|
39
38
|
Reference,
|
|
40
|
-
fromInputUnsafe,
|
|
41
|
-
isFinite,
|
|
42
39
|
normalize,
|
|
43
40
|
succeed,
|
|
44
41
|
fail3,
|
|
@@ -86,7 +83,6 @@ import {
|
|
|
86
83
|
fail4,
|
|
87
84
|
interrupt2,
|
|
88
85
|
void_2,
|
|
89
|
-
isSuccess2,
|
|
90
86
|
isFailure2,
|
|
91
87
|
asVoidAll,
|
|
92
88
|
makeUnsafe5,
|
|
@@ -158,14 +154,12 @@ import {
|
|
|
158
154
|
tapError2,
|
|
159
155
|
ignoreCause,
|
|
160
156
|
orElseSucceed,
|
|
161
|
-
sleep,
|
|
162
157
|
raceFirst,
|
|
163
158
|
when,
|
|
164
159
|
matchCauseEffect,
|
|
165
160
|
context,
|
|
166
161
|
contextWith,
|
|
167
162
|
provideContext2,
|
|
168
|
-
scope2,
|
|
169
163
|
scoped,
|
|
170
164
|
scopedWith,
|
|
171
165
|
acquireRelease,
|
|
@@ -176,7 +170,6 @@ import {
|
|
|
176
170
|
interrupt3,
|
|
177
171
|
onInterrupt,
|
|
178
172
|
uninterruptible,
|
|
179
|
-
uninterruptibleMask2,
|
|
180
173
|
forever,
|
|
181
174
|
forkChild,
|
|
182
175
|
forkIn,
|
|
@@ -199,11 +192,11 @@ import {
|
|
|
199
192
|
toEncoded,
|
|
200
193
|
decodeUnknownEffect,
|
|
201
194
|
SchemaError,
|
|
202
|
-
|
|
195
|
+
make16,
|
|
203
196
|
String4,
|
|
204
197
|
toCodecStringTree,
|
|
205
198
|
encodeUnknownJsonStringSync
|
|
206
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-rfnasm3c.js";
|
|
207
200
|
|
|
208
201
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
209
202
|
var headUnsafe = (self) => {
|
|
@@ -372,7 +365,7 @@ var fromStringUnsafe = (input) => {
|
|
|
372
365
|
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
373
366
|
return make(value);
|
|
374
367
|
};
|
|
375
|
-
var
|
|
368
|
+
var fromInputUnsafe = (input) => {
|
|
376
369
|
switch (typeof input) {
|
|
377
370
|
case "bigint":
|
|
378
371
|
if (input < bigint0)
|
|
@@ -385,7 +378,7 @@ var fromInputUnsafe2 = (input) => {
|
|
|
385
378
|
}
|
|
386
379
|
return invalid(`unsupported input ${input}`);
|
|
387
380
|
};
|
|
388
|
-
var bytes = (value) => typeof value === "bigint" ?
|
|
381
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
|
|
389
382
|
|
|
390
383
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
391
384
|
var join = fiberJoin;
|
|
@@ -1311,7 +1304,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1311
1304
|
return false;
|
|
1312
1305
|
});
|
|
1313
1306
|
var subscribe = (self) => uninterruptible(contextWith((services) => {
|
|
1314
|
-
const localScope =
|
|
1307
|
+
const localScope = get3(services, Scope);
|
|
1315
1308
|
const scope = forkUnsafe(self.scope);
|
|
1316
1309
|
const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
|
|
1317
1310
|
return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
|
|
@@ -2808,158 +2801,16 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
|
|
|
2808
2801
|
}), catchDone(() => endVoid)));
|
|
2809
2802
|
var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
|
|
2810
2803
|
|
|
2811
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
2812
|
-
var TypeId8 = "~effect/RcRef";
|
|
2813
|
-
var stateEmpty = {
|
|
2814
|
-
_tag: "Empty"
|
|
2815
|
-
};
|
|
2816
|
-
var stateClosed = {
|
|
2817
|
-
_tag: "Closed"
|
|
2818
|
-
};
|
|
2819
|
-
var variance2 = {
|
|
2820
|
-
_A: identity,
|
|
2821
|
-
_E: identity
|
|
2822
|
-
};
|
|
2823
|
-
|
|
2824
|
-
class RcRefImpl {
|
|
2825
|
-
[TypeId8] = variance2;
|
|
2826
|
-
pipe() {
|
|
2827
|
-
return pipeArguments(this, arguments);
|
|
2828
|
-
}
|
|
2829
|
-
state = stateEmpty;
|
|
2830
|
-
acquire;
|
|
2831
|
-
context;
|
|
2832
|
-
scope;
|
|
2833
|
-
idleTimeToLive;
|
|
2834
|
-
constructor(acquire, context, scope, idleTimeToLive) {
|
|
2835
|
-
this.acquire = acquire;
|
|
2836
|
-
this.context = context;
|
|
2837
|
-
this.scope = scope;
|
|
2838
|
-
this.idleTimeToLive = idleTimeToLive;
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2841
|
-
var make6 = (options) => withFiber2((fiber) => {
|
|
2842
|
-
const context = fiber.context;
|
|
2843
|
-
const scope = get4(context, Scope);
|
|
2844
|
-
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
2845
|
-
return as(addFinalizerExit(scope, () => {
|
|
2846
|
-
const state = ref.state;
|
|
2847
|
-
ref.state = stateClosed;
|
|
2848
|
-
if (state._tag === "Acquired")
|
|
2849
|
-
return close(state.scope, void_2);
|
|
2850
|
-
if (state._tag === "Acquiring")
|
|
2851
|
-
return interrupt(state.fiber);
|
|
2852
|
-
return void_3;
|
|
2853
|
-
}), ref);
|
|
2854
|
-
});
|
|
2855
|
-
var getState = (self, restore) => {
|
|
2856
|
-
switch (self.state._tag) {
|
|
2857
|
-
case "Closed": {
|
|
2858
|
-
return interrupt3;
|
|
2859
|
-
}
|
|
2860
|
-
case "Acquired": {
|
|
2861
|
-
const state = self.state;
|
|
2862
|
-
state.refCount++;
|
|
2863
|
-
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
2864
|
-
}
|
|
2865
|
-
case "Acquiring": {
|
|
2866
|
-
const state = self.state;
|
|
2867
|
-
state.awaiters++;
|
|
2868
|
-
return awaitAcquiring(self, state, restore);
|
|
2869
|
-
}
|
|
2870
|
-
case "Empty": {
|
|
2871
|
-
const acquiring = {
|
|
2872
|
-
_tag: "Acquiring",
|
|
2873
|
-
fiber: undefined,
|
|
2874
|
-
awaiters: 1,
|
|
2875
|
-
acquired: undefined
|
|
2876
|
-
};
|
|
2877
|
-
self.state = acquiring;
|
|
2878
|
-
const scope = makeUnsafe6();
|
|
2879
|
-
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
2880
|
-
if (self.state !== acquiring) {
|
|
2881
|
-
return interrupt3;
|
|
2882
|
-
}
|
|
2883
|
-
const state = {
|
|
2884
|
-
_tag: "Acquired",
|
|
2885
|
-
value,
|
|
2886
|
-
scope,
|
|
2887
|
-
fiber: undefined,
|
|
2888
|
-
refCount: acquiring.awaiters,
|
|
2889
|
-
invalidated: false
|
|
2890
|
-
};
|
|
2891
|
-
self.state = state;
|
|
2892
|
-
acquiring.acquired = state;
|
|
2893
|
-
return succeed6(state);
|
|
2894
|
-
}), onExit((exit) => {
|
|
2895
|
-
if (isSuccess2(exit))
|
|
2896
|
-
return void_3;
|
|
2897
|
-
if (self.state === acquiring)
|
|
2898
|
-
self.state = stateEmpty;
|
|
2899
|
-
return close(scope, exit);
|
|
2900
|
-
}));
|
|
2901
|
-
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
2902
|
-
return awaitAcquiring(self, acquiring, restore);
|
|
2903
|
-
}
|
|
2904
|
-
}
|
|
2905
|
-
};
|
|
2906
|
-
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
2907
|
-
const acquired = acquiring.acquired;
|
|
2908
|
-
if (acquired !== undefined) {
|
|
2909
|
-
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
2910
|
-
}
|
|
2911
|
-
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
2912
|
-
return void_3;
|
|
2913
|
-
self.state = stateEmpty;
|
|
2914
|
-
return interrupt(acquiring.fiber);
|
|
2915
|
-
});
|
|
2916
|
-
var get2 = (self_) => {
|
|
2917
|
-
const self = self_;
|
|
2918
|
-
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
2919
|
-
};
|
|
2920
|
-
var release = (self, state) => {
|
|
2921
|
-
state.refCount--;
|
|
2922
|
-
if (state.refCount > 0) {
|
|
2923
|
-
return void_3;
|
|
2924
|
-
}
|
|
2925
|
-
const idleTimeToLive = self.idleTimeToLive;
|
|
2926
|
-
if (idleTimeToLive === undefined || state.invalidated) {
|
|
2927
|
-
if (self.state === state) {
|
|
2928
|
-
self.state = stateEmpty;
|
|
2929
|
-
}
|
|
2930
|
-
return close(state.scope, void_2);
|
|
2931
|
-
} else if (!isFinite(idleTimeToLive)) {
|
|
2932
|
-
return void_3;
|
|
2933
|
-
}
|
|
2934
|
-
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
2935
|
-
if (self.state === state && state.refCount === 0) {
|
|
2936
|
-
self.state = stateEmpty;
|
|
2937
|
-
return ignoreCause(close(state.scope, void_2), {
|
|
2938
|
-
log: "Unhandled",
|
|
2939
|
-
message: "Unhandled error in RcRef finalizer"
|
|
2940
|
-
});
|
|
2941
|
-
}
|
|
2942
|
-
return void_3;
|
|
2943
|
-
})).pipe(ensuring2(sync2(() => {
|
|
2944
|
-
state.fiber = undefined;
|
|
2945
|
-
})), runForkWith(self.context), runIn(self.scope));
|
|
2946
|
-
return void_3;
|
|
2947
|
-
};
|
|
2948
|
-
|
|
2949
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2950
|
-
var make10 = make6;
|
|
2951
|
-
var get3 = get2;
|
|
2952
|
-
|
|
2953
2804
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
2954
|
-
var
|
|
2955
|
-
var isStream = (u) => hasProperty(u,
|
|
2805
|
+
var TypeId8 = "~effect/Stream";
|
|
2806
|
+
var isStream = (u) => hasProperty(u, TypeId8);
|
|
2956
2807
|
var fromChannel2 = fromChannel3;
|
|
2957
2808
|
var fromPull2 = (pull) => fromChannel2(fromPull(pull));
|
|
2958
2809
|
var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
|
|
2959
2810
|
var toChannel2 = (stream) => stream.channel;
|
|
2960
2811
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2961
2812
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2962
|
-
var
|
|
2813
|
+
var make10 = (...values) => fromArray2(values);
|
|
2963
2814
|
var suspend = (stream) => {
|
|
2964
2815
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2965
2816
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3157,11 +3008,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
|
|
|
3157
3008
|
var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
|
|
3158
3009
|
|
|
3159
3010
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3160
|
-
var
|
|
3011
|
+
var TypeId9 = "~effect/FileSystem";
|
|
3161
3012
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3162
|
-
var
|
|
3013
|
+
var make11 = (impl) => FileSystem.of({
|
|
3163
3014
|
...impl,
|
|
3164
|
-
[
|
|
3015
|
+
[TypeId9]: TypeId9,
|
|
3165
3016
|
glob: make2(impl),
|
|
3166
3017
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3167
3018
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
@@ -3177,11 +3028,11 @@ var make12 = (impl) => FileSystem.of({
|
|
|
3177
3028
|
const file = yield* impl.open(path, {
|
|
3178
3029
|
flag: "r"
|
|
3179
3030
|
});
|
|
3180
|
-
const offset = options?.offset === undefined ? undefined :
|
|
3031
|
+
const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
|
|
3181
3032
|
if (offset) {
|
|
3182
3033
|
yield* file.seek(offset, "start");
|
|
3183
3034
|
}
|
|
3184
|
-
const bytesToRead = options?.bytesToRead === undefined ? undefined :
|
|
3035
|
+
const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
|
|
3185
3036
|
let totalBytesRead = BigInt(0);
|
|
3186
3037
|
const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
|
|
3187
3038
|
const readChunk = file.readAlloc(chunkSize);
|
|
@@ -3217,11 +3068,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3217
3068
|
}
|
|
3218
3069
|
|
|
3219
3070
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3220
|
-
var
|
|
3071
|
+
var TypeId10 = "~effect/Path";
|
|
3221
3072
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3222
|
-
var
|
|
3073
|
+
var make12 = (impl) => Path.of({
|
|
3223
3074
|
...impl,
|
|
3224
|
-
[
|
|
3075
|
+
[TypeId10]: TypeId10,
|
|
3225
3076
|
resolveWithin(root, input) {
|
|
3226
3077
|
if (impl.parse(input).root !== "")
|
|
3227
3078
|
return none();
|
|
@@ -3294,7 +3145,7 @@ function makeProvider(load, mapInput) {
|
|
|
3294
3145
|
function makeSource(get, transform) {
|
|
3295
3146
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3296
3147
|
}
|
|
3297
|
-
function
|
|
3148
|
+
function make6(get) {
|
|
3298
3149
|
return makeSource(get, identityPath);
|
|
3299
3150
|
}
|
|
3300
3151
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3303,7 +3154,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3303
3154
|
function fromEnvRecord(env, options) {
|
|
3304
3155
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3305
3156
|
const trie = buildEnvTrie(env);
|
|
3306
|
-
return
|
|
3157
|
+
return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3307
3158
|
}
|
|
3308
3159
|
function fromEnv(options) {
|
|
3309
3160
|
const env = options?.env ?? {
|
|
@@ -3356,7 +3207,7 @@ function trieNodeAt(root, path) {
|
|
|
3356
3207
|
}
|
|
3357
3208
|
|
|
3358
3209
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
|
|
3359
|
-
var
|
|
3210
|
+
var TypeId11 = "~effect/Config";
|
|
3360
3211
|
class ConfigError {
|
|
3361
3212
|
_tag = "ConfigError";
|
|
3362
3213
|
name = "ConfigError";
|
|
@@ -3378,14 +3229,14 @@ var Proto2 = {
|
|
|
3378
3229
|
return this.parse(fiber.getRef(ConfigProvider));
|
|
3379
3230
|
}
|
|
3380
3231
|
}),
|
|
3381
|
-
[
|
|
3232
|
+
[TypeId11]: TypeId11,
|
|
3382
3233
|
toJSON() {
|
|
3383
3234
|
return {
|
|
3384
3235
|
_id: "Config"
|
|
3385
3236
|
};
|
|
3386
3237
|
}
|
|
3387
3238
|
};
|
|
3388
|
-
function
|
|
3239
|
+
function make7(evaluator) {
|
|
3389
3240
|
const self = Object.create(Proto2);
|
|
3390
3241
|
self.evaluator = evaluator;
|
|
3391
3242
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3393,14 +3244,14 @@ function make14(evaluator) {
|
|
|
3393
3244
|
}
|
|
3394
3245
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3395
3246
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3396
|
-
return
|
|
3247
|
+
return make7((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3397
3248
|
});
|
|
3398
3249
|
function all(arg) {
|
|
3399
3250
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3400
|
-
return
|
|
3251
|
+
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));
|
|
3401
3252
|
}
|
|
3402
3253
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3403
|
-
return
|
|
3254
|
+
return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3404
3255
|
});
|
|
3405
3256
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3406
3257
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3517,9 +3368,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
|
|
|
3517
3368
|
function schema(codec, path) {
|
|
3518
3369
|
const codecStringTree = toCodecStringTree(codec);
|
|
3519
3370
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3520
|
-
const decodeCursor = decodeUnknownEffect(
|
|
3371
|
+
const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
|
|
3521
3372
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3522
|
-
return
|
|
3373
|
+
return make7((provider, pathPrefix) => {
|
|
3523
3374
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3524
3375
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3525
3376
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3635,4 +3486,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3635
3486
|
...argv
|
|
3636
3487
|
];
|
|
3637
3488
|
|
|
3638
|
-
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,
|
|
3489
|
+
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, runIn, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, isStream, fromChannel2, callback, empty2, make10, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make11, FileTypeId, WatchBackend, Path, make12, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, harnessesUnsupportedInDocker2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-sd8b4k1t.js";
|
|
8
|
+
import"./chunk-x83q18w0.js";
|
|
9
|
+
import"./chunk-rfnasm3c.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|