@kitman-sh/cli 0.33.0 → 0.35.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-tsx0347c.js → chunk-1hgsf81a.js} +1 -1
- package/dist/{chunk-samxkpbz.js → chunk-4qrb09w4.js} +3 -3
- package/dist/{chunk-s34am3kw.js → chunk-56gs4z53.js} +7 -7
- package/dist/{chunk-bnhb3cth.js → chunk-5e1ndtnp.js} +3 -3
- package/dist/{chunk-h2f26xbd.js → chunk-61dmxexa.js} +70 -28
- package/dist/{chunk-mhx0tgm3.js → chunk-64arqv10.js} +7 -7
- package/dist/{chunk-gnq1ryhx.js → chunk-c8eg05nh.js} +4 -4
- package/dist/{chunk-xkkyx7bn.js → chunk-ee7ss0df.js} +3 -3
- package/dist/{chunk-9nbqzdqp.js → chunk-er0e8d8v.js} +14 -60
- package/dist/{chunk-racse7zf.js → chunk-ke4rajdh.js} +44 -28
- package/dist/{chunk-sgkgwzvb.js → chunk-n01c55f9.js} +5 -5
- package/dist/{chunk-hgxhpj6m.js → chunk-n0bp958m.js} +4 -4
- package/dist/{chunk-1zb8h7gv.js → chunk-nna9pwp0.js} +53 -32
- package/dist/{chunk-vz38kngm.js → chunk-q8e58p57.js} +2 -2
- package/dist/{chunk-x29m7k25.js → chunk-qqb6djs7.js} +2 -2
- package/dist/{chunk-py3133q0.js → chunk-r9x4ehsy.js} +6 -6
- package/dist/{chunk-4qjfn1sa.js → chunk-rbpn35g5.js} +1 -1
- package/dist/{chunk-np5n54ky.js → chunk-t205gnzc.js} +5 -5
- package/dist/{chunk-9tyv6211.js → chunk-t9dmwy8x.js} +19 -19
- package/dist/{chunk-a9ncx2a8.js → chunk-tsefrrxz.js} +1 -1
- package/dist/{chunk-yveqd8ye.js → chunk-wkkjyzpx.js} +4 -4
- package/dist/{chunk-jrwpte6y.js → chunk-xc7kg57m.js} +64 -64
- package/dist/{chunk-ak1qrm4q.js → chunk-y3c9pxez.js} +7 -7
- package/dist/{chunk-nwbry6c8.js → chunk-yhat3rhw.js} +139 -121
- package/dist/{chunk-8fyfsajs.js → chunk-z0gqrc8c.js} +17 -17
- package/dist/{chunk-5kqt4bqp.js → chunk-znhjs0t6.js} +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
String4,
|
|
206
206
|
toCodecStringTree,
|
|
207
207
|
encodeUnknownJsonStringSync
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-61dmxexa.js";
|
|
209
209
|
|
|
210
210
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
211
211
|
var headUnsafe = (self) => {
|
|
@@ -1137,7 +1137,7 @@ var MutableRefProto = {
|
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
|
-
var
|
|
1140
|
+
var make7 = (value) => {
|
|
1141
1141
|
const ref = Object.create(MutableRefProto);
|
|
1142
1142
|
ref.current = value;
|
|
1143
1143
|
return ref;
|
|
@@ -1298,7 +1298,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1298
1298
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1299
1299
|
var TypeId3 = "~effect/PubSub";
|
|
1300
1300
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1301
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1301
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
|
|
1302
1302
|
var unbounded = (options) => make5({
|
|
1303
1303
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1304
1304
|
strategy: () => new DroppingStrategy
|
|
@@ -1393,7 +1393,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1393
1393
|
subscribers.delete(subscription);
|
|
1394
1394
|
}
|
|
1395
1395
|
};
|
|
1396
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1396
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
|
|
1397
1397
|
class UnboundedPubSub {
|
|
1398
1398
|
publisherHead = {
|
|
1399
1399
|
value: AbsentValue,
|
|
@@ -1810,7 +1810,7 @@ var QueueProto = {
|
|
|
1810
1810
|
};
|
|
1811
1811
|
}
|
|
1812
1812
|
};
|
|
1813
|
-
var
|
|
1813
|
+
var make8 = (options) => withFiber((fiber) => {
|
|
1814
1814
|
const self = Object.create(QueueProto);
|
|
1815
1815
|
self.dispatcher = fiber.currentDispatcher;
|
|
1816
1816
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1825,14 +1825,14 @@ var make9 = (options) => withFiber((fiber) => {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
return succeed2(self);
|
|
1827
1827
|
});
|
|
1828
|
-
var bounded = (capacity) =>
|
|
1828
|
+
var bounded = (capacity) => make8({
|
|
1829
1829
|
capacity
|
|
1830
1830
|
});
|
|
1831
|
-
var sliding = (capacity) =>
|
|
1831
|
+
var sliding = (capacity) => make8({
|
|
1832
1832
|
capacity,
|
|
1833
1833
|
strategy: "sliding"
|
|
1834
1834
|
});
|
|
1835
|
-
var unbounded2 = () =>
|
|
1835
|
+
var unbounded2 = () => make8();
|
|
1836
1836
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1837
1837
|
var offerUnsafe = (self, message) => {
|
|
1838
1838
|
if (self.state._tag !== "Open") {
|
|
@@ -2258,7 +2258,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2258
2258
|
return onError(pull, onCause);
|
|
2259
2259
|
}));
|
|
2260
2260
|
var toTransform = (channel) => channel.transform;
|
|
2261
|
-
var asyncQueue = (scope, f, options) =>
|
|
2261
|
+
var asyncQueue = (scope, f, options) => make8({
|
|
2262
2262
|
capacity: options?.bufferSize,
|
|
2263
2263
|
strategy: options?.strategy
|
|
2264
2264
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2299,7 +2299,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2299
2299
|
}));
|
|
2300
2300
|
var readableStreamToPullUnsafe = (options) => {
|
|
2301
2301
|
const reader = options.readable.getReader();
|
|
2302
|
-
const exit = options.exit ??
|
|
2302
|
+
const exit = options.exit ?? make7(undefined);
|
|
2303
2303
|
const pull = suspend3(() => {
|
|
2304
2304
|
if (exit.current)
|
|
2305
2305
|
return exit.current;
|
|
@@ -2960,7 +2960,7 @@ var release = (self, state) => {
|
|
|
2960
2960
|
};
|
|
2961
2961
|
|
|
2962
2962
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2963
|
-
var
|
|
2963
|
+
var make9 = make6;
|
|
2964
2964
|
var get3 = get2;
|
|
2965
2965
|
|
|
2966
2966
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2972,7 +2972,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2972
2972
|
var toChannel2 = (stream) => stream.channel;
|
|
2973
2973
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2974
2974
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2975
|
-
var
|
|
2975
|
+
var make10 = (...values) => fromArray2(values);
|
|
2976
2976
|
var suspend = (stream) => {
|
|
2977
2977
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2978
2978
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3173,7 +3173,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3173
3173
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3174
3174
|
var TypeId10 = "~effect/FileSystem";
|
|
3175
3175
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3176
|
-
var
|
|
3176
|
+
var make11 = (impl) => FileSystem.of({
|
|
3177
3177
|
...impl,
|
|
3178
3178
|
[TypeId10]: TypeId10,
|
|
3179
3179
|
glob: make2(impl),
|
|
@@ -3233,7 +3233,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3233
3233
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3234
3234
|
var TypeId11 = "~effect/Path";
|
|
3235
3235
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3236
|
-
var
|
|
3236
|
+
var make12 = (impl) => Path.of({
|
|
3237
3237
|
...impl,
|
|
3238
3238
|
[TypeId11]: TypeId11,
|
|
3239
3239
|
resolveWithin(root, input) {
|
|
@@ -3308,7 +3308,7 @@ function makeProvider(load, mapInput) {
|
|
|
3308
3308
|
function makeSource(get, transform) {
|
|
3309
3309
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3310
3310
|
}
|
|
3311
|
-
function
|
|
3311
|
+
function make13(get) {
|
|
3312
3312
|
return makeSource(get, identityPath);
|
|
3313
3313
|
}
|
|
3314
3314
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3317,7 +3317,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3317
3317
|
function fromEnvRecord(env, options) {
|
|
3318
3318
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3319
3319
|
const trie = buildEnvTrie(env);
|
|
3320
|
-
return
|
|
3320
|
+
return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3321
3321
|
}
|
|
3322
3322
|
function fromEnv(options) {
|
|
3323
3323
|
const env = options?.env ?? {
|
|
@@ -3649,4 +3649,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3649
3649
|
...argv
|
|
3650
3650
|
];
|
|
3651
3651
|
|
|
3652
|
-
export { map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3652
|
+
export { map, makeEquivalence, Clock, currentTimeMillis, 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, mapAccum, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, toPull, 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 };
|
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-qqb6djs7.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-4qrb09w4.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-c8eg05nh.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-nna9pwp0.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|