@kitman-sh/cli 0.10.91 → 0.10.93

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 (26) hide show
  1. package/dist/{chunk-d82t42vr.js → chunk-15w92pn6.js} +16 -16
  2. package/dist/{chunk-5fxxg02f.js → chunk-2kr43ps6.js} +144 -337
  3. package/dist/{chunk-w0sehmpd.js → chunk-3r7ahnwy.js} +60 -14
  4. package/dist/{chunk-fgnfx5mw.js → chunk-4psvc86s.js} +212 -7
  5. package/dist/{chunk-6h0rz0zk.js → chunk-6aa8y66v.js} +4 -4
  6. package/dist/{chunk-sb8c2sgy.js → chunk-8tq7n7wc.js} +16 -16
  7. package/dist/{chunk-c3k32vw4.js → chunk-a244myqw.js} +1 -1
  8. package/dist/{chunk-cmtvcbxr.js → chunk-abf4m4b2.js} +5 -5
  9. package/dist/{chunk-dstm8aen.js → chunk-ampzxrqe.js} +28 -70
  10. package/dist/{chunk-k4fvnphp.js → chunk-bk3dpjxq.js} +1 -1
  11. package/dist/{chunk-tmbhak7y.js → chunk-c9wzakrx.js} +8 -8
  12. package/dist/{chunk-d9wjvvbc.js → chunk-dh3108wk.js} +5 -5
  13. package/dist/{chunk-mbqeakm1.js → chunk-et6qa95h.js} +1 -1
  14. package/dist/{chunk-hsf2sj69.js → chunk-fv6kgtze.js} +2 -2
  15. package/dist/{chunk-9m9cv82t.js → chunk-g3r5xp0t.js} +2 -2
  16. package/dist/{chunk-947btdv6.js → chunk-mcpesyz2.js} +3 -3
  17. package/dist/{chunk-2wsyg2g7.js → chunk-mjn42bxn.js} +32 -32
  18. package/dist/{chunk-gykt7zjx.js → chunk-q3nygncv.js} +7 -7
  19. package/dist/{chunk-gncygm43.js → chunk-qacvrg7j.js} +9 -9
  20. package/dist/{chunk-rmsm8vnc.js → chunk-rdv42ygn.js} +4 -4
  21. package/dist/{chunk-r6d67qqa.js → chunk-s3qgchay.js} +41 -33
  22. package/dist/{chunk-5tqy48a3.js → chunk-t7ncjd6s.js} +10 -10
  23. package/dist/{chunk-y1tnxz9f.js → chunk-tpdcq44c.js} +25 -25
  24. package/dist/{chunk-25q7mg6g.js → chunk-vjcn82g3.js} +17 -17
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -199,7 +199,7 @@ import {
199
199
  String4,
200
200
  toCodecStringTree,
201
201
  encodeUnknownJsonStringSync
202
- } from "./chunk-dstm8aen.js";
202
+ } from "./chunk-ampzxrqe.js";
203
203
 
204
204
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
205
205
  var headUnsafe = (self) => {
@@ -1127,7 +1127,7 @@ var MutableRefProto = {
1127
1127
  };
1128
1128
  }
1129
1129
  };
1130
- var make7 = (value) => {
1130
+ var make8 = (value) => {
1131
1131
  const ref = Object.create(MutableRefProto);
1132
1132
  ref.current = value;
1133
1133
  return ref;
@@ -1288,7 +1288,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
1288
1288
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
1289
1289
  var TypeId3 = "~effect/PubSub";
1290
1290
  var SubscriptionTypeId = "~effect/PubSub/Subscription";
1291
- var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make7(false), options.strategy(), make7(none())));
1291
+ var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
1292
1292
  var unbounded = (options) => make5({
1293
1293
  atomicPubSub: () => makeAtomicUnbounded(options),
1294
1294
  strategy: () => new DroppingStrategy
@@ -1383,7 +1383,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
1383
1383
  subscribers.delete(subscription);
1384
1384
  }
1385
1385
  };
1386
- var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make7(false), strategy, pubsub.replayWindow(), ended);
1386
+ var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
1387
1387
  class UnboundedPubSub {
1388
1388
  publisherHead = {
1389
1389
  value: AbsentValue,
@@ -1800,7 +1800,7 @@ var QueueProto = {
1800
1800
  };
1801
1801
  }
1802
1802
  };
1803
- var make8 = (options) => withFiber((fiber) => {
1803
+ var make9 = (options) => withFiber((fiber) => {
1804
1804
  const self = Object.create(QueueProto);
1805
1805
  self.dispatcher = fiber.currentDispatcher;
1806
1806
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
@@ -1815,14 +1815,14 @@ var make8 = (options) => withFiber((fiber) => {
1815
1815
  };
1816
1816
  return succeed2(self);
1817
1817
  });
1818
- var bounded = (capacity) => make8({
1818
+ var bounded = (capacity) => make9({
1819
1819
  capacity
1820
1820
  });
1821
- var sliding = (capacity) => make8({
1821
+ var sliding = (capacity) => make9({
1822
1822
  capacity,
1823
1823
  strategy: "sliding"
1824
1824
  });
1825
- var unbounded2 = () => make8();
1825
+ var unbounded2 = () => make9();
1826
1826
  var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
1827
1827
  var offerUnsafe = (self, message) => {
1828
1828
  if (self.state._tag !== "Open") {
@@ -2248,7 +2248,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
2248
2248
  return onError(pull, onCause);
2249
2249
  }));
2250
2250
  var toTransform = (channel) => channel.transform;
2251
- var asyncQueue = (scope, f, options) => make8({
2251
+ var asyncQueue = (scope, f, options) => make9({
2252
2252
  capacity: options?.bufferSize,
2253
2253
  strategy: options?.strategy
2254
2254
  }).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
@@ -2289,7 +2289,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
2289
2289
  }));
2290
2290
  var readableStreamToPullUnsafe = (options) => {
2291
2291
  const reader = options.readable.getReader();
2292
- const exit = options.exit ?? make7(undefined);
2292
+ const exit = options.exit ?? make8(undefined);
2293
2293
  const pull = suspend3(() => {
2294
2294
  if (exit.current)
2295
2295
  return exit.current;
@@ -2903,7 +2903,7 @@ var release = (self, state) => {
2903
2903
  };
2904
2904
 
2905
2905
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
2906
- var make9 = make6;
2906
+ var make10 = make6;
2907
2907
  var get3 = get2;
2908
2908
 
2909
2909
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
@@ -2915,7 +2915,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
2915
2915
  var toChannel2 = (stream) => stream.channel;
2916
2916
  var callback = (f, options) => fromChannel2(callbackArray(f, options));
2917
2917
  var empty2 = /* @__PURE__ */ fromChannel2(empty);
2918
- var make10 = (...values) => fromArray2(values);
2918
+ var make11 = (...values) => fromArray2(values);
2919
2919
  var suspend = (stream) => {
2920
2920
  const suspended = fromChannel2(suspend4(() => stream().channel));
2921
2921
  suspendedStreams.set(suspended, stream);
@@ -3080,7 +3080,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
3080
3080
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
3081
3081
  var TypeId10 = "~effect/FileSystem";
3082
3082
  var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
3083
- var make11 = (impl) => FileSystem.of({
3083
+ var make12 = (impl) => FileSystem.of({
3084
3084
  ...impl,
3085
3085
  [TypeId10]: TypeId10,
3086
3086
  glob: make2(impl),
@@ -3140,7 +3140,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
3140
3140
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
3141
3141
  var TypeId11 = "~effect/Path";
3142
3142
  var Path = /* @__PURE__ */ Service2("effect/Path");
3143
- var make12 = (impl) => Path.of({
3143
+ var make13 = (impl) => Path.of({
3144
3144
  ...impl,
3145
3145
  [TypeId11]: TypeId11,
3146
3146
  resolveWithin(root, input) {
@@ -3215,7 +3215,7 @@ function makeProvider(load, mapInput) {
3215
3215
  function makeSource(get, transform) {
3216
3216
  return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
3217
3217
  }
3218
- function make13(get) {
3218
+ function make7(get) {
3219
3219
  return makeSource(get, identityPath);
3220
3220
  }
3221
3221
  function emptyStringAsMissing(value, preserveEmptyStrings) {
@@ -3224,7 +3224,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
3224
3224
  function fromEnvRecord(env, options) {
3225
3225
  const preserveEmptyStrings = options?.preserveEmptyStrings === true;
3226
3226
  const trie = buildEnvTrie(env);
3227
- return make13((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3227
+ return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
3228
3228
  }
3229
3229
  function fromEnv(options) {
3230
3230
  const env = options?.env ?? {
@@ -3552,4 +3552,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3552
3552
  ...argv
3553
3553
  ];
3554
3554
 
3555
- export { map, makeEquivalence, 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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
3555
+ 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, 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, harnessesUnsupportedInSrt2, 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-9m9cv82t.js");
8
+ const { runSrtCli } = await import("./chunk-g3r5xp0t.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-rmsm8vnc.js");
11
+ const { runSrtStep } = await import("./chunk-rdv42ygn.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-cmtvcbxr.js");
14
+ const { runOpencodeReader } = await import("./chunk-abf4m4b2.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-2wsyg2g7.js");
17
+ const { runCli } = await import("./chunk-mjn42bxn.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.10.91",
3
+ "version": "0.10.93",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {