@kitman-sh/cli 0.18.0 → 0.20.0
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-nfnw3dh1.js → chunk-2scq36fm.js} +21 -21
- package/dist/{chunk-js64y97w.js → chunk-3hyggg9w.js} +4 -4
- package/dist/{chunk-mqsxwm53.js → chunk-3vgv5ba7.js} +6 -6
- package/dist/{chunk-mca2zp8p.js → chunk-3wct0tsd.js} +2 -2
- package/dist/{chunk-zmqm4mrm.js → chunk-535m9qxp.js} +265 -110
- package/dist/{chunk-vz38kngm.js → chunk-6387vj9z.js} +2 -2
- package/dist/{chunk-samxkpbz.js → chunk-6hxtg6eb.js} +3 -3
- package/dist/{chunk-bqhfbng3.js → chunk-7dcq58d0.js} +8 -8
- package/dist/{chunk-my92qn4x.js → chunk-89a53j2y.js} +5 -5
- package/dist/{chunk-n05bj55h.js → chunk-8xd2jvgj.js} +18 -18
- package/dist/{chunk-jaa8qjky.js → chunk-avg3cz82.js} +4 -4
- package/dist/{chunk-hj8ex4x6.js → chunk-centvmrd.js} +4 -4
- package/dist/{chunk-wg6xkkcr.js → chunk-dtgp724s.js} +1 -1
- package/dist/{chunk-h2f26xbd.js → chunk-ew07nt2d.js} +61 -61
- package/dist/{chunk-mg3mxhxe.js → chunk-fvdnmgsy.js} +4 -4
- package/dist/{chunk-d3gs4jvd.js → chunk-g00ewhrb.js} +19 -19
- package/dist/{chunk-tsx0347c.js → chunk-haq904fk.js} +1 -1
- package/dist/{chunk-63cyj9dh.js → chunk-kntnw6r0.js} +28 -177
- package/dist/{chunk-4qjfn1sa.js → chunk-qvpkwnky.js} +1 -1
- package/dist/{chunk-x8zzax0f.js → chunk-rekh8azw.js} +7 -7
- package/dist/{chunk-2bagaygt.js → chunk-rrbnxea1.js} +6 -6
- package/dist/{chunk-9jffw2mk.js → chunk-s9fwm42m.js} +3 -3
- package/dist/{chunk-1j38xtvp.js → chunk-spazhq67.js} +2 -2
- package/dist/{chunk-gap0vmj7.js → chunk-v30yf453.js} +2 -2
- package/dist/{chunk-5kqt4bqp.js → chunk-y7bth30s.js} +1 -1
- package/dist/{chunk-4p1k3yyc.js → chunk-yecj64ke.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-ew07nt2d.js";
|
|
207
200
|
|
|
208
201
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
209
202
|
var headUnsafe = (self) => {
|
|
@@ -381,7 +374,7 @@ var fromStringUnsafe = (input) => {
|
|
|
381
374
|
return invalid(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
382
375
|
return make(value);
|
|
383
376
|
};
|
|
384
|
-
var
|
|
377
|
+
var fromInputUnsafe = (input) => {
|
|
385
378
|
switch (typeof input) {
|
|
386
379
|
case "bigint":
|
|
387
380
|
if (input < bigint0)
|
|
@@ -394,7 +387,7 @@ var fromInputUnsafe2 = (input) => {
|
|
|
394
387
|
}
|
|
395
388
|
return invalid(`unsupported input ${input}`);
|
|
396
389
|
};
|
|
397
|
-
var bytes = (value) => typeof value === "bigint" ?
|
|
390
|
+
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe(value) : fromNumber(value);
|
|
398
391
|
|
|
399
392
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Fiber.js
|
|
400
393
|
var join = fiberJoin;
|
|
@@ -1320,7 +1313,7 @@ var publishUnsafe = /* @__PURE__ */ dual(2, (self, value) => {
|
|
|
1320
1313
|
return false;
|
|
1321
1314
|
});
|
|
1322
1315
|
var subscribe = (self) => uninterruptible(contextWith((services) => {
|
|
1323
|
-
const localScope =
|
|
1316
|
+
const localScope = get3(services, Scope);
|
|
1324
1317
|
const scope = forkUnsafe(self.scope);
|
|
1325
1318
|
const subscription = makeSubscriptionUnsafe(self.pubsub, self.subscribers, self.strategy, self.ended);
|
|
1326
1319
|
return addFinalizer(scope, unsubscribe(subscription)).pipe(andThen2(addFinalizerExit(localScope, (exit) => close(scope, exit))), as(subscription));
|
|
@@ -2817,158 +2810,16 @@ var forEachArray = (f) => fromTransform2((upstream) => upstream.pipe(flatMap3(f)
|
|
|
2817
2810
|
}), catchDone(() => endVoid)));
|
|
2818
2811
|
var unwrap3 = (effect) => fromChannel(unwrap2(map9(effect, toChannel)));
|
|
2819
2812
|
|
|
2820
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
|
|
2821
|
-
var TypeId8 = "~effect/RcRef";
|
|
2822
|
-
var stateEmpty = {
|
|
2823
|
-
_tag: "Empty"
|
|
2824
|
-
};
|
|
2825
|
-
var stateClosed = {
|
|
2826
|
-
_tag: "Closed"
|
|
2827
|
-
};
|
|
2828
|
-
var variance2 = {
|
|
2829
|
-
_A: identity,
|
|
2830
|
-
_E: identity
|
|
2831
|
-
};
|
|
2832
|
-
|
|
2833
|
-
class RcRefImpl {
|
|
2834
|
-
[TypeId8] = variance2;
|
|
2835
|
-
pipe() {
|
|
2836
|
-
return pipeArguments(this, arguments);
|
|
2837
|
-
}
|
|
2838
|
-
state = stateEmpty;
|
|
2839
|
-
acquire;
|
|
2840
|
-
context;
|
|
2841
|
-
scope;
|
|
2842
|
-
idleTimeToLive;
|
|
2843
|
-
constructor(acquire, context, scope, idleTimeToLive) {
|
|
2844
|
-
this.acquire = acquire;
|
|
2845
|
-
this.context = context;
|
|
2846
|
-
this.scope = scope;
|
|
2847
|
-
this.idleTimeToLive = idleTimeToLive;
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
var make6 = (options) => withFiber2((fiber) => {
|
|
2851
|
-
const context = fiber.context;
|
|
2852
|
-
const scope = get4(context, Scope);
|
|
2853
|
-
const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== undefined ? fromInputUnsafe(options.idleTimeToLive) : undefined);
|
|
2854
|
-
return as(addFinalizerExit(scope, () => {
|
|
2855
|
-
const state = ref.state;
|
|
2856
|
-
ref.state = stateClosed;
|
|
2857
|
-
if (state._tag === "Acquired")
|
|
2858
|
-
return close(state.scope, void_2);
|
|
2859
|
-
if (state._tag === "Acquiring")
|
|
2860
|
-
return interrupt(state.fiber);
|
|
2861
|
-
return void_3;
|
|
2862
|
-
}), ref);
|
|
2863
|
-
});
|
|
2864
|
-
var getState = (self, restore) => {
|
|
2865
|
-
switch (self.state._tag) {
|
|
2866
|
-
case "Closed": {
|
|
2867
|
-
return interrupt3;
|
|
2868
|
-
}
|
|
2869
|
-
case "Acquired": {
|
|
2870
|
-
const state = self.state;
|
|
2871
|
-
state.refCount++;
|
|
2872
|
-
return state.fiber ? as(interrupt(state.fiber), state) : succeed6(state);
|
|
2873
|
-
}
|
|
2874
|
-
case "Acquiring": {
|
|
2875
|
-
const state = self.state;
|
|
2876
|
-
state.awaiters++;
|
|
2877
|
-
return awaitAcquiring(self, state, restore);
|
|
2878
|
-
}
|
|
2879
|
-
case "Empty": {
|
|
2880
|
-
const acquiring = {
|
|
2881
|
-
_tag: "Acquiring",
|
|
2882
|
-
fiber: undefined,
|
|
2883
|
-
awaiters: 1,
|
|
2884
|
-
acquired: undefined
|
|
2885
|
-
};
|
|
2886
|
-
self.state = acquiring;
|
|
2887
|
-
const scope = makeUnsafe6();
|
|
2888
|
-
const acquire = provideContext2(self.acquire, add(self.context, Scope, scope)).pipe(flatMap3((value) => {
|
|
2889
|
-
if (self.state !== acquiring) {
|
|
2890
|
-
return interrupt3;
|
|
2891
|
-
}
|
|
2892
|
-
const state = {
|
|
2893
|
-
_tag: "Acquired",
|
|
2894
|
-
value,
|
|
2895
|
-
scope,
|
|
2896
|
-
fiber: undefined,
|
|
2897
|
-
refCount: acquiring.awaiters,
|
|
2898
|
-
invalidated: false
|
|
2899
|
-
};
|
|
2900
|
-
self.state = state;
|
|
2901
|
-
acquiring.acquired = state;
|
|
2902
|
-
return succeed6(state);
|
|
2903
|
-
}), onExit((exit) => {
|
|
2904
|
-
if (isSuccess2(exit))
|
|
2905
|
-
return void_3;
|
|
2906
|
-
if (self.state === acquiring)
|
|
2907
|
-
self.state = stateEmpty;
|
|
2908
|
-
return close(scope, exit);
|
|
2909
|
-
}));
|
|
2910
|
-
acquiring.fiber = runForkWith(getCurrent().context)(acquire);
|
|
2911
|
-
return awaitAcquiring(self, acquiring, restore);
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
};
|
|
2915
|
-
var awaitAcquiring = (self, acquiring, restore) => onExit(restore(join(acquiring.fiber)), (exit) => {
|
|
2916
|
-
const acquired = acquiring.acquired;
|
|
2917
|
-
if (acquired !== undefined) {
|
|
2918
|
-
return isFailure2(exit) ? release(self, acquired) : void_3;
|
|
2919
|
-
}
|
|
2920
|
-
if (--acquiring.awaiters > 0 || self.state !== acquiring)
|
|
2921
|
-
return void_3;
|
|
2922
|
-
self.state = stateEmpty;
|
|
2923
|
-
return interrupt(acquiring.fiber);
|
|
2924
|
-
});
|
|
2925
|
-
var get2 = (self_) => {
|
|
2926
|
-
const self = self_;
|
|
2927
|
-
return uninterruptibleMask2((restore) => flatMap3(scope2, (scope) => flatMap3(getState(self, restore), (state) => as(addFinalizerExit(scope, () => release(self, state)), state.value))));
|
|
2928
|
-
};
|
|
2929
|
-
var release = (self, state) => {
|
|
2930
|
-
state.refCount--;
|
|
2931
|
-
if (state.refCount > 0) {
|
|
2932
|
-
return void_3;
|
|
2933
|
-
}
|
|
2934
|
-
const idleTimeToLive = self.idleTimeToLive;
|
|
2935
|
-
if (idleTimeToLive === undefined || state.invalidated) {
|
|
2936
|
-
if (self.state === state) {
|
|
2937
|
-
self.state = stateEmpty;
|
|
2938
|
-
}
|
|
2939
|
-
return close(state.scope, void_2);
|
|
2940
|
-
} else if (!isFinite(idleTimeToLive)) {
|
|
2941
|
-
return void_3;
|
|
2942
|
-
}
|
|
2943
|
-
state.fiber = uninterruptibleMask2((restore) => flatMap3(restore(sleep(idleTimeToLive)), () => {
|
|
2944
|
-
if (self.state === state && state.refCount === 0) {
|
|
2945
|
-
self.state = stateEmpty;
|
|
2946
|
-
return ignoreCause(close(state.scope, void_2), {
|
|
2947
|
-
log: "Unhandled",
|
|
2948
|
-
message: "Unhandled error in RcRef finalizer"
|
|
2949
|
-
});
|
|
2950
|
-
}
|
|
2951
|
-
return void_3;
|
|
2952
|
-
})).pipe(ensuring2(sync2(() => {
|
|
2953
|
-
state.fiber = undefined;
|
|
2954
|
-
})), runForkWith(self.context), runIn(self.scope));
|
|
2955
|
-
return void_3;
|
|
2956
|
-
};
|
|
2957
|
-
|
|
2958
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2959
|
-
var make10 = make6;
|
|
2960
|
-
var get3 = get2;
|
|
2961
|
-
|
|
2962
2813
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
2963
|
-
var
|
|
2964
|
-
var isStream = (u) => hasProperty(u,
|
|
2814
|
+
var TypeId8 = "~effect/Stream";
|
|
2815
|
+
var isStream = (u) => hasProperty(u, TypeId8);
|
|
2965
2816
|
var fromChannel2 = fromChannel3;
|
|
2966
2817
|
var fromPull2 = (pull) => fromChannel2(fromPull(pull));
|
|
2967
2818
|
var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatMap3(toPullScoped(self.channel, scope), (pull) => f(pull, scope))));
|
|
2968
2819
|
var toChannel2 = (stream) => stream.channel;
|
|
2969
2820
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2970
2821
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2971
|
-
var
|
|
2822
|
+
var make10 = (...values) => fromArray2(values);
|
|
2972
2823
|
var suspend = (stream) => {
|
|
2973
2824
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2974
2825
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3166,11 +3017,11 @@ var toReadableStreamWith = /* @__PURE__ */ dual((args) => isStream(args[0]), (se
|
|
|
3166
3017
|
var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (self, options) => map9(context(), (context) => toReadableStreamWith(self, context, options)));
|
|
3167
3018
|
|
|
3168
3019
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3169
|
-
var
|
|
3020
|
+
var TypeId9 = "~effect/FileSystem";
|
|
3170
3021
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3171
|
-
var
|
|
3022
|
+
var make11 = (impl) => FileSystem.of({
|
|
3172
3023
|
...impl,
|
|
3173
|
-
[
|
|
3024
|
+
[TypeId9]: TypeId9,
|
|
3174
3025
|
glob: make2(impl),
|
|
3175
3026
|
exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed6(false) : fail7(e))),
|
|
3176
3027
|
readFileString: (path, encoding) => flatMap3(impl.readFile(path), (_) => try_2({
|
|
@@ -3186,11 +3037,11 @@ var make12 = (impl) => FileSystem.of({
|
|
|
3186
3037
|
const file = yield* impl.open(path, {
|
|
3187
3038
|
flag: "r"
|
|
3188
3039
|
});
|
|
3189
|
-
const offset = options?.offset === undefined ? undefined :
|
|
3040
|
+
const offset = options?.offset === undefined ? undefined : fromInputUnsafe(options.offset);
|
|
3190
3041
|
if (offset) {
|
|
3191
3042
|
yield* file.seek(offset, "start");
|
|
3192
3043
|
}
|
|
3193
|
-
const bytesToRead = options?.bytesToRead === undefined ? undefined :
|
|
3044
|
+
const bytesToRead = options?.bytesToRead === undefined ? undefined : fromInputUnsafe(options.bytesToRead);
|
|
3194
3045
|
let totalBytesRead = BigInt(0);
|
|
3195
3046
|
const chunkSize = Number(BigInt(options?.chunkSize ?? 64 * 1024));
|
|
3196
3047
|
const readChunk = file.readAlloc(chunkSize);
|
|
@@ -3226,11 +3077,11 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3226
3077
|
}
|
|
3227
3078
|
|
|
3228
3079
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3229
|
-
var
|
|
3080
|
+
var TypeId10 = "~effect/Path";
|
|
3230
3081
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3231
|
-
var
|
|
3082
|
+
var make12 = (impl) => Path.of({
|
|
3232
3083
|
...impl,
|
|
3233
|
-
[
|
|
3084
|
+
[TypeId10]: TypeId10,
|
|
3234
3085
|
resolveWithin(root, input) {
|
|
3235
3086
|
if (impl.parse(input).root !== "")
|
|
3236
3087
|
return none();
|
|
@@ -3303,7 +3154,7 @@ function makeProvider(load, mapInput) {
|
|
|
3303
3154
|
function makeSource(get, transform) {
|
|
3304
3155
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3305
3156
|
}
|
|
3306
|
-
function
|
|
3157
|
+
function make6(get) {
|
|
3307
3158
|
return makeSource(get, identityPath);
|
|
3308
3159
|
}
|
|
3309
3160
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3312,7 +3163,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3312
3163
|
function fromEnvRecord(env, options) {
|
|
3313
3164
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3314
3165
|
const trie = buildEnvTrie(env);
|
|
3315
|
-
return
|
|
3166
|
+
return make6((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3316
3167
|
}
|
|
3317
3168
|
function fromEnv(options) {
|
|
3318
3169
|
const env = options?.env ?? {
|
|
@@ -3365,7 +3216,7 @@ function trieNodeAt(root, path) {
|
|
|
3365
3216
|
}
|
|
3366
3217
|
|
|
3367
3218
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Config.js
|
|
3368
|
-
var
|
|
3219
|
+
var TypeId11 = "~effect/Config";
|
|
3369
3220
|
class ConfigError {
|
|
3370
3221
|
_tag = "ConfigError";
|
|
3371
3222
|
name = "ConfigError";
|
|
@@ -3387,14 +3238,14 @@ var Proto2 = {
|
|
|
3387
3238
|
return this.parse(fiber.getRef(ConfigProvider));
|
|
3388
3239
|
}
|
|
3389
3240
|
}),
|
|
3390
|
-
[
|
|
3241
|
+
[TypeId11]: TypeId11,
|
|
3391
3242
|
toJSON() {
|
|
3392
3243
|
return {
|
|
3393
3244
|
_id: "Config"
|
|
3394
3245
|
};
|
|
3395
3246
|
}
|
|
3396
3247
|
};
|
|
3397
|
-
function
|
|
3248
|
+
function make7(evaluator) {
|
|
3398
3249
|
const self = Object.create(Proto2);
|
|
3399
3250
|
self.evaluator = evaluator;
|
|
3400
3251
|
self.parse = (provider) => flatMapEager(evaluator(provider, []), fromResult);
|
|
@@ -3402,14 +3253,14 @@ function make14(evaluator) {
|
|
|
3402
3253
|
}
|
|
3403
3254
|
var evaluateAt = (self, provider, pathPrefix) => self.evaluator(provider, pathPrefix);
|
|
3404
3255
|
var map3 = /* @__PURE__ */ dual(2, (self, f) => {
|
|
3405
|
-
return
|
|
3256
|
+
return make7((provider, pathPrefix) => map9(evaluateAt(self, provider, pathPrefix), map5(f)));
|
|
3406
3257
|
});
|
|
3407
3258
|
function all(arg) {
|
|
3408
3259
|
const configs = globalThis.Array.isArray(arg) ? arg : (Symbol.iterator in arg) ? [...arg] : arg;
|
|
3409
|
-
return
|
|
3260
|
+
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));
|
|
3410
3261
|
}
|
|
3411
3262
|
var withDefault = /* @__PURE__ */ dual(2, (self, defaultValue) => {
|
|
3412
|
-
return
|
|
3263
|
+
return make7((provider, pathPrefix) => mapEager(evaluateAt(self, provider, pathPrefix), (resolution) => isFailure(resolution) ? succeed(defaultValue) : resolution));
|
|
3413
3264
|
});
|
|
3414
3265
|
var option = (self) => self.pipe(map3(some), withDefault(none()));
|
|
3415
3266
|
var isSourceError = (u) => isTagged(u, "SourceError");
|
|
@@ -3526,9 +3377,9 @@ var toConfigCursorAST = /* @__PURE__ */ memoize((root) => {
|
|
|
3526
3377
|
function schema(codec, path) {
|
|
3527
3378
|
const codecStringTree = toCodecStringTree(codec);
|
|
3528
3379
|
const encodedAst = toEncoded(codecStringTree.ast);
|
|
3529
|
-
const decodeCursor = decodeUnknownEffect(
|
|
3380
|
+
const decodeCursor = decodeUnknownEffect(make16(toConfigCursorAST(codecStringTree.ast)));
|
|
3530
3381
|
const localPath = typeof path === "string" ? [path] : path ?? [];
|
|
3531
|
-
return
|
|
3382
|
+
return make7((provider, pathPrefix) => {
|
|
3532
3383
|
const fullPath = [...pathPrefix, ...localPath];
|
|
3533
3384
|
return loadCursor(provider, fullPath).pipe(flatMapEager((cursor) => decodeCursor(cursor).pipe(mapEager(succeed), catchEager((issue) => {
|
|
3534
3385
|
const error = new ConfigError(new SchemaError(fullPath.length > 0 ? new Pointer(fullPath, issue) : issue));
|
|
@@ -3644,4 +3495,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3644
3495
|
...argv
|
|
3645
3496
|
];
|
|
3646
3497
|
|
|
3647
|
-
export { map, makeEquivalence, toNumber, 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,
|
|
3498
|
+
export { map, makeEquivalence, toNumber, 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 };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FileSystem,
|
|
4
4
|
Path
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-kntnw6r0.js";
|
|
6
6
|
import {
|
|
7
7
|
isObject,
|
|
8
8
|
isUint8Array,
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
isJsonObject,
|
|
18
18
|
decodeJsonString,
|
|
19
19
|
encodePrettyJsonString
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ew07nt2d.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-avg3cz82.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-535m9qxp.js";
|
|
35
|
+
import"./chunk-s9fwm42m.js";
|
|
36
|
+
import"./chunk-v30yf453.js";
|
|
37
|
+
import"./chunk-qvpkwnky.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-fvdnmgsy.js";
|
|
8
|
+
import"./chunk-3vgv5ba7.js";
|
|
9
|
+
import"./chunk-535m9qxp.js";
|
|
10
|
+
import"./chunk-qvpkwnky.js";
|
|
11
|
+
import"./chunk-kntnw6r0.js";
|
|
12
|
+
import"./chunk-ew07nt2d.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ew07nt2d.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-kntnw6r0.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-
|
|
42
|
+
} from "./chunk-535m9qxp.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-kntnw6r0.js";
|
|
19
|
+
import"./chunk-ew07nt2d.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map9,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ew07nt2d.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-kntnw6r0.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
37
|
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Path,
|
|
7
7
|
withDefault,
|
|
8
8
|
String2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-kntnw6r0.js";
|
|
10
10
|
import {
|
|
11
11
|
isString,
|
|
12
12
|
isObject,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
toCodecJson,
|
|
44
44
|
Json,
|
|
45
45
|
encodePrettyJsonString
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ew07nt2d.js";
|
|
47
47
|
import {
|
|
48
48
|
SecureRandom,
|
|
49
49
|
layerWebCrypto,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
KitDeclarations,
|
|
61
61
|
kitmanMcpServer,
|
|
62
62
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-535m9qxp.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-s9fwm42m.js";
|
|
68
68
|
import {
|
|
69
69
|
stepDefinedTwice,
|
|
70
70
|
hostSteps,
|
|
71
71
|
exports_activities,
|
|
72
72
|
describeFlag,
|
|
73
73
|
Described
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import"./chunk-
|
|
76
|
-
import"./chunk-
|
|
74
|
+
} from "./chunk-7dcq58d0.js";
|
|
75
|
+
import"./chunk-fvdnmgsy.js";
|
|
76
|
+
import"./chunk-haq904fk.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
79
|
make3
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
80
|
+
} from "./chunk-v30yf453.js";
|
|
81
|
+
import"./chunk-3vgv5ba7.js";
|
|
82
|
+
import"./chunk-qvpkwnky.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-spazhq67.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-6hxtg6eb.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-3hyggg9w.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-8xd2jvgj.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|