@kitman-sh/cli 0.45.0 → 0.47.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.
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-qzwsh96c.js";
7
+ } from "./chunk-t2e3vp41.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -15,7 +15,7 @@ import {
15
15
  writeSrtSettings2,
16
16
  srtStepArgv2,
17
17
  srtArgv2
18
- } from "./chunk-5smh4dp2.js";
18
+ } from "./chunk-xajmb07d.js";
19
19
  import"./chunk-k462v2v7.js";
20
20
  export {
21
21
  compiled2 as compiled,
@@ -260,6 +260,15 @@ var makeEquivalence = (equivalence) => {
260
260
  var Clock = ClockRef;
261
261
  var currentTimeMillis = currentTimeMillis2;
262
262
 
263
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
264
+ var BigInt2 = globalThis.BigInt;
265
+ var toNumber = (b) => {
266
+ if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
267
+ return none();
268
+ }
269
+ return some(Number(b));
270
+ };
271
+
263
272
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
264
273
  var bigint0 = /* @__PURE__ */ BigInt(0);
265
274
  var bigint1 = /* @__PURE__ */ BigInt(1);
@@ -3666,4 +3675,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
3666
3675
  ...argv
3667
3676
  ];
3668
3677
 
3669
- export { empty2, map, makeEquivalence, Clock, currentTimeMillis, bytes, join, interrupt, interruptAll, 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, empty3, 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 };
3678
+ export { empty2, map, makeEquivalence, Clock, currentTimeMillis, toNumber, bytes, join, interrupt, interruptAll, 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, empty3, 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 };
@@ -27,7 +27,7 @@ import {
27
27
  runCollect,
28
28
  runDrain,
29
29
  mkString
30
- } from "./chunk-5smh4dp2.js";
30
+ } from "./chunk-xajmb07d.js";
31
31
 
32
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
33
33
  function nominal() {
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-a71b15k3.js");
8
+ const { runSrtCli } = await import("./chunk-vtzn8zqj.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
11
  const { runSrtStep } = await import("./chunk-5pjbxhxy.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-tfwgeqx5.js");
14
+ const { runOpencodeReader } = await import("./chunk-kaqwjb64.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-9qvgbp6k.js");
17
+ const { runCli } = await import("./chunk-3h6f6wzc.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.45.0",
3
+ "version": "0.47.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {